/* ==========================================================================
   A.G.C – Audrey Gestion Conseil
   Charte : bleu ardoise · or · blanc cassé (logo boussole)
   Polices : Montserrat (titres), Manrope (texte), Playfair Display italique (touche élégante)
   ========================================================================== */

@font-face {
    font-family: "Montserrat";
    src: url("../fonts/montserrat-latin.woff2") format("woff2");
    font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
    font-family: "Manrope";
    src: url("../fonts/manrope-latin.woff2") format("woff2");
    font-weight: 200 800; font-style: normal; font-display: swap;
}
@font-face {
    font-family: "Playfair Display";
    src: url("../fonts/playfair-italic-latin.woff2") format("woff2");
    font-weight: 400 900; font-style: italic; font-display: swap;
}

:root {
    --navy: #263547;
    --navy-deep: #1b2737;
    --navy-soft: #36495f;
    --gold: #d2ae5c;
    --gold-dark: #8a6a24;     /* texte doré sur fond clair (contraste AA) */
    --gold-light: #e3c77f;    /* doré sur fond ardoise */
    --gold-soft: #f5edda;
    --cream: #f8f6f1;
    --white: #ffffff;
    --text: #283444;
    --muted: #5b6878;
    --line: #e0e4e2;
    --success: #2c6e55;
    --error: #b3261e;

    --font-title: "Montserrat", "Segoe UI", system-ui, sans-serif;
    --font-body: "Manrope", "Segoe UI", system-ui, sans-serif;
    --font-accent: "Playfair Display", Georgia, serif;

    --radius: 20px;
    --radius-small: 12px;
    --shadow-sm: 0 1px 2px rgba(38, 53, 71, .06), 0 2px 8px rgba(38, 53, 71, .05);
    --shadow: 0 2px 4px rgba(38, 53, 71, .04), 0 12px 32px rgba(38, 53, 71, .08);
    --shadow-lg: 0 24px 60px rgba(27, 39, 55, .18);
    --container: 1180px;
    --ease: cubic-bezier(.2, .7, .2, 1);

    /* Arc doré rappelant ceux de la boussole du logo */
    --swoosh: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M2 17C60 3 140 1 198 9' fill='none' stroke='%23d2ae5c' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--font-title); color: var(--navy); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.015em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.18rem; letter-spacing: -.005em; }
p  { margin: 0 0 1em; }
a  { color: var(--gold-dark); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--gold-soft); color: var(--navy); }

/* Mot mis en valeur : italique Playfair + arc du logo */
.accent {
    font-family: var(--font-accent); font-style: italic; font-weight: 500;
    color: var(--gold-dark); letter-spacing: 0;
    background: var(--swoosh) no-repeat left 100% / 100% .32em;
    padding-bottom: .12em;
}
.on-dark .accent, .accent--light { color: var(--gold-light); }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

.visually-hidden, .hp {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius-small); }
.skip-link:focus { top: 12px; color: #fff; }

.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }

