/* ==========================================================================
   AJ Confort — feuille de style du site
   Couleurs tirées du logo : bleu-canard profond + or
   ========================================================================== */

@font-face {
  font-family: 'Outfit';
  src: url('../fonts/v2/outfit-latin.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/v2/inter-latin.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --teal-950: #061f23;
  --teal-900: #0a2e33;
  --teal-800: #0d3d43;
  --teal-700: #115058;
  --teal-600: #136670;
  --teal-500: #16808a;
  --teal-300: #6cc6c9;
  --teal-100: #e3f2f1;
  --teal-50: #f1f8f7;

  --gold-700: #8f6620;
  --gold-600: #a87a26;
  --gold-500: #c99a3f;
  --gold-400: #ddb45e;
  --gold-200: #f1dcab;
  --gold-50: #fbf5e8;

  --cream: #faf7f1;
  --sand: #f3ede2;
  --white: #fff;
  --ink: #12282b;
  --text: #34494c;
  --muted: #5f7174;
  --line: #e6e0d4;

  --gold-grad: linear-gradient(135deg, #e6c06c 0%, #c99a3f 48%, #a87a26 100%);
  --teal-grad: linear-gradient(135deg, #0d3d43 0%, #0a2e33 60%, #061f23 100%);

  --font-head: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 8px rgba(10, 46, 51, .06);
  --shadow: 0 12px 34px -12px rgba(10, 46, 51, .22);
  --shadow-lg: 0 30px 60px -20px rgba(10, 46, 51, .35);

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

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--teal-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-800); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.015em; font-weight: 700; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); }
p { margin: 0 0 1em; }
strong { color: var(--ink); font-weight: 650; }
::selection { background: var(--gold-200); color: var(--teal-900); }
:focus-visible { outline: 3px solid var(--gold-400); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 820px; }
.section { padding-block: var(--section); position: relative; }
.section--cream { background: var(--cream); }
.section--sand { background: var(--sand); }
.section--dark { background: var(--teal-grad); color: rgba(255, 255, 255, .78); }
.section--dark h2, .section--dark h3, .section--dark strong { color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--teal-900); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Titres de section ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: .82rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--gold-600);
  margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--gold-grad); border-radius: 2px; }
.section--dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--gold-400); }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head p { font-size: 1.1rem; color: var(--muted); margin: 0; }
.section--dark .section-head p { color: rgba(255, 255, 255, .72); }
.text-gold {
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); line-height: 1.6; }

/* ---------- Boutons ---------- */
.btn {
  --btn-bg: var(--teal-800); --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem; letter-spacing: .01em;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 0; border-radius: 999px; cursor: pointer; text-decoration: none;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  position: relative; overflow: hidden; isolation: isolate; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); color: var(--btn-fg); box-shadow: var(--shadow); }
