/* =============================================
   DSI 33 — styles.css
   Palette: vert forêt + sable, accent terracotta
   ============================================= */

:root {
  --dark: #1e4630;
  --dark-2: #12241a;
  --mid: #4b6b59;
  --light: #6fa080;
  --cream: #f4f7f5;
  --cream-2: #e1e6e3;
  --sage: #ccd9d1;
  --accent: #c97b4a;
  --accent-dark: #a8623a;
  --accent-light: #e0a173;
  --white: #ffffff;

  --font: 'Schibsted Grotesk', 'DM Sans', Arial, Helvetica, sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 12px 32px rgba(18, 36, 26, 0.12);
  --container: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--dark-2);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 12px;
}

h1, h2, h3, h4 {
  margin: 0 0 16px;
  color: var(--dark);
  font-weight: 700;
  line-height: 1.15;
}

h1 { font-size: clamp(34px, 5vw, 54px); }
h2 { font-size: clamp(26px, 3.4vw, 38px); }
h3 { font-size: 21px; }

p { margin: 0 0 16px; color: var(--mid); }

.lede {
  font-size: 18px;
  max-width: 46ch;
}

.section { padding: 88px 0; }
.section--tight { padding: 64px 0; }

/* Accueil : blocs plus resserrés, moins de vide entre les sections */
body.home .section { padding: 56px 0; }
body.home .section--tight { padding: 44px 0; }
body.home .hero { padding: 64px 0 60px; }
body.home .section-head { margin-bottom: 32px; }

/* Qui sommes-nous : même resserrement (page hero + histoire + valeurs + zone + CTA) */
body.apropos .section { padding: 56px 0; }
body.apropos .section--tight { padding: 44px 0; }
body.apropos .service-detail { padding: 64px 0; }

/* Contact : idem, la page était déjà assez compacte mais on harmonise */
body.contact-page .section--tight { padding: 44px 0; }

.section-head {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head p { margin: 0 auto; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

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

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

.btn-light {
  background: var(--cream);
  color: var(--dark);
}
.btn-light:hover { background: var(--white); }

/* =============== Header =============== */
/* Le flou est posé sur un ::before (et non sur .site-header directement) :
   backdrop-filter sur un ancêtre transforme celui-ci en repère de position
   pour ses enfants "position: fixed" (dont le menu mobile), ce qui cassait
   le menu burger (il se calait sur les 84px du header au lieu de l'écran). */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--cream-2);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(244, 247, 245, 0.92);
  backdrop-filter: blur(8px);
  z-index: -1;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 84px;
}

.logo img { height: 58px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.main-nav a {
  font-weight: 600;
  font-size: 15px;
  color: var(--dark);
  position: relative;
  padding: 4px 0;
}
.main-nav a:hover { color: var(--accent); }

.nav-cta-mobile { display: none; }

.header-actions { display: flex; align-items: center; gap: 20px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--dark);
  display: block;
}

/* =============== Hero =============== */
.hero {
  padding: 72px 0 96px;
  background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
}
.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-actions { display: flex; gap: 16px; margin-top: 28px; flex-wrap: wrap; }

.hero-trust {
  margin: 24px 0 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--mid);
}
.hero-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3.6; }

/* =============== Services =============== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--cream-2);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }

.service-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.service-card-body { padding: 26px; }

.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--dark);
  background: var(--sage);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.service-card p { margin: 0; font-size: 15px; }

/* =============== Services (aperçu accueil) =============== */
.services-mini-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.service-mini {
  display: block;
  background: var(--white);
  border: 1px solid var(--cream-2);
  border-radius: var(--radius);
  padding: 20px 18px;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.service-mini:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
  border-color: var(--sage);
}
.service-mini h3 { font-size: 16px; margin-bottom: 8px; line-height: 1.3; }
.service-mini p { margin: 0; font-size: 13.5px; }

/* =============== Pourquoi choisir DSI33 =============== */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.why-item {
  background: var(--white);
  border: 1px solid var(--cream-2);
  border-radius: var(--radius-sm);
  padding: 18px 20px 18px 44px;
  position: relative;
  font-weight: 600;
  color: var(--dark);
  font-size: 15px;
}
.why-item::before {
  content: "✓";
  position: absolute;
  left: 18px;
  top: 18px;
  color: var(--accent-dark);
  font-weight: 700;
}

/* =============== Avis clients =============== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--white);
  border: 1px solid var(--cream-2);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.review-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }

.review-stars {
  color: var(--accent-dark);
  letter-spacing: 2px;
  margin-bottom: 12px;
  font-size: 15px;
}

.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 14px auto 0;
  padding: 8px 18px;
  background: var(--cream);
  border: 1px solid var(--cream-2);
  border-radius: 999px;
}
.rating-badge__stars { color: var(--accent-dark); letter-spacing: 1px; font-size: 15px; }
.rating-badge__value { font-weight: 700; font-size: 14px; color: var(--dark); }

.review-quote {
  font-size: 14.5px;
  color: var(--mid);
  flex-grow: 1;
  margin-bottom: 18px;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.review-author img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.review-author span {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.4;
}
.review-author small {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--mid);
}

/* =============== Philosophy (dark) =============== */
.philosophy {
  background: var(--dark);
  color: var(--cream);
  text-align: center;
}
.philosophy .eyebrow { color: var(--accent-light); }
.philosophy h2 { color: var(--cream); max-width: 820px; margin: 0 auto 20px; }
.philosophy p { color: var(--sage); max-width: 620px; margin: 0 auto; font-size: 17px; }

