/* =================================================================
   BâtiPro — Feuille de style (CSS3 vanilla)
   Design system robuste : anthracite/bleu nuit + accent orange chantier.
   ================================================================= */

/* ---------- DESIGN TOKENS ---------- */
:root {
  /* Couleurs de base */
  --ink:        #1B2430;   /* anthracite / bleu nuit profond */
  --ink-2:      #232E3C;   /* bleu nuit surface */
  --ink-3:      #2C3848;   /* surface élevée */
  --mist:       #8A97A8;   /* gris bleuté texte secondaire */
  --line:       rgba(255, 255, 255, .10);

  --paper:      #FFFFFF;
  --cloud:      #EEF1F5;   /* gris clair de fond */
  --cloud-2:    #E3E8EF;

  --accent:     #F2641A;   /* orange chantier */
  --accent-2:   #FF7A33;   /* orange clair (dégradés) */
  --accent-3:   #D44E0C;   /* orange foncé (hover) */
  --amber:      #FFB200;   /* ambre (étoiles, accents) */

  /* Texte (sur fond clair par défaut) */
  --text:       #1B2430;
  --text-soft:  #54627A;
  --text-faint: #8A97A8;

  /* Sémantique */
  --bg:         #FFFFFF;
  --surface:    #FFFFFF;
  --surface-alt:#F6F8FB;

  /* Rayons */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* Ombres */
  --shadow-sm: 0 2px 8px rgba(27, 36, 48, .06);
  --shadow-md: 0 12px 32px rgba(27, 36, 48, .10);
  --shadow-lg: 0 24px 60px rgba(27, 36, 48, .16);
  --shadow-accent: 0 12px 30px rgba(242, 100, 26, .35);

  /* Transitions */
  --t-fast: .18s cubic-bezier(.4, 0, .2, 1);
  --t-med:  .32s cubic-bezier(.4, 0, .2, 1);
  --t-slow: .6s cubic-bezier(.16, 1, .3, 1);

  /* Typo */
  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  /* Espacements */
  --space-section: clamp(4.5rem, 9vw, 8rem);
  --container: 1240px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);

  /* Header */
  --header-h: 76px;
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
  overflow-x: clip; /* le header fixed pleine largeur s'étend sur la gouttière de scrollbar (≈11px) -> on clippe ; sans risque ici car aucun élément position:sticky */
}

body {
  font-family: var(--font-body);
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.02em;
}

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

/* Focus visible cohérent */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- LAYOUT ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.section__head {
  max-width: 720px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section__title {
  font-size: clamp(2rem, 1.3rem + 3.2vw, 3.4rem);
  color: var(--ink);
  margin-block: .5rem .9rem;
}

.section__intro {
  font-size: clamp(1.05rem, 1rem + .35vw, 1.2rem);
  color: var(--text-soft);
  max-width: 60ch;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}
.kicker span {
  font-variant-numeric: tabular-nums;
  color: var(--text-faint);
  font-weight: 700;
}

/* ---------- SKIP LINK ---------- */
.skip-link {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 1000;
  background: var(--ink);
  color: #fff;
  padding: .75rem 1.25rem;
  border-radius: var(--r-sm);
  font-weight: 600;
  transition: top var(--t-fast);
}
.skip-link:focus { top: 1rem; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .98rem;
  padding: .85rem 1.5rem;
  border-radius: var(--r-pill);
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
  white-space: nowrap;
  line-height: 1;
}
.btn svg { transition: transform var(--t-fast); }
.btn:hover svg { transform: translateX(3px); }

.btn--accent {
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #fff;
  box-shadow: var(--shadow-accent);
}
.btn--accent:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(242, 100, 26, .45); }
.btn--accent:active { transform: translateY(0); }

.btn--ghost {
  background: rgba(255, 255, 255, .08);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .28);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .5); transform: translateY(-2px); }

.btn--lg { padding: 1.05rem 1.9rem; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ---------- HEADER ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background var(--t-med), box-shadow var(--t-med), backdrop-filter var(--t-med), border-color var(--t-med);
  background: rgba(27, 36, 48, .45);
  backdrop-filter: blur(8px) saturate(120%);
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(27, 36, 48, .92);
  backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .25);
  border-bottom-color: var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between; /* en mobile la nav est hors-flux (panneau fixed) : garde le burger collé à droite */
  gap: 1.25rem;
  width: 100%;
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -.03em;
  color: #fff;
  flex-shrink: 0;
}
.logo__mark { border-radius: 11px; }
.logo__accent { color: var(--accent); }
.logo--footer { color: var(--ink); }
.logo--footer .logo__accent { color: var(--accent); }

