/* ══════════════════════════════════════════════════════════════════════════
   AdoreDieu — page d'accueil web · feuille de style
   Identité « Codex 3.1 » : Spectral (titres), Newsreader (corps), Inter (UI),
   accents cyan & or, thème clair/sombre piloté par la préférence système.
   ══════════════════════════════════════════════════════════════════════════ */

/* ── Thème (les deux modes) ─────────────────────────────────────────────── */
:root {
    --bg: #F5FAFC;
    --surface: #FFFFFF;
    --surface-hi: #EAF4F8;
    --surface2: #DDE7EB;
    --pc: #BDE9F7;
    --on-pc: #001F2A;
    --text: #181C1D;
    --text2: #42494B;
    --mute: #71797B;
    --cyan: #14749d;
    --cyan-strong: #0d5f83;
    --gold: #A8901A;
    --gold-text: #7A6212;
    --divider: rgba(0, 0, 0, 0.08);
    --divider-gold: rgba(168, 144, 26, 0.32);
    --on-primary: #FFFFFF;
    --nav-bg: rgba(245, 250, 252, 0.82);
    --shadow: 0 24px 60px rgba(20, 40, 55, 0.10), 0 4px 14px rgba(20, 40, 55, 0.06);
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #121517;
        --surface: #1A1E20;
        --surface-hi: #222729;
        --surface2: #2B3033;
        --pc: #0E3540;
        --on-pc: #B4EAFF;
        --text: #E5E7E8;
        --text2: #B5BCBE;
        --mute: #7E8688;
        --cyan: #5DD5FC;
        --cyan-strong: #7FE0FF;
        --gold: #EBCB19;
        --gold-text: #E8CF55;
        --divider: rgba(255, 255, 255, 0.08);
        --divider-gold: rgba(235, 203, 25, 0.22);
        --on-primary: #003544;
        --nav-bg: rgba(18, 21, 23, 0.82);
        --shadow: 0 30px 80px rgba(0, 0, 0, 0.45), 0 8px 24px rgba(0, 0, 0, 0.25);
    }
}

/* ── Base ───────────────────────────────────────────────────────────────── */
* {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', system-ui, sans-serif;
    overflow-x: hidden;
}

a {
    color: var(--cyan);
    text-decoration: none;
    transition: color .15s ease;
}

a:hover {
    color: var(--cyan-strong);
}

h1, h2, h3, p {
    margin: 0;
}

::selection {
    background: var(--cyan);
    color: var(--on-primary);
}

/* Icônes Ionicons (SVG inline) */
.ic-svg {
    fill: currentColor;
    display: block;
}

.ic-svg .ionicon-fill-none {
    fill: none;
    stroke: currentColor;
}

.ic-svg .ionicon-stroke-width {
    stroke-width: 32px;
}

/* Icône SVG externe qui suit currentColor sans inliner le markup (technique du
   masque) : le fichier .svg (passé via --ic) ne sert que de pochoir alpha, et
   c'est background-color = currentColor qui colore. À utiliser sur un élément
   NON remplacé (span/i) ; un <img> ne pourrait pas prendre currentColor. */
.ic-mask {
    display: block;
    background-color: currentColor;
    -webkit-mask: var(--ic) no-repeat center / contain;
    mask: var(--ic) no-repeat center / contain;
}

/* ── Layout ─────────────────────────────────────────────────────────────── */
.wrap {
    max-width: 1160px;
    margin: 0 auto;
    width: 100%;
}

.section {
    max-width: 1160px;
    margin: 0 auto;
    padding: clamp(64px, 9vw, 108px) 28px;
}

.section--full {
    max-width: none;
}

.section--full > * {
    max-width: 1160px;
    margin-left: auto;
    margin-right: auto;
}

.section__head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Spectral', serif;
    font-weight: 600;
    font-size: clamp(1.9rem, 4vw, 2.9rem);
    line-height: 1.1;
    letter-spacing: -0.015em;
    margin-top: 14px;
    color: var(--text);
    text-wrap: balance;
}