/* =============== Stats =============== */
.stats {
  background: var(--cream);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-number {
  font-size: clamp(38px, 5vw, 56px);
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 6px;
}
.stat-label {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--dark);
}

/* =============== Contact =============== */
.contact .container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.contact-info {
  background: var(--dark);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 40px;
}
.contact-info h3 { color: var(--cream); }
.contact-info p { color: var(--sage); }

.contact-detail {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  font-size: 15px;
  color: var(--cream);
}
.contact-detail strong { display: block; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--light); margin-bottom: 2px; }
.contact-detail a { color: var(--cream); text-decoration: underline; text-decoration-color: var(--light); }

.contact-form {
  display: grid;
  gap: 16px;
  background: var(--cream);
  padding: 36px;
  border-radius: var(--radius);
  border: 1px solid var(--cream-2);
}
.contact-form label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 6px;
  display: block;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--cream-2);
  font-family: var(--font);
  font-size: 15px;
  background: var(--white);
  color: var(--dark-2);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* =============== Footer =============== */
.site-footer {
  background: var(--dark-2);
  color: var(--sage);
  padding: 56px 0 28px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 40px;
}
.footer-nav { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-nav a { color: var(--sage); font-size: 14px; font-weight: 600; }
.footer-nav a:hover { color: var(--light); }
.footer-logo img { height: 36px; }

.footer-social { display: flex; gap: 12px; }
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(244, 247, 245, 0.08);
  color: var(--sage);
  transition: background 0.15s ease, color 0.15s ease;
}
.footer-social a:hover { background: var(--accent-dark); color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(244, 247, 245, 0.12);
  padding-top: 22px;
  font-size: 13px;
  color: rgba(244, 247, 245, 0.55);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* =============== Nav active state =============== */
.main-nav a[aria-current="page"] { color: var(--accent-dark); }

/* =============== Page hero (sous-pages) =============== */
.page-hero {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: center;
  padding: 60px 0;
  background-size: cover;
  background-position: center;
  color: var(--cream);
  text-align: center;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18,36,26,0.82), rgba(18,36,26,0.72));
}
.page-hero .container { position: relative; z-index: 1; max-width: 720px; width: 100%; }
.page-hero .eyebrow { color: var(--accent-light); }
.page-hero h1 { color: var(--cream); margin-bottom: 14px; }
.page-hero p { color: var(--sage); font-size: 17px; margin: 0; }

/* =============== Call button =============== */
.btn-call {
  background: var(--white);
  color: var(--dark);
  border-color: var(--white);
}
.btn-call:hover { background: transparent; color: var(--white); border-color: var(--white); }

/* =============== Service detail blocks =============== */
.service-detail {
  padding: 88px 0;
}

.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section-divider::before,
.section-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  max-width: 120px;
  background: var(--cream-2);
}
.section-divider span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.service-detail__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: start;
}
.service-detail.reverse .service-detail__grid { direction: rtl; }
.service-detail.reverse .service-detail__grid > * { direction: ltr; }

.service-detail__image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.service-detail__image img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3.3; }

.dual-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 32px 0 24px;
  padding-top: 30px;
  position: relative;
}
.dual-list::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--light) 0%, var(--accent) 100%);
}
.dual-list h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 10px;
}
.dual-list ul { margin: 0; padding: 0; list-style: none; }
.dual-list li {
  font-size: 14.5px;
  color: var(--mid);
  padding-left: 18px;
  position: relative;
  margin-bottom: 8px;
}
.dual-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--light);
}

.process-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 56px 0 24px;
}
.process-steps span {
  background: var(--sage);
  color: var(--dark);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
}

.faq-list { margin-top: 20px; }
.faq-list details {
  border-bottom: 1px solid var(--cream-2);
  padding: 14px 0;
}
.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--dark);
  font-size: 15px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: var(--accent-dark);
  flex-shrink: 0;
}
.faq-list details[open] summary::after { content: "–"; }
.faq-list p { margin: 10px 0 0; font-size: 14.5px; }

/* =============== Zone d'intervention (communes) =============== */
.commune-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: 760px;
  margin: 24px auto 0;
}
.commune-tags span {
  background: var(--white);
  border: 1px solid var(--cream-2);
  color: var(--dark);
  font-size: 13.5px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
}

/* =============== Contact page =============== */
.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--cream-2);
}
.map-frame iframe { width: 100%; height: 380px; border: 0; display: block; }

