/* ============================================================
   RECHERCHE FUITE GIRONDE — Feuille de style principale
   Version 2.0 — CSS et HTML cohérents
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,400;0,500;0,600;1,400&family=Syne:wght@700;800&display=swap');

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --green-dark:   #0F2D6B;
  --green-mid:    #1A3E8F;
  --green:        #2563EB;
  --gold:         #E8A838;
  --gold-dark:    #C48A1A;
  --bg:           #F7F6F2;
  --bg-alt:       #EEECEA;
  --white:        #FFFFFF;
  --border:       #D8D4CC;
  --text:         #1A1A18;
  --muted:        #5C5B55;
  --text-inv:     #F7F6F2;
  --red:          #C0392B;

  --f-title: 'Syne', sans-serif;
  --f-body:  'DM Sans', sans-serif;

  --r-sm:   4px;
  --r-md:   8px;
  --r-lg:   16px;
  --r-pill: 999px;

  --sh-sm: 0 1px 4px rgba(13,59,46,.08);
  --sh-md: 0 4px 16px rgba(13,59,46,.11);
  --sh-lg: 0 8px 32px rgba(13,59,46,.13);

  --max-w: 1160px;
  --pad-x: clamp(1.25rem, 5vw, 2.5rem);
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--f-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ── Conteneur ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

/* ── Sections ──────────────────────────────────────────────── */
.section        { padding-block: 5rem; }
.section-alt    { padding-block: 5rem; background: var(--bg-alt); }
.section-dark   { padding-block: 5rem; background: var(--green-dark); color: var(--text-inv); }
.section-darkest{ padding-block: 0; background: #091F18; color: var(--text-inv); }

.section-eyebrow {
  display: block;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: .5rem;
}
.section-dark .section-eyebrow { color: var(--gold); }

.section-title {
  font-family: var(--f-title);
  font-weight: 700;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  line-height: 1.15;
  color: var(--green-dark);
  margin-bottom: 1rem;
}
.section-dark .section-title { color: var(--text-inv); }

.section-lead {
  font-size: 1.0625rem;
  color: var(--muted);
  max-width: 600px;
  margin-bottom: 3rem;
}
.section-dark .section-lead { color: rgba(247,246,242,.65); }

.section-header-center {
  text-align: center;
}
.section-header-center .section-lead {
  margin-inline: auto;
}

/* ── Grilles ───────────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill,minmax(175px,1fr)); gap: 1rem; }

/* ── Boutons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--f-body);
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: .02em;
  padding: .875rem 1.75rem;
  border-radius: var(--r-md);
  transition: background .15s, color .15s, border-color .15s, box-shadow .15s;
  white-space: nowrap;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
}
.btn-gold {
  background: var(--gold);
  color: var(--green-dark);
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); }

.btn-outline-light {
  background: transparent;
  color: rgba(247,246,242,.9);
  border-color: rgba(247,246,242,.35);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(247,246,242,.7);
}

.btn-outline-green {
  background: transparent;
  color: var(--green-dark);
  border-color: var(--green-dark);
}
.btn-outline-green:hover { background: var(--green-dark); color: var(--text-inv); }

.btn-green {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.btn-green:hover { background: var(--green-mid); border-color: var(--green-mid); }

.btn-full { width: 100%; }

/* ── Badge ─────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .35rem .9rem;
  border-radius: var(--r-pill);
}
.badge-gold {
  background: rgba(232,168,56,.15);
  color: var(--gold);
  border: 1px solid rgba(232,168,56,.4);
}
.badge-green {
  background: rgba(30,122,87,.12);
  color: var(--green);
  border: 1px solid rgba(30,122,87,.25);
}

/* ── Header ────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--green-dark);
  border-bottom: 1px solid rgba(255,255,255,.08);
  height: 68px;
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: 100%;
}

.logo {
  font-family: var(--f-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-inv);
  white-space: nowrap;
  letter-spacing: -.01em;
}
.logo strong {
  font-family: var(--f-title);
  font-weight: 800;
  color: var(--gold);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav a {
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .03em;
  color: rgba(247,246,242,.75);
  transition: color .15s;
}
.nav a:hover { color: var(--text-inv); }

/* Hamburger mobile */
.nav-toggle { display: none; }
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: .5rem;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-inv);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  background: var(--green-dark);
  background-image:
    linear-gradient(to right, rgba(15,9,31,.92) 0%, rgba(15,9,31,.70) 55%, rgba(15,9,31,.45) 100%),
    url('/assets/hero-gironde.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--text-inv);
  padding: 6rem 0 0;
}

