/* ============================================================
   AEP Habitat — Design System
   ============================================================ */

/* --- Variables ------------------------------------------- */
:root {
  --orange:     #c6771b;
  --orange-dk:  #a85f13;
  --orange-lt:  #fef3e2;
  --dark:       #1e1e1e;
  --dark-2:     #2d2d2d;
  --dark-3:     #3f3f3f;
  --light:      #f8f5f0;
  --white:      #ffffff;
  --muted:      #6b7280;
  --border:     #e5e0d8;
  --text:       #2d2d2d;

  --font-head: 'Lexend', system-ui, sans-serif;
  --font-body: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 3px rgba(30,30,30,.08), 0 1px 2px rgba(30,30,30,.06);
  --shadow-md: 0 4px 16px rgba(30,30,30,.10), 0 2px 6px rgba(30,30,30,.06);
  --shadow-lg: 0 12px 40px rgba(30,30,30,.14);

  --max-w: 1200px;
  --section-gap: 5rem;
}

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

/* --- Container ------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* --- Typography ------------------------------------------ */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--dark);
}
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.75rem); }
h4 { font-size: 1.15rem; letter-spacing: 0; }

p { max-width: 68ch; }
.text-center p { margin-inline: auto; }

/* --- Buttons --------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: .02em;
  transition: all .2s ease;
}
.btn:active { transform: scale(.98) translateY(1px); }
.btn-primary {
  background: var(--orange);
  color: var(--white);
}
.btn-primary:hover { background: var(--orange-dk); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-dark {
  background: var(--dark);
  color: var(--white);
}
.btn-dark:hover { background: var(--dark-3); }
.btn-lg { padding: 1rem 2.25rem; font-size: 1.15rem; }

/* --- Badges ---------------------------------------------- */
.badge {
  display: inline-block;
  padding: .25rem .75rem;
  border-radius: 4px;
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.badge-orange { background: var(--orange-lt); color: var(--orange-dk); }
.badge-dark   { background: var(--dark); color: var(--white); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(30,30,30,.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 68px;
}
.logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-shrink: 0;
  line-height: 1;
  gap: .2rem;
}
.logo-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -.02em;
  line-height: 1;
  color: var(--dark);
}
.logo-text span { color: var(--orange); }
.logo-sub {
  font-size: .65rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.footer-logo .logo-text { color: var(--white); }

.main-nav {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: .1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-link {
  padding: .4rem .75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark-2);
  transition: all .18s;
  white-space: nowrap;
}
.nav-link:hover,
.nav-link.active { background: var(--orange-lt); color: var(--orange-dk); }

/* Dropdown — aligné sur le HTML (.has-dropdown / .dropdown-toggle / .dropdown) */
.has-dropdown { position: relative; }

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: .3rem;
  padding: .4rem .75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark-2);
  cursor: pointer;
  transition: all .18s;
  background: none;
  border: none;
}
.dropdown-toggle:hover,
.has-dropdown.is-open .dropdown-toggle { background: var(--orange-lt); color: var(--orange-dk); }
.dropdown-toggle svg { transition: transform .2s; }
.has-dropdown.is-open .dropdown-toggle svg { transform: rotate(180deg); }

.dropdown {
  list-style: none;
  padding: .5rem;
  margin: 0;
  position: absolute;
  top: calc(100% + .5rem);
  left: 0;
  min-width: 240px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 200;
}
.has-dropdown.is-open .dropdown,
.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: .6rem .85rem;
  border-radius: var(--radius-sm);
  font-size: .95rem;
  font-weight: 500;
  color: var(--dark-2);
  transition: background .15s;
}
.dropdown a:hover { background: var(--orange-lt); color: var(--orange-dk); }

.header-cta {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}
.header-phone {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--dark);
  letter-spacing: -.01em;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .1rem;
}
.header-phone svg { display: none; }
.header-phone span {
  display: block;
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
  border-radius: var(--radius-sm);
  z-index: 1002;
  position: relative;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  transition: all .25s;
  border-radius: 2px;
}
.nav-toggle.is-open span { background: var(--white); }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Nav phone icon (mobile) */
.nav-phone-icon {
  display: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background .18s;
  z-index: 1002;
  position: relative;
}
.nav-phone-icon:hover { background: var(--orange-dk); }
.nav-phone-icon svg { display: block; }

