/* =========================================================
   NOVASOL — Votre expert en énergie renouvelable
   ========================================================= */

:root {
  --dark: #212e32;
  --dark-2: #182226;
  --dark-3: #2b3a3f;
  --beige: #a99479;
  --beige-2: #c4b398;
  --beige-3: #e9e1d5;
  --light: #f4f4f4;
  --bluegrey: #c5c8c9;
  --white: #ffffff;
  --text: #3d4a4e;
  --muted: #6b777b;

  --font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 30px 60px -30px rgba(24, 34, 38, .35);
  --shadow-sm: 0 12px 30px -12px rgba(24, 34, 38, .25);
  --header-h: 88px;
  --gutter: clamp(16px, 4vw, 40px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--light);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; color: var(--dark); font-weight: 600; line-height: 1.15; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
::selection { background: var(--beige); color: var(--white); }
:focus-visible { outline: 2px solid var(--beige); outline-offset: 3px; border-radius: 4px; }

.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; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 920px; }
.section { padding: clamp(80px, 10vw, 140px) 0; position: relative; }
.section--dark { background: var(--dark); color: rgba(255, 255, 255, .72); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--beige { background: var(--beige); color: rgba(33, 46, 50, .85); }
.section--white { background: var(--white); }
.section--grey { background: var(--bluegrey); }

.section-head { max-width: 760px; margin: 0 auto clamp(48px, 6vw, 80px); text-align: center; }
.section-head--left { margin-left: 0; text-align: left; }
.section-head p { font-size: 1.05rem; margin-top: 1.2rem; color: var(--muted); }
.section--dark .section-head p { color: rgba(255, 255, 255, .65); }
.section--beige .section-head p { color: rgba(33, 46, 50, .78); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .78rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  color: var(--beige); margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.section--beige .eyebrow { color: var(--dark); }
.section-head:not(.section-head--left) .eyebrow::after { content: ""; width: 32px; height: 1px; background: currentColor; }

.h1 { font-size: clamp(2.5rem, 6.4vw, 5.4rem); font-weight: 600; line-height: 1.04; letter-spacing: -.035em; }
.h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
.h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
.accent { color: var(--beige); }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.75; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--dark); --fg: var(--white); --bg-h: var(--beige); --fg-h: var(--dark);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 16px 28px; border-radius: 999px; overflow: hidden; isolation: isolate;
  background: var(--bg); color: var(--fg);
  font-size: .92rem; font-weight: 500; letter-spacing: .01em; white-space: nowrap;
  transition: color .45s var(--ease), transform .3s var(--ease), box-shadow .45s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--bg-h);
  transform: translateY(101%); border-radius: inherit; transition: transform .55s var(--ease-out);
}
.btn:hover { color: var(--fg-h); box-shadow: var(--shadow-sm); }
.btn:hover::before { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; transition: transform .45s var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }
.btn--beige { --bg: var(--beige); --fg: var(--dark); --bg-h: var(--white); --fg-h: var(--dark); }
.btn--light { --bg: var(--white); --fg: var(--dark); --bg-h: var(--beige); --fg-h: var(--dark); }
.btn--ghost { --bg: transparent; --fg: var(--white); --bg-h: var(--white); --fg-h: var(--dark); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45); }
.btn--ghost-dark { --bg: transparent; --fg: var(--dark); --bg-h: var(--dark); --fg-h: var(--white); box-shadow: inset 0 0 0 1px rgba(33, 46, 50, .35); }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 500; color: var(--dark);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .5s var(--ease-out);
}
.link-arrow svg { width: 18px; height: 18px; transition: transform .45s var(--ease-out); }
.link-arrow:hover { background-size: 100% 1px; }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- Scroll progress ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--beige); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  color: var(--white);
  transition: background .5s var(--ease), color .5s var(--ease), transform .5s var(--ease), height .4s var(--ease), box-shadow .5s var(--ease);
}
.header.is-scrolled {
  --header-h: 74px;
  background: rgba(244, 244, 244, .86);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  color: var(--dark);
  box-shadow: 0 1px 0 rgba(33, 46, 50, .08);
}
.header.is-hidden { transform: translateY(-100%); }
.header__inner { height: 100%; display: flex; align-items: center; gap: 32px; max-width: 1400px; }

.brand { display: inline-flex; align-items: center; gap: 14px; margin-right: auto; }
.brand__mark { width: 38px; height: 44px; flex: none; transition: transform .6s var(--ease-out); }
.brand:hover .brand__mark { transform: rotate(-6deg) scale(1.05); }
.brand__mark .m1 { fill: currentColor; transition: fill .5s var(--ease); }
.brand__mark .m2 { fill: var(--beige); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-weight: 600; font-size: 1.28rem; letter-spacing: .14em; }
.brand__tag { font-size: .58rem; letter-spacing: .16em; text-transform: uppercase; opacity: .7; margin-top: 6px; }

.nav__list { display: flex; align-items: center; gap: 6px; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 16px; font-size: .92rem; font-weight: 400; border-radius: 999px;
  transition: color .3s var(--ease), background .3s var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 6px; height: 1px;
  background: var(--beige); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out);
}
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__link[aria-current="page"] { color: var(--beige); }
.nav__link svg { width: 12px; height: 12px; transition: transform .35s var(--ease); }

