/* ==========================================================================
   Location Benne 44 — feuille de style principale
   ========================================================================== */

:root {
  /* Couleurs */
  --color-dark: #10202f;
  --color-dark-2: #16293b;
  --color-dark-3: #1e3247;
  --color-accent: #f07f13;
  --color-accent-dark: #ce6a0a;
  --color-accent-light: #ffb547;
  --color-gold: #ffb703;
  --color-light: #f8f6f2;
  --color-white: #ffffff;
  --color-text: #1f2a33;
  --color-text-muted: #52626e;
  --color-text-invert: #eef2f5;
  --color-text-invert-muted: #a9b8c4;
  --color-border: #e3ddd2;
  --color-success-bg: #eaf7ee;
  --color-success-text: #1e7a3d;
  --color-error-bg: #fdecec;
  --color-error-text: #b3261e;

  /* Typo */
  --font-heading: "Poppins", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;

  /* Layout */
  --container-width: 1180px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --shadow-soft: 0 10px 30px rgba(16, 32, 47, 0.08);
  --shadow-strong: 0 20px 50px rgba(16, 32, 47, 0.18);
  --header-height: 84px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-light);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-dark);
  line-height: 1.2;
  margin: 0 0 0.6em;
  font-weight: 700;
}

p {
  margin: 0 0 1em;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* Accessibilité clavier */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-accent);
  color: #fff;
  padding: 12px 20px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
  font-weight: 600;
}
.skip-link:focus {
  left: 0;
}

/* ---------- Layout utils ---------- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 88px 0;
}

.section-light { background: var(--color-light); }
.section-white { background: var(--color-white); }
.section-dark {
  background: linear-gradient(180deg, var(--color-dark) 0%, var(--color-dark-2) 100%);
  color: var(--color-text-invert);
}
.section-dark h2,
.section-dark h3,
.section-dark h4 { color: #fff; }
.section-dark p { color: var(--color-text-invert-muted); }

.section-head {
  max-width: 680px;
  margin: 0 auto 52px;
  text-align: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent-dark);
  background: rgba(240, 127, 19, 0.1);
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 18px;
}
.section-dark .kicker {
  color: var(--color-accent-light);
  background: rgba(255, 181, 71, 0.14);
}

.section-head h2 {
  font-size: clamp(28px, 3.6vw, 40px);
}

.section-head p {
  color: var(--color-text-muted);
  font-size: 18px;
}

.section-dark .section-head p {
  color: var(--color-text-invert-muted);
}

.center { text-align: center; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 100px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  text-align: center;
  max-width: 100%;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 10px 24px rgba(240, 127, 19, 0.35);
}
.btn-primary:hover { background: var(--color-accent-dark); }

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
.btn-outline:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }

.btn-outline-dark {
  background: transparent;
  border-color: var(--color-dark);
  color: var(--color-dark);
}
.btn-outline-dark:hover { background: var(--color-dark); color: #fff; }

.btn-block { width: 100%; }

.btn-lg { padding: 18px 34px; font-size: 17px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 500;
  background: rgba(16, 32, 47, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.2s ease;
}

.site-header .container {
  height: 100%;
  max-width: 1340px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-mark {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.logo-text strong {
  font-family: var(--font-heading);
  font-size: 18px;
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}
.logo-text span {
  font-size: 11.5px;
  color: var(--color-text-invert-muted);
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.main-nav ul {
  display: flex;
  gap: 15px;
  flex-shrink: 0;
}
.main-nav a {
  display: inline-block;
  color: var(--color-text-invert);
  font-weight: 500;
  font-size: 13.8px;
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.2s ease;
}
.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

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

.header-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-weight: 600;
  font-size: 13.8px;
  white-space: nowrap;
}
.header-phone svg { flex-shrink: 0; color: var(--color-accent-light); }

.main-nav .header-actions .btn {
  padding: 11px 20px;
  font-size: 13.8px;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle span::before { position: absolute; top: -8px; }
.nav-toggle span::after { position: absolute; top: 8px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: rotate(45deg); top: 0; }
.nav-toggle[aria-expanded="true"] span::after { transform: rotate(-45deg); top: 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--color-dark) 0%, #14293b 55%, var(--color-dark-2) 100%);
  color: #fff;
  padding: calc(var(--header-height) + 64px) 0 90px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 85% 15%, rgba(240, 127, 19, 0.22), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(255, 183, 7, 0.12), transparent 40%);
  pointer-events: none;
}
.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero .container > * { min-width: 0; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-accent-light);
  margin-bottom: 24px;
}

.hero h1 {
  color: #fff;
  font-size: clamp(34px, 4.4vw, 52px);
  margin-bottom: 22px;
}
.hero h1 .accent { color: var(--color-accent-light); }

.hero-lead {
  font-size: 19px;
  color: var(--color-text-invert-muted);
  max-width: 540px;
  margin-bottom: 34px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 44px;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 14px 28px;
}
.hero-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-invert);
}
.hero-features svg {
  flex-shrink: 0;
  color: var(--color-accent-light);
}

.hero-media {
  position: relative;
}
.hero-media .frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  border: 6px solid rgba(255, 255, 255, 0.08);
}
.hero-media img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}
.hero-media .float-card {
  position: absolute;
  bottom: -24px;
  left: -24px;
  background: #fff;
  color: var(--color-dark);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  box-shadow: var(--shadow-strong);
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 260px;
}
.hero-media .float-card .icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(240, 127, 19, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  flex-shrink: 0;
}
.hero-media .float-card strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 15px;
}
.hero-media .float-card span {
  font-size: 13px;
  color: var(--color-text-muted);
}

/* ---------- Cards: bennes / services ---------- */
.benne-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.benne-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
}
.benne-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
  border-color: transparent;
}

