/* ============================================================
   Atelier BUGUET — feuille de style
   Identité « La Falaise » — source unique : dossier
   Atelier-BUGUET-Logo-Falaise-Piscine/ (logos, symboles, favicons)
   Couleurs du logo : #13233A bleu nuit · #C8643B terre cuite ·
   #F5F1E8 crème · #4A5663 ardoise · #C9CFD8 gris clair (sur fond sombre)
   Les autres teintes ci-dessous sont des transparences de ces couleurs.
   Typo : Montserrat (titres) + Inter (texte) + Cormorant Garamond (italique du logo)
   ============================================================ */

:root {
  /* Couleurs du logo */
  --navy: #13233A;
  --accent: #C8643B;
  --cream: #F5F1E8;
  --slate: #4A5663;
  --mist: #C9CFD8;
  --white: #FFFFFF;

  /* Dérivées (transparences / mélanges des couleurs du logo) */
  --navy-deep: #13233A;
  --accent-dark: #B35A35;              /* terre cuite assombrie de 10 % au survol */
  --accent-soft: rgba(200, 100, 59, 0.12);
  --grey: rgba(19, 35, 58, 0.45);      /* 3e ligne d'horizon du symbole couleur */
  --grey-on-dark: rgba(245, 241, 232, 0.45); /* 3e ligne d'horizon du symbole blanc */
  --paper: #F5F1E8;                    /* crème du logo */
  --paper-alt: #EDE8DF;                /* crème + 4 % de bleu nuit */
  --ink: #13233A;
  --ink-soft: #4A5663;
  --line: rgba(19, 35, 58, 0.12);

  --font-head: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-mark: "Cormorant Garamond", Georgia, serif;

  --radius: 10px;
  --radius-lg: 18px;
  --shadow-soft: 0 1px 2px rgba(19, 35, 58, 0.05), 0 8px 24px rgba(19, 35, 58, 0.06);
  --shadow-lift: 8px 14px 32px rgba(19, 35, 58, 0.13), 2px 4px 10px rgba(19, 35, 58, 0.06);
  --max: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 700; }
h2 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); font-weight: 600; }
h3 { font-size: 1.05rem; font-weight: 600; }

p { margin: 0 0 1em; max-width: 62ch; color: var(--ink-soft); }
a { color: var(--navy); }

ul { margin: 0 0 1em; padding-left: 1.2em; }
li { margin-bottom: 0.4em; color: var(--ink-soft); }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- En-tête ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
  flex-wrap: nowrap;
  max-width: 1320px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.15;
  text-decoration: none;
  white-space: nowrap;
}

.logo-icon {
  display: block;
  width: auto;
  height: 40px;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
}

.logo-main em {
  font-family: var(--font-mark);
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}

.logo-sub {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.66rem;
  letter-spacing: 0.02em;
  color: var(--slate);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
  flex-shrink: 0;
}

nav.main-nav {
  display: flex;
  gap: 18px;
  font-size: 0.92rem;
  font-weight: 500;
  margin-left: auto;
  margin-right: 12px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

/* Écrans moyens et mobiles : l'en-tête passe sur plusieurs lignes
   (seuil relevé à 1320px depuis l'ajout du lien « Borne de recharge ») */
@media (max-width: 1320px) {
  .site-header .container { flex-wrap: wrap; }
  nav.main-nav { flex-wrap: wrap; margin: 0; order: 3; width: 100%; gap: 8px 18px; }
  .header-actions { margin-left: auto; }
}
@media (max-width: 560px) {
  .header-actions { flex-wrap: wrap; margin-left: 0; }
}

nav.main-nav a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
}

nav.main-nav a:hover,
nav.main-nav a.active {
  border-bottom-color: var(--accent);
  color: var(--navy);
}

/* ---------- Boutons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.08s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn-call {
  background: var(--accent);
  color: var(--white);
}
.btn-call:hover { background: var(--accent-dark); }

.btn-secondary {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-secondary:hover { background: var(--navy); color: var(--white); }

.btn-small {
  padding: 8px 14px;
  font-size: 0.85rem;
}

.header-actions .btn { padding: 9px 16px; font-size: 0.88rem; }

.phone-number {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy);
  font-size: 1rem;
  text-decoration: none;
}

/* ---------- Bandeau réassurance ---------- */

.reassurance {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--navy);
  margin: 20px 0 0;
}
.reassurance span { white-space: nowrap; }

/* ---------- Hero ---------- */

.hero {
  padding: 56px 0 48px;
  border-bottom: 1px solid var(--line);
}

.hero .tag {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 10px;
  display: block;
}

.hero p.lead {
  font-size: 1.1rem;
  max-width: 56ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 26px;
}

.hero-actions .hint {
  width: 100%;
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-top: 6px;
}

/* ---------- Sections générales ---------- */

section.block {
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
}

section.block:last-of-type { border-bottom: none; }

.block-alt { background: var(--paper-alt); }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 720px) {
  .two-col { grid-template-columns: 1fr; }
}

.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) {
  .three-col { grid-template-columns: 1fr; }
}

/* ---------- Cartes d'aiguillage ---------- */

.route-card {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 26px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.route-card .kicker {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--accent);
  font-size: 0.85rem;
}

.route-card a.card-link {
  margin-top: auto;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 2px solid var(--accent);
  align-self: flex-start;
  padding-bottom: 2px;
}

/* ---------- Étapes numérotées ---------- */

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 44px;
  color: var(--ink);
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -2px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Listes de pannes / prestations ---------- */

