/* =========================================================
   Gino Patrac — Clim & Peinture · Arles
   Direction : Provence éditoriale. Ivoire, terracotta, ocre,
   encre verte profonde ; bleu ciel réservé à la climatisation.
   Motif récurrent : l'arche des fenêtres provençales.
   ========================================================= */

:root {
  --paper:      #fbf8f2;
  --ivory:      #f4ecdd;
  --sand:       #ebe0cc;
  --line:       #e2d7c3;
  --ink:        #1c2a2a;
  --ink-soft:   #4b5857;
  --muted:      #8b8f86;
  --night:      #142221;
  --night-2:    #1d2f2d;
  --terra:      #c2562c;
  --terra-dark: #9f4220;
  --terra-soft: #f6e2d6;
  --accent-light: #f0b48f;   /* accent sur fond sombre */
  --accent-rgb: 194, 86, 44; /* pour les ombres / focus */
  --ochre:      #d9a23b;
  --sage:       #7f9178;
  --sky:        #2f87b5;
  --sky-soft:   #e2eef4;
  --white:      #ffffff;

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body:    'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --container: 1200px;
  --gutter: 24px;
  --radius: 18px;
  --radius-sm: 10px;
  --arch: 999px 999px var(--radius) var(--radius);
  --shadow: 0 30px 60px -30px rgba(28, 42, 42, 0.35);
  --shadow-sm: 0 10px 30px -18px rgba(28, 42, 42, 0.35);
}

/* Couleur d'accent par métier : orange (terracotta) partout par défaut,
   bleu sur toute la page clim — en-tête, boutons, pied de page compris. */
