/*
Theme Name: ADINNOVA Agency Catalogue
Theme URI: https://adinnova.agency
Author: ADINNOVA Agency
Description: Site vitrine ADINNOVA 2.0 : catalogue dédoublonné (39 services, 3 univers), photos réalistes des services, galerie, menu par univers, fiches produits et demandes de devis.
Version: 2.0.0
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: adinnova
*/

/*
 * Idée : le site se comporte comme une épreuve d'imprimeur. Les photos portent des traits de coupe,
 * une gamme de contrôle CMJN (cyan, magenta, jaune, noir + orange ADINNOVA) borde l'accueil et le pied de page.
 * Couleurs : encre marine (logo), orange ADINNOVA en accent, papier couché gris-bleu très clair.
 * Typographie : Archivo, en version élargie pour les titres (lettrage d'enseigne), normale pour le texte.
 */

:root {
	--ink: #16233f;
	--ink-2: #0e1830;
	--orange: #f36b21;
	--orange-text: #b84a0c;
	--paper: #f2f4f7;
	--line: #dce1e8;
	--text: #1b2335;
	--muted: #566176;
	--white: #fff;
	--c: #00a0e3;
	--m: #e5007e;
	--y: #ffe100;
	--font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--wide: 112%;
	--radius: 4px;
	--head-h: 76px;
	--wrap: 1240px;
	--gap: clamp(20px, 3vw, 32px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 1.0625rem/1.6 var(--font); color: var(--text); background: var(--white); overflow-x: clip; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3 { color: var(--ink); line-height: 1.08; margin: 0 0 .5em; font-stretch: var(--wide); letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 4.4vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 750; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 2 * clamp(18px, 4vw, 40px), var(--wrap)); margin-inline: auto; }
.lead { font-size: 1.125rem; color: var(--muted); max-width: 62ch; }
.lead a, .entry a, .empty a, .quote-aside a { color: var(--orange-text); font-weight: 600; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--radius); }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
[hidden] { display: none !important; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 46px; padding: .7em 1.25em; border: 2px solid transparent; border-radius: var(--radius); font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn-lg { min-height: 54px; padding: .85em 1.5em; font-size: 1.0625rem; }
.btn-primary { background: var(--orange); color: var(--ink); }
.btn-primary:hover { background: #ff8340; }
.btn-ghost { border-color: rgba(255, 255, 255, .75); color: #fff; background: transparent; }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-outline, .btn-ghost-dark { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover, .btn-ghost-dark:hover { background: var(--ink); color: #fff; }
.btn-wa { background: #25d366; color: var(--ink-2); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* ---------- Traits de coupe ---------- */
.frame { position: relative; display: block; }
.frame img, .frame .ph { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 2px; background: var(--line); }
.frame::after {
	content: ""; position: absolute; inset: -12px; pointer-events: none; color: var(--ink); opacity: var(--marks, 0);
	transition: opacity .2s, inset .2s, color .2s;
	--l: linear-gradient(currentColor, currentColor);
	background:
		var(--l) 0 12px / 8px 1px no-repeat, var(--l) 12px 0 / 1px 8px no-repeat,
		var(--l) 100% 12px / 8px 1px no-repeat, var(--l) calc(100% - 12px) 0 / 1px 8px no-repeat,
		var(--l) 0 calc(100% - 12px) / 8px 1px no-repeat, var(--l) 12px 100% / 1px 8px no-repeat,
		var(--l) 100% calc(100% - 12px) / 8px 1px no-repeat, var(--l) calc(100% - 12px) 100% / 1px 8px no-repeat;
}
.frame--marks, .universe-media, .product-media .frame, .page-head-media, .atelier-photos .frame { --marks: .45; }
.frame--light::after { color: #fff; }
a.frame:hover::after, a.frame:focus-visible::after, .card-link:hover .frame::after, .card-link:focus-visible .frame::after { --marks: 1; color: var(--orange); inset: -14px; }
.ph, .is-missing { display: block; background: linear-gradient(135deg, var(--paper), var(--line)); }

/* ---------- Gamme de contrôle CMJN ---------- */
.colorbar { display: grid; grid-template-columns: repeat(5, 1fr); height: 8px; }
.colorbar span:nth-child(1) { background: var(--c); }
.colorbar span:nth-child(2) { background: var(--m); }
.colorbar span:nth-child(3) { background: var(--y); }
.colorbar span:nth-child(4) { background: var(--ink-2); }
.colorbar span:nth-child(5) { background: var(--orange); }
.colorbar--hero { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; }
.colorbar--hero span { transform-origin: left; animation: ink-in .7s cubic-bezier(.2, .7, .2, 1) both; }
.colorbar--hero span:nth-child(2) { animation-delay: .12s; }
.colorbar--hero span:nth-child(3) { animation-delay: .24s; }
.colorbar--hero span:nth-child(4) { animation-delay: .36s; }
.colorbar--hero span:nth-child(5) { animation-delay: .48s; }
@keyframes ink-in { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- En-tête ---------- */
.site-head { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-head.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(22, 35, 63, .07); }
.head-inner { display: flex; align-items: center; gap: 24px; min-height: var(--head-h); }
.brand { display: block; flex-shrink: 0; width: clamp(150px, 17vw, 210px); }
.brand-logo { display: block; width: 100%; height: auto; }
.nav { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border: 0; background: none; font-weight: 650; font-size: 1rem; color: var(--ink); text-decoration: none; cursor: pointer; border-radius: var(--radius); }
.nav-link:hover, .has-mega.is-open > .nav-link { color: var(--orange-text); }
.caret { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.has-mega.is-open .caret { transform: translateY(2px) rotate(-135deg); }
.nav-cta { margin-left: 8px; }
.menu-toggle { display: none; }

.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 24px 48px rgba(22, 35, 63, .12); display: none; }
.has-mega.is-open .mega { display: block; }
.mega-inner { width: min(100% - 80px, var(--wrap)); margin-inline: auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; padding: 32px 0 24px; }
.mega-head { display: grid; grid-template-columns: 88px 1fr; gap: 14px; align-items: center; text-decoration: none; color: var(--ink); margin-bottom: 14px; }
.mega-thumb { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 2px; }
.mega-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mega-head strong { display: block; font-size: 1.05rem; font-stretch: var(--wide); }
.mega-head small { display: block; color: var(--muted); font-size: .875rem; line-height: 1.4; margin-top: 2px; }
.mega-head:hover strong { color: var(--orange-text); }
.mega-links { list-style: none; margin: 0; padding: 0; }
.mega-links a { display: block; padding: 7px 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--text); font-size: .975rem; }
.mega-links a:hover { color: var(--orange-text); }
.mega-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .95rem; color: var(--muted); }
.mega-all { font-weight: 700; color: var(--ink); }
.mega-foot span a { color: var(--orange-text); font-weight: 600; }

/* ---------- Accueil : hero ---------- */
.hero { position: relative; isolation: isolate; color: #fff; background: var(--ink-2); min-height: min(88vh, 760px); display: flex; align-items: center; padding: 72px 0 88px; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 24, 48, .94) 0%, rgba(14, 24, 48, .82) 42%, rgba(14, 24, 48, .25) 100%); }
.hero-inner { position: relative; }
.hero-content { max-width: 660px; }
.hero-place { font-weight: 600; color: #ffb689; margin-bottom: 18px; }
.hero h1 { color: #fff; font-size: clamp(2.5rem, 5.6vw, 4.6rem); line-height: 1.02; margin-bottom: 22px; }
.hero-text { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); color: #dfe5ef; max-width: 56ch; margin-bottom: 28px; }
.quick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 36px; }
.quick span { font-size: .9rem; color: #b9c3d4; margin-right: 4px; }
.quick a { padding: 7px 13px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px; font-size: .9rem; text-decoration: none; color: #fff; background: rgba(255, 255, 255, .06); }
.quick a:hover { background: #fff; color: var(--ink); }
.hero-mascot { position: absolute; right: 0; bottom: -88px; width: clamp(170px, 21vw, 290px); height: auto; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .35)); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: #dfe5ef; }
.section--ink h2 { color: #fff; }
.section--ink .lead { color: #c9d1de; }
.section-head { margin-bottom: clamp(28px, 4vw, 44px); }
.section-head--split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; }
.section-head .lead { margin-bottom: 0; }
.link-more { font-weight: 700; color: var(--orange-text); }

/* Univers */
.universes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 48px); }
.universe-media { aspect-ratio: 4 / 3; margin-bottom: 22px; }
.universe h3 { font-size: 1.45rem; margin-bottom: 8px; }
.universe h3 a { text-decoration: none; }
.universe h3 a:hover { color: var(--orange-text); }
.universe > p { color: var(--muted); margin-bottom: 14px; }
.universe-families { list-style: none; margin: 0; padding: 0; }
.universe-families a { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); text-decoration: none; font-weight: 600; color: var(--ink); }
.universe-families a:hover { color: var(--orange-text); }
.universe-families .count { color: var(--muted); font-weight: 500; font-variant-numeric: tabular-nums; }

/* Galerie */
.filters, .tabs, .families { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: .95rem; font-weight: 600; color: var(--ink); text-decoration: none; cursor: pointer; }
.chip:hover { border-color: var(--ink); }
.chip.is-active, .chip[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 15vw, 220px); grid-auto-flow: dense; gap: 30px; }
.shot { position: relative; margin: 0; min-width: 0; }
.shot--big { grid-column: span 2; grid-row: span 2; }
.shot--tall { grid-row: span 2; }
.shot-media { height: 100%; }
.shot figcaption { position: absolute; left: 10px; bottom: 10px; max-width: calc(100% - 20px); background: #fff; padding: 8px 12px 9px; border-radius: 2px; line-height: 1.25; box-shadow: 0 2px 10px rgba(14, 24, 48, .12); }
.shot figcaption a { display: block; font-weight: 700; color: var(--ink); text-decoration: none; font-size: .95rem; }
.shot figcaption span { display: block; color: var(--muted); font-size: .8rem; margin-top: 2px; }
.gallery-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 36px; }
.photo-note { font-size: .8125rem; color: var(--muted); margin: 0; }

/* Étapes (séquence réelle : numérotation) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: step; }
.steps li { counter-increment: step; border-top: 3px solid var(--ink); padding-top: 14px; }
.steps li::before { content: counter(step); display: block; font-size: 3.25rem; font-weight: 800; font-stretch: var(--wide); line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--orange); margin-bottom: 14px; }
.steps strong { display: block; color: var(--ink); font-size: 1.1rem; margin-bottom: 6px; }
.steps span { color: var(--muted); font-size: .975rem; }

/* Atelier */
.atelier { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.atelier .check-list li::before { color: var(--orange); }
.atelier .btn { margin-top: 12px; }
.atelier-photos { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: repeat(2, clamp(150px, 16vw, 220px)); gap: 26px; }
.atelier-photos .a1 { grid-row: span 2; }

/* ---------- Listes ---------- */
.check-list { list-style: none; margin: 0 0 1.2em; padding: 0; }
.check-list li { position: relative; padding: 0 0 10px 28px; }
.check-list li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px; border-left: 2.5px solid var(--orange-text); border-bottom: 2.5px solid var(--orange-text); transform: rotate(-45deg); }
.section--ink .check-list li::before { border-color: var(--orange); }
.check-list--cols { columns: 3 260px; column-gap: 40px; }
.check-list--cols li { break-inside: avoid; }

/* ---------- En-têtes de pages ---------- */
.page-head { background: var(--paper); padding: clamp(32px, 5vw, 56px) 0 clamp(32px, 5vw, 48px); }
.page-head h1 { margin-bottom: .35em; }
.page-head .lead { margin-bottom: 0; }
.page-head .meta { margin: 12px 0 0; font-weight: 600; color: var(--ink); }
.page-head-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.page-head-media { aspect-ratio: 16 / 10; }
.breadcrumb { margin: 0 0 14px; font-size: .875rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: #9aa3b2; }
.breadcrumb a { color: var(--ink); text-decoration: none; font-weight: 600; }
.breadcrumb a:hover { color: var(--orange-text); text-decoration: underline; }

/* ---------- Catalogue ---------- */
.cat-bar { position: sticky; top: var(--head-h); z-index: 20; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.cat-bar-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 12px; }
.tabs { gap: 2px; }
.tab { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; font-weight: 650; color: var(--muted); text-decoration: none; border-bottom: 3px solid transparent; }
.tab:hover { color: var(--ink); }
.tab.is-active { color: var(--ink); border-bottom-color: var(--orange); }
.families--sub { padding-bottom: 12px; }
.chip { min-height: 36px; }
.cat-search { display: flex; flex: 1 1 280px; max-width: 420px; }
.cat-search input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border: 1px solid var(--line); border-right: 0; border-radius: var(--radius) 0 0 var(--radius); font-size: 1rem; background: #fff; }
.cat-search input:focus { outline: none; border-color: var(--ink); }
.cat-search-btn { height: 44px; padding: 0 16px; border: 1px solid var(--ink); border-radius: 0 var(--radius) var(--radius) 0; background: var(--ink); color: #fff; font-weight: 700; cursor: pointer; }
.cat-body { padding-block: 28px clamp(56px, 8vw, 96px); }
.cat-count { color: var(--muted); font-size: .95rem; margin-bottom: 24px; min-height: 1.6em; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 232px), 1fr)); gap: 40px 30px; }
.cards--row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { display: flex; flex-direction: column; min-width: 0; }
.card-link { display: flex; flex-direction: column; text-decoration: none; color: var(--text); flex: 1; }
.card-media { aspect-ratio: 4 / 3; margin-bottom: 14px; }
.card-family { font-size: .8125rem; color: var(--muted); margin-bottom: 4px; }
.card-title { font-weight: 750; font-size: 1.075rem; line-height: 1.25; color: var(--ink); font-stretch: 105%; }
.card-text { color: var(--muted); font-size: .9375rem; line-height: 1.5; margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-link:hover .card-title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.card-quote { align-self: flex-start; margin-top: 10px; padding: 4px 0; font-size: .9rem; font-weight: 700; color: var(--orange-text); text-decoration: none; }
.card-quote:hover { text-decoration: underline; }
.card--post .card-link { padding: 20px; border: 1px solid var(--line); }
.empty { padding: 32px; border: 1px dashed #b9c1ce; border-radius: var(--radius); max-width: 640px; }
.empty p:last-child { margin: 0; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 32px; }
.pagination .page-numbers { display: inline-flex; align-items: center; min-width: 40px; min-height: 40px; justify-content: center; padding: 0 10px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; }
.pagination .current { background: var(--ink); color: #fff; border-color: var(--ink); }
.catalogue .photo-note { margin-top: 32px; }

/* ---------- Fiche produit ---------- */
.product-hero { padding: clamp(28px, 4vw, 48px) 0 clamp(48px, 7vw, 88px); }
.product-hero-inner { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.product-media { position: sticky; top: calc(var(--head-h) + 28px); }
.product-media .frame { aspect-ratio: 4 / 3; }
.product-media .photo-note { margin-top: 14px; }
.product-family { display: inline-block; font-weight: 700; color: var(--orange-text); text-decoration: none; margin-bottom: 10px; }
.product-summary h1 { font-size: clamp(2rem, 3.6vw, 3rem); }
.product-summary .entry { font-size: 1.0625rem; }
.small-title { font-size: 1rem; font-stretch: 100%; margin-bottom: 10px; }
.variants ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 20px; padding: 0; }
.variants li { padding: 6px 12px; background: var(--paper); border-radius: 999px; font-size: .925rem; color: var(--ink); }
.delay { margin-bottom: 16px; }
.product-summary .actions { margin: 8px 0 14px; }
.faq-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font-weight: 700; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { margin: 0 0 18px; color: var(--muted); max-width: 64ch; }
.entry { max-width: 68ch; }
.entry--page h2 { margin-top: 1.6em; font-size: 1.5rem; }

/* ---------- Devis ---------- */
.quote-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.quote-form fieldset { border: 0; padding: 0; margin: 0 0 28px; }
.quote-form legend { font-weight: 800; font-stretch: var(--wide); color: var(--ink); font-size: 1.25rem; margin-bottom: 14px; padding: 0; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.form-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 650; font-size: .95rem; color: var(--ink); }
.field input, .field textarea { width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid #c4cbd6; border-radius: var(--radius); background: #fff; font-size: 1rem; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--orange); outline-offset: 0; border-color: var(--orange); }
.field input[type="file"] { padding: 10px; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 20px; font-size: .95rem; }
.consent input { width: 20px; height: 20px; margin-top: 2px; flex-shrink: 0; }
.consent a { color: var(--orange-text); }
.hp { position: absolute; left: -9999px; }
.notice { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 20px; font-weight: 600; }
.notice.ok { background: #e7f6ec; color: #17602f; }
.notice.error { background: #fdecea; color: #8f2214; }
.quote-aside { background: var(--paper); padding: 28px; border-radius: var(--radius); position: sticky; top: calc(var(--head-h) + 24px); }
.quote-aside h2 { font-size: 1.15rem; margin-bottom: 12px; }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { padding: 8px 0; border-top: 1px solid var(--line); }

/* ---------- Pied de page ---------- */
.site-foot { background: var(--ink-2); color: #c9d1de; }
.foot-cta { background: var(--ink); padding: clamp(40px, 6vw, 72px) 0; }
.foot-cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.foot-cta h2 { color: #fff; max-width: 22ch; margin-bottom: 10px; }
.foot-cta p { margin: 0; max-width: 54ch; }
.foot-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr)); gap: 32px; padding: 56px 0 32px; }
.foot-name { font-weight: 800; font-stretch: var(--wide); font-size: 1.25rem; color: #fff; }
.site-foot address { font-style: normal; }
.site-foot h3 { color: #fff; font-size: 1rem; font-stretch: 100%; margin-bottom: 12px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin-bottom: 8px; }
.site-foot a { color: #c9d1de; text-decoration: none; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.foot-legal { display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 20px 0 28px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .875rem; }

/* ---------- Barre d'action mobile ---------- */
.mobile-bar { display: none; }

/* ---------- Visionneuse ---------- */
.lightbox { width: min(1100px, 94vw); max-height: 94vh; padding: 0; border: 0; border-radius: var(--radius); background: #fff; overflow: visible; }
.lightbox::backdrop { background: rgba(14, 24, 48, .88); }
.lb-frame { position: relative; }
.lb-frame img { display: block; width: 100%; max-height: 74vh; object-fit: contain; background: var(--ink-2); border-radius: var(--radius) var(--radius) 0 0; }
.lb-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 16px 20px; }
.lb-text span { display: block; font-size: .875rem; color: var(--muted); }
.lb-text strong { font-size: 1.15rem; color: var(--ink); font-stretch: var(--wide); }
.lb-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.lb-btn, .lb-close { position: absolute; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); cursor: pointer; }
.lb-btn { top: 37vh; transform: translateY(-50%); }
.lb-prev { left: 12px; }
.lb-next { right: 12px; }
.lb-btn::before { content: ""; position: absolute; inset: 0; margin: auto; width: 12px; height: 12px; border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); }
.lb-prev::before { transform: translateX(2px) rotate(135deg); }
.lb-next::before { transform: translateX(-2px) rotate(-45deg); }
.lb-close { top: 12px; right: 12px; }
.lb-close::before, .lb-close::after { content: ""; position: absolute; left: 14px; right: 14px; top: 23px; height: 2.5px; background: var(--ink); transform: rotate(45deg); }
.lb-close::after { transform: rotate(-45deg); }

/* ---------- Assistant WhatsApp (extension MR A) ---------- */
.adi-float { position: fixed; right: 18px; bottom: 22px; z-index: 60; }
.adi-float a, .adi-float button { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 96px; height: 112px; background: #fff; border: 2px solid var(--orange); border-radius: 20px; box-shadow: 0 8px 25px rgba(0, 0, 0, .25); cursor: pointer; text-decoration: none; animation: adifloat 3s ease-in-out infinite; }
.adi-float img { height: 84px; width: 82px; object-fit: contain; }
.adi-float span { background: #25d366; color: #092b15; border-radius: 20px; padding: 2px 10px; font-size: 12px; font-weight: 800; }
@keyframes adifloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.cards--row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
	:root { --head-h: 64px; }
	.menu-toggle { display: inline-flex; align-items: center; gap: 10px; margin-left: auto; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; font-weight: 700; color: var(--ink); cursor: pointer; }
	.burger { position: relative; width: 18px; height: 12px; }
	.burger::before, .burger::after, .burger span { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
	.burger::before { top: 0; }
	.burger span { top: 5px; }
	.burger::after { bottom: 0; }
	.menu-toggle[aria-expanded="true"] .burger::before { transform: translateY(5px) rotate(45deg); }
	.menu-toggle[aria-expanded="true"] .burger span { opacity: 0; }
	.menu-toggle[aria-expanded="true"] .burger::after { transform: translateY(-5px) rotate(-45deg); }
	.nav { position: fixed; left: 0; right: 0; top: var(--head-h); bottom: 0; z-index: 49; display: none; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 8px clamp(18px, 4vw, 40px) 32px; background: #fff; overflow-y: auto; border-top: 1px solid var(--line); }
	.nav.is-open { display: flex; }
	.nav-list { flex-direction: column; align-items: stretch; gap: 0; }
	.nav-list > li { border-bottom: 1px solid var(--line); }
	.nav-link { width: 100%; justify-content: space-between; min-height: 56px; padding: 0; font-size: 1.125rem; }
	.mega { position: static; box-shadow: none; border: 0; }
	.mega-inner { width: 100%; grid-template-columns: 1fr; gap: 20px; padding: 4px 0 20px; }
	.mega-head { grid-template-columns: 56px 1fr; margin-bottom: 6px; }
	.mega-links a { padding: 9px 0 9px 70px; }
	.nav-cta { margin: 20px 0 0; min-height: 54px; }
	.universes { grid-template-columns: 1fr; }
	.universe { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); column-gap: 28px; align-items: start; }
	.universe-media { grid-row: span 4; margin: 0; }
	.steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.atelier, .product-hero-inner, .page-head-inner, .quote-layout, .faq-layout { grid-template-columns: 1fr; }
	.product-media, .quote-aside { position: static; }
	.hero-mascot { width: 150px; bottom: -96px; }
	.mobile-bar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px clamp(12px, 4vw, 24px) calc(10px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -6px 24px rgba(22, 35, 63, .12); }
	body.has-mobile-bar { padding-bottom: 72px; }
	body.has-mobile-bar .adi-float { bottom: 84px; }
	.cat-search { max-width: none; }
}

@media (max-width: 720px) {
	.gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 42vw; gap: 22px 18px; }
	.shot--big { grid-column: span 2; }
	.shot figcaption { left: 6px; bottom: 6px; padding: 6px 9px; }
	.shot figcaption a { font-size: .85rem; }
	.shot figcaption span { display: none; }
	.universe { display: block; }
	.universe-media { margin-bottom: 18px; }
	.form-grid, .form-grid.three { grid-template-columns: 1fr; }
	.hero { min-height: 0; padding: 48px 0 72px; }
	.hero-mascot { display: none; }
	.quick a { font-size: .85rem; }
	.cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 18px; }
	.card-text { display: none; }
	.cards--row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.foot-grid { grid-template-columns: 1fr; }
	.adi-float a, .adi-float button { width: 74px; height: 90px; }
	.adi-float img { height: 64px; width: 62px; }
	.tabs { flex-wrap: nowrap; overflow-x: auto; width: 100%; scrollbar-width: none; }
	.tab { white-space: nowrap; }
	.families { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
	.chip { white-space: nowrap; }
	.cat-bar { position: static; }
	.cat-search { flex-basis: 100%; }
	.cat-search input { border-right: 1px solid var(--line); border-radius: var(--radius); }
	.cat-search-btn { display: none; }
	.quick { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * clamp(18px, 4vw, 40px)); padding-inline: clamp(18px, 4vw, 40px); }
	.quick a, .quick span { flex: none; }
	.mobile-bar .btn { font-size: .95rem; padding: .6em .7em; white-space: nowrap; }
}

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

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
}
