/* aiceberg.pro — feuille de style unique, sans ressource tierce */

:root {
    --navy: #173a5e;
    --navy-dk: #0f2840;
    --orange: #ef7046;
    --orange-dk: #b8461f; /* assombri pour un contraste suffisant du petit texte (≥ 4,5:1, même sur la vanille) */
    --orange-btn: #c44d24; /* fond des boutons : texte blanc lisible (4,7:1) */
    --ice: #2fb2d8;
    --ice-pale: #e3f5fa;
    --cherry: #e4402f;
    --cream: #fbf6ec;
    --cream-2: #f3e9d5;
    --waffle: #e6b36a;
    --mint: #2bb37f;
    --amber: #f2a93b;
    /* Parfums de sorbets */
    --fraise: #f27a9b;
    --pistache: #a8cf6f;
    --myrtille: #8f7fd6;
    --mangue: #f7b84b;
    --citron: #f3dc5a;
    --menthe: #7fd6c2;
    --vanille: #fdf3d4;
    --chocolat: #6b4433;
    --text: #23384d;
    --text-soft: #586b7d;
    --line: #e8dcc4;
    --white: #ffffff;
    --radius: 18px;
    --radius-sm: 12px;
    --shadow: 0 10px 30px -12px rgba(15, 40, 64, .25), 0 2px 8px -2px rgba(15, 40, 64, .08);
    --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-display: ui-rounded, "SF Pro Rounded", "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
    --wrap: 1160px;
    /* Coulure de glace fondue : bord supérieur plein, gouttes vers le bas (utilisée en masque) */
    --coulure: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 60' preserveAspectRatio='none'%3E%3Cpath d='M0 0V14Q14 14 18 21V34a7 7 0 0 0 14 0V21Q36 14 50 14H90Q102 14 104 22V46a8 8 0 0 0 16 0V22Q122 14 134 14H180Q190 14 192 19V28a6 6 0 0 0 12 0V19Q206 14 216 14H250Q260 14 262 21V40a7 7 0 0 0 14 0V21Q278 14 290 14H300V0Z'/%3E%3C/svg%3E");
    /* Ondulations de la mer (motif discret) */
    --vagues: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='44'%3E%3Cpath d='M0 22q20-10 40 0t40 0 40 0 40 0' fill='none' stroke='%232fb2d8' stroke-opacity='.16' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
    --vagues-claires: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='44'%3E%3Cpath d='M0 22q20-10 40 0t40 0 40 0 40 0' fill='none' stroke='%23ffffff' stroke-opacity='.07' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
    /* Mer : vague turquoise derrière, vague blanche devant */
    --mer: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 70' preserveAspectRatio='none'%3E%3Cpath d='M0 30c120-22 240-22 360 0s240 22 360 0 240-22 360 0 120 11 120 11V70H0z' fill='%2357c3e3' fill-opacity='.55'/%3E%3Cpath d='M0 44c100-18 200-18 300 0s200 18 300 0 200-18 300 0 200 18 300 0v26H0z' fill='%23ffffff'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
/* Défilement doux seulement après le chargement : évite l’aller-retour animé vers l’ancre à l’arrivée sur la page */
html.defilement-doux { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html, html.defilement-doux { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--text);
    background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--orange-dk); }
h1, h2, h3 { font-family: var(--font-display); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--ice); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap-narrow { max-width: 820px; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }

.eyebrow {
    display: inline-block;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--orange-dk);
    margin-bottom: .8em;
}

/* ── Boutons ── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    padding: .85em 1.5em;
    border-radius: 999px;
    border: 2px solid var(--orange-btn);
    background: var(--orange-btn);
    color: #fff;
    font: inherit; font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: background .2s, border-color .2s, transform .2s;
}
.btn:hover { background: var(--orange-dk); border-color: var(--orange-dk); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); border-color: var(--navy); }
.btn-sm { padding: .5em 1.1em; font-size: .75rem; }
.btn-full { width: 100%; }

/* ── En-tête ── */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(160%) blur(10px);
    -webkit-backdrop-filter: saturate(160%) blur(10px);
    border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; color: var(--navy); }
