/* ==========================================================================
   CC RENOV — BUSINESS — Direction C « BARRIÈRE CALME »
   Demo homepage. Signature: CC THERMAL BARRIER (#1599D1) + THERMAL ECHO EDGE (#63C4DA).
   ========================================================================== */

/* `hidden` always wins over a class that sets display (form messages, banner, menus). */
[hidden] { display: none !important; }

/* ---------- tokens ---------- */
:root {
  --cc-blue:      #1599D1;   /* brand blue — large fields, big type */
  --cc-blue-ink:  #0E6EA8;   /* darker brand blue — small text / CTA (contrast-safe) */
  --cc-blue-cta:  #0E79B0;   /* CTA background, white label passes 4.8:1 */
  --cc-blue-deep: #0C5C8E;
  --cc-cyan:      #63C4DA;   /* thermal echo edge */
  --cc-cyan-deep: #268BA1;   /* same hue, dark enough to carry white text (3,97:1) */
  --cc-grey:      #C7C6C6;
  --cc-white:     #FFFFFF;
  --cc-navy:      #082B55;   /* hero field */
  --cc-deep:      #051E3B;   /* chapter fields, footer */
  --cc-ink:       #0A2342;   /* body text on light */
  --cc-ink-soft:  #55698A;
  --cc-mist:      #EAF6FB;   /* light-blue recovery surface */
  --cc-ghost:     #D7EEF7;
  /* WhatsApp buttons with a white label (Iulian, 2026-09-27): the brand's own green
     (#25D366, .wa-float below) gives white text 2:1, these darker ones 5:1 and 6.6:1. */
  --cc-wa:        #15803D;
  --cc-wa-deep:   #116B33;

  --ff-display: 'Archivo', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --ff-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --wrap: 1360px;
  --pad: clamp(22px, 4.4vw, 64px);
  --sec-y: clamp(56px, 8.4vw, 148px);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* anchored sections must clear the fixed header */
  scroll-padding-top: clamp(104px, 7.5vw, 124px);
}

body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--cc-ink);
  background: var(--cc-white);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
a { color: inherit; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--ff-display);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}

:focus-visible {
  outline: 3px solid var(--cc-cyan);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--cc-white); color: var(--cc-ink);
  padding: 12px 18px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- motion primitives ---------- */
.js .reveal { opacity: 0; transform: translateY(20px); }   /* hidden only once script.js has run (the .js class): if it never arrives, nothing stays invisible */
.reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 14px 28px;
  font-family: var(--ff-display); font-size: 17px; font-weight: 700;
  text-decoration: none; border: 2px solid transparent;
  transition: background-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.btn span { transition: transform .25s var(--ease); }
.btn:hover span, .btn:focus-visible span { transform: translateX(5px); }

.btn--primary { background: var(--cc-blue-cta); color: var(--cc-white); }
.btn--primary:hover, .btn--primary:focus-visible { background: var(--cc-navy); }

.btn--ghost { background: transparent; color: var(--cc-white); border-color: rgba(255,255,255,.42); }
.btn--ghost:hover, .btn--ghost:focus-visible { border-color: var(--cc-cyan); color: var(--cc-cyan); }

.btn--cyan { background: var(--cc-cyan); color: var(--cc-navy); }
.btn--cyan:hover, .btn--cyan:focus-visible { background: var(--cc-white); }

/* ---------- section heads ---------- */
.sec-head { max-width: 760px; margin-bottom: clamp(34px, 4.4vw, 62px); }
.sec-head__title {
  font-size: clamp(30px, 3.6vw, 52px);
  color: var(--cc-ink);
}
.sec-head__sub {
  margin-top: 16px; font-size: 17px; color: var(--cc-ink-soft); max-width: 58ch;
}
.sec-head--light .sec-head__title { color: var(--cc-white); }
.sec-head--light .sec-head__sub { color: #A9CFE4; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: absolute; inset: 0 0 auto 0; z-index: 60;
}
.site-header.is-stuck {
  position: fixed;
  background: rgba(8, 43, 85, .96);
  box-shadow: 0 10px 34px rgba(5, 30, 59, .28);
  animation: dropIn .3s var(--ease) both;
}
@keyframes dropIn { from { transform: translateY(-100%); } to { transform: none; } }

.site-header__bar {
  width: 100%; max-width: var(--wrap); margin-inline: auto;
  padding: 14px max(var(--pad), env(safe-area-inset-right)) 14px max(var(--pad), env(safe-area-inset-left));
  display: flex; align-items: center; gap: clamp(16px, 3vw, 44px);
}

/* The logo art is transparent and reads on the navy field on its own, so it
   needs no plate. Without the plate the whole header drops from 142px to ~102px. */
