/* Hero de la page d'accueil — direction « éditorial sobre ».
   Titre en serif (Fraunces), un seul accent orange, carte d'Afrique en décor
   discret à droite, un bouton plein + un lien texte. Partagé FR / EN. */

.adt-hero {
    position: relative;
    padding: 5rem 0 5.5rem;
    background:
        radial-gradient(ellipse 55% 60% at 78% 45%, rgba(249, 115, 22, .10) 0%, transparent 70%),
        radial-gradient(ellipse 40% 50% at 10% 10%, rgba(56, 189, 248, .05) 0%, transparent 70%);
}
@media (min-width: 1024px) {
    .adt-hero { padding: 7rem 0 7.5rem; }
}

/* Carte : décor effacé, décalé vers la droite sur grand écran */
.adt-hero .hero-africa { justify-content: center; }
.adt-hero .hero-africa img { opacity: .16; }
@media (min-width: 1024px) {
    .adt-hero .hero-africa { justify-content: flex-end; padding-right: 2%; }
    .adt-hero .hero-africa img { height: 112%; opacity: .26; }
}
html[data-theme="light"] .adt-hero .hero-africa img { opacity: .14; }

.adt-hero__inner {
    max-width: 52rem;
    text-align: center;
    margin: 0 auto;
}
@media (min-width: 1024px) {
    .adt-hero__inner { text-align: left; margin: 0; }
}

.adt-hero__kicker {
    display: inline-flex;
    align-items: center;
    gap: .875rem;
    margin-bottom: 1.75rem;
    font: 700 .72rem/1 'Plus Jakarta Sans', system-ui, sans-serif;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: #94a3b8;
}
.adt-hero__rule {
    display: block;
    width: 48px;
    height: 2px;
    border-radius: 2px;
    background: #f97316;
}

.adt-hero__title {
    font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-size: clamp(2.1rem, 5.2vw, 4.6rem);
    line-height: 1.06;
    letter-spacing: -.022em;
    color: #f8fafc;
    margin-bottom: 1.75rem;
    text-wrap: balance;
}
.adt-hero__title em {
    font-style: italic;
    font-weight: 500;
    color: #f97316;
}
.adt-hero__title .adt-hero__br { display: none; }
@media (min-width: 640px) {
    .adt-hero__title .adt-hero__br { display: inline; }
}

.adt-hero__lead {
    max-width: 38rem;
    margin: 0 auto 2.5rem;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #cbd5e1;
}
@media (min-width: 640px) { .adt-hero__lead { font-size: 1.2rem; } }
@media (min-width: 1024px) { .adt-hero__lead { margin-left: 0; } }
.adt-hero__lead strong { color: #f8fafc; font-weight: 700; }

.adt-hero__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem 2rem;
}
@media (min-width: 640px) {
    .adt-hero__actions { flex-direction: row; justify-content: center; }
}
@media (min-width: 1024px) {
    .adt-hero__actions { justify-content: flex-start; }
}

.adt-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    padding: 1rem 1.9rem;
    border-radius: 9999px;
    background: #f97316;
    color: #fff;
    font-weight: 700;
    font-size: .98rem;
    box-shadow: 0 10px 30px -10px rgba(249, 115, 22, .6);
    transition: background .2s, transform .2s, box-shadow .2s;
}
.adt-hero__cta:hover {
    background: #ea580c;
    transform: translateY(-1px);
    box-shadow: 0 14px 34px -10px rgba(249, 115, 22, .7);
}

.adt-hero__link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-weight: 600;
    font-size: .98rem;
    color: #e2e8f0;
    padding-bottom: 2px;
    border-bottom: 1px solid rgba(226, 232, 240, .35);
    transition: color .2s, border-color .2s;
}
.adt-hero__link i { font-size: .8em; transition: transform .2s; }
.adt-hero__link:hover { color: #f97316; border-color: #f97316; }
.adt-hero__link:hover i { transform: translateX(3px); }

.adt-hero__cta:focus-visible,
.adt-hero__link:focus-visible {
    outline: 2px solid #38bdf8;
    outline-offset: 4px;
}

/* Bandeau de chiffres */
.adt-stats {
    border-top: 1px solid rgba(148, 163, 184, .15);
    border-bottom: 1px solid rgba(148, 163, 184, .15);
    background: rgba(11, 16, 29, .5);
}
.adt-stats__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2.25rem 0;
    text-align: center;
}
@media (min-width: 640px) {
    .adt-stats__grid { grid-template-columns: repeat(3, 1fr); gap: 0; }
    .adt-stats__item + .adt-stats__item { border-left: 1px solid rgba(148, 163, 184, .15); }
}
.adt-stats__value {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 500;
    font-size: clamp(2rem, 3.6vw, 2.75rem);
    line-height: 1;
    color: #f8fafc;
    margin-bottom: .5rem;
}
.adt-stats__value small {
    font-size: .45em;
    font-style: italic;
    color: #f97316;
    margin-left: .2em;
}
.adt-stats__label {
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #94a3b8;
}