.has-sub { position: relative; }
.has-sub:hover .nav__link svg, .has-sub:focus-within .nav__link svg { transform: rotate(180deg); }
.sub {
  position: absolute; top: calc(100% + 10px); left: 50%; width: 360px;
  padding: 10px; border-radius: var(--radius); background: var(--white); color: var(--dark);
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translate(-50%, 10px);
  transition: opacity .35s var(--ease), transform .45s var(--ease-out), visibility .35s;
}
.sub::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.sub a { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 12px; transition: background .3s var(--ease); }
.sub a:hover { background: var(--light); }
.sub img { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; flex: none; }
.sub strong { display: block; font-weight: 500; font-size: .92rem; line-height: 1.3; }
.sub small { display: block; font-size: .78rem; color: var(--muted); line-height: 1.4; }

.header__cta { padding: 12px 22px; font-size: .86rem; }
.header:not(.is-scrolled) .header__cta { --bg: var(--beige); --fg: var(--dark); --bg-h: var(--white); }

.burger { display: none; width: 46px; height: 46px; border-radius: 50%; position: relative; z-index: 2; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: currentColor; transition: transform .45s var(--ease-out), top .45s var(--ease-out); }
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 27px; }
.nav-open .burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav-open .burger span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

@media (max-width: 980px) {
  .burger { display: block; }
  .header__cta { display: none; }
  .nav {
    position: fixed; inset: 0; z-index: 1; background: var(--dark); color: var(--white);
    display: flex; flex-direction: column; justify-content: center; padding: 100px var(--gutter) 40px;
    clip-path: circle(0 at calc(100% - 44px) 44px); visibility: hidden;
    transition: clip-path .8s var(--ease-out), visibility .8s;
  }
  .nav-open .nav { clip-path: circle(150% at calc(100% - 44px) 44px); visibility: visible; }
  .nav-open .header { color: var(--white); background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav-open .header .brand__mark .m1 { fill: var(--white); }
  .nav__list { flex-direction: column; align-items: flex-start; gap: 4px; }
  .nav__list > li { overflow: hidden; width: 100%; }
  .nav__link { font-size: clamp(2rem, 9vw, 3rem); font-weight: 500; padding: 4px 0; transform: translateY(110%); transition: transform .8s var(--ease-out), color .3s; }
  .nav__link::after { display: none; }
  .nav-open .nav__link { transform: none; }
  .nav-open .nav__list > li:nth-child(2) .nav__link { transition-delay: .08s; }
  .nav-open .nav__list > li:nth-child(3) .nav__link { transition-delay: .16s; }
  .nav__link svg { display: none; }
  .sub { position: static; width: auto; transform: none; opacity: 1; visibility: visible; background: none; box-shadow: none; padding: 6px 0 14px; color: rgba(255, 255, 255, .7); }
  .has-sub:hover .sub, .has-sub:focus-within .sub { transform: none; }
  .sub a { padding: 6px 0; }
  .sub a:hover { background: none; color: var(--beige); }
  .sub img { width: 40px; height: 40px; }
  .sub small { display: none; }
  .nav__mobile-cta { display: block !important; margin-top: 36px; }
}
.nav__mobile-cta { display: none; }
body.nav-open { overflow: hidden; }

/* ---------- Page transition ---------- */
.curtain {
  position: fixed; inset: 0; z-index: 200; background: var(--dark); pointer-events: none;
  display: grid; place-items: center;
  transform: scaleY(0); transform-origin: top;
}
.curtain svg { width: 60px; opacity: 0; transition: opacity .3s; }
.js .curtain { animation: curtain-out .9s var(--ease-out) .05s both; transform-origin: top; }
@keyframes curtain-out { from { transform: scaleY(1); } to { transform: scaleY(0); } }
.is-leaving .curtain { animation: curtain-in .55s var(--ease-out) both; transform-origin: bottom; }
.is-leaving .curtain svg { opacity: 1; }
@keyframes curtain-in { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* ---------- Reveal animations ---------- */
.js [data-reveal] {
  opacity: 0; transform: translateY(40px);
  transition: opacity 1s var(--ease), transform 1.1s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 90ms + var(--d, 0ms));
}
.js [data-reveal="left"] { transform: translateX(-50px); }
.js [data-reveal="right"] { transform: translateX(50px); }
.js [data-reveal="zoom"] { transform: scale(.92); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(100% 0 0 0); transition: clip-path 1.3s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms + var(--d, 0ms)); }
.js [data-reveal="clip"] img { transform: scale(1.25); transition: transform 1.6s var(--ease-out); transition-delay: inherit; }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="clip"].is-in { clip-path: inset(0 0 0 0); }
.js [data-reveal="clip"].is-in img { transform: scale(1); }