.benne-card .badge {
  position: absolute;
  top: 24px;
  right: 24px;
  background: var(--color-gold);
  color: var(--color-dark);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.benne-card .volume {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  color: var(--color-accent-dark);
  margin-bottom: 14px;
}

.benne-card .icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(240, 127, 19, 0.1);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.benne-card h3 {
  font-size: 21px;
  margin-bottom: 10px;
}

.benne-card p {
  color: var(--color-text-muted);
  font-size: 15.5px;
  flex-grow: 1;
}

.benne-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--color-dark);
  margin-top: 18px;
  font-size: 15px;
}
.benne-card .card-link svg { transition: transform 0.2s ease; }
.benne-card:hover .card-link svg { transform: translateX(4px); }

/* ---------- Guide des tailles ---------- */
.size-guide .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.size-guide .container > * { min-width: 0; }
.schema-frame {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}
.schema-frame img {
  width: 100%;
  min-width: 0;
  height: auto;
  display: block;
}
.size-guide-media .caption {
  margin-top: 16px;
  font-size: 14px;
  color: var(--color-text-muted);
  text-align: center;
}
.size-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 32px 0;
}
.size-row {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 18px;
  border-radius: var(--radius-md);
  background: var(--color-white);
  border: 1px solid var(--color-border);
}
.size-row .tag {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: var(--color-dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  text-align: center;
  line-height: 1.1;
}
.size-row h4 { margin-bottom: 4px; font-size: 17px; }
.size-row p { margin: 0; color: var(--color-text-muted); font-size: 15px; }

/* ---------- Déchets acceptés ---------- */
.waste-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.waste-card {
  background: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.waste-card .badge {
  position: absolute;
  top: 24px;
  right: 24px;
  background: var(--color-gold);
  color: var(--color-dark);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.waste-card .volume {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  color: var(--color-accent-dark);
  margin-bottom: 14px;
}
.waste-card .icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(240, 127, 19, 0.1);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.waste-card h3 {
  font-size: 21px;
  margin-bottom: 16px;
}
.waste-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
  flex-grow: 1;
}
.waste-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--color-text-muted);
}
.waste-list li::before {
  content: "";
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-success-bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e7a3d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px 11px;
}
.waste-note {
  text-align: center;
  margin: 40px 0 0;
  color: var(--color-text-muted);
  font-size: 15px;
}
.waste-note a { color: var(--color-accent-dark); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.faq-item {
  padding: 26px 0;
  border-bottom: 1px solid var(--color-border);
}
.faq-item:last-child { border-bottom: none; }
.faq-item h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--color-dark);
}
.faq-item p {
  color: var(--color-text-muted);
  font-size: 15.5px;
  margin: 0;
}
.faq-item p a { color: var(--color-accent-dark); font-weight: 600; }