.hero-content {
  max-width: 660px;
}

.hero h1 {
  font-family: var(--f-title);
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -.02em;
  color: var(--text-inv);
  margin: 1.25rem 0 1.5rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold);
}

.hero-lead {
  font-size: 1.125rem;
  color: rgba(247,246,242,.72);
  max-width: 540px;
  margin-bottom: 2.25rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 4rem;
  border-top: 1px solid rgba(255,255,255,.1);
}

.hero-stat {
  flex: 1;
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 1.5rem 1.5rem;
  border-right: 1px solid rgba(255,255,255,.08);
}

.hero-stat:last-child { border-right: none; }

.hero-stat-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  background: rgba(232,168,56,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-stat-icon img {
  width: 20px;
  height: 20px;
  filter: brightness(0) saturate(100%) invert(74%) sepia(60%) saturate(400%) hue-rotate(5deg);
}

.hero-stat-text strong {
  display: block;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--text-inv);
  line-height: 1.2;
}
.hero-stat-text span {
  font-size: .8rem;
  color: rgba(247,246,242,.5);
}

/* ── Trust bar ─────────────────────────────────────────────── */
.trust-bar {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  padding: .875rem 0;
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--muted);
}
.trust-item img {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  filter: brightness(0) saturate(100%) invert(24%) sepia(88%) saturate(1600%) hue-rotate(211deg) brightness(98%);
}

/* ── Sections image + texte ─────────────────────────────────── */
.img-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-lg);
}
.img-split-img {
  position: relative;
  min-height: 360px;
}
.img-split-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.img-split-content {
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  background: var(--white);
}
.img-split-content h2 { font-family: var(--f-title); font-size: 1.5rem; color: var(--green-dark); }
.img-split-content p  { font-size: .9375rem; }
.img-split-content .btn { align-self: flex-start; margin-top: .5rem; }

.img-split.reverse .img-split-img { order: 2; }
.img-split.reverse .img-split-content { order: 1; background: var(--bg-alt); }

.img-banner {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--r-lg);
  display: block;
}

@media (max-width: 768px) {
  .img-split { grid-template-columns: 1fr; }
  .img-split-img { min-height: 240px; position: relative; }
  .img-split.reverse .img-split-img { order: 0; }
  .img-split.reverse .img-split-content { order: 1; }
}

/* ── Cards services ─────────────────────────────────────────── */
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--sh-sm);
  transition: box-shadow .2s;
}
.service-card:hover { box-shadow: var(--sh-md); }

