/* ════════════════════════════════════════════════════════════
   Installateur Panneaux Solaires — feuille de style légère
   Palette : vert écologie · animations minimales (hover only)
   ════════════════════════════════════════════════════════════ */

:root {
  /* Vert écologie */
  --color-accent: #2e7d32;
  --color-accent-light: #66bb6a;
  --color-accent-deep: #1b5e20;
  --color-accent-soft: #e8f5e9;

  /* Neutres */
  --bg: #ffffff;
  --bg-soft: #f9faf9;
  --bg-elevated: #fafafa;
  --bg-dark: #1a1a1a;
  --text: #1a1a1a;
  --text-muted: #5e6b5f;
  --text-light: #8a8a8a;
  --border: #e3e7e3;
  --border-light: #f0f2f0;

  /* Rayons */
  --radius: 10px;
  --radius-lg: 18px;

  /* Ombres cards — légères, tintées vert pour matcher la palette */
  --shadow-card:       0 1px 2px rgba(46, 125, 50, 0.04), 0 6px 18px rgba(46, 125, 50, 0.06);
  --shadow-card-hover: 0 2px 4px rgba(46, 125, 50, 0.06), 0 14px 32px rgba(46, 125, 50, 0.10);

  /* Layout */
  --container-max: 1140px;
  --section-pad-y: 4.5rem;
  --section-pad-x: 1.5rem;

  /* Typo (système, pas de Google Fonts → SEO friendly) */
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 105px; /* compense le header sticky pour les ancres */
}
html, body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* Offset par section (mobile/sticky différent) */
section[id], [id="contact-bas"], [id="estimate"] { scroll-margin-top: 105px; }
@media (max-width: 860px) {
  html { scroll-padding-top: 90px; }
  section[id], [id="contact-bas"], [id="estimate"] { scroll-margin-top: 90px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* Paragraphes : 16px desktop, 14px mobile */
p { font-size: 16px; line-height: 1.6; }
@media (max-width: 720px) {
  p { font-size: 14px; }
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--section-pad-x);
}

/* ═══ HEADER ═══ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 0.9rem 0;
}
.site-header .container { position: relative; }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.logo img {
  display: block;
  height: 64px;
  width: auto;
  max-width: 100%;
}
.nav {
  display: flex;
  gap: 1.8rem;
}
.nav a {
  font-size: 0.93rem;
  font-weight: 700;
  color: var(--text);
  transition: color 0.15s ease;
}
.nav a:hover { color: var(--color-accent); }

/* Hamburger — caché en desktop, visible < 860px */
.menu-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.menu-toggle:hover {
  border-color: var(--color-accent-light);
  background: var(--color-accent-soft);
}
.menu-toggle span {
  display: block;
  width: 1.2rem;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.menu-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Menu mobile — fermé par défaut, ouvert avec .is-open (et uniquement < 860px) */
.mobile-menu { display: none; }
@media (max-width: 860px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .mobile-menu.is-open {
    display: flex;
    flex-direction: column;
    background: white;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 0.4rem 1.5rem 1rem;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  }
  .mobile-menu a {
    padding: 0.85rem 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    border-bottom: 1px solid var(--border-light);
    transition: color 0.15s ease;
  }
  .mobile-menu a:last-child { border-bottom: none; }
  .mobile-menu a:hover { color: var(--color-accent); }
}

@media (max-width: 860px) {
  .logo img { height: 54px; }
}
@media (max-width: 480px) {
  .header-inner { gap: 0.5rem; }
  .logo img { height: 44px; }
  /* Très petit écran : on garde le numéro mais on réduit le padding */
  .btn-call { padding: 0.5rem 0.7rem; font-size: 0.78rem; }
}
@media (max-width: 360px) {
  /* Écran ultra-étroit : tel devient icône-only */
  .btn-call-text { display: none; }
}

/* ═══ BOUTONS ═══ */
.btn {
  display: inline-block;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  text-align: center;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
  text-decoration: none;
}
.btn-primary {
  background: var(--color-accent);
  color: white;
}
.btn-primary:hover {
  background: var(--color-accent-deep);
  transform: translateY(-1px);
}
.btn-call {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-accent);
  color: white;
  font-family: 'SF Mono', Menlo, Monaco, monospace;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: calc(0.6rem + 3px) 1.1rem;
}
.btn-call:hover {
  background: var(--color-accent-deep);
  color: white;
}
.btn-call-icon {
  flex-shrink: 0;
  color: white;
}
.btn-block { width: 100%; }

/* ═══ TYPO COMMUNE ═══ */
.eyebrow {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.6rem;
}
.eyebrow.center { text-align: center; }

.section-heading {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.18;
  margin-bottom: 0.7rem;
}
.section-heading.center { text-align: center; }

.section-sub {
  color: var(--text-muted);
  max-width: 70ch;
  margin: 0 auto 2.5rem;
  text-align: center;
}

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

/* ═══ HERO ═══ */
.hero {
  background: linear-gradient(180deg, var(--color-accent-soft) 0%, white 70%);
  padding: 3.5rem 0 4.5rem;
}
@media (min-width: 960px) {
  .hero { padding: 5.5rem 0 6.5rem; }
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
    align-items: start;
  }
}