/* Nav */
.nav { margin-left: auto; }
.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(.3rem, 1vw, 1rem);
}
.nav__link {
  position: relative;
  color: rgba(255, 255, 255, .82);
  font-weight: 500;
  font-size: .92rem;
  padding: .5rem .2rem;
  white-space: nowrap;
  transition: color var(--t-fast);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: .25rem; right: .25rem;
  bottom: .15rem;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-fast);
}
.nav__link:hover { color: #fff; }
.nav__link:hover::after { transform: scaleX(1); }

/* éléments du menu mobile, masqués en desktop */
.nav__phone, .nav__cta--mobile { display: none; }
/* spécificité 0,2,0 pour battre la règle .lang-switch { display:inline-flex } définie plus bas */
.nav .lang-switch--mobile { display: none; }

/* Voile (backdrop) du tiroir : masqué par défaut PARTOUT (le <div> créé en
   JS vaut sinon display:block et resterait un bloc vide en flux sur desktop).
   Il n'est activé (display:block) que dans la tranche tablette 601→1100px. */
.nav-scrim { display: none; }

.header__actions {
  display: flex;
  align-items: center;
  gap: .75rem;
}

/* Téléphone desktop */
.header__phone {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: #fff;
  font-family: var(--font-head);
}
.header__phone svg { color: var(--accent); flex-shrink: 0; }
.header__phone-txt { display: flex; flex-direction: column; line-height: 1.15; }
.header__phone-label { font-size: .68rem; color: var(--mist); font-weight: 500; text-transform: uppercase; letter-spacing: .08em; }
.header__phone-num { font-size: 1.02rem; font-weight: 700; }
.header__phone:hover .header__phone-num { color: var(--accent-2); }

/* ---------- LANG SWITCH ---------- */
.lang-switch {
  display: inline-flex;
  padding: 3px;
  gap: 2px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
}
.lang-switch__btn {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .7);
  padding: .35rem .7rem;
  border-radius: var(--r-pill);
  transition: background var(--t-fast), color var(--t-fast);
}
.lang-switch__btn:hover { color: #fff; }
.lang-switch__btn.active {
  background: var(--accent);
  color: #fff;
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
}
.burger span {
  display: block;
  width: 24px;
  height: 2.5px;
  margin-inline: auto;
  background: #fff;
  border-radius: 2px;
  transition: transform var(--t-fast), opacity var(--t-fast);
}
.burger.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + clamp(2rem, 6vw, 5rem));
  padding-bottom: clamp(3rem, 7vw, 6rem);
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 100%);
  color: #fff;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .42;
}
.hero__overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 600px at 75% 10%, rgba(242, 100, 26, .22), transparent 60%),
    linear-gradient(180deg, rgba(27, 36, 48, .55) 0%, rgba(27, 36, 48, .8) 55%, var(--ink) 100%);
}

.hero__inner { position: relative; z-index: 1; max-width: 880px; }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  padding: .5rem 1rem;
  border-radius: var(--r-pill);
  font-size: .85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .92);
  backdrop-filter: blur(6px);
  margin-bottom: 1.5rem;
}
.hero__eyebrow .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(242, 100, 26, .3);
}

.hero__title {
  font-size: clamp(2.5rem, 1.4rem + 5.4vw, 5rem);
  font-weight: 800;
  margin-bottom: 1.4rem;
}
.hero__title span { display: block; }
.hero__title--accent {
  color: transparent;
  background: linear-gradient(100deg, var(--accent-2), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
}

.hero__lead {
  font-size: clamp(1.1rem, 1rem + .55vw, 1.35rem);
  color: rgba(255, 255, 255, .82);
  max-width: 60ch;
  margin-bottom: 2.2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.6rem;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-weight: 600;
  font-size: .92rem;
  color: rgba(255, 255, 255, .92);
}
.hero__badge svg { color: var(--accent-2); flex-shrink: 0; }

/* ---------- STATS ---------- */
.stats {
  background: var(--ink-2);
  color: #fff;
  padding-block: clamp(2.4rem, 5vw, 3.6rem);
  border-bottom: 1px solid var(--line);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.stat {
  text-align: center;
  position: relative;
}
.stat:not(:last-child)::after {
  content: "";
  position: absolute;
  right: calc(-.75rem - 1px);
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--line);
}
.stat__num {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2rem, 1.3rem + 2.8vw, 3rem);
  letter-spacing: -.02em;
  color: var(--accent-2);
  font-variant-numeric: tabular-nums;
}
.stat__label {
  display: block;
  margin-top: .35rem;
  color: var(--mist);
  font-size: .92rem;
  font-weight: 500;
}