/* ---------- Étapes ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  counter-reset: step;
}
.step-card {
  position: relative;
  padding: 30px 24px 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
}
.step-card .step-num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.step-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}
.step-card p {
  font-size: 15px;
  margin: 0;
}
.steps-grid .step-card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50px;
  right: -20px;
  width: 20px;
  height: 2px;
  background: rgba(255, 255, 255, 0.15);
  display: none;
}
@media (min-width: 961px) {
  .steps-grid .step-card:not(:last-child)::after { display: block; }
}

/* ---------- À propos ---------- */
.about .container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.about .container > * { min-width: 0; }
.about-media {
  position: relative;
}
.about-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  height: 480px;
  object-fit: cover;
  width: 100%;
}
.about-media .stat-chip {
  position: absolute;
  bottom: -22px;
  right: -22px;
  background: var(--color-accent);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: var(--shadow-strong);
  text-align: center;
}
.about-media .stat-chip strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 26px;
}
.about-media .stat-chip span {
  font-size: 13px;
  opacity: 0.9;
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 28px 0 32px;
}
.about-values li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.about-values .icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(240, 127, 19, 0.1);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.about-values strong { display: block; font-size: 16px; margin-bottom: 2px; }
.about-values span { color: var(--color-text-muted); font-size: 15px; }

/* ---------- Zone d'intervention ---------- */
.zones .container {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}
.zones .container > * { min-width: 0; }
.zones-intro p { font-size: 17px; }
.zones-note {
  margin-top: 28px;
  padding: 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 15px;
}
.zones-note a { color: var(--color-accent-light); font-weight: 600; }

.commune-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 20px;
}
.commune-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15.5px;
  color: var(--color-text-invert);
  padding: 10px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.commune-list svg { color: var(--color-accent-light); flex-shrink: 0; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}
.contact-grid > * { min-width: 0; }

.contact-info-card {
  background: var(--color-dark);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 34px;
}
.contact-info-card h3 {
  color: #fff;
  font-size: 22px;
}
.contact-info-card > p {
  color: var(--color-text-invert-muted);
  margin-bottom: 30px;
}
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-info-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-info-list .icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(240, 127, 19, 0.16);
  color: var(--color-accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-list strong { display: block; font-size: 16px; margin-bottom: 3px; }
.contact-info-list a,
.contact-info-list span { color: var(--color-text-invert-muted); font-size: 15px; }
.contact-info-list a.phone-link {
  color: #fff;
  font-weight: 700;
  font-size: 19px;
}
.contact-info-card .divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  margin: 30px 0;
}

.contact-form-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-soft);
}
.contact-form-card h3 { font-size: 22px; }
.contact-form-card > p { color: var(--color-text-muted); margin-bottom: 28px; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-grid .full { grid-column: 1 / -1; }

.field label {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-dark);
}
.field .required { color: var(--color-accent-dark); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 15.5px;
  color: var(--color-text);
  background: var(--color-light);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--color-accent);
  background: #fff;
}
.field textarea { resize: vertical; min-height: 120px; }

.field-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--color-text-muted);
}
.field-checkbox input { width: 18px; height: 18px; margin-top: 3px; flex-shrink: 0; }
.field-checkbox a { color: var(--color-accent-dark); font-weight: 600; }

.form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 26px;
  flex-wrap: wrap;
}
.form-note { font-size: 13px; color: var(--color-text-muted); }

.form-success {
  display: none;
  align-items: flex-start;
  gap: 14px;
  background: var(--color-success-bg);
  color: var(--color-success-text);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  margin-top: 20px;
  font-size: 15px;
}
.form-success.visible { display: flex; }
.form-success strong { display: block; margin-bottom: 4px; }

.form-error {
  display: none;
  align-items: flex-start;
  gap: 14px;
  background: var(--color-error-bg);
  color: var(--color-error-text);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  margin-top: 20px;
  font-size: 15px;
}
.form-error.visible { display: flex; }
.form-error strong { display: block; margin-bottom: 4px; }
.form-error a { color: var(--color-error-text); text-decoration: underline; font-weight: 600; }

.hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #0b1721;
  color: var(--color-text-invert-muted);
  padding: 72px 0 0;
  font-size: 15px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.9fr 1.1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-brand .logo { margin-bottom: 18px; }