.page-clim {
  --terra: #2f87b5;
  --terra-dark: #226d95;
  --terra-soft: #e2eef4;
  --accent-light: #7abee2;
  --accent-rgb: 47, 135, 181;
  --ochre: #7abee2;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
:where([id]) { scroll-margin-top: 96px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; top: 0; left: 0; z-index: 1000;
  padding: 10px 14px; background: var(--ink); color: var(--paper);
  transform: translateY(-120%); transition: transform .15s;
}
.skip-link:focus { transform: none; }

/* ---------- Typo ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 18px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--terra);
}
.eyebrow::before { content: ""; width: 26px; height: 1.5px; background: currentColor; }
.eyebrow--sky { color: var(--sky); }
.eyebrow--light { color: var(--accent-light); }
.eyebrow--sky-light { color: #7abee2; }

.h1, .h2, .h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -.02em; color: var(--ink); }
.h1 { font-size: clamp(42px, 6vw, 76px); line-height: 1.02; }
.h2 { font-size: clamp(32px, 4.2vw, 52px); line-height: 1.06; }
.h3 { font-size: 24px; line-height: 1.2; }
.h1 em, .h2 em { font-style: italic; font-weight: 500; color: var(--terra); }
.page-clim .h1 em, .h2 em.sky { color: var(--sky); }
.h2--light { color: var(--paper); }
.h2--light em { color: var(--accent-light); }
.h2--light em.sky { color: #7abee2; }
.lead { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.65; color: var(--ink-soft); max-width: 60ch; }
.lead strong { color: var(--ink); font-weight: 700; }
.lead--light { color: rgba(251, 248, 242, .75); }
.lead--light strong { color: var(--paper); }

.section { padding: 120px 0; }
.section--ivory { background: var(--ivory); }
.section--night { background: var(--night); color: var(--paper); }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head .h2 { margin-bottom: 18px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow::after { content: ""; width: 26px; height: 1.5px; background: currentColor; }
.section-head--center .lead { margin: 0 auto; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px;
  border-radius: 999px;
  font-weight: 700; font-size: 15.5px; letter-spacing: .01em;
  transition: background-color .2s, color .2s, transform .2s, box-shadow .2s, border-color .2s;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--terra); color: var(--white); box-shadow: 0 14px 30px -14px rgba(var(--accent-rgb), .8); }
.btn--primary:hover { background: var(--terra-dark); }
.btn--ghost { border: 1.5px solid var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--outline-light { border: 1.5px solid rgba(251, 248, 242, .5); color: var(--paper); }
.btn--outline-light:hover { background: var(--paper); color: var(--ink); }
.btn--sky { background: var(--sky); color: var(--white); box-shadow: 0 14px 30px -14px rgba(47, 135, 181, .8); }
.btn--sky:hover { background: #226d95; }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 248, 242, .86);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__inner { display: flex; align-items: center; gap: 28px; height: 78px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand__logo { width: 38px; height: 46px; }
.brand__name { display: block; font-family: var(--font-display); font-weight: 600; font-size: 21px; line-height: 1; letter-spacing: -.01em; }
.brand__tag { display: block; margin-top: 5px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.nav { margin-left: auto; }
.nav__list { display: flex; gap: 30px; }
.nav__link { position: relative; font-weight: 600; font-size: 15px; color: var(--ink-soft); transition: color .15s; }
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--terra); transform: scaleX(0); transform-origin: left; transition: transform .2s;
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--ink); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.header-phone {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 46px; padding: 0 18px; border-radius: 999px;
  background: var(--ink); color: var(--paper);
  font-weight: 700; font-size: 14.5px; letter-spacing: .02em;
  transition: background-color .15s;
}
.header-phone:hover { background: var(--terra); }
.header-phone svg { width: 16px; height: 16px; }
.hamburger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.hamburger span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }

.mobile-menu { position: fixed; inset: 0; z-index: 200; background: var(--paper); display: flex; flex-direction: column; padding: 16px 18px 40px; }
.mobile-menu[hidden] { display: none; }
.mobile-menu__top { display: flex; justify-content: space-between; align-items: center; }
.mobile-menu__close { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; }
.mobile-menu__close svg { width: 20px; height: 20px; }
.mobile-menu__nav { flex: 1; display: flex; align-items: center; padding: 0 6px; }
.mobile-menu__nav ul { display: grid; gap: 14px; }
.mobile-menu__nav a { font-family: var(--font-display); font-size: 40px; font-weight: 600; letter-spacing: -.02em; }
.mobile-menu__nav a:hover { color: var(--terra); }

/* =========================================================
   HERO (split + arche)
   ========================================================= */
.hero { position: relative; isolation: isolate; padding: 56px 0 96px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; z-index: -1;
  right: -14%; top: -35%; width: 64vw; height: 64vw; max-width: 920px; max-height: 920px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 162, 59, .26), rgba(217, 162, 59, 0) 65%);
}
.hero--clim::before { background: radial-gradient(circle, rgba(47, 135, 181, .2), rgba(47, 135, 181, 0) 65%); }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 26px; padding: 6px 14px 6px 6px;
  border-radius: 999px; background: var(--white); border: 1px solid var(--line);
  font-size: 13.5px; font-weight: 600; color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
}
.hero__badge-dot { width: 26px; height: 26px; border-radius: 50%; background: var(--terra-soft); color: var(--terra); display: inline-flex; align-items: center; justify-content: center; }
.hero--clim .hero__badge-dot { background: var(--sky-soft); color: var(--sky); }
.hero__badge-dot svg { width: 14px; height: 14px; }
.hero .h1 { margin-bottom: 26px; }
.hero .lead { margin-bottom: 36px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 14px 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero__proof li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 600; color: var(--ink-soft); }
.hero__proof svg { width: 20px; height: 20px; color: var(--terra); flex-shrink: 0; }
.hero--clim .hero__proof svg { color: var(--sky); }