.btn:hover svg.arrow { transform: translateX(4px); }
.btn--gold { background: var(--gold-grad); color: var(--teal-950); box-shadow: 0 10px 24px -10px rgba(201, 154, 63, .8); }
.btn--gold:hover { color: var(--teal-950); box-shadow: 0 16px 32px -12px rgba(201, 154, 63, .9); }
.btn--gold::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn--gold:hover::after { transform: translateX(120%); }
.btn--ghost { background: rgba(8, 14, 16, .3); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55); }
.btn--ghost:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.btn--outline { background: transparent; color: var(--teal-800); box-shadow: inset 0 0 0 1.5px var(--teal-800); }
.btn--outline:hover { background: var(--teal-800); color: #fff; }
.btn--sm { min-height: 44px; padding: 10px 20px; font-size: .95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; color: var(--teal-700); text-decoration: none;
}
.link-arrow svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Mention France Rénov' (obligatoire) ---------- */
.fr-bandeau { position: relative; z-index: 101; background: #fff; color: #243571; border-bottom: 3px solid #243571; font-size: .86rem; line-height: 1.4; }
.fr-bandeau__inner { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 42px; padding-block: 6px; }
.fr-bandeau p { margin: 0; }
.fr-bandeau a { color: #243571; font-weight: 700; text-decoration: underline; }
.fr-bandeau__img { max-height: 54px; width: auto; }
.fr-logo-link { flex: none; display: block; line-height: 0; }
.fr-logo { height: 40px; width: auto; }
.fr-logo--lg { height: 76px; }
.fr-pave { background: #fff; border-top: 1px solid var(--line); padding-block: 28px; }
.fr-pave__inner {
  display: flex; align-items: center; gap: 24px; padding: 22px 28px; border-radius: 16px;
  border: 2px solid #243571; background: #f5f5fe; color: #243571;
}
.fr-pave__inner > div { flex: 1; }
.fr-pave p { margin: 0; font-size: .97rem; }
.fr-pave strong { color: #243571; }
.fr-pave a { color: #243571; font-weight: 700; }
.fr-pave__btn { flex: none; padding: 12px 20px; border-radius: 999px; background: #243571; color: #fff !important; text-decoration: none; font-family: var(--font-head); }
.fr-pave__btn:hover { background: #e1121a; }
.fr-pave__img { max-width: 100%; height: auto; }
@media (max-width: 680px) {
  .fr-bandeau { font-size: .78rem; }
  .fr-bandeau__inner { justify-content: flex-start; gap: 10px; }
  .fr-logo { height: 34px; }
  .fr-pave__inner { flex-direction: column; align-items: flex-start; }
}

/* ---------- Barre supérieure ---------- */
.topbar { background: var(--teal-950); color: rgba(255, 255, 255, .78); font-size: .84rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 40px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--gold-400); }
.topbar__group { display: flex; align-items: center; gap: 22px; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; }
.topbar__item svg { width: 15px; height: 15px; color: var(--gold-400); }

/* ---------- En-tête ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s;
}
.header.is-scrolled { box-shadow: 0 8px 30px -18px rgba(10, 46, 51, .45); border-color: var(--line); }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); transition: height .3s var(--ease); }
.header.is-scrolled .container { height: 70px; }
.brand { display: inline-flex; flex: none; }
.brand img { height: 58px; width: auto; transition: height .3s var(--ease); }
.brand img.brand__light { display: none; }
.header.is-scrolled .brand img { height: 48px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative; padding: 10px 14px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 500; font-size: 1rem; color: var(--ink); text-decoration: none;
  white-space: nowrap; transition: color .2s, background .2s;
}
.nav__link:hover { color: var(--teal-600); background: var(--teal-50); }
.nav__link[aria-current="page"] { color: var(--teal-700); }
.nav__link[aria-current="page"]::after {
  content: ''; position: absolute; left: 50%; bottom: 3px; width: 18px; height: 2px; border-radius: 2px;
  background: var(--gold-grad); transform: translateX(-50%);
}
.header__actions { display: flex; align-items: center; gap: 12px; }
.header__phone {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink);
  font-family: var(--font-head); font-weight: 600; line-height: 1.15;
}
.header__phone small { display: block; font-weight: 500; font-size: .74rem; color: var(--muted); letter-spacing: .02em; }
.header__phone .icon-circle { width: 42px; height: 42px; }
.icon-circle {
  display: inline-grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%;
  background: var(--teal-50); color: var(--teal-600);
}
.icon-circle svg { width: 20px; height: 20px; }
.burger {
  display: none; width: 48px; height: 48px; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--teal-800); color: #fff; place-items: center;
}
.burger span, .burger span::before, .burger span::after {
  display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .3s var(--ease), background .2s;
}
.burger span::before, .burger span::after { content: ''; position: absolute; left: 0; }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }

/* Menu mobile */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--teal-900); color: #fff;
  padding: calc(var(--header-h) + 40px) var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 6px; overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
.mobile-menu a.mobile-menu__link {
  font-family: var(--font-head); font-size: 1.7rem; font-weight: 600; color: #fff; text-decoration: none;
  padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.mobile-menu a.mobile-menu__link[aria-current="page"] { color: var(--gold-400); }
.mobile-menu .btn { margin-top: 24px; }
.mobile-menu__contact { margin-top: 28px; color: rgba(255, 255, 255, .7); font-size: .95rem; }
.mobile-menu__contact a { color: #fff; }
.menu-open { overflow: hidden; }
.menu-open .header { background: transparent; backdrop-filter: none; box-shadow: none; border-color: transparent; }
.menu-open .header__phone { visibility: hidden; }

/* En-tête transparent au-dessus du visuel, blanc après défilement */
.brand__light { display: none; }
.header:not(.is-scrolled) .brand__dark, .menu-open .header .brand__dark { display: none; }
.header:not(.is-scrolled) .brand__light, .menu-open .header .brand__light { display: block; }
.header:not(.is-scrolled) { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.header:not(.is-scrolled) .nav__link { color: rgba(255, 255, 255, .92); }
.header:not(.is-scrolled) .nav__link:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.header:not(.is-scrolled) .nav__link[aria-current="page"] { color: #fff; }
.header:not(.is-scrolled) .header__phone { color: #fff; }
.header:not(.is-scrolled) .header__phone small { color: rgba(255, 255, 255, .7); }
.header:not(.is-scrolled) .icon-circle { background: rgba(255, 255, 255, .12); color: var(--gold-400); }
.header:not(.is-scrolled) .burger { background: rgba(255, 255, 255, .14); }

/* ---------- Hero accueil ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(880px, calc(100svh - 40px));
  display: flex; align-items: center;
  color: rgba(255, 255, 255, .85);
  padding-block: clamp(80px, 10vw, 140px) clamp(120px, 12vw, 170px);
  margin-top: calc(var(--header-h) * -1);
  padding-top: calc(var(--header-h) + clamp(60px, 8vw, 110px));
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; animation: heroZoom 18s ease-out both; }
/* voile neutre uniquement derrière le texte : la photo reste nette et lumineuse */
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 14, 16, .82) 0%, rgba(8, 14, 16, .62) 34%, rgba(8, 14, 16, .18) 62%, rgba(8, 14, 16, 0) 80%),
    linear-gradient(to top, rgba(8, 14, 16, .55) 0%, rgba(8, 14, 16, 0) 30%),
    linear-gradient(to bottom, rgba(8, 14, 16, .45) 0%, rgba(8, 14, 16, 0) 22%);
}
.hero h1, .hero .lead, .hero__checks { text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.hero h1 .rotator { padding-bottom: .12em; }
.hero h1 .rotator > span { position: relative; justify-self: start; }
.hero h1 .rotator > span::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -.1em; height: .2em; background: var(--gold-grad);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 14' preserveAspectRatio='none'%3E%3Cpath d='M3 10 C 80 2, 200 2, 297 8' fill='none' stroke='black' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 14' preserveAspectRatio='none'%3E%3Cpath d='M3 10 C 80 2, 200 2, 297 8' fill='none' stroke='black' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  transform: scaleX(0); transform-origin: left; transition: transform .8s .25s var(--ease);
}
.hero h1 .rotator > span.is-active::after { transform: scaleX(1); }
@keyframes heroZoom { from { transform: scale(1.05); } to { transform: scale(1); } }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 56px; align-items: center; width: 100%; }
.hero h1 { color: #fff; margin-bottom: 22px; font-size: clamp(2.3rem, 4.6vw, 3.7rem); }
.hero h1 .rotator { display: inline-grid; vertical-align: bottom; }
.hero h1 .rotator > span {
  grid-area: 1 / 1; white-space: nowrap;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0; transform: translateY(40%); transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.hero h1 .rotator > span.is-active { opacity: 1; transform: none; }
.hero h1 .rotator > span.is-leaving { opacity: 0; transform: translateY(-40%); }
.hero .lead { max-width: 600px; color: rgba(255, 255, 255, .82); margin-bottom: 34px; }
.hero__checks { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 38px; padding: 0; list-style: none; font-size: .95rem; }
.hero__checks li { display: inline-flex; align-items: center; gap: 9px; color: rgba(255, 255, 255, .9); }
.hero__checks svg { width: 20px; height: 20px; color: var(--gold-400); flex: none; }
.badge-pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 8px; margin-bottom: 26px;
  border-radius: 999px; background: rgba(8, 14, 16, .45); border: 1px solid rgba(255, 255, 255, .22);
  font-size: .88rem; color: #fff;
}
.badge-pill b { background: var(--gold-grad); color: var(--teal-950); border-radius: 999px; padding: 3px 10px; font-family: var(--font-head); font-size: .78rem; letter-spacing: .04em; }

.hero-card {
  position: relative; color: var(--text); isolation: isolate;
  background: linear-gradient(#fff, #fff) padding-box, var(--gold-grad) border-box;
  border: 1.5px solid transparent;
  border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-lg);
}
.hero-card h2 { font-size: 1.45rem; margin-bottom: 6px; padding-right: 120px; }
.hero-card > p { font-size: .95rem; color: var(--muted); margin-bottom: 20px; }
.hero-card__list { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 12px; }
.hero-card__list li { display: flex; gap: 12px; align-items: center; font-weight: 500; color: var(--ink); font-size: .97rem; }
.hero-card__list .icon-circle { width: 40px; height: 40px; }
.hero-card__list .icon-circle svg { width: 18px; height: 18px; }
.hero-card .btn { width: 100%; }
.hero-card__foot { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; font-size: .85rem; color: var(--muted); }
.hero-card__foot svg { width: 16px; height: 16px; color: var(--teal-500); }
.hero-card__float {
  position: absolute; right: -26px; top: -30px; display: flex; align-items: center; gap: 12px;
  background: var(--teal-900); color: #fff; padding: 12px 18px 12px 12px; border-radius: 16px; box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}
.hero-card__float img { width: 46px; height: auto; border-radius: 8px; background: #fff; padding: 3px; }
.hero-card__float strong { color: #fff; display: block; font-family: var(--font-head); line-height: 1.2; }
.hero-card__float span { font-size: .8rem; color: rgba(255, 255, 255, .7); }
.hero__scroll {
  position: absolute; left: 50%; bottom: 110px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .45); border-radius: 14px;
}
.hero__scroll::after { content: ''; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: scrolldot 1.8s infinite; }

@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes scrolldot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Bande de confiance (labels) ---------- */
.trustbar { position: relative; z-index: 3; margin-top: -78px; }
.trustbar__inner {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 32px; padding: 26px 34px;
}
.trustbar__title { font-family: var(--font-head); font-weight: 600; color: var(--ink); line-height: 1.3; font-size: 1.02rem; max-width: 190px; }
.trustbar__title small { display: block; font-family: var(--font-body); font-weight: 400; color: var(--muted); font-size: .84rem; margin-top: 4px; }
.trustbar__logos { display: flex; align-items: center; justify-content: space-around; gap: 28px; flex-wrap: wrap; }
.trustbar__logos img { height: 64px; width: auto; object-fit: contain; filter: grayscale(.15); transition: transform .3s var(--ease), filter .3s; }
.trustbar__logos img:hover { transform: scale(1.06); filter: none; }

/* ---------- Chiffres clés ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { padding: 8px 4px; border-left: 2px solid rgba(201, 154, 63, .5); padding-left: 22px; }
.stat__num { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.4rem, 4.4vw, 3.4rem); line-height: 1; color: var(--ink); letter-spacing: -.02em; }
.section--dark .stat__num { color: #fff; }
.stat__num .unit { font-size: .5em; margin-left: 4px; color: var(--gold-500); }
.stat__label { margin-top: 10px; font-size: .95rem; color: var(--muted); }
.section--dark .stat__label { color: rgba(255, 255, 255, .7); }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.service-card {
  grid-column: span 2; position: relative; display: flex; flex-direction: column;
  background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  border: 1px solid var(--line); text-decoration: none; color: inherit;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.service-card:nth-child(4), .service-card:nth-child(5) { grid-column: span 3; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; color: inherit; }
.service-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand); }
.service-card:nth-child(4) .service-card__media, .service-card:nth-child(5) .service-card__media { aspect-ratio: 16 / 8; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.service-card:hover .service-card__media img { transform: scale(1.07); }
.service-card__num {
  position: absolute; top: 16px; left: 16px; font-family: var(--font-head); font-weight: 700; font-size: .85rem;
  background: rgba(255, 255, 255, .92); color: var(--teal-800); padding: 5px 12px; border-radius: 999px;
}
.service-card__body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.service-card__icon {
  width: 56px; height: 56px; margin-top: -54px; margin-bottom: 16px; position: relative;
  display: grid; place-items: center; border-radius: 16px; background: var(--gold-grad); color: var(--teal-950);
  box-shadow: 0 10px 20px -8px rgba(168, 122, 38, .7);
}
.service-card__icon svg { width: 26px; height: 26px; }
.service-card h3 { margin-bottom: 8px; }
.service-card p { color: var(--muted); font-size: .98rem; flex: 1; }
.service-card .link-arrow { margin-top: 6px; }

/* ---------- Bloc image + texte ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.split--reverse > :first-child { order: 2; }
.media-stack { position: relative; padding: 0 0 50px 0; }
.media-stack__main { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3.4; }
.media-stack__main img { width: 100%; height: 100%; object-fit: cover; }
.media-stack__small {
  position: absolute; right: -24px; bottom: 0; width: 46%; border-radius: var(--radius); overflow: hidden;
  border: 6px solid #fff; box-shadow: var(--shadow-lg); aspect-ratio: 1;
}
.media-stack__small img { width: 100%; height: 100%; object-fit: cover; }
.media-stack__badge {
  position: absolute; left: -20px; top: 34px; background: var(--teal-900); color: #fff; border-radius: 20px;
  padding: 18px 22px; box-shadow: var(--shadow-lg); text-align: center; animation: float 7s ease-in-out infinite;
}
.media-stack__badge strong { display: block; font-family: var(--font-head); font-size: 2.2rem; line-height: 1; color: var(--gold-400); margin-top: 6px; }
.media-stack__badge span { display: block; line-height: 1.3; }
.media-stack__badge span { font-size: .82rem; color: rgba(255, 255, 255, .78); }

.feature-list { list-style: none; padding: 0; margin: 30px 0 34px; display: grid; gap: 22px; }
.feature-list li { display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: start; }
.feature-list .icon-circle { width: 52px; height: 52px; background: var(--gold-50); color: var(--gold-600); }
.feature-list h3 { font-size: 1.12rem; margin: 4px 0 4px; }
.feature-list p { margin: 0; color: var(--muted); font-size: .97rem; }

/* ---------- Étapes ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; position: relative; counter-reset: step; }
.steps::before {
  content: ''; position: absolute; top: 34px; left: 12%; right: 12%; height: 2px;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .25) 0 8px, transparent 8px 16px);
}
.steps__progress { position: absolute; top: 34px; left: 12%; height: 2px; width: 0; max-width: 76%; background: var(--gold-grad); transition: width 1.8s var(--ease); }
.steps.is-visible .steps__progress { width: 76%; }
.step { position: relative; text-align: center; padding: 0 6px; }
.step__num {
  position: relative; z-index: 1; width: 68px; height: 68px; margin: 0 auto 22px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 1.35rem;
  background: var(--teal-800); color: var(--gold-400); border: 2px solid rgba(201, 154, 63, .55);
  box-shadow: 0 0 0 8px rgba(255, 255, 255, .04);
}
.step__num svg { width: 26px; height: 26px; }
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { font-size: .95rem; margin: 0; }
.section:not(.section--dark) .steps::before { background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 16px); }
.section:not(.section--dark) .step__num { background: #fff; color: var(--teal-700); box-shadow: var(--shadow); }
.section:not(.section--dark) .step p { color: var(--muted); }

/* ---------- Simulateur ---------- */
.simulator { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 70px); align-items: start; }
.simulator__aside { position: sticky; top: calc(var(--header-h) + 30px); }
.simulator__frame { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--line); }
.simulator__frame iframe { width: 100%; border: 0 !important; outline: 0 !important; min-height: 870px; }
.check-list { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list svg { width: 22px; height: 22px; flex: none; color: var(--teal-500); margin-top: 2px; }
.section--dark .check-list svg { color: var(--gold-400); }
.powered { display: inline-flex; align-items: center; gap: 10px; font-size: .85rem; color: var(--muted); }
.powered img { height: 22px; width: auto; }

/* ---------- Aides ---------- */
.aids-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.aid-card {
  position: relative; padding: 30px 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  text-decoration: none; color: inherit; display: flex; flex-direction: column; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.aid-card::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--gold-grad); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.aid-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); color: inherit; }
.aid-card:hover::after { transform: scaleX(1); }
.aid-card__tag { font-family: var(--font-head); font-weight: 700; font-size: 1.9rem; color: var(--teal-700); line-height: 1; margin-bottom: 14px; }
.aid-card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.aid-card p { font-size: .94rem; color: var(--muted); flex: 1; margin-bottom: 16px; }

/* ---------- Réalisations ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 16px; }
.gallery__item { position: relative; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: var(--sand); border: 0; padding: 0; }
.gallery__item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery__item:nth-child(4) { grid-row: span 2; }
.gallery__item:nth-child(6) { grid-column: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery__item::after {
  content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6, 31, 35, .82), transparent 55%);
  opacity: .7; transition: opacity .35s;
}
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item:hover::after { opacity: 1; }
.gallery__caption {
  position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; text-align: left;
  font-family: var(--font-head); color: #fff; font-weight: 600; font-size: 1rem; line-height: 1.3;
}
.gallery__caption small { display: block; font-family: var(--font-body); font-weight: 400; font-size: .8rem; color: var(--gold-200); margin-bottom: 2px; letter-spacing: .04em; text-transform: uppercase; }

.lightbox {
  position: fixed; inset: 0; z-index: 300; background: rgba(4, 20, 23, .94); display: grid; place-items: center; padding: 60px 20px;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity .3s; }
.lightbox img { max-height: 82vh; width: auto; border-radius: 14px; box-shadow: var(--shadow-lg); }
.lightbox__caption { color: rgba(255, 255, 255, .85); text-align: center; margin-top: 14px; font-family: var(--font-head); }
.lightbox__btn {
  position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; transition: background .2s;
}
.lightbox__btn:hover { background: rgba(255, 255, 255, .24); }
.lightbox__btn svg { width: 22px; height: 22px; }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 18px; top: 50%; transform: translateY(-50%); }

/* ---------- Avis ---------- */
.reviews { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 22px; align-items: stretch; }
.review {
  background: #fff; border-radius: var(--radius); padding: 32px; border: 1px solid var(--line); position: relative;
  display: flex; flex-direction: column;
}
.review__quote { display: block; width: 38px; height: 38px; color: var(--gold-400); margin-bottom: 14px; }
.review__quote svg { width: 100%; height: 100%; }
.stars { display: flex; gap: 3px; color: #f2b01e; margin-bottom: 16px; }
.stars svg { width: 19px; height: 19px; }
.review p { font-size: 1.04rem; color: var(--ink); flex: 1; }
.review__author { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.avatar {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--teal-grad); color: var(--gold-400); font-family: var(--font-head); font-weight: 700;
}
.review__author strong { display: block; font-family: var(--font-head); line-height: 1.2; }
.review__author span { font-size: .85rem; color: var(--muted); }
.review--cta { background: var(--teal-grad); color: rgba(255, 255, 255, .8); border: 0; justify-content: center; }
.review--cta h3 { color: #fff; font-size: 1.5rem; }
.review--cta p { color: rgba(255, 255, 255, .78); }
.review--cta .google-mark strong { color: #fff; font-family: var(--font-head); }
.review--cta .google-mark svg { background: #fff; border-radius: 50%; padding: 5px; width: 40px; height: 40px; }
.google-mark { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.google-mark svg { width: 34px; height: 34px; }

/* ---------- Équipe ---------- */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.member { text-align: center; }
.member__photo {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 20px;
  background: linear-gradient(160deg, var(--teal-100), var(--sand));
}
.member__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s var(--ease); }
.member:hover .member__photo img { transform: scale(1.05); }
.member h3 { margin-bottom: 4px; }
.member p { color: var(--gold-600); font-weight: 500; font-size: .95rem; margin: 0; }

.founder { display: grid; grid-template-columns: 320px 1fr; gap: 50px; align-items: center; }
.founder__photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg); position: relative; }
.founder__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.founder__sign { margin-top: 26px; display: flex; align-items: center; gap: 16px; }
.founder__sign strong { display: block; font-family: var(--font-head); font-size: 1.15rem; }
.founder__sign span { color: var(--gold-600); font-size: .92rem; }

/* ---------- Blog ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card {
  display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit;
  border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: inherit; }
.post-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.06); }
.post-card__body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: .84rem; color: var(--muted); margin-bottom: 12px; }
.post-meta span { display: inline-flex; align-items: center; gap: 6px; }
.post-meta svg { width: 15px; height: 15px; color: var(--gold-500); }
.tag { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--teal-50); color: var(--teal-700); font-weight: 600; font-size: .76rem; letter-spacing: .03em; }
.post-card h3 { font-size: 1.2rem; line-height: 1.3; margin-bottom: 10px; }
.post-card p { font-size: .95rem; color: var(--muted); flex: 1; }
.post-card--featured { grid-column: 1 / -1; flex-direction: row; }
.post-card--featured .post-card__media { flex: 1.2; aspect-ratio: auto; min-height: 360px; }
.post-card--featured .post-card__body { flex: 1; padding: clamp(28px, 4vw, 50px); justify-content: center; }
.post-card--featured h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }

.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.filter {
  border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; padding: 9px 18px; cursor: pointer;
  font-family: var(--font-head); font-weight: 500; font-size: .95rem; transition: all .2s;
}
.filter:hover { border-color: var(--teal-500); color: var(--teal-700); }
.filter.is-active { background: var(--teal-800); border-color: var(--teal-800); color: #fff; }
.post-card.is-hidden { display: none; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq { display: grid; gap: 14px; }
.faq details { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); transition: box-shadow .3s, border-color .3s; }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 26px; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  font-family: var(--font-head); font-weight: 600; font-size: 1.08rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--teal-50); position: relative; transition: background .3s, transform .3s var(--ease); }
.faq summary .plus::before, .faq summary .plus::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--teal-700); border-radius: 2px; transition: transform .3s var(--ease); }
.faq summary .plus::after { transform: rotate(90deg); }
.faq details[open] .plus { background: var(--gold-grad); transform: rotate(180deg); }
.faq details[open] .plus::after { transform: rotate(0); }
.faq .faq__body { padding: 0 26px 22px; color: var(--muted); }
.faq .faq__body p:last-child { margin: 0; }

/* ---------- Bandeau CTA ---------- */
.section--cta { padding-block: clamp(56px, 7vw, 96px); }
.cta-band { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 76px); color: rgba(255, 255, 255, .8); background: var(--teal-grad); }
.cta-band::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: .25;
  background: url('../img/photos/photovoltaique-tuiles-1200.webp') center / cover;
  mix-blend-mode: luminosity;
}
.cta-band::after {
  content: ''; position: absolute; width: 520px; height: 520px; right: -140px; top: -220px; z-index: -1; border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 154, 63, .45), transparent 65%);
}
.cta-band__inner { display: grid; grid-template-columns: 1.3fr auto; gap: 40px; align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { margin: 0; font-size: 1.1rem; }
.cta-band .btn-row { flex-direction: column; align-items: stretch; }

/* ---------- Pied de page ---------- */
.footer { background: var(--teal-950); color: rgba(255, 255, 255, .68); padding-top: clamp(64px, 8vw, 96px); font-size: .95rem; }
.footer a { color: rgba(255, 255, 255, .82); text-decoration: none; }
.footer a:hover { color: var(--gold-400); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.footer__brand img { height: 66px; width: auto; margin-bottom: 20px; }
.footer h3 { color: #fff; font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 20px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer__contact svg { width: 18px; height: 18px; color: var(--gold-400); flex: none; margin-top: 4px; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .07); color: #fff; transition: background .25s, transform .25s var(--ease), color .25s;
}
.socials a:hover { background: var(--gold-grad); color: var(--teal-950); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }
.footer__labels { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.footer__labels img { height: 46px; width: auto; background: #fff; border-radius: 8px; padding: 4px; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding-block: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; font-size: .86rem; }
.footer__bottom nav { display: flex; gap: 20px; flex-wrap: wrap; margin-left: auto; }
.footer .footer__partner { min-height: 40px; padding: 8px 18px; gap: 8px; font-size: .88rem; color: var(--gold-400); background: transparent; box-shadow: inset 0 0 0 1.5px rgba(221, 180, 94, .55); }
.footer .footer__partner svg { width: 16px; height: 16px; }
.footer .footer__partner:hover { color: var(--teal-950); background: var(--gold-grad); box-shadow: 0 10px 24px -10px rgba(201, 154, 63, .8); }

/* ---------- Barre mobile fixe ---------- */
.mobile-cta {
  display: none; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 80;
  background: var(--teal-900); border-radius: 18px; padding: 8px; gap: 8px; box-shadow: var(--shadow-lg);
  transform: translateY(140%); transition: transform .4s var(--ease);
}
.mobile-cta.is-visible { transform: none; }
.mobile-cta a { flex: 1; min-height: 50px; font-size: .95rem; padding: 10px 12px; }
.mobile-cta .btn--ghost { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .3); }

.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 70; width: 50px; height: 50px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--teal-800); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gold-500); color: var(--teal-950); }
.to-top svg { width: 20px; height: 20px; }

/* ---------- En-tête des pages intérieures ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden; color: rgba(255, 255, 255, .8);
  margin-top: calc(var(--header-h) * -1); padding: calc(var(--header-h) + clamp(56px, 8vw, 100px)) 0 clamp(64px, 8vw, 110px);
  background: var(--teal-grad);
}
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 22s ease-out both; }
.page-hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(900px 500px at 90% 0%, rgba(201, 154, 63, .25), transparent 60%), linear-gradient(100deg, rgba(6, 31, 35, .95), rgba(10, 46, 51, .78) 55%, rgba(10, 46, 51, .5));
}
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.5rem); max-width: 900px; }
.page-hero .lead { max-width: 680px; color: rgba(255, 255, 255, .8); margin: 0; }
.page-hero .btn-row { margin-top: 32px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .88rem; margin-bottom: 24px; padding: 0; list-style: none; }
.breadcrumb a { color: rgba(255, 255, 255, .75); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold-400); }
.breadcrumb li + li::before { content: '/'; margin-right: 8px; color: rgba(255, 255, 255, .35); }
.breadcrumb [aria-current] { color: var(--gold-400); }
.page-hero .post-meta { color: rgba(255, 255, 255, .75); margin-top: 22px; }

/* ---------- Expertises (page Services) ---------- */
.expertise { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 84px); align-items: center; }
.expertise + .expertise { margin-top: clamp(70px, 9vw, 120px); }
.expertise:nth-child(even) .expertise__media { order: 2; }
.expertise__media { position: relative; }
.expertise__media .frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; }
.expertise__media img { width: 100%; height: 100%; object-fit: cover; }
.expertise__media .num {
  position: absolute; top: -62px; right: 24px; font-family: var(--font-head); font-weight: 800; font-size: 5.5rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--gold-400); opacity: .9;
}
.expertise:nth-child(even) .expertise__media .num { right: auto; left: 24px; }
.expertise h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.benefits { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 30px; padding: 0; list-style: none; }
.benefits li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--teal-50); color: var(--teal-800); font-weight: 500; font-size: .92rem; }
.benefits svg { width: 16px; height: 16px; color: var(--teal-500); }