.check-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
}
@media (max-width: 600px) { .check-list { grid-template-columns: 1fr; } }

.check-list li {
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  color: var(--ink);
}

/* ---------- FAQ ---------- */

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.faq-item h3 { margin-bottom: 6px; }
.faq-item p { margin-bottom: 0; }

/* ---------- Zone / villes ---------- */

.zone-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 8px;
}
@media (max-width: 600px) { .zone-grid { grid-template-columns: 1fr; } }

.zone-grid h3 {
  font-size: 0.85rem;
  text-transform: none;
  color: var(--slate);
  font-weight: 700;
  margin-bottom: 6px;
}

.zone-grid ul { padding-left: 0; list-style: none; }
.zone-grid li { border-bottom: 1px dotted var(--line); padding: 6px 0; margin: 0; }

/* ---------- Tarif encadré ---------- */

.price-box {
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--white);
  max-width: 420px;
}
.price-box .amount {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
}
.price-box .amount small {
  font-size: 1rem;
  font-weight: 500;
  color: var(--slate);
}

/* ---------- Rappel d'action ---------- */

.closer {
  background: var(--navy);
  color: var(--white);
  padding: 44px 0;
  text-align: left;
}
.closer h2 { color: var(--white); }
.closer p { color: var(--mist); }
.closer .btn-secondary { border-color: var(--white); color: var(--white); }
.closer .btn-secondary:hover { background: var(--white); color: var(--navy); }

/* ---------- Formulaire ---------- */

form.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 480px;
}

form.contact-form label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  display: block;
  margin-bottom: 4px;
}

form.contact-form input,
form.contact-form select,
form.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--white);
  color: var(--ink);
}

form.contact-form textarea { min-height: 110px; resize: vertical; }

/* ---------- Notes internes (visibles seulement dans la maquette) ---------- */

.dev-note {
  background: rgba(200, 100, 59, 0.08);
  border: 1px dashed var(--accent);
  color: var(--slate);
  font-size: 0.85rem;
  padding: 10px 14px;
  border-radius: var(--radius);
  margin: 10px 0 24px;
}
.dev-note strong { color: var(--accent); }

/* ---------- Pied de page ---------- */

/* Pied de page : voir « Pied de page premium » en fin de fichier */

/* ---------- Titres à pictogramme ---------- */

.heading-icon {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 6px;
}

.heading-icon .icon-badge {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}

.block-alt .icon-badge {
  background: var(--paper);
}

.icon-badge.teal { color: var(--accent); }

.heading-icon h2 { margin-bottom: 0; }

/* ---------- Illustrations ---------- */

.illustration-col img {
  width: 100%;
  height: auto;
  display: block;
}

/* Toutes les photos et illustrations du site (hors logo) :
   coins arrondis + liseret orange + ombre discrète vers le bas à droite */
img:not(.logo-img):not(.footer-symbol) {
  border-radius: 16px;
  border: 1.5px solid var(--accent);
  box-shadow: 6px 8px 18px rgba(19, 35, 58, 0.16), 2px 3px 6px rgba(19, 35, 58, 0.08);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-grid .illustration-col { order: 2; max-width: 360px; }
}

.pool-section .two-col { align-items: center; }

/* ---------- Utilitaires ---------- */

.section-title { max-width: 60ch; }
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }

/* ---------- Grille tarifaire (page piscine) ---------- */

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto 1fr;
  gap: 0 20px;
  margin-top: 24px;
  align-items: stretch;
}

.plan {
  display: grid;
  grid-row: span 2;
  grid-template-rows: subgrid;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--navy);
  border-radius: var(--radius);
  scroll-margin-top: 90px;
}

.plan-head {
  padding: 24px 24px 20px;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.plan-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.plan-top .icon-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}

.plan .kicker {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--accent);
  font-size: 0.85rem;
}

.plan-head h3 { font-size: 1.15rem; margin-bottom: 16px; }

.plan-price {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--font-head);
  color: var(--navy);
}
.plan-amount {
  font-size: 2.3rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}
.plan-unit {
  font-size: 1rem;
  font-weight: 600;
  color: var(--slate);
}
.plan-price-note {
  margin: 8px 0 0;
  font-size: 0.9rem;
  color: var(--slate);
}

.plan-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
}
.plan-body p { font-size: 0.95rem; }
.plan-body .steps { margin: 4px 0 18px; gap: 14px; }
.plan-body .steps li { font-size: 0.95rem; }
.plan-body .check-list { grid-template-columns: 1fr; gap: 0; margin-bottom: 14px; }
.plan-body .check-list li { font-size: 0.95rem; padding: 9px 0; margin: 0; }
.plan-body .dev-note { margin: 4px 0 18px; }

.plan-sub {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 4px;
}
.plan-sub h4 {
  font-family: var(--font-head);
  color: var(--navy);
  font-size: 1rem;
  font-weight: 600;
  margin: 4px 0 14px;
}

.plan-small { font-size: 0.88rem !important; color: var(--ink-soft); }