/* ---------- MÉTIERS ---------- */
.metiers { background: var(--surface-alt); }
.metiers__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
.metier {
  background: var(--surface);
  border: 1px solid var(--cloud-2);
  border-radius: var(--r-lg);
  padding: 1.75rem 1.6rem;
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
  position: relative;
  overflow: hidden;
}
.metier::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-med);
}
.metier:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.metier:hover::before { transform: scaleX(1); }
.metier__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px; height: 54px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, rgba(242, 100, 26, .14), rgba(242, 100, 26, .06));
  color: var(--accent);
  margin-bottom: 1.1rem;
  transition: transform var(--t-med);
}
.metier:hover .metier__icon { transform: scale(1.08) rotate(-3deg); }
.metier__title {
  font-size: 1.2rem;
  color: var(--ink);
  margin-bottom: .5rem;
}
.metier__desc {
  color: var(--text-soft);
  font-size: .95rem;
}

/* ---------- RÉNOVATION & PRIMES ---------- */
.reno {
  background: linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 100%);
  color: #fff;
}
.reno__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.reno__media {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: linear-gradient(135deg, var(--ink-3), var(--ink-2));
  min-height: 420px;
  box-shadow: var(--shadow-lg);
}
.reno__img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }
.reno__media-card {
  position: absolute;
  left: 1.4rem; bottom: 1.4rem;
  background: rgba(27, 36, 48, .82);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1rem 1.3rem;
  max-width: 230px;
}
.reno__media-num {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--accent-2);
}
.reno__media-txt { font-size: .85rem; color: rgba(255, 255, 255, .82); }

.reno .section__title { color: #fff; }
.reno__lead {
  color: rgba(255, 255, 255, .82);
  font-size: 1.08rem;
  margin-block: 1rem 1.8rem;
}
.reno__list { display: grid; gap: 1.3rem; margin-bottom: 2rem; }
.reno__item { display: flex; gap: 1rem; }
.reno__item svg { color: var(--accent-2); flex-shrink: 0; margin-top: .15rem; }
.reno__item-title { font-size: 1.08rem; margin-bottom: .25rem; }
.reno__item-desc { color: rgba(255, 255, 255, .72); font-size: .95rem; }

/* ---------- POURQUOI NOUS ---------- */
.why__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
.why__card {
  padding: 1.9rem 1.7rem;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--cloud-2);
  transition: transform var(--t-med), box-shadow var(--t-med);
}
.why__card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.why__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px; height: 50px;
  border-radius: var(--r-md);
  background: var(--ink);
  color: var(--accent-2);
  margin-bottom: 1.1rem;
}
.why__title { font-size: 1.18rem; color: var(--ink); margin-bottom: .5rem; }
.why__desc { color: var(--text-soft); font-size: .95rem; }

/* ---------- RÉALISATIONS ---------- */
.works { background: var(--surface-alt); }
.works__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
.work {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--ink-2), var(--ink-3));
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-med), box-shadow var(--t-med);
}
.work:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.work__media { aspect-ratio: 4 / 3; overflow: hidden; }
.work__img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}
.work:hover .work__img { transform: scale(1.07); }
.work__cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.5rem 1.4rem 1.3rem;
  background: linear-gradient(180deg, transparent, rgba(27, 36, 48, .92));
  color: #fff;
}
.work__tag {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--accent-2);
  padding: .25rem .7rem;
  border-radius: var(--r-pill);
  margin-bottom: .6rem;
}
.work__title { font-size: 1.15rem; }

/* ---------- PROCESS ---------- */
.process__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(1.2rem, 2.5vw, 2rem);
  counter-reset: step;
}
.step {
  position: relative;
  padding-top: 1.2rem;
}
.step::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 48px; height: 4px;
  border-radius: var(--r-pill);
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
}
.step__num {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.6rem;
  color: var(--cloud-2);
  line-height: 1;
  margin-bottom: .7rem;
}
.step__title { font-size: 1.3rem; color: var(--ink); margin-bottom: .5rem; }
.step__desc { color: var(--text-soft); font-size: .96rem; }

