/* ==========================================================
   Made by Recette — styles
   ========================================================== */

@font-face { font-family: "Pogonia"; src: url("../fonts/Pogonia-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Pogonia"; src: url("../fonts/Pogonia-Medium.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Pogonia"; src: url("../fonts/Pogonia-Bold.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Pogonia"; src: url("../fonts/Pogonia-Black.woff") format("woff"); font-weight: 900; font-display: swap; }

:root {
	--blue: #3258f1;       /* bleu électrique (même intensité que le violet de référence) */
	--blue-dark: #1d38c2;
	--blue-deep: #14258a;  /* textes/points sur fond clair */
	--yellow: #ffd23f;     /* jaune vif assorti */
	--red: #e04a45;        /* rouge adouci : chaud et visible sans « vibrer » contre le bleu */
	--red-dark: #c0352f;
	--cream: #f7f0e5;
	--cream-2: #efe5d4;
	--ink: #1b2340;
	--ink-soft: #4a5170;
	--white: #fff;

	--font: "Pogonia", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	/* Échelle typographique unique */
	--fs-h1: clamp(2.5rem, 5.4vw, 4.6rem);
	--fs-h2: clamp(1.7rem, 2.8vw, 2.5rem);
	--fs-h3: clamp(1.1rem, 1.3vw, 1.25rem);
	--fs-card: clamp(1.4rem, 1.9vw, 1.75rem); /* titre de bloc : carte, format, offre */
	--fs-body: 1rem;
	--fs-lead: 1.0625rem; /* 17px */ /* chapôs : hero, sections, formulaire */
	--fs-small: .9rem;
	--fs-btn: 1rem;

	--page-width: 1320px;
	--gutter: clamp(16px, 4vw, 40px);
	--section-y: clamp(64px, 9vw, 120px);
	--header-h: 76px;
}

/* ---------- Base ---------- */
b, strong { font-weight: 700; } /* jamais plus gras que 700 (sinon « bolder » passe au Black) */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: var(--fs-body); line-height: 1.6; color: var(--ink); background: var(--cream); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0 0 .5em; font-weight: 700; line-height: 1.02; letter-spacing: -.02em; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -.01em; }
h2, h3 { text-wrap: balance; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--page-width); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 880px; }
.screen-reader-text, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Symboles SVG réutilisés (hermine) : présents dans la page, jamais affichés */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 999; background: var(--white); padding: 8px 14px; }