.hero__visual { position: relative; }
.arch {
  position: relative; overflow: hidden;
  border-radius: var(--arch);
  aspect-ratio: 4 / 5;
  background: var(--sand);
  box-shadow: var(--shadow);
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
.hero__visual .arch { max-width: 500px; margin-left: auto; }
.hero__visual::after {
  content: ""; position: absolute; z-index: -1;
  width: 86%; max-width: 440px; aspect-ratio: 4 / 5; right: -26px; bottom: -26px;
  border-radius: var(--arch);
  border: 1.5px solid var(--terra);
  opacity: .45;
}
.hero--clim .hero__visual::after { border-color: var(--sky); }
.float-card {
  position: absolute; left: -12px; bottom: 44px;
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px; border-radius: 16px;
  background: var(--white); box-shadow: var(--shadow);
  animation: float-in .7s .3s both;
}
.float-card__icon { width: 46px; height: 46px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--terra-soft); color: var(--terra); flex-shrink: 0; }
.float-card__icon--sky { background: var(--sky-soft); color: var(--sky); }
.float-card__icon svg { width: 22px; height: 22px; }
.float-card__label { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.float-card__value { display: block; font-family: var(--font-display); font-size: 22px; font-weight: 600; line-height: 1.15; color: var(--ink); }
.float-card--top { left: auto; right: -14px; bottom: auto; top: 44px; animation-delay: .45s; }
@keyframes float-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Bande de confiance ---------- */
.trustbar { background: var(--night); color: var(--paper); }
.trustbar__list { display: grid; grid-template-columns: repeat(4, 1fr); }
.trustbar__item { display: flex; align-items: center; gap: 14px; padding: 26px 22px; border-left: 1px solid rgba(251, 248, 242, .1); }
.trustbar__item:first-child { border-left: 0; padding-left: 0; }
.trustbar__item svg { width: 26px; height: 26px; color: var(--ochre); flex-shrink: 0; }
.trustbar__item strong { display: block; font-size: 15px; }
.trustbar__item div > span { display: block; font-size: 13px; color: rgba(251, 248, 242, .6); }

/* =========================================================
   SECTION DEVIS (arguments + formulaire)
   ========================================================= */
.devis__grid { display: grid; grid-template-columns: 1fr 480px; gap: 72px; align-items: start; }
.devis__content .h2 { margin-bottom: 20px; }
.devis__content .lead { margin-bottom: 44px; }
.features { display: grid; gap: 28px; }
.feature { display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start; }
.feature__icon { width: 56px; height: 56px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; background: var(--white); border: 1px solid var(--line); color: var(--terra); }
.page-clim .feature__icon { color: var(--sky); }
.feature__icon svg { width: 26px; height: 26px; }
.feature__title { font-weight: 700; font-size: 17.5px; margin-bottom: 4px; }
.feature__desc { color: var(--ink-soft); font-size: 15.5px; }

/* ---------- Formulaire ---------- */
.form-card {
  position: sticky; top: 104px;
  padding: 38px 34px 30px;
  border-radius: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.form-card__ribbon {
  position: absolute; top: -14px; left: 34px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--terra); color: var(--white);
  font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.page-clim .form-card__ribbon { background: var(--sky); }
.form-card__title { font-family: var(--font-display); font-weight: 600; font-size: 28px; letter-spacing: -.01em; margin-bottom: 6px; }
.form-card__subtitle { color: var(--ink-soft); font-size: 15px; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field__label { font-size: 13px; font-weight: 700; color: var(--ink); }
.field__req { color: var(--terra); margin-left: 2px; }
.field__opt { font-weight: 500; color: var(--muted); }
.field__input {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--paper);
  font: inherit; font-size: 15.5px; color: var(--ink);
  transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.field__input::placeholder { color: #b0ab9f; }
.field__input:focus { outline: none; border-color: var(--terra); background: var(--white); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .12); }
.page-clim .field__input:focus { border-color: var(--sky); box-shadow: 0 0 0 4px rgba(47, 135, 181, .14); }
.field__input:user-invalid { border-color: #c0392b; }
select.field__input {
  appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231c2a2a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat; background-position: right 14px center;
}
textarea.field__input { min-height: 88px; resize: vertical; }
.form-card__submit { width: 100%; margin-top: 6px; min-height: 58px; font-size: 16px; }
.form-card__note { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 16px; font-size: 13px; font-weight: 600; color: var(--muted); }
.form-card__note span::before { content: "✓ "; color: var(--sage); font-weight: 800; }
.form-card__error { margin-top: 12px; padding: 12px 14px; border-radius: var(--radius-sm); background: #fbe9e6; color: #8a1f11; font-size: 14px; }
.form-card__error a { font-weight: 700; text-decoration: underline; }

/* =========================================================
   DUO (deux métiers)
   ========================================================= */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.duo-card {
  position: relative; display: flex; flex-direction: column;
  border-radius: 26px; overflow: hidden;
  background: var(--white); border: 1px solid var(--line);
  transition: transform .25s, box-shadow .25s;
}
.duo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.duo-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.duo-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.duo-card:hover .duo-card__media img { transform: scale(1.04); }
.duo-card__body { display: flex; flex-direction: column; flex: 1; padding: 32px 32px 34px; }
.duo-card__kicker { margin-bottom: 12px; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--terra); }
.duo-card--clim .duo-card__kicker { color: var(--sky); }
.duo-card__title { font-family: var(--font-display); font-weight: 600; font-size: 30px; line-height: 1.1; letter-spacing: -.015em; margin-bottom: 12px; }
.duo-card__desc { color: var(--ink-soft); margin-bottom: 22px; }
.duo-card__desc strong { color: var(--ink); }
.duo-card__cta { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--terra); }
.duo-card--clim .duo-card__cta { color: var(--sky); }
.duo-card__cta .arrow { transition: transform .2s; }
.duo-card:hover .duo-card__cta .arrow { transform: translateX(4px); }
.duo-card__price { position: absolute; top: 18px; right: 18px; padding: 8px 14px; border-radius: 999px; background: var(--white); font-size: 13.5px; font-weight: 700; box-shadow: var(--shadow-sm); }
.duo-card__price b { color: var(--sky); }

/* Listes cochées (réutilisables) */
.ticks { display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; font-size: 15.5px; font-weight: 600; }
.ticks li::before {
  content: ""; flex-shrink: 0; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%;
  background: var(--terra-soft) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c2562c' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 12 10.5 16.5 18 8'/></svg>") center / 12px no-repeat;
}
.page-clim .ticks li::before, .ticks--sky li::before {
  background-color: var(--sky-soft);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f87b5' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 12 10.5 16.5 18 8'/></svg>");
}
.ticks--2 { grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.duo-card .ticks { margin-bottom: 28px; }

/* =========================================================
   RÉALISATIONS : chantiers avant / après (onglets) + galerie
   ========================================================= */
.projects { display: grid; gap: 72px; }
.project { display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; align-items: center; }
.project:nth-child(even) .project__pair { order: 2; }
.project__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.project__img { position: relative; margin: 0; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; background: var(--sand); }
.project__img img { width: 100%; height: 100%; object-fit: cover; }
.tag {
  position: absolute; top: 14px; left: 14px;
  padding: 6px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
}
.tag--before { background: rgba(251, 248, 242, .94); color: var(--ink); }
.tag--after { background: var(--terra); color: var(--white); }
.project__title { font-family: var(--font-display); font-weight: 600; font-size: 30px; line-height: 1.12; letter-spacing: -.015em; margin-bottom: 14px; }
.project__desc { color: var(--ink-soft); margin-bottom: 22px; }
.project__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.project__meta li { padding: 6px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--ink-soft); }

.gallery { display: grid; grid-template-columns: 2fr 1fr; gap: 18px; margin-top: 48px; height: 380px; }
.gallery__item { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--sand); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; transition: transform .6s; }
.gallery__item:hover img { transform: scale(1.03); }
.gallery__caption {
  position: absolute; left: 14px; bottom: 14px;
  padding: 7px 12px; border-radius: 999px;
  background: rgba(251, 248, 242, .94); color: var(--ink);
  font-size: 13px; font-weight: 700;
}
.gallery__cta {
  display: flex; flex-direction: column; justify-content: flex-end; gap: 10px;
  padding: 32px; background: var(--terra); color: var(--white);
  transition: background-color .2s;
}
.gallery__cta:hover { background: var(--terra-dark); }
.gallery__cta-title { font-family: var(--font-display); font-size: clamp(26px, 2.6vw, 36px); line-height: 1.05; font-weight: 600; }
.gallery__cta-text { opacity: .9; }
.gallery__cta-btn { margin-top: 8px; font-weight: 700; }

/* =========================================================
   ÉTAPES
   ========================================================= */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: step; }
.step { position: relative; padding-top: 34px; border-top: 1.5px solid var(--line); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; margin-bottom: 18px;
  font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 56px; line-height: 1;
  color: var(--terra);
}
.page-clim .step::before { color: var(--sky); }
.step::after { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--terra); }
.page-clim .step::after { background: var(--sky); }
.step__title { font-family: var(--font-display); font-weight: 600; font-size: 24px; margin-bottom: 10px; }
.step__desc { color: var(--ink-soft); }