.brand {
  display: block; flex: none;
  width: clamp(100px, 7.6vw, 128px);
}

.nav { margin-right: auto; }
.nav__list { display: flex; gap: clamp(14px, 2vw, 30px); }
.nav__list a {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; min-width: 44px; padding: 11px 8px;
  font-size: 16px; font-weight: 600; color: var(--cc-white);
  text-decoration: none; position: relative;
}
.nav__list a::after {
  content: ''; position: absolute; left: 8px; right: 8px; bottom: 8px;
  height: 2px; background: var(--cc-cyan);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav__list a:hover::after, .nav__list a:focus-visible::after { transform: scaleX(1); }

.phone-btn {
  flex: none;
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 11px 20px;
  background: var(--cc-blue-cta); color: var(--cc-white);
  font-family: var(--ff-display); font-size: 17px; font-weight: 700;
  text-decoration: none; letter-spacing: .01em;
  transition: background-color .25s var(--ease);
}
.phone-btn:hover, .phone-btn:focus-visible { background: var(--cc-navy); }
.phone-btn__icon { width: 21px; height: 21px; fill: currentColor; flex: none; }

.nav-toggle {
  display: none;
  align-items: center; gap: 9px;
  min-height: 48px; padding: 10px 14px;
  background: transparent; border: 1px solid rgba(255,255,255,.4);
  color: var(--cc-white); font-family: var(--ff-display); font-weight: 700; font-size: 15px;
  cursor: pointer;
}
.nav-toggle__lines { position: relative; width: 20px; height: 2px; background: currentColor; }
.nav-toggle__lines::before, .nav-toggle__lines::after {
  content: ''; position: absolute; left: 0; width: 20px; height: 2px; background: currentColor;
  transition: transform .25s var(--ease);
}
.nav-toggle__lines::before { top: -6px; }
.nav-toggle__lines::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__lines { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__lines::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__lines::after { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================================
   S01 — HEADER + HERO — BARRIÈRE CALME
   ========================================================================== */
.hero {
  position: relative;
  background: var(--cc-navy);
  min-height: min(94vh, 1040px);
  display: grid;
  align-items: center;
  padding: clamp(150px, 17vh, 210px) 0 76px;
  isolation: isolate;
}

.hero__scene { position: absolute; inset: 0 0 56px 0; z-index: 0; overflow: hidden; }

.hero__echo { position: absolute; inset: 0; }
.hero__media { position: absolute; top: 0; bottom: 0; right: 0; left: 26%; }

/* THERMAL ECHO EDGE — cyan sliver anticipating the barrier */
.hero__echo {
  background: var(--cc-cyan);
  clip-path: polygon(50.3% 0, 100% 0, 100% 100%, 31.3% 100%);
}
.hero__media {
  clip-path: polygon(35.8% 0, 100% 0, 100% 100%, 10.1% 100%);
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 46%; }

/* keeps the nav legible over the sky AND over the cyan barrier */
.hero__shade {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(180deg, rgba(8,43,85,.88) 0%, rgba(8,43,85,.74) 8%, rgba(8,43,85,.2) 24%, rgba(8,43,85,0) 44%);
  pointer-events: none;
}

.hero__inner {
  position: relative; z-index: 2;
  width: 100%; max-width: var(--wrap); margin-inline: auto;
  padding-inline: var(--pad);
}

.hero__title {
  font-size: clamp(32px, 3.55vw, 51px);
  font-stretch: 92%;
  line-height: 1.05;
  color: var(--cc-white);
  max-width: 17ch;
}
.hero__title .line { display: block; }
.hero__title .line--accent { color: var(--cc-blue); margin-top: .28em; }

.hero__rule {
  display: block; width: 74px; height: 5px; background: var(--cc-cyan);
  margin: clamp(20px, 2.4vw, 30px) 0 clamp(18px, 2vw, 26px);
}

.hero__lead {
  font-family: var(--ff-display); font-weight: 700;
  font-size: clamp(19px, 1.6vw, 24px); color: var(--cc-cyan);
}
.hero__sub {
  margin-top: 10px; font-size: 17px; color: #C4D6E8; max-width: 26ch;
}

.hero__link {
  display: inline-flex; align-items: center; gap: 9px;
  min-height: 48px; padding: 12px 2px;
  font-family: var(--ff-display); font-weight: 700; font-size: 16px;
  color: var(--cc-white); text-decoration: none;
  border-bottom: 2px solid var(--cc-cyan);
}
.hero__link span { transition: transform .25s var(--ease); }
.hero__link:hover span, .hero__link:focus-visible span { transform: translateX(5px); }

.hero__actions {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px;
  margin-top: clamp(26px, 3vw, 40px); max-width: 32ch;
}

.hero__strip {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  min-height: 56px;
  padding: 10px var(--pad);
  background: var(--cc-deep);
  color: #BFD3E6; font-size: 15px;
  font-family: var(--ff-display); font-weight: 500;
}
.hero__strip .dot { color: var(--cc-blue); }

/* ==========================================================================
   S02 — VOTRE CONFORT DONNE DES SIGNAUX
   ========================================================================== */
.signals { padding: var(--sec-y) 0; background: var(--cc-white); }

.signals__grid { position: relative; display: grid; gap: clamp(18px, 2vw, 26px); }

.signal {
  position: relative; display: block;
  height: clamp(126px, 12vw, 178px);
  text-decoration: none;
  overflow: hidden;
}
.signal--1 { width: min(100%, 1050px); }
.signal--2 { width: min(100%, 1050px); margin-left: auto; margin-right: 0; }
.signal--3 { width: min(100%, 1050px); }

.signal__photo { position: absolute; inset: 0 0 0 auto; width: 42%; background: var(--cc-mist); }
.signal__photo picture { display: block; width: 100%; height: 100%; }
.signal__photo img { width: 100%; height: 100%; object-fit: cover; }

.signal__panel {
  position: absolute; inset: 0 auto 0 0;
  width: 70%;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 0 clamp(26px, 4vw, 58px) 0 clamp(24px, 3.4vw, 40px);
  background: var(--cc-blue);
  clip-path: polygon(0 0, 100% 0, calc(100% - 62px) 100%, 0 100%);
  transition: width .35s var(--ease);
}
.signal--2 .signal__panel { background: var(--cc-cyan-deep); }

.signal__text {
  font-family: var(--ff-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(20px, 1.85vw, 27px); line-height: 1.08; letter-spacing: -.01em;
  color: var(--cc-white);
}
.signal__arrow { font-size: 26px; font-weight: 700; color: var(--cc-white); flex: none; }

.signal:hover .signal__panel, .signal:focus-visible .signal__panel { width: 73%; }

/* short cyan tick above the first band */
.signal__tick {
  position: absolute; top: 0; left: 58%; width: 62px; height: 5px;
  background: var(--cc-cyan); z-index: 2;
}

/* ==========================================================================
   S03 — DEUX FAÇONS D'ISOLER VOTRE HABITAT
   ========================================================================== */
.routes { padding: var(--sec-y) 0; background: var(--cc-white); }

/* ==========================================================================
   S04 — OÙ INTERVIENT L'ISOLATION ?
   ========================================================================== */
.zones { padding: var(--sec-y) 0; background: var(--cc-deep); }

.zones__stage { position: relative; }

.zones__scene {
  position: relative;
  margin-left: auto; width: 76%;
  aspect-ratio: 7 / 5;
  overflow: hidden;
}
.zones__scene img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 46%; }

.zones__wash {
  position: absolute; inset: 0;
  background: rgba(21, 153, 209, .66);
  clip-path: polygon(0 0, 58% 0, 42% 100%, 0 100%);
}
.zones__echo {
  position: absolute; inset: 0;
  background: rgba(99, 196, 218, .5);
  clip-path: polygon(58% 0, 70% 0, 54% 100%, 42% 100%);
}

.zone-card {
  position: absolute;
  width: min(360px, 42%);
  padding: clamp(20px, 2vw, 28px) clamp(22px, 2.2vw, 32px);
  background: var(--cc-white);
  box-shadow: 0 26px 54px -28px rgba(0,0,0,.5);
}
.zone-card--in { left: 0; top: 16%; }
.zone-card--out { right: 2%; bottom: 8%; }

.zone-card__kicker {
  font-family: var(--ff-display); font-weight: 700; font-size: 13px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--cc-blue-ink);
}
.zone-card__title {
  margin-top: 10px; font-size: clamp(20px, 1.9vw, 27px);
  text-transform: none; color: var(--cc-ink);
}
.zone-card__text { margin-top: 8px; font-size: 16px; color: var(--cc-ink-soft); }

/* ==========================================================================
   S05 — BIEN PRÉPARER VOTRE PROJET
   ========================================================================== */
.guide { padding: var(--sec-y) 0; background: var(--cc-white); }

.guide__item {
  position: relative;
  display: grid;
  grid-template-columns: clamp(74px, 6.4vw, 100px) minmax(220px, 1fr) 1.25fr;
  align-items: center; gap: clamp(20px, 3vw, 48px);
  padding: clamp(26px, 3vw, 44px) 0;
  border-top: 1px solid #E4E9EF;
}
.guide__item:first-child { border-top: 0; }

.guide__icon { display: block; color: var(--cc-blue-ink); }
.guide__icon svg { display: block; width: clamp(44px, 3.8vw, 58px); height: auto; }
.guide__title {
  position: relative; font-size: clamp(19px, 1.7vw, 25px); color: var(--cc-ink);
  padding-left: clamp(18px, 2vw, 30px);
}
.guide__title::before {
  content: ''; position: absolute; left: 0; top: 2px; bottom: 2px;
  width: 5px; background: var(--cc-cyan);
}
.guide__text { font-size: 16px; color: var(--cc-ink-soft); }
.guide__item--media .guide__text { padding-right: 62%; }

.guide__photo {
  position: absolute; right: 0; bottom: 6px;
  width: min(380px, 32%); aspect-ratio: 8 / 3;
  overflow: hidden;
  clip-path: polygon(52px 0, 100% 0, 100% 100%, 0 100%);
}
.guide__photo::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 60px;
  background: var(--cc-cyan);
  clip-path: polygon(46px 0, 100% 0, 54px 100%, 0 100%);
  z-index: 2;
}
.guide__photo img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   S06 — UN PROJET, SIMPLEMENT
   ========================================================================== */
.process { padding: var(--sec-y) 0; background: var(--cc-deep); }

.process__seq { position: relative; }
.process__track {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 4vw, 58px);
  align-items: start;
}