/* split words */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span { display: inline-block; }
.js .split .w > span { transform: translateY(110%); transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--wi, 0) * 55ms + var(--d, 0ms)); }
.js .split.is-in .w > span { transform: none; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--white); overflow: hidden; background: var(--dark);
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 60%; animation: kenburns 24s ease-in-out infinite alternate; will-change: transform; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.12) translate(-1.5%, 1%); } }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(24, 34, 38, .88) 0%, rgba(24, 34, 38, .55) 45%, rgba(24, 34, 38, .1) 100%),
    linear-gradient(0deg, rgba(24, 34, 38, .9) 0%, rgba(24, 34, 38, 0) 45%),
    linear-gradient(180deg, rgba(24, 34, 38, .55) 0%, rgba(24, 34, 38, 0) 25%);
}
.hero__content { position: relative; padding-top: calc(var(--header-h) + 40px); padding-bottom: 36px; }
.hero__title.h1 { font-size: clamp(2.5rem, 5.6vw, 4.7rem); }
.hero__title { color: var(--white); max-width: 15ch; }
.hero__title .accent { color: var(--beige-2); }
.hero__lead { max-width: 540px; margin: 28px 0 40px; color: rgba(255, 255, 255, .78); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__badges { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); display: grid; gap: 16px; z-index: 2; }
.glass {
  display: flex; align-items: center; gap: 14px; padding: 16px 20px 16px 16px; border-radius: 16px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); color: var(--white);
  animation: float 6s ease-in-out infinite;
}
.glass:nth-child(2) { animation-delay: -2s; margin-left: 40px; }
.glass:nth-child(3) { animation-delay: -4s; }
.glass__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--beige); color: var(--dark); display: grid; place-items: center; flex: none; }
.glass__icon svg { width: 22px; height: 22px; }
.glass strong { display: block; font-weight: 600; font-size: .98rem; line-height: 1.2; }
.glass small { font-size: .78rem; opacity: .75; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.hero__bar { position: relative; border-top: 1px solid rgba(255, 255, 255, .14); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 28px 24px 30px 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .14); }
.stat__num { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 600; color: var(--white); line-height: 1; letter-spacing: -.03em; }
.stat__num em { font-style: normal; color: var(--beige-2); }
.stat__label { font-size: .84rem; color: rgba(255, 255, 255, .62); margin-top: 8px; line-height: 1.4; }

.scroll-cue { position: absolute; left: 50%; bottom: 120px; transform: translateX(-50%); width: 26px; height: 42px; border: 1.5px solid rgba(255, 255, 255, .5); border-radius: 20px; display: none; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--white); animation: cue 2s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

@media (max-width: 1100px) { .hero__badges { display: none; } }
@media (max-width: 760px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 20px 16px 22px 0; }
  .stat + .stat { padding-left: 16px; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .14); }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden; background: var(--dark); color: rgba(255, 255, 255, .72);
  padding: calc(var(--header-h) + clamp(60px, 9vw, 120px)) 0 clamp(70px, 9vw, 120px);
}
.page-hero::before {
  content: ""; position: absolute; width: 900px; height: 900px; right: -300px; top: -350px; border-radius: 50%;
  background: radial-gradient(circle, rgba(169, 148, 121, .22), transparent 65%);
  animation: glow 10s ease-in-out infinite alternate;
}
@keyframes glow { to { transform: translate(-80px, 60px) scale(1.1); } }
.page-hero__deco { position: absolute; right: -60px; bottom: -80px; width: clamp(260px, 34vw, 520px); opacity: .07; pointer-events: none; }
.page-hero__deco polygon { fill: none; stroke: var(--white); stroke-width: 2; }
.page-hero .container { position: relative; }
.page-hero__title { color: var(--beige); text-transform: uppercase; font-size: clamp(2.3rem, 6vw, 4.8rem); letter-spacing: -.02em; }
.page-hero__title--light { color: var(--white); text-transform: none; }
.page-hero__lead { max-width: 720px; margin-top: 28px; }
.page-hero--center { text-align: center; }
.page-hero--center .page-hero__lead { margin-left: auto; margin-right: auto; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; font-size: .82rem; color: rgba(255, 255, 255, .5); margin-bottom: 26px; }
.page-hero--center .breadcrumb { justify-content: center; }
.breadcrumb a:hover { color: var(--beige); }
.breadcrumb li + li::before { content: "/"; margin-right: 10px; opacity: .5; }

.diagram { margin: clamp(48px, 7vw, 80px) auto 0; max-width: 900px; }
.diagram--img { max-width: 440px; }
.diagram img { width: 100%; mix-blend-mode: lighten; border-radius: 16px; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; min-height: 640px; }
.about__panel { position: relative; background: var(--dark); display: grid; place-items: center; overflow: hidden; padding: 80px 40px; }
.about__panel::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 45%, rgba(169, 148, 121, .25), transparent 60%); }
.about__logo { position: relative; width: clamp(140px, 17vw, 210px); margin: 0 auto; perspective: 900px; }
.about__logo svg { width: 100%; overflow: visible; animation: tilt3d 9s ease-in-out infinite; transform-style: preserve-3d; }
@keyframes tilt3d { 0%, 100% { transform: rotateY(-18deg) rotateX(6deg); } 50% { transform: rotateY(18deg) rotateX(-4deg); } }
.js .about__logo .p1 { transform: translate(-40px, -60px); opacity: 0; transition: 1.4s var(--ease-out); }
.js .about__logo .p2 { transform: translate(40px, 60px); opacity: 0; transition: 1.4s var(--ease-out) .15s; }
.about__logo.is-in .p1, .about__logo.is-in .p2 { transform: none; opacity: 1; }
.about__panel .about__brand { position: relative; text-align: center; margin-top: 36px; color: var(--white); }
.about__brand strong { display: block; font-size: 1.8rem; letter-spacing: .3em; font-weight: 600; }
.about__brand span { font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.about__badge {
  position: absolute; right: 32px; bottom: 32px; width: 132px; height: 132px; border-radius: 50%;
  background: var(--beige); color: var(--dark); display: grid; place-items: center; text-align: center;
}
.about__badge b { display: block; font-size: 2.2rem; line-height: 1; font-weight: 600; }
.about__badge small { display: block; font-size: .7rem; line-height: 1.3; margin-top: 4px; }
.about__badge svg { position: absolute; inset: -14px; width: calc(100% + 28px); height: calc(100% + 28px); animation: spin 22s linear infinite; }
.about__badge text { font-size: 10.5px; letter-spacing: 2.4px; fill: var(--beige); text-transform: uppercase; font-weight: 500; }
@keyframes spin { to { transform: rotate(360deg); } }
.about__body { padding: clamp(60px, 8vw, 120px) clamp(24px, 7vw, 110px); display: flex; flex-direction: column; justify-content: center; }
.about__body h2 { text-transform: uppercase; margin-bottom: 30px; }
.checks { display: grid; gap: 14px; margin: 30px 0 40px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; font-weight: 400; color: var(--dark); }
.checks svg { flex: none; width: 24px; height: 24px; color: var(--beige); margin-top: 1px; }
@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; }
  .about__panel { min-height: 460px; }
  .about__badge { width: 96px; height: 96px; right: 18px; bottom: 18px; }
  .about__badge b { font-size: 1.6rem; }
  .about__badge svg { display: none; }
}

