/* ==========================================================================
   Atlasdigy : feuille de style principale
   Palette : bleu nuit #0B1F3A, terracotta #E2683C, sable #F6F1EA, cyan #22D3EE (IA)
   Typos : Sora (titres), Inter (texte). Mobile d'abord.
   ========================================================================== */

:root {
	--nuit: #0B1F3A;
	--nuit-2: #10284A;
	--nuit-3: #1A3A63;
	--terra: #E2683C;
	--terra-d: #B84A1C;     /* texte terracotta sur fond clair (contraste AA) */
	--sable: #F6F1EA;
	--sable-2: #EDE5D9;
	--cyan: #22D3EE;
	--ink: #0B1F3A;
	--muted: #4B5568;       /* 7:1 sur blanc, 6.3:1 sur sable */
	--line: rgba(11, 31, 58, .12);
	--white: #fff;
	--radius: 18px;
	--radius-sm: 12px;
	--shadow: 0 1px 2px rgba(11,31,58,.06), 0 8px 24px rgba(11,31,58,.08);
	--shadow-lg: 0 24px 60px rgba(11,31,58,.18);
	--f-title: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
	--f-text: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--wrap: 1180px;
	--gutter: 16px;
	--header-h: 68px;
}
@media (min-width: 768px) { :root { --gutter: 32px; --header-h: 76px; } }

/* --- Base --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 1.0625rem/1.65 var(--f-text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--terra-d); text-underline-offset: .18em; }
a:hover { color: var(--nuit); }
h1, h2, h3, h4 { font-family: var(--f-title); color: inherit; line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.25rem, 1.4rem + 4.2vw, 4.25rem); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(1.75rem, 1.25rem + 2.2vw, 2.75rem); }
h3 { font-size: 1.25rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
:where(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--terra); color: var(--nuit); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ad-skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--terra); color: var(--nuit); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.ad-skip:focus { top: 12px; }

.ad-wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.ad-center { text-align: center; margin-top: 2rem; }
.ad-mt { margin-top: 2rem; }

/* --- Boutons ------------------------------------------------------------ */
.ad-btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: .8em 1.4em; border-radius: 999px; border: 2px solid transparent; font: 700 1rem/1.2 var(--f-text); text-decoration: none; cursor: pointer; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease; white-space: nowrap; }
.ad-btn:hover { transform: translateY(-1px); }
.ad-btn--lg { min-height: 56px; padding: .9em 1.7em; font-size: 1.0625rem; }
.ad-btn--block { width: 100%; }
.ad-btn--primary { background: var(--terra); color: var(--nuit); box-shadow: 0 6px 18px rgba(226,104,60,.35); }
.ad-btn--primary:hover { background: #ec7a50; color: var(--nuit); }
.ad-btn--ghost { border-color: rgba(255,255,255,.45); color: var(--white); background: transparent; }
.ad-btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); color: var(--white); }
.ad-btn--ghost-dark { border-color: var(--line); color: var(--nuit); background: var(--white); }
.ad-btn--ghost-dark:hover { border-color: var(--nuit); color: var(--nuit); }
.ad-btn--cyan { background: var(--cyan); color: var(--nuit); }
.ad-btn--cyan:hover { background: #5ee0f3; color: var(--nuit); }
.ad-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ad-link { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; text-decoration: none; color: var(--terra-d); }
.ad-link:hover { gap: .65em; color: var(--nuit); }

/* --- En-tête ------------------------------------------------------------ */
.ad-header { position: sticky; top: 0; z-index: 40; background: rgba(11,31,58,.92); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); color: var(--white); border-bottom: 1px solid rgba(255,255,255,.08); }
.ad-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.ad-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; font: 700 1.35rem/1 var(--f-title); letter-spacing: -.03em; }
.ad-logo b { color: var(--terra); font-weight: 700; }
.ad-logo:hover { color: var(--white); }
.ad-nav ul { list-style: none; margin: 0; padding: 0; }
.ad-nav a { color: rgba(255,255,255,.85); text-decoration: none; font-weight: 500; }
.ad-nav a:hover, .ad-nav a[aria-current="page"] { color: var(--white); }
.ad-nav ul a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--terra); }
.ad-burger { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-right: -8px; background: none; border: 0; color: var(--white); cursor: pointer; border-radius: 12px; }
.ad-burger__close { display: none; }
.ad-burger[aria-expanded="true"] .ad-burger__open { display: none; }
.ad-burger[aria-expanded="true"] .ad-burger__close { display: inline; }