/* Flow arrows between the steps. They live in an overlay, not in the steps:
   a clip-path on .step would crop any pseudo-element of its own. */
.process__flow { position: absolute; inset: 0; pointer-events: none; }
.process__flow i {
  position: absolute; top: 46%; left: 0;
  width: 26px; height: 2px; background: var(--cc-cyan);
  transform: translateX(-50%);
}
.process__flow i::after {
  content: ''; position: absolute; right: 0; top: -4px;
  width: 9px; height: 9px;
  border-top: 2px solid var(--cc-cyan); border-right: 2px solid var(--cc-cyan);
  transform: rotate(45deg);
}
.process__flow i:nth-child(1) { left: 25%; }
.process__flow i:nth-child(2) { left: 50%; }
.process__flow i:nth-child(3) { left: 75%; }

/* Varianta cu 3 pasi — paginile generate pastreaza cele trei etape confirmate cu
   clientul, nu cele patru generice ale demo-ului. Aceeasi identitate, alt numar de
   coloane; textele fiind mai lungi, casetele respira putin mai mult. */
.process__track--3 { grid-template-columns: repeat(3, 1fr); }
.process__track--3 .step__text { max-width: 30ch; }
.process__flow--3 i:nth-child(1) { left: 33.333%; }
.process__flow--3 i:nth-child(2) { left: 66.667%; }