/* ---------- Why cards ---------- */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why__card {
  position: relative; padding: 36px 28px 40px; border-radius: var(--radius); background: var(--white);
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out); overflow: hidden;
}
.why__card::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--beige); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease-out); }
.why__card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.why__card:hover::after { transform: scaleX(1); }
.why__num { position: absolute; right: 22px; top: 14px; font-size: 3.6rem; font-weight: 700; color: var(--light); line-height: 1; letter-spacing: -.04em; transition: color .5s; }
.why__card:hover .why__num { color: var(--beige-3); }
.why__icon { position: relative; width: 60px; height: 60px; border-radius: 16px; background: var(--dark); color: var(--beige); display: grid; place-items: center; margin-bottom: 28px; transition: transform .6s var(--ease-out), background .4s; }
.why__icon svg { width: 28px; height: 28px; }
.why__card:hover .why__icon { transform: rotate(-8deg) scale(1.06); background: var(--beige); color: var(--dark); }
.why__card h3 { font-size: 1.18rem; color: var(--beige); margin-bottom: 14px; line-height: 1.3; }
.why__card p { font-size: .94rem; color: var(--muted); }
.why__card strong { color: var(--dark); font-weight: 500; }
@media (max-width: 1080px) { .why { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .why { grid-template-columns: 1fr; } }

/* ---------- Service cards ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service {
  position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; color: var(--white);
  transform-style: preserve-3d; transition: transform .5s var(--ease-out), box-shadow .5s;
  box-shadow: 0 20px 40px -24px rgba(24, 34, 38, .6);
}
.service img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.service::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(24, 34, 38, 0) 35%, rgba(24, 34, 38, .92) 100%); transition: opacity .6s; }
.service:hover img { transform: scale(1.08); }
.service__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 30px; transform: translateZ(40px); }
.service__tag { display: inline-block; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); margin-bottom: 14px; }
.service h3 { color: var(--white); font-size: 1.6rem; margin-bottom: 0; }
.service__more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease-out); }
.service__more > div { overflow: hidden; }
.service__more p { color: rgba(255, 255, 255, .78); font-size: .92rem; padding-top: 12px; margin: 0; }
.service:hover .service__more, .service:focus-visible .service__more { grid-template-rows: 1fr; }
.service__arrow { position: absolute; top: 24px; right: 24px; z-index: 1; width: 52px; height: 52px; border-radius: 50%; background: var(--white); color: var(--dark); display: grid; place-items: center; transform: scale(.7) rotate(-45deg); opacity: 0; transition: .5s var(--ease-out); }
.service__arrow svg { width: 20px; height: 20px; }
.service:hover .service__arrow { transform: scale(1) rotate(-45deg); opacity: 1; }
.services__cta { text-align: center; margin-top: 56px; }
@media (max-width: 960px) { .services { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } .service { aspect-ratio: 5 / 4; } .service__more { grid-template-rows: 1fr; } }

/* ---------- Method / timeline ---------- */
.method { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.method__track { position: absolute; left: 0; right: 0; top: 28px; height: 2px; background: rgba(33, 46, 50, .12); }
.method__track span { display: block; height: 100%; background: var(--beige); transform-origin: left; transform: scaleX(var(--p, 0)); }
.step { position: relative; }
.step__dot {
  position: relative; z-index: 1; width: 58px; height: 58px; border-radius: 50%; background: var(--light);
  border: 2px solid rgba(33, 46, 50, .15); display: grid; place-items: center;
  font-weight: 600; color: var(--dark); margin-bottom: 30px; transition: background .5s, border-color .5s, color .5s, transform .5s var(--ease-out);
}
.step.is-active .step__dot { background: var(--dark); border-color: var(--dark); color: var(--beige); transform: scale(1.08); }
.step__img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 1 / 1; margin-bottom: 24px; }
.step__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.step:hover .step__img img { transform: scale(1.06); }
.step h3 { font-size: 1.3rem; margin-bottom: 10px; }
.step p { font-size: .94rem; color: var(--muted); }
@media (max-width: 960px) {
  .method { grid-template-columns: 1fr 1fr; gap: 48px 28px; }
  .method__track { display: none; }
}
@media (max-width: 560px) { .method { grid-template-columns: 1fr; } .step__img { aspect-ratio: 16 / 10; } }

/* ---------- Simulator ---------- */
.sim { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.sim__card { background: var(--dark-3); border: 1px solid rgba(255, 255, 255, .08); border-radius: 24px; padding: clamp(28px, 4vw, 48px); }
.sim__label { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; color: var(--white); font-weight: 400; margin-bottom: 18px; }
.sim__label output { font-size: 1.6rem; font-weight: 600; color: var(--beige-2); }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--beige) var(--fill, 30%), rgba(255, 255, 255, .14) var(--fill, 30%)); outline: none; cursor: pointer; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--white); border: 6px solid var(--beige); box-shadow: 0 0 0 8px rgba(169, 148, 121, .2); transition: box-shadow .3s; }
.range::-webkit-slider-thumb:hover { box-shadow: 0 0 0 12px rgba(169, 148, 121, .25); }
.range::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--white); border: 6px solid var(--beige); }
.range-scale { display: flex; justify-content: space-between; font-size: .76rem; color: rgba(255, 255, 255, .4); margin-top: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 34px; }
.chip { padding: 10px 18px; border-radius: 999px; font-size: .86rem; border: 1px solid rgba(255, 255, 255, .2); color: rgba(255, 255, 255, .8); transition: .3s var(--ease); }
.chip:hover { border-color: var(--beige); }
.chip[aria-pressed="true"] { background: var(--beige); border-color: var(--beige); color: var(--dark); font-weight: 500; }
.sim__results { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sim__res { border-radius: 16px; padding: 22px; background: rgba(255, 255, 255, .05); }
.sim__res--main { background: var(--beige); color: var(--dark); }
.sim__res small { display: block; font-size: .8rem; opacity: .8; margin-bottom: 6px; line-height: 1.4; }
.sim__res b { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; color: var(--white); }
.sim__res--main b { color: var(--dark); }
.sim__note { font-size: .76rem; color: rgba(255, 255, 255, .45); margin-top: 18px; }
.sim__bars { display: flex; align-items: flex-end; gap: 18px; height: 120px; margin: 34px 0 6px; }
.sim__bar { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; text-align: center; font-size: .78rem; }
.sim__bar i { display: block; border-radius: 10px 10px 4px 4px; background: rgba(255, 255, 255, .16); transition: height .8s var(--ease-out); }
.sim__bar--new i { background: var(--beige); }
.sim__bar span { margin-top: 8px; color: rgba(255, 255, 255, .6); }
@media (max-width: 900px) { .sim { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .sim__results { grid-template-columns: 1fr; } }

/* ---------- Labels / qualifications ---------- */
.labels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1000px; margin: 0 auto; }
.label-card { background: var(--white); border-radius: var(--radius); padding: 36px; height: 220px; display: grid; place-items: center; border: 1px solid rgba(33, 46, 50, .06); transition: transform .6s var(--ease-out), box-shadow .6s; }
.label-card img { max-height: 150px; width: auto; max-width: 100%; object-fit: contain; transition: transform .6s var(--ease-out); }
.label-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.label-card:hover img { transform: scale(1.06); }
@media (max-width: 760px) { .labels { grid-template-columns: 1fr; max-width: 360px; } .label-card { height: 180px; } }

/* ---------- Aides ---------- */
.aids { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.aid { position: relative; background: var(--white); border-radius: 24px; padding: clamp(28px, 4vw, 48px); overflow: hidden; }
.aid__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 26px; }
.aid__logo { height: 92px; width: auto; }
.aid__pill { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; background: var(--beige-3); color: var(--dark); font-weight: 500; white-space: nowrap; }
.aid h3 { font-size: 1.6rem; margin-bottom: 16px; }
.aid p { color: var(--muted); font-size: .96rem; }
.aid ul { display: grid; gap: 10px; margin-top: 22px; }
.aid li { display: flex; gap: 12px; font-size: .92rem; color: var(--dark); font-weight: 400; }
.aid li svg { flex: none; width: 20px; height: 20px; color: var(--beige); margin-top: 3px; }
.aids__note { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 24px; padding: 28px 36px; border-radius: 24px; background: var(--dark); color: var(--white); flex-wrap: wrap; }
.aids__note p { margin: 0; font-size: 1.1rem; font-weight: 400; }
.aids__note p span { color: var(--beige-2); }
@media (max-width: 860px) { .aids { grid-template-columns: 1fr; } }

/* ---------- Testimonials ---------- */
.testis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi { position: relative; display: flex; flex-direction: column; padding: 40px 34px 34px; border-radius: 24px; background: var(--white); transition: transform .6s var(--ease-out), box-shadow .6s; }
.testi:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.testi__q { width: 46px; height: 46px; color: var(--beige); margin-bottom: 22px; }
.testi blockquote { margin: 0 0 30px; font-size: 1.02rem; line-height: 1.75; color: var(--dark); flex: 1; }
.testi footer { display: flex; align-items: center; gap: 14px; padding-top: 22px; border-top: 1px solid rgba(33, 46, 50, .08); }
.avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--dark); color: var(--beige); display: grid; place-items: center; font-weight: 600; font-size: .95rem; flex: none; }
.testi cite { font-style: normal; font-weight: 600; color: var(--beige); display: block; line-height: 1.3; }
.testi footer small { font-size: .8rem; color: var(--muted); }
@media (max-width: 960px) {
  .testis { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(84%, 380px); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 16px; margin: 0 calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter); scrollbar-width: none; }
  .testis::-webkit-scrollbar { display: none; }
  .testi { scroll-snap-align: center; }
}