/* ---------- Boutons ---------- */
/* Boutons : couleur unie, coins légèrement arrondis, sans ombre */
.btn { --c: var(--blue); --c-hover: var(--blue-dark); position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .7em 1.15em; font-family: inherit; font-size: var(--fs-btn); font-weight: 400; line-height: 1.1; color: var(--white); text-decoration: none; background: var(--c); border: 2px solid var(--c); border-radius: 8px; cursor: pointer; transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
.btn:hover { background: var(--c-hover); border-color: var(--c-hover); }
.btn:focus-visible { outline: 2px solid var(--c); outline-offset: 4px; }
.btn--lg { padding: .75em 1.3em; font-size: 1.0625rem; }
.btn__arrow { flex: none; width: 1.05em; height: 1.05em; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.btn:hover .btn__arrow { transform: translate(2px, -2px); }
.btn--block { width: 100%; }
.btn--red { --c: var(--red); --c-hover: var(--red-dark); }
.btn--blue { --c: var(--blue); --c-hover: var(--blue-dark); }
.btn--yellow { --c: var(--yellow); --c-hover: #f2bd16; color: var(--ink); }
.btn--ghost, .btn--outline { --c: var(--cream); color: var(--cream); background: transparent; border-color: var(--cream); }
.btn--ghost:hover, .btn--outline:hover { color: var(--blue); background: var(--cream); border-color: var(--cream); }
/* Bouton secondaire : fond blanc, contour discret, texte bleu nuit */
.btn--contour { --c: var(--white); --c-hover: var(--white); color: var(--ink); border-color: color-mix(in srgb, var(--ink) 18%, transparent); }
.btn--contour:hover { border-color: var(--ink); }
.btn__icone { flex: none; width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* Le téléphone sonne : petite secousse toutes les 3 secondes, et au survol du bouton */
.btn--contour .btn__icone { transform-origin: 50% 60%; animation: tel-sonne 3s ease-in-out infinite; }
.btn--contour:hover .btn__icone { animation-duration: 1s; }
@keyframes tel-sonne { 0%, 70%, 100% { transform: rotate(0); } 73% { transform: rotate(-16deg); } 76% { transform: rotate(14deg); } 79% { transform: rotate(-12deg); } 82% { transform: rotate(10deg); } 85% { transform: rotate(-6deg); } 88% { transform: rotate(0); } }
@media (prefers-reduced-motion: reduce) { .btn--contour .btn__icone { animation: none; } }
/* Essai : deux CTA côte à côte dans la hero */
.hero__ctas { flex-wrap: wrap; justify-content: center; gap: 12px; }
/* Bouton du header : plein bleu nuit (couleur des titres), distinct du CTA rouge de la hero */
.btn--dark { --c: var(--ink); --c-hover: var(--blue-deep); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; padding: 12px var(--gutter) 0; color: var(--ink); pointer-events: none; }
.site-header--overlay + main .hero { margin-top: calc(-1 * var(--header-h)); min-height: 100svh; padding-top: calc(var(--header-h) + clamp(32px, 6vh, 64px)); }
.site-header__inner { --menu-w: min(calc(var(--page-width) - 2 * var(--gutter)), 100%);
	display: flex; align-items: center; justify-content: space-between; max-width: var(--menu-w); height: calc(var(--header-h) - 12px); padding: 0 clamp(18px, 2.2vw, 32px);
	pointer-events: auto; background: var(--white); border: 1px solid transparent; border-radius: 16px;
	transition: max-width .45s cubic-bezier(.2, .7, .2, 1), box-shadow .3s ease, border-color .3s ease; }
/* Au scroll, le menu se resserre un peu et prend bordure et ombre ; tout en haut il reprend sa largeur, sans bordure */
.site-header.is-scrolled .site-header__inner { max-width: calc(var(--menu-w) - clamp(16px, 8vw, 160px)); border-color: var(--cream-2); box-shadow: 0 8px 28px rgba(20, 30, 60, .14); }
.site-header__logo img { width: 170px; height: auto; }
.site-nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); }
.site-nav a:not(.btn) { font-weight: 500; text-decoration: none; position: relative; }
.site-nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 2px; background: var(--yellow); transition: right .25s; }
.site-nav a:not(.btn):hover::after, .site-nav a[aria-current="true"]::after { right: 0; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: inherit; }
.nav-toggle__bar { display: block; width: 26px; height: 2px; background: currentColor; transition: transform .25s; }
.nav-toggle__bar + .nav-toggle__bar { margin-top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

@media (max-width: 900px) {
	.nav-toggle { display: block; }
	.site-header.is-scrolled .site-header__inner { max-width: var(--menu-w); } /* pas de resserrement sur mobile */
	.site-header__logo img { width: 140px; }
	.site-nav { position: fixed; inset: calc(var(--header-h) + 8px) var(--gutter) auto var(--gutter); flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 24px; background: var(--white); border: 1px solid var(--cream-2); border-radius: 20px; box-shadow: 0 16px 30px rgba(20,30,60,.2); opacity: 0; transform: translateY(-12px); visibility: hidden; transition: opacity .25s ease, transform .25s ease, visibility .25s; }
	.site-nav.is-open { opacity: 1; transform: none; visibility: visible; }
	.site-nav a:not(.btn) { padding: 14px 0; font-size: 1.15rem; border-bottom: 1px solid var(--cream-2); }
	.site-nav a:not(.btn)::after { display: none; }
	.site-nav .btn { margin-top: 20px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; display: flex; flex-direction: column; min-height: calc(100svh - var(--header-h)); padding: clamp(16px, 3vh, 36px) 0 clamp(24px, 5vh, 56px); overflow: hidden; text-align: center; color: var(--ink); background: var(--cream); }
.hero__text { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.hero__kicker { display: inline-flex; align-items: center; gap: .6em; margin-bottom: 1.1em; padding: .45em 1.1em; font-size: var(--fs-small); font-weight: 500; color: var(--ink); background: var(--white); border: 1px solid var(--cream-2); border-radius: 999px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 0 rgba(255,210,63,.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255,210,63,0); } 100% { box-shadow: 0 0 0 0 rgba(255,210,63,0); } }
/* Accroche en grand (le H1 SEO est le badge au-dessus) */
.hero__title { max-width: 19em; margin: 0 0 .5em; font-size: min(calc(var(--fs-h1) * .8), 6.6vh); font-weight: 700; line-height: 1; letter-spacing: -.02em; color: var(--ink); }
.hl { color: var(--yellow); }
.hero .hl { color: var(--blue); }
.hl--em { display: block; }
/* Badge au-dessus du titre de la hero : « Agence créative stratégiste rennaise » entre deux hermines bretonnes */
.hero__badge { display: inline-flex; align-items: center; gap: .55em; margin: 0 0 1.2em; font-size: var(--fs-body); font-weight: 400; line-height: 1.3; letter-spacing: 0; color: var(--ink); }
.hero__badge-text { font-size: var(--fs-body); line-height: 1.3; white-space: nowrap; }
.hero__badge-text strong { font-weight: 700; color: var(--blue); }
@media (max-width: 380px) { .hero__badge-text { font-size: .8rem; } }
/* Hermines en parenthèses : celle de gauche comme « ( », celle de droite retournée comme « ) » */
.hermine { flex: none; width: auto; height: 1.9em; fill: var(--blue); }
.hermine--droite { transform: scaleX(-1); }
/* Hero : hermines tournées vers l'extérieur (gauche en miroir, droite d'origine) */
.hero__badge .hermine { transform: scaleX(-1); }
.hero__badge .hermine--droite { transform: none; }
/* Réassurances sous le bouton de la hero */
.hero__perks { position: relative; z-index: 3; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 20px; margin: 12px var(--gutter) clamp(28px, 5.5vh, 60px); font-size: var(--fs-small); color: var(--ink); }
.hero__perks li { display: inline-flex; align-items: center; gap: .4em; }
.hero__perks li::before { content: ""; flex: none; width: 1.05em; height: 1.05em; background: var(--blue); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / contain no-repeat; }
.hero__lead { max-width: 44em; margin-bottom: 1.1em; font-size: var(--fs-lead); color: var(--ink-soft); }

/* Vidéos du hero : carrousel de fiches en verre (même rendu desktop et mobile), voisines inclinées via JS */
.stack { --cw: clamp(210px, calc((100svh - 450px) / 1.75), 290px); position: relative; flex: 1 0 auto; display: flex; align-items: center; gap: 16px; padding: 14px 0 56px; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; container-type: inline-size; }
.stack::-webkit-scrollbar { display: none; }
.stack::before, .stack::after { content: ""; flex: 0 0 max(0px, calc(50cqw - var(--cw) / 2 - 16px)); height: 1px; }
.stack__card { --r: 0deg; --dy: 0%; position: relative; flex: none; width: var(--cw); margin: 0; padding: 9px 9px 0; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.42); border-radius: 28px; box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 18px 40px rgba(20,40,90,.22); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); scroll-snap-align: center; transform: translateY(var(--dy)) rotate(var(--r)); transition: transform .35s ease; }
.stack__media { position: relative; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 20px; background: var(--ink); }
.stack__media .vcard__video, .vcard__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Rond « play » décoratif au centre de chaque vidéo du carrousel */
.stack__media::before, .stack__media::after { content: ""; position: absolute; left: 50%; top: 50%; z-index: 2; pointer-events: none; transform: translate(-50%, -50%); transition: transform .25s ease; }
.stack__media::before { width: clamp(48px, 22%, 72px); aspect-ratio: 1; background: rgba(255, 255, 255, .88); border-radius: 50%; box-shadow: 0 8px 24px rgba(20, 30, 60, .25); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.stack__media::after { width: clamp(14px, 6.5%, 22px); aspect-ratio: .87; margin-left: 2px; background: var(--blue); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.stack__card:hover .stack__media::before, .stack__card:hover .stack__media::after { transform: translate(-50%, -50%) scale(1.08); }
.stack__cap { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; padding: 11px 8px 13px; font-size: .9rem; font-weight: 500; text-align: center; color: var(--white); text-shadow: 0 1px 6px rgba(20,40,90,.25); }
/* Vraie vidéo : plus de bouton lecture factice, un bouton son discret en haut à gauche */
.stack__media:has(video)::before, .stack__media:has(video)::after { display: none; }
/* Encadré « Ajouter votre vidéo » (même style que l'ancien « Ajouter mon logo ») : même taille que les vidéos, contour pointillé, lien vers le formulaire */
.stack__add { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35em; height: 100%; padding: 12px; font-size: var(--fs-small); font-weight: 500; color: var(--blue); text-align: center; text-decoration: none; background: transparent; border: 2px dashed color-mix(in srgb, var(--blue) 55%, transparent); transition: background-color .2s, border-color .2s; }
.stack__add::before, .stack__add::after { display: none; }
.stack__add:hover { background: rgba(50, 88, 241, .08); border-color: var(--blue); }
.stack__add b { font-size: 2.2em; font-weight: 400; line-height: 1; }
.stack__card--add { background: none; border: 0; box-shadow: none !important; }
.stack__media .vcard__sound { top: 10px; right: auto; left: 10px; width: 34px; height: 34px; background: rgba(20, 30, 60, .5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.stack__media .vcard__sound:hover { background: rgba(20, 30, 60, .7); }
.stack__dots { display: none; }
.stack__dot { width: 6px; height: 6px; padding: 0; border: 0; border-radius: 3px; background: rgba(20,37,138,.28); transition: background-color .25s, width .25s; }
.stack__dot.is-active { width: 14px; background: var(--blue-deep); }

/* CTA de la hero */
.cta-note { position: relative; display: inline-flex; }
/* Bouton de la hero, entre l'accroche et les vidéos (toutes tailles) */
.cta-note--top { position: relative; z-index: 3; align-self: center; margin: 0; }


/* Halo blanc en haut de la hero : arc blanc plein jusqu'au bouton, bord fondu court vers le crème */
.hero::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
	background: radial-gradient(ellipse 58% 44% at 50% 0, var(--white) 0%, var(--white) 80%, color-mix(in srgb, var(--white) 0%, transparent) 100%) no-repeat; }
.hero__text { position: relative; z-index: 2; }

/* Les vidéos restent au premier plan */
.hero .stack { z-index: 2; }

/* Desktop : « écran incurvé » (cartes sur un cylindre vu de l'intérieur, positions calculées en JS) */
@media (min-width: 901px) {
	.stack { flex: 0 0 auto; display: block; height: max(300px, calc(100svh - var(--header-h) - 420px)); margin-top: 0; padding: 0; overflow: visible; scroll-snap-type: none; container-type: normal; perspective-origin: 50% 50%; }
	.stack::before, .stack::after { display: none; }
	.stack__card { position: absolute; left: 50%; top: 50%; width: var(--cw); padding: 0; margin: 0; background: none; border: 0; border-radius: 16px; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; overflow: hidden; transform: translate(-50%, -50%) translate3d(var(--x, 0px), 0, var(--z, 0px)) rotateY(var(--ry, 0deg)); transition: none; }
	.stack__media { aspect-ratio: 9 / 16; border-radius: 16px; }
	.stack__card.is-hidden { visibility: hidden; }
	.stack__cap { display: none; }
}

@media (max-width: 900px) {
	/* Mobile : points et bouton sous le carrousel */
	/* Une fiche au centre, les voisines dépassent nettement de chaque côté (écart fixe) */
	/* (--cw / --gap sont résolus sur les enfants : cqw se rapporte bien à la largeur du carrousel) */
	/* Grand espace bas : les voisines inclinées descendent plus bas que la fiche centrale et ne doivent pas être coupées */
	.stack { --cw: min(64cqw, 320px); --gap: 14px; padding: 24px 0 96px; gap: 0; }
	/* Mêmes fiches que sur desktop : arrondies, sans cadre verre ni légende */
	.stack__card { padding: 0; background: none; border: 0; border-radius: 16px; overflow: hidden; -webkit-backdrop-filter: none; backdrop-filter: none; }
	.stack__media { aspect-ratio: 7 / 10; border-radius: 16px; }
	.stack__cap { display: none; }
	/* Ombre courte : elle doit s'éteindre avant le bas du carrousel (qui coupe ce qui dépasse), sinon une ligne apparaît */
	.stack__card { margin: 0 calc(var(--gap) / 2); box-shadow: 0 8px 18px rgba(20,40,90,.16); }
	.stack::before, .stack::after { flex-basis: max(0px, calc(50cqw - var(--cw) / 2 - var(--gap) / 2)); }
	.stack__dots { position: relative; z-index: 2; display: flex; justify-content: center; gap: 7px; margin-top: -72px; padding: 0 0 12px; }
	.btn.stack__cta { position: relative; z-index: 2; }
	.hero { padding-top: 16px; }
	.site-header--overlay + main .hero { padding-top: calc(var(--header-h) + 36px); }
	.cta-note--top { margin: 0 0 16px; }
	.hero__perks { margin-top: 0; gap: 4px 14px; }
}

/* ---------- Carte vidéo ---------- */
.vcard { position: relative; margin: 0; aspect-ratio: 9 / 16; background: var(--ink); overflow: hidden; box-shadow: 0 18px 40px rgba(20, 30, 60, .22); }
.vcard__video { width: 100%; height: 100%; object-fit: cover; }
.vcard .vcard__poster { position: absolute; inset: 0; }
.vcard__placeholder { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(160deg, var(--blue) 0%, var(--blue-dark) 55%, var(--red) 140%); }
.vcard:nth-child(3n+2) .vcard__placeholder { background: linear-gradient(160deg, var(--red) 0%, #c0352f 60%, var(--blue) 150%); }
.vcard:nth-child(3n) .vcard__placeholder { background: linear-gradient(160deg, #f2b705 0%, var(--yellow) 40%, var(--red) 160%); }
.vcard__placeholder img { width: 28%; opacity: .9; }
.vcard__caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 14px 14px; font-size: var(--fs-small); font-weight: 700; color: var(--white); background: linear-gradient(transparent, rgba(0,0,0,.55)); line-height: 1.25; }
.tag { display: inline-block; margin: 0 8px 6px 0; padding: .25em .7em; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink); background: var(--yellow); border-radius: 999px; }
.vcard__sound { position: absolute; top: 10px; right: 10px; z-index: 2; width: 38px; height: 38px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: rgba(0,0,0,.45); color: var(--white); cursor: pointer; }
.vcard__sound svg { width: 20px; height: 20px; fill: currentColor; }
.vcard__sound .vcard__wave { display: none; }
.vcard__sound[aria-pressed="true"] .vcard__wave { display: block; }
.vcard__sound[aria-pressed="true"] .vcard__mute { display: none; }

/* ---------- Sections ---------- */
.section { position: relative; padding: var(--section-y) 0; }
.section--cream2 { background: var(--cream-2); }
/* Section bleue : même dégradé et même filigrane « R » que le bas du formulaire */
.section--blue { color: var(--cream); background: linear-gradient(160deg, var(--blue) 0%, var(--blue-dark) 100%); isolation: isolate; overflow: hidden; }
.section--blue::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .07; background: url("../img/icone-blanche.svg") right -7vw top -9vw / min(44vw, 600px) auto no-repeat; }
/* Section blanche : le crème de la section précédente fond vers le blanc en haut */
.section--white { background: linear-gradient(180deg, var(--cream) 0, var(--white) clamp(80px, 12vw, 180px)); }
.section--white .card { color: var(--cream); background: linear-gradient(160deg, var(--blue) 0%, var(--blue-dark) 100%); border-color: transparent; }
.section__head { max-width: 760px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.section__head h2 { margin-bottom: .45em; }
.section__head p:not(.eyebrow) { max-width: 38em; margin: 0 auto; font-size: var(--fs-lead); color: var(--ink-soft); }
.section--blue .section__head p:not(.eyebrow) { color: var(--cream); opacity: .85; }
.section h2 .hl { color: var(--blue); }
.section--blue h2 .hl { color: var(--yellow); }
/* Surtitre des sections (texte, pas une pastille) */
.eyebrow { margin: 0 0 16px; font-size: var(--fs-small); font-weight: 700; line-height: 1.2; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.section--blue .eyebrow { color: var(--yellow); }
.section__cta { margin-top: clamp(40px, 5vw, 56px); text-align: center; }

/* Constat : trois cartes en verre sur le bleu */
/* Essai : fond bleu avec une ligne blanche transparente inspirée du logo, à la place du « R » en filigrane */
.section--ligne::before { opacity: .08; background: url("../img/ligne-fond.svg") center / 100% auto no-repeat; }
@media (max-width: 900px) { .section--ligne::before { background-position: 30% 35%; background-size: 260% auto; } }
.section--ligne-2::before { background-image: url("../img/ligne-fond-2.svg"); }

/* Essai : un trait lumineux fait le tour du tableau de bord Gestion des ads (tracé SVG : vitesse régulière le long du bord).
   Chaque tour : ralenti puis petite accélération ; la vitesse est la même au début et à la fin du tour, donc pas d'à-coup. */
.adsx--trace .adsx__panel { position: relative; }
.adsx__trace { position: absolute; inset: -4px; z-index: 1; width: calc(100% + 8px); max-width: none; height: calc(100% + 8px); overflow: visible; pointer-events: none; }
.adsx__trace rect { fill: none; stroke-linecap: round; animation: adsx-trace 4.2s cubic-bezier(.25, .45, .75, .55) infinite; }
.adsx__trace-queue { stroke: var(--yellow); stroke-width: 4; stroke-dasharray: 27 73; stroke-dashoffset: 0; opacity: .6; }
.adsx__trace-tete { stroke: var(--yellow); stroke-width: 5; stroke-dasharray: 20 80; stroke-dashoffset: -7; filter: drop-shadow(0 0 8px var(--yellow)); }
@keyframes adsx-trace { to { stroke-dashoffset: -100; } }
.adsx__trace-tete { animation-name: adsx-trace-tete; }
@keyframes adsx-trace-tete { from { stroke-dashoffset: -7; } to { stroke-dashoffset: -107; } }
@media (prefers-reduced-motion: reduce) { .adsx__trace { display: none; } }
/* Même trait autour du bouton « Réserver un appel » (plus court : le tour est plus petit) */
.adsx__trace--btn { inset: -5px; width: calc(100% + 10px); height: calc(100% + 10px); }
.adsx__trace--btn rect { animation-duration: 3.2s; }
/* Version fine pour un petit bouton : trait plus mince, plus court, halo léger */
.adsx__trace--btn .adsx__trace-queue { stroke-width: 1.5; stroke-dasharray: 16 84; }
.adsx__trace--btn .adsx__trace-tete { stroke-width: 2; stroke-dasharray: 10 90; stroke-dashoffset: -6; animation-name: adsx-trace-tete-btn; filter: drop-shadow(0 0 3px var(--yellow)); }
@keyframes adsx-trace-tete-btn { from { stroke-dashoffset: -6; } to { stroke-dashoffset: -106; } }

/* Rennes : photo de la place Sainte-Anne (Unsplash, Pascal Bernardon) sous un voile bleu, grande hermine en filigrane, texte centré */
.section--rennes { overflow: hidden; isolation: isolate; color: var(--cream);
	background: linear-gradient(160deg, color-mix(in srgb, var(--blue) 86%, transparent) 0%, color-mix(in srgb, var(--blue-dark) 92%, transparent) 100%), url("../img/rennes-place-sainte-anne.webp") center / cover no-repeat; }
.rennes__hermine { position: absolute; left: 50%; top: 50%; z-index: -1; width: auto; height: 130%; fill: var(--white); opacity: .08; transform: translate(-50%, -50%); pointer-events: none; }
.rennes { max-width: 760px; margin: 0 auto; text-align: center; }
.rennes h2 { color: var(--cream); }
.rennes h2 .hl, .rennes .eyebrow { color: var(--yellow); }
.rennes p:not(.eyebrow) { color: color-mix(in srgb, var(--cream) 88%, transparent); }
.rennes .btn { margin-top: 10px; }

/* Essai (essai.html) : carte des formats en grille de vidéos, nom du format sur chaque vignette */
.fgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 20px); margin: 0; padding: 0; list-style: none; }
.fgrid__tile { position: relative; aspect-ratio: 9 / 14; overflow: hidden; background: var(--blue-deep); border-radius: 18px; box-shadow: 0 10px 28px rgba(10, 20, 70, .25); }
.fgrid__tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fgrid__tile::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 45%, rgba(10, 16, 50, .85) 100%); }
.fgrid__label { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; margin: 0; padding: 14px 16px 16px; font-size: var(--fs-h3); font-weight: 700; line-height: 1.1; color: var(--white); }
.fgrid__label span { display: block; margin-bottom: 6px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--yellow); }
@media (max-width: 900px) { .fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fgrid__label { padding: 10px 12px 12px; } }

/* Essai (essai.html) : méthode en frise verticale qui se remplit au scroll, étapes en alternance gauche / droite */
.vtl { position: relative; max-width: 980px; margin: 0 auto; }
.vtl__steps { display: grid; gap: clamp(36px, 6vw, 72px); margin: 0; padding: 0; list-style: none; }
.vtl__step { display: grid; grid-template-columns: minmax(0, 1fr) 52px minmax(0, 1fr); align-items: start; column-gap: clamp(20px, 3.5vw, 48px); }
.vtl__dot { position: relative; z-index: 1; grid-row: 1; grid-column: 2; display: grid; place-items: center; width: 52px; height: 52px; font-size: 1.1rem; font-weight: 700; color: var(--ink); background: var(--cream-2); border: 2px solid color-mix(in srgb, var(--ink) 22%, transparent); border-radius: 50%; transition: background-color .35s ease, border-color .35s ease, color .35s ease, transform .35s ease; }
.vtl__card { grid-row: 1; grid-column: 1; padding-top: 8px; text-align: right; transition: opacity .5s ease, transform .5s ease; }
.vtl__step:nth-child(even) .vtl__card { grid-column: 3; text-align: left; }
.vtl__card h3 { margin: 0 0 .35em; font-size: var(--fs-card); line-height: 1.1; transition: color .35s ease; }
.vtl__card p { max-width: 24em; margin: 0 0 0 auto; color: var(--ink-soft); }
.vtl__step:nth-child(even) .vtl__card p { margin: 0; }
.vtl__rail { position: absolute; left: 50%; top: 26px; width: 3px; height: 0; overflow: hidden; background: color-mix(in srgb, var(--ink) 12%, transparent); border-radius: 3px; transform: translateX(-50%); }
.vtl__fill { position: absolute; inset: 0; background: var(--blue); transform: scaleY(var(--p, 0)); transform-origin: top; }
/* Entonnoir blanc derrière la frise : blanc plein dès le haut de la section, pointe sur « Pilotage des campagnes » (bords fondus par le flou) */
.vtl__funnel { --apex: 50%; position: absolute; left: calc(50% - 60vw); right: calc(50% - 60vw); top: calc(-1 * var(--funnel-top, 200px)); height: calc(var(--funnel-h, 100%) + var(--funnel-top, 200px)); z-index: 0; pointer-events: none; filter: blur(clamp(48px, 8vw, 120px)); }
.vtl__funnel::before { content: ""; position: absolute; inset: 0; background: var(--white); clip-path: polygon(0 0, 100% 0, var(--apex) 100%); }
.section:has(.vtl__funnel) { overflow: clip; } /* l'entonnoir part du haut de la section sans déborder sur la précédente */ /* l'entonnoir part du haut de la section sans déborder sur la précédente */
.section:has(.vtl__funnel) .section__head { position: relative; z-index: 1; }
.vtl__rail, .vtl__steps { z-index: 1; }
.vtl__steps { position: relative; }
.vtl__loop { display: flex; align-items: center; justify-content: center; gap: .5em; margin: clamp(32px, 4vw, 48px) 0 0; font-size: var(--fs-small); font-weight: 700; color: var(--blue); }
.vtl__loop svg { width: 1.3em; height: 1.3em; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
/* Animation seulement si le script tourne : étapes estompées tant que la frise ne les a pas atteintes */
.vtl.is-ready .vtl__step:not(.is-on) .vtl__card { opacity: .3; transform: translateX(-20px); }
.vtl.is-ready .vtl__step:nth-child(even):not(.is-on) .vtl__card { transform: translateX(20px); }
.vtl__step.is-on .vtl__dot { color: var(--white); background: var(--blue); border-color: var(--blue); transform: scale(1.08); }
.vtl__step--accent.is-on h3 { color: var(--blue); }
@media (max-width: 700px) {
	.vtl__step { grid-template-columns: 44px minmax(0, 1fr); column-gap: 18px; }
	.vtl__dot { grid-column: 1; width: 44px; height: 44px; font-size: 1rem; }
	.vtl__card, .vtl__step:nth-child(even) .vtl__card { grid-column: 2; padding-top: 4px; text-align: left; }
	.vtl__card p { margin: 0; }
	.vtl__rail { left: 22px; top: 22px; }
	.vtl__funnel { --apex: calc(10vw + var(--gutter) + 22px); } /* pointe sur la pastille 6, alignée à gauche */
	.vtl.is-ready .vtl__step:not(.is-on) .vtl__card, .vtl.is-ready .vtl__step:nth-child(even):not(.is-on) .vtl__card { transform: translateY(14px); }
	.vtl__loop { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .vtl.is-ready .vtl__step .vtl__card { opacity: 1; transform: none; } }

/* Constat : colle aux vidéos de la hero ; face à face « Aujourd'hui » (blanc, croix rouges) / « Avec Recette » (bleu, coches jaunes) */
.section--constat { padding-top: clamp(24px, 3vw, 40px); }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 1.6vw, 20px); max-width: 1100px; margin: 0 auto; }
.duo__col { padding: clamp(24px, 3vw, 40px); border-radius: 24px; }
.duo__col h3 { display: flex; align-items: center; gap: .35em; min-height: 40px; margin: 0 0 12px; font-size: var(--fs-card); }
.duo__col h3 img { width: auto; height: 1.55em; transform: translateY(-.08em); } /* logo crème et jaune, non recoloré */
.duo__col ul { margin: 0; padding: 0; list-style: none; }
.duo__col li { display: flex; align-items: center; gap: 14px; padding: 14px 0; font-size: var(--fs-h3); font-weight: 400; line-height: 1.25; }
.duo__col li + li { border-top: 1px solid var(--cream-2); }
.duo__col--avant { color: var(--ink); background: var(--white); }
.duo__col--avant h3 { color: var(--ink-soft); }
.duo__col--apres { color: var(--cream); background: linear-gradient(160deg, var(--blue) 0%, var(--blue-dark) 100%); }
.duo__col--apres h3 { color: var(--yellow); }
.duo__col--apres li + li { border-top-color: color-mix(in srgb, var(--white) 22%, transparent); }
.duo__pastille { flex: none; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; }
.duo__pastille svg { width: 14px; height: 14px; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.duo__col--avant .duo__pastille { background: color-mix(in srgb, var(--red) 14%, transparent); }
.duo__col--avant .duo__pastille svg { stroke: var(--red); }
.duo__col--apres .duo__pastille { background: color-mix(in srgb, var(--white) 16%, transparent); }
.duo__col--apres .duo__pastille svg { stroke: var(--yellow); }
@media (max-width: 900px) { .duo { grid-template-columns: 1fr; } }
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); }
.card { padding: clamp(26px, 3vw, 40px); background: color-mix(in srgb, var(--white) 8%, transparent); border: 1px solid color-mix(in srgb, var(--white) 18%, transparent); border-radius: 20px; }
.card h3 { margin-bottom: .6em; font-size: var(--fs-card); line-height: 1.1; }
.card p:last-child { margin: 0; opacity: .82; }
.card__num { margin: 0 0 24px; font-size: var(--fs-h2); font-weight: 700; line-height: 1; letter-spacing: -.02em; color: var(--yellow); }
@media (max-width: 900px) { .cards3 { grid-template-columns: 1fr; } }

/* Formats : « la carte » en slider. Une fiche sombre par format (texte à gauche, vidéo à droite),
   la suivante dépasse du bord droit ; on la tire à la souris ou au doigt (script dans main.js) */
.carte__nav { display: flex; align-items: center; gap: 14px; }
.carte__arrow { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; color: var(--ink); background: transparent; border: 1.5px solid color-mix(in srgb, var(--ink) 22%, transparent); border-radius: 8px; cursor: pointer; transition: background-color .2s ease, border-color .2s ease, color .2s ease, opacity .2s ease; }
.carte__arrow:hover:not(:disabled) { color: var(--cream); background: var(--ink); border-color: var(--ink); }
.carte__arrow:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.carte__arrow:disabled { opacity: .3; cursor: default; }
.carte__arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.carte__count { min-width: 5.5ch; margin: 0; font-variant-numeric: tabular-nums; text-align: center; color: var(--ink-soft); }
.carte__count b { font-weight: 700; color: var(--ink); }

/* Piste : alignée sur le contenu à gauche, ouverte jusqu'au bord droit de l'écran */
.carte { --bord: max(var(--gutter), calc((100% - var(--page-width)) / 2 + var(--gutter))); }
.carte__viewport { overflow: hidden; padding-left: var(--bord); cursor: grab; touch-action: pan-y; outline: none; }
.carte__viewport:focus-visible .carte__slide { box-shadow: 0 0 0 3px var(--blue); }
.carte__viewport.is-drag { cursor: grabbing; user-select: none; -webkit-user-select: none; }
.carte__viewport.is-drag a { pointer-events: none; }
.carte__track { display: flex; gap: clamp(14px, 2vw, 24px); will-change: transform; }
.carte__slide { position: relative; flex: 0 0 min(1040px, calc(100% - clamp(44px, 12vw, 220px))); display: grid; grid-template-columns: minmax(0, 1fr) clamp(210px, 19vw, 270px); align-items: center; gap: clamp(28px, 5vw, 80px); overflow: hidden; isolation: isolate; padding: clamp(28px, 4vw, 56px); color: var(--cream); background: var(--ink); border-radius: 28px; }
.carte__slide::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .05; background: url("../img/icone-blanche.svg") left -18% bottom -45% / 70% auto no-repeat; }
.carte__goal { display: flex; align-items: baseline; gap: .8em; margin: 0 0 16px; font-size: var(--fs-small); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--yellow); }
.carte__goal b { font-variant-numeric: tabular-nums; letter-spacing: 0; color: color-mix(in srgb, var(--cream) 76%, transparent); }
.carte__slide h3 { margin: 0 0 .45em; font-size: var(--fs-card); line-height: 1.1; letter-spacing: -.02em; color: var(--cream); }
.carte__desc { max-width: 30em; margin: 0 0 20px; font-size: var(--fs-lead); color: color-mix(in srgb, var(--cream) 76%, transparent); text-wrap: pretty; }
.carte__ingr { max-width: 30em; margin: 0 0 30px; padding-top: 20px; color: color-mix(in srgb, var(--cream) 76%, transparent); border-top: 1px solid color-mix(in srgb, var(--cream) 14%, transparent); text-wrap: pretty; }
.carte__ingr strong { color: var(--cream); }
.carte__slide .btn { -webkit-user-drag: none; }

