/* =======================================================
   AG CALORIFUGE — style.css
   Mobile-first | Accessible | RGPD-compliant
   Couleurs : pétrole #0E4D5C | alu #A7ADB5 | cuivre #D9622B
   ======================================================= */

/* ── 1. Polices locales ─────────────────────────────── */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/montserrat-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/montserrat-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/montserrat-800.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/sourcesans3-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/sourcesans3-600.woff2') format('woff2');
}

/* ── 2. Variables ───────────────────────────────────── */
:root {
  --petrole:        #0E4D5C;
  --petrole-fonce:  #0A3A45;
  --alu:            #A7ADB5;
  --cuivre:         #D9622B;
  --cuivre-fonce:   #B94F1F;
  --fond:           #FFFFFF;
  --fond-clair:     #F4F6F7;
  --texte:          #1B2428;
  --texte-doux:     #4A5A60;

  --radius:         4px;
  --radius-lg:      6px;
  --shadow-sm:      0 2px 8px rgba(14,77,92,.08);
  --shadow-md:      0 4px 20px rgba(14,77,92,.12);
  --transition:     .25s ease;
  --max-w:          1280px;
  --header-h:       72px;
}

/* ── 3. Reset ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Source Sans 3', 'Segoe UI', Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--texte);
  background: var(--fond);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}
:focus-visible {
  outline: 3px solid var(--cuivre);
  outline-offset: 3px;
  border-radius: var(--radius);
}

/* ── 4. Typographie ─────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  line-height: 1.2;
  color: var(--petrole);
}
h1 { font-size: clamp(1.875rem, 5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.125rem); font-weight: 700; }
h3 { font-size: clamp(1.125rem, 2vw, 1.375rem); font-weight: 600; }
p  { max-width: 72ch; }

.text-doux { color: var(--texte-doux); }
.text-center { text-align: center; }

/* ── 5. Boutons ─────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.75rem;
  border-radius: var(--radius);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .9375rem;
  line-height: 1;
  cursor: pointer;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), box-shadow var(--transition);
  white-space: nowrap;
  border: 2px solid transparent;
  text-decoration: none !important;
}
.btn-cuivre {
  background: var(--cuivre);
  color: #fff;
  border-color: var(--cuivre);
}
.btn-cuivre:hover, .btn-cuivre:focus-visible {
  background: var(--cuivre-fonce);
  border-color: var(--cuivre-fonce);
  box-shadow: 0 4px 16px rgba(217,98,43,.35);
}
.btn-outline-blanc {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.btn-outline-blanc:hover, .btn-outline-blanc:focus-visible {
  background: #fff;
  color: var(--petrole);
}
.btn-outline-petrole {
  background: transparent;
  color: var(--petrole);
  border-color: var(--petrole);
}
.btn-outline-petrole:hover, .btn-outline-petrole:focus-visible {
  background: var(--petrole);
  color: #fff;
}
.btn-sm { padding: .6rem 1.25rem; font-size: .875rem; }

/* ── 6. Mise en page générale ───────────────────────── */
.inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.5rem;
}
.section {
  padding-block: 5rem;
}
.section--clair { background: var(--fond-clair); }
.section--blanc { background: var(--fond); }
.section--petrole { background: var(--petrole); }
.section--petrole-fonce { background: var(--petrole-fonce); }

.section-eyebrow {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cuivre);
  margin-bottom: .75rem;
}
.section-title { margin-bottom: 1.25rem; }
.section-lead {
  font-size: 1.125rem;
  color: var(--texte-doux);
  margin-bottom: 2.5rem;
  max-width: 60ch;
}

/* Séparateur diagonal décoratif */
.diagonal-after {
  position: relative;
  overflow: visible;
}
.diagonal-after::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: 0; right: 0;
  height: 40px;
  background: inherit;
  clip-path: polygon(0 0, 100% 0, 100% 0, 0 100%);
  z-index: 1;
}

/* ── 7. En-tête ─────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: #fff;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.site-header.scrolled {
  border-color: rgba(14,77,92,.1);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.header-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.header-logo img {
  height: 44px;
  width: auto;
}
.header-nav {
  flex: 1;
  display: none; /* mobile: hidden by default */
}
.nav-list {
  display: flex;
  gap: 1.75rem;
  align-items: center;
}
.nav-list a {
  font-weight: 600;
  font-size: .9375rem;
  color: var(--texte);
  padding-block: .25rem;
  position: relative;
  transition: color var(--transition);
}
.nav-list a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  height: 2px;
  width: 0;
  background: var(--cuivre);
  transition: width var(--transition);
}
.nav-list a:hover,
.nav-list a.active { color: var(--petrole); text-decoration: none; }
.nav-list a:hover::after,
.nav-list a.active::after { width: 100%; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
  flex-shrink: 0;
}
.header-tel {
  font-weight: 700;
  font-size: .9375rem;
  color: var(--petrole);
  display: none;
  align-items: center;
  gap: .4rem;
  transition: color var(--transition);
}
.header-tel:hover { color: var(--cuivre); text-decoration: none; }
.header-tel svg { flex-shrink: 0; }

.burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius);
}
.burger span {
  display: block;
  height: 2px;
  background: var(--petrole);
  border-radius: 1px;
  transition: transform .3s ease, opacity .3s ease;
  transform-origin: center;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: #fff;
  z-index: 999;
  overflow-y: auto;
  padding: 2rem 1.5rem 3rem;
  flex-direction: column;
  gap: 0;
  box-shadow: var(--shadow-md);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  display: block;
  padding: 1rem 0;
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--texte);
  border-bottom: 1px solid var(--fond-clair);
  transition: color var(--transition);
}
.mobile-nav a:hover { color: var(--petrole); text-decoration: none; }
.mobile-nav-actions {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-top: 2rem;
}
.mobile-nav-tel {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--petrole);
  display: flex;
  align-items: center;
  gap: .5rem;
}

/* ── 8. Hero ─────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  padding-top: var(--header-h);
  background: var(--petrole);
  position: relative;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-bg-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0A3A45 0%, #0E4D5C 40%, #1a6070 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Décoration diagonale sur le fond héros */
.hero-bg-placeholder::before {
  content: '';
  position: absolute;
  top: 0; left: 55%; right: 0; bottom: 0;
  background: rgba(255,255,255,.025);
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%);
}
.hero-bg-placeholder::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 80px;
  background: var(--fond);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}
.hero-photo-label {
  color: rgba(255,255,255,.25);
  font-size: .875rem;
  letter-spacing: .05em;
  pointer-events: none;
  user-select: none;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(14,77,92,.75) 0%,
    rgba(14,77,92,.55) 60%,
    rgba(14,77,92,.8) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 5rem 0 7rem;
}
.hero-content .inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.5rem;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.9);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .4rem 1rem;
  border-radius: 20px;
  margin-bottom: 1.5rem;
}
.hero h1 {
  color: #fff;
  max-width: 20ch;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 16px rgba(0,0,0,.3);
}
.hero-subtitle {
  color: rgba(255,255,255,.88);
  font-size: clamp(1rem, 2vw, 1.1875rem);
  max-width: 58ch;
  margin-bottom: 2.5rem;
}
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3.5rem;
}
.hero-arguments {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}
.hero-arg {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: rgba(255,255,255,.9);
  font-size: .9375rem;
  font-weight: 600;
}
.hero-arg-icon {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-arg .tag-a-confirmer {
  font-size: .75rem;
  font-weight: 400;
  color: var(--cuivre);
  margin-left: .25rem;
}

/* ── 9. Section : Pourquoi calorifuger ───────────────── */
.section-pourquoi { padding-block: 6rem; }
.pourquoi-title { max-width: 42ch; }
.pourquoi-intro { color: var(--texte-doux); max-width: 60ch; margin-bottom: 3rem; }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.card {
  background: var(--fond);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--petrole);
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.card-icon {
  width: 48px;
  height: 48px;
  background: var(--fond-clair);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--petrole);
}
.card-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--petrole);
  margin-bottom: .5rem;
}
.card-text {
  color: var(--texte-doux);
  font-size: .9375rem;
  line-height: 1.6;
}

.aides-encadre {
  background: var(--fond-clair);
  border-left: 4px solid var(--alu);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-top: 2rem;
}
.aides-encadre p {
  color: var(--texte-doux);
  font-style: italic;
  font-size: .9375rem;
}
.aides-encadre .tag-a-confirmer { display: block; margin-top: .25rem; }

