/* ==========================================================================
   Continental Trading Glass — refonte 2026
   ========================================================================== */

:root {
  /* Brand (tiré du logo) */
  --blue: #2b56a0;
  --blue-600: #234a8c;
  --blue-50: #eef3fb;
  --sky: #7db9cc;
  --sky-200: #cfe6ee;
  --coral: #e2583e;

  /* Neutres */
  --navy: #0b1b33;
  --navy-800: #102544;
  --ink: #0f1a2b;
  --text: #3a4657;
  --muted: #6b7686;
  --line: #e2e7ee;
  --bg: #ffffff;
  --bg-soft: #f4f7fa;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(15, 26, 43, .06), 0 2px 8px rgba(15, 26, 43, .04);
  --shadow: 0 10px 30px -10px rgba(15, 26, 43, .18);
  --shadow-lg: 0 30px 60px -20px rgba(11, 27, 51, .35);

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(48px, 5.5vw, 72px);
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.65; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 16px; }

.ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ic--lg { width: 22px; height: 22px; }
.ic--xl { width: 32px; height: 32px; stroke-width: 1.4; }

/* ---------- Typo ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 18px; }
.eyebrow__line { width: 28px; height: 1.5px; background: currentColor; opacity: .7; }
.eyebrow--light { color: var(--sky); }

.h2 { font-size: clamp(26px, 2.9vw, 38px); line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; font-weight: 700; color: var(--ink); }
/* Titres : une seule police ; la fin du titre est seulement mise en couleur */
.h2 em, .hero__title em { font-style: normal; color: inherit; } /* titres : une seule police et une seule couleur */
.nw { white-space: nowrap; } /* mots composés jamais coupés (savoir-faire, Saint-Gobain…) */
.h2--light { color: #fff; }
.h3 { font-size: clamp(22px, 2.1vw, 28px); line-height: 1.2; letter-spacing: -.02em; color: var(--ink); font-weight: 700; margin-bottom: 14px; }
.lead { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; color: var(--ink); opacity: .85; }
.lead--light { color: rgba(255,255,255,.82); opacity: 1; }
strong { color: var(--ink); font-weight: 700; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 700; font-size: 15px; letter-spacing: -.005em; transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; white-space: nowrap; border: 1.5px solid transparent; }
.btn .ic { transition: transform .25s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
.btn--sm { height: 42px; padding: 0 18px; font-size: 14px; }
.btn--lg { height: 56px; padding: 0 28px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -8px rgba(43, 86, 160, .6); }
.btn--primary:hover { background: var(--blue-600); transform: translateY(-1px); box-shadow: 0 12px 26px -10px rgba(43, 86, 160, .7); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--blue); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--sky-200); }
.btn--glass { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn--glass:hover { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.6); }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); font-size: 15px; border-bottom: 1.5px solid currentColor; padding-bottom: 3px; transition: color .2s; }
.link-arrow:hover { color: var(--blue); }