/* ── Marque & filets ────────────────────────────────────────────────────── */
.crown {
    display: block;
    flex-shrink: 0;
    height: 50px;
    fill: var(--gold);
}

.eyebrow {
    font-family: 'Spectral', serif;
    font-style: italic;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.04em;
    color: var(--gold-text);
}

.gold-rule {
    display: flex;
    align-items: center;
    gap: 8px;
}

.gold-rule::before, .gold-rule::after {
    content: '';
    flex: 1;
    height: 1px;
}

.gold-rule::before {
    background: linear-gradient(to right, transparent, var(--divider-gold), var(--gold));
}

.gold-rule::after {
    background: linear-gradient(to left, transparent, var(--divider-gold), var(--gold));
}

.gold-rule__diamond {
    width: 5px;
    height: 5px;
    transform: rotate(45deg);
    background: var(--gold);
}

/* ── Navigation ─────────────────────────────────────────────────────────── */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--nav-bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--divider);
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 28px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    color: var(--text);
}

.brand__name {
    font-family: 'Spectral', serif;
    font-size: 1.55rem;
    font-weight: 600;
    letter-spacing: 0.005em;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav__link {
    color: var(--text2);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.nav__link:hover {
    color: var(--text);
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--cyan);
    color: var(--on-primary);
    padding: 10px 20px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: filter .15s ease;
}

.btn-cta:hover {
    filter: brightness(1.08);
    color: var(--on-primary);
}

.btn-cta .ic-svg {
    width: 16px;
    height: 16px;
}

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero {
    padding: 64px 28px 40px;
    max-width: 1160px;
    margin: 0 auto;
}

.hero__grid {
    display: grid;
    grid-template-columns: 1fr 0.92fr;
    gap: 40px;
    align-items: center;
}

.hero__title {
    font-family: 'Spectral', serif;
    font-weight: 600;
    font-size: clamp(2.4rem, 5.2vw, 3.9rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-top: 16px;
    color: var(--text);
    text-wrap: balance;
}

.hero__title em {
    font-style: italic;
    color: var(--cyan);
}

.hero__lead {
    font-family: 'Newsreader', serif;
    font-size: clamp(1.05rem, 1.8vw, 1.3rem);
    line-height: 1.55;
    color: var(--text2);
    margin-top: 22px;
    max-width: 520px;
}

.hero__actions {
    margin-top: 30px;
}

.hero__reassure {
    display: grid;
    place-items: center;
    margin-top: 26px;
}

.hero__reassure .gold-rule {
    width: 220px;
    margin-bottom: 18px;
}

.hero__phones {
    position: relative;
    display: flex;
    justify-content: center;
    min-height: 560px;
}

.hero__phone-back {
    position: absolute;
    right: 10%;
    top: 40px;
    transform: rotate(6deg);
    z-index: 1;
}

.hero__phone-front {
    position: relative;
    z-index: 3;
    transform: translateX(-8%);
}

/* ── Boutons stores ─────────────────────────────────────────────────────── */
.store-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.store-row--center {
    justify-content: center;
}

.store-btn {
    display: inline-flex;
    place-items: center;
    color: #fff;
    width: auto;
    transition: transform .15s ease;

    img {
        height: 70px;
    }
}

.store-btn:hover {
    transform: translateY(-2px);
    color: #fff;
}

/* ── Réassurance ────────────────────────────────────────────────────────── */
.trust {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    align-items: center;
}

.trust--center {
    justify-content: center;
}

.trust__item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.trust__item::before {
    content: '';
    width: 4px;
    height: 4px;
    transform: rotate(45deg);
    background: var(--gold);
    margin-right: 8px;
}

.trust__item:first-child::before {
    display: none;
}

.trust__item span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text2);
    letter-spacing: 0.01em;
}

