/* ==========================================================================
   PRIEZ — Couverture · Plomberie · Chauffage
   Design system + composants
   --------------------------------------------------------------------------
   Structure du fichier :
   1.  Tokens (couleurs, typo, espacements, rayons)
   2.  Reset & bases
   3.  Utilitaires de layout
   4.  Composants (boutons, badges, cartes, logo)
   5.  Header / navigation
   6.  Sections (hero, marquee, services, chiffres, réalisations, process,
       zone, avis, CTA, contact, footer)
   7.  Animations & responsive
   ========================================================================== */

/* 0. POLICES ===============================================================
   Auto-hébergées : aucun appel à Google Fonts, donc aucune IP de visiteur
   transmise à un tiers. Fichiers variables (une seule requête par famille
   pour toutes les graisses). Licences OFL dans assets/fonts/.
   ========================================================================== */

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('../fonts/outfit-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,
                 U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,
                 U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('../fonts/outfit-latin-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,
                 U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,
                 U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('../fonts/inter-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,
                 U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,
                 U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('../fonts/inter-latin-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,
                 U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,
                 U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* 1. TOKENS ================================================================ */

:root {
  /* Couleurs de marque — issues du logo PRIEZ */
  --ink:        #0E1116;   /* anthracite, fond principal sombre */
  --ink-soft:   #171D26;   /* anthracite légèrement plus clair */
  --ink-line:   #232B36;   /* filets sur fond sombre */
  --red:        #C8102E;   /* rouge PRIEZ */
  --red-dark:   #A20D25;
  --red-soft:   rgba(200, 16, 46, 0.10);

  --paper:      #FFFFFF;
  --paper-2:    #F5F6F8;   /* fond de section clair */
  --paper-3:    #ECEEF2;   /* champs de formulaire */
  --line:       #E2E5EB;

  --text:       #11151B;
  --text-muted: #5B6472;
  --text-onink: rgba(255, 255, 255, 0.72);

  /* Typographie */
  --font-display: 'Outfit', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Rythme */
  --wrap:      1240px;
  --gutter:    clamp(20px, 5vw, 48px);
  --section-y: clamp(72px, 9vw, 132px);

  /* Rayons — le vocabulaire visuel du site : tout est très arrondi */
  --r-pill: 999px;
  --r-lg:   28px;
  --r-xl:   36px;
  --r-2xl:  clamp(28px, 4vw, 48px);

  /* Ombres */
  --shadow-sm: 0 2px 8px rgba(14, 17, 22, 0.06);
  --shadow-md: 0 18px 44px -18px rgba(14, 17, 22, 0.28);
  --shadow-lg: 0 40px 90px -40px rgba(14, 17, 22, 0.45);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* 2. RESET & BASES ========================================================= */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); letter-spacing: -0.02em; }
h4 { font-size: 1.05rem; letter-spacing: -0.01em; }

p  { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration: none; }

img, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--red); color: #fff; }

/* Lien d'évitement (accessibilité) */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 999;
  padding: 12px 20px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-pill);
}
.skip-link:focus { left: 16px; }

/* 3. LAYOUT ================================================================ */

.wrap {
  width: min(100% - (var(--gutter) * 2), var(--wrap));
  margin-inline: auto;
}

.section { padding-block: var(--section-y); }

.section--ink {
  background: var(--ink);
  color: #fff;
}
.section--ink p { color: var(--text-onink); }

.section--soft { background: var(--paper-2); }

/* Blocs arrondis qui se chevauchent — signature visuelle */
.section--rounded {
  border-radius: var(--r-2xl);
  margin-inline: clamp(8px, 1.6vw, 20px);
}

.grid { display: grid; gap: clamp(16px, 2.2vw, 28px); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.stack-sm > * + * { margin-top: 12px; }
.stack    > * + * { margin-top: 24px; }

.center      { text-align: center; }
.measure     { max-width: 62ch; }
.measure--sm { max-width: 46ch; }
.mx-auto     { margin-inline: auto; }

/* En-tête de section */
.section-head {
  max-width: 720px;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.section-head.center { margin-inline: auto; }

.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
  color: var(--text-muted);
  line-height: 1.6;
}
.section--ink .lead { color: var(--text-onink); }

/* 4. COMPOSANTS ============================================================ */

/* --- Eyebrow / badge --- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
}
.section--ink .eyebrow { color: #fff; }
.section--ink .eyebrow::before { background: var(--red); }

/* --- Boutons --- */
.btn {
  --btn-bg: var(--red);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 13px 14px 13px 26px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 0;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background-color 0.25s, box-shadow 0.35s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }

/* Pastille flèche à droite du bouton */
.btn__icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  flex: none;
  transition: transform 0.35s var(--ease);
}
.btn:hover .btn__icon { transform: rotate(45deg); }
.btn__icon svg { width: 14px; height: 14px; }