.glass-card { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-radius: var(--radius); }
.glass-card--light { background: rgba(255,255,255,.82); border-color: rgba(255,255,255,.9); box-shadow: var(--shadow); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; }
.topbar { background: var(--navy); color: rgba(255,255,255,.75); font-size: 13px; height: 38px; display: flex; align-items: center; transition: margin-top .35s var(--ease); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.topbar__claim { display: flex; align-items: center; gap: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar__claim strong { color: #fff; font-weight: 600; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 3px rgba(226, 88, 62, .25); flex: none; }
.topbar__links { display: flex; gap: 22px; flex: none; }
.topbar__links a { display: inline-flex; align-items: center; gap: 7px; transition: color .2s; }
.topbar__links a:hover { color: #fff; }
.topbar__links .ic { width: 14px; height: 14px; }

.navbar { height: var(--header-h); display: flex; align-items: center; transition: background .35s var(--ease), box-shadow .35s var(--ease), height .35s var(--ease); }
.navbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
/* Logo : version texte blanc sur fond sombre (photo, en-tête foncé), couleurs d'origine sur l'en-tête blanc. */
.brand { display: inline-flex; flex: none; }
.brand img { display: block; height: 60px; width: auto; aspect-ratio: 699 / 243; transition: height .35s var(--ease); }
.brand__logo--color { display: none !important; }
.site-header.is-scrolled .brand__logo--light { display: none; }
.site-header.is-scrolled .brand__logo--color { display: block !important; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { display: block; white-space: nowrap; padding: 10px 12px; border-radius: 999px; font-size: 15px; font-weight: 600; color: rgba(255,255,255,.88); transition: color .2s, background .2s; }
.nav a:hover { color: #fff; background: rgba(255,255,255,.1); }
.nav a.is-current { color: #fff; }
.nav__cta-mobile { display: none; }
.navbar__actions { display: flex; align-items: center; gap: 10px; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; align-items: center; justify-content: center; color: #fff; border: 1.5px solid rgba(255,255,255,.35); }

.site-header.is-scrolled .topbar { margin-top: -38px; }
.site-header.is-scrolled .navbar { background: rgba(255,255,255,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line), 0 10px 30px -18px rgba(15,26,43,.25); height: 72px; }
.site-header.is-scrolled .brand img { height: 52px; }
.site-header.is-scrolled .nav a { color: var(--text); }
.site-header.is-scrolled .nav a:hover { color: var(--ink); background: var(--bg-soft); }
.site-header.is-scrolled .nav a.is-current { color: var(--blue); background: var(--blue-50); }
.site-header.is-scrolled .burger { color: var(--ink); border-color: var(--line); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; min-height: max(680px, 100svh); display: flex; flex-direction: column; justify-content: flex-end; color: #fff; overflow: hidden; background: var(--navy); isolation: isolate; }
.hero__slides, .hero__shade { position: absolute; inset: 0; z-index: -1; }
.hero__slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1.08); transition: opacity 1.4s var(--ease), transform 8s linear; }
.hero__slide.is-active { opacity: 1; transform: scale(1); }
.hero__shade { background:
  linear-gradient(90deg, rgba(8, 20, 40, .88) 0%, rgba(8, 20, 40, .62) 42%, rgba(8, 20, 40, .12) 75%),
  linear-gradient(0deg, rgba(8, 20, 40, .85) 0%, rgba(8, 20, 40, 0) 38%),
  linear-gradient(180deg, rgba(8, 20, 40, .55) 0%, rgba(8, 20, 40, 0) 22%); }
.hero__inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; padding-top: calc(var(--header-h) + 80px); }
.hero__content { max-width: 800px; }
.hero__title { font-size: clamp(32px, 4.2vw, 56px); line-height: 1.1; letter-spacing: -.025em; text-wrap: balance; font-weight: 700; margin-bottom: 24px; }
.hero__title { text-shadow: 0 2px 30px rgba(8, 20, 40, .35); }
.hero .eyebrow--light { color: #fff; text-shadow: 0 1px 12px rgba(8, 20, 40, .6); }
.hero .eyebrow__line { background: var(--coral); opacity: 1; }
.hero__lead { font-size: clamp(17px, 1.5vw, 20px); color: rgba(255,255,255,.82); max-width: 590px; margin-bottom: 36px; }
.hero__lead strong { color: #fff; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__visual { display: grid; align-items: end; justify-items: end; flex: none; margin-bottom: 8px; }
.hero__visual > * { grid-area: 1 / 1; transition: opacity .8s var(--ease), transform .8s var(--ease); }
.hero__sg { display: block; width: clamp(260px, 26vw, 360px); filter: drop-shadow(0 24px 40px rgba(8, 20, 40, .45)); }
.hero__sg img { width: 100%; height: auto; }

.hero__bottom { margin-top: 56px; padding-bottom: 28px; }
.hero__tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; border-top: 1px solid rgba(255,255,255,.18); }
.hero__tab { text-align: left; padding-top: 16px; display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; position: relative; color: rgba(255,255,255,.55); transition: color .3s; }
.hero__tab:hover, .hero__tab.is-active { color: #fff; }
.hero__tab-n { font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.hero__tab-t { font-size: 14px; font-weight: 600; }
.hero__tab-bar { position: absolute; left: 0; right: 0; top: -1px; height: 2px; overflow: hidden; }
.hero__tab-bar i { display: block; height: 100%; width: 0; background: #fff; }
.hero__tab.is-active .hero__tab-bar i { animation: tabprogress var(--slide-ms, 6500ms) linear forwards; }
.hero.is-paused .hero__tab.is-active .hero__tab-bar i { animation-play-state: paused; }
@keyframes tabprogress { to { width: 100%; } }

/* ==========================================================================
   Stats
   ========================================================================== */
.stats { background: var(--navy); color: #fff; position: relative; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 40px 28px; display: flex; align-items: center; gap: 18px; border-left: 1px solid rgba(255,255,255,.1); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__n { font-size: clamp(40px, 4.4vw, 58px); font-weight: 700; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; background: linear-gradient(180deg, #fff 30%, var(--sky)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__l { font-size: 14px; line-height: 1.4; color: rgba(255,255,255,.7); }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding-block: var(--section); }
/* Depuis le menu, on arrive sur le titre de la section et non sur son espace vide */
.section[id] { scroll-margin-top: calc(12px - var(--section)); }
#climalit-plus { scroll-margin-top: 24px; }
#certificats { scroll-margin-top: 12px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head > div:first-child { max-width: 680px; }
.section-head__aside { max-width: 400px; color: var(--muted); font-size: 16px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.about__media { position: relative; }
.about__media img { width: 100%; }
.about__since { position: absolute; right: 6%; bottom: 4%; padding: 18px 22px; display: flex; align-items: center; gap: 16px; }
.about__since-y { font-family: var(--serif); font-size: 46px; line-height: 1; color: var(--blue); }
.about__since-t { font-size: 13px; line-height: 1.35; color: var(--ink); font-weight: 600; }
.about__body .lead { margin: 22px 0 16px; }
.about__audience-t { margin-top: 30px; margin-bottom: 12px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.audience { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.audience li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-weight: 600; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s; }
.audience li:hover { border-color: var(--sky); box-shadow: var(--shadow-sm); }
.audience .ic { color: var(--blue); }
.about__ctas { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; margin-top: 34px; }

/* ---------- Solutions ---------- */
.solutions { background: var(--bg-soft); }
.sol { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: start; }
.sol__tabs { display: flex; flex-direction: column; gap: 6px; position: sticky; top: calc(var(--header-h) + 16px); }
.sol__tab { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px; text-align: left; font-weight: 700; color: var(--text); border: 1px solid transparent; transition: background .25s, color .25s, border-color .25s, box-shadow .25s; position: relative; }
.sol__tab .ic { width: 20px; height: 20px; color: var(--muted); transition: color .25s; }
.sol__tab span { flex: 1; }
.sol__tab:hover { background: #fff; color: var(--ink); }
.sol__tab.is-active { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.sol__tab.is-active .ic { color: var(--blue); }
.sol__tab.is-active::before { content: ""; position: absolute; left: -1px; top: 14px; bottom: 14px; width: 3px; border-radius: 3px; background: var(--blue); }
.tag { font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .04em; color: var(--coral); background: rgba(226, 88, 62, .1); padding: 3px 8px; border-radius: 99px; }

.sol__panels { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.sol__panel { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 560px; }
.sol__panel.is-active { animation: panelIn .5s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.sol__text { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; align-items: flex-start; }
.sol__text > p { margin-bottom: 18px; }
.sol__text .btn { margin-top: auto; }
.sol__kicker { font-size: 13px; font-weight: 700; color: var(--blue); letter-spacing: .04em; margin-bottom: 10px !important; }
.sol__label { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 10px !important; }

.benefits { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 22px; }
.benefits li { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.benefits .ic { color: var(--blue); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chips li { font-size: 13.5px; font-weight: 600; padding: 7px 13px; border-radius: 99px; background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink); }
.chips--strong li { background: var(--ink); color: #fff; border-color: var(--ink); }
.checklist { display: grid; gap: 10px; margin-bottom: 28px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink); }
.checklist .ic { color: #fff; background: var(--blue); border-radius: 50%; padding: 3px; width: 20px; height: 20px; margin-top: 2px; stroke-width: 2.6; }

.sol__visual { position: relative; overflow: hidden; display: grid; place-items: center; background: linear-gradient(135deg, #e9f1f7, #cfe1ec); min-height: 320px; }
.sol__visual--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sol__visual-tag { position: absolute; left: 16px; bottom: 16px; font-size: 12.5px; font-weight: 700; color: var(--ink); background: rgba(255,255,255,.85); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 7px 12px; border-radius: 99px; }

/* Visuels illustratifs */
.pane { width: 58%; aspect-ratio: 3/4; border-radius: 6px; position: relative; background: linear-gradient(135deg, rgba(255,255,255,.75), rgba(255,255,255,.2) 50%, rgba(255,255,255,.55)); border: 1px solid rgba(255,255,255,.9); box-shadow: 0 30px 60px -25px rgba(11,27,51,.45), inset 0 0 0 6px rgba(255,255,255,.25); }
.sol__visual--timeless { background: linear-gradient(160deg, #dfeef4, #a9cddd); }
.drop { position: absolute; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: radial-gradient(circle at 35% 30%, #fff 0 18%, rgba(255,255,255,.35) 40%, rgba(125,185,204,.35)); box-shadow: 0 3px 6px rgba(11,27,51,.12); }
.d1 { width: 22px; height: 26px; left: 22%; top: 18%; } .d2 { width: 14px; height: 17px; left: 60%; top: 30%; } .d3 { width: 30px; height: 34px; left: 40%; top: 55%; } .d4 { width: 12px; height: 14px; left: 72%; top: 70%; } .d5 { width: 18px; height: 21px; left: 18%; top: 75%; }

.sol__visual--swatches { background: linear-gradient(160deg, #f1f3f6, #dfe4ea); }
.swatches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; width: 66%; }
.swatches span { aspect-ratio: 1; border-radius: 10px; background: linear-gradient(135deg, rgba(255,255,255,.35), rgba(255,255,255,0) 45%), var(--c); box-shadow: 0 12px 24px -12px rgba(11,27,51,.45), inset 0 0 0 1px rgba(0,0,0,.06); transition: transform .3s var(--ease); }
.swatches span:hover { transform: translateY(-4px) scale(1.04); }

.sol__visual--textures { background: linear-gradient(160deg, #e7eef3, #c8dae5); }
.textures { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; width: 74%; }
.tx { margin: 0; aspect-ratio: 1; border-radius: 10px; position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,.9); box-shadow: 0 14px 28px -14px rgba(11,27,51,.4); background-color: #d9e9f0; }
.tx figcaption { position: absolute; left: 8px; bottom: 8px; font-size: 12px; font-weight: 700; color: var(--ink); background: rgba(255,255,255,.85); padding: 3px 9px; border-radius: 99px; }
.tx--visio { background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.85) 0 3px, rgba(140,180,200,.35) 3px 7px, rgba(255,255,255,.5) 7px 9px); }
.tx--estriado { background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.9) 0 10px, rgba(120,165,190,.4) 10px 14px, rgba(255,255,255,.6) 14px 22px); }
.tx--master { background-image: radial-gradient(circle at 30% 30%, rgba(255,255,255,.9), transparent 60%), radial-gradient(circle at 70% 75%, rgba(255,255,255,.7), transparent 55%), linear-gradient(135deg, #cfe2ea, #e9f2f6); filter: blur(.2px); }
.tx--kathedral { background-image: radial-gradient(ellipse 30% 22% at 25% 30%, rgba(255,255,255,.95), transparent), radial-gradient(ellipse 26% 30% at 70% 25%, rgba(255,255,255,.8), transparent), radial-gradient(ellipse 34% 24% at 55% 70%, rgba(255,255,255,.9), transparent), radial-gradient(ellipse 22% 26% at 18% 78%, rgba(255,255,255,.75), transparent), linear-gradient(135deg, #bcd6e2, #e2eef3); }

.sol__visual--laminated { background: linear-gradient(160deg, #1a2f52, #0b1b33); }
.sol__visual--laminated .sol__visual-tag { background: rgba(255,255,255,.12); color: #fff; }
.stack { display: flex; gap: 0; transform: perspective(900px) rotateY(-28deg) rotateX(6deg); }
.stack span { width: 30px; height: 320px; background: linear-gradient(180deg, rgba(190,225,240,.55), rgba(125,185,204,.25)); border: 1px solid rgba(207,230,238,.6); box-shadow: 10px 0 30px -10px rgba(0,0,0,.4); }
.stack span.pvb { width: 8px; background: rgba(226, 88, 62, .55); border-color: rgba(226, 88, 62, .7); }
.stack--thick span { width: 22px; }
.sol__visual--fire { background: radial-gradient(120% 90% at 30% 100%, rgba(226, 88, 62, .55), transparent 60%), radial-gradient(60% 50% at 70% 85%, rgba(255, 170, 70, .35), transparent 70%), linear-gradient(160deg, #1a2f52, #0b1b33); }
.sol__visual--fire .sol__visual-tag { background: rgba(255, 255, 255, .12); color: #fff; }
.stack--fire span { width: 26px; }
.stack--fire span.pvb { width: 12px; background: linear-gradient(180deg, rgba(255, 196, 120, .85), rgba(226, 88, 62, .75)); border-color: rgba(255, 200, 140, .9); box-shadow: 0 0 24px rgba(255, 140, 60, .55); }

/* ---------- Visio Sun spotlight ---------- */
.spotlight { background: radial-gradient(1200px 600px at 85% 10%, rgba(125,185,204,.14), transparent 60%), var(--navy); color: #fff; overflow: hidden; }
.spotlight__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.spotlight__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.spotlight__media img { width: 100%; aspect-ratio: 768/806; object-fit: cover; transition: transform 1s var(--ease); }
.spotlight__media:hover img { transform: scale(1.03); }
.spotlight__video { display: block; width: 100%; aspect-ratio: 768/806; object-fit: cover; background: #0b1a2a; }
.spotlight__side { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; min-width: 0; }
.spotlight__side .spotlight__media { width: 100%; }
.spotlight--reverse .spotlight__side .btn { margin-top: 0; }
.spotlight__cta--mobile { display: none !important; }
/* Vidéo lue automatiquement par-dessus la photo (la photo reste visible le temps du chargement). */
.spotlight__video--over { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; z-index: 1; }
.spotlight__embed { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.spotlight__embed iframe { position: absolute; top: 50%; left: 50%; width: 100%; aspect-ratio: 9 / 16; height: auto; border: 0; transform: translate(-50%, -50%); } /* vidéo verticale : remplit le cadre en largeur, centrée */
.spotlight__media .play { z-index: 2; }
.play { position: absolute; left: 20px; bottom: 20px; display: inline-flex; align-items: center; gap: 14px; padding: 8px 20px 8px 8px; border-radius: 99px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: #fff; font-weight: 700; transition: background .25s; }
.play:hover { background: rgba(255,255,255,.26); }
.play__btn { width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--navy); display: grid; place-items: center; position: relative; }
.play__btn::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(255,255,255,.5); animation: pulse 2s infinite; }
@keyframes pulse { 0% { transform: scale(.9); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
.spotlight__body .lead { margin: 22px 0 32px; }
.spotlight__points { display: grid; gap: 0; margin-bottom: 36px; border-top: 1px solid rgba(255,255,255,.12); }
.spotlight__points li { display: grid; grid-template-columns: 48px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.spotlight__points span { font-family: var(--serif); font-size: 26px; line-height: 1; color: var(--sky); }
.spotlight__points p { color: rgba(255,255,255,.72); font-size: 15.5px; }
.spotlight__points strong { color: #fff; }

/* ---------- Exclusivités ---------- */
.exclus__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.excl { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/5; color: #fff; isolation: isolate; box-shadow: var(--shadow-sm); }
.excl img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .9s var(--ease); }
.excl::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(8,20,40,.85) 0%, rgba(8,20,40,0) 55%); transition: opacity .4s; }
.excl:hover img { transform: scale(1.06); }
.excl__badge { position: absolute; top: 18px; left: 18px; font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 6px 12px; border-radius: 99px; background: rgba(255,255,255,.92); color: var(--ink); }
.excl__badge::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--coral); margin-right: 8px; vertical-align: middle; transform: translateY(-1px); }
.excl__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.excl__t { font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.excl__cta { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: rgba(255,255,255,.75); transform: translateY(6px); opacity: 0; transition: .35s var(--ease); }
.excl:hover .excl__cta, .excl:focus-visible .excl__cta { transform: none; opacity: 1; }

/* ---------- Climalit ---------- */
.climalit { background: var(--bg-soft); }
.climalit__banner { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: clamp(36px, 5vw, 56px); box-shadow: var(--shadow); }
.climalit__banner img { width: 100%; aspect-ratio: 1536/416; object-fit: cover; }
a.climalit__banner { display: block; position: relative; transition: opacity .8s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease); }
a.climalit__banner:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.climalit__banner picture { display: block; }
.climalit__cta { position: absolute; right: clamp(12px, 2vw, 24px); bottom: clamp(12px, 2vw, 24px); display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 99px; background: rgba(255, 255, 255, .92); color: var(--ink); font-weight: 700; font-size: 14px; box-shadow: var(--shadow-sm); transition: background .25s, color .25s; }
a.climalit__banner:hover .climalit__cta { background: var(--blue); color: #fff; }
.section-head__aside p + p { margin-top: -6px; }
@media (max-width: 760px) { .climalit__cta { font-size: 12.5px; padding: 7px 12px; } }
.certs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cert { width: 100%; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.cert:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.cert__img { flex: 0 0 100%; display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 16/11; background: var(--bg-soft); margin-bottom: 12px; position: relative; }
.cert__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.cert:hover .cert__img img { transform: scale(1.04); }
.cert__img::after { content: ""; position: absolute; inset: 0; background: rgba(11,27,51,.0) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35M11 8v6M8 11h6'/%3E%3C/svg%3E") center / 40px no-repeat; opacity: 0; transition: .3s; }
.cert:hover .cert__img::after { background-color: rgba(11,27,51,.35); opacity: 1; }
.cert__name { font-weight: 700; color: var(--ink); font-size: 17px; padding-left: 4px; white-space: nowrap; }
.cert__meta { flex: none; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--blue); padding-right: 4px; }
.cert__meta .ic { width: 15px; height: 15px; }

/* ---------- CTG Intérieur ---------- */
.interieur__banner { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); isolation: isolate; min-height: clamp(320px, 34vw, 440px); display: flex; align-items: center; }
.interieur__banner > picture, .interieur__banner > .interieur__img, .interieur__banner > picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.interieur__banner:not(.interieur__banner--image)::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 20, 40, .88) 0%, rgba(8, 20, 40, .6) 45%, rgba(8, 20, 40, .1) 85%); }
.interieur__body { padding: clamp(28px, 5vw, 64px); max-width: 620px; }
.interieur__body .h2 { margin-bottom: 14px; }
.interieur__logo { margin: 0 0 18px; line-height: 0; }
.interieur__logo img { display: block; width: min(100%, 230px); height: auto; aspect-ratio: 256 / 71; }
.interieur--page .interieur__logo img { width: min(100%, 260px); }
.interieur__text { color: rgba(255, 255, 255, .82); font-size: 17px; margin-bottom: 26px; }
.interieur__banner--image { min-height: 0; transition: opacity .8s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease); }
.interieur__banner--image img { position: static !important; width: 100%; height: auto; }
.interieur__banner--image:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

/* ---------- Réalisations ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter { padding: 10px 18px; border-radius: 99px; font-size: 14.5px; font-weight: 600; border: 1px solid var(--line); color: var(--text); transition: .2s; }
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; gap: 16px; grid-auto-flow: dense; }
.pcard { position: relative; border-radius: var(--radius); overflow: hidden; color: #fff; text-align: left; isolation: isolate; background: var(--navy); }
.pcard--xl { grid-column: span 2; grid-row: span 2; }
.pcard--tall { grid-row: span 2; }
.pcard--wide { grid-column: span 2; }
.pcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .9s var(--ease); }
.pcard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(8,20,40,.85), rgba(8,20,40,0) 55%); }
button.pcard:hover img { transform: scale(1.06); }
.pcard__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 22px; display: flex; flex-direction: column; gap: 2px; }
.pcard__cat { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sky); }
.pcard__t { font-size: 20px; font-weight: 700; letter-spacing: -.015em; line-height: 1.25; }
.pcard--xl .pcard__t { font-size: clamp(22px, 2.4vw, 30px); }
.pcard__count { position: absolute; top: 14px; right: 14px; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; padding: 6px 11px; border-radius: 99px; background: rgba(11,27,51,.45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.2); transition: background .25s; }
.pcard__count .ic { width: 15px; height: 15px; }
button.pcard:hover .pcard__count { background: var(--blue); }
.pcard--text { grid-column: span 2; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding: 24px; color: var(--ink); background: linear-gradient(135deg, var(--blue-50), #dfeaf3); border: 1px solid var(--line); }
.pcard--text::after { display: none; }
.pcard--text .ic { color: var(--blue); margin-bottom: auto; }
.pcard--text .pcard__cat { color: var(--blue); }
.pcard--text .pcard__t { font-size: 22px; }
.pcard--text-dark { background: linear-gradient(135deg, var(--navy-800), var(--navy)); color: #fff; border-color: transparent; }
.pcard--text-dark .ic, .pcard--text-dark .pcard__cat { color: var(--sky); }
.pcard.is-hidden { display: none; }

/* ---------- Références ---------- */
.refs { padding-bottom: calc(var(--section) * .8); }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__list { display: flex; gap: 20px; padding-right: 20px; }
.marquee__list li { width: 170px; height: 110px; flex: none; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .25s, box-shadow .25s; }
.marquee__list li:hover { border-color: var(--sky); box-shadow: var(--shadow-sm); }
.marquee__list img { width: 110px; height: 90px; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .3s, opacity .3s; mix-blend-mode: multiply; }
.marquee__list li:hover img { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; color: #fff; background:
  linear-gradient(100deg, rgba(11,27,51,.95) 0%, rgba(35,74,140,.88) 100%),
  url("../img/hero/hero-2.jpg") center / cover; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-block: clamp(64px, 8vw, 96px); }
.cta-band .h2 { max-width: 720px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: .85fr 1.15fr; grid-template-areas: "info form" "plan form"; grid-template-rows: auto 1fr; column-gap: clamp(40px, 6vw, 80px); row-gap: 32px; align-items: start; }
.contact__info { grid-area: info; }
.contact__grid .cform { grid-area: form; }
.contact__grid .map__plan { grid-area: plan; }
.contact__info .lead { margin: 18px 0 32px; }
.cinfo { display: grid; gap: 22px; margin-bottom: 30px; }
.cinfo li { display: flex; gap: 16px; }
.cinfo__ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); flex: none; }
.cinfo__k { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.cinfo__v { color: var(--ink); font-weight: 600; line-height: 1.55; }
.cinfo__v a:hover { color: var(--blue); }

.socials { display: flex; gap: 10px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--ink); transition: .25s; }
.socials a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.socials--dark a { border-color: rgba(255,255,255,.18); color: #fff; }
.socials--dark a:hover { background: #fff; color: var(--navy); border-color: #fff; }

.cform { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); display: grid; gap: 16px; }
.cform__t { font-size: 22px; font-weight: 700; color: var(--ink); letter-spacing: -.015em; margin-bottom: 6px; }
.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field > span { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 15.5px; color: var(--ink); background: var(--bg-soft); border: 1.5px solid transparent; border-radius: 12px; padding: 13px 15px; transition: border-color .2s, background .2s, box-shadow .2s; appearance: none; -webkit-appearance: none; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7686' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(43,86,160,.12); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--coral); background: #fff; }
.hp { position: absolute; left: -9999px; }
.field__err { color: var(--coral); font-size: 13px; font-weight: 600; line-height: 1.4; }
.captcha > label { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.captcha__row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.captcha__img { height: 50px; width: auto; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg-soft); }
.captcha__refresh { width: 50px; height: 50px; flex: none; border-radius: 12px; display: grid; place-items: center; border: 1.5px solid var(--line); color: var(--ink); transition: border-color .2s, color .2s; }
.captcha__refresh:hover { border-color: var(--blue); color: var(--blue); }
.captcha__refresh.is-spinning .ic { animation: spin .6s linear; }
@keyframes spin { to { transform: rotate(360deg); } }
.field .captcha__row input { flex: 1 1 150px; width: auto; min-width: 0; text-transform: uppercase; letter-spacing: .25em; font-weight: 700; }
.field .captcha__row input::placeholder { text-transform: none; letter-spacing: normal; font-weight: 400; }
.field.is-invalid .captcha__row input { border-color: var(--coral); background: #fff; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); line-height: 1.5; cursor: pointer; }
.consent input { width: 20px; height: 20px; flex: none; margin: 1px 0 0; accent-color: var(--blue); }
.consent a { color: var(--blue); font-weight: 600; text-decoration: underline; }
.consent.is-invalid span { color: var(--coral); }
.cform__foot { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: 4px; }
.cform__note { font-size: 14px; color: var(--muted); }
.cform__note a { color: var(--blue); font-weight: 700; }
.cform__status { font-size: 14.5px; font-weight: 600; min-height: 1em; }
.cform__status.is-ok { color: #1f7a4d; }
.cform__status.is-err { color: var(--coral); }

.map__plan { margin: 0; max-width: 520px; }
.map__plan-btn { display: block; width: 100%; position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--bg-soft); }
.map__plan-btn img { display: block; width: 100%; height: auto; transition: transform .6s var(--ease); }
.map__plan-btn:hover img { transform: scale(1.02); }
.map__zoom { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: #fff; background: rgba(11, 27, 51, .72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 8px 12px; border-radius: 99px; }
.map__zoom .ic { width: 16px; height: 16px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: rgba(255,255,255,.65); padding-top: clamp(64px, 8vw, 96px); font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 56px; }
.footer__logo { display: block; height: 64px; width: auto; aspect-ratio: 699 / 243; margin-bottom: 22px; }
.footer__brand p { max-width: 340px; margin-bottom: 24px; }
.footer__t { color: #fff; font-weight: 700; margin-bottom: 18px; font-size: 15px; }
.footer__links { display: grid; gap: 10px; }
.footer__links a, .footer__contact a { transition: color .2s; }
.footer__links a:hover, .footer__contact a:hover { color: #fff; }
.footer__contact { display: grid; gap: 14px; }
.footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer__contact .ic { color: var(--sky); margin-top: 3px; }
.footer__bottom a { color: rgba(255,255,255,.7); text-decoration: underline; text-underline-offset: 3px; }
.footer__bottom a:hover { color: #fff; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-block: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; color: rgba(255,255,255,.45); }

/* ---------- Pages secondaires ---------- */
.subpage { padding-top: calc(72px + clamp(56px, 8vw, 96px)); padding-bottom: var(--section); }
.page__head { max-width: 780px; margin-bottom: clamp(32px, 5vw, 56px); }
.page__head .lead { margin-top: 18px; }
.prose { max-width: 780px; }
.prose h2 { font-size: clamp(22px, 2.4vw, 26px); color: var(--ink); letter-spacing: -.015em; line-height: 1.25; margin: 44px 0 14px; scroll-margin-top: 100px; }
.prose p, .prose ul, .prose dl { margin: 0 0 14px; }
.prose ul { list-style: disc; padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.prose dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; }
.prose dt { font-weight: 700; color: var(--ink); }
.prose dd { margin: 0; }
.notfound { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 18px; }
.notfound__code { font-family: var(--serif); font-size: clamp(96px, 16vw, 180px); line-height: .9; color: var(--blue); }
.notfound__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }

/* ---------- Floating actions ---------- */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.fab__wa { width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 26px -8px rgba(37,211,102,.6); transition: transform .25s var(--ease); }
.fab__wa .ic { width: 28px; height: 28px; }
.fab__wa:hover { transform: scale(1.07); }
.fab__call { width: 56px; height: 56px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 26px -8px rgba(43, 86, 160, .6); transition: transform .25s var(--ease); position: relative; }
.fab__call::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--blue); animation: pulse 2s infinite; }
.fab__call:hover { transform: scale(1.07); }
.fab__top { width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; box-shadow: var(--shadow); opacity: 0; transform: translateY(10px); pointer-events: none; transition: .3s var(--ease); border: 1px solid var(--line); }
.fab__top.is-visible { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(6, 14, 28, .94); display: grid; grid-template-columns: 80px 1fr 80px; align-items: center; padding: 24px 0; animation: fadeIn .25s ease; }
@keyframes fadeIn { from { opacity: 0; } }
.lightbox__fig { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; min-width: 0; height: 100%; justify-content: center; }
.lightbox__media { width: 100%; display: grid; place-items: center; max-height: calc(100vh - 110px); }
.lightbox__media img { max-width: 100%; max-height: calc(100vh - 110px); object-fit: contain; border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,.5); animation: fadeIn .3s ease; }
.lightbox__media iframe { width: min(1100px, 100%); aspect-ratio: 16/9; border: 0; border-radius: 10px; background: #000; }
.lightbox__media video { max-width: min(1100px, 100%); max-height: calc(100vh - 110px); border-radius: 10px; background: #000; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox__cap { color: rgba(255,255,255,.85); font-size: 15px; display: flex; gap: 16px; align-items: center; }
.lightbox__title { font-weight: 600; }
.lightbox__count { color: rgba(255,255,255,.5); font-variant-numeric: tabular-nums; }
.lightbox__close { position: absolute; top: 18px; right: 18px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.1); transition: background .2s; z-index: 2; }
.lightbox__nav { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.1); justify-self: center; transition: background .2s; }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,.22); }
.lightbox.is-single .lightbox__nav, .lightbox.is-single .lightbox__count { visibility: hidden; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  /* menu burger dès 1180 px : 7 entrées ne tiennent plus sur une ligne en dessous */
  .burger { display: inline-flex; }
  .nav { position: fixed; inset: 0 0 0 auto; width: min(380px, 100%); background: #fff; flex-direction: column; align-items: stretch; gap: 2px; padding: 96px 24px 32px; box-shadow: var(--shadow-lg); transform: translateX(100%); transition: transform .4s var(--ease); z-index: -1; overflow-y: auto; }
  .nav a, .site-header.is-scrolled .nav a { color: var(--ink); font-size: 18px; padding: 14px 16px; border-radius: 12px; }
  .nav a:hover { background: var(--bg-soft); }
  .nav a.is-current, .site-header.is-scrolled .nav a.is-current { color: var(--blue); background: var(--blue-50); }
  .nav__cta-mobile { display: block; margin-top: 16px; }
  .nav .nav__cta-mobile a.btn { display: flex; color: #fff; background: var(--blue); font-size: 16px; padding: 0 22px; border-radius: 999px; }
  .nav-open .nav { transform: none; }
  .nav-open .navbar { backdrop-filter: none; -webkit-backdrop-filter: none; } /* sinon le panneau fixe est piégé dans la barre */
  .nav-open .burger { color: var(--ink); border-color: var(--line); position: relative; z-index: 2; }
  .nav-open .brand__logo--light { display: none; }
  .nav-open .brand__logo--color { display: block !important; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(6,14,28,.45); z-index: 99; opacity: 0; pointer-events: none; transition: opacity .3s; }
  .nav-open .nav-backdrop { opacity: 1; pointer-events: auto; }
  .hide-md { display: none; }
}

@media (max-width: 1024px) {
  :root { --header-h: 76px; }

  .hero__visual { position: absolute; top: calc(38px + var(--header-h) + 12px); right: var(--gutter); margin: 0; }
  .hero__sg { width: 220px; }
  .hero__inner { padding-top: calc(var(--header-h) + 38px + 170px); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 28px 20px; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.1); }

  .about__grid, .spotlight__grid, .contact__grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-areas: "info" "form" "plan"; grid-template-rows: auto; row-gap: clamp(32px, 6vw, 48px); }
  .about__media { max-width: 620px; }
  .spotlight__media { max-width: 560px; }

  .sol { grid-template-columns: 1fr; }
  .sol__tabs { position: static; flex-direction: row; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-snap-type: x mandatory; }
  .sol__tabs::-webkit-scrollbar { display: none; }
  .sol__tab { flex: none; scroll-snap-align: start; background: #fff; border-color: var(--line); padding: 12px 16px; }
  .sol__tab .tag { display: none; }
  .sol__tab.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
  .sol__tab.is-active .ic { color: var(--sky); }
  .sol__tab.is-active::before { display: none; }

  .certs { grid-template-columns: repeat(2, 1fr); }
  .pgrid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 760px) {
  .topbar__claim { display: none; }
  .topbar__inner { justify-content: center; }
  .hide-sm { display: none; }
  .brand img { height: 50px; }
  .site-header.is-scrolled .brand img { height: 44px; }
  .site-header.is-scrolled .navbar { height: 64px; }

  .hero__inner { padding-top: calc(var(--header-h) + 38px + 130px); }
  .hero__visual { top: calc(38px + var(--header-h) + 4px); }
  .hero__sg { width: 190px; }
  .hero__bottom { margin-top: 40px; }
  .hero__tabs { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .hero__tab { grid-template-columns: 1fr; }
  .hero__tab-t { display: none; }
  .hero__ctas .btn { flex: 1 1 100%; }

  .stat { flex-direction: column; align-items: flex-start; gap: 8px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .section-head--center { align-items: center; }
  .audience { grid-template-columns: 1fr; }
  .about__since { right: 0; bottom: -10px; }

  .sol__panel { grid-template-columns: 1fr; min-height: 0; }
  .sol__visual { order: -1; min-height: 240px; aspect-ratio: 16/10; }
  .stack span { height: 190px; }
  .sol__text .btn { margin-top: 4px; }

  .exclus__grid { grid-template-columns: 1fr; }
  .excl { aspect-ratio: 4/3; }
  .excl__cta { opacity: 1; transform: none; }

  .certs { grid-template-columns: 1fr; }
  .pgrid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .pcard--xl, .pcard--wide, .pcard--text { grid-column: auto; grid-row: auto; }
  .pcard--tall { grid-row: auto; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .filter { flex: none; }

  .marquee__list li { width: 140px; height: 96px; }
  .cform__row { grid-template-columns: 1fr; }
  .cform__foot .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr; }
  .cta-band__actions, .cta-band__actions .btn { width: 100%; }
  .cta-band__actions .btn--light { order: 2; }
  .prose dl { grid-template-columns: 1fr; gap: 2px; }
  .prose dd { margin-bottom: 10px; }
  .lightbox { grid-template-columns: 1fr; grid-template-rows: 1fr auto; padding: 72px 12px 24px; }
  .lightbox__fig { grid-row: 1; grid-column: 1; }
  .lightbox__prev, .lightbox__next { position: absolute; bottom: 20px; }
  .lightbox__prev { left: 20px; } .lightbox__next { right: 20px; }
  .lightbox__cap { flex-direction: column; gap: 2px; text-align: center; padding-inline: 70px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}

/* ==========================================================================
   WordPress
   ========================================================================== */
.admin-bar .site-header { top: 32px; }
@media (max-width: 1180px) { .admin-bar .nav { padding-top: calc(96px + 46px); } }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.hero__sg picture, .hero__sg img { display: block; width: 100%; height: auto; }
.about__media picture, .climalit__banner picture, .spotlight__media picture { display: block; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.marquee__list a { display: grid; place-items: center; width: 100%; height: 100%; }
.prose img { border-radius: var(--radius); }

/* ==========================================================================
   Page CTG Interior Design (fond bleu-vert, pied de page assorti)
   ========================================================================== */
.page-interior {
  --interior-accent: #76e3e6;
  --interior-deep: #0d2128;
  --interior-footer: #134842;
  --section: clamp(24px, 2.5vw, 36px); /* blocs plus rapprochés sur cette page */
  background: #11232f;
}
/* Dégradé sur le contenu seulement : il se termine exactement sur la couleur du pied de page */
.interior { padding-top: calc(72px + clamp(24px, 3vw, 40px)); background: linear-gradient(180deg, #11232f 0%, #0d3036 30%, #10393a 60%, var(--interior-footer) 100%); }
.interior > .section:first-child { padding-top: 0; }

/* Bannière : bords dans le ton de la page (et non plus bleu marine) */
.page-interior .interieur__banner { box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .55); }
.page-interior .interieur__banner:not(.interieur__banner--image)::after {
  background: linear-gradient(90deg, rgba(13, 33, 40, .92) 0%, rgba(13, 33, 40, .62) 42%, rgba(13, 33, 40, .08) 82%);
}

/* Accents turquoise */
.page-interior .eyebrow, .page-interior .eyebrow--light { color: var(--interior-accent); }
.page-interior .spotlight__points span { color: var(--interior-accent); }
.page-interior .link-arrow { color: var(--interior-accent); }
.page-interior .link-arrow:hover { color: #fff; }

/* Sections transparentes sur le fond de page */
.page-interior .spotlight { background: transparent; }
.page-interior #visiosun { background: radial-gradient(closest-side at 72% 50%, rgba(16, 112, 112, .32), transparent); } /* s'éteint avant les bords : pas de ligne visible */
.page-interior .exclus .h2 { color: #fff; }

/* Brique de verre : texte à gauche, visuel à droite */
.spotlight--reverse .spotlight__grid { grid-template-columns: 1.1fr .9fr; }
.spotlight--reverse .h2 { margin-bottom: 22px; }
.spotlight--reverse .lead { margin: 0 0 18px; }
.spotlight--reverse .btn { margin-top: 14px; }

/* Exclusivités : cartes plus espacées, comme sur la maquette */
.page-interior .exclus__grid { gap: clamp(20px, 5vw, 72px); }

/* Pied de page dans la couleur de fin du dégradé */
.footer--interior { background: var(--interior-footer); border-top: 1px solid rgba(255, 255, 255, .08); }
.footer--interior .footer__contact .ic { color: var(--interior-accent); }
.footer--interior .footer__bottom { border-top-color: rgba(255, 255, 255, .12); }

/* Lien de menu de la page courante (menus WordPress) */
body:not(.home) .site-header .nav .current-menu-item > a { color: var(--blue); background: var(--blue-50); } /* sur l'accueil, toutes les ancres sont « courantes » pour WordPress */

@media (max-width: 1024px) {
  .spotlight--reverse .spotlight__grid { grid-template-columns: 1fr; }
  .spotlight__cta--desktop { display: none !important; }
  .spotlight__cta--mobile { display: inline-flex !important; }
}

/* ==========================================================================
   Bascule façade ⇄ CTG Interior Design sans rechargement :
   passage par une porte coulissante en verre cannelé dépoli (type Visio Sun)
   ========================================================================== */
.pt-doors { position: fixed; inset: 0; z-index: 9999; pointer-events: none; overflow: hidden; transform-origin: 50% 50%; }
.pt-door {
  position: absolute; top: 0; bottom: 0; width: 50.2%;
  /* cannelures verticales + reflet diagonal + teinte */
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, .22) 46%, rgba(255, 255, 255, 0) 60%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .20) 0 1px, rgba(255, 255, 255, .06) 3px, rgba(0, 0, 0, .05) 9px, rgba(255, 255, 255, .14) 12px),
    var(--pt-tint);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  backdrop-filter: blur(16px) saturate(1.15);
  transition: transform .46s cubic-bezier(.65, 0, .35, 1);
  will-change: transform;
}
.pt-doors--in { --pt-tint: rgba(28, 110, 112, .30); }   /* vers l'intérieur : verre teinté bleu-vert */
.pt-doors--out { --pt-tint: rgba(238, 243, 251, .42); } /* vers la façade : verre clair */
.pt-door--l { left: 0; transform: translateX(-101%); box-shadow: inset -1px 0 0 rgba(255, 255, 255, .7), inset -4px 0 0 rgba(160, 175, 185, .45), 10px 0 30px rgba(0, 0, 0, .12); }
.pt-door--r { right: 0; transform: translateX(101%); box-shadow: inset 1px 0 0 rgba(255, 255, 255, .7), inset 4px 0 0 rgba(160, 175, 185, .45), -10px 0 30px rgba(0, 0, 0, .12); }
/* poignées en aluminium brossé */
.pt-door::after { content: ""; position: absolute; top: 50%; width: 5px; height: clamp(90px, 18vh, 150px); transform: translateY(-50%); border-radius: 4px; background: linear-gradient(90deg, #f4f6f8, #b7c2c9 55%, #dfe5e9); box-shadow: 0 2px 8px rgba(0, 0, 0, .25); }
.pt-door--l::after { right: clamp(14px, 2vw, 26px); }
.pt-door--r::after { left: clamp(14px, 2vw, 26px); }
.pt-doors.is-closed .pt-door { transform: none; }
.pt-doors.is-open .pt-door { transition: transform .78s cubic-bezier(.22, 1, .36, 1); }
.pt-doors.is-open .pt-door--l { transform: translateX(-101%); }
.pt-doors.is-open .pt-door--r { transform: translateX(101%); }
/* vers l'intérieur : on avance à travers la porte (les panneaux grandissent et passent de part et d'autre) */
.pt-doors--in.is-open { transform: scale(1.45); opacity: 0; transition: transform 1.15s cubic-bezier(.4, 0, .2, 1), opacity .5s ease .65s; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .pt-doors--in { --pt-tint: rgba(17, 52, 58, .94); }
  .pt-doors--out { --pt-tint: rgba(244, 247, 250, .96); }
}
/* la nouvelle page s'avance (on entre) ou recule légèrement (on ressort) */
/* vers l'intérieur : la pièce, vue au loin à travers la porte, se rapproche jusqu'à sa taille réelle */
.pt-step-in #main { transform: scale(.86); }
.pt-step-in.pt-settle #main, .pt-settle #main { transition: transform 1.25s cubic-bezier(.33, 0, .15, 1); }
/* vers la façade : on ressort, la façade recule légèrement */
.pt-step-out #main { transform: scale(1.05); }
.pt-wait, .pt-wait * { cursor: progress !important; }
#main:focus { outline: none; }

/* ---------- Sous-menu « CTG Interior Design » (blocs de la page) ---------- */
.nav .menu-item-has-children { position: relative; }
.nav .menu-item-has-children > a { display: flex; align-items: center; gap: 7px; }
.nav .menu-item-has-children > a::after { content: ""; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.6px 1.6px 0; transform: translateY(-2px) rotate(45deg); opacity: .7; transition: transform .25s var(--ease); }
.nav .sub-menu { position: absolute; top: 100%; left: 50%; z-index: 5; width: 300px; margin-top: 8px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .2s, transform .25s var(--ease), visibility .2s; }
.nav .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; } /* pont : le survol ne se perd pas entre le lien et le panneau */
.nav .menu-item-has-children:hover > .sub-menu,
.nav .menu-item-has-children:has(:focus-visible) > .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav .menu-item-has-children:hover > a::after { transform: translateY(1px) rotate(225deg); }
.nav .sub-menu a, .site-header.is-scrolled .nav .sub-menu a { display: flex; align-items: center; gap: 12px; white-space: normal; padding: 11px 14px; border-radius: var(--radius-sm); font-size: 14.5px; line-height: 1.35; color: var(--ink); background: none; }
.nav .sub-menu a::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: #1c6e70; box-shadow: 0 0 0 4px rgba(28, 110, 112, .14); }
.nav .sub-menu a:hover, .site-header.is-scrolled .nav .sub-menu a:hover,
.site-header.is-scrolled .nav .sub-menu a.is-current { color: #1c6e70; background: rgba(28, 110, 112, .08); }

@media (max-width: 1180px) {
  /* le panneau du menu ne doit pas rester piégé dans la barre (en-tête plein : page intérieure, accueil défilé) */
  .nav-open .site-header .navbar, .nav-open .site-header.is-scrolled .navbar { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav .menu-item-has-children > a::after { display: none; }
  .nav .sub-menu { position: static; width: auto; margin: 0 0 6px 18px; padding: 2px 0 2px 12px; background: none; border: 0; border-left: 2px solid rgba(28, 110, 112, .25); border-radius: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; transition: none; }
  .nav .sub-menu::before { display: none; }
  .nav .menu-item-has-children:hover > .sub-menu,
  .nav .menu-item-has-children:has(:focus-visible) > .sub-menu { transform: none; } /* au toucher, :hover reste actif : pas de décalage de moitié vers la gauche */
  .nav .sub-menu a, .site-header.is-scrolled .nav .sub-menu a { font-size: 15.5px; padding: 10px 12px; color: var(--text); }
}

/* ---------- En-tête de la page CTG Interior Design : dans le bleu-vert de la page ---------- */
.page-interior .site-header.is-scrolled .navbar { background: rgba(17, 35, 47, .9); box-shadow: 0 1px 0 rgba(255, 255, 255, .08), 0 10px 30px -18px rgba(0, 0, 0, .6); }
.page-interior .site-header .brand__logo--light, .page-interior.nav-open .brand__logo--light { display: block; }
.page-interior .site-header .brand__logo--color, .page-interior.nav-open .brand__logo--color { display: none !important; }
.page-interior .site-header.is-scrolled .nav a { color: rgba(255, 255, 255, .85); }
.page-interior .site-header.is-scrolled .nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.page-interior .site-header.is-scrolled .nav a.is-current,
body.page-interior .site-header .nav .current-menu-item > a { color: var(--interior-accent); background: rgba(118, 227, 230, .12); }
.page-interior .site-header.is-scrolled .burger { color: #fff; border-color: rgba(255, 255, 255, .3); }
.page-interior .nav .sub-menu { background: #13303a; border-color: rgba(255, 255, 255, .1); }
.page-interior .site-header.is-scrolled .nav .sub-menu a { color: rgba(255, 255, 255, .88); }
.page-interior .nav .sub-menu a::before { background: var(--interior-accent); box-shadow: 0 0 0 4px rgba(118, 227, 230, .15); }
.page-interior .site-header.is-scrolled .nav .sub-menu a:hover,
.page-interior .site-header.is-scrolled .nav .sub-menu a.is-current { color: var(--interior-accent); background: rgba(118, 227, 230, .1); }

@media (max-width: 1180px) {
  .page-interior .nav { background: #11232f; box-shadow: -20px 0 60px -20px rgba(0, 0, 0, .6); }
  .page-interior .site-header.is-scrolled .nav a { color: rgba(255, 255, 255, .9); }
  .page-interior .site-header.is-scrolled .nav a:hover { background: rgba(255, 255, 255, .06); }
  .page-interior.nav-open .burger { color: #fff; border-color: rgba(255, 255, 255, .3); }
  .page-interior .nav .sub-menu { background: none; border-left-color: rgba(118, 227, 230, .3); }
  .page-interior .site-header.is-scrolled .nav .sub-menu a { color: rgba(255, 255, 255, .72); }
  .page-interior .nav .nav__cta-mobile a.btn { color: #fff; }
}