.service-card-icon {
  width: 52px;
  height: 52px;
  background: rgba(30,122,87,.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.service-card-icon img {
  width: 26px;
  height: 26px;
  filter: brightness(0) saturate(100%) invert(24%) sepia(88%) saturate(1600%) hue-rotate(211deg) brightness(98%);
}

.service-card h3 {
  font-family: var(--f-title);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1.2;
}

.service-card p { color: var(--muted); font-size: .9375rem; }

.service-card-list {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.service-card-list li {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  font-size: .9rem;
  color: var(--text);
}
.service-card-list li::before {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  background: url('/assets/icons/tick-circle.svg') center/contain no-repeat;
  filter: brightness(0) saturate(100%) invert(24%) sepia(88%) saturate(1600%) hue-rotate(211deg) brightness(98%);
  flex-shrink: 0;
  margin-top: 3px;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--green);
  margin-top: auto;
  padding-top: .5rem;
}
.service-card-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ── Cards arguments ────────────────────────────────────────── */
.arg-card {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  padding: 1.75rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}

.arg-card-icon {
  width: 48px;
  height: 48px;
  background: rgba(13,59,46,.07);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.arg-card-icon img {
  width: 22px;
  height: 22px;
  filter: brightness(0) saturate(100%) invert(14%) sepia(90%) saturate(1800%) hue-rotate(211deg) brightness(95%);
}

.arg-card h3 {
  font-family: var(--f-title);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1.2;
}
.arg-card p { font-size: .9rem; color: var(--muted); line-height: 1.6; }

/* ── Grille villes ─────────────────────────────────────────── */
.ville-card {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .85rem 1.1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  font-size: .875rem;
  font-weight: 500;
  color: var(--text);
  transition: background .15s, color .15s, border-color .15s;
  text-decoration: none;
}
.ville-card:hover {
  background: var(--green-dark);
  color: var(--text-inv);
  border-color: var(--green-dark);
}
.ville-card img {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  filter: brightness(0) saturate(100%) invert(24%) sepia(88%) saturate(1600%) hue-rotate(211deg) brightness(98%);
  transition: filter .15s;
}
.ville-card:hover img {
  filter: brightness(0) saturate(100%) invert(74%) sepia(60%) saturate(400%) hue-rotate(5deg);
}
.ville-card-cp {
  font-size: .75rem;
  color: var(--muted);
  margin-left: auto;
  transition: color .15s;
}
.ville-card:hover .ville-card-cp { color: rgba(247,246,242,.6); }

/* ── Témoignages ───────────────────────────────────────────── */
.temoignage-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}

.temoignage-stars {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 2px;
}

.temoignage-text {
  font-size: .9375rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.7;
  flex: 1;
}

.temoignage-author {
  font-size: .8125rem;
  font-weight: 600;
  color: var(--muted);
  padding-top: .75rem;
  border-top: 1px solid var(--border);
}

/* ── Cards guide ───────────────────────────────────────────── */
.guide-card {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  padding: 1.75rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  text-decoration: none;
  color: var(--text);
  transition: box-shadow .2s, border-color .2s;
}
.guide-card:hover {
  box-shadow: var(--sh-md);
  border-color: var(--green);
}
.guide-card-emoji { font-size: 2rem; line-height: 1; }
.guide-card-icon {
  width: 48px;
  height: 48px;
  background: rgba(30,122,87,.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.guide-card-icon img {
  width: 24px;
  height: 24px;
  filter: brightness(0) saturate(100%) invert(24%) sepia(88%) saturate(1600%) hue-rotate(211deg) brightness(98%);
}
.guide-card h3 {
  font-family: var(--f-title);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1.25;
}
.guide-card p { font-size: .9rem; color: var(--muted); line-height: 1.6; flex: 1; }
.guide-card-lire {
  font-size: .875rem;
  font-weight: 600;
  color: var(--green);
}

/* ── Section contact / formulaire ──────────────────────────── */
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group { display: flex; flex-direction: column; gap: .35rem; }

.form-label {
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: rgba(247,246,242,.65);
}

.form-input,
.form-select,
.form-textarea {
  font-family: var(--f-body);
  font-size: .9375rem;
  color: var(--text-inv);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--r-md);
  padding: .8rem 1rem;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
  width: 100%;
}
.form-input::placeholder,
.form-textarea::placeholder { color: rgba(247,246,242,.3); }
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(232,168,56,.2);
}
.form-select { appearance: none; cursor: pointer; }
.form-select option { background: var(--green-dark); color: var(--text-inv); }
.form-textarea { resize: vertical; min-height: 120px; }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.contact-check-list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-top: 1.5rem;
}
.contact-check {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .9375rem;
  color: rgba(247,246,242,.8);
}
.contact-check img {
  width: 18px;
  height: 18px;
  filter: brightness(0) saturate(100%) invert(74%) sepia(60%) saturate(400%) hue-rotate(5deg);
  flex-shrink: 0;
}

/* ── Footer ────────────────────────────────────────────────── */
.site-footer {
  background: #0f091f;
  color: var(--text-inv);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand .logo { font-size: 1.1rem; margin-bottom: .75rem; }
.footer-desc {
  font-size: .875rem;
  color: rgba(247,246,242,.5);
  line-height: 1.7;
  max-width: 240px;
  margin-top: .75rem;
}

.footer-col h4 {
  font-family: var(--f-title);
  font-size: .9rem;
  font-weight: 700;
  color: var(--text-inv);
  margin-bottom: 1rem;
  letter-spacing: .03em;
}
.footer-col ul { display: flex; flex-direction: column; gap: .5rem; }
.footer-col a {
  font-size: .875rem;
  color: rgba(247,246,242,.5);
  transition: color .15s;
}
.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  padding: 1.25rem 0;
  text-align: center;
  font-size: .8125rem;
  color: rgba(247,246,242,.3);
}

/* ── Hero mini (pages intérieures) ─────────────────────────── */
.hero-mini {
  background: var(--green-dark);
  color: var(--text-inv);
  padding: 3.5rem 0 3rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .8125rem;
  color: rgba(247,246,242,.5);
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.breadcrumb a { color: rgba(247,246,242,.5); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: rgba(247,246,242,.3); }

.hero-mini h1 {
  font-family: var(--f-title);
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.1;
  color: var(--text-inv);
  margin-bottom: .75rem;
}
.hero-mini .hero-mini-lead {
  font-size: 1.0625rem;
  color: rgba(247,246,242,.65);
  max-width: 560px;
}

/* ── Layout page ville ──────────────────────────────────────── */
.ville-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: start;
}

.ville-sidebar {
  position: sticky;
  top: 88px;
}

.ville-cta-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  box-shadow: var(--sh-md);
}