.btn--ink   { --btn-bg: var(--ink); }
.btn--white { --btn-bg: #fff; --btn-fg: var(--ink); }
.btn--white .btn__icon { background: rgba(14, 17, 22, 0.10); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ghost .btn__icon { background: var(--paper-3); }

.section--ink .btn--ghost,
.hero .btn--ghost,
.mobile-nav .btn--ghost {
  --btn-fg: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.28);
}
.section--ink .btn--ghost .btn__icon,
.hero .btn--ghost .btn__icon,
.mobile-nav .btn--ghost .btn__icon { background: rgba(255, 255, 255, 0.14); }
.section--ink .btn--ghost:hover,
.hero .btn--ghost:hover { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.7); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* --- Logo (composé en CSS : se recolore selon le contexte) --- */
.logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  line-height: 1;
  color: var(--ink);
}
.logo__word {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5rem;
  letter-spacing: 0.22em;
  text-indent: 0.22em;   /* compense le letter-spacing pour rester centré */
}
.logo__bar {
  width: 62%;
  height: 4px;
  background: var(--red);
  border-radius: 1px;
}
.logo__tag {
  font-family: var(--font-body);
  font-size: 0.44rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.75;
  white-space: nowrap;
}
.logo--light { color: #fff; }
.logo--lg .logo__word { font-size: 2.6rem; }
.logo--lg .logo__tag  { font-size: 0.66rem; }

/* --- Carte générique --- */
.card {
  background: var(--paper);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 36px);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}

/* 5. HEADER ================================================================ */

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding-block: 18px;
  transition: padding 0.35s var(--ease);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px clamp(16px, 2.2vw, 26px);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  box-shadow: 0 10px 30px -14px rgba(14, 17, 22, 0.35);
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease),
              box-shadow 0.35s var(--ease), padding 0.35s var(--ease);
}

/* Sur fond sombre (hero), le header est en verre dépoli clair et blanc */
.header .logo { color: #fff; }
.header__nav a { color: rgba(255, 255, 255, 0.82); }

/* État « scrollé » : pastille en verre dépoli clair et opaque, contenu sombre */
.header.is-stuck { padding-block: 12px; }
.header.is-stuck .header__inner {
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(14, 17, 22, 0.06);
  box-shadow: var(--shadow-md);
}
.header.is-stuck .logo { color: var(--ink); }
.header.is-stuck .header__nav a { color: var(--text); }
.header.is-stuck .burger { color: var(--ink); }

/* Pages intérieures : header clair dès le départ */
body.has-light-header .header .header__inner {
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(14, 17, 22, 0.06);
  box-shadow: var(--shadow-md);
}
body.has-light-header .header .logo { color: var(--ink); }
body.has-light-header .header__nav a { color: var(--text); }
body.has-light-header .burger { color: var(--ink); }

.header__nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
}
.header__nav a {
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
  transition: color 0.2s;
}
.header__nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.header__nav a:hover::after,
.header__nav a[aria-current='page']::after { transform: scaleX(1); }

.header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.header__tel {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
}
.header .header__tel { color: #fff; }
.header.is-stuck .header__tel,
body.has-light-header .header__tel { color: var(--ink); }

/* Bouton burger */
.burger {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  cursor: pointer;
  place-items: center;
}
.burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.burger span + span { margin-top: 4px; }
.burger[aria-expanded='true'] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded='true'] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Barre d'appel fixe (mobile uniquement) : l'action qui convertit le plus */
.mobile-callbar {
  display: none;
  position: fixed;
  inset: auto 0 0 0;
  z-index: 90;
  padding: 10px env(safe-area-inset-right, 0) calc(10px + env(safe-area-inset-bottom, 0)) env(safe-area-inset-left, 0);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px -12px rgba(14, 17, 22, 0.18);
  gap: 10px;
}
.mobile-callbar__btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
}
.mobile-callbar__btn--call {
  background: var(--ink);
  color: #fff;
}
.mobile-callbar__btn--quote {
  background: var(--red);
  color: #fff;
}
.mobile-callbar__btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.mobile-nav.is-open ~ .mobile-callbar { display: none; }

/* Menu mobile plein écran */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--ink);
  color: #fff;
  padding: 110px var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateY(-100%);
  transition: transform 0.5s var(--ease);
  overflow-y: auto;
}
.mobile-nav.is-open { transform: translateY(0); }
.mobile-nav a {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 8vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  padding-block: 10px;
  border-bottom: 1px solid var(--ink-line);
}
.mobile-nav__foot {
  margin-top: 40px;
  color: var(--text-onink);
  font-size: 0.95rem;
}

/* 6. SECTIONS ============================================================== */