/* ---------- Marquee ---------- */
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: 24px; padding-right: 24px; }
.partner { width: 220px; height: 120px; flex: none; border-radius: 16px; background: var(--white); display: grid; place-items: center; padding: 22px 30px; }
.partner img { max-height: 70px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1) opacity(.65); transition: filter .5s var(--ease); }
.partner:hover img { filter: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

.partners-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; max-width: 1000px; margin: 0 auto; }
.partners-grid .partner { width: auto; height: 140px; transition: transform .5s var(--ease-out), box-shadow .5s; }
.partners-grid .partner:hover { transform: translateY(-6px); box-shadow: var(--shadow-sm); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.contact__title { color: var(--white); margin-bottom: 22px; }
.contact__infos { display: grid; gap: 16px; margin-top: 44px; }
.info {
  display: flex; align-items: center; gap: 18px; padding: 18px 20px; border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .1); transition: background .4s, border-color .4s, transform .5s var(--ease-out);
}
a.info:hover { background: rgba(255, 255, 255, .05); border-color: rgba(169, 148, 121, .5); transform: translateX(6px); }
.info__icon { width: 48px; height: 48px; border-radius: 14px; background: rgba(169, 148, 121, .16); color: var(--beige-2); display: grid; place-items: center; flex: none; }
.info__icon svg { width: 22px; height: 22px; }
.info small { display: block; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .45); }
.info span { color: var(--white); font-weight: 400; }