/* ── Châssis téléphone + emplacement de capture ─────────────────────────── */
.pf {
    position: relative;
    flex-shrink: 0;
}

.pf > .phone {
    position: absolute;
    top: 0;
    left: 0;
    transform-origin: top left;
}

.pf--front {
    width: 260px;
    height: 492px;
}

.pf--front > .phone {
    transform: scale(0.66);
}

.pf--back {
    width: 221px;
    height: 418px;
}

.pf--back > .phone {
    transform: scale(0.56);
}

.pf--show {
    width: 229px;
    height: 433px;
}

.pf--show > .phone {
    transform: scale(0.58);
}

/* Écran en 9:16 (380x676) pour accueillir des captures 1242x2208 sans rognage.
   Hauteur totale = 676 (écran) + 34 (barre de statut) + 22 (accueil) + 14 (bordure). */
.phone {
    width: 394px;
    height: 746px;
    border-radius: 44px;
    box-sizing: border-box;
    background: #0d0f11;
    border: 7px solid #1c1f24;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35), 0 8px 24px rgba(0, 0, 0, 0.20);
}

.phone__statusbar {
    height: 34px;
    flex-shrink: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    color: #fff;
    font: 600 0.8rem 'Inter', sans-serif;
}

.phone__island {
    position: absolute;
    left: 50%;
    top: 7px;
    transform: translateX(-50%);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #000;
}

.phone__sb-icons {
    display: flex;
    align-items: center;
    gap: 4px;
}

.phone__screen {
    flex: 1;
    overflow: hidden;
    position: relative;
    background: var(--surface-hi);
}

/* La capture remplit tout l'écran (aucune bande vide) ; ancrée en haut pour
   préserver l'en-tête si le ratio diffère légèrement du 9:16. Vaut pour <img>
   comme pour <image-slot>. */
.phone__screen img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.phone__home {
    height: 22px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone__home::after {
    content: '';
    width: 96px;
    height: 4px;
    border-radius: 2px;
    background: #fff;
    opacity: 0.5;
}

/* ── Fonctionnalités ────────────────────────────────────────────────────── */
.feat-lead {
    font-family: 'Newsreader', serif;
    font-size: 1.2rem;
    line-height: 1.55;
    color: var(--text2);
    margin: 14px auto 0;
    max-width: 560px;
}

.feat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 52px;
}

.feat-card {
    background: var(--surface);
    border-radius: 22px;
    border: 1px solid var(--divider);
    padding: 26px 24px 24px;
    position: relative;
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease;
}

.feat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 24px;
    right: 24px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--divider-gold), transparent);
}

.feat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.button__icon {
    color: var(--on-primary);

    .ic-mask {
        width: 24px;
        height: 24px;
    }
}

.feat-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: var(--pc);
    display: flex;
    align-items: center;
    margin-bottom: 18px;
    justify-content: center;
    color: var(--on-pc);
}

.feat-card__icon .ic-svg, .feat-card__icon svg, .feat-card__icon .ic-mask {
    width: 26px;
    height: 26px;
}

.feat-card__title {
    font-family: 'Spectral', serif;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
    letter-spacing: -0.005em;
}

.feat-card__body {
    font-family: 'Newsreader', serif;
    font-size: 1.05rem;
    line-height: 1.5;
    color: var(--text2);
}

/* ── Aperçu (galerie de captures) ───────────────────────────────────────── */
.showcase {
    background: var(--surface-hi);
}

.showcase__rule {
    display: flex;
    justify-content: center;
    padding: 20px 0 44px;
}

.showcase__rule .gold-rule {
    width: 160px;
}

.showcase-row {
    display: flex;
    gap: 34px;
    justify-content: center;
    flex-wrap: wrap;
    align-items: flex-start;
}

.shot {
    width: 232px;
    text-align: center;
}

.shot__title {
    font-family: 'Spectral', serif;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 22px 0 6px;
    color: var(--text);
}