.step {
  position: relative;
  min-height: clamp(196px, 20vw, 258px);
  padding: clamp(24px, 2.2vw, 34px) clamp(26px, 2.4vw, 38px);
  background: var(--cc-blue-ink);
  clip-path: polygon(7% 0, 100% 0, 93% 100%, 0 100%);
}
.step--low { margin-top: clamp(20px, 2.6vw, 42px); background: var(--cc-blue-deep); }

/* cyan echo edge riding the right side of each step */
.step::after {
  content: ''; position: absolute; top: 0; bottom: 0; right: 0; width: 15%;
  background: var(--cc-cyan);
  clip-path: polygon(64% 0, 100% 0, 60% 100%, 24% 100%);
}

.step__title {
  font-size: clamp(20px, 1.9vw, 27px); color: var(--cc-white);
}
.step__text { margin-top: 12px; font-size: 16px; color: rgba(255,255,255,.9); max-width: 22ch; }

.process__strips {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 4vw, 76px);
  margin-top: clamp(22px, 2.6vw, 36px);
}
.process__strip {
  display: block; height: clamp(110px, 11vw, 168px); overflow: hidden;
}
.process__strip:first-child { clip-path: polygon(0 0, 100% 0, calc(100% - 44px) 100%, 0 100%); }
.process__strip:last-child { clip-path: polygon(44px 0, 100% 0, 100% 100%, 0 100%); }
.process__strip img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   S07 — QUESTIONS FRÉQUENTES
   ========================================================================== */
.faq { padding: var(--sec-y) 0; background: var(--cc-white); }

.faq__row { border-bottom: 1px solid #E4E9EF; }
.faq__row.is-open { background: var(--cc-mist); border-bottom-color: transparent; }
.faq__row h3 { margin: 0; font: inherit; text-transform: none; letter-spacing: normal; }

.faq__q {
  position: relative;
  display: grid; grid-template-columns: 1fr 40px; align-items: center; gap: 12px;
  width: 100%; min-height: 76px;
  padding: 18px clamp(16px, 2vw, 26px) 18px clamp(18px, 2vw, 30px);
  background: transparent; border: 0; cursor: pointer;
  font-family: var(--ff-body); text-align: left;
}
.faq__row.is-open .faq__q::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 6px;
  background: var(--cc-cyan);
}