.contact-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.section-divider--long::before,
.section-divider--long::after {
  max-width: 220px;
}
.contact-method {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  border-top: 4px solid var(--sage);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.contact-method:hover { box-shadow: var(--shadow); transform: translateY(-4px); }

.contact-method__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--white);
  background: var(--mid);
}
.contact-method__icon svg { width: 24px; height: 24px; }

.contact-method--phone { border-top-color: var(--accent); }
.contact-method--phone .contact-method__icon { background: var(--accent-dark); }

.contact-method--email { border-top-color: var(--dark); }
.contact-method--email .contact-method__icon { background: var(--dark); }

.contact-method--hours { border-top-color: var(--light); }
.contact-method--hours .contact-method__icon { background: var(--light); }

.contact-method .eyebrow { margin-bottom: 6px; }
.contact-method a, .contact-method p { margin: 0; font-weight: 700; color: var(--dark); font-size: 16px; }
.contact-method a:hover { color: var(--accent-dark); }

/* =============== Bannière cookies =============== */
.cookie-banner {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  background: var(--dark-2);
  color: var(--cream);
  padding: 20px 24px;
  align-items: center;
  justify-content: center;
  gap: 24px;
  box-shadow: 0 -8px 24px rgba(0,0,0,0.18);
}
.cookie-banner.is-visible { display: flex; }
.cookie-banner__text {
  flex: 1;
  min-width: 220px;
  max-width: 760px;
  font-size: 13.5px;
  color: var(--sage);
}
.cookie-banner__text a { color: var(--cream); text-decoration: underline; text-decoration-color: var(--light); }
.cookie-banner__actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-banner__actions .btn { padding: 10px 18px; font-size: 14px; }

/* =============== Carte Google Maps (clic pour charger) =============== */
.map-placeholder {
  aspect-ratio: 16/7;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream-2);
}
.map-placeholder__btn {
  background: var(--white);
  border: 1.5px solid var(--sage);
  border-radius: var(--radius);
  padding: 18px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-family: var(--font);
}
.map-placeholder__btn span { font-weight: 700; color: var(--dark); font-size: 15px; }
.map-placeholder__btn small { color: var(--mid); font-size: 12.5px; }
.map-placeholder__btn:hover { border-color: var(--accent); }

/* =============== Pages légales =============== */
.legal-content {
  max-width: 760px;
  margin: 0 auto;
}
.legal-content h2 { margin-top: 40px; font-size: 22px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--mid); font-size: 15px; }
.legal-content ul { padding-left: 20px; }
.legal-content mark {
  background: var(--sage);
  color: var(--dark);
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 600;
}
.footer-legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.footer-legal .footer-legal-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal a { color: rgba(244, 247, 245, 0.55); font-size: 12.5px; }
.footer-legal a:hover { color: var(--light); }
.footer-siret { color: rgba(244, 247, 245, 0.4); font-size: 12.5px; }

/* =============== Responsive =============== */
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-image { order: -1; }
  .reviews-grid { grid-template-columns: 1fr 1fr; }
  .contact .container { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .service-detail__grid { grid-template-columns: 1fr; }
  .service-detail.reverse .service-detail__grid { direction: ltr; }
  .service-detail__media { order: -1; }
  .process-steps { margin-top: 24px; }
  .contact-methods { grid-template-columns: 1fr; }
  .services-mini-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
}

@media (max-width: 760px) {
  .services-grid { grid-template-columns: 1fr; }
  .services-mini-grid { grid-template-columns: 1fr; }
  .dual-list { grid-template-columns: 1fr; gap: 12px; }
  .why-grid { grid-template-columns: 1fr; }
  .page-hero { min-height: 280px; padding: 48px 0; }
}

@media (max-width: 720px) {
  .main-nav {
    position: fixed;
    top: 84px;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(72%, 300px);
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 24px;
    gap: 22px;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    box-shadow: -12px 0 32px rgba(18, 36, 26, 0.18);
  }
  .nav-toggle { display: flex; }
  #nav-check:checked ~ .main-nav { transform: translateX(0); }
  .header-actions .btn-primary { display: none; }
  .nav-cta-mobile {
    display: inline-flex;
    width: 100%;
    margin-top: 10px;
    font-size: 14px;
    padding: 13px 16px;
    white-space: normal;
    text-align: center;
  }

  .reviews-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .footer-legal { flex-direction: column; align-items: flex-start; }
  .section { padding: 64px 0; }
}

/* Petits smartphones : les boutons à texte long (numéro de téléphone inclus)
   passent sur deux lignes proprement plutôt que de déborder du cadre. */
@media (max-width: 600px) {
  .btn {
    white-space: normal;
    text-align: center;
    line-height: 1.3;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn { width: 100%; }
  .map-frame iframe { height: 280px; }
  .commune-tags span { font-size: 12.5px; padding: 6px 12px; }
  .stat-number { font-size: 34px; }
  .service-mini { padding: 18px 16px; }
  .cookie-banner { flex-direction: column; align-items: stretch; text-align: center; }
  .cookie-banner__actions { justify-content: center; }
}