.plan-actions {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.plan-actions .btn {
  width: 100%;
  white-space: normal;
  text-align: center;
  line-height: 1.3;
  padding: 12px 14px;
}
.plan-actions + .plan-small { margin: 10px 0 0; }

@media (max-width: 900px) {
  .plans { grid-template-columns: 1fr; grid-template-rows: none; gap: 20px; }
  .plan { grid-row: auto; grid-template-rows: auto 1fr; }
}

.plan-head,
.plan-body { min-width: 0; overflow-wrap: break-word; }
.plan-body p,
.plan-body .dev-note { max-width: 100%; }

/* Photo recadrée au format 4:3 */
.illustration-col img.photo-rounded {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ---------- Apparition au défilement (voir reveal.js) ---------- */

.reveal-on .reveal {
  opacity: 0;
  transform: translateY(56px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.reveal-on .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Accueil : mes domaines d'intervention ---------- */

.services { background: var(--white); }

.services-head {
  text-align: center;
  margin: 0 auto 36px;
  max-width: 640px;
}

.services-eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 10px;
}

.services-title {
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  color: var(--navy);
  margin: 0;
}

.services-title em {
  font-family: var(--font-mark);
  font-style: italic;
  font-weight: 500;
  color: #C8643B;
}

.services-wave {
  display: block;
  width: 96px;
  height: 14px;
  margin: 12px auto 0;
  color: #C8643B;
}

.services-grid { gap: 24px; }

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 38px 28px 30px;
  background: linear-gradient(180deg, var(--white) 0%, var(--paper) 100%);
  border: 1px solid var(--line);
  border-radius: 18px;
  text-decoration: none;
  color: var(--ink);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(19, 35, 58, 0.05);
  transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1),
              box-shadow 0.35s ease, border-color 0.35s ease;
}

/* Liseré orange en haut de carte, qui s'étire au survol */
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 56px;
  height: 3px;
  background: #C8643B;
  border-radius: 0 0 3px 3px;
  transform: translateX(-50%);
  transition: width 0.4s ease;
}

/* Vague discrète en bas de carte, rappel du logo */
.service-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 36px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 36' preserveAspectRatio='none'%3E%3Cpath d='M0 22 C60 6 120 6 200 20 S340 34 400 14 V36 H0 Z' fill='%2313233A' fill-opacity='0.06'/%3E%3C/svg%3E") no-repeat bottom / 100% 100%;
  pointer-events: none;
}

.service-card:hover,
.service-card:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(200, 100, 59, 0.45);
  box-shadow: 8px 14px 32px rgba(19, 35, 58, 0.14), 2px 4px 10px rgba(19, 35, 58, 0.06);
}
.service-card:hover::before,
.service-card:focus-visible::before { width: 70%; }

.service-num {
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: var(--font-mark);
  font-style: italic;
  font-size: 1.05rem;
  color: rgba(19, 35, 58, 0.28);
}

.service-picto {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: inset 0 0 0 6px var(--paper), 0 6px 16px rgba(19, 35, 58, 0.08);
  margin-bottom: 22px;
  transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.service-picto svg { width: 60px; height: 60px; }
.service-card:hover .service-picto { transform: scale(1.06) rotate(-3deg); }

.service-card h3 {
  font-size: 1.15rem;
  color: var(--navy);
  margin: 0 0 10px;
  text-transform: none;
}

.service-card p {
  font-size: 0.93rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 22px;
  max-width: 34ch;
}

.service-link {
  position: relative;
  z-index: 1;
  margin-top: auto;
  margin-bottom: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.88rem;
  color: #C8643B;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.service-link .arrow { transition: transform 0.3s ease; }
.service-card:hover .service-link .arrow { transform: translateX(5px); }

@media (max-width: 900px) {
  .services-grid { max-width: 460px; margin: 0 auto; }
}

/* ---------- Pied de page premium ---------- */

footer.site-footer {
  position: relative;
  background: #13233A;
  color: var(--mist);
  font-size: 0.9rem;
  overflow: hidden;
}

/* Filets du logo : orange puis gris, en haut du bandeau */
.footer-accent {
  height: 4px;
  background: linear-gradient(90deg, #C8643B 0 62%, transparent 62% 64%, var(--grey-on-dark) 64% 100%);
}

/* Relief de falaise en filigrane, en bas à droite */
footer.site-footer::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: 38px;
  width: 420px;
  height: 300px;
  background: url("Atelier-BUGUET-Logo-Falaise-Piscine/SVG/symbole-seul-blanc.svg") no-repeat right bottom / contain;
  opacity: 0.03;
  pointer-events: none;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1.2fr 0.8fr;
  gap: 48px;
  padding-top: 56px;
  padding-bottom: 48px;
  position: relative;
  z-index: 1;
}

.footer-logo {
  display: flex;
  align-items: flex-end;
  gap: 18px;
  text-decoration: none;
}

.footer-symbol { width: 118px; height: auto; flex-shrink: 0; }

.footer-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.fw-atelier {
  font-family: var(--font-mark);
  font-style: italic;
  font-weight: 500;
  font-size: 1.45rem;
  color: var(--cream);
}
.fw-buguet {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.9rem;
  letter-spacing: 0.16em;
  color: var(--cream);
  margin-top: 2px;
}
.fw-rule {
  width: 34px;
  height: 2px;
  background: #C8643B;
  margin: 10px 0 8px;
}
.fw-sub {
  font-family: var(--font-head);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--mist);
}

.footer-tagline {
  margin: 22px 0 0;
  max-width: 36ch;
  line-height: 1.6;
  color: var(--mist);
}

.footer-title {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream);
  margin: 6px 0 20px;
  padding-bottom: 12px;
  position: relative;
}
.footer-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 24px;
  height: 2px;
  background: #C8643B;
}

.footer-contact,
.footer-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
  padding: 0;
}