/* FAB téléphone (mobile) */
.fab-phone {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 900;
  background: linear-gradient(90deg, var(--orange-dk), var(--orange));
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 13px 20px;
  align-items: center; justify-content: center;
  gap: 8px;
  text-decoration: none;
  letter-spacing: .01em;
}

/* Force masquage desktop (sécurité anti-fuite) */
@media (min-width: 769px) {
  .nav-phone-icon, .fab-phone, .nav-toggle { display: none !important; }
}

/* Scroll lock */
body.nav-open { overflow: hidden; }

.mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  padding: 1rem 1.25rem;
  background: var(--white);
}
.mobile-nav.is-open { display: block; }
.mobile-nav a {
  display: block;
  padding: .65rem 0;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
  color: var(--dark-2);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav .mobile-phone {
  margin-top: 1rem;
  padding: .8rem 1rem;
  background: var(--orange);
  color: var(--white);
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: 1.1rem;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: var(--dark);
  overflow: hidden;
  min-height: min(580px, 80dvh);
  display: flex;
  align-items: center;
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
}
.hero-bg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .22;
  display: block;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(30,30,30,.92) 0%, rgba(30,30,30,.65) 60%, rgba(198,119,27,.25) 100%);
}
.hero-content {
  position: relative;
  padding-block: 4rem;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .35rem .9rem;
  background: rgba(198,119,27,.2);
  border: 1px solid rgba(198,119,27,.4);
  border-radius: 4px;
  color: #f4b866;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.hero-badge::before { content: '●'; font-size: .55rem; animation: pulse-dot 2s infinite; }
@keyframes pulse-dot { 0%,100% { opacity:1; } 50% { opacity:.3; } }

.hero h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
  text-wrap: balance;
}
.hero h1 em {
  font-style: normal;
  color: var(--orange);
}
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.78);
  margin-bottom: 2rem;
  max-width: 52ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-bottom: 2.5rem;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: .45rem;
  color: rgba(255,255,255,.65);
  font-size: .88rem;
  font-weight: 500;
}
.hero-trust-item svg { color: var(--orange); flex-shrink: 0; }

/* ============================================================
   URGENCE BAND
   ============================================================ */
.urgence-band {
  background: var(--orange);
  padding: 1.1rem 0;
}
.urgence-band-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  text-align: center;
}
.urgence-text {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -.01em;
}
.urgence-phone {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  border-bottom: 2px solid rgba(255,255,255,.4);
  transition: border-color .2s;
}
.urgence-phone:hover { border-color: var(--white); }

/* ============================================================
   SECTION GENERIQUE
   ============================================================ */
.section { padding-block: var(--section-gap); }
.section-light { background: var(--light); }
.section-dark  { background: var(--dark); }
.section-header { margin-bottom: 2.75rem; }
.section-header.text-center { text-align: center; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: .6rem;
}
.section-header h2 { margin-bottom: .75rem; }
.section-header p { color: var(--muted); font-size: 1.05rem; }

/* ============================================================
   SERVICES GRID
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all .25s ease;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card-img {
  height: 200px;
  overflow: hidden;
}
.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.service-card:hover .service-card-img img { transform: scale(1.05); }
.service-card-body {
  padding: 1.4rem 1.4rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.service-card-icon {
  font-size: 2rem;
  margin-bottom: .6rem;
}
.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: .5rem;
}
.service-card p {
  color: var(--muted);
  font-size: .93rem;
  flex: 1;
  margin-bottom: 1rem;
  max-width: none;
}
.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 600;
  color: var(--orange);
  transition: gap .2s;
}
.service-card-link:hover { gap: .7rem; }

/* ============================================================
   URGENCES SECTION
   ============================================================ */
.urgences-section {
  background: var(--light);
}
.urgences-header {
  margin-bottom: 2.5rem;
}
.urgences-header h2 {
  color: var(--dark);
  margin-bottom: .6rem;
}
.urgences-header p {
  color: var(--muted);
  font-size: 1.05rem;
}
.urgences-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .3rem .85rem;
  background: var(--orange-lt);
  border: 1px solid rgba(198,119,27,.3);
  border-radius: 4px;
  color: var(--orange-dk);
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.urgences-badge::before {
  content: '●';
  font-size: .5rem;
  animation: pulse-dot 1.5s infinite;
}