@media (max-width: 959px) {
	.ad-nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--nuit); padding: 24px var(--gutter) 40px; display: flex; flex-direction: column; gap: 24px; transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility .25s; overflow-y: auto; }
	.ad-nav.is-open { transform: none; visibility: visible; }
	.ad-nav ul a { display: block; padding: 14px 0; font: 600 1.4rem/1.2 var(--f-title); border-bottom: 1px solid rgba(255,255,255,.08); }
	.ad-nav__cta { width: 100%; }
	body.nav-open { overflow: hidden; }
}
@media (min-width: 960px) {
	.ad-burger { display: none; }
	.ad-nav { display: flex; align-items: center; gap: 32px; }
	.ad-nav ul { display: flex; gap: 28px; }
	.ad-nav ul a { padding: 8px 0; font-size: .975rem; }
	.ad-nav__cta { min-height: 44px; padding: .65em 1.2em; font-size: .95rem; }
}

/* --- Hero --------------------------------------------------------------- */
.ad-hero { position: relative; background: radial-gradient(1000px 500px at 85% 20%, rgba(34,211,238,.10), transparent 60%), radial-gradient(800px 500px at 10% 100%, rgba(226,104,60,.16), transparent 60%), linear-gradient(180deg, var(--nuit) 0%, var(--nuit-2) 100%); color: var(--white); padding: 56px 0 120px; overflow: hidden; }
.ad-hero__grid { display: grid; gap: 56px; align-items: center; }
.ad-hero h1 { color: var(--white); margin-bottom: .4em; }
.ad-hero h1 em { font-style: normal; color: var(--terra); position: relative; white-space: nowrap; }
.ad-hero__sub { font-size: clamp(1.075rem, 1rem + .4vw, 1.25rem); color: rgba(255,255,255,.82); max-width: 36em; margin-bottom: 1.8em; }
.ad-hero__ticks { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: rgba(255,255,255,.8); font-size: .95rem; }
.ad-hero__ticks li { display: inline-flex; align-items: center; gap: 8px; }
.ad-hero__ticks .ad-icon { color: var(--terra); }
.ad-hero__ridge { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 70px; color: var(--white); }
@media (min-width: 960px) {
	.ad-hero { padding: 88px 0 150px; }
	.ad-hero__grid { grid-template-columns: 1.25fr .75fr; }
	.ad-hero__ridge { height: 110px; }
}