.fc-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(200, 100, 59, 0.45);
  background: rgba(200, 100, 59, 0.08);
  color: var(--accent);
  transition: background 0.25s ease, color 0.25s ease;
}
.fc-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.footer-contact li:hover .fc-icon { background: #C8643B; color: var(--cream); }

footer.site-footer a {
  color: var(--cream);
  text-decoration: none;
  transition: color 0.2s ease;
}
footer.site-footer a:hover { color: var(--accent); }

.footer-nav li { margin: 0 0 10px; padding: 0; }
.footer-nav a {
  display: inline-block;
  transition: color 0.2s ease, transform 0.2s ease;
}
.footer-nav a:hover { transform: translateX(4px); }

.footer-bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(245, 241, 232, 0.1);
  font-size: 0.8rem;
  color: var(--mist);
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 18px;
  padding-bottom: 18px;
}

@media (max-width: 900px) {
  .footer-main { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer-main { grid-template-columns: 1fr; padding-top: 44px; }
  .footer-symbol { width: 92px; }
  .fw-buguet { font-size: 1.6rem; }
}
.footer-contact li > span:last-child { color: var(--cream); }

/* ---------- Formulaires ---------- */

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-hint {
  display: block;
  margin-top: 4px;
  font-size: 0.8rem;
  color: var(--slate);
}

/* ---------- Page de remerciement ---------- */

.hero.merci { text-align: center; padding: 80px 0 90px; }
.hero.merci .lead { max-width: 52ch; margin: 0 auto 28px; }

.merci-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: inset 0 0 0 6px var(--paper), 0 6px 16px rgba(19, 35, 58, 0.08);
  color: #C8643B;
}
.merci-check svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.merci-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- Haut de page premium (toutes les pages) ---------- */

.hero-premium {
  position: relative;
  overflow: hidden;
  padding: 40px 0 52px;
  background:
    radial-gradient(circle at 82% 18%, rgba(200, 100, 59, 0.10), transparent 38%),
    linear-gradient(180deg, var(--paper) 0%, var(--paper-alt) 100%);
}

.hero-premium > .container { position: relative; z-index: 1; }

/* Falaise du logo en filigrane, posée sur le bas du bandeau */
.hero-bg {
  position: absolute;
  left: -60px;
  bottom: -30px;
  width: 560px;
  height: 420px;
  background: url("Atelier-BUGUET-Logo-Falaise-Piscine/SVG/symbole-seul-couleur.svg") no-repeat left bottom / contain;
  opacity: 0.045;
  pointer-events: none;
}

/* Surtitre façon « ÉLECTRICITÉ · VAR » du logo */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 10px;
}
.hero-eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: #C8643B;
}

.hero-premium h1 { color: #13233A; margin-bottom: 14px; }
.hero-premium p.lead { margin-bottom: 0; }

/* Boutons d'appel / message plus compacts, côte à côte */
.hero-premium .reassurance { margin-top: 16px; }
.hero-premium .hero-actions { margin-top: 18px; gap: 10px; }
.hero-premium .hero-actions .btn { padding: 9px 16px; font-size: 0.88rem; }
.hero-premium .hero-actions .hint { margin-top: 2px; font-size: 0.85rem; }

/* Arguments en pastilles */
.hero-premium .reassurance { gap: 10px; }
.hero-premium .reassurance span {
  position: relative;
  padding: 5px 12px 5px 30px;
  font-size: 0.86rem;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.hero-premium .reassurance span::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 50%;
  width: 9px;
  height: 5px;
  border-left: 2px solid #C8643B;
  border-bottom: 2px solid #C8643B;
  transform: translateY(-70%) rotate(-45deg);
}

/* Composition du logo autour de la photo : soleil + lignes d'horizon */
.hero-premium .illustration-col {
  position: relative;
  margin-bottom: 30px;
  max-width: 420px;
  justify-self: end;
  width: 100%;
}
.hero-premium .illustration-col img { position: relative; z-index: 1; }

.hero-sun {
  position: absolute;
  z-index: 0;
  top: -38px;
  right: -34px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(200, 100, 59, 0.28);
  animation: heroSunRise 1.6s 0.5s cubic-bezier(0.22, 0.61, 0.36, 1) both,
             heroSunGlow 4.5s 2.2s ease-in-out infinite;
}

.hero-horizon {
  position: absolute;
  left: -28px;
  right: -28px;
  bottom: -30px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 7px;
}
.hero-horizon i {
  display: block;
  height: 3px;
  border-radius: 3px;
  transform-origin: right center;
  animation: heroLine 1s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}
.hero-horizon i:nth-child(1) { width: 100%; background: #13233A; animation-delay: 0.9s; }
.hero-horizon i:nth-child(2) { width: 55%; height: 2.5px; background: #C8643B; animation-delay: 1.1s; }
.hero-horizon i:nth-child(3) { width: 36%; height: 2px; background: var(--grey); animation-delay: 1.3s; }

/* Entrée en cascade du texte et de la photo */
.hero-text > * { animation: heroUp 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) both; }
.hero-text > :nth-child(1) { animation-delay: 0.05s; }
.hero-text > :nth-child(2) { animation-delay: 0.15s; }
.hero-text > :nth-child(3) { animation-delay: 0.28s; }
.hero-text > :nth-child(4) { animation-delay: 0.4s; }
.hero-text > :nth-child(n+5) { animation-delay: 0.52s; }
.hero-premium .illustration-col img { animation: heroImg 1.1s 0.25s cubic-bezier(0.22, 0.61, 0.36, 1) both; }

@keyframes heroUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}
@keyframes heroImg {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to   { opacity: 1; transform: none; }
}
@keyframes heroSunRise {
  from { opacity: 0; transform: translateY(60px) scale(0.7); }
  to   { opacity: 1; transform: none; }
}
@keyframes heroSunGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200, 100, 59, 0.22); }
  50%      { box-shadow: 0 0 0 14px rgba(200, 100, 59, 0); }
}
@keyframes heroLine {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

@media (max-width: 860px) {
  .hero-premium { padding: 32px 0 44px; }
  .hero-premium .illustration-col { justify-self: start; }
  .hero-sun { width: 72px; height: 72px; top: -26px; right: -18px; }
  .hero-horizon { left: -12px; right: -12px; }
  .hero-bg { width: 380px; height: 280px; }
}

/* Bandeaux sans photo (mentions légales, remerciement) : falaise plus petite, à droite */
.hero-premium:not(:has(.hero-grid)) .hero-bg {
  left: auto;
  right: 4%;
  bottom: 10px;
  width: 300px;
  height: 220px;
  background-position: right bottom;
  opacity: 0.07;
}

@media (prefers-reduced-motion: reduce) {
  .hero-text > *,
  .hero-premium .illustration-col img,
  .hero-sun,
  .hero-horizon i { animation: none; }
}

/* ============================================================
   Thème « La Falaise » — habillage de tous les composants
   (couleurs, typo, cartes, listes… ; aucun contenu modifié)
   ============================================================ */

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

h1, h2 { color: var(--navy); letter-spacing: -0.015em; }
h2 { font-weight: 700; }
a { color: var(--navy); text-decoration-color: rgba(200, 100, 59, 0.5); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--accent); }