/* Boutons ---------------------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55em;
    padding: .9em 1.6em; border: 2px solid var(--navy); border-radius: 999px;
    background: var(--navy); color: #fff;
    font-family: var(--font-title); font-size: .95rem; font-weight: 600; letter-spacing: .01em;
    text-decoration: none; cursor: pointer;
    transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { background: var(--navy-soft); border-color: var(--navy-soft); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(38, 53, 71, .22); }
.btn .icon { width: 1.05em; height: 1.05em; transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); color: var(--navy-deep); }
.btn-ghost { background: transparent; color: var(--navy); border-color: rgba(38, 53, 71, .25); }
.btn-ghost:hover { background: var(--white); color: var(--navy); border-color: var(--navy); box-shadow: var(--shadow-sm); }
.btn-light { background: var(--white); border-color: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--gold-soft); border-color: var(--gold-soft); color: var(--navy); }
.btn-outline-light { background: transparent; border-color: rgba(255, 255, 255, .4); color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn-small { padding: .6em 1.2em; font-size: .88rem; }

/* En-tête ---------------------------------------------------------------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(248, 246, 241, .86);
    backdrop-filter: saturate(1.4) blur(12px);
    -webkit-backdrop-filter: saturate(1.4) blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(38, 53, 71, .06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 16px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-compass { width: 54px; height: 54px; transition: transform .6s var(--ease); }
.brand:hover .brand-compass { transform: rotate(-12deg); }
.brand-name { display: flex; flex-direction: column; gap: 3px; }
.brand-name img { width: 92px; height: auto; }

.brand-text {
    font-family: var(--font-body); font-size: .76rem; font-weight: 600; line-height: 1.2;
    letter-spacing: .02em; color: var(--gold-dark); white-space: nowrap;
}

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.main-nav a:not(.btn) {
    position: relative; display: block; padding: .55em .95em;
    font-family: var(--font-title); font-size: .92rem; font-weight: 500;
    color: var(--navy); text-decoration: none;
}
.main-nav a:not(.btn)::after {
    content: ""; position: absolute; left: .95em; right: .95em; bottom: .25em; height: 6px;
    background: var(--swoosh) no-repeat center / 100% 100%;
    transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.main-nav a:not(.btn):hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav .btn { margin-left: 12px; }

.nav-toggle { display: none; }

@media (max-width: 960px) {
    .nav-toggle {
        display: grid; place-items: center; width: 46px; height: 46px;
        border: 1px solid var(--line); border-radius: 12px; background: var(--white); cursor: pointer;
    }
    .nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
        display: block; width: 20px; height: 2px; background: var(--navy); border-radius: 2px;
        position: relative; transition: transform .25s, background .25s;
    }
    .nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
    .nav-toggle-bar::before { top: -6px; }
    .nav-toggle-bar::after { top: 6px; }
    .nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
    .nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

    .main-nav {
        position: absolute; top: 100%; left: 0; right: 0;
        background: var(--cream); border-bottom: 1px solid var(--line);
        box-shadow: 0 16px 32px rgba(38, 53, 71, .1);
        padding: 12px 16px 24px; display: none;
    }
    .main-nav.is-open { display: block; }
    .main-nav ul { flex-direction: column; align-items: stretch; }
    .main-nav a:not(.btn) { padding: .8em .4em; border-bottom: 1px solid var(--line); }
    .main-nav a:not(.btn)::after { display: none; }
    .main-nav a[aria-current="page"]:not(.btn) { color: var(--gold-dark); }
    .main-nav .btn { margin: 16px 0 0; }
    .no-js .main-nav { position: static; display: block; box-shadow: none; }
}
@media (max-width: 520px) { .brand-compass { width: 46px; height: 46px; } .brand-name img { width: 80px; } .brand-text { font-size: .7rem; } }

/* Sections ---------------------------------------------------------------- */
.section { padding: clamp(64px, 9vw, 112px) 0; position: relative; }
.section-white { background: var(--white); }
.section-navy { background: var(--navy); color: #cfd9e4; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; }
.section-head p:last-child { margin-bottom: 0; }
.eyebrow {
    display: inline-flex; align-items: center; gap: .7em;
    font-family: var(--font-title); text-transform: uppercase; letter-spacing: .2em;
    font-size: .74rem; font-weight: 600; color: var(--gold-dark); margin-bottom: 1.1em;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); border-radius: 2px; }
.center .eyebrow::after { content: ""; width: 28px; height: 2px; background: var(--gold); border-radius: 2px; }
.section-navy .eyebrow, .cta-band .eyebrow { color: var(--gold-light); }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.22rem); color: var(--muted); }
.section-navy .lead { color: #b9c7d6; }

/* Héros ------------------------------------------------------------------ */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 96px) 0 clamp(72px, 9vw, 120px); isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg::before, .hero-bg::after { content: ""; position: absolute; border-radius: 50%; filter: blur(70px); }
.hero-bg::before { width: 520px; height: 520px; right: -120px; top: -160px; background: rgba(210, 174, 92, .22); }
.hero-bg::after { width: 420px; height: 420px; left: -180px; bottom: -200px; background: rgba(38, 53, 71, .10); }
.hero-swoosh { position: absolute; left: -5%; right: -5%; bottom: 0; width: 110%; height: auto; opacity: .55; }