.urgences-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}
.urgence-card {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.1rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius-md);
  transition: all .25s ease;
  color: inherit;
  text-decoration: none;
}
.urgence-card:hover {
  border-color: var(--border);
  border-left-color: var(--orange-dk);
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}
.urgence-card-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--orange-lt);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--orange-dk);
  transition: background .25s;
}
.urgence-card:hover .urgence-card-icon {
  background: rgba(198,119,27,.22);
}
.urgence-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.urgence-card-body strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
}
.urgence-card-body span {
  display: block;
  font-size: .85rem;
  color: var(--muted);
}
.urgence-arrow {
  color: var(--border);
  flex-shrink: 0;
  transition: color .25s, transform .25s;
}
.urgence-card:hover .urgence-arrow {
  color: var(--orange);
  transform: translateX(3px);
}

@media (max-width: 640px) {
  .urgences-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 2rem;
  counter-reset: steps;
}
.step {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.step-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--orange-lt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--orange-dk);
}
.step h4 { margin-bottom: .2rem; }
.step p { color: var(--muted); font-size: .93rem; max-width: none; }

/* ============================================================
   ZONE INTERVENTION
   ============================================================ */
.zone-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.zone-map {
  background: var(--border);
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: .9rem;
}
.zone-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.zone-cities {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin: 1.25rem 0;
}
.city-tag {
  padding: .3rem .75rem;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--dark-2);
}
.zone-info {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-top: 1rem;
  padding: .85rem 1rem;
  background: var(--orange-lt);
  border-left: 3px solid var(--orange);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: .92rem;
}

/* ============================================================
   TRUST / GARANTIES
   ============================================================ */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
}
.trust-item {
  text-align: center;
  padding: 1.75rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.trust-icon { font-size: 2.5rem; margin-bottom: .85rem; }
.trust-item h4 { margin-bottom: .4rem; }
.trust-item p { color: var(--muted); font-size: .9rem; max-width: none; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 760px; margin-inline: auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  text-align: left;
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
  gap: 1rem;
  cursor: pointer;
  background: none;
}
.faq-question:hover { color: var(--orange); }
.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all .2s;
  color: var(--muted);
}
.faq-item.is-open .faq-icon {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
  transform: rotate(45deg);
}
.faq-answer {
  display: none;
  padding-bottom: 1.25rem;
  color: var(--muted);
  font-size: .97rem;
  line-height: 1.75;
  max-width: none;
}
.faq-item.is-open .faq-answer { display: block; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  background: var(--dark);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(198,119,27,.2) 0%, transparent 65%);
}
.cta-band-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
}
.cta-band-text h2 { color: var(--white); margin-bottom: .5rem; }
.cta-band-text p { color: rgba(255,255,255,.65); max-width: 52ch; }
.cta-band-actions {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  align-items: flex-end;
}
.cta-phone {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: -.01em;
  white-space: nowrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--dark-2);
  color: rgba(255,255,255,.75);
  padding-top: 3.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand .logo-text { color: var(--white); margin-bottom: .5rem; }