/* ---------- TÉMOIGNAGES ---------- */
.testi { background: var(--ink); color: #fff; }
.testi .section__title { color: #fff; }
.testi__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(1rem, 2vw, 1.6rem);
}
.testi__card {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.8rem 1.7rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  transition: transform var(--t-med), border-color var(--t-med);
}
.testi__card:hover { transform: translateY(-4px); border-color: rgba(242, 100, 26, .4); }
.testi__stars { display: inline-flex; gap: 2px; color: var(--amber); }
.testi__quote {
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, .9);
  font-style: italic;
}
.testi__author { display: flex; align-items: center; gap: .85rem; margin-top: auto; }
.testi__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .95rem;
  flex-shrink: 0;
}
.testi__meta { display: flex; flex-direction: column; }
.testi__name { font-weight: 700; font-family: var(--font-head); }
.testi__loc { font-size: .85rem; color: var(--mist); }

/* ---------- ZONE D'INTERVENTION ---------- */
.zone { background: var(--surface-alt); }
.zone__inner {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.zone__lead { color: var(--text-soft); margin-block: 1rem 1.6rem; max-width: 52ch; }
.zone__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: .7rem 1.2rem;
}
.zone__list li {
  position: relative;
  padding-left: 1.5rem;
  font-weight: 500;
  color: var(--text);
}
.zone__list li::before {
  content: "";
  position: absolute;
  left: 0; top: .5em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.zone__map {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 1;
  max-width: 380px;
  margin-inline: auto;
  width: 100%;
}

/* ---------- FAQ ---------- */
.faq__list {
  max-width: 820px;
  display: grid;
  gap: .9rem;
}
.faq__item {
  background: var(--surface);
  border: 1px solid var(--cloud-2);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.faq__item[open] { border-color: rgba(242, 100, 26, .4); box-shadow: var(--shadow-sm); }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
  list-style: none;
  cursor: pointer;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__icon {
  position: relative;
  width: 22px; height: 22px;
  flex-shrink: 0;
}
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: var(--accent);
  border-radius: 2px;
  transition: transform var(--t-fast);
}
.faq__icon::before { width: 14px; height: 2.5px; }
.faq__icon::after { width: 2.5px; height: 14px; }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) scaleY(0); }
.faq__a {
  padding: 0 1.5rem 1.3rem;
  color: var(--text-soft);
}
.faq__a p { max-width: 70ch; }