/* Visuel : téléphone 9:16 + cartes flottantes */
.ad-hero__visual { position: relative; justify-self: center; width: min(300px, 78vw); }
.ad-phone { position: relative; aspect-ratio: 9 / 18.5; border-radius: 40px; padding: 10px; background: linear-gradient(145deg, #2a4a77, #0d2240); box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255,255,255,.12); transform: rotate(3deg); }
.ad-phone__screen { position: relative; height: 100%; border-radius: 31px; overflow: hidden; background: radial-gradient(120% 70% at 30% 20%, rgba(226,104,60,.85), transparent 60%), radial-gradient(100% 70% at 80% 90%, rgba(34,211,238,.55), transparent 60%), linear-gradient(170deg, #27466f, #0B1F3A); }
.ad-phone__tag { position: absolute; top: 18px; left: 16px; font: 700 .72rem/1 var(--f-text); letter-spacing: .08em; text-transform: uppercase; background: rgba(11,31,58,.55); padding: 7px 10px; border-radius: 99px; }
.ad-phone__play { position: absolute; inset: 0; margin: auto; width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.92); color: var(--nuit); box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.ad-phone__play .ad-icon { margin-left: 4px; }
@media (prefers-reduced-motion: no-preference) { .ad-phone__play::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid rgba(255,255,255,.6); animation: ad-pulse 2.2s ease-out infinite; } }
@keyframes ad-pulse { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.ad-phone__caption { position: absolute; left: 16px; right: 16px; bottom: 22px; display: grid; gap: 8px; }
.ad-phone__caption span { height: 10px; border-radius: 6px; background: rgba(255,255,255,.85); }
.ad-phone__caption span:last-child { width: 62%; background: rgba(255,255,255,.55); }
.ad-float { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px; background: var(--white); color: var(--nuit); box-shadow: var(--shadow-lg); font-size: .9rem; line-height: 1.3; }
.ad-float strong { display: block; font-weight: 700; }
.ad-float small { color: var(--muted); font-size: .8rem; }
.ad-float--lead { left: -18%; top: 16%; }
.ad-float__dot { width: 12px; height: 12px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 4px rgba(22,163,74,.18); flex: none; }
.ad-float--ai { right: -14%; bottom: 14%; background: var(--nuit); color: var(--white); border: 1px solid rgba(34,211,238,.5); }
.ad-float--ai .ad-icon { color: var(--cyan); }
.ad-float--ai small { color: var(--cyan); font-weight: 600; font-size: .85rem; }
.ad-float--ai s { color: rgba(255,255,255,.55); }
@media (max-width: 420px) { .ad-float--lead { left: -6%; } .ad-float--ai { right: -6%; } }
@media (prefers-reduced-motion: no-preference) {
	.ad-float--lead { animation: ad-bob 6s ease-in-out infinite; }
	.ad-float--ai { animation: ad-bob 6s ease-in-out -3s infinite; }
}
@keyframes ad-bob { 50% { transform: translateY(-8px); } }

/* --- Bandeau de preuves ------------------------------------------------- */
.ad-proof { background: var(--white); padding: 8px 0 40px; }
.ad-proof__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.ad-proof__item { background: var(--white); padding: 22px 18px; display: flex; flex-direction: column; gap: 4px; }
.ad-proof__item strong { font: 800 clamp(1.5rem, 1.1rem + 1.6vw, 2.1rem)/1.1 var(--f-title); color: var(--nuit); letter-spacing: -.03em; }
.ad-proof__item strong::after { content: ""; display: block; width: 28px; height: 3px; background: var(--terra); margin-top: 10px; border-radius: 2px; }
.ad-proof__item span { color: var(--muted); font-size: .95rem; line-height: 1.4; }
@media (min-width: 900px) { .ad-proof__grid { grid-template-columns: repeat(4, 1fr); } .ad-proof__item { padding: 28px 26px; } }

/* --- Sections ----------------------------------------------------------- */
.ad-section { padding: 72px 0; }
.ad-section--tight { padding: 56px 0; }
.ad-section--sand { background: var(--sable); }
.ad-section--dark { background: var(--nuit); color: var(--white); }
.ad-section--dark h2, .ad-section--dark h3 { color: var(--white); }
.ad-section--dark .ad-lead { color: rgba(255,255,255,.8); }
@media (min-width: 768px) { .ad-section { padding: 104px 0; } .ad-section--tight { padding: 72px 0; } }
.ad-head { max-width: 760px; margin-bottom: 40px; }
.ad-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.ad-eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 700 .8rem/1 var(--f-text); letter-spacing: .14em; text-transform: uppercase; color: var(--terra-d); margin-bottom: 18px; }
.ad-eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; }
.ad-eyebrow--light { color: var(--terra); }
.ad-eyebrow--cyan { color: var(--cyan); }
.ad-lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--muted); }