/* --- HERO --- */
.hero {
  position: relative;
  min-height: min(100svh, 900px);
  display: flex;
  align-items: flex-end;
  padding: 140px 0 clamp(48px, 7vw, 92px);
  background: var(--ink);
  color: #fff;
  border-bottom-left-radius: var(--r-2xl);
  border-bottom-right-radius: var(--r-2xl);
  overflow: hidden;
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgba(14, 17, 22, 0.92) 0%, rgba(14, 17, 22, 0.45) 48%, rgba(14, 17, 22, 0.55) 100%);
}
.hero h1 { margin-bottom: 24px; }
.hero__sub {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: rgba(255, 255, 255, 0.86);
  max-width: 46ch;
  margin-bottom: 34px;
}
.hero__cta { margin-bottom: clamp(36px, 5vw, 56px); }

/* Bandeau de réassurance en bas du hero */
.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 4vw, 56px);
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.hero__fact strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}
.hero__fact span {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.62);
}

.hero__social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s;
}
.hero__social:hover { color: #fff; }
.hero__social-stars { color: var(--red); letter-spacing: 2px; }

/* Tarifs */
.pricing-card h3 { font-size: 1.2rem; margin-bottom: 4px; }
.pricing-card__rate {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--red);
  margin: 14px 0 2px;
}
.pricing-card__rate span { font-size: 1rem; color: var(--text-muted); font-weight: 500; }
.pricing-card__lines { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 16px; }
.pricing-card__lines dt { font-size: 0.82rem; color: var(--text-muted); }
.pricing-card__lines dd { font-weight: 600; margin: 0 0 12px; }
.pricing-note {
  margin-top: 24px;
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* Bandeau urgence */
.urgency { background: var(--red); }
.urgency__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3vw, 28px);
  padding-block: 16px;
  text-align: center;
}
.urgency__inner p { color: #fff; font-size: 0.98rem; margin: 0; }
.urgency__inner .btn { padding: 10px 12px 10px 22px; font-size: 0.9rem; flex-shrink: 0; }
@media (max-width: 640px) {
  .urgency__inner { flex-direction: column; gap: 12px; }
}

/* Pastille ronde flottante (« Devis gratuit ») */
.floating-badge {
  position: absolute;
  right: clamp(20px, 6vw, 90px);
  bottom: clamp(120px, 22vw, 220px);
  width: clamp(104px, 12vw, 138px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: grid;
  place-items: center;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
  box-shadow: var(--shadow-lg);
  transition: transform 0.4s var(--ease);
  z-index: 2;
}
.floating-badge:hover { transform: scale(1.06) rotate(-4deg); }

/* --- MARQUEE (bandeau défilant) --- */
.marquee {
  background: var(--paper);
  padding-block: 22px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.marquee__track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: marquee 34s linear infinite;
}
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding-inline: 22px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(0.9rem, 1.3vw, 1.05rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}
.marquee__item::after {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  flex: none;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee:hover .marquee__track { animation-play-state: paused; }

/* --- SERVICES --- */
.service {
  position: relative;
  display: block;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(26px, 3vw, 38px);
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.3s;
}
.service::before {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.service:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.service:hover::before { transform: scaleX(1); }

.service__num {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--red);
  margin-bottom: 22px;
  display: block;
}
.service__icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--red-soft);
  color: var(--red);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
}
.service__icon svg { width: 26px; height: 26px; }
.service h3 { margin-bottom: 12px; }
.service p { color: var(--text-muted); font-size: 0.97rem; }

.service__list {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--text-muted);
}
.service__list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 7px;
}
.service__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 2px;
  background: var(--red);
}

/* --- CHIFFRES --- */
.stat {
  padding: clamp(24px, 3vw, 34px) 0;
  border-top: 1px solid var(--ink-line);
}
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 10px;
}
.stat span { font-size: 0.92rem; color: var(--text-onink); }

/* --- RÉALISATIONS --- */
.project {
  position: relative;
  display: block;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  min-height: 420px;
  isolation: isolate;
}
.project img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.9s var(--ease);
}
.project::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(14, 17, 22, 0.94) 8%, rgba(14, 17, 22, 0.15) 62%);
}
.project:hover img { transform: scale(1.06); }

.project__body {
  position: absolute;
  inset: auto 0 0 0;
  padding: clamp(22px, 2.6vw, 32px);
}
.project__tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: var(--r-pill);
  background: var(--red);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.project h3 { margin-bottom: 8px; font-size: clamp(1.2rem, 1.8vw, 1.5rem); }
.project p {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.94rem;
  margin: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease), opacity 0.4s, margin 0.4s;
}
.project:hover p { max-height: 160px; opacity: 1; margin-top: 6px; }

.project--tall { min-height: 560px; }