/* ── 10. Section : Services ──────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}
.service {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--fond);
  transition: box-shadow var(--transition);
}
.service:hover { box-shadow: var(--shadow-md); }
.service-head {
  background: var(--petrole);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.service-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.25rem;
  font-weight: 800;
  color: rgba(255,255,255,.15);
  line-height: 1;
  flex-shrink: 0;
  width: 50px;
}
.service-head h3 { color: #fff; font-size: 1.0625rem; }
.service-body { padding: 1.5rem; }
.service-body p { color: var(--texte-doux); font-size: .9375rem; }
.tag-a-confirmer {
  display: inline-block;
  background: #fff3cd;
  color: #7a5000;
  font-size: .75rem;
  font-weight: 700;
  padding: .15rem .5rem;
  border-radius: 3px;
  margin-left: .3rem;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: .02em;
}
.tag-a-completer {
  display: inline-block;
  background: #fde8e0;
  color: #7a2000;
  font-size: .75rem;
  font-weight: 700;
  padding: .15rem .5rem;
  border-radius: 3px;
  margin-left: .3rem;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: .02em;
}

/* ── 11. Section : Notre méthode ─────────────────────── */
.section-methode { position: relative; }
.section-methode .section-title,
.section-methode .section-lead { color: #fff; }
.section-methode .section-title { color: #fff; }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
  counter-reset: steps;
}
.step {
  position: relative;
  padding: 2rem;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.05);
  counter-increment: steps;
}
.step::before {
  content: counter(steps);
  font-family: 'Montserrat', sans-serif;
  font-size: 4.5rem;
  font-weight: 800;
  color: rgba(255,255,255,.08);
  line-height: 1;
  position: absolute;
  top: .75rem;
  right: 1rem;
  pointer-events: none;
  user-select: none;
}
.step h3 {
  color: #fff;
  font-size: 1.0625rem;
  margin-bottom: .75rem;
}
.step p { color: rgba(255,255,255,.78); font-size: .9375rem; }
.step .tag-a-confirmer { background: rgba(255,243,205,.15); color: #ffd57e; }

/* ── 12. Section : Zone d'intervention ───────────────── */
.zone-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
.zone-text p {
  color: var(--texte-doux);
  margin-bottom: 1.75rem;
}
.dept-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .625rem;
}
.dept-chip {
  background: var(--petrole);
  color: #fff;
  padding: .4rem 1rem;
  border-radius: var(--radius);
  font-size: .875rem;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: .02em;
  transition: background var(--transition);
}
.dept-chip:hover { background: var(--petrole-fonce); }

/* Carte SVG IDF */
.map-container {
  max-width: 500px;
  width: 100%;
  margin-inline: auto;
}
.idf-map {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  filter: drop-shadow(0 4px 20px rgba(14,77,92,.15));
}
.idf-map .dept {
  fill: #B8D4DA;
  stroke: #fff;
  stroke-width: 2;
  transition: fill var(--transition);
  cursor: default;
}
.idf-map .dept:hover { fill: #8FBAC4; }
.idf-map .dept-paris {
  fill: var(--petrole);
}
.idf-map .dept-paris:hover { fill: var(--petrole-fonce); }
.idf-map .map-label {
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  font-weight: 700;
  fill: var(--petrole);
  pointer-events: none;
}
.idf-map .map-label-white {
  fill: #fff;
}
.idf-map .map-bg { fill: var(--fond-clair); }

/* ── 13. Section : Réalisations ──────────────────────── */
.real-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.real-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--fond);
  transition: box-shadow var(--transition);
}
.real-item:hover { box-shadow: var(--shadow-md); }
.real-photo {
  background: #C8D4D8;
  height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  border-bottom: 1px solid rgba(14,77,92,.1);
}
.real-photo svg { opacity: .4; color: var(--petrole); }
.real-photo-text {
  font-size: .8125rem;
  color: var(--petrole);
  font-weight: 600;
  opacity: .6;
  text-align: center;
  padding-inline: 1rem;
}
.real-caption {
  padding: 1.125rem 1.25rem;
}
.real-caption h3 {
  font-size: .9375rem;
  color: var(--petrole);
  margin-bottom: .25rem;
}
.real-caption p {
  font-size: .875rem;
  color: var(--texte-doux);
}

/* ── 14. Section : Pour qui ──────────────────────────── */
.clients-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .875rem;
  margin-top: 2rem;
}
.client-chip {
  background: var(--fond);
  border: 2px solid var(--petrole);
  color: var(--petrole);
  padding: .6rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  font-size: .875rem;
  transition: background var(--transition), color var(--transition);
}
.client-chip:hover {
  background: var(--petrole);
  color: #fff;
}

/* ── 15. Section : Contact / Devis ───────────────────── */
.section-contact {
  background: var(--petrole);
}
.section-contact .section-title { color: #fff; }
.section-contact .section-lead { color: rgba(255,255,255,.8); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}
.contact-infos {
  color: rgba(255,255,255,.9);
}
.contact-infos h3 {
  color: #fff;
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.contact-info-icon {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: .1rem;
  color: #fff;
}
.contact-info-label {
  font-size: .8125rem;
  color: rgba(255,255,255,.6);
  display: block;
  margin-bottom: .15rem;
}
.contact-info-value {
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
}
.contact-info-value a {
  color: inherit;
  transition: color var(--transition);
}
.contact-info-value a:hover { color: var(--cuivre); text-decoration: none; }

/* Carte formulaire */
.contact-card {
  background: #fff;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-group:last-of-type { margin-bottom: 0; }
.form-label {
  display: block;
  font-weight: 600;
  font-size: .9375rem;
  margin-bottom: .4rem;
  color: var(--texte);
}
.form-label .required {
  color: var(--cuivre);
  margin-left: .1rem;
}
.form-control {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--alu);
  border-radius: var(--radius);
  font-size: 1rem;
  color: var(--texte);
  background: var(--fond);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  -webkit-appearance: none;
}
.form-control:focus {
  outline: none;
  border-color: var(--petrole);
  box-shadow: 0 0 0 3px rgba(14,77,92,.15);
}
.form-control::placeholder { color: var(--alu); }

select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23A7ADB5' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .875rem center;
  padding-right: 2.5rem;
}

textarea.form-control { resize: vertical; min-height: 130px; }

.form-checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  margin-top: 1.5rem;
}
.form-checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: .1rem;
  accent-color: var(--petrole);
  cursor: pointer;
}
.form-checkbox-group label {
  font-size: .9rem;
  color: var(--texte-doux);
  cursor: pointer;
}
.form-checkbox-group label a {
  color: var(--petrole);
  text-decoration: underline;
}