/* Vidéo 9:16 posée sur une « assiette » bleue inclinée */
.carte__media { position: relative; margin: 0; }
.carte__media::before { content: ""; position: absolute; inset: 0; background: var(--blue); border-radius: 22px; transform: translate(6%, 2%) rotate(6deg); }
.carte__frame { position: relative; aspect-ratio: 9 / 16; overflow: hidden; background: var(--blue-deep); border-radius: 22px; }
.carte__frame img, .carte__frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; }
/* Rond « play » comme sur les fiches du hero, retiré dès qu'une vraie vidéo remplace la photo */
.carte__frame::before, .carte__frame::after { content: ""; position: absolute; left: 50%; top: 50%; z-index: 2; pointer-events: none; transform: translate(-50%, -50%); }
.carte__frame::before { width: 60px; aspect-ratio: 1; background: color-mix(in srgb, var(--white) 88%, transparent); border-radius: 50%; }
.carte__frame::after { width: 19px; aspect-ratio: .87; margin-left: 2px; background: var(--blue); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.carte__frame:has(video)::before, .carte__frame:has(video)::after { display: none; }
/* Fiche duo : deux cartes empilées (vidéo, statique). Celle de derrière passe devant en glissant, en cliquant ou avec les boutons */
.carte__media--duo { padding-bottom: 50px; left: calc(-1 * clamp(8px, 1.6vw, 24px)); }
.carte__media--duo::before { display: none; }
.carte__stack { position: relative; aspect-ratio: 9 / 16; touch-action: pan-y; }
.carte__card { position: absolute; inset: 0; aspect-ratio: auto; transform-origin: 50% 85%; box-shadow: 0 14px 30px rgba(0, 0, 0, .28); }
.carte__card.is-front { z-index: 2; cursor: grab; transition: transform .55s cubic-bezier(.2, .8, .2, 1), filter .4s, z-index 0s .27s; }
.carte__card.is-back { z-index: 1; cursor: pointer; filter: brightness(.8); transform: translate(11%, 3%) rotate(7deg); transition: transform .55s cubic-bezier(.2, .8, .2, 1), filter .4s; }
.carte__card.is-out { z-index: 2; cursor: pointer; animation: carte-out .6s cubic-bezier(.4, .1, .2, 1) both; }
.carte__card.is-drag { transition: none; cursor: grabbing; }
@keyframes carte-out {
	0% { z-index: 2; filter: brightness(1); transform: translate(var(--dx, 0px), 0) rotate(var(--rot, 0deg)); }
	45% { z-index: 2; transform: translate(-72%, 4%) rotate(-11deg); }
	46% { z-index: 1; }
	100% { z-index: 1; filter: brightness(.8); transform: translate(11%, 3%) rotate(7deg); }
}
.carte__frame--static::before, .carte__frame--static::after { display: none; }
.carte__switch { position: absolute; z-index: 3; left: 50%; bottom: 0; display: flex; gap: 3px; padding: 3px; transform: translateX(-50%); background: color-mix(in srgb, var(--cream) 14%, transparent); border-radius: 8px; }
.carte__switch button { padding: .3em .8em; font: inherit; font-size: .8rem; font-weight: 500; color: var(--cream); cursor: pointer; background: transparent; border: 0; border-radius: 6px; transition: background-color .25s, color .25s; }
.carte__switch button[aria-selected="true"] { color: var(--ink); background: var(--cream); }
.carte__switch button:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }

/* Progression continue sous la piste */
.carte__foot { display: flex; align-items: center; gap: clamp(16px, 2.5vw, 32px); margin-top: clamp(24px, 3vw, 36px); }
.carte__progress { position: relative; flex: 1; height: 2px; overflow: hidden; background: color-mix(in srgb, var(--ink) 12%, transparent); border-radius: 2px; }
.carte__progress span { position: absolute; inset: 0; background: var(--blue); transform: scaleX(.125); transform-origin: left; }
/* Carte des formats sur fond bleu : flèches, compteur et barre de progression en crème */
.section--blue .carte__arrow { color: var(--cream); border-color: color-mix(in srgb, var(--cream) 35%, transparent); }
.section--blue .carte__arrow:hover:not(:disabled) { color: var(--blue); background: var(--cream); border-color: var(--cream); }
.section--blue .carte__count { color: color-mix(in srgb, var(--cream) 76%, transparent); }
.section--blue .carte__count b { color: var(--cream); }
.section--blue .carte__progress { background: color-mix(in srgb, var(--cream) 22%, transparent); }
.section--blue .carte__progress span { background: var(--yellow); }

@media (max-width: 900px) {
	.carte__slide { grid-template-columns: minmax(0, 1fr) clamp(170px, 26vw, 220px); gap: 32px; }
}
@media (max-width: 640px) {
	.carte__slide { grid-template-columns: 1fr; align-items: start; gap: 28px; padding: 26px 22px 28px; }
	.carte__media { order: -1; justify-self: center; width: min(54%, 200px); }
}