.hero-content .eyebrow { margin-bottom: 1rem; }
.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 1.6rem;
}
.hero-city {
  color: var(--color-accent);
  white-space: nowrap;
}
.hero-lead {
  color: var(--text-muted);
  margin-bottom: 2.4rem;
  max-width: 540px;
}
.hero-lead strong {
  color: var(--text);
  font-weight: 600;
}

/* ─── Hero actions (CTA buttons) ─── */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 2rem;
}
@media (max-width: 480px) {
  .hero-actions { flex-wrap: nowrap; gap: 0.5rem; }
  .hero-actions .btn { flex: 1 1 0; padding: 0.7rem 0.6rem; font-size: 0.85rem; min-width: 0; }
}
.btn-outline {
  background: white;
  color: var(--color-accent-deep);
  border: 1.5px solid var(--color-accent);
  font-family: 'SF Mono', Menlo, Monaco, monospace;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}
.btn-outline:hover {
  background: var(--color-accent);
  color: white;
  transform: translateY(-1px);
}

/* ─── Hero visual (image à droite) ─── */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-figure {
  margin: 0;
  width: 100%;
  max-width: 540px;
  aspect-ratio: 800 / 633;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 20px 50px rgba(46, 125, 50, 0.12);
  background: var(--bg-elevated);
}
.hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ─── Cards avantages — stack vertical, icône à gauche du texte ─── */
.advantage-card {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  align-items: flex-start;
  background: white;
  border: 1px solid var(--border);
  padding: 1.2rem 1.3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: border-color 0.15s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.advantage-card:hover {
  border-color: var(--color-accent-light);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}
.advantage-icon {
  flex-shrink: 0;
  width: 2.6rem;
  height: 2.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-soft);
  color: var(--color-accent-deep);
  border-radius: var(--radius);
}
.advantage-body {
  flex: 1;
  min-width: 0;
}
.advantage-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  line-height: 1.3;
}
.advantage-card p {
  color: var(--text-muted);
  margin: 0;
}

/* ═══ SECTION ESTIMATE — avantages gauche + wizard droite ═══ */
.section-estimate {
  background: var(--bg-soft);
}
.estimate-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 960px) {
  .estimate-grid {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 3rem;
    align-items: center;
  }
}
.estimate-left .eyebrow { text-align: left; }
.estimate-left .section-heading {
  text-align: left;
  font-size: clamp(1.75rem, 3.2vw, 2.3rem);
  margin-bottom: 0.9rem;
}
.estimate-sub {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 0;
  line-height: 1.6;
  max-width: 540px;
}

/* Card "rappel sous 24-48 h" sous le titre */
.callback-card {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-top: 1.6rem;
  padding: 1rem 1.2rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  max-width: 480px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.callback-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}