/* ---- En-tête ---- */

.site-header {
  background: rgba(247, 243, 236, 0.88);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid rgba(19, 35, 58, 0.08);
}

.logo-main {
  font-size: 1.12rem;
  letter-spacing: 0.1em;
  color: var(--navy);
}
.logo-main em {
  font-family: var(--font-mark);
  font-weight: 600;
  font-size: 1.3em;
  letter-spacing: 0;
  color: var(--accent);
  margin-right: 1px;
}
.logo-sub {
  font-family: var(--font-head);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
  margin-top: 3px;
}

nav.main-nav { gap: 22px; }
nav.main-nav a {
  position: relative;
  font-family: var(--font-head);
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink);
  border-bottom: none;
  padding: 4px 0;
  transition: color 0.2s ease;
}
nav.main-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: translateX(-50%);
  transition: width 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}
nav.main-nav a:hover,
nav.main-nav a.active { color: var(--navy); }
nav.main-nav a:hover::after { width: 60%; }
nav.main-nav a.active::after { width: 100%; }

/* ---- Boutons ---- */

.btn {
  border-radius: var(--radius);
  border-width: 1.5px;
  letter-spacing: 0.01em;
  transition: transform 0.25s cubic-bezier(0.22, 0.61, 0.36, 1),
              background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-call {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(200, 100, 59, 0.28);
}
.btn-call:hover {
  background: var(--accent-dark);
  box-shadow: 0 10px 22px rgba(200, 100, 59, 0.34);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.6);
  border-color: var(--navy);
  color: var(--navy);
}
.btn-secondary:hover {
  background: var(--navy);
  color: var(--cream);
  box-shadow: 0 10px 22px rgba(19, 35, 58, 0.2);
}

/* ---- Sections ---- */

section.block {
  position: relative;
  padding: 64px 0;
  border-bottom: none;
}
.block-alt {
  background:
    radial-gradient(circle at 92% 0%, rgba(200, 100, 59, 0.06), transparent 34%),
    var(--paper-alt);
}
.services { background: var(--white); }

/* Titres de section : pastille terre cuite façon pictogrammes du bas de page */
.heading-icon { gap: 16px; margin-bottom: 10px; }
.heading-icon .icon-badge,
.block-alt .icon-badge {
  width: 46px;
  height: 46px;
  background: var(--white);
  border: 1px solid rgba(200, 100, 59, 0.4);
  box-shadow: inset 0 0 0 4px var(--paper), 0 4px 12px rgba(19, 35, 58, 0.06);
  color: var(--accent);
}
.icon-badge.teal { color: var(--accent); border-color: rgba(200, 100, 59, 0.4); }
.heading-icon h2 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); }

/* ---- Cartes (contact, tarifs, encadrés) ---- */

.route-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--white) 0%, var(--paper) 100%);
  padding: 30px 28px 26px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}
.route-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 28px;
  width: 44px;
  height: 3px;
  background: var(--accent);
  border-radius: 0 0 3px 3px;
  transition: width 0.4s ease;
}
.route-card:hover {
  transform: translateY(-4px);
  border-color: rgba(200, 100, 59, 0.4);
  box-shadow: var(--shadow-lift);
}
.route-card:hover::before { width: 90px; }

.kicker,
.route-card .kicker,
.plan .kicker {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.route-card a.card-link {
  font-family: var(--font-head);
  border-bottom: 1.5px solid var(--accent);
  transition: color 0.2s ease;
}
.route-card a.card-link:hover { color: var(--accent); }

.price-box {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 28px 24px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.price-box::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0 60%, transparent 60% 62%, var(--grey) 62%);
}
.price-box .amount { color: var(--navy); letter-spacing: -0.02em; }