/* Méthode : frise des 6 étapes, avec la boucle qui ramène les résultats du pilotage vers la stratégie */
.timeline { position: relative; padding-top: 72px; }
.steps { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); }
.steps::before { content: ""; position: absolute; top: 21px; left: calc(100% / 12); right: calc(100% / 12); height: 2px; background: linear-gradient(90deg, color-mix(in srgb, var(--ink) 16%, transparent) 80%, var(--blue) 80%); }
.step { position: relative; padding: 0 clamp(8px, 1.2vw, 20px); text-align: center; }
.step__num { position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; margin: 0 auto 22px; font-weight: 700; line-height: 1; color: var(--ink); background: var(--cream-2); border: 2px solid var(--ink); border-radius: 50%; }
.step h3 { margin-bottom: .45em; }
.step p { margin: 0; font-size: var(--fs-small); line-height: 1.55; color: var(--ink-soft); text-wrap: pretty; }
.step--accent h3 { color: var(--blue); }
.step--accent .step__num { color: var(--white); background: var(--blue); border-color: var(--blue); }
/* Boucle : part de l'étape 6, revient sur l'étape 2 (centres des colonnes 2 et 6) */
.timeline__loop { position: absolute; top: 18px; left: calc(100% * 1.5 / 6 - 1px); right: calc(100% * .5 / 6 - 1px); height: 42px; margin: 0; border: 2px solid var(--blue); border-bottom: 0; border-radius: 22px 22px 0 0; }
.timeline__loop::after { content: ""; position: absolute; left: -7px; bottom: -8px; border: 6px solid transparent; border-top: 9px solid var(--blue); border-bottom: 0; }
.timeline__loop span { position: absolute; left: 50%; top: 0; padding: 0 16px; font-size: var(--fs-small); font-weight: 700; line-height: 1.2; white-space: nowrap; color: var(--blue); background: var(--cream-2); transform: translate(-50%, -55%); }
@media (max-width: 900px) {
	.timeline { padding-top: 0; }
	.steps { grid-template-columns: 1fr; gap: 30px; }
	.steps::before { top: 22px; bottom: 22px; left: 21px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, color-mix(in srgb, var(--ink) 16%, transparent) 85%, var(--blue) 85%); }
	.step { display: grid; grid-template-columns: 44px 1fr; column-gap: 18px; padding: 0; text-align: left; }
	.step__num { grid-row: span 2; margin: 0; }
	.step h3 { margin: 11px 0 .35em; }
	.timeline__loop { position: static; display: flex; align-items: center; gap: 10px; height: auto; margin: 26px 0 0 62px; border: 0; border-radius: 0; }
	.timeline__loop::after { display: none; }
	.timeline__loop::before { content: ""; flex: none; width: 20px; height: 20px; background: var(--blue); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 12a8 8 0 1 1-2.34-5.66'/%3E%3Cpath d='M20 4v5h-5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 12a8 8 0 1 1-2.34-5.66'/%3E%3Cpath d='M20 4v5h-5'/%3E%3C/svg%3E") center / contain no-repeat; }
	.timeline__loop span { position: static; padding: 0; white-space: normal; background: none; transform: none; }
}