.footer-brand address {
  font-style: normal;
  line-height: 1.8;
  font-size: .92rem;
  margin: 1rem 0;
  color: rgba(255,255,255,.6);
}
.footer-phone {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--orange);
}
.footer-nav-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1rem;
}
.footer-nav ul { list-style: none; padding: 0; margin: 0; }
.footer-nav ul li {
  margin-bottom: .5rem;
}
.footer-nav a {
  font-size: .93rem;
  color: rgba(255,255,255,.6);
  transition: color .15s;
}
.footer-nav a:hover { color: var(--orange); }
.footer-certif {
  font-size: .8rem;
  color: rgba(255,255,255,.45);
  line-height: 1.7;
}
.footer-bottom {
  padding: 1.25rem 0;
  font-size: .85rem;
  color: rgba(255,255,255,.35);
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: var(--orange); }
.certif-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .3rem .7rem;
  background: rgba(198,119,27,.15);
  border: 1px solid rgba(198,119,27,.3);
  border-radius: 4px;
  font-size: .8rem;
  font-weight: 600;
  color: #f4b866;
  margin-top: .75rem;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .cta-band-inner { grid-template-columns: 1fr; }
  .cta-band-actions { align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --section-gap: 3.5rem; }

  /* Panel fullscreen slide-in */
  .main-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    height: 100vh;
    height: 100dvh;
    z-index: 1001;
    background: #1e1e1e;
    padding: 62px 0 52px;
    gap: 0;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .38s cubic-bezier(.22, 1, .36, 1);
  }
  .main-nav.is-open { transform: translateX(0); }

  /* Items */
  .nav-list { flex-direction: column; width: 100%; gap: 0; }
  .nav-item { width: 100%; border-bottom: 1px solid rgba(255,255,255,.07); }
  .nav-link, .dropdown-toggle {
    width: 100%;
    text-align: left;
    padding: 11px 20px;
    font-size: 15px;
    color: rgba(255,255,255,.88);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: none;
    border: none;
    border-radius: 0;
  }
  .nav-link:hover, .nav-link.active,
  .dropdown-toggle:hover,
  .has-dropdown.is-open .dropdown-toggle {
    background: rgba(198,119,27,.15);
    color: #f4b866;
  }
  .dropdown-toggle svg { color: var(--orange); transition: transform .22s ease; }
  .has-dropdown.is-open .dropdown-toggle svg { transform: rotate(180deg); }

  /* Dropdown accordéon */
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-left: 2px solid rgba(198,119,27,.4);
    border-radius: 0;
    background: rgba(198,119,27,.05);
    max-height: 0;
    overflow: hidden;
    transition: max-height .28s ease;
    margin: 0 20px;
    padding: 0;
  }
  .has-dropdown.is-open .dropdown { max-height: 400px; }
  .dropdown a {
    color: rgba(255,255,255,.72);
    padding: 10px 16px;
    font-size: .9rem;
    border-radius: 0;
  }
  .dropdown a:hover { background: rgba(198,119,27,.18); color: #f4b866; }

  /* Éléments header desktop masqués */
  .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-phone-icon { display: flex; }
  .fab-phone { display: flex; }
  body { padding-bottom: 52px; }

  .hero-actions { flex-direction: column; align-items: flex-start; }
  .zone-grid { grid-template-columns: 1fr; }
  .zone-map { aspect-ratio: 16/9; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .header-inner { height: 60px; }
  .urgence-band-inner { flex-direction: column; gap: .6rem; }
  .steps-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .urgences-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */

/* Ken Burns hero */
@keyframes ken-burns {
  0%   { transform: scale(1) translate(0, 0); }
  33%  { transform: scale(1.07) translate(-1%, .5%); }
  66%  { transform: scale(1.05) translate(1%, -.5%); }
  100% { transform: scale(1) translate(0, 0); }
}
.hero-bg-img {
  transform: translateY(var(--parallax-y, 0));
  will-change: transform;
}
.hero-bg-img img {
  animation: ken-burns 18s ease-in-out infinite;
}

/* Hero content entry */
@keyframes hero-in {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-badge    { animation: hero-in .6s ease both; animation-delay: .1s; }
.hero h1       { animation: hero-in .7s ease both; animation-delay: .25s; }
.hero-sub      { animation: hero-in .7s ease both; animation-delay: .4s; }
.hero-actions  { animation: hero-in .7s ease both; animation-delay: .55s; }
.hero-trust    { animation: hero-in .7s ease both; animation-delay: .7s; }

/* Scroll reveal — ajouté par JS */
.will-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease var(--reveal-delay, 0ms),
              transform .6s ease var(--reveal-delay, 0ms);
}
.will-reveal.is-revealed {
  opacity: 1;
  transform: none;
}

/* Bouton shimmer */
.btn-primary {
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255,255,255,.22) 50%,
    transparent 100%);
  transform: translateX(-120%);
  transition: transform .55s ease;
  pointer-events: none;
}
.btn-primary:hover::after { transform: translateX(120%); }

/* Bouton scale + glow */
.btn-primary:hover {
  background: var(--orange-dk);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(198,119,27,.45);
}
.btn-primary:active { transform: scale(.97) translateY(0); }

.btn-outline:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,255,255,.15);
}
.btn-dark:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30,30,30,.35);
}

/* Service cards — image zoom + glow orange */
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(198,119,27,.18), var(--shadow-lg);
  border-color: rgba(198,119,27,.25);
}


/* Trust items — pop */
.trust-item {
  transition: all .3s ease;
}
.trust-item:hover {
  transform: translateY(-4px);
  border-color: var(--orange);
  box-shadow: 0 8px 28px rgba(198,119,27,.12);
}
.trust-icon { transition: transform .35s ease; }
.trust-item:hover .trust-icon { transform: scale(1.18) rotate(-5deg); }