/* Champ honeypot : invisible pour les humains */
.form-honeypot {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  tab-index: -1;
}

.form-actions {
  margin-top: 1.75rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.form-message {
  display: none;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .9375rem;
  margin-top: 1rem;
}
.form-message.success {
  display: block;
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}
.form-message.error {
  display: block;
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}
.form-loading { display: none; align-items: center; gap: .5rem; color: var(--texte-doux); }
.form-loading.active { display: flex; }

/* Spinner */
.spinner {
  width: 18px;
  height: 18px;
  border: 2px solid var(--alu);
  border-top-color: var(--petrole);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── 16. Pied de page ────────────────────────────────── */
.site-footer {
  background: var(--petrole-fonce);
  color: rgba(255,255,255,.8);
  padding-block: 3.5rem 2rem;
}
.footer-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.5rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 2rem;
}
.footer-logo { margin-bottom: 1rem; }
.footer-logo img { height: 48px; width: auto; }
.footer-tagline {
  font-size: .9375rem;
  color: rgba(255,255,255,.6);
  max-width: 32ch;
}
.footer-col h4 {
  color: #fff;
  font-size: .875rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .6rem; }
.footer-col ul li a {
  font-size: .9375rem;
  color: rgba(255,255,255,.7);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: #fff; text-decoration: none; }
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .9375rem;
  color: rgba(255,255,255,.8);
  margin-bottom: .75rem;
}
.footer-contact-item a { color: inherit; transition: color var(--transition); }
.footer-contact-item a:hover { color: #fff; text-decoration: none; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: .875rem;
  color: rgba(255,255,255,.45);
}
.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.footer-legal-links a {
  color: rgba(255,255,255,.5);
  transition: color var(--transition);
}
.footer-legal-links a:hover { color: #fff; text-decoration: none; }

/* ── 17. Pages légales ───────────────────────────────── */
.legal-page {
  padding-top: calc(var(--header-h) + 3rem);
  padding-bottom: 5rem;
  min-height: 100vh;
}
.legal-page h1 { margin-bottom: 2.5rem; }
.legal-page h2 {
  font-size: 1.25rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}
.legal-page p, .legal-page li {
  color: var(--texte-doux);
  margin-bottom: .75rem;
}
.legal-page ul { padding-left: 1.5rem; list-style: disc; }
.legal-page a { color: var(--petrole); text-decoration: underline; }

/* ── 18. Page merci ──────────────────────────────────── */
.merci-page {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--fond-clair);
  padding: 2rem 1.5rem;
}
.merci-card {
  background: #fff;
  padding: 3.5rem 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  max-width: 520px;
  width: 100%;
}
.merci-icon {
  width: 72px;
  height: 72px;
  background: #d4edda;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: #155724;
}
.merci-card h1 { font-size: 1.75rem; margin-bottom: 1rem; }
.merci-card p { color: var(--texte-doux); max-width: 38ch; margin-inline: auto; }

/* ── 19. Animations au défilement ────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }
.reveal-delay-5 { transition-delay: .5s; }

/* ── 20. Utilitaires ─────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--cuivre);
  color: #fff;
  padding: .5rem 1rem;
  border-radius: 0 0 var(--radius) var(--radius);
  font-weight: 700;
  z-index: 9999;
  transition: top var(--transition);
}
.skip-link:focus { top: 0; }

/* ── 21. Responsive ──────────────────────────────────── */
@media (min-width: 640px) {
  .hero-arguments { gap: 2.5rem; }
  .form-row { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 768px) {
  .header-tel { display: flex; }
  .zone-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 2fr 1fr 1fr; }
}

@media (min-width: 1024px) {
  .header-nav { display: block; }
  .burger { display: none; }
  .contact-grid { grid-template-columns: 1fr 2fr; }
}

@media (min-width: 1280px) {
  .cards-grid { grid-template-columns: repeat(3, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .real-grid { grid-template-columns: repeat(3, 1fr); }
}

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