.hero-inner { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.hero h1 { margin-bottom: .45em; }
.hero .lead { max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 36px; }
.reassure { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: .92rem; color: var(--muted); }
.reassure li { display: flex; align-items: center; gap: 8px; }
.reassure .icon { color: var(--gold); width: 1.15em; height: 1.15em; }

/* Maquette de tableau de bord animée (illustration) */
.dash-wrap { position: relative; padding: 16px 8px 24px; }
.dash {
    position: relative; overflow: hidden; color: #e8edf3;
    background: radial-gradient(120% 90% at 100% 0%, #2c3e54 0%, var(--navy-deep) 55%, #121b27 100%);
    border: 1px solid rgba(210, 174, 92, .45); border-radius: 28px; padding: 26px;
    box-shadow: 0 0 0 1px rgba(210, 174, 92, .08), 0 0 40px rgba(210, 174, 92, .18), var(--shadow-lg);
    animation: float-y 7s ease-in-out infinite;
}
.dash-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.dash-title { display: flex; align-items: center; gap: 8px; margin: 0; font-family: var(--font-title); font-weight: 500; font-size: 1.12rem; color: #fff; }
.dash-title strong { color: var(--gold); font-weight: 800; }
.dash-logo { display: inline-grid; color: var(--gold); }
.dash-logo .icon { width: 22px; height: 22px; }

.dash-body { display: grid; grid-template-columns: auto auto 1fr; gap: 18px; align-items: start; margin-bottom: 22px; }
.gauge { position: relative; display: grid; justify-items: center; width: 104px; }
.gauge svg { width: 104px; height: 104px; transform: rotate(-90deg); }
.gauge-track { fill: none; stroke: rgba(255, 255, 255, .1); stroke-width: 7; }
.gauge-bar { fill: none; stroke: var(--gold); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 0 100; transition: stroke-dasharray 1.4s var(--ease); }
.gauge-value { position: absolute; top: 0; left: 0; right: 0; height: 104px; display: flex; align-items: center; justify-content: center; gap: 1px; font-family: var(--font-title); font-size: .95rem; color: #fff; }
.gauge-value b { font-size: 1.4rem; font-weight: 700; }
.gauge-label { margin-top: 8px; font-size: .68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; text-align: center; line-height: 1.3; color: #8d9db0; }
.dash-pills { min-width: 0; list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dash-pills li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 12px; border-radius: 10px; background: rgba(255, 255, 255, .06); font-size: .82rem; font-weight: 600; color: #fff; white-space: nowrap; }
.pill-trend { color: var(--gold-light); font-variant-numeric: tabular-nums; }
.pill-bell { display: grid; place-items: center; color: var(--gold); transform-origin: 50% 10%; animation: bell-ring 6s ease-in-out 1.5s infinite; }
.pill-bell .icon { width: 18px; height: 18px; }
@keyframes bell-ring { 0%, 14%, 100% { transform: rotate(0); } 2% { transform: rotate(18deg); } 4% { transform: rotate(-16deg); } 6% { transform: rotate(12deg); } 8% { transform: rotate(-8deg); } 10% { transform: rotate(4deg); } 12% { transform: rotate(-2deg); } }

.dash-chart { position: relative; margin-bottom: 0; padding: 12px 14px 8px; border-radius: 16px; background: rgba(255, 255, 255, .04); }
.dash-chart-head { display: flex; justify-content: space-between; align-items: center; font-size: .75rem; font-weight: 600; color: #9fb0c3; margin-bottom: 6px; }
.dash-chart-tag { color: var(--gold-light); }
.dash-chart svg { display: block; width: 100%; height: 90px; overflow: visible; }
.chart-line { stroke-dasharray: 100; stroke-dashoffset: 100; }
.dash.is-on .chart-line { animation: draw 1.8s var(--ease) .2s both; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.chart-dot { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(210, 174, 92, .45); left: 0; top: 0; opacity: 0; transition: opacity .4s; }
.dash.is-on .chart-dot { opacity: 1; }

@keyframes float-y { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (max-width: 960px) {
    .hero-inner { grid-template-columns: 1fr; }
    .dash-wrap { max-width: 520px; }
}
@media (max-width: 520px) {
    .dash { padding: 20px; }
    .dash-body { grid-template-columns: 1fr 1fr; }
    .dash-pills { grid-column: 1 / -1; }
    .gauge { justify-self: center; }
}
@media (prefers-reduced-motion: reduce) {
    .dash, .pill-bell { animation: none; }
    .chart-line { stroke-dashoffset: 0; }
}

/* Carte marine qui se dessine en arrière-plan (accueil) */
.hero-map { position: absolute; right: max(-40px, calc((100% - 1320px) / 2)); top: 50%; width: min(780px, 56vw); height: auto; transform: translateY(-46%); opacity: .9; }
.map-draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: map-draw 16s ease-in-out infinite; }
.map-d2 { animation-delay: .6s; }
.map-d3 { animation-delay: 1.2s; }
.map-d4 { animation-delay: 2s; }
.map-pin { opacity: 0; animation: map-pin 16s ease-in-out 2s infinite; }
@keyframes map-draw {
    0% { stroke-dashoffset: 1; opacity: 1; }
    30% { stroke-dashoffset: 0; opacity: 1; }
    62% { stroke-dashoffset: 0; opacity: 1; }
    76% { stroke-dashoffset: 0; opacity: 0; }
    100% { stroke-dashoffset: 1; opacity: 0; }
}
@keyframes map-pin { 0%, 26% { opacity: 0; } 32%, 60% { opacity: 1; } 74%, 100% { opacity: 0; } }
@media (max-width: 960px) { .hero-map { width: 90vw; right: -10vw; top: auto; bottom: 0; transform: none; opacity: .5; } }
@media (prefers-reduced-motion: reduce) { .hero-map { display: none; } }

/* En-tête des pages intérieures */
.page-hero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 6vw, 72px); isolation: isolate; }
.page-hero .hero-bg::before { width: 420px; height: 420px; top: -200px; }
.page-hero h1 { max-width: 860px; }
.page-hero .lead { max-width: 680px; }
.page-hero-small { padding: 56px 0 40px; }
.page-hero-small h1 { margin: 0; }

/* Grilles ---------------------------------------------------------------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1040px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px)  { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 560px)  { .grid-4 { grid-template-columns: 1fr; } }

/* Cartes */
.card {
    position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 32px 28px; display: flex; flex-direction: column;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card p { color: var(--muted); }
.card-icon {
    display: inline-grid; place-items: center; width: 56px; height: 56px; margin-bottom: 22px;
    border-radius: 16px; background: var(--gold-soft); color: var(--gold-dark);
    transition: background .35s var(--ease), color .35s var(--ease);
}
.card:hover .card-icon { background: var(--navy); color: #fff; }
.card-icon .icon { width: 26px; height: 26px; }
.card-num { position: absolute; top: 24px; right: 28px; font-family: var(--font-title); font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--gold-soft); }
.card-link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-title); font-size: .9rem; font-weight: 600; text-decoration: none; color: var(--navy); }
.card-link .icon { width: 1em; height: 1em; color: var(--gold); transition: transform .25s var(--ease); }
.card-link:hover .icon { transform: translateX(4px); }
.card-link::before { content: ""; position: absolute; inset: 0; border-radius: inherit; } /* toute la carte cliquable */

/* Constat (problèmes) */
.pain {
    display: flex; gap: 16px; align-items: flex-start;
    background: var(--white); border-radius: var(--radius-small); padding: 22px 24px; border: 1px solid var(--line);
}
.pain-icon { display: grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; background: #e9eef4; color: var(--navy-soft); }
.pain-icon .icon { width: 20px; height: 20px; }
.pain p { margin: 0; color: var(--text); font-weight: 500; }
.pivot {
    margin-top: 40px; display: flex; align-items: center; gap: 18px; justify-content: center; text-align: center;
    font-family: var(--font-title); font-weight: 600; color: var(--navy); font-size: clamp(1.05rem, 2vw, 1.3rem);
}
.pivot .icon { color: var(--gold); width: 28px; height: 28px; transform: rotate(90deg); }

/* Bloc bénéfices sur fond marine */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.benefits { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.benefits li { display: flex; gap: 18px; align-items: flex-start; }
.benefits .b-icon { display: grid; place-items: center; width: 48px; height: 48px; flex-shrink: 0; border-radius: 14px; background: rgba(210, 174, 92, .16); color: var(--gold-light); }
.benefits .b-icon .icon { width: 24px; height: 24px; }
.benefits h3 { margin: 0 0 .2em; font-size: 1.08rem; }
.benefits p { margin: 0; color: #b9c7d6; }

.quote-card {
    position: relative; background: linear-gradient(145deg, var(--navy-soft), var(--navy-deep));
    border: 1px solid rgba(255, 255, 255, .08); border-radius: 28px; padding: clamp(32px, 5vw, 56px);
}
.quote-card::before {
    content: "“"; position: absolute; top: -.2em; left: .25em; font-family: var(--font-accent); font-size: 8rem; line-height: 1; color: var(--gold);
}
.quote-card blockquote { margin: 0; font-family: var(--font-accent); font-style: italic; font-size: clamp(1.35rem, 2.6vw, 1.85rem); line-height: 1.45; color: #fff; }
.quote-card figcaption { margin-top: 24px; display: flex; align-items: center; gap: 14px; color: #b9c7d6; font-size: .95rem; }
.quote-card figcaption img { width: 84px; }

/* Méthode */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.steps::before {
    content: ""; position: absolute; left: 6%; right: 6%; top: 34px; height: 18px;
    background: var(--swoosh) no-repeat center / 100% 100%; opacity: .5;
}
.step { position: relative; text-align: center; padding: 0 6px; }
.step-number {
    position: relative; display: inline-grid; place-items: center; width: 68px; height: 68px; margin-bottom: 20px;
    border-radius: 50%; background: var(--white); border: 2px solid var(--gold);
    font-family: var(--font-title); font-size: 1.4rem; font-weight: 700; color: var(--navy);
    box-shadow: 0 0 0 8px var(--cream);
}
.section-white .step-number { box-shadow: 0 0 0 8px var(--white); }
.step p { color: var(--muted); font-size: .98rem; }
@media (max-width: 900px) {
    .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
    .steps::before { display: none; }
}
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Publics */
.audience { border-top: 4px solid var(--gold); }
.audience h3 { margin-bottom: .4em; }
.audience p { color: var(--muted); }
.audience ul { list-style: none; margin: auto 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: .94rem; }
.audience li { display: flex; gap: 10px; align-items: flex-start; }
.audience li .icon { color: var(--gold); margin-top: .25em; width: 1.05em; height: 1.05em; }

/* Valeurs */
.value { text-align: center; padding: 8px 12px; }
.value .v-icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--white); color: var(--gold-dark); box-shadow: var(--shadow-sm); margin-bottom: 18px; }
.value .v-icon .icon { width: 28px; height: 28px; }
.value p { color: var(--muted); font-size: .98rem; }

/* FAQ */
.faq { display: grid; gap: 14px; max-width: 860px; margin-inline: auto; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-small); transition: box-shadow .3s, border-color .3s; }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary {
    list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 20px 24px; font-family: var(--font-title); font-weight: 600; color: var(--navy); font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "+"; display: grid; place-items: center; flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%;
    background: var(--gold-soft); color: var(--gold-dark); font-size: 1.3rem; font-weight: 500; transition: transform .3s var(--ease), background .3s;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--navy); color: #fff; }
.faq .answer { padding: 0 24px 22px; color: var(--muted); }
.faq .answer p:last-child { margin: 0; }

/* Prestations */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chip {
    display: inline-flex; align-items: center; gap: 8px; padding: .55em 1.1em; border-radius: 999px;
    border: 1px solid var(--line); background: var(--white); color: var(--navy); text-decoration: none;
    font-family: var(--font-title); font-weight: 500; font-size: .9rem; transition: border-color .25s, color .25s, box-shadow .25s;
}
.chip .icon { width: 1.05em; height: 1.05em; color: var(--gold); }
.chip:hover { border-color: var(--gold); color: var(--gold-dark); box-shadow: var(--shadow-sm); }

.service-list { display: grid; gap: 28px; }
.service {
    display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px);
    background: var(--white); border: 1px solid var(--line); border-radius: 28px;
    padding: clamp(28px, 4.5vw, 52px); scroll-margin-top: 110px; position: relative; overflow: hidden;
}
.service::after {
    content: ""; position: absolute; right: -60px; bottom: -40px; width: 340px; height: 60px;
    background: var(--swoosh) no-repeat center / 100% 100%; opacity: .25; pointer-events: none;
}
.service-head .card-icon { margin-bottom: 18px; }
.service-head p { color: var(--muted); }
.service-tag { display: inline-block; font-family: var(--font-title); font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: .6em; }
.service-benefit { margin-top: 20px; padding: 16px 18px; border-radius: var(--radius-small); background: var(--gold-soft); color: var(--navy); font-size: .95rem; }
.service-benefit strong { font-family: var(--font-title); }
@media (max-width: 860px) { .service { grid-template-columns: 1fr; } }

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; padding-bottom: 14px; border-bottom: 1px dashed var(--line); }
.checklist li:last-child { border-bottom: 0; padding-bottom: 0; }
.checklist .tick { display: grid; place-items: center; width: 24px; height: 24px; flex-shrink: 0; border-radius: 50%; background: var(--gold-soft); color: var(--gold-dark); margin-top: .15em; }
.checklist .tick .icon { width: 14px; height: 14px; }

.format { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; display: flex; flex-direction: column; }
.format.is-featured { background: var(--navy); border-color: var(--navy); color: #cfd9e4; box-shadow: var(--shadow-lg); }
.format.is-featured h3 { color: #fff; }
.format-label { align-self: flex-start; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .35em .9em; border-radius: 999px; background: var(--gold-soft); color: var(--gold-dark); margin-bottom: 16px; }
.format.is-featured .format-label { background: var(--gold); color: #fff; }
.format p { color: var(--muted); }
.format.is-featured p { color: #b9c7d6; }
.format ul { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 8px; font-size: .94rem; }
.format li { display: flex; gap: 10px; }
.format li .icon { color: var(--gold); width: 1.05em; height: 1.05em; margin-top: .3em; }
.format.is-featured li .icon { color: var(--gold-light); }
.format .btn { margin-top: auto; align-self: flex-start; }

.note {
    display: flex; gap: 16px; align-items: flex-start; margin-top: 40px; padding: 22px 26px;
    background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--gold);
    border-radius: var(--radius-small); color: var(--muted);
}
.note .icon { color: var(--gold-dark); width: 24px; height: 24px; margin-top: .15em; }
.note p { margin: 0; }

/* À propos */
.about { display: grid; grid-template-columns: 380px 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.portrait { position: relative; }
.portrait-frame {
    aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden; position: relative;
    background: linear-gradient(160deg, var(--navy-soft), var(--navy-deep)); display: grid; place-items: center;
}
.portrait-frame img.photo { width: 100%; height: 100%; object-fit: cover; }
.portrait-frame .placeholder { width: 70%; opacity: .9; }
.portrait::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 2px solid var(--gold); border-radius: 28px; z-index: -1; }
.portrait-badge {
    position: absolute; left: -18px; bottom: 32px; background: var(--white); border-radius: 16px; padding: 14px 18px;
    box-shadow: var(--shadow); font-family: var(--font-title); font-size: .85rem; font-weight: 600; color: var(--navy);
}
.portrait-badge small { display: block; font-family: var(--font-body); font-weight: 500; color: var(--muted); }
.about-text .signature { font-family: var(--font-accent); font-style: italic; font-size: 1.6rem; color: var(--gold-dark); margin-top: 8px; }
.todo-block { padding: 14px 18px; border: 2px dashed #e0b5aa; border-radius: var(--radius-small); background: #fdf6f4; color: #8a4536; font-size: .95rem; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } .portrait { max-width: 340px; margin-left: 22px; } }

.prose h2 { font-size: 1.45rem; margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }
.prose-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 5vw, 56px); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 56px); align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-side { display: grid; gap: 20px; }
.info-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.info-card h2 { font-size: 1.2rem; margin-bottom: 1em; }
.info-card.is-navy { background: var(--navy); border-color: var(--navy); color: #cfd9e4; }
.info-card.is-navy h2 { color: #fff; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: center; }
.contact-list .c-icon { display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px; background: var(--gold-soft); color: var(--gold-dark); }
.contact-list .c-icon .icon { width: 20px; height: 20px; }
.contact-list small { display: block; color: var(--muted); font-size: .8rem; }
.contact-list a { color: var(--navy); font-weight: 600; text-decoration: none; }
.contact-list a:hover { color: var(--gold-dark); }
.call-points { list-style: none; margin: 0 0 4px; padding: 0; display: grid; gap: 10px; }
.call-points li { display: flex; gap: 10px; align-items: flex-start; }
.call-points .icon { color: var(--gold-light); margin-top: .25em; width: 1.05em; height: 1.05em; }

.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 28px; padding: clamp(24px, 4.5vw, 48px); box-shadow: var(--shadow); }
.form-card h2 { font-size: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 20px; }
.field label { display: block; font-family: var(--font-title); font-weight: 600; margin-bottom: 8px; color: var(--navy); font-size: .88rem; }
.field input:not([type="checkbox"]), .field select, .field textarea {
    width: 100%; padding: .85em 1em; font: inherit; font-size: 1rem; color: var(--text);
    background: var(--cream); border: 1.5px solid transparent; border-radius: var(--radius-small);
    transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 170px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: var(--white); border-color: var(--gold); box-shadow: 0 0 0 4px var(--gold-soft); }
.field [aria-invalid="true"] { border-color: var(--error); background: #fdf3f2; }
.field-check { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: start; }
.field-check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--gold-dark); }
.field-check label { font-family: var(--font-body); font-weight: 400; color: var(--muted); font-size: .92rem; }
.field-check .field-error { grid-column: 2; }
.field-error { color: var(--error); font-size: .88rem; margin: 6px 0 0; }
.req { color: var(--gold-dark); }
.field-hint { margin: 6px 0 0; font-size: .85rem; color: var(--muted); }

/* Bloc entreprise + recherche SIREN */
.company-box { margin: 0 0 20px; padding: 12px 16px 0; border: 1px solid var(--line); border-radius: var(--radius-small); background: linear-gradient(180deg, var(--gold-soft), rgba(245, 237, 218, .25)); }
.company-box legend { padding: 0 6px; margin-left: -8px; font-family: var(--font-title); font-weight: 700; font-size: .95rem; color: var(--navy); }
.company-box .optional { margin-left: 6px; font-family: var(--font-body); font-weight: 500; font-size: .78rem; color: var(--muted); text-transform: lowercase; }
.company-box .field input:not([type="checkbox"]) { background: var(--white); }
.siren-input { position: relative; }
.siren-input input { letter-spacing: .08em; padding-right: 3em !important; }
.siren-spinner { position: absolute; right: 14px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; border: 2px solid var(--gold-soft); border-top-color: var(--gold-dark); opacity: 0; transition: opacity .2s; }
.is-loading .siren-spinner { opacity: 1; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.lookup-status { margin: 6px 0 0; font-size: .88rem; font-weight: 600; min-height: 0; }
.lookup-status:empty { display: none; }
.lookup-status.is-found { color: var(--success); }
.lookup-status.is-warning { color: #9a5b12; }
.lookup-status.is-error { color: var(--error); }
.field input.is-autofilled { border-color: var(--gold) !important; box-shadow: 0 0 0 3px rgba(210, 174, 92, .15); transition: box-shadow 1.2s; }

.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.form-foot p { margin: 0; }

.alert { display: flex; gap: 12px; padding: 16px 20px; border-radius: var(--radius-small); margin-bottom: 24px; }
.alert-success { background: #e7f3ee; color: var(--success); border: 1px solid #bcdccd; }
.alert-error { background: #fbeceb; color: var(--error); border: 1px solid #f0c7c3; }

/* Bandeau d'appel à l'action */
.cta-band { padding: 0 0 clamp(64px, 9vw, 112px); }
.cta-box {
    position: relative; overflow: hidden; isolation: isolate;
    background: var(--navy); color: #cfd9e4; border-radius: 32px;
    padding: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
}
.cta-box::before { content: ""; position: absolute; width: 460px; height: 460px; border-radius: 50%; right: -140px; top: -220px; background: rgba(210, 174, 92, .28); filter: blur(60px); z-index: -1; }
.cta-box .cta-swoosh { position: absolute; left: 0; bottom: -10px; width: 70%; opacity: .35; z-index: -1; }
.cta-box h2 { color: #fff; margin-bottom: .4em; }
.cta-box p { margin: 0; max-width: 600px; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 860px) { .cta-box { grid-template-columns: 1fr; } .cta-actions { flex-direction: row; flex-wrap: wrap; } }

/* Pied de page */
.site-footer { background: var(--navy-deep); color: #a9b8c8; font-size: .95rem; padding-top: clamp(56px, 7vw, 80px); }
.site-footer a { color: #dce5ee; text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo { width: 230px; margin-bottom: 18px; }
.footer-title { font-family: var(--font-title); color: #fff; font-weight: 600; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1.1em; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-list li { display: flex; gap: 10px; align-items: center; }
.footer-list .icon { color: var(--gold-light); width: 1.1em; height: 1.1em; }
.footer-bottom {
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px;
    border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 0; font-size: .85rem;
}
.footer-bottom p { margin: 0; }

/* Apparition au défilement (activée seulement si JavaScript est disponible) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-delay-1 { transition-delay: .08s; }
.js .reveal-delay-2 { transition-delay: .16s; }
.js .reveal-delay-3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }

/* Motif boussole (logo) en filigrane ------------------------------------- */
.compass-deco { position: absolute; pointer-events: none; z-index: -1; height: auto; }
.hero .compass-deco { width: min(640px, 70vw); right: -90px; top: 50%; transform: translateY(-50%) rotate(-8deg); opacity: .13; }
.page-hero .compass-deco { width: 380px; right: -60px; top: -40px; opacity: .12; transform: rotate(10deg); }
.cta-box .compass-deco { width: 340px; right: -70px; bottom: -110px; opacity: .14; }
.quote-card .compass-deco { position: static; display: inline-block; width: 40px; opacity: 1; z-index: 0; }
@media (max-width: 960px) { .hero .compass-deco { top: auto; bottom: -80px; transform: rotate(-8deg); } }
@keyframes compass-in { from { transform: translateY(-50%) rotate(-40deg); opacity: 0; } }
.hero .compass-deco { animation: compass-in 1.6s var(--ease) both; }
@media (max-width: 960px) { .hero .compass-deco { animation: none; } }
.quote-signature { font-family: var(--font-accent); font-style: italic; font-size: 1.35rem; color: var(--gold-light); }

/* Texte justifié (mentions légales) */
.justify, .legal-text p { text-align: justify; text-justify: inter-word; hyphens: none; -webkit-hyphens: none; overflow-wrap: normal; word-break: normal; }
.page-hero-small:has(+ .section-legal) { padding-bottom: 16px; }
.section-legal { padding-top: 8px; }

/* Titre maintenu sur une ligne sur ordinateur */
@media (min-width: 900px) { .section-head h2.one-line { white-space: nowrap; } .section-head:has(.one-line) { max-width: none; } }

/* Page 404 : boussole insaisissable */
.lost-compass { width: 220px; max-width: 60vw; margin: 28px auto 8px; padding: 30px; touch-action: manipulation; user-select: none; }
.lost-compass img { display: block; width: 100%; height: auto; transform-origin: 50.2% 49.4%; transition: transform .6s cubic-bezier(.34, 1.56, .64, 1); -webkit-user-drag: none; }
.lost-caption { margin: 0 0 18px; font-family: var(--font-accent, 'Playfair Display', serif); font-style: italic; color: var(--gold-dark); }

/* Bloc entreprise compact */
.company-box .field { margin-bottom: 12px; }
.company-box .field label { margin-bottom: 5px; }
.company-box .field input:not([type="checkbox"]) { padding: .65em .9em; }