/* --- Cartes ------------------------------------------------------------- */
.ad-cards { display: grid; gap: 20px; }
@media (min-width: 760px) { .ad-cards--3 { grid-template-columns: repeat(3, 1fr); } .ad-cards--2 { grid-template-columns: repeat(2, 1fr); } }
.ad-card { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; color: var(--ink); text-decoration: none; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.ad-card h3 { margin-bottom: .4em; }
.ad-card p { color: var(--muted); }
.ad-card--link:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(226,104,60,.5); color: var(--ink); }
.ad-card__icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--sable); color: var(--terra-d); margin-bottom: 22px; }
.ad-card__more { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--terra-d); }
.ad-card--link:hover .ad-card__more { gap: 12px; }
.ad-card--ai .ad-card__icon { background: rgba(34,211,238,.14); color: #0e7490; }
.ad-card--ai .ad-card__more { color: #0e7490; }
.ad-card--ai.ad-card--link:hover { border-color: var(--cyan); }
.ad-card--flat { box-shadow: none; }
.ad-card--featured { border: 2px solid var(--terra); box-shadow: var(--shadow-lg); }

/* --- Étapes ------------------------------------------------------------- */
.ad-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; counter-reset: s; }
.ad-steps li { position: relative; background: var(--white); border-radius: var(--radius); padding: 26px 24px; border: 1px solid var(--line); }
.ad-steps__n { display: block; font: 800 2.4rem/1 var(--f-title); color: var(--terra); letter-spacing: -.04em; margin-bottom: 14px; }
.ad-steps h3 { font-size: 1.15rem; }
.ad-steps p { color: var(--muted); margin: 0; }
@media (min-width: 760px) { .ad-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .ad-steps { grid-template-columns: repeat(4, 1fr); } .ad-steps li:not(:last-child)::after { content: ""; position: absolute; top: 46px; right: -16px; width: 16px; height: 2px; background: var(--terra); } }

/* --- Formats UGC (vignettes 9:16) --------------------------------------- */
.ad-formats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 640px) { .ad-formats { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1040px) { .ad-formats { grid-template-columns: repeat(6, 1fr); } }
.ad-format { position: relative; aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 14px; color: var(--white); background: linear-gradient(180deg, transparent 40%, rgba(11,31,58,.85)), var(--g, linear-gradient(160deg, #1A3A63, #0B1F3A)); transition: transform .2s ease; }
.ad-format:hover { transform: translateY(-4px) scale(1.01); }
.ad-format--0 { --g: linear-gradient(160deg, #E2683C, #7a2e14); }
.ad-format--1 { --g: linear-gradient(160deg, #1A3A63, #0B1F3A); }
.ad-format--2 { --g: linear-gradient(160deg, #c9a87e, #6b4a2a); }
.ad-format--3 { --g: linear-gradient(160deg, #3f6f8f, #10284A); }
.ad-format--4 { --g: linear-gradient(160deg, #b85a3a, #3b1e14); }
.ad-format--5 { --g: linear-gradient(160deg, #0e7490, #0B1F3A); }
.ad-format__play { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.9); color: var(--nuit); }
.ad-format__play .ad-icon { margin-left: 2px; }
.ad-format__name { font: 700 1rem/1.25 var(--f-title); }
.ad-format__ai { display: inline-block; margin-top: 8px; font-size: .72rem; font-weight: 600; background: rgba(34,211,238,.9); color: var(--nuit); padding: 3px 8px; border-radius: 99px; align-self: flex-start; }

/* --- Démo IA ------------------------------------------------------------ */
.ad-ai-demo { background: radial-gradient(700px 400px at 90% 10%, rgba(34,211,238,.14), transparent 60%), var(--nuit); }
.ad-ai-demo__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .ad-ai-demo__grid { grid-template-columns: 1fr 1.1fr; gap: 64px; } }
.ad-compare { display: grid; gap: 14px; }
@media (min-width: 560px) { .ad-compare { grid-template-columns: 1fr 1fr; } }
.ad-compare__col { border-radius: var(--radius); padding: 24px; }
.ad-compare__col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.ad-compare__col li { padding-left: 22px; position: relative; }
.ad-compare__col li::before { content: ""; position: absolute; left: 0; top: .65em; width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: .5; }
.ad-compare__label { display: flex; align-items: center; gap: 8px; font: 700 1.05rem/1.2 var(--f-title); margin-bottom: 16px; }
.ad-compare__col--before { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.75); }
.ad-compare__col--before li { text-decoration: line-through; text-decoration-color: rgba(255,255,255,.35); }
.ad-compare__col--after { background: rgba(34,211,238,.1); border: 1px solid rgba(34,211,238,.55); color: var(--white); }
.ad-compare__col--after .ad-compare__label { color: var(--cyan); }
.ad-compare__col--after li::before { background: var(--cyan); opacity: 1; }

/* --- Secteurs ----------------------------------------------------------- */
.ad-sectors { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.ad-sectors li { padding: 12px 22px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-weight: 600; box-shadow: var(--shadow); }

/* --- Packs -------------------------------------------------------------- */
.ad-launch { display: grid; gap: 24px; align-items: center; background: var(--nuit); color: var(--white); border-radius: 24px; padding: 32px 26px; position: relative; overflow: hidden; }
.ad-launch::before { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(226,104,60,.45), transparent 70%); }
.ad-launch > * { position: relative; }
.ad-launch h3 { color: var(--white); font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); }
.ad-launch p { color: rgba(255,255,255,.8); }
@media (min-width: 860px) { .ad-launch { grid-template-columns: 1fr auto; padding: 44px 48px; } }
.ad-badge { display: inline-block; background: var(--terra); color: var(--nuit); font: 700 .75rem/1 var(--f-text); letter-spacing: .06em; text-transform: uppercase; padding: 7px 12px; border-radius: 99px; margin-bottom: 14px; }
.ad-checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ad-checks li { display: flex; align-items: flex-start; gap: 10px; }
.ad-checks .ad-icon { flex: none; color: var(--terra); margin-top: .2em; }
.ad-checks--light li { color: rgba(255,255,255,.9); }
.ad-mini-packs { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.ad-mini-packs li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: .95rem; }
.ad-mini-packs li span { color: var(--muted); text-align: right; }

.ad-pack { display: flex; flex-direction: column; }
.ad-pack .ad-checks { margin: 8px 0 24px; }
.ad-pack .ad-btn { margin-top: auto; }
.ad-pack__flag { position: absolute; top: -13px; left: 24px; }
.ad-pack-group + .ad-pack-group { margin-top: 64px; }
.ad-pack-group__title { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.ad-pack-group__title .ad-card__icon { margin: 0; width: 48px; height: 48px; }

/* --- FAQ ---------------------------------------------------------------- */
.ad-faq-grid { display: grid; gap: 24px; }
@media (min-width: 960px) { .ad-faq-grid { grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; } .ad-faq-grid .ad-head { position: sticky; top: calc(var(--header-h) + 32px); } }
.ad-faq { border-top: 1px solid var(--line); }
.ad-faq__item { border-bottom: 1px solid var(--line); }
.ad-faq__item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer; font: 600 1.1rem/1.4 var(--f-title); letter-spacing: -.01em; }
.ad-faq__item summary::-webkit-details-marker { display: none; }
.ad-faq__plus { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--sable); }
.ad-faq__plus::before, .ad-faq__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--nuit); transform: translate(-50%, -50%); transition: transform .2s; }
.ad-faq__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.ad-faq__item[open] .ad-faq__plus { background: var(--terra); }
.ad-faq__item[open] .ad-faq__plus::after { transform: translate(-50%, -50%) rotate(0); }
.ad-faq__item p { color: var(--muted); padding: 0 48px 22px 0; margin: 0; }

/* --- CTA final + formulaires -------------------------------------------- */
.ad-final { background: radial-gradient(800px 400px at 0% 100%, rgba(226,104,60,.2), transparent 60%), var(--nuit); }
.ad-final__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .ad-final__grid { grid-template-columns: 1fr 1fr; gap: 80px; } }
.ad-form-card { background: var(--white); color: var(--ink); border-radius: 24px; padding: 28px 22px; box-shadow: var(--shadow-lg); }
@media (min-width: 560px) { .ad-form-card { padding: 36px; } }
.ad-form { display: grid; gap: 18px; }
.ad-field { display: grid; gap: 6px; }
.ad-field label, .ad-step legend { font-weight: 600; font-size: .95rem; color: var(--nuit); }
.ad-opt { font-weight: 400; color: var(--muted); }
.ad-field input, .ad-field select, .ad-field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid #c9ced8; border-radius: 12px; background: var(--white); color: var(--ink); font: 400 1rem/1.4 var(--f-text); transition: border-color .15s, box-shadow .15s; }
.ad-field textarea { min-height: 96px; resize: vertical; }
.ad-field input:focus, .ad-field select:focus, .ad-field textarea:focus { outline: none; border-color: var(--nuit); box-shadow: 0 0 0 4px rgba(34,211,238,.35); }
.ad-field.is-invalid input, .ad-field.is-invalid select { border-color: #c2410c; }
.ad-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ad-form-legal { font-size: .82rem; color: var(--muted); margin: 0; }
.ad-form-error { background: #fff1ec; color: #9a3412; border: 1px solid #fdba9b; border-radius: 12px; padding: 12px 14px; margin: 0; font-weight: 500; }
.ad-form-done { text-align: center; padding: 12px 0; }
.ad-form-done__icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #dcfce7; color: #15803d; margin-bottom: 16px; }
.ad-grid-2 { display: grid; gap: 16px; }
@media (min-width: 640px) { .ad-grid-2 { grid-template-columns: 1fr 1fr; } .ad-field--full { grid-column: 1 / -1; } }

/* Formulaire en 4 étapes */
.ad-step { border: 0; padding: 0; margin: 0; min-width: 0; }
.ad-form--steps.is-enhanced .ad-step:not(.is-active) { display: none; }
.ad-step legend { font: 700 clamp(1.3rem, 1.1rem + .8vw, 1.6rem)/1.25 var(--f-title); margin-bottom: 20px; padding: 0; }
.ad-form--steps:not(.is-enhanced) .ad-step + .ad-step { margin-top: 28px; }
.ad-choices { display: grid; gap: 10px; }
@media (min-width: 560px) { .ad-choices { grid-template-columns: 1fr 1fr; } }
.ad-choice { position: relative; display: block; cursor: pointer; }
.ad-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ad-choice span { display: flex; align-items: center; min-height: 58px; padding: 14px 18px 14px 50px; border: 1.5px solid #c9ced8; border-radius: 14px; font-weight: 600; transition: border-color .15s, background-color .15s; position: relative; }
.ad-choice span::before { content: ""; position: absolute; left: 18px; top: 50%; width: 20px; height: 20px; margin-top: -10px; border-radius: 50%; border: 2px solid #9aa3b2; background: var(--white); transition: all .15s; }
.ad-choice:hover span { border-color: var(--nuit); }
.ad-choice input:checked + span { border-color: var(--terra); background: #fff6f1; }
.ad-choice input:checked + span::before { border-color: var(--terra); background: var(--terra); box-shadow: inset 0 0 0 4px var(--white); }
.ad-choice input:focus-visible + span { outline: 3px solid var(--cyan); outline-offset: 2px; }
.ad-steps__bar { height: 6px; border-radius: 99px; background: var(--sable-2); overflow: hidden; }
.ad-steps__bar span { display: block; height: 100%; width: 25%; background: var(--terra); border-radius: 99px; transition: width .3s ease; }
.ad-form--steps:not(.is-enhanced) .ad-steps__bar, .ad-form--steps:not(.is-enhanced) .ad-steps__count { display: none; }
.ad-steps__count { margin: -6px 0 0; font-size: .875rem; color: var(--muted); font-weight: 600; }
.ad-steps__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; }
.ad-steps__nav [data-next], .ad-steps__nav [data-submit] { margin-left: auto; }
.ad-form--steps:not(.is-enhanced) [data-next], .ad-form--steps:not(.is-enhanced) [data-prev] { display: none; }
.ad-form--steps:not(.is-enhanced) [data-submit] { display: inline-flex !important; }

/* --- Bandeau CTA (pages internes) --------------------------------------- */
.ad-cta-band { background: var(--nuit); color: var(--white); padding: 64px 0; }
.ad-cta-band__inner { display: grid; gap: 24px; align-items: center; }
.ad-cta-band h2 { color: var(--white); margin-bottom: .25em; }
.ad-cta-band p { color: rgba(255,255,255,.8); margin: 0; }
@media (min-width: 860px) { .ad-cta-band__inner { grid-template-columns: 1fr auto; } }

/* --- Pages internes ----------------------------------------------------- */
.ad-page-hero { background: linear-gradient(180deg, var(--nuit), var(--nuit-2)); color: var(--white); padding: 56px 0 64px; position: relative; overflow: hidden; }
.ad-page-hero h1 { color: var(--white); font-size: clamp(2rem, 1.4rem + 3vw, 3.4rem); max-width: 18em; }
.ad-page-hero .ad-lead { color: rgba(255,255,255,.82); max-width: 40em; }
.ad-page-hero .ad-eyebrow { color: var(--terra); }
.ad-page-hero .ad-actions { margin-top: 28px; }
@media (min-width: 768px) { .ad-page-hero { padding: 88px 0 96px; } }
.is-ai .ad-page-hero { background: radial-gradient(700px 400px at 90% 0%, rgba(34,211,238,.18), transparent 60%), linear-gradient(180deg, var(--nuit), var(--nuit-2)); }
.is-ai .ad-page-hero .ad-eyebrow { color: var(--cyan); }
.ad-breadcrumb { font-size: .875rem; margin-bottom: 20px; color: rgba(255,255,255,.65); }
.ad-breadcrumb a { color: rgba(255,255,255,.8); text-decoration: none; }
.ad-breadcrumb a:hover { color: var(--white); text-decoration: underline; }

.ad-split { display: grid; gap: 20px; }
@media (min-width: 860px) { .ad-split { grid-template-columns: 1fr 1fr; } }
.ad-panel { border-radius: var(--radius); padding: 30px 28px; }
.ad-panel--problem { background: var(--sable); }
.ad-panel--solution { background: var(--nuit); color: var(--white); }
.ad-panel--solution h3 { color: var(--white); }
.ad-panel--solution p { color: rgba(255,255,255,.85); }
.is-ai .ad-panel--solution { box-shadow: inset 0 0 0 1px var(--cyan); }
.ad-panel__label { font: 700 .8rem/1 var(--f-text); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; color: var(--terra-d); }
.ad-panel--solution .ad-panel__label { color: var(--terra); }
.is-ai .ad-panel--solution .ad-panel__label { color: var(--cyan); }
.ad-panel p:last-child { margin: 0; font-size: 1.125rem; }

.ad-deliv { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
@media (min-width: 640px) { .ad-deliv { grid-template-columns: 1fr 1fr; } }
.ad-deliv li { display: flex; gap: 12px; align-items: flex-start; padding: 18px 20px; border-radius: var(--radius-sm); background: var(--white); border: 1px solid var(--line); font-weight: 500; }
.ad-deliv .ad-icon { flex: none; color: var(--terra-d); }
.is-ai .ad-deliv .ad-icon { color: #0e7490; }

.ad-prose { max-width: 760px; }
.ad-prose h2 { font-size: clamp(1.4rem, 1.2rem + 1vw, 1.9rem); margin-top: 1.6em; }
.ad-prose h3 { margin-top: 1.4em; }
.ad-prose li { margin-bottom: .4em; }
.ad-prose img { border-radius: var(--radius-sm); }

.ad-posts { display: grid; gap: 24px; }
@media (min-width: 760px) { .ad-posts { grid-template-columns: repeat(3, 1fr); } }
.ad-post-card img { border-radius: var(--radius-sm); margin-bottom: 14px; aspect-ratio: 16/10; object-fit: cover; }
.ad-post-card h2 { font-size: 1.25rem; }
.ad-post-card h2 a { color: var(--ink); text-decoration: none; }
.ad-post-card h2 a:hover { color: var(--terra-d); }
.ad-post-card__date { font-size: .85rem; color: var(--muted); margin-bottom: 6px; }

.ad-case { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 760px) { .ad-case { grid-template-columns: repeat(4, 1fr); } }
.ad-case > div { background: var(--white); padding: 24px; }
.ad-case h3 { font-size: 1rem; color: var(--terra-d); text-transform: uppercase; letter-spacing: .08em; font-family: var(--f-text); }
.ad-case p { color: var(--muted); margin: 0; }

/* --- Pied de page ------------------------------------------------------- */
.ad-footer { background: #07162a; color: rgba(255,255,255,.75); padding: 64px 0 28px; font-size: .95rem; }
.ad-footer a { color: rgba(255,255,255,.75); text-decoration: none; }
.ad-footer a:hover { color: var(--white); text-decoration: underline; }
.ad-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ad-footer__grid { display: grid; gap: 36px; }
@media (min-width: 760px) { .ad-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; } }
.ad-footer__brand p { margin-top: 16px; max-width: 28em; }
.ad-footer__title { font: 700 .8rem/1 var(--f-text); letter-spacing: .12em; text-transform: uppercase; color: var(--white); margin-bottom: 18px; }
.ad-logo--light { color: var(--white); }
.ad-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: .875rem; }
.ad-footer__bottom p { margin: 0; }
.ad-footer__bottom ul { display: flex; flex-wrap: wrap; gap: 20px; }

/* --- WhatsApp flottant -------------------------------------------------- */
.ad-wa { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 45; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: #25D366; color: #06281a; box-shadow: 0 10px 28px rgba(0,0,0,.28); transition: transform .15s; }
.ad-wa:hover { transform: scale(1.06); color: #06281a; }

/* --- Note admin (jamais visible par les visiteurs) ---------------------- */
.ad-todo { margin: 16px auto; max-width: var(--wrap); padding: 12px 16px; border: 2px dashed #c2410c; border-radius: 12px; background: #fff7ed; color: #7c2d12; font-size: .875rem; line-height: 1.45; }
.ad-todo strong { display: block; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 2px; }
.ad-section--dark .ad-todo, .ad-final .ad-todo { color: #7c2d12; }

/* --- Pagination --------------------------------------------------------- */
.ad-pagination .nav-links { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.ad-pagination .page-numbers { padding: 8px 14px; border-radius: 10px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.ad-pagination .current { background: var(--nuit); color: var(--white); }

/* Liste sur fond sombre (exemples IA) */
.ad-deliv--dark li { background: rgba(255,255,255,.05); border-color: rgba(34,211,238,.35); color: var(--white); }
.ad-deliv--dark .ad-icon { color: var(--cyan); }
.ad-section--dark p a { color: var(--cyan); }

/* Correctifs formulaire en étapes */
.ad-btn[hidden], .ad-form--steps.is-enhanced [hidden] { display: none !important; }
.ad-step legend:focus { outline: none; }
.ad-steps--vertical { grid-template-columns: 1fr !important; }
.ad-steps--vertical li::after { display: none !important; }

/* Bandeau de consentement (affiché seulement si GTM est configuré) */
.ad-consent { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 60; max-width: 720px; margin: 0 auto; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--nuit); color: var(--white); box-shadow: var(--shadow-lg); display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; font-size: .95rem; }
.ad-consent[hidden] { display: none; }
.ad-consent p { margin: 0; flex: 1 1 280px; }
.ad-consent a { color: var(--white); }
.ad-consent__actions { display: flex; gap: 10px; }
.ad-consent .ad-btn { padding: 10px 18px; min-height: 44px; }