.faq__label { font-size: clamp(16px, 1.35vw, 19px); font-weight: 700; color: var(--cc-ink); }

.faq__sign { position: relative; width: 22px; height: 22px; justify-self: end; }
.faq__sign::before, .faq__sign::after {
  content: ''; position: absolute; left: 0; top: 10px; width: 22px; height: 2px;
  background: var(--cc-blue-ink);
  transition: transform .22s var(--ease);
}
.faq__sign::after { transform: rotate(90deg); }
.faq__row.is-open .faq__sign::after { transform: rotate(90deg) scaleX(0); }

.faq__a {
  padding: 0 clamp(18px, 2vw, 30px) 22px clamp(18px, 2vw, 30px);
  font-size: 16px; color: var(--cc-ink-soft);
}
.faq__a[hidden] { display: none; }
.faq__a a { color: var(--cc-blue-ink); font-weight: 600; }

/* ==========================================================================
   S08 — CC RENOV À VARINFROY
   ========================================================================== */
.about {
  position: relative;
  padding: var(--sec-y) 0;
  background: var(--cc-mist);
  overflow: hidden;
}

.about__ghost {
  position: absolute; left: -.06em; bottom: 4%;
  font-family: var(--ff-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(74px, 11vw, 168px); line-height: .8;
  color: var(--cc-ghost);
  pointer-events: none; user-select: none;
  z-index: 0;
}

.about__panel {
  position: absolute; inset: 0;
  background: var(--cc-blue);
  clip-path: polygon(68.4% 0, 100% 0, 100% 100%, 83.3% 100%);
  z-index: 1;
}
.about__edge {
  position: absolute; inset: 0;
  background: var(--cc-cyan);
  clip-path: polygon(64.4% 0, 67.6% 0, 82.5% 100%, 79.3% 100%);
  z-index: 1;
}

.about__wrap {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .78fr);
  align-items: center; gap: clamp(28px, 4vw, 64px);
  padding-right: clamp(150px, 17vw, 262px);
}

.about__logo {
  display: block; width: clamp(150px, 15vw, 216px);
  padding: 12px 14px; background: var(--cc-navy);
  border: 1px solid rgba(255,255,255,.14);
}

.about__title { margin-top: clamp(22px, 2.6vw, 38px); font-size: clamp(30px, 3.5vw, 50px); color: var(--cc-ink); }
.about__lead { margin-top: 14px; font-size: 17px; color: var(--cc-ink-soft); }

.about__facts { margin-top: clamp(24px, 2.8vw, 40px); }
.about__name { font-family: var(--ff-display); font-weight: 700; font-size: 19px; color: var(--cc-ink); }
.about__addr { margin-top: 10px; font-size: 16px; color: var(--cc-ink-soft); }
.about__phone { display: flex; align-items: center; gap: 11px; margin-top: 18px; }
.about__phone svg { width: 22px; height: 22px; fill: var(--cc-blue-ink); flex: none; }
.about__phone a {
  display: inline-flex; align-items: center; min-height: 44px;
  font-family: var(--ff-display); font-weight: 700; font-size: clamp(19px, 1.7vw, 23px);
  color: var(--cc-ink); text-decoration: none; padding: 8px 0;
  border-bottom: 2px solid transparent;
}
.about__phone a:hover, .about__phone a:focus-visible { border-bottom-color: var(--cc-blue-ink); }

.about__media {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  clip-path: polygon(46px 0, 100% 0, 100% 100%, 0 100%);
}
.about__media::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 54px;
  background: var(--cc-cyan);
  clip-path: polygon(40px 0, 100% 0, 48px 100%, 0 100%);
  z-index: 2;
}
.about__media img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; }

.about__claim {
  position: absolute; right: clamp(10px, 1.8vw, 34px); top: 50%;
  transform: translateY(-50%);
  width: clamp(126px, 13vw, 190px);
  padding: 18px 12px;
  background: var(--cc-blue);
  z-index: 3; text-align: center;
}
.about__claim-title {
  display: block; font-family: var(--ff-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(20px, 1.9vw, 28px); line-height: 1.1; color: var(--cc-white);
}
.about__claim-sub {
  display: block; margin-top: 20px;
  font-family: var(--ff-display); font-weight: 700; text-transform: uppercase;
  font-size: 19px; line-height: 1.5; color: var(--cc-white);
}

/* ==========================================================================
   S09 — PARLONS DE VOTRE PROJET + FOOTER
   ========================================================================== */
.close {
  position: relative;
  display: grid; grid-template-columns: 40% 60%;
  background: var(--cc-deep);
  overflow: hidden;
}
.close::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: var(--cc-blue);
  clip-path: polygon(0 0, 37.6% 0, 41.2% 100%, 0 100%);
}