/* ---------- DEVIS / FORMULAIRE ---------- */
.devis { background: linear-gradient(160deg, var(--ink-2) 0%, var(--ink) 100%); color: #fff; }
.devis__inner {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.devis .section__title { color: #fff; }
.devis__lead { color: rgba(255, 255, 255, .82); margin-block: 1rem 1.8rem; max-width: 46ch; }
.devis__contact { display: grid; gap: .9rem; margin-bottom: 2rem; }
.devis__contact li { display: flex; align-items: center; gap: .8rem; color: rgba(255, 255, 255, .9); }
.devis__contact svg { color: var(--accent-2); flex-shrink: 0; }
.devis__contact a:hover { color: var(--accent-2); }

.devis__hours {
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.3rem 1.5rem;
}
.devis__hours-title {
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: .7rem;
}
.devis__hours p { color: rgba(255, 255, 255, .82); font-size: .95rem; }
.devis__hours strong { color: #fff; font-weight: 600; }

/* Form */
.devis__formwrap {
  background: var(--surface);
  border-radius: var(--r-xl);
  padding: clamp(1.6rem, 3vw, 2.6rem);
  box-shadow: var(--shadow-lg);
  color: var(--text);
}
.form { display: grid; gap: 1.1rem; }
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
.field { display: flex; flex-direction: column; gap: .4rem; }
.field__label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .9rem;
  color: var(--ink);
}
.field__input {
  width: 100%;
  padding: .8rem 1rem;
  border: 1.5px solid var(--cloud-2);
  border-radius: var(--r-sm);
  background: var(--surface-alt);
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}
.field__input::placeholder { color: var(--text-faint); }
.field__input:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(242, 100, 26, .12);
}
textarea.field__input { resize: vertical; min-height: 96px; }
select.field__input { cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%2354627A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.field.has-error .field__input { border-color: #E03131; background: #fff5f5; }
.field__error {
  color: #E03131;
  font-size: .82rem;
  font-weight: 500;
  min-height: 1em;
}
.form__note { font-size: .85rem; color: var(--text-faint); text-align: center; }

/* L'attribut hidden doit l'emporter sur le display ci-dessous. */
.form__success[hidden] { display: none; }

.form__success {
  display: flex;
  align-items: center;
  gap: .6rem;
  background: #E9F9EF;
  color: #1B7A3D;
  border: 1px solid #B7E9C8;
  border-radius: var(--r-sm);
  padding: .95rem 1.1rem;
  font-weight: 600;
  font-size: .95rem;
}
.form__success svg { flex-shrink: 0; }

/* ---------- FOOTER ---------- */
.footer { background: var(--ink); color: rgba(255, 255, 255, .7); }
.footer__inner {
  display: grid;
  grid-template-columns: 1.3fr 2fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-block: clamp(3rem, 6vw, 4.5rem);
}
.footer__tagline { margin-block: 1.1rem 1.5rem; max-width: 38ch; }
.footer__social { display: flex; gap: .7rem; }
.footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: var(--r-sm);
  background: var(--ink-2);
  border: 1px solid var(--line);
  color: rgba(255, 255, 255, .8);
  transition: transform var(--t-fast), background var(--t-fast), color var(--t-fast);
}
.footer__social-link:hover { background: var(--accent); color: #fff; transform: translateY(-3px); border-color: var(--accent); }

.footer__nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.footer__col-title {
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.1rem;
}
.footer__col ul { display: grid; gap: .65rem; }
.footer__col a, .footer__col span { font-size: .95rem; transition: color var(--t-fast); }
.footer__col a:hover { color: var(--accent-2); }

.footer__legal { border-top: 1px solid var(--line); }
.footer__legal-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .8rem 1.5rem;
  padding-block: 1.5rem;
  font-size: .85rem;
}
.footer__company { flex-basis: 100%; color: var(--mist); }
.footer__legal-links { display: flex; gap: 1.3rem; }
.footer__legal-links a:hover { color: var(--accent-2); }

/* ---------- FLOATING CTA (mobile) ---------- */
.floating-cta {
  display: none;
  position: fixed;
  left: 1rem; right: 1rem;
  bottom: 1rem;
  z-index: 90;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: 1rem;
  border-radius: var(--r-pill);
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  box-shadow: var(--shadow-accent);
}

/* ---------- REVEAL (animations au scroll) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity var(--t-slow), transform var(--t-slow);
  transition-delay: var(--d, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  :root { --header-h: 70px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
  .stat:nth-child(2)::after { display: none; }
  .reno__inner, .zone__inner, .devis__inner { grid-template-columns: 1fr; }
  .reno__media { min-height: 340px; }
  .reno__media, .reno__img { min-height: 320px; }
  .footer__inner { grid-template-columns: 1fr; }
}

@media (max-width: 1100px) {
  /* =========================================================
     MENU MOBILE — overlay plein écran
     IMPORTANT : aucun positionnement hors-écran (pas de
     translateX/right négatif) afin de ne JAMAIS élargir le
     document → pas de scroll horizontal. L'état fermé est géré
     uniquement par opacity / visibility / pointer-events.
     ========================================================= */
  .nav {
    /* Démarre SOUS le header (le burger reste cliquable au-dessus). */
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;                     /* borné par left:0/right:0 = largeur viewport exacte (exclut la scrollbar, évite le débordement de 100vw/100%) */
    max-width: 100%;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h)); /* couvre tout l'écran sous le header (fallback vh au-dessus) */
    margin: 0;
    background: rgba(27, 36, 48, .98);
    backdrop-filter: blur(16px) saturate(140%);
    flex-direction: column;
    justify-content: flex-start;
    padding: 1.75rem var(--gutter) 2.5rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    display: flex;
    gap: 1.25rem;

    /* ÉTAT FERMÉ : masqué sans sortir du viewport. */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);   /* micro-animation verticale, sans débordement latéral */
    transition: opacity var(--t-med), transform var(--t-med), visibility var(--t-med);
  }
  /* ÉTAT OUVERT */
  .nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  /* Le voile ne sert qu'à la version tiroir tablette (cf. media query
     601px → 1100px ci-dessous). En plein écran téléphone : inutile. */
  .nav-scrim { display: none; }

  /* Bouton de fermeture (croix) visible dans le panneau ouvert */
  .nav__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-end;
    width: 44px;
    height: 44px;
    margin: -.5rem -.4rem .25rem 0;
    border-radius: var(--r-sm);
    color: #fff;
    background: rgba(255, 255, 255, .06);
    border: 1px solid var(--line);
    transition: background var(--t-fast), color var(--t-fast);
  }
  .nav__close:hover { background: rgba(255, 255, 255, .14); color: var(--accent-2); }
  .nav__close svg { width: 22px; height: 22px; }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: .25rem;
    width: 100%;
  }
  .nav__link {
    display: flex;
    align-items: center;
    min-height: 48px;               /* zone tactile confortable */
    font-size: 1.2rem;
    padding: .85rem .9rem;          /* +padding horizontal pour respirer autour de la barre d'accent */
    border-bottom: 1px solid var(--line);
    border-radius: var(--r-md);
    transition: color var(--t-fast), background var(--t-fast);
  }
  .nav__link::after { display: none; }

  /* État interactif des liens du menu mobile/tablette :
     barre d'accent verticale + fond teinté + texte orange marque.
     Panneau SOMBRE (anthracite) → texte = accent vif, fond = rgba(accent,.12). */
  .nav__link::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 3px;
    height: 22px;
    border-radius: 3px;
    background: var(--accent);
    transform: translateY(-50%) scaleY(0);
    transform-origin: center;
    transition: transform var(--t-fast);
  }
  .nav__link:hover,
  .nav__link:focus-visible,
  .nav__link:active {
    color: var(--accent-2);
    background: rgba(242, 100, 26, .12);
  }
  .nav__link:hover::before,
  .nav__link:focus-visible::before,
  .nav__link:active::before {
    transform: translateY(-50%) scaleY(1);
  }

  .nav__phone {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    min-height: 48px;
    color: #fff;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.2rem;
  }
  .nav__phone svg { color: var(--accent-2); }

  .nav__cta--mobile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;                    /* CTA pleine largeur */
    min-height: 52px;
    background: linear-gradient(135deg, var(--accent-2), var(--accent));
    color: #fff;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.05rem;
    padding: .95rem;
    border-radius: var(--r-pill);
    box-shadow: var(--shadow-accent);
  }

  .nav .lang-switch--mobile { display: inline-flex; align-self: flex-start; }
  .lang-switch--desktop, .header__phone, .header__cta { display: none; }

  .burger { display: flex; }

  .floating-cta { display: flex; }

  /* éviter que le CTA flottant masque le footer */
  .footer__legal { padding-bottom: 4.5rem; }
}