/* Thème clair */
html[data-theme="light"] .adt-hero__title,
html[data-theme="light"] .adt-hero__lead strong,
html[data-theme="light"] .adt-stats__value { color: #0f172a; }
html[data-theme="light"] .adt-hero__title em { color: #c2410c; }
html[data-theme="light"] .adt-hero__lead { color: #334155; }
html[data-theme="light"] .adt-hero__kicker,
html[data-theme="light"] .adt-stats__label { color: #64748b; }
html[data-theme="light"] .adt-hero__link { color: #1e293b; border-color: rgba(30, 41, 59, .3); }
html[data-theme="light"] .adt-hero__link:hover { color: #c2410c; border-color: #c2410c; }
html[data-theme="light"] .adt-stats { background: rgba(248, 250, 252, .7); border-color: rgba(15, 23, 42, .1); }
html[data-theme="light"] .adt-stats__item + .adt-stats__item { border-color: rgba(15, 23, 42, .1); }

/* Apparition en fondu, échelonnée */
@media (prefers-reduced-motion: no-preference) {
    .adt-reveal {
        opacity: 0;
        transform: translateY(14px);
        animation: adt-reveal .8s cubic-bezier(.2, .7, .2, 1) forwards;
    }
    .adt-reveal:nth-child(2) { animation-delay: .1s; }
    .adt-reveal:nth-child(3) { animation-delay: .2s; }
    .adt-reveal:nth-child(4) { animation-delay: .3s; }
    @keyframes adt-reveal {
        to { opacity: 1; transform: none; }
    }
}

/* ---------- Grands titres de section (même style éditorial que le hero) ---------- */
.adt-kicker {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .875rem;
    margin-bottom: 1.25rem;
    font: 700 .72rem/1.4 'Plus Jakarta Sans', system-ui, sans-serif;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: #94a3b8;
}
.adt-kicker--left { justify-content: flex-start; }
.adt-kicker--cyan .adt-hero__rule { background: #38bdf8; }

.adt-section-title {
    font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-size: clamp(1.9rem, 3.8vw, 3rem);
    line-height: 1.1;
    letter-spacing: -.02em;
    color: #f8fafc;
    margin-bottom: 1.25rem;
    text-wrap: balance;
}
.adt-section-title em {
    font-style: italic;
    font-weight: 500;
    color: #f97316;
}
.adt-section-title--cyan { font-size: clamp(2rem, 4.4vw, 3.5rem); }
.adt-section-title--cyan em { color: #38bdf8; }
.adt-section-title--left { margin-bottom: 1.5rem; }

html[data-theme="light"] .adt-kicker { color: #64748b; }
html[data-theme="light"] .adt-section-title { color: #0f172a; }
html[data-theme="light"] .adt-section-title em { color: #c2410c; }
html[data-theme="light"] .adt-section-title--cyan em { color: #0369a1; }

/* ---------- Cartes de carrousels (section « Actualités décryptées ») ----------
   Même registre éditorial : sur-titre en petites capitales avec filet orange,
   titre en serif, méta discrète, lien texte unique. Toute la carte est cliquable. */
.adt-deck {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.75rem 1.75rem 1.5rem;
    border: 1px solid #1e293b;
    border-radius: 1.25rem;
    background: #0b101d;
    transition: border-color .25s, transform .25s, box-shadow .25s;
}
.adt-deck:hover {
    border-color: rgba(249, 115, 22, .45);
    transform: translateY(-3px);
    box-shadow: 0 18px 40px -24px rgba(249, 115, 22, .45);
}
.adt-deck:focus-within {
    outline: 2px solid #38bdf8;
    outline-offset: 3px;
}

.adt-deck__kicker {
    display: flex;
    align-items: center;
    gap: .7rem;
    margin-bottom: 1.1rem;
    font: 700 .66rem/1.3 'Plus Jakarta Sans', system-ui, sans-serif;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #94a3b8;
}
.adt-deck__kicker .adt-hero__rule { width: 28px; flex-shrink: 0; }

.adt-deck__title {
    font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-size: 1.32rem;
    line-height: 1.2;
    letter-spacing: -.012em;
    color: #f8fafc;
    margin-bottom: .75rem;
    text-wrap: balance;
}
.adt-deck__title a { color: inherit; outline: none; }
.adt-deck__title a::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    z-index: 1;
}

.adt-deck__lead {
    font-size: .86rem;
    line-height: 1.65;
    color: #cbd5e1;
}

.adt-deck__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .75rem 1rem;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(148, 163, 184, .14);
}
.adt-deck__meta {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .74rem;
    font-weight: 500;
    color: #94a3b8;
}
.adt-deck__link {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-size: .82rem;
    font-weight: 600;
    color: #e2e8f0;
    padding-bottom: 1px;
    border-bottom: 1px solid rgba(226, 232, 240, .3);
    transition: color .2s, border-color .2s;
}
.adt-deck__link i { font-size: .75em; transition: transform .2s; }
.adt-deck:hover .adt-deck__link { color: #f97316; border-color: #f97316; }
.adt-deck:hover .adt-deck__link i { transform: translateX(3px); }

@media (prefers-reduced-motion: reduce) {
    .adt-deck, .adt-deck__link i { transition: none; }
    .adt-deck:hover { transform: none; }
}

html[data-theme="light"] .adt-deck { background: #fff; border-color: #e2e8f0; }
html[data-theme="light"] .adt-deck:hover { border-color: rgba(194, 65, 12, .45); box-shadow: 0 18px 40px -24px rgba(15, 23, 42, .25); }
html[data-theme="light"] .adt-deck__title { color: #0f172a; }
html[data-theme="light"] .adt-deck__lead { color: #334155; }
html[data-theme="light"] .adt-deck__kicker,
html[data-theme="light"] .adt-deck__meta { color: #64748b; }
html[data-theme="light"] .adt-deck__foot { border-color: #e2e8f0; }
html[data-theme="light"] .adt-deck__link { color: #1e293b; border-color: rgba(30, 41, 59, .3); }
html[data-theme="light"] .adt-deck:hover .adt-deck__link { color: #c2410c; border-color: #c2410c; }

/* Titre de la fenêtre d'aperçu des carrousels */
.adt-modal-title {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    font-size: 1.6rem;
    line-height: 1.2;
    letter-spacing: -.015em;
}