.close__left {
  position: relative; z-index: 2;
  padding: clamp(44px, 6vw, 88px) clamp(40px, 6vw, 96px) clamp(44px, 6vw, 88px) var(--pad);
  display: flex; flex-direction: column; align-items: flex-start;
}
.close__logo {
  display: block; width: clamp(130px, 13vw, 190px);
  padding: 10px 12px; background: var(--cc-navy);
  border: 1px solid rgba(255,255,255,.16);
}
.close__title {
  margin-top: clamp(28px, 3.4vw, 52px);
  font-size: clamp(28px, 3.3vw, 48px); color: var(--cc-white);
}
.close .btn--cyan { margin-top: clamp(26px, 3vw, 44px); }

.close__edge {
  position: absolute; inset: 0;
  background: var(--cc-cyan);
  clip-path: polygon(37.6% 0, 41.4% 0, 45% 100%, 41.2% 100%);
  z-index: 1; pointer-events: none;
}

.close__right {
  position: relative; z-index: 2;
  padding: clamp(44px, 6vw, 88px) var(--pad) clamp(40px, 5vw, 72px) clamp(40px, 8vw, 124px);
  color: var(--cc-white);
}

.close__phone { display: flex; align-items: center; gap: 14px; }
.close__phone svg { width: 30px; height: 30px; fill: var(--cc-cyan); flex: none; }
.close__phone a {
  font-family: var(--ff-display); font-weight: 800;
  font-size: clamp(27px, 3vw, 44px); letter-spacing: -.01em;
  color: var(--cc-white); text-decoration: none;
  border-bottom: 3px solid transparent; padding-bottom: 3px;
}
.close__phone a:hover, .close__phone a:focus-visible { border-bottom-color: var(--cc-cyan); }

.close__addr { display: flex; align-items: flex-start; gap: 14px; margin-top: clamp(22px, 2.4vw, 32px); }
.close__addr svg { width: 26px; height: 26px; fill: var(--cc-cyan); flex: none; margin-top: 2px; }
.close__addr span { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.4; }

.close__rule { border: 0; border-top: 1px solid rgba(255,255,255,.18); margin: clamp(26px, 3vw, 44px) 0; }

.close__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 44px); }
.close__col-title {
  font-family: var(--ff-display); font-weight: 700; font-size: 14px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--cc-cyan);
  margin-bottom: 16px;
}
.close__cols li { margin-bottom: 4px; }
.close__cols a {
  display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; padding: 8px 0;
  font-size: 16px; color: rgba(255,255,255,.88); text-decoration: none;
}
.close__cols a:hover, .close__cols a:focus-visible { color: var(--cc-cyan); text-decoration: underline; }
.close__cols li:not(:has(a)) { padding: 11px 0; font-size: 16px; color: rgba(255,255,255,.88); }

.site-footer {
  background: #041730; color: #7E9DBB;
  padding: 18px var(--pad); text-align: center; font-size: 14px;
}

/* ==========================================================================
   RESPONSIVE — mobile is recomposed, not shrunk
   ========================================================================== */

/* On wide monitors the navy field stayed narrow while the media field grew, which
   both squeezed the headline into a corner and cropped 39% off the house.
   Pushing the barrier right fixes the proportion and the crop at once. */
@media (min-width: 1600px) {
  /* 2400px × 64% = 1536px: the generated source remains pixel-for-pixel at
     the widest audited viewport instead of being enlarged to 1638px. */
  .hero__scene { left: auto; width: 100%; max-width: 2400px; }
  .hero__media {
    left: 36%;
    clip-path: polygon(34.4% 0, 100% 0, 100% 100%, 6.3% 100%);
  }
  .hero__echo { clip-path: polygon(56.5% 0, 100% 0, 100% 100%, 38.5% 100%); }
}

@media (max-width: 1180px) {
  .nav__list { gap: 16px; }
  .nav__list a { font-size: 15px; }
  .about__claim { top: 22%; transform: none; }
}