/* Le bouton de fermeture n'existe que dans le menu mobile : masqué en desktop. */
.nav__close { display: none; }

/* =========================================================
   MENU TABLETTE — tiroir latéral ancré à droite + voile
   De 601px jusqu'au breakpoint burger (1100px) : le panneau
   plein écran devient un tiroir latéral droit, accompagné
   d'un voile sombre cliquable. Aucun translateX (le masquage
   reste géré par opacity/visibility hérité du bloc plein
   écran) → pas de scroll horizontal ; html { overflow-x: clip }
   clippe la gouttière de scrollbar atteinte par le tiroir fixed.
   ========================================================= */
@media (min-width: 601px) and (max-width: 1100px) {
  .nav {
    left: auto;
    right: 0;
    width: min(80vw, 400px);
    border-top: none;
    border-left: 1px solid var(--line);
    box-shadow: -24px 0 60px -20px rgba(0, 0, 0, .5);
    z-index: 95;                 /* explicitement AU-DESSUS du voile (90), SOUS le header (100) : le tiroir reste cliquable par-dessus le voile, le burger reste cliquable par-dessus le tiroir */
  }
  .nav-scrim {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 90;                 /* sous le header (z-index 100) et le panneau ; le burger reste cliquable */
    background: rgba(0, 0, 0, .5);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--t-med), visibility var(--t-med);
  }
  .nav-scrim.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}

@media (max-width: 540px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .form__row { grid-template-columns: 1fr; }
  .hero__badges { gap: .8rem 1.5rem; }
  .footer__nav { grid-template-columns: 1fr 1fr; }
  .btn--lg { width: 100%; }
  .hero__actions { width: 100%; }
}

@media (max-width: 380px) {
  .footer__nav { grid-template-columns: 1fr; }
}

/* ---------- PREFERS REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  /* Menu mobile : pas de glissement, simple apparition/disparition. */
  .nav { transform: none; }
  .nav.is-open { transform: none; }
}