/* Step numbers — ring pulse */
@keyframes ring-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(198,119,27,.4); }
  50%       { box-shadow: 0 0 0 8px rgba(198,119,27,.0); }
}
.step:hover .step-num { animation: ring-pulse .7s ease; }
.step-num { transition: background .2s, color .2s; }
.step:hover .step-num {
  background: var(--orange);
  color: var(--white);
}

/* City tags — pop */
.city-tag {
  transition: all .2s ease;
  cursor: default;
}
.city-tag:hover {
  background: var(--orange-lt);
  border-color: var(--orange);
  color: var(--orange-dk);
  transform: translateY(-1px);
}

/* Urgence band — solid, pas d'animation décorative (règle no-continuous-animation) */
.urgence-band {
  background: var(--orange);
}

/* CTA band — gradient animé */
@keyframes cta-glow {
  0%, 100% { opacity: .15; transform: scale(1); }
  50%       { opacity: .30; transform: scale(1.08); }
}
.cta-band::before { animation: cta-glow 5s ease-in-out infinite; }

/* Footer links */
.footer-nav a {
  position: relative;
  display: inline-block;
}
.footer-nav a::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--orange);
  transition: width .25s ease;
}
.footer-nav a:hover::after { width: 100%; }

/* Nav links — underline slide */
.nav-link:not(.dropdown-toggle) {
  position: relative;
}
.nav-link:not(.dropdown-toggle)::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: .75rem;
  right: .75rem;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform .22s ease;
  border-radius: 2px;
}
.nav-link:not(.dropdown-toggle):hover::after { transform: scaleX(1); }

/* ============================================================
   UTILS
   ============================================================ */
.text-center { text-align: center; }
.text-orange { color: var(--orange); }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  padding: .5rem 1rem;
  background: var(--dark);
  color: var(--white);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 600;
  z-index: 999;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

/* ============================================================
   PAGES VILLES — composants spécifiques
   ============================================================ */

.page-hero {
  background: var(--dark);
  color: var(--white);
  padding: 3rem 0 3.5rem;
}
.page-hero-badge {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem .8rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}
.page-hero h1 {
  color: var(--white);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: .75rem;
}
.page-hero-sub {
  color: rgba(255,255,255,.72);
  margin-bottom: 2rem;
  font-size: 1rem;
}

.breadcrumb { margin-bottom: 1.5rem; }
.breadcrumb ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .25rem .5rem;
  font-size: .8rem;
  color: rgba(255,255,255,.55);
}
.breadcrumb li + li::before { content: "›"; margin-right: .25rem; }
.breadcrumb a { color: rgba(255,255,255,.75); }
.breadcrumb a:hover { color: var(--white); }

.prose-section { max-width: 760px; margin-inline: auto; }
.prose-section h2 { margin-bottom: 1rem; }
.prose-section h3 { margin: 2rem 0 .75rem; }
.prose-section ul { margin: .75rem 0 1rem 1.25rem; }
.prose-section ul li { margin-bottom: .4rem; }
.prose-section p + p { margin-top: 1rem; }

.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.case-card {
  padding: 1.5rem;
  border-radius: 10px;
  background: var(--white);
  border-left: 4px solid var(--border);
}
.case-card--problem { border-left-color: #dc2626; }
.case-card--solution { border-left-color: var(--orange); }
.case-card--result { border-left-color: #16a34a; }
.case-card-label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .6rem;
}

.link-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.link-list a { color: var(--orange); font-weight: 500; }
.link-list a:hover { color: var(--orange-dk); }
.link-list--inline {
  flex-direction: row;
  flex-wrap: wrap;
  gap: .4rem .75rem;
}
.link-list--inline li a {
  background: var(--orange-lt);
  padding: .3rem .7rem;
  border-radius: 4px;
  font-size: .875rem;
  color: var(--orange-dk);
}
.link-list--inline li a:hover { background: var(--orange); color: var(--white); }

/* ============================================================
   PREFERS-REDUCED-MOTION (accessibilité — règle critique)
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .hero-bg-img img { animation: none; }
  .hero-badge, .hero h1, .hero-sub, .hero-actions, .hero-trust { animation: none; opacity: 1; transform: none; }
  .will-reveal { opacity: 1; transform: none; }
}

/* ── VILLES GRID ────────────────────────────────────────── */
.villes-grid {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: .5rem .75rem;
}
.villes-grid a {
  display: block;
  padding: .45rem .75rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-size: .9rem;
  transition: border-color .2s, color .2s, background .2s;
}
.villes-grid a:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: rgba(198,119,27,.06);
}