.shot__body {
    font-family: 'Newsreader', serif;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text2);
    margin: 0 auto;
    max-width: 220px;
}

/* ── Carte « et bien plus encore » ──────────────────────────────────────── */
.more {
    width: 100%;
    max-width: 1030px;
    margin: 52px auto 0;
    background: var(--surface);
    border: 1px solid var(--divider-gold);
    border-radius: 28px;
    padding: clamp(28px, 4vw, 44px);
    position: relative;
    overflow: hidden;
}

.more__plus {
    position: absolute;
    top: -30px;
    right: -10px;
    font-family: 'Spectral', serif;
    font-size: 9.4rem;
    line-height: 1;
    color: var(--gold);
    opacity: 0.10;
    pointer-events: none;
    user-select: none;
}

.more__eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.more__title {
    font-family: 'Spectral', serif;
    font-size: clamp(1.6rem, 3.4vw, 2.4rem);
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text);
    letter-spacing: -0.01em;
    text-wrap: balance;
}

.more__body {
    font-family: 'Newsreader', serif;
    font-size: 1.1rem;
    line-height: 1.55;
    color: var(--text2);
    margin-bottom: 26px;
    max-width: 620px;
}

.more__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: var(--surface-hi);
    border: 1px solid var(--divider);
    border-radius: 999px;
    padding: 9px 16px 9px 13px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text2);
}

.chip .ic-svg, .chip svg {
    width: 17px;
    height: 17px;
    color: var(--cyan);
}

/* ── CTA gratuit & partage ──────────────────────────────────────────────── */
.cta-band {
    background: var(--pc);
    border-radius: 34px;
    padding: clamp(40px, 6vw, 72px);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-band__crown {
    display: flex;
    justify-content: center;
    margin-bottom: 22px;

    img {
        height: 100px;
    }
}

.cta-band__title {
    font-family: 'Spectral', serif;
    font-weight: 600;
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    line-height: 1.1;
    letter-spacing: -0.015em;
    color: var(--on-pc);
    text-wrap: balance;
}

.cta-band__body {
    font-family: 'Newsreader', serif;
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    line-height: 1.55;
    color: var(--on-pc);
    opacity: 0.9;
    margin: 20px auto 0;
    max-width: 560px;
}

.cta-band__actions {
    display: flex;
    justify-content: center;
    margin-top: 34px;
}

/* ── Pied de page ───────────────────────────────────────────────────────── */
.footer {
    border-top: 1px solid var(--divider);
    background: var(--surface);
}

.footer__grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    padding: 54px 28px 30px;
    align-items: start;
}

.footer__tag {
    font-family: 'Spectral', serif;
    font-style: italic;
    font-size: 1rem;
    color: var(--gold-text);
    margin-top: 14px;
}

.footer__col-title {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--mute);
    margin-bottom: 16px;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.footer__links a {
    font-size: 0.9rem;
    color: var(--text2);
}

.footer__links a:hover {
    color: var(--text);
}

.footer__brand {
    display: flex;
    align-items: center;
    gap: 11px;
}

.footer__bar {
    padding: 18px 28px 30px;
    border-top: 1px solid var(--divider);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer__bar span {
    font-size: 0.8rem;
    color: var(--mute);
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
    .feat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .hero__grid {
        grid-template-columns: 1fr;
    }

    .hero__phones {
        min-height: 480px;
        margin-top: 20px;
    }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
    }

    .nav__links {
        display: none;
    }
}

@media (max-width: 560px) {
    .feat-grid {
        grid-template-columns: 1fr;
    }

    .footer__grid {
        grid-template-columns: 1fr;
    }

    .store-row {
        justify-content: center;
    }
}

.only-in-dark {
    @media (prefers-color-scheme: light) {
        display: none !important;
    }
}

.only-in-light {
    @media (prefers-color-scheme: dark) {
        display: none !important;
    }
}