/* --- PROCESS (étapes) --- */
.step {
  position: relative;
  padding-top: 30px;
  border-top: 2px solid var(--line);
}
.step__num {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--red);
  display: block;
  margin-bottom: 14px;
}
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: 0.95rem; }

/* --- ZONE D'INTERVENTION --- */
.zone-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.zone-list li {
  padding: 9px 18px;
  border-radius: var(--r-pill);
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 0.9rem;
  font-weight: 500;
}

/* --- AVIS --- */
.quote {
  background: var(--paper);
  border-radius: var(--r-lg);
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.quote__stars { color: var(--red); letter-spacing: 3px; margin-bottom: 16px; font-size: 0.95rem; }
.quote blockquote {
  margin: 0 0 22px;
  font-size: 1.02rem;
  line-height: 1.6;
  flex: 1;
}
.quote figcaption { font-size: 0.88rem; color: var(--text-muted); }
.quote figcaption strong { display: block; color: var(--text); font-size: 0.95rem; }

/* --- CTA final --- */
.cta {
  text-align: center;
  padding-block: clamp(80px, 10vw, 150px);
}
.cta h2 { font-size: clamp(2.2rem, 6vw, 4.4rem); margin-bottom: 20px; }
.cta .lead { margin-inline: auto; margin-bottom: 36px; }

/* --- FORMULAIRE --- */
.form { display: grid; gap: 14px; }
.form__row { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }

.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 7px;
  padding-left: 22px;
}
.field__optional { font-weight: 400; text-transform: none; letter-spacing: 0; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 16px 24px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  background: var(--paper-3);
  font-family: inherit;
  font-size: 0.98rem;
  color: var(--text);
  transition: border-color 0.2s, background-color 0.2s;
}
.field textarea {
  border-radius: 24px;
  min-height: 150px;
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder { color: #8B939F; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: var(--paper);
}
.field select { appearance: none; cursor: pointer; }

.form__note { font-size: 0.82rem; color: var(--text-muted); }

.form__status {
  display: none;
  padding: 14px 22px;
  border-radius: var(--r-lg);
  font-size: 0.92rem;
}
.form__status.is-visible { display: block; }
.form__status--ok  { background: #E9F7EF; color: #1B7A46; }
.form__status--err { background: var(--red-soft); color: var(--red-dark); }

/* Bloc contact latéral */
.contact-aside {
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-lg);
  padding: clamp(28px, 3.4vw, 44px);
}
.contact-aside a { color: #fff; }
.contact-item { padding-block: 20px; border-bottom: 1px solid var(--ink-line); }
.contact-item:last-child { border-bottom: 0; }
.contact-item span {
  display: block;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 6px;
}
.contact-item strong {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* --- FOOTER --- */
.footer {
  background: var(--ink);
  color: #fff;
  padding-top: clamp(60px, 7vw, 96px);
  padding-bottom: 32px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: 48px;
  border-bottom: 1px solid var(--ink-line);
}
.footer h4 {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 18px;
  font-family: var(--font-body);
  font-weight: 600;
}
.footer li { margin-bottom: 10px; }
.footer a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  transition: color 0.2s;
}
.footer a:hover { color: #fff; }
.footer__intro { color: var(--text-onink); font-size: 0.95rem; margin-top: 22px; max-width: 34ch; }

.footer__contact strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.footer__contact a { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--red); text-decoration-thickness: 2px; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding-top: 26px;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.45);
}

/* --- Page header (pages intérieures) --- */
.page-head {
  padding: clamp(150px, 16vw, 200px) 0 clamp(56px, 7vw, 88px);
  background: var(--paper-2);
  border-bottom-left-radius: var(--r-2xl);
  border-bottom-right-radius: var(--r-2xl);
}
.page-head h1 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); }
.breadcrumb { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--red); }

/* --- Contenu légal --- */
.prose { max-width: 74ch; }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-top: 2.2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.1rem; margin-top: 1.8em; }
.prose p, .prose li { color: var(--text-muted); font-size: 0.98rem; }
.prose ul { list-style: disc; padding-left: 1.2em; margin-bottom: 1.1em; }
.prose li { margin-bottom: 0.4em; }
.prose a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }

/* 7. ANIMATIONS & RESPONSIVE =============================================== */

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1080px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .header__nav,
  .header__tel,
  .header__actions > .btn { display: none; }  /* le CTA repasse dans le menu */
  .burger { display: grid; }
  .grid--3 { grid-template-columns: 1fr; }
  .grid--2 { grid-template-columns: 1fr; }
  .project--tall { min-height: 420px; }
  .floating-badge { display: none; }
  .mobile-callbar { display: flex; }
  body { padding-bottom: 74px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .grid--4 { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .hero { min-height: 92svh; }
}

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

@media print {
  .header, .mobile-nav, .marquee, .floating-badge, .mobile-callbar, .footer { display: none; }
}