@media (max-width: 1024px) {
  .zones__scene { width: 100%; }
  .zone-card--in { top: 4%; }
  .zone-card--out { bottom: 4%; }

  .process__track { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .process__flow { display: none; }
  .step { min-height: 220px; }
  .step--low { margin-top: 0; }

  .guide__item { grid-template-columns: clamp(62px, 8vw, 84px) 1fr; }
  .guide__text { grid-column: 2; }
  .guide__photo { display: none; }
  .guide__item--media .guide__text { padding-right: 0; }
}

/* ---- tablet & below: header collapses, barrier simplifies ---- */
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }

  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    margin: 0; background: var(--cc-navy);
    border-top: 3px solid var(--cc-cyan);
    display: none;
  }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; gap: 0; padding: 8px var(--pad) 18px; }
  .nav__list a { display: block; padding: 15px 0; font-size: 17px; border-bottom: 1px solid rgba(255,255,255,.12); }
  .site-header__bar { position: relative; flex-wrap: nowrap; }
  .site-header { background: var(--cc-deep); }
  .phone-btn span { display: none; }
  .phone-btn { padding: 12px 14px; min-width: 48px; justify-content: center; }
  .nav { margin-right: 0; }
  .brand { margin-right: auto; }

  /* HERO — barrier becomes one horizontal band, media on top.
     Band height: ~360px at 390px wide so the house has room, but it still
     leaves the headline and the primary button on the first phone screen.
     Floors at 316px on a 320px screen, caps at 540px. */
  .hero {
    --hero-band: clamp(300px, calc(62vw + 118px), 540px);
    min-height: 0; display: block;
    padding: var(--hero-band) 0 56px;
  }
  .hero__scene { inset: 0 0 auto 0; height: var(--hero-band); }
  .hero__media { left: 0; }
  .hero__media, .hero__echo { clip-path: none; }
  .hero__echo { display: none; }
  .hero__media img { object-position: 50% 50%; }
  /* Top: keeps the nav legible over the sky.
     Bottom: the photo dissolves into the navy field instead of being cut off. */
  .hero__shade {
    background: linear-gradient(180deg,
      rgba(8,43,85,.72) 0%,
      rgba(8,43,85,.16) 30%,
      rgba(8,43,85,.05) 52%,
      rgba(8,43,85,.34) 74%,
      rgba(8,43,85,.78) 90%,
      rgba(8,43,85,1) 100%);
  }
  .hero__inner {
    position: relative;
    padding-top: clamp(30px, 6vw, 52px);
    padding-bottom: clamp(34px, 6vw, 56px);
  }
  /* The cyan plinth was the hard seam between photo and navy field. The photo
     now dissolves into the field, so the plinth would read as a floating line. */
  .hero__inner::before { display: none; }
  .hero__title { max-width: none; }
  .hero__sub { max-width: none; }

  /* S02 — full-width bands, photo fragment shrinks */
  .signal--1, .signal--2, .signal--3 { width: 100%; }
  .signal__panel { width: 76%; }
  .signal:hover .signal__panel, .signal:focus-visible .signal__panel { width: 79%; }

  /* S08 — single column, blue panel becomes a top band */
  .about__wrap { grid-template-columns: 1fr; padding-right: 0; }
  .about__panel { bottom: auto; height: 12px; clip-path: none; }
  .about__edge { display: none; }
  .about__media { aspect-ratio: 4 / 3; }
  .about__claim {
    /* the desktop rule pins this to 126-190px; stacked it must take the row,
       otherwise the white claim spills off the blue plate onto the pale field */
    position: relative; right: auto; top: auto; transform: none; width: 100%;
    display: flex; flex-wrap: wrap; align-items: center; gap: 18px;
    text-align: left;
    padding: clamp(20px, 4vw, 30px);
    background: var(--cc-blue);
  }
  .about__claim-sub { margin-top: 0; font-size: 19px; line-height: 1.35; }
  .about__ghost { font-size: clamp(70px, 18vw, 130px); bottom: 2%; opacity: .8; }

  /* S09 — stack, barrier becomes a horizontal edge */
  .close { grid-template-columns: 1fr; }
  .close::before { display: none; }
  .close__left { background: var(--cc-blue); }
  .close__left { padding: clamp(38px, 8vw, 56px) var(--pad); }
  .close__edge {
    position: relative; grid-row: 2;
    inset: auto; width: 100%; height: 12px;
    clip-path: none;
  }
  .close__right { padding: clamp(38px, 8vw, 56px) var(--pad); }
}