.labels-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.label-card {
  background: #fff; border-radius: var(--radius); padding: 30px 26px; border: 1px solid var(--line); text-align: center;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.label-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.label-card__logo { height: 110px; display: grid; place-items: center; margin-bottom: 20px; }
.label-card__logo img { max-height: 110px; width: auto; }
.label-card h3 { font-size: 1.15rem; }
.label-card p { font-size: .93rem; color: var(--muted); margin: 0; }

/* ---------- Valeurs (Qui sommes-nous) ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value { padding: 34px 30px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); transition: background .3s, transform .35s var(--ease); }
.value:hover { background: rgba(255, 255, 255, .09); transform: translateY(-4px); }
.value .icon-circle { background: var(--gold-grad); color: var(--teal-950); margin-bottom: 22px; width: 56px; height: 56px; }
.value .icon-circle svg { width: 24px; height: 24px; }
.value p { margin: 0; color: rgba(255, 255, 255, .72); }

.timeline { position: relative; display: grid; gap: 28px; padding-left: 34px; margin: 0; list-style: none; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--gold-400), var(--teal-300)); }
.timeline li { position: relative; }
.timeline li::before { content: ''; position: absolute; left: -32px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--gold-500); }
.timeline strong { display: block; font-family: var(--font-head); font-size: 1.1rem; }
.timeline span { color: var(--muted); font-size: .96rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.contact-card {
  display: flex; gap: 18px; align-items: center; padding: 22px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  text-decoration: none; color: inherit; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
a.contact-card:hover { transform: translateX(6px); box-shadow: var(--shadow); border-color: transparent; color: inherit; }
.contact-card .icon-circle { width: 54px; height: 54px; background: var(--gold-grad); color: var(--teal-950); }
.contact-card small { display: block; color: var(--muted); font-size: .84rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.contact-card strong { font-family: var(--font-head); font-size: 1.15rem; display: block; line-height: 1.35; }
.contact-card span { font-size: .92rem; color: var(--muted); }
.map { margin-top: 16px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; background: var(--sand); }
.map iframe { width: 100%; height: 100%; border: 0; }

.form-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 46px); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.form-card h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.form-card > p { color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 26px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--ink); }
.field label .req { color: var(--gold-600); }
.field input, .field textarea, .field select {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--cream); width: 100%;
  border: 1.5px solid var(--line); border-radius: 12px; padding: 14px 16px; transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--teal-500); background: #fff; box-shadow: 0 0 0 4px rgba(22, 128, 138, .14); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line); cursor: pointer;
  font-size: .93rem; font-weight: 500; color: var(--ink); background: var(--cream); transition: all .2s;
}
.chip input:checked + span { background: var(--teal-800); border-color: var(--teal-800); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--gold-400); outline-offset: 2px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 24px; }
.form-foot small { color: var(--muted); max-width: 340px; }
.form-status { display: none; margin-top: 20px; padding: 16px 18px; border-radius: 12px; font-weight: 500; }
.form-status.is-success { display: block; background: #e7f6ee; color: #145c35; border: 1px solid #b6e0c7; }
.form-status.is-error { display: block; background: #fdecec; color: #8a1f1f; border: 1px solid #f2b8b8; }
.btn.is-loading { pointer-events: none; opacity: .8; }
.btn.is-loading::before { content: ''; width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Article ---------- */
.reading-progress { position: fixed; left: 0; top: 0; z-index: 120; height: 3px; width: 100%; background: var(--gold-grad); transform-origin: left; transform: scaleX(0); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(36px, 5vw, 70px); align-items: start; }
.article-cover { border-radius: var(--radius-lg); overflow: hidden; margin-top: calc(clamp(64px, 8vw, 110px) * -1 + -10px); position: relative; z-index: 2; box-shadow: var(--shadow-lg); aspect-ratio: 16 / 8; background: var(--sand); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.prose { font-size: 1.08rem; line-height: 1.8; color: var(--text); }
.prose > * + * { margin-top: 1.1em; }
.prose p { margin: 0; }
.prose h2 { font-size: clamp(1.55rem, 2.6vw, 2rem); margin-top: 2.1em; margin-bottom: .2em; padding-top: .2em; }
.prose h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); margin-top: 1.8em; margin-bottom: .1em; }
.prose ul, .prose ol { padding-left: 0; list-style: none; display: grid; gap: .6em; }
.prose ul li { position: relative; padding-left: 30px; }
.prose ul li::before { content: ''; position: absolute; left: 4px; top: .62em; width: 10px; height: 10px; border-radius: 3px; background: var(--gold-grad); transform: rotate(45deg); }
.prose ol { counter-reset: li; }
.prose ol li { position: relative; padding-left: 44px; counter-increment: li; }
.prose ol li::before {
  content: counter(li); position: absolute; left: 0; top: .1em; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: var(--teal-800); color: var(--gold-400); font-family: var(--font-head); font-weight: 700; font-size: .9rem; line-height: 1;
}
.prose figure { margin: 2em 0; }
.prose figure img { border-radius: var(--radius); width: 100%; }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2.5em 0; }
.prose a { color: var(--teal-600); font-weight: 500; }
.prose h3 { scroll-margin-top: calc(var(--header-h) + 20px); }
.article-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
.toc { background: var(--cream); border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); }
.toc h2 { font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; color: var(--gold-600); margin-bottom: 14px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; max-height: 46vh; overflow-y: auto; }
.toc a { display: block; padding: 7px 12px; border-left: 2px solid var(--line); color: var(--muted); text-decoration: none; font-size: .9rem; line-height: 1.4; transition: all .2s; }
.toc a:hover { color: var(--teal-700); }
.toc a.is-active { border-color: var(--gold-500); color: var(--ink); font-weight: 600; background: #fff; }
.aside-cta { background: var(--teal-grad); color: rgba(255, 255, 255, .78); border-radius: var(--radius); padding: 28px 24px; position: relative; overflow: hidden; }
.aside-cta::after { content: ''; position: absolute; right: -80px; top: -80px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(201, 154, 63, .4), transparent 65%); }
.aside-cta h2 { color: #fff; font-size: 1.3rem; }
.aside-cta p { font-size: .94rem; }
.aside-cta .btn { width: 100%; }
.aside-cta .phone-line { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; color: #fff; text-decoration: none; font-weight: 600; }
.aside-cta .phone-line svg { width: 16px; height: 16px; color: var(--gold-400); }
.inline-cta {
  display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; margin: 3em 0 0 !important;
  padding: 28px; border-radius: var(--radius); background: var(--gold-50); border: 1px solid var(--gold-200);
}
.inline-cta img { width: 64px; height: 64px; }
.inline-cta strong { display: block; font-family: var(--font-head); font-size: 1.2rem; margin-bottom: 4px; }
.inline-cta p { margin: 0; font-size: .97rem; line-height: 1.5; }
.share { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); font-family: var(--font-head); font-weight: 600; color: var(--ink); }
.share a, .share button { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--teal-50); color: var(--teal-700); border: 0; cursor: pointer; transition: all .2s; }
.share a:hover, .share button:hover { background: var(--teal-800); color: #fff; }
.share svg { width: 17px; height: 17px; }

/* ---------- 404 ---------- */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding-block: 100px; }
.notfound__code { font-family: var(--font-head); font-weight: 800; font-size: clamp(6rem, 18vw, 12rem); line-height: 1; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Animations au défilement ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--delay, 0s); }
.js [data-reveal="left"] { transform: translateX(-40px); }
.js [data-reveal="right"] { transform: translateX(40px); }
.js [data-reveal="zoom"] { transform: scale(.94); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .header__phone small { display: none; }
  .nav__link { padding: 10px 10px; font-size: .96rem; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero-card { max-width: 520px; }
  .hero-card__float { right: -10px; }
  .aids-grid { grid-template-columns: repeat(2, 1fr); }
  .labels-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1020px) {
  :root { --header-h: 74px; }
  .nav, .header__phone { display: none; }
  .burger { display: grid; }
  .brand img { height: 50px; }
  .header.is-scrolled .brand img { height: 44px; }
  .split, .simulator, .faq-wrap, .contact-grid, .expertise, .founder { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
  .expertise:nth-child(even) .expertise__media { order: 0; }
  .simulator__aside { position: static; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card, .service-card:nth-child(4), .service-card:nth-child(5) { grid-column: span 1; }
  .service-card:nth-child(4) .service-card__media, .service-card:nth-child(5) .service-card__media { aspect-ratio: 16 / 10; }
  .service-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
  .steps::before, .steps__progress { display: none; }
  .reviews { grid-template-columns: 1fr; }
  .posts { grid-template-columns: repeat(2, 1fr); }
  .post-card--featured { flex-direction: column; }
  .post-card--featured .post-card__media { min-height: 0; aspect-ratio: 16 / 9; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .gallery__item:nth-child(6) { grid-column: span 1; }
  .gallery__item:nth-child(4) { grid-row: span 1; }
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { position: static; }
  .toc { display: none; }
  .cta-band__inner { grid-template-columns: 1fr; }
  .cta-band .btn-row { flex-direction: row; }
  .team { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .values { grid-template-columns: 1fr; }
  .founder__photo { max-width: 340px; }
  .media-stack { margin-right: 24px; }
  .trustbar__inner { grid-template-columns: 1fr; text-align: center; gap: 18px; }
  .trustbar__title { max-width: none; }
  .topbar__group--secondary { display: none; }
  .mobile-cta { display: flex; }
  .to-top { bottom: 90px; }
  .hero__scroll { display: none; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .topbar { display: none; }
  .hero { min-height: 0; padding-bottom: 130px; }
  .hero::before { background: linear-gradient(to bottom, rgba(8, 14, 16, .7), rgba(8, 14, 16, .55) 60%, rgba(8, 14, 16, .7)); }
  .hero__checks { gap: 10px; flex-direction: column; }
  .hero h1 .rotator { display: grid; }
  .hero h1 .rotator > span { white-space: normal; }
  .hero-card { padding: 24px; }
  .hero-card h2 { padding-right: 0; }
  .hero-card__float { position: relative; left: 0; right: 0; top: 0; margin-top: 18px; animation: none; }
  .btn-row .btn { width: 100%; }
  .trustbar__logos { gap: 16px 22px; }
  .trustbar__logos img { height: 46px; }
  .services-grid, .posts, .aids-grid, .labels-grid, .footer__grid { grid-template-columns: 1fr; }
  .service-card:last-child:nth-child(odd) { grid-column: auto; }
  .steps { grid-template-columns: 1fr; }
  .step { text-align: left; display: grid; grid-template-columns: 60px 1fr; gap: 0 18px; }
  .step__num { width: 60px; height: 60px; margin: 0; grid-row: span 2; }
  .gallery { grid-auto-rows: 150px; gap: 10px; }
  .gallery__item:nth-child(1) { grid-row: span 2; }
  .gallery__caption { font-size: .85rem; left: 12px; bottom: 10px; }
  .gallery__caption small { display: none; }
  .team { grid-template-columns: 1fr; max-width: 320px; margin-inline: auto; }
  .form-grid { grid-template-columns: 1fr; }
  .cta-band .btn-row { flex-direction: column; }
  .inline-cta { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .media-stack__badge { left: 10px; top: 14px; padding: 12px 16px; }
  .media-stack__badge strong { font-size: 1.7rem; }
  .media-stack__small { right: -14px; }
  .article-cover { aspect-ratio: 16 / 10; }
  .expertise__media .num { font-size: 4rem; top: -20px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .footer__bottom nav { margin-left: 0; }
}

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