/* =========================================================
   CLIM : tarif, modèles, arguments
   ========================================================= */
.price {
  display: grid; grid-template-columns: 1.1fr 1fr auto; gap: 40px; align-items: center;
  padding: 44px 48px; border-radius: 28px;
  background: var(--paper); color: var(--ink);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6);
}
.price__label { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.price__from { display: block; font-size: 14px; font-weight: 600; color: var(--ink-soft); margin-bottom: 4px; }
.price__amount { font-family: var(--font-display); font-weight: 600; font-size: clamp(44px, 5.6vw, 76px); line-height: .95; letter-spacing: -.03em; color: var(--terra); }
.price__amount small { font-family: var(--font-body); font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--ink-soft); }
.price__note { margin-top: 12px; font-size: 13px; color: var(--muted); }

.models-head { margin: 96px 0 32px; }
.models-title { font-family: var(--font-display); font-weight: 600; font-size: 30px; color: var(--paper); }
.models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.model {
  display: flex; flex-direction: column; gap: 10px;
  padding: 30px 28px; border-radius: var(--radius);
  background: var(--night-2); border: 1px solid rgba(251, 248, 242, .08);
  transition: border-color .2s, transform .2s;
}
.model:hover { border-color: rgba(var(--accent-rgb), .6); transform: translateY(-3px); }
.model__num { font-family: var(--font-display); font-style: italic; font-size: 18px; color: var(--accent-light); }
.model__name { font-family: var(--font-display); font-weight: 600; font-size: 26px; color: var(--paper); }
.model__desc { color: rgba(251, 248, 242, .7); font-size: 15px; }
.model--cta { background: var(--terra); border-color: var(--terra); }
.model--cta:hover { border-color: var(--accent-light); }
.model--cta .model__desc { color: rgba(255, 255, 255, .92); }
.model__link { margin-top: auto; padding-top: 10px; font-weight: 700; color: var(--white); }

.specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.spec { padding: 34px 32px; background: var(--white); }
.spec__icon { width: 48px; height: 48px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; background: var(--terra-soft); color: var(--terra); }
.spec__icon svg { width: 24px; height: 24px; }
.spec__title { font-weight: 700; font-size: 18px; margin-bottom: 6px; }
.spec__desc { color: var(--ink-soft); font-size: 15px; }

/* ---------- Bloc texte + image (arche) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split .h2 { margin-bottom: 20px; }
.split .lead { margin-bottom: 32px; }
.split .ticks { margin-bottom: 36px; }
.split__media .arch { max-width: 480px; margin: 0 auto; }

/* =========================================================
   PEINTURE : prestations
   ========================================================= */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service {
  padding: 34px 30px; border-radius: 22px;
  background: var(--white); border: 1px solid var(--line);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.service:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: #d7c7ab; }
.service__icon { width: 56px; height: 56px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 22px; background: var(--terra-soft); color: var(--terra); }
.service__icon svg { width: 28px; height: 28px; }
.service__title { font-family: var(--font-display); font-weight: 600; font-size: 23px; line-height: 1.2; margin-bottom: 10px; }
.service__desc { color: var(--ink-soft); font-size: 15.5px; }

/* =========================================================
   ZONE
   ========================================================= */
.zone { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.zone .h2 { margin-bottom: 20px; }
.zone .lead { margin-bottom: 32px; }
.zone__chips { display: flex; flex-wrap: wrap; gap: 10px; }
.zone__chips li { padding: 10px 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-weight: 600; font-size: 14.5px; }
.zone__chips li.is-home { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* =========================================================
   FAQ
   ========================================================= */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; }
.faq__aside { position: sticky; top: 110px; }
.faq__aside .h2 { margin-bottom: 18px; }
.faq__aside .lead a { color: var(--terra); font-weight: 700; white-space: nowrap; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0; cursor: pointer; list-style: none;
  font-weight: 700; font-size: 18px; line-height: 1.4;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__icon { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--line); display: inline-flex; align-items: center; justify-content: center; transition: transform .25s, background-color .2s, border-color .2s, color .2s; }
.faq__icon svg { width: 16px; height: 16px; }
details[open] .faq__icon { transform: rotate(45deg); background: var(--terra); border-color: var(--terra); color: var(--white); }
.page-clim details[open] .faq__icon { background: var(--sky); border-color: var(--sky); }
.faq__a { padding: 0 60px 28px 0; color: var(--ink-soft); }
.faq__a strong { color: var(--ink); }

/* =========================================================
   CTA FINAL
   ========================================================= */
.cta { padding: 0 0 120px; }
.cta__card {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center;
  padding: 80px 64px; border-radius: 32px;
  background:
    linear-gradient(100deg, rgba(20, 34, 33, .95) 0%, rgba(20, 34, 33, .82) 50%, rgba(20, 34, 33, .4) 100%),
    url('/assets/cta-bg.webp') center / cover;
  color: var(--paper);
}
.cta__card .h2 { color: var(--paper); margin-bottom: 18px; }
.cta__card .h2 em { color: var(--accent-light); }
.cta__card .lead { color: rgba(251, 248, 242, .8); }
.cta__actions { display: flex; flex-direction: column; gap: 12px; max-width: 320px; margin-left: auto; width: 100%; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--night); color: rgba(251, 248, 242, .7); padding: 88px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid rgba(251, 248, 242, .1); }
.footer-brand .brand__name { color: var(--paper); }
.footer-brand .brand__tag { color: rgba(251, 248, 242, .5); }
.footer-brand p { margin-top: 20px; font-size: 15px; max-width: 34ch; }
.footer-title { margin-bottom: 18px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--paper); }
.footer-list { display: grid; gap: 10px; font-size: 15px; }
.footer-list a:hover { color: var(--paper); }
.footer-contact a { display: flex; align-items: center; gap: 10px; color: var(--paper); font-weight: 600; margin-bottom: 12px; word-break: break-all; }
.footer-contact svg { width: 17px; height: 17px; color: var(--ochre); flex-shrink: 0; }
.footer-contact p { font-size: 14.5px; }
.footer-zone { font-size: 14.5px; line-height: 1.75; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 28px; font-size: 13.5px; color: rgba(251, 248, 242, .5); }
.footer-bottom ul { display: flex; gap: 22px; }
.footer-bottom a:hover { color: var(--paper); }