.callback-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid var(--color-accent-light);
}
.callback-body {
  flex: 1;
  min-width: 0;
}
.callback-title {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.01em;
  margin-bottom: 0.25rem;
}
.callback-text {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}
.callback-text strong {
  color: var(--color-accent-deep);
  font-weight: 800;
}

/* 3 avantages sur une ligne, en dessous de la grille estimate */
.advantages-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 70px;
}
@media (max-width: 880px) {
  .advantages-row { grid-template-columns: 1fr; gap: 0.8rem; }
}

/* ═══ FORM WIZARD (3 étapes) ═══ */
.estimate-right {
  position: sticky;
  top: 80px;
}
@media (max-width: 960px) {
  .estimate-right { position: static; }
}
.form-wizard {
  background: white;
  padding: 1.8rem 1.7rem 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card-hover);
}

.form-progress {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.progress-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  background: white;
  color: var(--text-light);
  border: 1.5px solid var(--border);
  font-size: 0.82rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.progress-step.is-active {
  background: var(--color-accent);
  color: white;
  border-color: var(--color-accent);
}
.progress-step.is-done {
  background: var(--color-accent-soft);
  color: var(--color-accent-deep);
  border-color: var(--color-accent-light);
}
.progress-line {
  flex: 1;
  height: 2px;
  background: var(--border);
  border-radius: 1px;
}

.form-step { display: none; }
.form-step.is-active {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.step-question {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0;
  color: var(--text);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

/* Options radio sous forme de cards cliquables — adapte le nb de cols au contenu */
.radio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.7rem;
  margin: 0;
}
.radio-option {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  text-align: center;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
  user-select: none;
}
.radio-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.radio-option:hover {
  border-color: var(--color-accent-light);
  background: var(--bg-soft);
}
.radio-option:has(input:checked) {
  border-color: var(--color-accent);
  background: var(--color-accent-soft);
  color: var(--color-accent-deep);
}

.form-actions {
  display: flex;
  gap: 0.7rem;
  margin-top: 1.2rem;
}
.form-actions .btn { flex: 1; }
.form-actions .btn-block { width: 100%; }
@media (max-width: 480px) {
  .form-actions { gap: 0.4rem; }
  .form-actions .btn { font-size: 0.78rem; padding: 0.7rem 0.5rem; white-space: nowrap; min-width: 0; }
}

/* ═══ FORMULAIRES ═══ */
.contact-form { display: grid; gap: 0.85rem; }
.field { display: grid; gap: 0.3rem; }
.field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: inherit;
  background: white;
  color: var(--text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.12);
}
.field textarea {
  resize: vertical;
  min-height: 80px;
  font-family: inherit;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
@media (max-width: 420px) {
  .field-row { grid-template-columns: 1fr; }
}

/* 3 champs sur une ligne (adresse : rue / ville / CP) */
.field-row-3 {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.7fr;
  gap: 0.75rem;
}
@media (max-width: 520px) {
  .field-row-3 { grid-template-columns: 1fr; }
}
.form-trust {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.3rem;
}
.form-feedback {
  display: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.8rem 1rem;
  border-radius: var(--radius);
  text-align: center;
  margin-top: 0.5rem;
}
.form-feedback.is-visible { display: block; }
.form-feedback.is-success {
  background: var(--color-accent-soft);
  color: var(--color-accent-deep);
  border: 1px solid var(--color-accent-light);
}
.form-feedback.is-error {
  background: #fdecea;
  color: #b71c1c;
  border: 1px solid #f5c2bf;
}
.btn.is-success { background: var(--color-accent-deep); }
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ═══ PRESTATIONS ═══ */
.section-services {
  background: var(--bg);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.3rem;
}
.service-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: border-color 0.15s ease, transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  border-color: var(--color-accent-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}
.service-img {
  width: 100%;
  aspect-ratio: 800 / 536;
  object-fit: cover;
  display: block;
}
.service-body {
  padding: 1.4rem 1.4rem 1.6rem;
}
.service-card h3 {
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.service-card p {
  color: var(--text-muted);
}

/* ═══ AIDES À L'AUTOCONSOMMATION ═══ */
.section-aides {
  background: var(--color-accent-soft);
  padding: 4.5rem 0;
}
.aides-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 880px) {
  .aides-inner {
    grid-template-columns: 1fr 1.1fr;
    gap: 3rem;
    align-items: center;
  }
}

/* ─── Image prime autoconsommation (colonne gauche) ─── */
.aides-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.aides-figure {
  margin: 0;
  width: 100%;
  max-width: 500px;
  aspect-ratio: 800 / 623;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 16px 40px rgba(46, 125, 50, 0.1);
  background: var(--bg-elevated);
}
.aides-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.aides-content h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.015em;
}
.aides-content p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.aides-content p strong {
  color: var(--text);
}
.aides-amounts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
  margin-bottom: 1.5rem;
}
@media (max-width: 540px) {
  .aides-amounts { grid-template-columns: 1fr; }
}
.amount-block {
  background: linear-gradient(160deg, var(--color-accent-soft) 0%, white 75%);
  padding: 1.2rem 1.2rem 1.05rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.amount-block:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--color-accent-light);
}
.amount-block strong {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-accent-deep);
  letter-spacing: -0.02em;
  line-height: 1;
}
.amount-block span {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.3;
}