/* ---- Grille tarifaire (piscine) ---- */

.plan {
  position: relative;
  border: 1px solid var(--line);
  border-top: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.35s ease;
}
.plan::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy) 0 60%, transparent 60% 62%, var(--accent) 62%);
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.plan-head {
  background: linear-gradient(180deg, var(--paper) 0%, var(--white) 100%);
  border-bottom: 1px solid var(--line);
}
.plan-top .icon-badge {
  background: var(--white);
  border: 1px solid rgba(200, 100, 59, 0.4);
  box-shadow: inset 0 0 0 3px var(--paper);
  color: var(--accent);
}
.plan-amount { color: var(--navy); }
.plan-sub h4 { color: var(--navy); }

/* ---- Étapes numérotées : pastilles bleu nuit cerclées de terre cuite, reliées par un fil ---- */

.steps li { padding-left: 50px; }
.steps li::before {
  width: 32px;
  height: 32px;
  top: -4px;
  background: var(--navy);
  color: var(--cream);
  box-shadow: 0 0 0 3px var(--paper), 0 0 0 4.5px rgba(200, 100, 59, 0.65);
}
.block-alt .steps li::before { box-shadow: 0 0 0 3px var(--paper-alt), 0 0 0 4.5px rgba(200, 100, 59, 0.65); }
.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 15.5px;
  top: 30px;
  bottom: -14px;
  border-left: 1.5px dashed rgba(19, 35, 58, 0.2);
}
.plan .steps li::before { box-shadow: 0 0 0 3px var(--white), 0 0 0 4.5px rgba(200, 100, 59, 0.65); }

/* ---- Listes à coches ---- */

.check-list li {
  position: relative;
  padding: 12px 0 12px 30px;
  border-bottom: 1px solid var(--line);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 19px;
  width: 10px;
  height: 5px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.plan-body .check-list li { padding: 9px 0 9px 28px; }
.plan-body .check-list li::before { top: 16px; }

/* ---- FAQ ---- */

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.faq-item h3 {
  position: relative;
  padding-left: 26px;
  color: var(--navy);
}
.faq-item h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 14px;
  height: 2px;
  background: var(--accent);
}
.faq-item p { padding-left: 26px; }

/* ---- Zone : titres façon « ÉLECTRICITÉ · VAR » ---- */

.zone-grid { gap: 28px; }
.zone-grid > div {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 24px 12px;
  box-shadow: var(--shadow-soft);
}
.zone-grid h3 {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.zone-grid li { border-bottom: 1px solid var(--line); padding: 8px 0; color: var(--ink); }
.zone-grid li:last-child { border-bottom: none; }

/* ---- Formulaires ---- */

form.contact-form label {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--navy);
  margin-bottom: 6px;
}
form.contact-form input,
form.contact-form select,
form.contact-form textarea {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
form.contact-form input:focus,
form.contact-form select:focus,
form.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
form.contact-form input[type="file"] { padding: 10px; background: var(--paper); }

/* ---- Bandeau d'appel final : nuit sur la falaise ---- */

.closer {
  position: relative;
  overflow: hidden;
  padding: 72px 0;
  background:
    radial-gradient(circle at 86% 30%, rgba(200, 100, 59, 0.22), transparent 30%),
    var(--navy);
  color: var(--cream);
}
.closer > .container { position: relative; z-index: 1; }
/* Soleil */
.closer::before {
  content: "";
  position: absolute;
  right: 12%;
  top: 50%;
  width: 110px;
  height: 110px;
  margin-top: -80px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.9;
}
/* Lignes d'horizon */
.closer::after {
  content: "";
  position: absolute;
  right: 6%;
  top: 50%;
  margin-top: 46px;
  width: 300px;
  height: 20px;
  background:
    linear-gradient(var(--cream), var(--cream)) right 0 / 100% 2.5px no-repeat,
    linear-gradient(var(--accent), var(--accent)) right 8px / 55% 2px no-repeat,
    linear-gradient(var(--grey-on-dark), var(--grey-on-dark)) right 15px / 36% 1.5px no-repeat;
  opacity: 0.85;
}
.closer h2 { color: var(--cream); max-width: 26ch; }
.closer p { color: var(--mist); }
.closer .btn-secondary {
  background: transparent;
  border-color: rgba(245, 241, 232, 0.7);
  color: var(--cream);
}
.closer .btn-secondary:hover { background: var(--cream); color: var(--navy); border-color: var(--cream); }
.closer .btn-call { box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25); }

@media (max-width: 860px) {
  .closer::before { width: 70px; height: 70px; right: 8%; top: 28px; margin-top: 0; opacity: 0.5; }
  .closer::after { display: none; }
  section.block { padding: 48px 0; }
}

/* ---- Notes de maquette : discrètes mais lisibles ---- */

.dev-note {
  background: rgba(200, 100, 59, 0.08);
  border: 1px dashed rgba(200, 100, 59, 0.6);
  color: var(--slate);
  border-radius: var(--radius);
}
.dev-note strong { color: var(--accent-dark); }

/* ---- Accents italiques de la marque ---- */

.services-title em { font-family: var(--font-mark); font-weight: 600; font-size: 1.12em; }
.fw-atelier { font-weight: 600; font-size: 1.7rem; }
.service-num { font-family: var(--font-mark); font-weight: 600; font-size: 1.25rem; }

/* ============================================================
   En-tête bleu nuit (fond du profil Google / logo « fond sombre »)
   ============================================================ */