.ville-cta-card h3 {
  font-family: var(--f-title);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 1.25rem;
}

.ville-cta-form .form-label { color: var(--muted); }
.ville-cta-form .form-input,
.ville-cta-form .form-textarea {
  color: var(--text);
  background: var(--bg);
  border-color: var(--border);
}
.ville-cta-form .form-input::placeholder,
.ville-cta-form .form-textarea::placeholder { color: var(--muted); }
.ville-cta-form .form-input:focus,
.ville-cta-form .form-textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(30,122,87,.15);
}

/* ── Maillage villes ────────────────────────────────────────── */
.maillage-title {
  font-family: var(--f-title);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 1rem;
}

/* ── Guide / articles ───────────────────────────────────────── */
.article-body h2 {
  font-family: var(--f-title);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--green-dark);
  margin: 2rem 0 .75rem;
}
.article-body h3 {
  font-family: var(--f-title);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--green-dark);
  margin: 1.5rem 0 .5rem;
}
.article-body p { margin-bottom: 1.1rem; line-height: 1.75; }
.article-body ul {
  margin: .75rem 0 1.25rem 1.25rem;
  list-style: disc;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.article-body ul li { font-size: .9375rem; color: var(--text); }

.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: start;
}

.article-sidebar {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.aside-cta {
  background: var(--green-dark);
  color: var(--text-inv);
  border-radius: var(--r-lg);
  padding: 1.75rem;
}
.aside-cta h3 {
  font-family: var(--f-title);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: .75rem;
}
.aside-cta p { font-size: .9rem; color: rgba(247,246,242,.7); margin-bottom: 1.25rem; }

/* ── Utilitaires ────────────────────────────────────────────── */
.text-center { text-align: center; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }
.gap-1 { gap: .5rem; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .ville-layout { grid-template-columns: 1fr; }
  .ville-sidebar { position: static; }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
}

@media (max-width: 768px) {
  .section, .section-alt, .section-dark { padding-block: 3.5rem; }

  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; }
  .hero-stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); width: 100%; }
  .hero-stat:last-child { border-bottom: none; }
  .form-grid-2 { grid-template-columns: 1fr; }

  .nav { display: none; flex-direction: column; gap: 0; position: absolute; top: 68px; left: 0; right: 0; background: var(--green-dark); border-top: 1px solid rgba(255,255,255,.1); padding: 1rem 0; }
  .nav.open { display: flex; }
  .nav a { padding: .75rem var(--pad-x); width: 100%; }
  .nav .btn { margin: .75rem var(--pad-x); width: calc(100% - 2 * var(--pad-x)); }
  .burger { display: flex; }

  .hero { padding: 3.5rem 0 0; }
  .hero h1 { font-size: 2rem; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; text-align: center; }
}

@media (max-width: 480px) {
  .grid-auto { grid-template-columns: repeat(2,1fr); }
  .trust-bar-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .6rem .75rem;
  }
  .trust-item {
    align-items: flex-start;
    line-height: 1.3;
    gap: .45rem;
  }
  .trust-item img {
    width: 15px;
    height: 15px;
    margin-top: 2px;
  }
}

/* ── Layout page devis ──────────────────────────────────────── */
.devis-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 768px) {
  .devis-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .devis-form   { order: 1; }
  .devis-arguments { order: 2; }
}

/* ── Sticky CTA mobile ──────────────────────────────────────── */
.sticky-cta-mobile {
  display: none;
}
@media (max-width: 768px) {
  .sticky-cta-mobile {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    padding: .875rem 1.25rem;
    padding-bottom: calc(.875rem + env(safe-area-inset-bottom));
    background: var(--white);
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 16px rgba(0,0,0,.1);
  }
  .sticky-cta-mobile a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: .9rem 1.5rem;
    background: var(--gold);
    color: #000;
    font-family: var(--f-head);
    font-weight: 700;
    font-size: 1rem;
    border-radius: var(--r-md);
    text-decoration: none;
    letter-spacing: .01em;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }
  .sticky-cta-mobile a:active {
    opacity: .85;
  }
  /* Espace en bas pour éviter que le contenu soit caché derrière le sticky */
  body { padding-bottom: 80px; }
}

/* ── Print ──────────────────────────────────────────────────── */
@media print {
  .site-header, .site-footer, .hero-actions, .btn, .sticky-cta-mobile { display: none; }
  body { color: #000; background: #fff; }
}