/* ═══ ÉTAPES ═══ */
.section-steps {
  background: var(--bg-soft);
}
.steps-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.2rem;
  list-style: none;
}
.step {
  display: flex;
  gap: 1.1rem;
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.4rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  align-items: flex-start;
  transition: border-color 0.15s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.step:hover {
  border-color: var(--color-accent-light);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}
.step-num {
  flex-shrink: 0;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--color-accent);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
}
.step-body h3 {
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  line-height: 1.3;
}
.step-body p {
  color: var(--text-muted);
}

/* ═══ PARTENAIRES ═══ */
.section-partners {
  background: var(--bg);
}
.partners-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 880px;
  margin: 0 auto;
}
@media (min-width: 720px) {
  .partners-grid { grid-template-columns: repeat(4, 1fr); }
}
/* Logos = images directes (sans wrapper), bordure + ombre appliquées sur <img> */
.partner-logo {
  display: block;
  width: 100%;
  height: 110px;
  object-fit: contain;
  padding: 1.3rem 1.1rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: border-color 0.15s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.partner-logo:hover {
  border-color: var(--color-accent-light);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

/* ═══ AVIS CLIENTS ═══ */
.section-reviews {
  background: var(--bg-soft);
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.3rem;
}
.review {
  position: relative;
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.7rem 1.7rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: border-color 0.15s ease, box-shadow 0.2s ease, transform 0.2s ease;
  overflow: hidden;
}
.review:hover {
  border-color: var(--color-accent-light);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

/* Grande guillemet ouvrante décorative, vert clair, en arrière-plan */
.review::before {
  content: "\201C";
  position: absolute;
  top: -1.2rem;
  right: 1rem;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 7rem;
  line-height: 1;
  font-weight: 700;
  color: var(--color-accent-light);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}
.review > * { position: relative; z-index: 1; }

/* 5 étoiles dorées en haut */
.review-stars {
  color: #a16207;
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  line-height: 1;
}

.review-text {
  color: var(--text);
  font-style: normal;
}

.review footer {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  padding-top: 0.5rem;
  border-top: 1px dashed var(--border);
}
.review-author {
  color: var(--text);
  font-weight: 800;
}
.review-context {
  color: var(--text-muted);
  font-weight: 400;
}

/* ═══ FAQ — tout ouvert, pas d'accordéon ═══ */
.section-faq {
  background: var(--bg);
}
.faq-list {
  display: grid;
  gap: 1.1rem;
  max-width: 880px;
  margin: 0 auto;
}
/* Espace sous le titre FAQ (pas de section-sub dans cette section) */
.section-faq .section-heading { margin-bottom: 2.5rem; }

/* FAQ accordéon — utilise <details>/<summary> natif (zéro JS) */
.faq-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.2s ease;
}
.faq-item:hover,
.faq-item[open] {
  border-color: var(--color-accent-light);
  box-shadow: var(--shadow-card-hover);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.3rem 1.7rem;
  cursor: pointer;
  user-select: none;
  list-style: none;
}
/* Masquage du marqueur natif (Safari + Chrome/FF) */
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ''; }
.faq-item summary h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
  color: var(--color-accent-deep);
  line-height: 1.35;
  flex: 1;
}
.faq-icon {
  flex-shrink: 0;
  width: 1.9rem;
  height: 1.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-accent-soft);
  color: var(--color-accent-deep);
  transition: transform 0.25s ease, background 0.2s ease, color 0.2s ease;
}
.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  background: var(--color-accent-light);
  color: white;
}
.faq-answer {
  padding: 0 1.7rem 1.4rem;
}
.faq-answer p {
  color: var(--text);
  margin-bottom: 0.5rem;
}
.faq-answer p:last-child { margin-bottom: 0; }
.faq-list-inner {
  list-style: disc inside;
  margin: 0.5rem 0 0.7rem;
  display: grid;
  gap: 0.25rem;
}
.faq-list-inner li {
  font-size: 0.93rem;
  color: var(--text);
  padding-left: 0.2rem;
}