@media (max-width: 700px) {
  body { font-size: 16px; }

  /* The photo fills the whole card and the coloured panel dissolves into it,
     so the image reads at full height instead of sitting under a solid slab.
     The last 62px of the panel are the fade, and the text never enters it. */
  .signal { height: auto; display: block; position: relative; }
  /* Phones get their own 3:2 crop (see <picture>), so the card can be tall
     without the wide desktop strip losing a third of its frame. */
  .signal__photo {
    position: relative; inset: auto; width: 100%;
    height: auto; aspect-ratio: 3 / 2; max-height: 300px;
  }
  .signal__panel {
    position: absolute; top: 0; left: 0; right: 0; bottom: auto;
    width: 100%; min-height: 0;
    display: flex; align-items: center;
    padding: 18px 30px 62px 22px;
    clip-path: none;
    background: linear-gradient(180deg,
      #1599D1 0, #1599D1 calc(100% - 62px), rgba(21,153,209,0) 100%);
  }
  .signal--2 .signal__panel {
    background: linear-gradient(180deg,
      #268BA1 0, #268BA1 calc(100% - 62px), rgba(38,139,161,0) 100%);
  }
  .signal:hover .signal__panel, .signal:focus-visible .signal__panel { width: 100%; }
  .signal__text { font-size: 20px; }
  .signal__arrow { font-size: 20px; margin-left: auto; padding-left: 10px; }
  .signal__tick { left: auto; right: 0; width: 48px; }

  .zones__scene { aspect-ratio: 4 / 3; }
  .zone-card { position: relative; width: 100%; left: auto; right: auto; top: auto; bottom: auto; }
  .zone-card--in { margin-top: -34px; }
  .zone-card--out { margin-top: 16px; }
  .zones__wash { clip-path: polygon(0 0, 100% 0, 100% 46%, 0 62%); }
  .zones__echo { clip-path: polygon(0 62%, 100% 46%, 100% 56%, 0 72%); }

  .process__track { grid-template-columns: 1fr; }
  /* one oblique edge per block on phones, not two — the left edge lines up
     with everything else in the column */
  .step { min-height: 0; clip-path: polygon(0 0, 100% 0, 96% 100%, 0 100%); }
  .step::after { width: 9%; }
  .step__text { max-width: none; }
  .process__strips { grid-template-columns: 1fr; gap: 14px; }
  /* one strip per row: keep the box wide, or a 1200x274 strip loses 43% of its frame */
  .process__strip { height: auto; aspect-ratio: 3 / 1; }

  .guide__item { grid-template-columns: 58px 1fr; gap: 14px 18px; row-gap: 10px; }
  .guide__title { padding-left: 16px; }

  .faq__q { grid-template-columns: 1fr 30px; gap: 10px; padding-left: 16px; padding-right: 14px; }
  .faq__a { padding-left: 16px; padding-right: 16px; }

  .close__cols { grid-template-columns: 1fr 1fr; }
  /* «Identité» spune CC RENOV + Varinfroy, care sunt deja in linia de copyright
     de dedesubt; pe doua coloane ar lasa o celula goala, deci se strange */
  .close__cols > div:nth-child(3) { display: none; }
}

/* Meta strip: below this width the four items wrap and leave "Varinfroy"
   orphaned on a second line. The two services are already stated in the lead
   line right above, so on small screens the strip keeps firm + city only. */
@media (max-width: 640px) {
  .hero__strip > :nth-child(n+3):nth-child(-n+6) { display: none; }
}

@media (max-width: 460px) {
  .hero__actions { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
  .hero__strip { font-size: 13px; gap: 8px; }
  .about__logo { width: 140px; }
  /* the footer stays on two columns even on the narrowest phone: one column
     turns the closing section into a long scroll for nine short links */
  .close__cols { grid-template-columns: 1fr 1fr; }
  .about__claim { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* ============================================================
   Bouton WhatsApp flottant
   Vert WhatsApp officiel #25D366 : c'est la marque elle-meme, ne pas
   "corriger" le contraste du glyphe blanc.
   z-index sous l'en-tete (60) pour que le menu mobile ouvert le recouvre.
   ============================================================ */
.wa-float {
  position: fixed; right: 20px; z-index: 40;
  bottom: max(20px, env(safe-area-inset-bottom));
  display: grid; place-items: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff;
  box-shadow: 0 10px 26px -8px rgba(10, 14, 20, .45);
  transition: transform .22s cubic-bezier(.2,.7,.3,1), box-shadow .22s cubic-bezier(.2,.7,.3,1);
}
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 16px 32px -10px rgba(10, 14, 20, .5); }
.wa-float:focus-visible { outline: 3px solid var(--cc-cyan); outline-offset: 3px; }
.wa-float svg { display: block; width: 30px; height: 30px; fill: currentColor; }

@media (max-width: 620px) {
  .wa-float {
    right: 14px; bottom: max(14px, env(safe-area-inset-bottom));
    width: 52px; height: 52px;
  }
  .wa-float svg { width: 28px; height: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .wa-float { transition: none; }
  .wa-float:hover { transform: none; }
}
@media print { .wa-float { display: none; } }