.mobile-bar { display: none; }

/* =========================================================
   PAGES LÉGALES & MERCI
   ========================================================= */
.legal { padding: 80px 0 120px; }
.legal__head { margin-bottom: 48px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.legal__head .h1 { font-size: clamp(38px, 5vw, 60px); margin-bottom: 10px; }
.legal__updated { color: var(--muted); font-size: 14px; }
.legal__body { max-width: 760px; }
.legal__body h2 { font-family: var(--font-display); font-weight: 600; font-size: 26px; margin: 44px 0 14px; }
.legal__body p { color: var(--ink-soft); margin-bottom: 14px; }
.legal__body a { color: var(--terra); text-decoration: underline; }
.legal__body dl { display: grid; grid-template-columns: 180px 1fr; gap: 10px 20px; margin: 0; padding: 22px 24px; border-radius: var(--radius); background: var(--ivory); }
.legal__body dt { font-weight: 700; }
.legal__body dd { margin: 0; color: var(--ink-soft); }

.merci { padding: 110px 0 130px; text-align: center; }
.merci__icon { width: 84px; height: 84px; margin: 0 auto 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #e3efe0; color: #3f7a4a; }
.merci__icon svg { width: 38px; height: 38px; }
.merci .h1 { margin-bottom: 20px; }
.merci .lead { margin: 0 auto 32px; }
.merci__links { display: flex; justify-content: center; flex-wrap: wrap; gap: 26px; margin-top: 36px; font-weight: 700; }
.merci__links a { color: var(--terra); }

/* ---------- Apparition au scroll (activée par JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .devis__grid { grid-template-columns: 1fr 420px; gap: 48px; }
  .hero__grid { gap: 40px; }
  .price { grid-template-columns: 1fr 1fr; }
  .price .btn { grid-column: 1 / -1; justify-self: start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .section { padding: 88px 0; }
  .nav, .header-phone__label { display: none; }
  .hamburger { display: inline-flex; }
  .header-cta { margin-left: auto; }
  .header-phone { width: 46px; padding: 0; }
  .hero { padding: 24px 0 72px; }
  .hero__grid, .devis__grid, .split, .zone, .faq, .cta__card { grid-template-columns: 1fr; }
  .hero__visual { order: -1; width: 100%; }
  .hero__visual .arch { aspect-ratio: 4 / 3; border-radius: 200px 200px var(--radius) var(--radius); margin: 0; max-width: none; }
  .hero__visual::after { display: none; }
  .float-card { left: 14px; bottom: 14px; padding: 12px 16px; }
  .float-card__value { font-size: 19px; }
  .float-card--top { display: none; }
  .form-card { position: static; }
  .trustbar__list { grid-template-columns: 1fr 1fr; }
  .trustbar__item, .trustbar__item:first-child { border-left: 0; padding: 20px 0; }
  .duo, .services, .models, .specs { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .project { grid-template-columns: 1fr; gap: 24px; }
  .project:nth-child(even) .project__pair { order: 0; }
  .projects { gap: 56px; }
  .split__media { order: -1; }
  .split__media .arch { aspect-ratio: 4 / 3; max-width: none; border-radius: 200px 200px var(--radius) var(--radius); }
  .faq__aside { position: static; }
  .cta__card { padding: 52px 32px; }
  .cta__actions { margin-left: 0; }
  .models-head { margin-top: 72px; }
}
@media (max-width: 768px) {
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
    display: grid; grid-template-columns: 1fr 1.35fr; gap: 10px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(251, 248, 242, .95); border-top: 1px solid var(--line);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  }
  .mobile-bar__btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: 999px; font-weight: 700; font-size: 15px; }
  .mobile-bar__btn svg { width: 17px; height: 17px; }
  .mobile-bar__btn--call { background: var(--ink); color: var(--paper); }
  .mobile-bar__btn--devis { background: var(--terra); color: var(--white); }
  .page-clim .mobile-bar__btn--devis { background: var(--sky); }
  .page-merci .mobile-bar { grid-template-columns: 1fr; }
  .page-merci .mobile-bar__btn--devis { display: none; }
  body { padding-bottom: 72px; }
}
@media (max-width: 600px) {
  :root { --gutter: 18px; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 40px; }
  .brand__tag { display: none; }
  .hero__visual .arch, .split__media .arch { border-radius: 140px 140px var(--radius) var(--radius); }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__proof { gap: 12px 20px; }
  .trustbar__list { grid-template-columns: 1fr; }
  .trustbar__item, .trustbar__item:first-child { padding: 16px 0; border-top: 1px solid rgba(251, 248, 242, .08); }
  .form-card { padding: 32px 20px 24px; border-radius: 20px; }
  .form-card__ribbon { left: 20px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .duo, .services, .models, .specs, .ticks--2 { grid-template-columns: 1fr; }
  .duo-card__body { padding: 26px 22px 28px; }
  .duo-card__title { font-size: 26px; }
  .price { padding: 32px 24px; gap: 24px; grid-template-columns: 1fr; }
  .price .btn { justify-self: stretch; }
  .gallery { grid-template-columns: 1fr; height: auto; margin-top: 32px; }
  .gallery__item--wide { height: 300px; }
  .project__pair { gap: 8px; }
  .project__title { font-size: 25px; }
  .faq__q { font-size: 16.5px; padding: 22px 0; }
  .faq__a { padding-right: 0; }
  .cta { padding-bottom: 72px; }
  .cta__card { padding: 44px 22px; border-radius: 24px; }
  .cta__actions { max-width: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .legal__body dl { grid-template-columns: 1fr; gap: 2px; }
  .legal__body dd { margin-bottom: 10px; }
}
.models > li > a.model { height: 100%; }
.page-clim .section--steps, .page-peintre .section--steps { background: var(--paper); }
.page-clim .form-card__submit { background: var(--sky); box-shadow: 0 14px 30px -14px rgba(47, 135, 181, .8); }
.page-clim .form-card__submit:hover { background: #226d95; }
.amp { font-family: var(--font-body); font-style: normal; font-weight: 600; font-size: .86em; }

/* ---------- Renvoi vers l'autre métier ---------- */
.section--tight { padding: 88px 0 72px; }
.cross { display: grid; grid-template-columns: 1fr 1.2fr; overflow: hidden; border-radius: 28px; background: var(--ivory); border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.cross:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cross__media { min-height: 300px; }
.cross__media img { width: 100%; height: 100%; object-fit: cover; }
.cross__body { display: flex; flex-direction: column; justify-content: center; padding: 48px 52px; }
.cross__kicker { margin-bottom: 12px; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--terra); }
.cross--sky .cross__kicker, .cross--sky .cross__cta { color: var(--sky); }
.cross__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(28px, 3vw, 38px); line-height: 1.1; letter-spacing: -.015em; margin-bottom: 14px; }
.cross__text { color: var(--ink-soft); margin-bottom: 24px; max-width: 46ch; }
.cross__cta { display: inline-flex; gap: 8px; font-weight: 700; color: var(--terra); }
.cross:hover .cross__cta .arrow { transform: translateX(4px); }
.cross__cta .arrow { transition: transform .2s; }
@media (max-width: 900px) {
  .cross { grid-template-columns: 1fr; }
  .cross__media { min-height: 0; aspect-ratio: 16 / 9; }
  .cross__body { padding: 30px 24px 34px; }
}

/* ---------- Conversion ---------- */
.hero__micro { margin: -26px 0 36px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.form-card__subtitle strong { color: var(--ink); }
.form-card__alt { margin-top: 12px; text-align: center; font-size: 14px; color: var(--ink-soft); }
.form-card__alt a { font-weight: 800; color: var(--terra); white-space: nowrap; }
.section-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 48px; }
.section-cta > span { font-size: 14px; font-weight: 600; color: var(--muted); }
.section-head--center + * + .section-cta, .services + .section-cta { justify-content: center; }
.page-clim .btn--primary { box-shadow: 0 14px 30px -14px rgba(var(--accent-rgb), .8); }
@media (max-width: 900px) {
  /* Mobile : le message et le bouton devis d'abord, l'image ensuite */
  .hero__visual { order: 0; margin-top: 8px; }
  .hero__visual .arch { aspect-ratio: 16 / 11; }
}
@media (max-width: 600px) {
  .section-cta { flex-direction: column; align-items: stretch; text-align: center; }
  .section-cta .btn { width: 100%; }
}
.cross__media { position: relative; min-height: 320px; }
.cross__media img { position: absolute; inset: 0; }
@media (max-width: 900px) {
  .cross__media { position: static; min-height: 0; }
  .cross__media img { position: static; }
  /* Mobile : le formulaire avant les arguments (le bouton « Devis » y mène directement) */
  .devis__grid > .form-card { order: -1; margin-top: 10px; }
}
/* Visuel peinture : cadrage sur la partie gauche (murs repeints, sans la clim) */
.img--paint { object-position: 18% center; }