/* ═══ COMMUNES PROCHES ═══ */
.section-communes {
  background: var(--bg-soft);
}
.communes-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.7rem;
  max-width: 900px;
  margin: 0 auto;
}
@media (max-width: 880px) {
  .communes-tiles { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 520px) {
  .communes-tiles { grid-template-columns: repeat(2, 1fr); }
}
.commune-tile {
  display: block;
  padding: 0.75rem 1rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  text-align: center;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  cursor: default;
}

/* ═══ FORM BAS ═══ */
.section-contact-bas {
  background: linear-gradient(135deg, var(--color-accent-soft) 0%, white 100%);
  padding: 4.5rem 0;
}
.contact-bas-inner { max-width: 780px; margin: 0 auto; }
.contact-form--centered {
  background: white;
  padding: 2.2rem 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card-hover);
}
/* Labels du form bas en gras et plus foncés */
.contact-form--centered .field label {
  font-weight: 700;
  color: var(--text);
  font-size: 0.86rem;
}

/* ═══ FOOTER ═══ */
.site-footer {
  background: var(--bg-dark);
  color: #c8ccc8;
  padding: 3.5rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.footer-grid--3 { grid-template-columns: 1.5fr 1fr 1fr; }
@media (max-width: 880px) {
  .footer-grid,
  .footer-grid--3 { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}
@media (max-width: 480px) {
  .footer-grid,
  .footer-grid--3 { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* Top 40 communes (footer site dep uniquement) */
.footer-communes {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem 0;
  margin-bottom: 1rem;
}
.footer-communes-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.2rem;
}
.footer-communes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-flow: column;
  grid-template-rows: repeat(10, auto);
  gap: 0.4rem 1rem;
}
@media (max-width: 1024px) {
  .footer-communes-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(20, auto); }
}
@media (max-width: 640px) {
  .footer-communes-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(20, auto); gap: 0.4rem 0.8rem; }
}
.footer-commune-link {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.85rem;
  padding: 0.15rem 0;
  transition: color 0.15s ease;
}
.footer-commune-link:hover { color: var(--color-accent-light); }
.footer-col h3 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: white;
  margin-bottom: 1rem;
}
.footer-col ul {
  display: grid;
  gap: 0.5rem;
}
.footer-col a {
  color: #dadeda;
  font-size: 0.9rem;
  transition: color 0.15s ease;
}
.footer-col a:hover { color: var(--color-accent-light); }
.footer-col p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #dadeda;
  margin-bottom: 0.4rem;
}
.footer-contact-line { margin-bottom: 0.45rem; }
.footer-logo {
  display: block;
  color: white;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  line-height: 1.3;
}
.footer-copy {
  border-top: 1px solid #2e3030;
  padding-top: 1.3rem;
  text-align: center;
  font-size: 0.8rem;
  color: #808480;
}

/* ═══ ACCESSIBILITÉ : prefers-reduced-motion ═══ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