.form { background: var(--white); border-radius: 24px; padding: clamp(28px, 4vw, 48px); color: var(--text); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.form h3 { font-size: 1.5rem; margin-bottom: 6px; }
.form > p { color: var(--muted); font-size: .92rem; margin-bottom: 28px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { position: relative; }
.field--full { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
  width: 100%; padding: 24px 16px 10px; border-radius: 12px; border: 1px solid rgba(33, 46, 50, .14);
  background: var(--light); color: var(--dark); font-weight: 400; font-size: .95rem; outline: none;
  transition: border-color .3s, background .3s, box-shadow .3s; -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 130px; resize: vertical; }
.field select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23212e32' stroke-width='1.6'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px; }
.field label { position: absolute; left: 17px; top: 17px; font-size: .92rem; color: var(--muted); pointer-events: none; transform-origin: left top; transition: transform .3s var(--ease), color .3s; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--beige); background: var(--white); box-shadow: 0 0 0 4px rgba(169, 148, 121, .16); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select + label { transform: translateY(-10px) scale(.76); color: var(--beige); font-weight: 500; }
.field.is-invalid input, .field.is-invalid select { border-color: #c4553d; }
.field__err { display: none; font-size: .76rem; color: #c4553d; margin-top: 6px; }
.field.is-invalid .field__err { display: block; }
.consent { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; font-size: .8rem; color: var(--muted); line-height: 1.5; }
.consent.is-invalid { color: #c4553d; }
.consent input[type="checkbox"] { -webkit-appearance: auto; appearance: auto; width: 18px; height: 18px; padding: 0; border: 0; background: none; box-shadow: none; }
.consent a { text-decoration: underline; }
.consent input { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--dark); }
.form__submit { grid-column: 1 / -1; margin-top: 6px; }
.form__success { position: absolute; inset: 0; background: var(--white); display: grid; place-items: center; text-align: center; padding: 40px; opacity: 0; visibility: hidden; transition: .6s var(--ease); }
.form.is-sent .form__success { opacity: 1; visibility: visible; }
.form__success svg { width: 84px; height: 84px; margin: 0 auto 20px; color: var(--beige); }
.form__success circle, .form__success path { stroke-dasharray: 200; stroke-dashoffset: 200; }
.form.is-sent .form__success circle { animation: draw 1s var(--ease-out) .2s forwards; }
.form.is-sent .form__success path { animation: draw .7s var(--ease-out) .8s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.form__success h3 { margin-bottom: 10px; }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form__grid { grid-template-columns: 1fr; } }

.map { margin-top: 0; height: 420px; filter: grayscale(1) contrast(1.05); border: 0; width: 100%; display: block; }

/* ---------- Product rows ---------- */
.prod { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: clamp(32px, 6vw, 90px); }
.prod + .prod { margin-top: clamp(80px, 10vw, 140px); }
.prod--rev .prod__media { order: 2; }
.prod__media { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 5 / 4; }
.prod__media img { width: 100%; height: 100%; object-fit: cover; }
.prod__index { position: absolute; left: 20px; top: 20px; z-index: 1; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .9); color: var(--dark); font-size: .78rem; font-weight: 600; letter-spacing: .1em; }
.prod__body h2 { margin-bottom: 22px; }
.prod__body p { color: var(--muted); }
.prod__facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 34px; }
.prod__facts li { padding: 8px 16px; border-radius: 999px; background: var(--white); font-size: .84rem; color: var(--dark); font-weight: 400; border: 1px solid rgba(33, 46, 50, .08); }
@media (max-width: 880px) { .prod { grid-template-columns: 1fr; } .prod--rev .prod__media { order: 0; } }

/* ---------- What is it (overlap) ---------- */
.overlap { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); align-items: center; }
.overlap__img { grid-column: 1 / 8; grid-row: 1; border-radius: 24px; overflow: hidden; aspect-ratio: 16 / 10; }
.overlap__img img { width: 100%; height: 100%; object-fit: cover; }
.overlap__card { grid-column: 6 / 13; grid-row: 1; position: relative; z-index: 1; margin-top: 160px; background: var(--beige); color: rgba(33, 46, 50, .85); border-radius: 24px; padding: clamp(32px, 5vw, 64px); box-shadow: var(--shadow); }
.overlap__card h2 { margin-bottom: 22px; }
.overlap__card .eyebrow { color: var(--dark); }
@media (max-width: 900px) {
  .overlap { grid-template-columns: 1fr; }
  .overlap__img, .overlap__card { grid-column: 1; }
  .overlap__card { grid-row: 2; margin: -60px 16px 0; }
}

/* ---------- Atouts ---------- */
.atouts { display: grid; gap: 0; border-top: 1px solid rgba(33, 46, 50, .18); }
.atout { display: grid; grid-template-columns: 80px 1fr 1.6fr; gap: 32px; padding: 40px 0; border-bottom: 1px solid rgba(33, 46, 50, .18); align-items: start; }
.atout__icon { width: 64px; height: 64px; border-radius: 18px; background: var(--dark); color: var(--beige-2); display: grid; place-items: center; transition: transform .6s var(--ease-out); }
.atout:hover .atout__icon { transform: rotate(-8deg) scale(1.06); }
.atout__icon svg { width: 30px; height: 30px; }
.atout h3 { font-size: 1.3rem; line-height: 1.3; padding-top: 4px; }
.atout h3 small { display: block; font-size: .78rem; font-weight: 500; letter-spacing: .16em; color: var(--dark); opacity: .5; margin-bottom: 8px; }
.atout p { color: rgba(33, 46, 50, .8); }
@media (max-width: 820px) { .atout { grid-template-columns: 64px 1fr; gap: 20px; } .atout p { grid-column: 1 / -1; } }

/* ---------- Big numbers ---------- */
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: clamp(48px, 6vw, 72px); }
.kpi { padding: 32px; border-radius: 20px; background: rgba(33, 46, 50, .08); }
.kpi b { display: block; font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 600; line-height: 1; color: var(--dark); letter-spacing: -.04em; }
.kpi > span { display: block; margin-top: 10px; font-size: .92rem; color: rgba(33, 46, 50, .8); }
@media (max-width: 760px) { .kpis { grid-template-columns: 1fr; } }