.site-header {
  background: rgba(19, 35, 58, 0.97);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid rgba(245, 241, 232, 0.08);
  box-shadow: 0 6px 24px rgba(19, 35, 58, 0.18);
}
.site-header .container { padding-top: 10px; padding-bottom: 10px; }

.logo { gap: 0; }
.logo-img {
  display: block;
  height: 76px;          /* le SVG fourni contient ~14 % de marge intégrée */
  width: auto;
  margin: -12px -8px -12px -12px;
}
@media (max-width: 560px) { .logo-img { height: 64px; margin: -10px -8px -10px -10px; } }

nav.main-nav a { color: var(--mist); }
nav.main-nav a:hover,
nav.main-nav a.active { color: var(--cream); }

.header-actions .btn-call { box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22); }
.header-actions .btn-secondary {
  background: transparent;
  border-color: rgba(245, 241, 232, 0.55);
  color: var(--cream);
}
.header-actions .btn-secondary:hover {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--navy);
}

/* Bas de page : logo vertical « blanc pour fond sombre » du dossier de marque */
.footer-logo { display: inline-block; margin: -14px 0 -8px -16px; }
.footer-symbol { width: 210px; height: auto; }
@media (max-width: 560px) { .footer-symbol { width: 160px; } }

/* ---------- Pictogrammes en filigrane (accueil : déroulé, zone) ---------- */

.has-watermark { overflow: hidden; }
.has-watermark > .container { position: relative; z-index: 1; }

.section-watermark {
  position: absolute;
  right: max(4%, calc((100% - var(--max)) / 2 + 10px));
  top: 50%;
  width: 300px;
  height: 300px;
  margin-top: -150px;
  opacity: 0.1;
  pointer-events: none;
  animation: watermarkFloat 9s ease-in-out infinite;
}

@keyframes watermarkFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-10px) rotate(-1.5deg); }
}

@media (max-width: 860px) {
  .section-watermark { width: 200px; height: 200px; margin-top: -100px; right: -30px; opacity: 0.07; }
}

@media (prefers-reduced-motion: reduce) {
  .section-watermark { animation: none; }
}

/* ============================================================
   Correctifs mobile (octobre 2026)
   ============================================================ */

/* Bandeau du haut : les deux boutons tiennent dans la largeur de l'écran */
@media (max-width: 560px) {
  .header-actions { width: 100%; flex-shrink: 1; gap: 8px; }
  .header-actions .btn {
    flex: 1 1 auto;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
    padding: 9px 10px;
    font-size: 0.82rem;
  }
  nav.main-nav { gap: 6px 16px; font-size: 0.88rem; }
}

/* Titres principaux plus compacts sur téléphone */
@media (max-width: 560px) {
  h1, .hero-premium h1 { font-size: 1.5rem; line-height: 1.2; }
}

/* Très petits écrans : un bouton long passe à la ligne au lieu de dépasser */
@media (max-width: 560px) {
  .btn { max-width: 100%; white-space: normal; text-align: center; }
}

/* ============================================================
   Page « Borne de recharge » (borne-de-recharge.html)
   ============================================================ */

