/* ==========================================================================
   GIC SARL - design 2026
   Palette bordeaux / or, Plus Jakarta Sans, en-tête vitré, cartes douces.
   ========================================================================== */

/* ---------- Variables ---------- */
:root {
  --primary: #8b1518; --primary-600: #a31b1f; --primary-700: #6f0f12; --primary-900: #2b0809;
  --gold: #d9a84e; --gold-600: #bf8f2e; --gold-soft: #fbf1dc;
  --ink: #1d1012; --ink-2: #43302f; --muted: #6c5c5f; --line: rgba(29, 16, 18, .12);
  --paper: #fcf9f6; --sand: #f6efe9; --white: #fff;
  --soft: rgba(139, 21, 24, .08);
  --r-sm: 12px; --r: 18px; --r-lg: 28px;
  --shadow-1: 0 1px 2px rgba(60, 10, 14, .05), 0 10px 30px rgba(60, 10, 14, .07);
  --shadow-2: 0 2px 6px rgba(60, 10, 14, .08), 0 28px 70px rgba(60, 10, 14, .17);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --header-h: 76px;
  --stats-overlap: 54px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { font-family: var(--font); color: var(--ink); background: var(--paper); line-height: 1.65; font-size: 16px; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg, video, iframe { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -.03em; font-weight: 800; }
h1 { font-size: clamp(36px, 5.4vw, 64px); letter-spacing: -.045em; }
h2 { font-size: clamp(28px, 3.6vw, 44px); }
h3 { font-size: 20px; letter-spacing: -.02em; }
p { color: var(--muted); }
::selection { background: rgba(217, 168, 78, .4); }
:focus-visible { outline: 3px solid rgba(217, 168, 78, .85); outline-offset: 3px; border-radius: 6px; }
.icon { width: 1.2em; height: 1.2em; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 10000; background: #fff; color: var(--primary-700); padding: 10px 18px; border-radius: 12px; font-weight: 800; box-shadow: var(--shadow-2); transition: top .2s; }
.skip:focus { top: 12px; }
.wrap { width: min(100% - 32px, 1180px); margin-inline: auto; }
.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.lead { font-size: 18px; line-height: 1.75; color: var(--ink-2); max-width: 62ch; margin-top: 14px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); }
.kicker::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--gold); }
.kicker.light { color: #f4c46b; }
.section { padding: clamp(60px, 8vw, 104px) 0; }
.section-sand { background: var(--sand); }
.section-dark { background: radial-gradient(900px 420px at 100% 0, rgba(217, 168, 78, .16), transparent 60%), linear-gradient(135deg, #1b0809, #4a0d10); color: #fff; }
.section-dark p { color: rgba(255, 255, 255, .74); }
.section-dark h2, .section-dark h3 { color: #fff; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 14px 24px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 700; font-size: 15px; line-height: 1.2; cursor: pointer; white-space: nowrap; transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s, filter .2s; }
.btn .icon { width: 1.05em; height: 1.05em; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--primary-600), var(--primary-700)); box-shadow: 0 10px 24px rgba(139, 21, 24, .3); }
.btn-primary:hover { box-shadow: 0 16px 34px rgba(139, 21, 24, .4); filter: brightness(1.06); }
.btn-gold { color: #2b0809; background: linear-gradient(135deg, #f0c76e, var(--gold)); box-shadow: 0 10px 24px rgba(217, 168, 78, .35); }
.btn-gold:hover { filter: brightness(1.05); box-shadow: 0 16px 34px rgba(217, 168, 78, .45); }
.btn-light { color: var(--primary-700); background: #fff; }
.btn-light:hover { box-shadow: 0 14px 30px rgba(0, 0, 0, .25); }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .08); backdrop-filter: blur(6px); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .2); border-color: #fff; }
.btn-ghost { color: var(--ink); border-color: var(--line); background: #fff; }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }
.btn.loading::after { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .45); border-top-color: #fff; animation: spin .7s linear infinite; }
.text-link, .more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--primary); }
.text-link .icon, .more .icon { transition: transform .2s; width: 1.05em; height: 1.05em; }
.text-link:hover .icon, .more:hover .icon { transform: translateX(4px); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Chargement, progression ---------- */
.loader { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; background: radial-gradient(circle at 25% 20%, rgba(217, 168, 78, .22), transparent 34%), linear-gradient(135deg, #8b1518, #4a0b0e 60%, #120607); transition: opacity .55s ease, visibility .55s ease; }
.loader.hide { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-card { display: grid; justify-items: center; gap: 18px; padding: 34px 38px; border-radius: 30px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(18px); color: #fff; text-align: center; max-width: 88vw; }
.loader-ring { width: 44px; height: 44px; border-radius: 50%; border: 4px solid rgba(255, 255, 255, .22); border-top-color: var(--gold); animation: spin .85s linear infinite; }
.loader-card strong { font-size: 16px; letter-spacing: .02em; }
.scroll-progress { position: fixed; left: 0; top: 0; z-index: 300; height: 3px; width: 100%; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, var(--gold), var(--primary-600)); pointer-events: none; }

/* ---------- Barre supérieure ---------- */
.topbar { background: var(--primary-900); color: rgba(255, 255, 255, .86); font-size: 13px; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 42px; }
.topbar-info { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.topbar-info li { display: flex; align-items: center; gap: 8px; }
.topbar-info .icon { width: 15px; height: 15px; color: var(--gold); }
.topbar-info a:hover { color: #fff; text-decoration: underline; }
.social { display: flex; flex-wrap: wrap; gap: 8px; }
.soc { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .1); transition: background .2s, transform .2s; }
.soc .icon { width: 15px; height: 15px; }
.soc:hover { background: var(--gold); color: #2b0809; transform: translateY(-2px); }

/* ---------- En-tête vitré ---------- */
/* L'effet verre est sur un pseudo-élément : un backdrop-filter sur l'en-tête enfermerait le tiroir mobile (position: fixed). */
.header { position: sticky; top: 0; z-index: 90; border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255, 255, 255, .82); backdrop-filter: blur(18px) saturate(170%); -webkit-backdrop-filter: blur(18px) saturate(170%); transition: background .25s; }
.header.is-stuck { box-shadow: 0 12px 34px rgba(60, 10, 14, .12); }
.header.is-stuck::before { background: rgba(255, 255, 255, .93); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: var(--header-h); }
.nav.wrap { width: min(100% - 32px, 1320px); }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; flex: none; }
.brand-logo { width: 62px; height: 48px; border-radius: 14px; overflow: hidden; background: var(--primary); box-shadow: 0 8px 20px rgba(139, 21, 24, .22); flex: none; }
.brand-logo img { width: 100%; height: 100%; object-fit: cover; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-text strong { font-size: 13px; letter-spacing: -.01em; white-space: normal; max-width: 150px; }
.brand-text small { color: var(--primary); font-weight: 800; letter-spacing: .12em; font-size: 12px; }
.nav-panel { display: flex; align-items: center; gap: 2px; margin-inline: auto; }
.nav-panel-title, .nav-quote-mobile { display: none; }
.nav-link { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 9px 11px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap; transition: background .2s, color .2s; }
.nav-num { display: none; font-size: 12px; font-weight: 800; color: var(--gold-600); }
.nav-link:hover { background: var(--soft); color: var(--primary); }
.nav-link[aria-current] { color: #fff; background: linear-gradient(135deg, var(--primary-600), var(--primary-700)); box-shadow: 0 6px 16px rgba(139, 21, 24, .28); }
.nav-group { position: relative; display: flex; align-items: center; }
.nav-parent { padding-right: 6px; }
.nav-toggle-sub { display: grid; place-items: center; width: 26px; height: 26px; margin-left: -2px; border: 0; border-radius: 50%; background: transparent; color: var(--ink); transition: transform .2s, background .2s; }
.nav-toggle-sub .icon { width: 15px; height: 15px; }
.nav-group.is-current .nav-parent[aria-current] + .nav-toggle-sub { color: var(--primary); }
.nav-sub { position: absolute; top: 100%; left: 0; min-width: 230px; margin-top: 6px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-2); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .18s, transform .18s, visibility .18s; z-index: 5; }
.nav-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-sub a { display: block; padding: 10px 14px; border-radius: 12px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.nav-sub a:hover { background: var(--soft); color: var(--primary); }
.nav-sub a[aria-current] { background: var(--soft); color: var(--primary); }
.nav-group:hover .nav-sub, .nav-group:focus-within .nav-sub, .nav-group.is-open .nav-sub { opacity: 1; visibility: visible; transform: none; }
.nav-group:hover .nav-toggle-sub, .nav-group.is-open .nav-toggle-sub { transform: rotate(180deg); background: var(--soft); }
.nav-tools { display: flex; align-items: center; gap: 10px; flex: none; }
.tool-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--primary); transition: background .2s, color .2s, transform .2s; }
.tool-btn:hover { background: var(--primary); color: #fff; transform: translateY(-1px); }
.tool-btn.on-dark { background: rgba(255, 255, 255, .14); border-color: transparent; color: #fff; }
.nav-quote { padding: 11px 16px; font-size: 13.5px; }
.nav-quote .icon { display: none; }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s, opacity .2s, top .25s; }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 27px; }
.nav-open .burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { top: 21px; transform: rotate(-45deg); }
.nav-backdrop { position: fixed; inset: 0; z-index: 80; background: rgba(18, 6, 7, .5); backdrop-filter: blur(3px); }
.nav-backdrop[hidden] { display: none; }

/* ---------- Sélecteur de langue ---------- */
.lang { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 700; font-size: 13px; color: var(--ink); }
.lang-btn:hover, .lang.is-open .lang-btn { border-color: var(--primary); color: var(--primary); }
.lang-btn .icon { width: 17px; height: 17px; }
.lang-caret { width: 14px !important; height: 14px !important; transition: transform .2s; }
.lang.is-open .lang-caret { transform: rotate(180deg); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 10px); z-index: 120; width: 290px; max-height: min(78vh, 560px); overflow: auto; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-2); }
.lang-menu[hidden] { display: none; }
.lang-group { padding: 8px 12px 4px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.lang-group small { font-weight: 700; color: var(--primary); }
.lang-scroll { display: grid; }
.lang-opt { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border: 0; border-radius: 12px; background: transparent; font-weight: 600; font-size: 15px; text-align: left; }
.lang-opt:hover, .lang-opt:focus-visible { background: var(--soft); outline: 0; }
.lang-badge { display: grid; place-items: center; min-width: 38px; height: 26px; padding: 0 6px; border-radius: 8px; background: var(--sand); font-size: 11px; font-weight: 800; color: var(--ink-2); }
.lang-name { flex: 1; }
.lang-check { width: 18px; height: 18px; color: var(--primary); opacity: 0; }
.lang-opt[aria-current] { background: var(--soft); }
.lang-opt[aria-current] .lang-check { opacity: 1; }
.lang-opt[aria-current] .lang-badge { background: var(--primary); color: #fff; }
/* Widget Google : on garde l'interface du site, on masque la barre de Google */
body { top: 0 !important; }
.skiptranslate > iframe, .goog-te-banner-frame, #goog-gt-tt, .goog-te-balloon-frame { display: none !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
.gt-host { position: absolute; left: -9999px; top: 0; width: 200px; height: 40px; overflow: hidden; opacity: 0; pointer-events: none; }

/* ---------- Bandeau d'accueil ---------- */
.hero { width: min(100% - 32px, 1400px); margin: 16px auto 0; }
.hero-frame { position: relative; overflow: hidden; display: grid; border-radius: 32px; min-height: clamp(540px, 82vh, 720px); background: linear-gradient(135deg, #8b1518, #2b0809); box-shadow: var(--shadow-2); isolation: isolate; }
.hero-slide { grid-area: 1 / 1; position: relative; display: flex; align-items: center; padding: 64px 0 calc(var(--stats-overlap) + 90px); opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility .9s; }
.hero-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.hero-slide.is-active .hero-bg { animation: kenburns 14s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.12); } }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(22, 5, 7, .9) 0, rgba(22, 5, 7, .62) 52%, rgba(22, 5, 7, .12) 100%), linear-gradient(0deg, rgba(22, 5, 7, .55), transparent 45%); }
.hero-copy { position: relative; z-index: 2; width: auto; margin: 0; padding-inline: clamp(24px, 6vw, 84px); max-width: 860px; color: #fff; }
.hero-eyebrow { display: inline-flex; padding: 7px 16px; border-radius: 16px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(8px); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #f8d58e; }
.hero-title { margin: 22px 0 18px; font-size: clamp(34px, 5.4vw, 68px); line-height: 1.04; letter-spacing: -.05em; color: #fff; text-wrap: balance; }
.hero-text { max-width: 58ch; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.7; color: rgba(255, 255, 255, .84); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-actions.center { justify-content: center; }
.hero-slide.is-active .hero-eyebrow, .hero-slide.is-active .hero-title, .hero-slide.is-active .hero-text, .hero-slide.is-active .hero-actions { animation: rise .8s cubic-bezier(.2, .8, .2, 1) both; }
.hero-slide.is-active .hero-title { animation-delay: .08s; } .hero-slide.is-active .hero-text { animation-delay: .16s; } .hero-slide.is-active .hero-actions { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.hero-controls { position: absolute; z-index: 3; left: clamp(24px, 6vw, 84px); bottom: calc(var(--stats-overlap) + 24px); display: flex; align-items: center; gap: 10px; }
.hc-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .12); backdrop-filter: blur(8px); color: #fff; transition: background .2s; }
.hc-btn:hover { background: rgba(255, 255, 255, .28); }
.hero-dots { display: flex; gap: 8px; padding: 0 8px; }
.hero-dots button { display: block; width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .45); transition: width .3s, background .3s; }
.hero-dots button[aria-current] { width: 34px; background: var(--gold); }
.hero-plain .hero-frame { min-height: clamp(380px, 56vh, 520px); align-items: center; }
.hero-plain .hero-copy { grid-area: 1 / 1; align-self: center; }
.stats { position: relative; z-index: 4; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: calc(var(--stats-overlap) * -1); margin-bottom: 0; }
.stat { display: grid; gap: 2px; padding: 22px 26px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-2); }
.stat strong { font-size: clamp(28px, 3.2vw, 40px); letter-spacing: -.04em; color: var(--primary); line-height: 1.1; }
.stat span { font-size: 14px; font-weight: 600; color: var(--muted); }

/* ---------- Mises en page ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split-top { align-items: start; }
.check-list { display: grid; gap: 12px; margin: 24px 0 30px; }
.check-list li { position: relative; padding-left: 34px; font-weight: 600; color: var(--ink-2); }
.check-list li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat; }
.check-list.light li { color: rgba(255, 255, 255, .9); }
.check-list.light li::before { background-color: var(--gold); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b0809' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.section-head h2 { margin-top: 10px; max-width: 22ch; text-wrap: balance; }
.section-head.center { justify-content: center; text-align: center; }
.section-head.center h2 { max-width: 28ch; margin-inline: auto; }
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-1); transition: transform .25s, box-shadow .25s, border-color .25s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); border-color: rgba(139, 21, 24, .2); }

/* Services */
.service-card { display: flex; flex-direction: column; gap: 12px; padding: 30px 28px; }
.service-card.tall { min-height: 320px; }
.svc-ico { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; color: #fff; background: linear-gradient(135deg, var(--primary-600), var(--primary-700)); box-shadow: 0 10px 22px rgba(139, 21, 24, .26); transition: background .25s, color .25s, transform .25s; }
.svc-ico .icon { width: 28px; height: 28px; }
.svc-ico .emoji { font-size: 28px; }
.service-card:hover .svc-ico { background: linear-gradient(135deg, #f0c76e, var(--gold)); color: #2b0809; transform: rotate(-6deg) scale(1.05); }
.service-card h3 { margin-top: 8px; }
.service-card p { font-size: 15.5px; }
.service-card .more { margin-top: auto; padding-top: 6px; }

/* Valeurs */
.values-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.values-layout h2 { margin: 10px 0 16px; }
.value-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.value-grid-3 { grid-template-columns: repeat(3, 1fr); margin-top: 6px; }
.value-item { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--r); background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); transition: background .25s, transform .25s; }
.value-item:hover { background: rgba(255, 255, 255, .11); transform: translateY(-3px); }
.value-item strong { font-size: 26px; letter-spacing: -.04em; color: var(--gold); line-height: 1; }
.value-item h3 { font-size: 18px; }
.value-item p { margin-top: 6px; font-size: 14.5px; }

/* Publications */
.post-card { overflow: hidden; display: flex; flex-direction: column; }
.post-media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand); }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post-card:hover .post-media img { transform: scale(1.06); }
.pill { display: inline-flex; padding: 5px 12px; border-radius: 999px; background: var(--gold-soft); color: var(--primary-700); font-size: 12px; font-weight: 800; letter-spacing: .02em; }
.post-media .pill { position: absolute; left: 14px; top: 14px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(6px); box-shadow: 0 6px 16px rgba(0, 0, 0, .12); }
.post-body { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px 26px; flex: 1; }
.post-date { font-size: 13px; font-weight: 600; color: var(--muted); }
.post-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.post-views { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.post-views .icon { width: 15px; height: 15px; color: var(--primary); }
.post-body h3 a:hover { color: var(--primary); }
.post-body p { font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-body .more { margin-top: auto; padding-top: 8px; }
.media-ph { display: grid; place-items: center; width: 100%; height: 100%; background: linear-gradient(135deg, #8b1518, #2b0809); }
.media-ph img { width: 96px !important; height: auto !important; border-radius: 16px; opacity: .92; object-fit: contain !important; }

/* Partenaires */
.partners-band { overflow: hidden; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 42s linear infinite; padding: 6px 0; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.chip-partner { display: inline-flex; align-items: center; gap: 12px; padding: 16px 26px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-1); font-weight: 700; white-space: nowrap; }
.chip-partner .icon { color: var(--primary); }
.partner-card { padding: 30px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.partner-card .svc-ico { margin-bottom: 4px; }
.partner-card p { font-size: 14.5px; }
.partner-logo { max-height: 60px; width: auto; object-fit: contain; margin-bottom: 4px; }

/* Équipe */
.team-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.team-photo { position: relative; display: block; flex: none; aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; transition: transform .6s var(--ease, ease); }
a.team-photo { cursor: zoom-in; }
.team-card:hover .team-photo img { transform: scale(1.05); }
.team-photo::after { content: ""; position: absolute; inset: auto 0 0; height: 38%; background: linear-gradient(to top, rgba(40, 8, 10, .38), transparent); pointer-events: none; }
.team-zoom { position: absolute; right: 14px; bottom: 14px; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--primary-700); box-shadow: 0 6px 18px rgba(0, 0, 0, .25); opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s; }
.team-zoom .icon { width: 19px; height: 19px; }
.team-card:hover .team-zoom, a.team-photo:focus-visible .team-zoom { opacity: 1; transform: none; }
.team-initials { display: grid; place-items: center; background: linear-gradient(145deg, var(--primary-600), var(--primary-700)); color: #fff; }
.team-initials::after { display: none; }
.team-initials span { font-weight: 800; font-size: clamp(64px, 9vw, 108px); letter-spacing: -.04em; line-height: 1; opacity: .95; }
.team-body { padding: 22px 24px 26px; }
.team-card .role { margin: 6px 0 8px; color: var(--primary); font-weight: 700; font-size: 14.5px; }
.team-card .team-body p:last-child { font-size: 15px; }
@media (hover: none) { .team-zoom { opacity: 1; transform: none; width: 36px; height: 36px; } }
.tag-cloud { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.tag-cloud li { padding: 12px 20px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 700; box-shadow: var(--shadow-1); }

/* Étapes, mise en avant */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 28px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-1); }
.step strong { display: block; margin-bottom: 14px; font-size: 40px; letter-spacing: -.05em; line-height: 1; color: transparent; -webkit-text-stroke: 1.6px var(--primary); }
.step p { margin-top: 8px; font-size: 15px; }
.highlight { display: grid; gap: 18px; padding: 30px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.highlight-item { display: flex; gap: 16px; }
.hi-ico { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 16px; flex: none; background: var(--gold-soft); color: var(--primary-700); }
.highlight-item h3 { margin-bottom: 6px; }

/* Vidéo */
.video-card { position: relative; min-height: 420px; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-2); }
.video-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(20, 4, 6, .78)); }
.play-button { position: absolute; z-index: 2; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; display: grid; place-items: center; border: 0; border-radius: 50%; background: #fff; color: var(--primary); animation: pulse 2s infinite; }
.play-button .icon { width: 30px; height: 30px; margin-left: 4px; fill: currentColor; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .6); } 70% { box-shadow: 0 0 0 26px rgba(255, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }
.video-caption { position: absolute; z-index: 2; left: 28px; right: 28px; bottom: 26px; color: #fff; }
.video-caption strong { display: block; font-size: 22px; }
.video-caption small { opacity: .82; font-size: 14px; }
.video-modal { position: fixed; inset: 0; z-index: 260; display: none; align-items: center; justify-content: center; padding: 18px; background: rgba(10, 3, 4, .8); backdrop-filter: blur(8px); }
.video-modal.open { display: flex; }
.video-modal-box { position: relative; width: min(900px, 100%); border-radius: var(--r-lg); overflow: hidden; background: #120607; box-shadow: var(--shadow-2); }
.video-modal-box .tool-btn { position: absolute; right: 14px; top: 14px; z-index: 2; }
.video-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 8px 10px 8px 20px; background: #120607; }
.video-bar .video-title { overflow: hidden; color: #fff; font-size: 15px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.video-modal-box .video-bar .tool-btn { position: static; flex: none; }
.video-stage iframe, .video-stage video { width: 100%; aspect-ratio: 16 / 9; border: 0; background: #000; }
.video-placeholder { min-height: 420px; display: grid; place-content: center; justify-items: center; gap: 8px; padding: 40px; text-align: center; color: #fff; background: linear-gradient(135deg, #2b0809, #8b1518); }
.video-placeholder .icon { width: 54px; height: 54px; color: #f4c46b; fill: currentColor; }
.video-placeholder h3 { color: #fff; } .video-placeholder p { color: rgba(255, 255, 255, .78); }

/* Bandeau d'appel */
.cta-section { padding-top: 0; }
.cta-card { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: clamp(32px, 5vw, 56px); border-radius: var(--r-lg); color: #fff; background: radial-gradient(500px 300px at 100% 0, rgba(217, 168, 78, .35), transparent 65%), linear-gradient(135deg, var(--primary-600), var(--primary-900)); box-shadow: var(--shadow-2); }
.cta-card h2 { margin: 10px 0 12px; color: #fff; max-width: 24ch; }
.cta-card p { color: rgba(255, 255, 255, .8); max-width: 54ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Pages intérieures ---------- */
.page-head { position: relative; overflow: hidden; padding: clamp(46px, 7vw, 84px) 0 clamp(40px, 6vw, 68px); color: #fff; background: radial-gradient(520px 320px at 92% 0, rgba(217, 168, 78, .32), transparent 65%), linear-gradient(135deg, #1b0809, var(--primary-700) 80%, var(--primary-600)); }
.page-head::after { content: ""; position: absolute; right: -90px; bottom: -150px; width: 380px; height: 380px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .1); box-shadow: 0 0 0 46px rgba(255, 255, 255, .03); }
.page-head .wrap { position: relative; z-index: 1; }
.page-head h1 { margin: 14px 0 0; max-width: 20ch; font-size: clamp(34px, 5vw, 60px); text-wrap: balance; }
.page-head .lead { color: rgba(255, 255, 255, .8); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; font-size: 13.5px; font-weight: 600; color: rgba(255, 255, 255, .7); }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs [aria-current] { color: #f8d58e; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.chip { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 700; font-size: 14px; transition: .2s; }
.chip:hover, .chip.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 44px; }
.pagination a, .pagination span { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 700; }
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination .current { background: var(--primary); border-color: var(--primary); color: #fff; }
.empty-state { text-align: center; padding: 64px 24px; border: 2px dashed var(--line); border-radius: var(--r-lg); background: #fff; }
.empty-state p { margin-top: 8px; }
.not-found { text-align: center; min-height: 58vh; display: grid; align-items: center; }
.not-found h1 { margin: 12px 0; font-size: clamp(40px, 7vw, 80px); }
.not-found .lead { margin-inline: auto; }
.not-found .hero-actions { justify-content: center; }

/* Documents, galerie */
.doc-card { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 30px 28px; }
.doc-badge { display: inline-flex; padding: 7px 14px; border-radius: 12px; background: linear-gradient(135deg, var(--primary-600), var(--primary-700)); color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .06em; }
.doc-meta { font-size: 13px; font-weight: 600; }
.doc-card .btn { margin-top: auto; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-item { position: relative; display: block; overflow: hidden; border-radius: var(--r); aspect-ratio: 4 / 3; box-shadow: var(--shadow-1); cursor: zoom-in; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 38px 18px 14px; color: #fff; font-weight: 700; background: linear-gradient(0deg, rgba(20, 4, 6, .78), transparent); opacity: 0; transition: opacity .3s; }
.gallery-item:hover .gallery-cap, .gallery-item:focus-visible .gallery-cap { opacity: 1; }
.lightbox { position: fixed; inset: 0; z-index: 280; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 20px; background: rgba(10, 3, 4, .93); }
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1100px, 94vw); max-height: 78vh; border-radius: 18px; background: #fff; box-shadow: 0 30px 90px rgba(0, 0, 0, .55); }
.lightbox-caption { color: #fff; font-weight: 700; text-align: center; }
.lightbox button { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font-size: 28px; line-height: 1; }
.lightbox button:hover { background: rgba(255, 255, 255, .3); }
.lb-close { top: 18px; right: 18px; } .lb-prev { left: 18px; top: 50%; margin-top: -24px; } .lb-next { right: 18px; top: 50%; margin-top: -24px; }

/* Détail d'une publication */
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
.article { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 36px); box-shadow: var(--shadow-1); }
.article-cover { width: 100%; max-height: 480px; object-fit: cover; border-radius: var(--r); }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 22px 0 6px; font-size: 14px; font-weight: 600; color: var(--muted); }
.article-meta span { display: inline-flex; align-items: center; gap: 7px; }
.article-meta .icon { width: 16px; height: 16px; color: var(--primary); }
.article-meta .pill { color: var(--primary-700); }
.prose h2 { margin: 34px 0 12px; font-size: clamp(24px, 2.6vw, 32px); }
.prose p { margin: 12px 0; font-size: 17px; line-height: 1.8; color: var(--ink-2); }
.prose .check-list { margin: 16px 0 26px; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); }
.share > span { font-weight: 800; margin-right: 4px; }
.share a, .share button { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 14px; font-weight: 700; transition: .2s; }
.share a:hover, .share button:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.share .icon { width: 16px; height: 16px; }
.comments { margin-top: 38px; padding-top: 30px; border-top: 1px solid var(--line); scroll-margin-top: 110px; }
.comments h2 { font-size: 26px; margin-bottom: 16px; }
.comment-list { display: grid; gap: 18px; margin: 18px 0 26px; }
.comment-list li { display: flex; gap: 14px; }
.comment-avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; flex: none; background: var(--soft); color: var(--primary); font-weight: 800; font-size: 14px; }
.comment-list time { margin-left: 8px; font-size: 13px; color: var(--muted); }
.comment-list p { margin-top: 4px; }
.sidebar { position: sticky; top: calc(var(--header-h) + 18px); display: grid; gap: 18px; }
.side-card { padding: 24px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.side-card h3 { margin-bottom: 14px; font-size: 18px; }
.side-link { display: grid; grid-template-columns: 76px 1fr; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 15px; line-height: 1.3; }
.side-link:last-child { border: 0; padding-bottom: 0; }
.side-link img, .side-link .media-ph { width: 76px; height: 58px; border-radius: 12px; object-fit: cover; }
.side-link:hover span { color: var(--primary); }
.side-link .media-ph img { width: 34px !important; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { padding: 7px 13px; border-radius: 999px; background: var(--soft); color: var(--primary); font-size: 13.5px; font-weight: 700; }
.tag:hover { background: var(--primary); color: #fff; }
.side-cta { color: #fff; border: 0; background: radial-gradient(300px 200px at 100% 0, rgba(217, 168, 78, .35), transparent 70%), linear-gradient(135deg, var(--primary-600), var(--primary-900)); }
.side-cta h3 { color: #fff; } .side-cta p { color: rgba(255, 255, 255, .8); margin-bottom: 16px; }

/* ---------- Formulaires, contact, devis ---------- */
.contact-layout, .quote-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.quote-layout { grid-template-columns: 1.4fr 1fr; }
.contact-list { display: grid; gap: 16px; margin: 26px 0; }
.contact-list li { display: flex; gap: 14px; align-items: center; }
.ci-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; flex: none; background: var(--soft); color: var(--primary); }
.ci-ico.wa { background: rgba(37, 211, 102, .14); color: #12924b; }
.ci-ico .icon { width: 22px; height: 22px; }
.contact-list div { display: grid; line-height: 1.4; }
.contact-list strong { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.contact-list a, .contact-list span:not(.ci-ico) { font-weight: 700; color: var(--ink); }
.contact-list a:hover { color: var(--primary); }
.map-box { height: 300px; margin: 8px 0 14px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-1); scroll-margin-top: 110px; }
.map-box iframe { width: 100%; height: 100%; border: 0; }
.form { display: grid; gap: 18px; }
.form-card { padding: clamp(22px, 3vw, 34px); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-2); scroll-margin-top: 110px; }
.form-card h2 { font-size: 26px; }
.field { display: grid; gap: 7px; }
.field label { font-weight: 700; font-size: 14px; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 16px; border: 1.5px solid rgba(29, 16, 18, .16); border-radius: 14px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--primary); box-shadow: 0 0 0 4px var(--soft); }
.field .invalid { border-color: #d92d20; box-shadow: 0 0 0 3px rgba(217, 45, 32, .12); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-error { color: #b42318; font-size: 13px; font-weight: 700; }
.field-error:empty { display: none; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-weight: 700; font-size: 14.5px; }
.form-status:empty { display: none; }
.form-status.success { padding: 13px 16px; border-radius: 14px; background: #e8f6ee; color: #14532d; border: 1px solid #b7e4c7; }
.form-status.error { padding: 13px 16px; border-radius: 14px; background: #fdecec; color: #7a1414; border: 1px solid #f4bcbc; }
.form-note { font-size: 12.5px; }
.alert { margin: 20px 0 0; padding: 14px 18px; border-radius: 14px; font-weight: 700; font-size: 14.5px; }
.alert-success { background: #e8f6ee; color: #14532d; border: 1px solid #b7e4c7; }
.alert-error { background: #fdecec; color: #7a1414; border: 1px solid #f4bcbc; }
.comment-form { margin-top: 16px; }
.quote-side { position: sticky; top: calc(var(--header-h) + 18px); padding: 34px; border-radius: var(--r-lg); color: #fff; background: radial-gradient(360px 240px at 100% 0, rgba(217, 168, 78, .35), transparent 70%), linear-gradient(135deg, var(--primary-600), var(--primary-900)); box-shadow: var(--shadow-2); }
.quote-side h2 { color: #fff; font-size: 28px; }
.quote-side p { color: rgba(255, 255, 255, .8); margin: 14px 0 6px; }
.quote-side .btn { margin-top: 6px; }

/* ---------- Pied de page ---------- */
.footer { margin-top: 40px; background: radial-gradient(800px 420px at 0 100%, rgba(139, 21, 24, .5), transparent 60%), #150607; color: rgba(255, 255, 255, .78); }
.footer-cta { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; margin-top: -58px; padding: 40px 44px; border-radius: var(--r-lg); color: #fff; background: radial-gradient(420px 260px at 100% 0, rgba(255, 255, 255, .18), transparent 65%), linear-gradient(135deg, var(--primary-600), var(--primary-700)); box-shadow: 0 30px 70px rgba(111, 15, 18, .4); }
.footer-cta h2 { color: #fff; font-size: clamp(26px, 3vw, 38px); }
.footer-cta p { color: rgba(255, 255, 255, .82); margin-top: 8px; max-width: 52ch; }
.footer-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .9fr 1.3fr; gap: clamp(28px, 4vw, 52px); padding: 64px 0 40px; }
.footer .brand-text strong { color: #fff; }
.footer .brand-text small { color: #f3c46b; }
.footer-brand p { margin: 18px 0 20px; max-width: 34ch; color: rgba(255, 255, 255, .66); font-size: 15px; }
.footer h3 { margin-bottom: 18px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #f3c46b; }
.footer-col { display: flex; flex-direction: column; gap: 11px; font-size: 15px; }
.footer-col a:hover, .footer-find a:hover { color: #fff; text-decoration: underline; }
.footer-find { display: grid; gap: 13px; font-style: normal; font-size: 15px; }
.footer-find p { display: flex; gap: 12px; color: rgba(255, 255, 255, .78); }
.footer-find .icon { width: 18px; height: 18px; margin-top: 4px; color: #f3c46b; }
.footer-find .btn { justify-self: start; margin-top: 4px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0 28px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; color: rgba(255, 255, 255, .55); }
.to-top { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: #fff; }
.to-top:hover { color: var(--gold); }

/* ---------- Navigation mobile (barre basse), retour en haut ---------- */
.dock { display: none; }
.scroll-top { position: fixed; left: 22px; bottom: 22px; z-index: 95; display: grid; place-items: center; width: 50px; height: 50px; border: 0; border-radius: 50%; background: #fff; color: var(--primary); box-shadow: var(--shadow-2); opacity: 0; pointer-events: none; transform: translateY(12px); transition: .25s; }
.scroll-top.show { opacity: 1; pointer-events: auto; transform: none; }
.scroll-top:hover { background: var(--primary); color: #fff; }
.nav-open .dock, .nav-open .fab, .nav-open .scroll-top { opacity: 0; visibility: hidden; pointer-events: none; }

/* ---------- Bouton flottant « + » ---------- */
.fab { position: fixed; right: 22px; bottom: 22px; z-index: 120; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; pointer-events: none; }
.fab-row { display: flex; align-items: center; justify-content: flex-end; gap: 14px; }
.fab-hint { position: relative; padding: 11px 18px; border: 0; border-radius: 999px; background: #fff; color: var(--primary-700); font-weight: 800; font-size: 14.5px; line-height: 1.2; white-space: nowrap; box-shadow: 0 14px 34px rgba(60, 6, 9, .24); opacity: 0; visibility: hidden; pointer-events: none; transform: translateX(16px) scale(.94); transition: opacity .4s, transform .5s cubic-bezier(.2, .9, .3, 1.2), visibility .4s; }
.fab-hint::after { content: ""; position: absolute; right: -6px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 3px; background: #fff; transform: rotate(45deg); }
.fab-hint.show { opacity: 1; visibility: visible; transform: none; pointer-events: auto; cursor: pointer; animation: hintBob 2.4s ease-in-out .6s infinite; }
.fab.open .fab-hint { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes hintBob { 0%, 100% { translate: 0 0; } 50% { translate: -4px 0; } }
.fab-backdrop { position: fixed; inset: 0; z-index: -1; background: rgba(18, 6, 7, .4); backdrop-filter: blur(2px); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.fab.open .fab-backdrop { opacity: 1; visibility: visible; pointer-events: auto; }
.fab-toggle { pointer-events: auto; position: relative; display: grid; place-items: center; width: 62px; height: 62px; border: 0; border-radius: 50%; color: #fff; background: linear-gradient(135deg, var(--primary-600), var(--primary-700)); box-shadow: 0 18px 40px rgba(139, 21, 24, .45); transition: transform .25s, box-shadow .25s; }
.fab-toggle:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 24px 50px rgba(139, 21, 24, .55); }
.fab-toggle::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(139, 21, 24, .55); animation: fabPulse 2.8s ease-out infinite; }
.fab.open .fab-toggle::before { animation: none; opacity: 0; }
.fab-plus { position: relative; width: 24px; height: 24px; transition: transform .35s cubic-bezier(.3, 1.5, .5, 1); }
.fab-plus::before, .fab-plus::after { content: ""; position: absolute; left: 50%; top: 50%; background: #fff; border-radius: 3px; }
.fab-plus::before { width: 24px; height: 3px; margin: -1.5px 0 0 -12px; }
.fab-plus::after { width: 3px; height: 24px; margin: -12px 0 0 -1.5px; }
.fab.open .fab-plus { transform: rotate(135deg); }
@keyframes fabPulse { 0% { transform: scale(1); opacity: .9; } 70%, 100% { transform: scale(1.65); opacity: 0; } }
.fab-panel { width: min(360px, calc(100vw - 32px)); padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 28px; box-shadow: 0 30px 80px rgba(60, 6, 9, .34); transform-origin: bottom right; opacity: 0; visibility: hidden; transform: translateY(16px) scale(.93); transition: opacity .22s, transform .28s cubic-bezier(.2, .9, .3, 1.12), visibility .22s; }
.fab.open .fab-panel { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.fab-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 20px; color: #fff; background: radial-gradient(260px 160px at 100% 0, rgba(217, 168, 78, .4), transparent 65%), linear-gradient(135deg, var(--primary-600), var(--primary-700)); }
.fab-avatar { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #fff; overflow: hidden; flex: none; }
.fab-avatar img { width: 36px; height: auto; }
.fab-head strong { display: block; font-size: 16px; letter-spacing: -.01em; }
.fab-head small { font-size: 12.5px; color: rgba(255, 255, 255, .78); }
.fab-bubble { margin: 12px 8px 6px; padding: 12px 16px; border-radius: 4px 18px 18px 18px; background: var(--sand); color: var(--ink-2); font-size: 14px; line-height: 1.5; }
.fab-list { display: grid; gap: 2px; max-height: min(46vh, 380px); overflow-y: auto; overscroll-behavior: contain; padding: 4px 0; }
.fab-list li { opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s; }
.fab.open .fab-list li { opacity: 1; transform: none; }
.fab.open .fab-list li:nth-child(2) { transition-delay: .04s; } .fab.open .fab-list li:nth-child(3) { transition-delay: .08s; } .fab.open .fab-list li:nth-child(4) { transition-delay: .12s; } .fab.open .fab-list li:nth-child(5) { transition-delay: .16s; } .fab.open .fab-list li:nth-child(6) { transition-delay: .2s; } .fab.open .fab-list li:nth-child(n+7) { transition-delay: .24s; }
.fab-item { display: flex; align-items: center; gap: 13px; padding: 9px 12px; border-radius: 18px; transition: background .18s; }
.fab-item:hover, .fab-item:focus-visible { background: var(--soft); }
.fab-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 15px; flex: none; color: #fff; background: var(--c, var(--primary)); box-shadow: 0 8px 18px color-mix(in srgb, var(--c, #8b1518) 35%, transparent); }
.fab-ico .icon { width: 22px; height: 22px; }
.fab-txt { display: grid; min-width: 0; line-height: 1.25; }
.fab-txt strong { font-size: 14.5px; }
.fab-txt small { color: var(--muted); font-size: 12.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fab-go { margin-left: auto; width: 18px; height: 18px; color: #b9a9ab; transition: transform .2s, color .2s; }
.fab-item:hover .fab-go { transform: translateX(3px); color: var(--primary); }
.fab-sep { height: 1px; margin: 6px 14px; background: var(--line); }
.k-whatsapp { --c: #25d366; } .k-gmail { --c: #ea4335; } .k-email { --c: #5f6368; } .k-phone { --c: #8b1518; } .k-devis { --c: #d9a84e; } .k-contact { --c: #8b1518; } .k-map { --c: #34a853; } .k-admin { --c: #18090a; }
.k-facebook { --c: #1877f2; } .k-linkedin { --c: #0a66c2; } .k-x { --c: #111; } .k-youtube { --c: #f00; } .k-instagram { --c: #e1306c; } .k-link { --c: #6f5f61; }

/* ---------- Recherche ---------- */
.search-dialog { width: min(720px, calc(100% - 24px)); margin: 10vh auto auto; padding: 30px; border: 0; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-2); color: var(--ink); }
.search-dialog::backdrop { background: rgba(18, 6, 7, .62); backdrop-filter: blur(6px); }
.search-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.search-head h2 { margin-top: 8px; font-size: 28px; }
.search-form { display: flex; align-items: center; gap: 12px; margin: 22px 0 14px; padding: 0 18px; border: 2px solid var(--line); border-radius: 18px; color: var(--primary); }
.search-form:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px var(--soft); }
.search-form input { flex: 1; min-width: 0; padding: 16px 0; border: 0; outline: 0; background: transparent; font-size: 16px; }
.search-results { display: grid; gap: 8px; max-height: 46vh; overflow: auto; }
.search-results a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--sand); font-weight: 700; }
.search-results a:hover { background: var(--soft); color: var(--primary); }
.search-results em { padding: 3px 10px; border-radius: 999px; background: #fff; color: var(--primary); font-style: normal; font-size: 12px; font-weight: 800; }
.search-results p { padding: 6px 4px; }

/* ---------- Apparition au défilement ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .grid > .reveal:nth-child(2) { transition-delay: .08s; } .js .grid > .reveal:nth-child(3) { transition-delay: .16s; } .js .grid > .reveal:nth-child(4) { transition-delay: .24s; }

/* ---------- Adaptation aux écrans ---------- */
@media (max-width: 1279px) {
  .brand-text strong { display: none; }
  .brand-text small { font-size: 16px; letter-spacing: .1em; }
  .nav-link { padding: 9px 10px; font-size: 14px; }
  .nav-quote { padding: 11px 16px; font-size: 13.5px; }
  .nav-quote .icon { display: none; }
  .footer-grid { grid-template-columns: 1.2fr .8fr .9fr 1.2fr; }
}
@media (max-width: 1180px) {
  :root { --header-h: 68px; }
  .burger { display: block; }
  .nav-quote { display: none; }
  .nav-panel { position: fixed; z-index: 100; top: 0; right: 0; bottom: 0; width: min(380px, 88vw); margin: 0; padding: 22px 20px 28px; display: flex; flex-direction: column; align-items: stretch; gap: 4px; overflow-y: auto; background: #fff; box-shadow: -30px 0 70px rgba(18, 6, 7, .3); clip-path: inset(0 0 0 100%); visibility: hidden; transition: clip-path .34s cubic-bezier(.2, .8, .2, 1), visibility .34s; }
  .nav-open .nav-panel { clip-path: inset(0); visibility: visible; }
  .nav-panel-title { display: block; margin: 4px 8px 10px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
  .nav-num { display: inline; }
  .nav-link { padding: 14px 16px; font-size: 17px; border-radius: 16px; width: 100%; }
  .nav-group { flex-wrap: wrap; }
  .nav-parent { flex: 1; width: auto; }
  .nav-toggle-sub { width: 44px; height: 44px; margin: 0; background: var(--sand); }
  .nav-sub { position: static; flex-basis: 100%; min-width: 0; margin: 0; padding: 4px 0 4px 18px; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; }
  .nav-group.is-open .nav-sub { display: block; }
  .nav-sub::before { display: none; }
  .nav-group:hover .nav-sub:not(.x) { opacity: 1; }
  .nav-quote-mobile { display: inline-flex; margin-top: 18px; }
  .brand-text strong { display: block; max-width: 190px; white-space: normal; font-size: 13.5px; }
  .brand-text small { font-size: 12px; letter-spacing: .12em; }
}
@media (max-width: 980px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split, .values-layout, .contact-layout, .quote-layout { grid-template-columns: 1fr; }
  .detail-layout { grid-template-columns: 1fr; }
  .sidebar, .quote-side { position: static; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .value-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-card { flex-direction: column; align-items: flex-start; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  body { padding-bottom: 74px; }
  .topbar-info li:not(:first-child) { display: none; }
  .hide-sm { display: none !important; }
  .dock { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 110; display: flex; justify-content: space-between; gap: 2px; padding: 6px 5px; border-radius: 24px; background: rgba(255, 255, 255, .9); backdrop-filter: blur(16px) saturate(170%); border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(60, 10, 14, .25); }
  .dock a { display: grid; flex: 1 1 auto; min-width: 0; justify-items: center; gap: 2px; padding: 8px 3px; border-radius: 18px; font-size: clamp(9.3px, 2.75vw, 11px); font-weight: 700; letter-spacing: -.01em; white-space: nowrap; color: var(--muted); }
  .dock a .icon { width: 21px; height: 21px; }
  .dock a[aria-current] { background: var(--primary); color: #fff; }
  .fab { right: 14px; bottom: calc(92px + env(safe-area-inset-bottom)); }
  .fab-toggle { width: 56px; height: 56px; }
  .fab-hint { padding: 9px 14px; font-size: 13.5px; }
  .scroll-top { left: 14px; bottom: calc(92px + env(safe-area-inset-bottom)); width: 46px; height: 46px; }
  /* Barre du bas désactivée (Paramètres → Barre mobile) : plus de marge réservée, boutons flottants au ras du bas de l'écran */
  .no-dock { padding-bottom: 0; }
  .no-dock .fab { bottom: calc(16px + env(safe-area-inset-bottom)); }
  .no-dock .scroll-top { bottom: calc(16px + env(safe-area-inset-bottom)); }
  :root { --stats-overlap: 34px; }
  .stats { grid-template-columns: 1fr; gap: 12px; }
  .stat { padding: 16px 20px; }
  .hero-frame { min-height: 560px; }
  .hero-slide { align-items: flex-end; padding: 48px 0 calc(var(--stats-overlap) + 84px); }
  .hero-shade { background: linear-gradient(0deg, rgba(22, 5, 7, .94) 6%, rgba(22, 5, 7, .55) 62%, rgba(22, 5, 7, .2)); }
  .hero-controls { left: 22px; bottom: calc(var(--stats-overlap) + 18px); }
  .section-head { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 28px; }
  .grid-3, .grid-4, .value-grid, .value-grid-3, .steps, .field-row, .gallery { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; padding-top: 48px; }
  .footer-cta { padding: 28px 24px; margin-top: -44px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .video-card { min-height: 320px; }
  .search-dialog { margin-top: 6vh; padding: 22px; }
}
@media (max-width: 560px) {
  .nav { gap: 8px; }
  .nav-tools { gap: 6px; }
  .tool-btn, .burger, .lang-btn { height: 40px; }
  .tool-btn, .burger { width: 40px; }
  .lang-btn { padding: 0 10px; }
  .lang-caret { display: none; }
  .burger span { left: 10px; right: 10px; }
  .burger span:nth-child(1) { top: 13px; } .burger span:nth-child(2) { top: 19px; } .burger span:nth-child(3) { top: 25px; }
  .nav-open .burger span:nth-child(1), .nav-open .burger span:nth-child(3) { top: 19px; }
  .brand { gap: 9px; }
  .brand-text strong { display: none; }
  .brand-text small { font-size: 15px; }
  .lang-menu { position: fixed; left: 12px; right: 12px; top: 72px; width: auto; }
}
@media (max-width: 420px) {
  .brand-text strong { max-width: 130px; font-size: 12px; }
  .brand-logo { width: 54px; height: 42px; }
  .hero-actions .btn { width: 100%; }
}
@media (max-width: 340px) {                 /* très petits écrans (320 px) : l'en-tête ne doit pas déborder */
  .nav { gap: 4px; }
  .nav-tools { gap: 4px; }
  .brand { gap: 6px; }
  .brand-logo { width: 46px; height: 36px; }
  .brand-text small { font-size: 13px; letter-spacing: .08em; }
  .tool-btn, .burger { width: 38px; }
  .lang-btn { padding: 0 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
}

/* Contenu mis en forme (éditeur de l'administration) */
.prose h3 { margin: 26px 0 8px; font-size: 22px; }
.prose ul, .prose ol { margin: 14px 0 22px; padding-left: 26px; color: var(--ink-2); font-size: 17px; line-height: 1.8; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin: 5px 0; padding-left: 4px; }
.prose li::marker { color: var(--primary); font-weight: 800; }
.prose ul.check-list { list-style: none; padding-left: 0; }
.prose blockquote { margin: 22px 0; padding: 16px 22px; border-left: 4px solid var(--gold); border-radius: 0 var(--r-sm) var(--r-sm) 0; background: var(--gold-soft); color: var(--ink); font-size: 18px; font-style: italic; }
.prose a { color: var(--primary); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.post-gallery { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.post-gallery h2 { margin-bottom: 16px; font-size: 26px; }
.gallery-sm { grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 760px) { .gallery-sm { grid-template-columns: repeat(2, 1fr); } }

/* À la une */
.flag-featured { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px 5px 9px; border-radius: 999px; background: linear-gradient(135deg, #f6d27a, var(--gold)); color: var(--primary-900); font-size: 12px; font-weight: 800; letter-spacing: .02em; box-shadow: 0 6px 16px rgba(0, 0, 0, .18); }
.flag-featured .icon { width: 14px; height: 14px; fill: currentColor; }
.post-media .flag-featured { position: absolute; right: 14px; top: 14px; }
.post-card.is-featured { border-color: rgba(217, 168, 78, .6); }
.article-meta .flag-featured { box-shadow: none; }
/* « À la une » : les 3 dernières publications côte à côte, en cartes image + voile translucide + texte par-dessus ;
   sur téléphone elles restent sur une ligne et défilent horizontalement (accrochage au doigt). */
.featured-row { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.featured-row.count-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.featured-row.count-1 { grid-template-columns: minmax(0, 1fr); }
.feature-card { position: relative; display: flex; align-items: flex-end; min-height: 470px; overflow: hidden; border-radius: var(--r-lg); background: linear-gradient(135deg, var(--primary-900), var(--primary)); color: #fff; box-shadow: var(--shadow-2); isolation: isolate; scroll-snap-align: start; transition: transform .35s ease, box-shadow .35s ease; }
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 2px 6px rgba(60, 10, 14, .1), 0 36px 80px rgba(60, 10, 14, .26); }
.featured-row.count-1 .feature-card { min-height: 500px; }
.feature-card > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.feature-card:hover > img { transform: scale(1.05); }
.feature-ph { position: absolute; inset: 0; z-index: -2; display: grid; place-items: center; }
.feature-ph img { width: 120px; height: auto; border-radius: 18px; opacity: .9; }
.feature-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(22, 5, 7, .9) 2%, rgba(22, 5, 7, .58) 42%, rgba(22, 5, 7, .16) 74%, rgba(22, 5, 7, .02)); }
.feature-copy { display: grid; justify-items: start; gap: 9px; width: 100%; padding: clamp(20px, 2.4vw, 30px); }
.feature-copy h3 { max-width: 24ch; font-size: clamp(21px, 1.9vw, 27px); line-height: 1.18; color: #fff; text-wrap: balance; }
.feature-copy h3 a { color: inherit; }
.feature-copy h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.feature-copy p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; max-width: 52ch; color: rgba(255, 255, 255, .88); font-size: 15px; }
.feature-copy time { font-size: 13px; font-weight: 700; color: rgba(255, 255, 255, .78); }
.feature-copy .btn { position: relative; z-index: 2; margin-top: 4px; }
.feature-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.feature-kind { font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #f4c46b; }
.featured-dots { display: none; justify-content: center; gap: 8px; margin-top: 14px; }
.featured-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 99px; background: rgba(139, 21, 24, .25); cursor: pointer; transition: width .25s ease, background .25s ease; }
.featured-dots button[aria-current="true"] { width: 28px; background: var(--primary); }
@media (max-width: 900px) {
  .featured-row, .featured-row.count-1, .featured-row.count-2 { display: flex; gap: 14px; margin-inline: -16px; padding: 4px 16px 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .featured-row::-webkit-scrollbar { display: none; }
  .feature-card, .featured-row.count-1 .feature-card { flex: 0 0 82%; min-height: 440px; }
  .featured-row.count-1 .feature-card { flex-basis: 100%; }
  .feature-card:hover { transform: none; }
  .featured-dots { display: flex; }
}
@media (prefers-reduced-motion: reduce) { .feature-card, .feature-card > img { transition: none; } }
/* Vidéos YouTube */
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 760px) { .grid-2 { grid-template-columns: 1fr; } }
.vid-card { display: flex; flex-direction: column; overflow: hidden; }
.vid-thumb { position: relative; display: block; width: 100%; padding: 0; border: 0; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(135deg, var(--primary-900), var(--primary)); cursor: pointer; }
.vid-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.vid-card:hover .vid-thumb img { transform: scale(1.05); }
.vid-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 4, 6, .05) 40%, rgba(20, 4, 6, .5)); transition: opacity .3s; }
.vid-play { position: absolute; z-index: 1; left: 50%; top: 50%; display: grid; place-items: center; width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 50%; background: #fff; color: var(--primary); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); transition: transform .25s; }
.vid-play .icon { width: 26px; height: 26px; margin-left: 3px; fill: currentColor; }
.vid-card:hover .vid-play, .vid-thumb:focus-visible .vid-play { transform: scale(1.1); }
.vid-info { display: flex; flex-direction: column; gap: 8px; padding: 18px 22px 22px; }
.vid-info h3 { font-size: 18px; line-height: 1.3; }
.vid-info p { font-size: 15px; }
.vid-info .more { margin-top: 4px; }
.post-videos { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.post-videos h2 { margin-bottom: 16px; font-size: 26px; }

/* Barres de défilement aux couleurs du site */
html { scrollbar-width: thin; scrollbar-color: var(--primary) var(--sand); }
.nav-panel, .lang-menu, .fab-list, .search-results, .rte-area { scrollbar-width: thin; scrollbar-color: var(--primary) transparent; }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--sand); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--primary-600), var(--primary-700)); border-radius: 999px; border: 2px solid var(--sand); }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, var(--gold), var(--gold-600)); }
.nav-panel::-webkit-scrollbar, .lang-menu::-webkit-scrollbar, .fab-list::-webkit-scrollbar, .search-results::-webkit-scrollbar { width: 8px; }
.nav-panel::-webkit-scrollbar-track, .lang-menu::-webkit-scrollbar-track, .fab-list::-webkit-scrollbar-track, .search-results::-webkit-scrollbar-track { background: transparent; }

/* Page « site verrouillé » */
.locked-page { display: grid; place-items: center; min-height: 100vh; padding: 24px; background: radial-gradient(circle at 20% 15%, #a31b1f, transparent 55%), linear-gradient(135deg, #2b0809, #6f0f12); font-family: var(--font); color: #fff; }
.locked-card { width: min(560px, 100%); padding: clamp(28px, 5vw, 48px); border-radius: var(--r-lg); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); box-shadow: 0 30px 90px rgba(0, 0, 0, .4); backdrop-filter: blur(10px); text-align: center; display: grid; justify-items: center; gap: 14px; }
.locked-logo { width: 96px; height: auto; border-radius: 18px; background: #fff; padding: 6px; }
.locked-card .kicker { color: #f4c46b; }
.locked-card h1 { font-size: clamp(24px, 4vw, 34px); color: #fff; }
.locked-card .lead { color: rgba(255, 255, 255, .86); font-size: 17px; }
.locked-contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin-top: 8px; }
.locked-contact a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: #fff; }
.locked-contact .icon { width: 18px; height: 18px; color: #f4c46b; }