/* ---------- Tabs (PAC types) ---------- */
.tabs__list { display: inline-flex; gap: 6px; padding: 6px; border-radius: 999px; background: var(--white); margin-bottom: 40px; box-shadow: var(--shadow-sm); position: relative; }
.tabs__btn { position: relative; z-index: 1; padding: 12px 24px; border-radius: 999px; font-size: .92rem; font-weight: 500; color: var(--muted); transition: color .4s; }
.tabs__btn[aria-selected="true"] { color: var(--white); }
.tabs__pill { position: absolute; top: 6px; bottom: 6px; left: 0; border-radius: 999px; background: var(--dark); transition: transform .5s var(--ease-out), width .5s var(--ease-out); }
.tabs__panel { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 70px); align-items: center; }
.tabs__panel[hidden] { display: none; }
.tabs__panel.is-entering > * { animation: tabin .8s var(--ease-out) both; }
.tabs__panel.is-entering > *:nth-child(2) { animation-delay: .1s; }
@keyframes tabin { from { opacity: 0; transform: translateY(24px); } }
.tabs__media { border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 3; }
.tabs__media img { width: 100%; height: 100%; object-fit: cover; }
.tabs__panel h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 18px; }
.tabs__panel p { color: var(--muted); }
@media (max-width: 860px) { .tabs__panel { grid-template-columns: 1fr; } }
@media (max-width: 460px) { .tabs__btn { padding: 10px 14px; font-size: .84rem; } }