.brand img { border-radius: 50%; }
.brand .dot { color: var(--orange); }
.brand .pro { color: #1b8db3; } /* glace assombrie : contraste ≥ 3:1 sur blanc */
.nav { display: flex; align-items: center; gap: 20px; }
.nav a { display: inline-flex; align-items: center; gap: 6px; }
.nav a:not(.btn) { text-decoration: none; font-weight: 600; color: var(--navy); font-size: .94rem; }
.nav a:not(.btn):hover { color: var(--orange-dk); }
.nav-toggle { display: none; }
/* Icônes des onglets (ordinateur : 16px, couleur glacier ; agrandies dans le menu mobile) */
.nav-icone { display: block; width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.nav a:not(.btn) .nav-icone { color: var(--ice); }
/* Vaguelette sous le nom : au survol / à la sélection, et en permanence sur l'onglet en cours */
.nav-texte { position: relative; }
.nav a:not(.btn) .nav-texte::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 6px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='6'%3E%3Cpath d='M0 3q4-3 8 0t8 0' fill='none' stroke='%23ef7046' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") left center / 16px 6px repeat-x;
    opacity: 0; transform: scaleX(.3); transform-origin: left center;
    transition: opacity .25s, transform .3s cubic-bezier(.22, .61, .36, 1);
}
.nav a:not(.btn):hover .nav-texte::after,
.nav a:not(.btn):focus-visible .nav-texte::after,
.nav a[aria-current] .nav-texte::after { opacity: 1; transform: none; }

@media (max-width: 1180px) {
    .nav-toggle {
        display: flex; flex-direction: column; justify-content: center; gap: 5px;
        width: 44px; height: 44px; padding: 10px;
        background: none; border: 0; cursor: pointer;
    }
    /* Sans flou d'arrière-plan sur mobile : il enfermerait le panneau (position fixe) dans l'en-tête */
    .site-header { background: rgba(255, 255, 255, .97); backdrop-filter: none; -webkit-backdrop-filter: none; }
    .nav-toggle { position: relative; z-index: 2; }
    .nav-toggle span { display: block; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .25s, opacity .25s, background-color .25s; }
    .nav-toggle[aria-expanded="true"] span { background: #fff; }
    .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    /* Panneau latéral : glisse depuis la droite, toute la hauteur de la fenêtre */
    .nav {
        position: fixed; top: 0; right: 0; z-index: 1;
        width: min(86vw, 380px); height: 100vh; height: 100dvh;
        flex-direction: column; align-items: stretch; gap: 0;
        padding: 96px 28px 32px;
        overflow-y: auto; overscroll-behavior: contain;
        background: linear-gradient(165deg, var(--navy) 0%, var(--navy-dk) 100%);
        box-shadow: -18px 0 40px -12px rgba(15, 40, 64, .45);
        transform: translateX(100%);
        visibility: hidden;
        transition: transform .35s cubic-bezier(.22, .61, .36, 1), visibility 0s linear .35s, box-shadow .35s;
    }
    .nav.open {
        transform: none;
        visibility: visible;
        /* Voile sombre sur le reste de la page */
        box-shadow: -18px 0 40px -12px rgba(15, 40, 64, .45), 0 0 0 100vmax rgba(15, 40, 64, .5);
        transition: transform .35s cubic-bezier(.22, .61, .36, 1), visibility 0s, box-shadow .35s;
    }
    .nav a:not(.btn) {
        padding: 16px 4px; color: #fff; font-size: 1.15rem;
        /* Séparateur : petite vague claire sous chaque lien */
        background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='10'%3E%3Cpath d='M0 5q10-5 20 0t20 0' fill='none' stroke='%23ffffff' stroke-opacity='.28' stroke-width='1.5'/%3E%3C/svg%3E") left bottom / 40px 10px repeat-x;
        transition: color .2s, padding-left .2s;
    }
    .nav a:not(.btn):hover, .nav a:not(.btn):focus-visible { color: var(--ice); padding-left: 10px; }
    .nav a { display: flex; align-items: center; gap: 14px; }
    .nav .btn { justify-content: center; }
    .nav-icone { width: 20px; height: 20px; }
    .nav a:not(.btn) .nav-icone { color: var(--ice); }
    /* Pas de vaguelette sous les noms dans le menu mobile (les séparateurs sont déjà des vagues) */
    .nav a:not(.btn) .nav-texte::after { display: none; }
    .nav .btn { margin-top: 28px; padding: .85em 1.2em; font-size: .95rem; }
    html.menu-ouvert { overflow: hidden; }
}
@media (max-width: 1180px) and (prefers-reduced-motion: reduce) {
    .nav, .nav.open { transition: none; }
}

/* ── Hero ── */
.hero {
    position: relative;
    /* Cover : cornets sur la plage, calés en bas ; le ciel uni se prolonge vers le haut sous le texte */
    /* Le fondu (même hauteur que l'image : 34.2vw) efface la jonction entre l'image et le ciel uni */
    background:
        linear-gradient(180deg, #faefd9 0, rgba(250, 239, 217, 0) 14%) center bottom / 100% 34.2vw no-repeat,
        url("/assets/img/aiceberg-fond-2.webp") center bottom / 100% auto no-repeat,
        #faefd9;
    padding: 70px 0 calc(31vw + 20px);
    overflow: hidden;
}
/* Fondu du bas de l'illustration vers la section suivante */
.hero::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 36px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center; }
.hero h1 em { font-style: normal; color: var(--orange-dk); }
.lead { font-size: 1.18rem; color: var(--text-soft); max-width: 36em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 26px; }
.hero-badges { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-badges li {
    background: #fff; border: 1px solid var(--line); border-radius: 999px;
    padding: .35em .95em; font-weight: 700; font-size: .92rem; color: var(--navy);
}
.hero-badges li::before { content: "✓"; color: var(--mint); margin-right: .45em; }

.hero-visual { position: relative; display: flex; flex-direction: column; align-items: center; }
.hero-logo { width: min(360px, 100%); margin: 0 auto; border-radius: 50%; box-shadow: var(--shadow); }
.app-card {
    width: min(320px, 100%); margin-top: 22px;
    background: #fff; border-radius: var(--radius-sm);
    box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden;
    font-size: .82rem;
}
.app-bar { display: flex; align-items: center; gap: 5px; background: var(--navy); color: #fff; padding: 8px 12px; }
.app-bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .35); }
.app-bar span { margin-left: 6px; font-weight: 600; }
.app-body { padding: 12px 14px 14px; }
.gauge { display: grid; grid-template-columns: 34px 1fr 52px; align-items: center; gap: 8px; margin-bottom: 8px; }
.gauge span { font-weight: 700; color: var(--navy); }
.gauge em { font-style: normal; text-align: right; color: var(--text-soft); font-variant-numeric: tabular-nums; }
.track { height: 8px; background: var(--cream-2); border-radius: 99px; overflow: hidden; }
.track b { display: block; height: 100%; border-radius: 99px; }
.track b[data-v="20"] { width: 20%; }
.track b[data-v="55"] { width: 55%; }
.track b[data-v="62"] { width: 62%; }
.track b[data-v="78"] { width: 78%; }
.track b.ok { background: var(--mint); }
.track b.warn { background: var(--amber); }
.app-foot { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.chip { background: var(--ice-pale); color: var(--navy); border-radius: 99px; padding: 3px 9px; font-weight: 600; }
.chip-ai { background: #fde6dd; color: var(--orange-dk); }
.chip .ico { width: 1.1em; height: 1.1em; margin-right: .35em; vertical-align: -.2em; }

/* Icônes SVG (remplacent les emojis) */
.ico { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* Titre d'encart précédé de son icône, sur la même ligne */
.ico-titre { display: flex; align-items: center; gap: .55em; }
.ico-titre .ico { flex: none; width: 1.4em; height: 1.4em; color: var(--orange); }

@media (max-width: 900px) {
    /* Sur écran étroit, l'illustration est agrandie et centrée sur les cornets */
    .hero { padding: 44px 0 calc(47vw + 20px); background-size: 100% 51.3vw, 150% auto, auto; background-position: center bottom; }
    .hero-grid { grid-template-columns: 1fr; gap: 30px; }
    .hero-visual { max-width: 380px; margin: 0 auto; width: 100%; }
    .hero-logo { width: 100%; }
}

/* ── Sections ── */
.section { position: relative; padding: 90px 0; }
.section .eyebrow::before {
    content: ""; display: inline-block; width: 13px; height: 18px; margin-right: .6em; vertical-align: -3px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 22'%3E%3Cpath d='M3 9 8 21 13 9z' fill='%23e6b36a'/%3E%3Cpath d='M5 12l5 3M6 15l4-3' stroke='%23c99550' stroke-width='.8'/%3E%3Ccircle cx='8' cy='7' r='6' fill='%23f27a9b'/%3E%3Ccircle cx='6' cy='5' r='1.6' fill='%23fff' opacity='.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.section-cream { background: var(--cream); }
.section-head { max-width: 760px; margin-bottom: 44px; }
@media (max-width: 700px) { .section { padding: 64px 0; } .section-head { margin-bottom: 32px; } }

/* Atouts */
.atouts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.atout {
    position: relative; overflow: hidden;
    background: #fff; border: 1.5px solid var(--parfum, var(--line)); border-radius: var(--radius);
    padding: 46px 26px 24px;
    transition: transform .25s, box-shadow .25s;
}
.atout:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.atout::before {
    content: ""; position: absolute; left: 0; right: 0; top: 0; height: 30px;
    background: var(--parfum, var(--fraise));
    -webkit-mask: var(--coulure) 0 0 / 150px 30px repeat-x; mask: var(--coulure) 0 0 / 150px 30px repeat-x;
}
/* Parfum de l'encart : coulure, bordure et icône de la même couleur */
.atout:nth-child(1) { --parfum: var(--fraise); }
.atout:nth-child(2) { --parfum: var(--pistache); }
.atout:nth-child(3) { --parfum: var(--myrtille); }
.atout:nth-child(4) { --parfum: var(--mangue); }
.atout:nth-child(5) { --parfum: var(--citron); }
.atout:nth-child(6) { --parfum: var(--menthe); }
.atout:nth-child(even)::before { -webkit-mask-position: -70px 0; mask-position: -70px 0; }
.atout .ico { color: var(--parfum); stroke-width: 2.4; }
.atout p { color: var(--text-soft); margin: 0; }
@media (max-width: 980px) { .atouts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .atouts { grid-template-columns: 1fr; } }

/* Drapeau tricolore (sans emoji, rendu identique sur tous les systèmes) */
.tricolore {
    display: inline-block; width: 22px; height: 14px; margin-right: .6em; vertical-align: -1px;
    border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08);
    background: linear-gradient(90deg, #002395 0 33.33%, #fff 33.33% 66.66%, #ed2939 66.66%);
}

/* Empreinte écologique */
.section-eco {
    background:
        var(--vagues) 0 0 / 160px 44px repeat,
        linear-gradient(180deg, #def3f6 0%, #eff9f8 70%, #fff 100%);
}
.section-eco .eyebrow { color: #1d8a5f; }
.eco { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.eco-text p { color: var(--text-soft); }
.eco-text p strong { color: var(--navy); }
.eco-points { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.eco-points li { background: rgba(255, 255, 255, .85); border: 1px solid #cfeadc; box-shadow: inset 0 3px 0 rgba(127, 214, 194, .55); border-radius: var(--radius-sm); padding: 20px; }
.eco-points strong { display: block; font-family: var(--font-display); font-size: 1.45rem; color: #1d8a5f; line-height: 1.2; margin-bottom: 6px; }
.eco-points span { color: var(--text-soft); font-size: .95rem; }
@media (max-width: 900px) { .eco { grid-template-columns: 1fr; gap: 24px; } }
@media (max-width: 460px) { .eco-points { grid-template-columns: 1fr; } }

/* Fonctionnalités */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
#fonctionnalites {
    background:
        repeating-linear-gradient(45deg, rgba(230, 179, 106, .13) 0 2px, transparent 2px 26px),
        repeating-linear-gradient(-45deg, rgba(230, 179, 106, .13) 0 2px, transparent 2px 26px),
        var(--cream);
}
.feature { background: #fff; border-radius: var(--radius-sm); padding: 24px; box-shadow: 0 1px 0 var(--line); border: 1px solid #f1e6cf; }
.feature .ico { width: 2.3em; height: 2.3em; padding: .5em; border-radius: 50%; background: var(--boule); color: var(--navy-dk); box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .07); }
.feature:nth-child(5n+1) { --boule: #fcd5df; }
.feature:nth-child(5n+2) { --boule: #e2f0cf; }
.feature:nth-child(5n+3) { --boule: #e0dbf6; }
.feature:nth-child(5n+4) { --boule: #fde7bf; }
.feature:nth-child(5n)   { --boule: #d3f2ea; }
.feature h3 { font-size: 1.1rem; }
.feature p { color: var(--text-soft); margin: 0; font-size: 1rem; }
.langues { margin: 30px 0 0; text-align: center; color: var(--text-soft); }
@media (max-width: 980px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .features { grid-template-columns: 1fr; } }

/* Workflow */
#workflow {
    /* Photo du glacier à l'ouvrage en haut de section (hauteur 34.2vw), fondue dans le blanc sous le titre */
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0) 55%, #fff 100%) center top / 100% 34.2vw no-repeat,
        url("/assets/img/aiceberg-fond-4.webp") center top / 100% auto no-repeat,
        #fff;
    padding-top: calc(31vw + 10px);
}
@media (max-width: 700px) {
    #workflow { padding-top: calc(50vw + 10px); background-size: 100% 54.7vw, 160% auto, auto; }
}
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.steps li { counter-increment: s; position: relative; padding: 70px 18px 20px; background: linear-gradient(180deg, var(--vanille) 0%, #fff 100%); border: 1px solid #f1e6cf; border-radius: var(--radius-sm); }
.steps li:nth-child(1) { --boule: var(--fraise); }
.steps li:nth-child(2) { --boule: var(--pistache); }
.steps li:nth-child(3) { --boule: var(--mangue); }
.steps li:nth-child(4) { --boule: var(--myrtille); }
.steps li:nth-child(5) { --boule: var(--menthe); }
/* Petit cornet sous la boule */
.steps li::after {
    content: ""; position: absolute; top: 44px; left: 24px; width: 22px; height: 18px;
    background: repeating-linear-gradient(45deg, #d9a35a 0 2px, var(--waffle) 2px 6px);
    clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.steps li::before {
    content: counter(s);
    position: absolute; top: 16px; left: 18px;
    width: 34px; height: 34px; border-radius: 50%; z-index: 1;
    display: grid; place-items: center;
    background: var(--boule, var(--fraise)); color: var(--navy-dk); font-weight: 800;
    box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .1);
}
.steps strong { display: block; color: var(--navy); font-size: 1.08rem; margin-bottom: 6px; }
.steps span { color: var(--text-soft); font-size: .96rem; }
@media (max-width: 1000px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Méthode */
.section-navy {
    background:
        /* Mer au crépuscule */
        var(--vagues-claires) 0 0 / 160px 44px repeat,
        radial-gradient(500px 300px at 85% 0%, rgba(247, 184, 75, .16), transparent 65%),
        linear-gradient(180deg, var(--navy) 0%, #1a4f72 100%);
    color: #dce6ef;
}
#methode {
    /* Photo de la cheffe en recherche et développement (hauteur 34.2vw), fondue dans le bleu nuit sous le titre */
    background:
        linear-gradient(180deg, rgba(23, 58, 94, 0) 40%, var(--navy) 100%) center top / 100% 34.2vw no-repeat,
        url("/assets/img/aiceberg-fond-5.webp") center top / 100% auto no-repeat,
        var(--navy);
    padding-top: calc(31vw + 10px);
}
@media (max-width: 700px) {
    #methode { padding-top: calc(50vw + 10px); background-size: 100% 54.7vw, 160% auto, auto; }
}
.section-navy h2 { color: #fff; }
.section-navy .eyebrow { color: var(--waffle); }
.section-navy strong { color: #fff; }
.methode { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: start; }
.methode-text p { font-size: 1.1rem; }
@media (max-width: 860px) { .methode { grid-template-columns: 1fr; gap: 10px; } }

/* Équipe */
.team { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.person { display: flex; gap: 20px; align-items: flex-start; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: linear-gradient(160deg, var(--vanille) 0%, #fff 55%); }
.avatar {
    flex: none; width: 64px; height: 64px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--ice); color: #fff; font-weight: 800; font-size: 1.2rem;
}
.avatar-orange { background: var(--fraise); box-shadow: inset 0 -5px 0 rgba(0, 0, 0, .1); }
.avatar-photo { width: 96px; height: 96px; object-fit: cover; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--menthe); }
.person h3 { margin-bottom: .15em; }
.role { color: var(--orange-dk); font-weight: 700; font-size: .95rem; margin-bottom: .7em; }
.person p:last-child { color: var(--text-soft); margin: 0; }
@media (max-width: 800px) { .team { grid-template-columns: 1fr; } }
@media (max-width: 460px) { .person { flex-direction: column; padding: 22px; } }

/* Pour qui */
.publics { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px; }
#pour-qui {
    /* Photo du dessert en haut de section (hauteur 34.2vw), fondue dans la vanille sous le titre */
    background:
        linear-gradient(180deg, rgba(253, 243, 212, 0) 55%, var(--vanille) 100%) center top / 100% 34.2vw no-repeat,
        url("/assets/img/aiceberg-fond-3.webp") center top / 100% auto no-repeat,
        var(--vanille);
    padding-top: calc(31vw + 10px);
}
@media (max-width: 700px) {
    #pour-qui { padding-top: calc(50vw + 10px); background-size: 100% 54.7vw, 160% auto, auto; }
}
.publics li { display: flex; align-items: center; gap: .6em; background: #fff; border: 2px solid var(--cream-2); border-radius: 999px; padding: .6em 1.3em; font-weight: 700; color: var(--navy); }
.publics li::before { content: ""; flex: none; width: 14px; height: 14px; border-radius: 50%; background: var(--boule); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .12); }
.publics li:nth-child(1) { --boule: var(--fraise); border-color: #fcd5df; }
.publics li:nth-child(2) { --boule: var(--chocolat); border-color: #ead8cc; }
.publics li:nth-child(3) { --boule: var(--pistache); border-color: #e2f0cf; }
.publics li:nth-child(4) { --boule: var(--myrtille); border-color: #e0dbf6; }
.publics li:nth-child(5) { --boule: var(--mangue); border-color: #fde7bf; }

/* FAQ */
/* Fond bleu lagon : se distingue du sable de la section Contact */
#faq { background: linear-gradient(180deg, #e6f5fa 0%, #d9eff7 100%); }
/* Questions en cartes repliables : en-tête foncé texte blanc, réponse sur fond blanc texte foncé */
.faq { display: grid; gap: 14px; }
.faq details {
    background: #fff; border: 1.5px solid var(--navy); border-radius: var(--radius);
    box-shadow: 0 0 0 4px rgba(23, 58, 94, .1), 0 2px 10px -4px rgba(15, 40, 64, .15);
    overflow: hidden; transition: border-color .2s, box-shadow .2s;
}
.faq details[open] { box-shadow: 0 0 0 4px rgba(47, 178, 216, .25), 0 6px 20px -8px rgba(15, 40, 64, .25); }
.faq summary {
    cursor: pointer; list-style: none;
    padding: 20px 76px 20px 24px; position: relative;
    font-weight: 700; color: #fff; font-size: 1.08rem;
    background: var(--navy); transition: background-color .2s;
}
.faq summary:hover { background: #1f4a75; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: ""; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
    width: 40px; height: 40px; border-radius: 50%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / 20px 20px no-repeat, rgba(255, 255, 255, .14);
    transition: transform .25s, background-color .2s;
}
.faq summary:hover::after { background-color: rgba(255, 255, 255, .24); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(180deg); }

.faq details p { margin: 0; padding: 16px 24px 20px; background: #fff; color: var(--text); }
@media (max-width: 560px) { .faq summary { padding: 16px 64px 16px 18px; font-size: 1rem; } .faq summary::after { right: 12px; width: 36px; height: 36px; } .faq details p { padding: 14px 18px 18px; } }

/* Contact */
/* Scène de plage calée en bas, sous le formulaire */
.section-contact {
    background:
        linear-gradient(180deg, #f9efdc 0, rgba(249, 239, 220, 0) 14%) center bottom / 100% 34.2vw no-repeat,
        url("/assets/img/aiceberg-fond-1.webp") center bottom / 100% auto no-repeat,
        #f9efdc;
}
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items: start; }
.contact-intro p { color: var(--text-soft); }
.contact-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 34px; border: 1px solid var(--line); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 20px; } .contact-card { padding: 24px 20px; } }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; gap: 0; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; color: var(--navy); font-size: .95rem; margin-bottom: 6px; }
.field label span { color: var(--cherry); }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field textarea {
    width: 100%; font: inherit; color: var(--text);
    padding: .75em .9em;
    border: 1.5px solid #d9cdb4; border-radius: 10px; background: #fffdf9;
    transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ice); box-shadow: 0 0 0 4px rgba(47, 178, 216, .18); }
.field [aria-invalid="true"] { border-color: var(--cherry); background: #fff6f4; }
.champ-erreur { color: #b8291b; font-size: .9rem; font-weight: 600; margin: 6px 0 0; }
.field-check { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; }
.field-check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--orange); }
.field-check label { font-weight: 400; color: var(--text-soft); font-size: .93rem; margin: 0; }
.field-check .champ-erreur { grid-column: 1 / -1; }
.field-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .88rem; color: var(--text-soft); }
.alerte { border-radius: 10px; padding: 14px 18px; margin-bottom: 20px; }
.alerte-ok { background: #e4f6ee; color: #145c40; border: 1px solid #b7e4cf; font-size: 1.05rem; margin: 0; }
.alerte-ko { background: #fdecea; color: #8e2216; border: 1px solid #f5c3bc; font-weight: 600; }

/* ── Pied de page ── */
.site-footer { background: var(--navy-dk); color: #b9c7d4; padding: 50px 0 26px; font-size: .95rem; }
/* Le sable du contact rejoint la mer du pied de page */
.section-contact { padding-bottom: calc(23vw + 70px); }
@media (max-width: 860px) { .section-contact { padding-bottom: calc(46vw + 60px); background-size: 100% 68.4vw, 200% auto, auto; background-position: 72% bottom, 72% bottom, 0 0; } }
.section-contact::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 60px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60' preserveAspectRatio='none'%3E%3Cpath d='M0 26c120-20 240-20 360 0s240 20 360 0 240-20 360 0 120 10 120 10V60H0z' fill='%2357c3e3' fill-opacity='.6'/%3E%3Cpath d='M0 38c100-16 200-16 300 0s200 16 300 0 200-16 300 0 200 16 300 0v22H0z' fill='%230f2840'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.footer-inner { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer-brand { display: flex; gap: 16px; align-items: center; }
.footer-brand img { border-radius: 50%; }
.footer-brand p { margin: 0; }
.footer-brand strong { color: #fff; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; }
.footer-nav a { color: #dce6ef; text-decoration: none; }
.footer-nav a:hover { color: var(--waffle); }
.footer-legal { margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; color: #8ea1b3; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-legal p { margin: 0; }
.footer-7817 { text-align: right; line-height: 1.5; }
.footer-7817 a:hover { color: #fff !important; }
@media (max-width: 560px) { .footer-7817 { text-align: left; } }

/* ── Page mentions légales ── */
.legal { padding: 60px 0 80px; }
.legal h1 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
.legal h2 { font-size: 1.4rem; margin-top: 2em; }
.legal .a-completer { background: #fff3cd; padding: 0 .3em; border-radius: 4px; }

/* ── Apparition au défilement ── */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.visible { opacity: 1; transform: none; }
/* Photos de fond sous la ligne de flottaison : téléchargées seulement à l'approche de la section (main.js retire la classe) */
.fond-differe { background-image: none !important; }

/* Tableau des cookies */
.table-wrap { overflow-x: auto; margin: 0 0 1.2em; }
.cookies-table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 520px; }
.cookies-table th, .cookies-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.cookies-table th { background: var(--cream); color: var(--navy); }
.legal .maj { margin-top: 2.5em; font-size: .9rem; color: var(--text-soft); }

/* ALTCHA */
.field-altcha altcha-widget {
    --altcha-max-width: 100%;
    --altcha-border-radius: 10px;
    --altcha-color-border: #d9cdb4;
    --altcha-color-base: #fffdf9;
    --altcha-color-text: var(--text);
    --altcha-color-border-focus: var(--ice);
}

/* ── Page Aperçu de l'interface (demo) ── */
.demo-hero {
    background: linear-gradient(180deg, #e3f4fa 0%, var(--cream) 100%);
    padding: 70px 0 60px; text-align: center;
}
.demo-hero .lead { margin: 0 auto; }
.demo-ecrans { padding-top: 70px; }
.demo-ecran { display: grid; grid-template-columns: .72fr 1.6fr; gap: 48px; align-items: center; }
.demo-ecran + .demo-ecran { margin-top: 90px; }
.demo-ecran:nth-child(even) { grid-template-columns: 1.6fr .72fr; }
.demo-ecran:nth-child(even) .demo-texte { order: 2; }
.demo-num { font-family: var(--font-display); font-weight: 800; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ice); margin-bottom: .6em; }
.demo-texte p { color: var(--text-soft); }
.demo-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.demo-points li { position: relative; padding-left: 1.5em; color: var(--navy); font-weight: 600; font-size: .97rem; }
.demo-points li::before { content: ""; position: absolute; left: 0; top: .45em; width: .7em; height: .7em; border-radius: 50%; background: var(--fraise); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .12); }
/* Capture présentée dans une fenêtre d'application */
.demo-fenetre {
    display: block; border-radius: var(--radius-sm); overflow: hidden;
    background: #0f2840; box-shadow: 0 24px 50px -20px rgba(15, 40, 64, .45), 0 0 0 1px rgba(15, 40, 64, .12);
    transition: transform .25s, box-shadow .25s;
}
.demo-fenetre:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -20px rgba(15, 40, 64, .55), 0 0 0 1px rgba(15, 40, 64, .12); }
.demo-barre { display: flex; gap: 6px; padding: 10px 14px; background: #0b2233; }
.demo-barre i { width: 10px; height: 10px; border-radius: 50%; background: #f27a9b; }
.demo-barre i:nth-child(2) { background: var(--mangue); }
.demo-barre i:nth-child(3) { background: var(--pistache); }
.demo-fenetre img { width: 100%; }
.demo-cta { background: var(--navy); color: #dce6ef; text-align: center; }
.demo-cta h2 { color: #fff; }
.demo-cta p { margin-bottom: 1.6em; }
@media (max-width: 900px) {
    .demo-ecran { grid-template-columns: 1fr; gap: 24px; }
    .demo-ecran:nth-child(even) { grid-template-columns: 1fr; }
    .demo-ecran:nth-child(even) .demo-texte { order: 0; }
    .demo-ecran + .demo-ecran { margin-top: 64px; }
}

/* ── Nous suivre ── */
.section-suivre { background: #fff; padding: 70px 0; }
.suivre { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.suivre-texte h2 { margin-bottom: .3em; }
.suivre-texte p:last-child { color: var(--text-soft); margin: 0; }
.reseaux { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 14px; }
.reseau {
    display: flex; align-items: center; gap: 14px;
    padding: 12px 14px 12px 12px; border-radius: var(--radius);
    background: #fff; border: 1.5px solid var(--reseau); box-shadow: 0 0 0 4px var(--reseau-halo);
    text-decoration: none; color: var(--navy); transition: transform .2s, box-shadow .2s;
}
.reseau:hover { transform: translateY(-2px); box-shadow: 0 0 0 4px var(--reseau-halo), 0 10px 24px -12px var(--reseau); color: var(--navy); }
.reseau-yaaka { --reseau: #8a4fcc; --reseau-halo: rgba(160, 100, 224, .14); }
.reseau-logo { flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--reseau); color: #fff; }
.reseau-logo svg { width: 22px; height: 30px; }
.reseau-nom { display: grid; line-height: 1.25; }
.reseau-nom strong { font-family: var(--font-display); font-size: 1.15rem; }
.reseau-nom span { color: var(--text-soft); font-size: .92rem; }
.reseau-suivre { margin-left: 10px; padding: .45em 1.1em; border-radius: 999px; background: var(--reseau); color: #fff; font-weight: 700; font-size: .9rem; }
@media (max-width: 760px) { .suivre { grid-template-columns: 1fr; gap: 24px; } }
/* Cartes yaaKa (page yaaka.php dans un cadre ; hauteur ajustée par main.js) */
.cadre-yaaka { display: block; width: 100%; height: 520px; margin-top: 36px; border: 0; background: transparent; }
.suivre-tous { margin: 28px 0 0; text-align: center; }