/* Offres */
.offers { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 24px); max-width: 1040px; margin: 0 auto; }
.offer { position: relative; display: flex; flex-direction: column; padding: clamp(30px, 3.6vw, 48px); background: var(--white); border: 1px solid var(--cream-2); border-radius: 24px; }
.offer__scope { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.offer__scope li { display: inline-flex; align-items: center; gap: .5em; padding: .4em .85em .4em .6em; font-size: var(--fs-small); font-weight: 700; border-radius: 8px; }
.offer__scope svg { flex: none; width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.offer__scope .is-on { color: var(--blue); background: color-mix(in srgb, var(--blue) 12%, transparent); }
.offer__scope .is-off { font-weight: 500; color: color-mix(in srgb, var(--ink) 45%, transparent); background: color-mix(in srgb, var(--ink) 6%, transparent); text-decoration: line-through; }
.offer--featured .offer__scope .is-on { color: var(--yellow); background: color-mix(in srgb, var(--white) 14%, transparent); }
.offer h3 { margin-bottom: .35em; font-size: var(--fs-card); line-height: 1.1; letter-spacing: -.02em; }
.offer__sub { margin-bottom: 28px; color: var(--ink-soft); }
.offer .checks { margin-bottom: 36px; padding-top: 28px; border-top: 1px solid var(--cream-2); }
.offer__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: auto; }
.offer__price { margin: 0; font-size: var(--fs-h3); font-weight: 700; }
.offer--featured { color: var(--cream); background: linear-gradient(160deg, var(--blue) 0%, var(--blue-dark) 100%); border-color: transparent; }
.offer--featured .offer__sub { color: var(--cream); opacity: .85; }
.offer--featured .checks { border-top-color: color-mix(in srgb, var(--white) 22%, transparent); }
.offer__badge { position: absolute; top: 0; left: clamp(30px, 3.6vw, 48px); margin: 0; padding: .4em 1em; font-size: var(--fs-small); font-weight: 700; line-height: 1.2; color: var(--ink); background: var(--yellow); border-radius: 999px; transform: translateY(-50%); }
/* Trait d'union mobile entre les deux offres : la seconde = la première + la gestion des ads */
.offers__plus { display: none; }
@media (max-width: 800px) {
	.offers { grid-template-columns: 1fr; max-width: 560px; gap: 0; }
	.offer { padding: 24px 22px 26px; }
	.offer--featured { margin-top: 0; }
	.offers__plus { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: .5em; width: fit-content; margin: 14px auto 30px; padding: .5em 1.1em .5em .8em; font-size: var(--fs-small); font-weight: 700; color: var(--ink); background: var(--yellow); border-radius: 999px; }
	.offers__plus svg { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }
	.offer--featured { padding-top: 34px; }
	.offer__sub { margin-bottom: 20px; }
	.offer .checks { margin-bottom: 24px; padding-top: 20px; }
	.offer__foot { flex-direction: column; align-items: stretch; gap: 12px; }
	.offer__foot .btn { width: 100%; }
	.offer__price { text-align: center; }
}

.checks li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.checks li:last-child { margin-bottom: 0; }
.checks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; background: var(--blue); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / contain no-repeat; }
.offer--featured .checks li::before, .place .checks li::before { background: var(--yellow); }

/* Rennes : texte + encart bleu */
.split { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.split__text h2 { margin-bottom: .45em; }
.split__text .btn { margin-top: 10px; }
.prose p { color: var(--ink-soft); }
.place { position: relative; overflow: hidden; isolation: isolate; padding: clamp(32px, 4vw, 52px); color: var(--cream); background: linear-gradient(160deg, var(--blue) 0%, var(--blue-dark) 100%); border-radius: 28px; }
.place::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .08; background: url("../img/icone-blanche.svg") right -22% bottom -30% / 75% auto no-repeat; }
.place__hermine { width: auto; height: 56px; margin-bottom: 28px; fill: var(--yellow); }
.place__title { margin: 0 0 .3em; font-size: var(--fs-card); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; }
.place__sub { margin: 0 0 28px; opacity: .85; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }

/* FAQ : titre à gauche (fixe au défilement), questions à droite */
.faq-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.faq-layout .section__head { position: sticky; top: calc(var(--header-h) + 32px); margin: 0; text-align: left; }
.faq-layout .section__head p:not(.eyebrow) { margin: 0 0 28px; }
.faq { display: grid; gap: 12px; }
.faq__item { background: var(--white); border-radius: 16px; }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 24px; font-size: var(--fs-h3); font-weight: 700; line-height: 1.3; cursor: pointer; list-style: none; border-radius: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 34px; height: 34px; font-size: var(--fs-h3); font-weight: 400; line-height: 1; color: var(--blue); background: color-mix(in srgb, var(--blue) 10%, transparent); border-radius: 50%; transition: transform .25s, background-color .25s, color .25s; }
.faq__item[open] summary::after { color: var(--white); background: var(--blue); transform: rotate(45deg); }
.faq summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.faq__item p { margin: 0; padding: 0 24px 24px; color: var(--ink-soft); }
@media (max-width: 900px) {
	.faq-layout { grid-template-columns: 1fr; }
	.faq-layout .section__head { position: static; margin: 0 auto; text-align: center; }
}

/* Contact */
/* Formulaire de contact : titre sur fond crème, formulaire centré à cheval entre le crème et le bleu */
.section--contact { --chevauche: clamp(120px, 14vw, 200px); }
/* FAQ + haut du contact : un halo blanc en ellipse, centré sur la jonction des deux sections (même esprit que le halo de la hero) */
#faq .faq__item { box-shadow: 0 0 0 1px var(--cream-2); } /* les questions restent visibles sur le blanc */
#faq { background: radial-gradient(ellipse 75% 520px at 50% 100%, var(--white) 0%, var(--white) 55%, color-mix(in srgb, var(--white) 0%, transparent) 100%) var(--cream); }
.contact__top { background: radial-gradient(ellipse 75% 520px at 50% 0, var(--white) 0%, var(--white) 55%, color-mix(in srgb, var(--white) 0%, transparent) 100%) var(--cream); padding: clamp(40px, 6vw, 80px) 0 calc(var(--chevauche) + clamp(28px, 3vw, 40px)); text-align: center; }
.contact__head { max-width: 760px; }
.contact__head { margin-bottom: 0; }
.contact__head h2 { color: var(--ink); }
.contact__head h2 .hl { color: var(--blue); }
.contact__bottom { position: relative; padding-bottom: var(--section-y); color: var(--cream); background: linear-gradient(180deg, var(--blue) 0%, color-mix(in srgb, var(--blue) 50%, var(--blue-dark)) 100%); isolation: isolate; } /* dégradé vertical qui se poursuit sans raccord dans le footer */
.contact__bottom::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .08; background: url("../img/ligne-contact.svg?v=3") center bottom / 3200px auto no-repeat; } /* ligne du logo qui descend vers le footer (même largeur fixe que dans le footer pour que le raccord tombe juste) */
.contact { display: flex; flex-direction: column; align-items: center; gap: clamp(28px, 4vw, 44px); }
.contact__form { position: relative; z-index: 2; width: 100%; max-width: 720px; margin-top: calc(-1 * var(--chevauche)); }
.contact__perks { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.contact__perks li { display: inline-flex; align-items: center; gap: .5em; padding: .45em 1em .45em .75em; font-size: var(--fs-small); font-weight: 500; color: var(--ink); background: var(--white); border: 1px solid var(--cream-2); border-radius: 999px; }
.contact__perks li::before { content: ""; flex: none; width: 16px; height: 16px; background: var(--blue); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / contain no-repeat; }
/* Formulaire : carte blanche façon ticket de commande, dentelée en haut ; champs classiques et lisibles */
.contact__form { filter: drop-shadow(0 20px 30px rgba(10, 20, 70, .3)); }
.ticket { --zz: 28px; color: var(--ink); background: var(--white); padding: calc(var(--zz) / 2 + clamp(20px, 2.8vw, 32px)) clamp(22px, 3vw, 36px) clamp(22px, 3vw, 36px);
	-webkit-mask: conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / var(--zz) calc(var(--zz) / 2) repeat-x, linear-gradient(#000 0 0) bottom / 100% calc(100% - var(--zz) / 2 + 1px) no-repeat;
	mask: conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / var(--zz) calc(var(--zz) / 2) repeat-x, linear-gradient(#000 0 0) bottom / 100% calc(100% - var(--zz) / 2 + 1px) no-repeat; }
@media (max-width: 560px) { .ticket { --zz: 22px; padding-left: 16px; padding-right: 16px; } }
/* Essai : formulaire sans dents, coins arrondis comme les autres cartes */
.ticket--arrondi { -webkit-mask: none; mask: none; padding-top: clamp(22px, 3vw, 36px); border-radius: 24px; }

.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; gap: 0; } }
.field { display: block; min-width: 0; margin: 0 0 14px; padding: 0; border: 0; }
.field > span, .field legend { display: block; margin-bottom: 6px; padding: 0; font-size: var(--fs-small); font-weight: 700; color: var(--ink); }
.field abbr { color: var(--red); text-decoration: none; }
.field input, .field textarea { width: 100%; padding: 13px 16px; font: inherit; font-size: 1rem; color: var(--ink); background: var(--cream); border: 1.5px solid transparent; border-radius: 12px; transition: border-color .2s, background-color .2s, box-shadow .2s; appearance: none; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-soft); opacity: .6; }
.field input:hover, .field textarea:hover { border-color: var(--cream-2); }
.field input:focus, .field textarea:focus { outline: none; background: var(--white); border-color: var(--blue); box-shadow: 0 0 0 4px rgba(50, 88, 241, .15); }
.field textarea { resize: vertical; min-height: 110px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: .55em 1em; font-size: var(--fs-small); color: var(--ink); background: var(--cream); border: 1.5px solid transparent; border-radius: 999px; transition: background-color .2s, border-color .2s, color .2s; }
.chip:hover span { border-color: var(--cream-2); }
.chip input:checked + span { color: var(--white); background: var(--blue); border-color: var(--blue); }
.chip input:focus-visible + span { box-shadow: 0 0 0 4px rgba(50, 88, 241, .25); }
.form .btn--block { margin-top: 6px; }
@media (max-width: 1080px) { .contact { grid-template-columns: 1fr; } .contact__text h2 { max-width: none; } }

.form__hp { position: absolute; left: -9999px; }
/* Votre marque : entreprise ou site, l'un des deux obligatoire (contrôle en JS et dans contact.php) */
.field legend small { font-size: inherit; font-weight: 400; color: var(--ink-soft); }
[data-marque] .form__row .field { margin: 0; }
@media (max-width: 560px) { [data-marque] .form__row { gap: 10px; } }
/* Ce qui vous intéresse : cases à cocher façon liste de tâches, mêmes icônes que les offres */
.todo { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (max-width: 560px) { .todo { grid-template-columns: 1fr; } }
.todo__item { position: relative; display: flex; align-items: center; gap: 10px; padding: 12px 14px; font-size: var(--fs-small); color: var(--ink); background: var(--cream); border: 1.5px solid transparent; border-radius: 12px; cursor: pointer; transition: border-color .2s, color .2s; }
.todo__item input { position: absolute; opacity: 0; pointer-events: none; }
.todo__item svg { flex: none; width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.todo__box { position: relative; flex: none; width: 20px; height: 20px; background: var(--white); border: 1.5px solid var(--cream-2); border-radius: 6px; transition: background-color .2s, border-color .2s; }
.todo__box::after { content: ""; position: absolute; inset: 1px; background: var(--white); opacity: 0; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / contain no-repeat; transition: opacity .2s; }
.todo__item:hover { border-color: var(--cream-2); }
.todo__item:has(input:checked) { color: var(--blue); border-color: var(--blue); }
.todo__item input:checked + .todo__box { background: var(--blue); border-color: var(--blue); }
.todo__item input:checked + .todo__box::after { opacity: 1; }
.todo__item input:focus-visible + .todo__box { box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 25%, transparent); }
.form__legal { margin: 12px 0 0; font-size: .8rem; color: var(--ink-soft); text-align: center; }
.notice { padding: 16px 20px; margin-bottom: 20px; border-radius: 14px; }
.notice p { margin: 0; }
.notice--ok { background: var(--blue); color: var(--cream); padding: 32px; }
.notice__title { font-weight: 700; font-size: var(--fs-h3); margin-bottom: .3em !important; }
.notice--err { background: #fde3e5; color: var(--red-dark); }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; isolation: isolate; padding: clamp(56px, 8vw, 96px) 0 24px; color: var(--cream); background: linear-gradient(180deg, color-mix(in srgb, var(--blue) 50%, var(--blue-dark)) 0%, var(--blue-dark) 100%); } /* suite du bleu sous le formulaire */
/* Ligne blanche inspirée du logo en fond, comme sur les sections bleues */
.site-footer::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .08; background: url("../img/ligne-footer.svg?v=3") center top / 3200px auto no-repeat; }
.site-footer__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: clamp(36px, 5vw, 56px); margin-bottom: clamp(36px, 5vw, 56px); border-bottom: 1px solid rgba(255, 255, 255, .2); }
.site-footer__cta p { max-width: 16em; margin: 0; font-size: var(--fs-h2); font-weight: 700; line-height: 1.1; letter-spacing: -.01em; }
.site-footer__cta p span { color: var(--yellow); }
.site-footer__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.site-footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .2); }
.site-footer__brand img { width: 180px; height: auto; margin-bottom: 18px; }
.site-footer__brand p { max-width: 24em; margin: 0; opacity: .75; }
.site-footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.site-footer__col a, .site-footer__col span { opacity: .8; text-decoration: none; }
.site-footer__col a:hover { opacity: 1; color: var(--yellow); }
.site-footer__title { margin: 0 0 6px; font-weight: 700; color: var(--yellow); }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: var(--fs-small); opacity: .7; }
.site-footer__bottom a { text-decoration: none; }
.site-footer__bottom a:hover { color: var(--yellow); }
@media (max-width: 900px) { .site-footer__inner { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .site-footer__inner { grid-template-columns: 1fr; } .site-footer__btns, .site-footer__btns .btn { width: 100%; } }

/* Pages simples */
.page-simple h1 { font-size: var(--fs-h2); }

/* Apparition au scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.reveal { opacity: 1; transform: none; }
}

/* Gestion des ads : plateformes en onglets (logos), panneau détaillé avec exemple de test créatif, puis le cycle de pilotage */
.adsx { display: grid; grid-template-columns: minmax(230px, 290px) minmax(0, 1fr); gap: clamp(14px, 2vw, 24px); max-width: 1080px; margin: 0 auto; align-items: start; }
.adsx__side { display: flex; flex-direction: column; gap: 14px; }
.adsx__tabs { display: flex; flex-direction: column; gap: 12px; }
.adsx__tab i { font-style: normal; }
.adsx__tab .adsx__tag { position: absolute; top: 12px; right: 12px; }
.adsx__tag { flex: none; margin-left: auto; padding: .15em .55em; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-decoration: none; border-radius: 4px; }
.adsx__tag--sma { color: var(--ink); background: var(--yellow); }
.adsx__tag--sea { color: var(--cream); background: var(--ink); }
.adsx__panelhead h3 .adsx__tag { margin-left: .6em; vertical-align: .25em; font-size: .7rem; }
.adsx__tab { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px 18px; font: inherit; text-align: left; color: var(--cream); cursor: pointer; background: color-mix(in srgb, var(--white) 8%, transparent); border: 1px solid color-mix(in srgb, var(--white) 18%, transparent); border-radius: 16px; transition: background-color .25s, color .25s, border-color .25s; }
.adsx__tab:hover { background: color-mix(in srgb, var(--white) 15%, transparent); }
.adsx__tab:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }
.adsx__tab[aria-selected="true"] { color: var(--ink); background: var(--white); border-color: var(--white); }
.adsx__logo { flex: none; display: grid; place-items: center; width: 46px; height: 46px; color: currentColor; background: color-mix(in srgb, var(--white) 14%, transparent); border-radius: 12px; transition: background-color .25s, color .25s; }
.adsx__logo svg { width: 24px; height: 24px; fill: currentColor; }
.adsx__tab[aria-selected="true"] .adsx__logo { color: var(--white); background: var(--blue); }
.adsx__tabtxt b { display: block; font-size: var(--fs-h3); font-weight: 700; line-height: 1.15; }
.adsx__tabtxt small { display: block; margin-top: 2px; font-size: var(--fs-small); opacity: .75; }
.adsx__panel { padding: clamp(22px, 3vw, 38px); color: var(--ink); background: var(--white); border-radius: 24px; }
.adsx__panel[hidden] { display: none; }
.adsx__panelhead { display: flex; align-items: center; gap: 18px; margin-bottom: clamp(20px, 2.5vw, 30px); padding-bottom: clamp(20px, 2.5vw, 28px); border-bottom: 1px solid var(--cream-2); }
.adsx__logo--lg { width: 60px; height: 60px; border-radius: 16px; color: var(--white); background: var(--blue); }
.adsx__logo--lg svg { width: 32px; height: 32px; }
.adsx__panelhead h3 { margin: 0; font-size: var(--fs-card); line-height: 1.1; }
.adsx__panelhead p { margin: 4px 0 0; color: var(--ink-soft); }
.adsx__panelbody { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(22px, 3vw, 40px); align-items: start; }
.adsx__list { margin: 0; }
.adsx__test { padding: clamp(18px, 2vw, 26px); background: var(--cream); border-radius: 16px; }
.adsx__testtitle { margin: 0 0 16px; font-weight: 700; line-height: 1.2; }
.adsx__testtitle small { display: block; margin-top: 2px; font-size: var(--fs-small); font-weight: 400; color: var(--ink-soft); }
.adsx__bars { display: grid; gap: 12px; margin: 0; }
.adsx__bar { display: grid; grid-template-columns: 3.6em minmax(0, 1fr) 5.4em; align-items: center; gap: 8px; font-size: var(--fs-small); }
.adsx__nom { font-weight: 500; }
.adsx__jauge { display: block; height: 16px; overflow: hidden; background: color-mix(in srgb, var(--ink) 8%, transparent); border-radius: 7px; }
.adsx__jauge span { display: block; width: var(--w); height: 100%; background: color-mix(in srgb, var(--blue) 32%, var(--white)); border-radius: 7px; transform-origin: left; animation: adsx-jauge .8s cubic-bezier(.2, .8, .2, 1) both; }
.adsx__bar.is-win .adsx__jauge span { background: var(--blue); }
.adsx__win { justify-self: start; padding: .15em .55em; font-size: .72rem; font-weight: 700; letter-spacing: .04em; color: var(--ink); background: var(--yellow); border-radius: 4px; }
@keyframes adsx-jauge { from { transform: scaleX(0); } }
.adsx__testfoot { margin: 16px 0 0; font-size: var(--fs-small); color: var(--ink-soft); }
@media (max-width: 900px) {
	.adsx { grid-template-columns: 1fr; }
	.adsx__tabs { flex-direction: row; gap: 6px; }
	.adsx__tab { flex: 1; min-width: 0; flex-direction: column; justify-content: center; gap: 8px; padding: 12px 4px; text-align: center; }
	.adsx__tab .adsx__tag { display: none; }
	.adsx__tab i { display: none; }
	.adsx__tabtxt small { display: none; }
	.adsx__tabtxt b { font-size: .8rem; }
	.adsx__panelbody { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
	.adsx__panelhead { gap: 14px; }
	.adsx__logo--lg { width: 50px; height: 50px; }
}
@media (prefers-reduced-motion: reduce) { .adsx__jauge span { animation: none; } }