.footer-brand p { max-width: 320px; }
.footer-col h4 {
  color: #fff;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a:hover { color: #fff; }
.footer-col .contact-line {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.footer-col .contact-line svg { flex-shrink: 0; margin-top: 3px; color: var(--color-accent-light); }

.footer-legal-strip {
  padding: 22px 0;
  font-size: 13.5px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: #6d7f8d;
}
.footer-legal-strip .links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal-strip a:hover { color: #fff; }

/* ---------- Bouton flottant retour en haut ---------- */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: var(--shadow-strong);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
  z-index: 400;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--color-accent); }

/* ---------- Bouton flottant tel (mobile) ---------- */
.mobile-call-bar {
  display: none;
}

/* ---------- Animations scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover { transform: none; }
}

/* ---------- Pages légales ---------- */
.legal-page {
  padding-top: calc(var(--header-height) + 60px);
}
.legal-hero {
  background: var(--color-dark);
  color: #fff;
  padding: 60px 0;
}
.legal-hero h1 { color: #fff; margin: 0; }
.legal-content {
  padding: 60px 0 100px;
  max-width: 820px;
  margin: 0 auto;
}
.legal-content h2 {
  font-size: 22px;
  margin-top: 44px;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--color-text-muted); font-size: 16px; }
.legal-content ul { list-style: disc; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.legal-content a { color: var(--color-accent-dark); font-weight: 600; }
.legal-content strong { color: var(--color-text); }
.table-scroll {
  width: 100%;
  overflow-x: auto;
  margin: 20px 0;
  -webkit-overflow-scrolling: touch;
}
.legal-table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  margin: 0;
}
.legal-table th, .legal-table td {
  text-align: left;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  font-size: 15px;
  color: var(--color-text-muted);
}
.legal-table th { background: var(--color-white); color: var(--color-text); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .benne-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .waste-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1260px) {
  :root { --header-height: 72px; }

  .main-nav { display: none; }
  .header-phone { display: none; }
  .nav-toggle { display: flex; }

  .site-header.nav-open .main-nav {
    display: block;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
    background: var(--color-dark);
    padding: 12px 24px 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .site-header.nav-open .main-nav ul {
    flex-direction: column;
    gap: 4px;
  }
  .site-header.nav-open .main-nav a {
    display: block;
    padding: 14px 6px;
    font-size: 17px;
    white-space: normal;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .site-header.nav-open .header-actions .btn {
    margin: 14px 6px 0;
  }
  .site-header.nav-open .header-actions {
    display: block;
  }

}

@media (max-width: 960px) {
  .mobile-call-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 450;
    background: var(--color-accent);
    color: #fff;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    padding-bottom: calc(15px + env(safe-area-inset-bottom));
    font-weight: 700;
    font-family: var(--font-heading);
    box-shadow: 0 -6px 20px rgba(0,0,0,0.15);
  }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .back-to-top { bottom: 88px; }

  .hero .container { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .hero-media img { height: 320px; }
  .hero-features { grid-template-columns: 1fr 1fr; }
  .hero { padding: calc(var(--header-height) + 32px) 0 56px; }

  .size-guide .container { grid-template-columns: 1fr; }
  .size-guide-media { order: -1; }
  .schema-frame { padding: 20px; }

  .about .container { grid-template-columns: 1fr; }
  .about-media img { height: 340px; }

  .zones .container { grid-template-columns: 1fr; }
  .commune-list { grid-template-columns: repeat(2, 1fr); }

  .contact-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; }

  section { padding: 64px 0; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 20px; }
  section { padding: 52px 0; }
  .hero { padding: calc(var(--header-height) + 24px) 0 48px; }
  .hero .container { gap: 36px; }
  .hero-lead { font-size: 17px; }
  .hero-ctas { margin-bottom: 32px; }
  .benne-grid { grid-template-columns: 1fr; }
  .benne-card { padding: 26px 22px; }
  .steps-grid { grid-template-columns: 1fr; }
  .waste-grid { grid-template-columns: 1fr; }
  .waste-card { padding: 26px 22px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }
  .hero-features { grid-template-columns: 1fr; }
  .commune-list { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-legal-strip { flex-direction: column; text-align: center; }
  .contact-form-card { padding: 26px 20px; }
  .contact-info-card { padding: 28px 22px; }
  .hero-media .float-card { left: 12px; right: 12px; max-width: none; }
  .about-media .stat-chip { right: 12px; padding: 16px 18px; }
  .section-head p { font-size: 16px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 30px; }
  .kicker { font-size: 12.5px; padding: 7px 14px; }
  .commune-list { grid-template-columns: 1fr; }
  .schema-frame { padding: 16px; }
  .size-row { padding: 14px; gap: 14px; }
  .size-row .tag { width: 54px; height: 54px; font-size: 12.5px; }
  .contact-info-list .icon-wrap,
  .about-values .icon-wrap { width: 38px; height: 38px; }
  .footer-brand p { max-width: none; }
}