/* ---------- Slider (réalisations) ---------- */
.slider { position: relative; max-width: 980px; margin: 0 auto; }
.slider__viewport { overflow: hidden; border-radius: 24px; box-shadow: var(--shadow); }
.slider__track { display: flex; transition: transform .9s var(--ease-out); }
.slider__slide { flex: 0 0 100%; aspect-ratio: 16 / 11; position: relative; }
.slider__slide img { width: 100%; height: 100%; object-fit: cover; }
.slider__caption { position: absolute; left: 20px; bottom: 20px; padding: 10px 16px; border-radius: 12px; background: rgba(24, 34, 38, .75); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--white); font-size: .86rem; }
.slider__nav { display: flex; justify-content: center; gap: 12px; margin-top: 26px; }
.slider__btn { width: 54px; height: 54px; border-radius: 50%; background: var(--dark); color: var(--white); display: grid; place-items: center; transition: background .3s, transform .3s var(--ease-out); }
.slider__btn:hover { background: var(--white); color: var(--dark); transform: scale(1.06); }
.slider__btn svg { width: 20px; height: 20px; }
.slider--single .slider__nav { display: none; }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; background: var(--dark); color: rgba(255, 255, 255, .7); text-align: center; padding: clamp(90px, 11vw, 150px) 0; }
.cta::before, .cta::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(169, 148, 121, .2); left: 50%; top: 50%; translate: -50% -50%; animation: ripple 8s linear infinite; }
.cta::before { width: 500px; height: 500px; }
.cta::after { width: 500px; height: 500px; animation-delay: -4s; }
@keyframes ripple { from { transform: scale(.6); opacity: 1; } to { transform: scale(2.6); opacity: 0; } }
.cta .container { position: relative; z-index: 1; }
.cta h2 { color: var(--beige); font-size: clamp(2rem, 4.6vw, 3.6rem); max-width: 16ch; margin: 0 auto 20px; }
.cta p { max-width: 520px; margin: 0 auto 38px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- Footer ---------- */
.footer { background: var(--dark-2); color: rgba(255, 255, 255, .6); padding: clamp(70px, 8vw, 100px) 0 0; font-size: .92rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 60px; }
.footer .brand { color: var(--white); margin-bottom: 22px; }
.footer h4 { color: var(--white); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; margin-bottom: 22px; }
.footer li + li { margin-top: 10px; }
.footer a { transition: color .3s; }
.footer a:hover { color: var(--beige-2); }
.footer__labels { display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.footer__labels span { font-size: .72rem; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .15); letter-spacing: .06em; }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 26px 0 30px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .82rem; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 22px; }
.footer__big { font-size: clamp(4rem, 17vw, 15rem); font-weight: 700; letter-spacing: .02em; line-height: .78; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(169, 148, 121, .22); user-select: none; overflow: hidden; padding-top: 10px; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Floating call ---------- */
.fab { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 60px; height: 60px; border-radius: 50%; background: var(--beige); color: var(--dark); display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(24, 34, 38, .5); transition: transform .4s var(--ease-out); }
.fab:hover { transform: scale(1.08); }
.fab svg { width: 24px; height: 24px; position: relative; }
.fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--beige); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.8); opacity: 0; } }
.fab__tip { position: absolute; right: 72px; white-space: nowrap; padding: 8px 14px; border-radius: 10px; background: var(--dark); color: var(--white); font-size: .82rem; opacity: 0; transform: translateX(8px); pointer-events: none; transition: .35s var(--ease); }
.fab:hover .fab__tip { opacity: 1; transform: none; }

/* ---------- Legal ---------- */
.legal { background: var(--white); }
.legal h2 { font-size: 1.6rem; margin: 56px 0 18px; scroll-margin-top: 110px; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 1.1rem; margin: 28px 0 10px; }
.legal p, .legal li { color: var(--muted); }
.legal ul { list-style: disc; padding-left: 22px; margin-bottom: 1em; }
.legal__toc { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 50px; }
.legal__toc a { padding: 10px 18px; border-radius: 999px; background: var(--light); font-size: .88rem; color: var(--dark); transition: background .3s; }
.legal__toc a:hover { background: var(--beige-3); }
mark { background: var(--beige-3); color: var(--dark); padding: 0 4px; border-radius: 4px; }

/* ---------- PAC animated diagram ---------- */
.pac-svg { width: 100%; height: auto; overflow: visible; }
.pac-svg text { font-family: var(--font); }
.pac-svg .flow { fill: none; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 10 12; animation: flow 1.1s linear infinite; }
.pac-svg .air { fill: none; stroke: #8ec5e8; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 14 18; animation: flow 1.4s linear infinite; opacity: .85; }
@keyframes flow { to { stroke-dashoffset: -64; } }
.pac-svg .flow { animation-name: flow44; }
@keyframes flow44 { to { stroke-dashoffset: -44; } }
.pac-svg .fan { transform-box: fill-box; transform-origin: center; animation: spin 1.2s linear infinite; }
.pac-svg .wave { animation: rise 2.6s ease-in-out infinite; opacity: 0; }
.pac-svg .wave:nth-child(2) { animation-delay: .5s; }
.pac-svg .wave:nth-child(3) { animation-delay: 1s; }
@keyframes rise { 0% { opacity: 0; transform: translateY(8px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(-20px); } }
.pac-svg .heat { animation: heat 3s ease-in-out infinite alternate; }
@keyframes heat { from { opacity: .35; } to { opacity: .95; } }
.pac-svg .sun-glow { animation: heat 4s ease-in-out infinite alternate; }

.legend { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 50px; text-align: left; }
.legend li { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); }
.legend b { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--beige); color: var(--dark); display: grid; place-items: center; font-weight: 600; font-size: .9rem; }
.legend strong { display: block; color: var(--white); font-weight: 500; margin-bottom: 4px; }
.legend span { font-size: .88rem; line-height: 1.55; }
@media (max-width: 820px) { .legend { grid-template-columns: 1fr; } }

/* cards sitting on a white section get a light background */
.section--white .partner, .section--white .testi, .section--white .aid, .section--white .why__card { background: var(--light); }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.center { text-align: center; }

/* ---------- Reduced motion ---------- */
@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], .js .split .w > span { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .marquee__track { animation: none; }
}