.irve-white { background: var(--white); }
.irve-cream { background: var(--paper); }
.irve-intro { margin: 12px 0 34px; color: var(--ink-soft); max-width: 720px; font-size: 1.05rem; }
.irve-heading { display: flex; align-items: center; gap: 16px; }
.irve-heading h2 { margin: 0; }
.irve-heading-icon { flex: none; width: 48px; height: 48px; border-radius: 50%; background: #FBE9DF; color: var(--accent-dark); display: flex; align-items: center; justify-content: center; }

/* En-tête */
.irve-breadcrumb { font-size: 0.82rem; color: var(--ink-soft); margin: 0 0 22px; position: relative; z-index: 1; }
.irve-breadcrumb a { color: var(--ink-soft); }
.irve-hero .hero-grid { align-items: center; }
.irve-hero-media { display: flex; justify-content: center; }
.irve-hero-frame { width: 100%; max-width: 440px; background: var(--white); border-radius: 16px; box-shadow: var(--shadow-lift); padding: 10px; }
.irve-hero-frame img { display: block; width: 100%; height: auto; border-radius: 10px; }

/* Bandeau sombre « Avant de choisir » */
.irve-study-band { background: var(--navy); color: var(--cream); padding: 44px 0; }
.irve-study-wrap { display: flex; flex-wrap: wrap; gap: 32px 48px; align-items: center; }
.irve-study-head { flex: 1 1 280px; min-width: 0; }
.irve-study-head h2 { color: var(--white); font-size: 1.6rem; margin: 0 0 12px; }
.irve-study-head p { color: var(--mist); margin: 0; font-size: 0.95rem; }
.irve-study-list { flex: 2 1 520px; min-width: 0; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px 32px; }
.irve-study-list li { display: flex; gap: 14px; align-items: flex-start; }
.irve-study-icon { flex: none; width: 40px; height: 40px; border-radius: 10px; background: rgba(227, 154, 120, 0.14); display: flex; align-items: center; justify-content: center; }
.irve-study-list h3 { color: var(--white); font-size: 0.95rem; margin: 0 0 2px; }
.irve-study-list p { color: var(--mist); margin: 0; font-size: 0.88rem; line-height: 1.45; }

/* Fiches puissances */
.irve-powers { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.irve-power { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.irve-power-main { background: var(--white); border: 2px solid var(--accent); }
.irve-power-top { display: flex; align-items: center; justify-content: space-between; }
.irve-power-kw { font-family: var(--font-head); font-weight: 700; font-size: 2rem; color: var(--accent-dark); margin: 0; }
.irve-power h3 { font-size: 1.05rem; margin: 0 0 8px; }
.irve-power dl { margin: 0; }
.irve-power dt { font-size: 0.82rem; color: var(--ink-soft); }
.irve-power dd { margin: 0 0 6px; font-weight: 600; font-size: 0.95rem; }
.irve-tag { position: absolute; top: -13px; left: 20px; background: var(--accent); color: var(--white); font-family: var(--font-body); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 11px; border-radius: 999px; }
.irve-note { margin: 22px 0 0; font-size: 0.9rem; color: var(--ink-soft); max-width: 820px; }

/* Deux offres */
.irve-offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.irve-offer { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.irve-offer-title { display: flex; align-items: center; gap: 12px; }
.irve-offer h3 { font-size: 1.35rem; margin: 0; }
.irve-offer-sub { margin: 0; color: var(--ink-soft); }
.irve-price { font-family: var(--font-head); font-weight: 700; font-size: 2.75rem; line-height: 1.1; margin: 6px 0 0; color: var(--navy); }
.irve-price span { font-family: var(--font-body); font-weight: 500; font-size: 1rem; color: var(--ink-soft); }
.irve-price-ht { margin: -4px 0 0; font-size: 0.82rem; color: var(--ink-soft); }
.irve-offer ul { margin: 8px 0 18px; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.irve-offer li { color: var(--ink); }
.irve-offer .btn { margin-top: auto; align-self: flex-start; }
.irve-offer-premium { background: var(--navy); border: 3px solid var(--accent); box-shadow: 8px 14px 32px rgba(19, 35, 58, 0.18); }
.irve-offer-premium .irve-tag { top: -14px; left: 28px; }
.irve-offer-premium h3, .irve-offer-premium .irve-price { color: var(--white); }
.irve-offer-premium li { color: var(--cream); }
.irve-offer-premium .irve-offer-sub, .irve-offer-premium .irve-price span, .irve-offer-premium .irve-price-ht { color: var(--mist); }
.irve-warning { margin-top: 24px; display: flex; gap: 14px; align-items: flex-start; background: #FBE9DF; border-radius: 14px; padding: 18px 22px; }
.irve-warning svg { flex: none; margin-top: 1px; }
.irve-warning p { margin: 0; color: var(--ink); }

/* Compris : frise à pictogrammes */
.irve-timeline { position: relative; margin-top: 40px; }
.irve-timeline-line { position: absolute; left: 10%; right: 10%; top: 38px; border-top: 2px dashed rgba(200, 100, 59, 0.45); }
.irve-timeline ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.irve-timeline li { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.irve-timeline-icon { width: 76px; height: 76px; border-radius: 50%; background: var(--white); border: 2px solid var(--accent); display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(19, 35, 58, 0.08); }
.irve-timeline h3 { margin: 4px 0 0; font-size: 1rem; }
.irve-timeline p { margin: 0; font-size: 0.88rem; line-height: 1.45; color: var(--ink-soft); }

/* Ce qui fait varier le prix */
.irve-vary { margin-top: 56px; background: var(--navy); border-radius: var(--radius-lg); padding: 32px; display: flex; flex-wrap: wrap; gap: 32px; }
.irve-vary-head { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.irve-vary-head h3 { margin: 0; color: var(--white); font-size: 1.3rem; }
.irve-vary-head p { margin: 0; color: var(--mist); }
.irve-vary-head .irve-vary-foot { margin-top: auto; font-size: 0.88rem; }
.irve-vary ul { flex: 2 1 420px; min-width: 0; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px 28px; }
.irve-vary li { display: flex; gap: 12px; align-items: flex-start; color: var(--cream); font-size: 0.95rem; line-height: 1.5; }
.irve-vary li svg { flex: none; margin-top: 1px; }

/* Trait avant le formulaire */
.irve-divider { margin: 0; border: 0; border-top: 4px solid var(--accent); width: 100%; }

/* Formulaire */
.irve-form-wrap { display: flex; flex-wrap: wrap; gap: 48px; }
.irve-form-intro { flex: 1 1 320px; min-width: 0; }
.irve-form-intro p { margin: 14px 0 0; color: var(--ink-soft); }
form.irve-form { flex: 1 1 480px; min-width: 0; max-width: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; }
form.irve-form .form-honeypot, .irve-form-full { grid-column: 1 / -1; }
form.irve-form button { justify-self: start; }

/* FAQ */
.irve-faq { max-width: 820px; }
.irve-faq-list { margin-top: 18px; }

@media (max-width: 960px) {
  .irve-timeline ul { grid-template-columns: repeat(2, 1fr); }
  .irve-timeline-line { display: none; }
}
@media (max-width: 640px) {
  .irve-offers { grid-template-columns: 1fr; }
  .irve-offer { padding: 26px 22px; }
  .irve-price { font-size: 2.2rem; }
  .irve-timeline ul { grid-template-columns: 1fr; }
  form.irve-form { grid-template-columns: 1fr; }
  .irve-heading-icon { width: 40px; height: 40px; }
}

/* Accueil : 4 cartes de services au lieu de 3 */
.services-grid.four-col { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .services-grid.four-col { grid-template-columns: repeat(2, 1fr); max-width: none; } }
@media (max-width: 640px) { .services-grid.four-col { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }
