/*
Theme Name: Dépann'Auto 92
Theme URI: https://depanauto92.fr
Author: Dépann'Auto 92
Author URI: https://depanauto92.fr
Description: Thème WordPress sur mesure pour Dépann'Auto 92 — société de dépannage et remorquage à Levallois-Perret et en Île-de-France. Léger, rapide, optimisé SEO local et conversion. Compatible Elementor et Divi.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: depanauto92
Tags: business, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, block-styles, wide-blocks
*/

/* ==========================================================================
   DEPANN'AUTO 92 — Thème WordPress
   Style sombre, professionnel, accents jaune/orange
   ========================================================================== */

/* ============ RESET & BASE ============ */
*, *::before, *::after { box-sizing: border-box; }

:root {
  --bg: #0a0d12;
  --bg-2: #0f141b;
  --bg-3: #151b24;
  --surface: #1a212c;
  --surface-2: #222a36;
  --border: #2a3340;
  --text: #e6ebf2;
  --text-2: #a3aebd;
  --text-3: #6d7787;
  --accent: #ffb400;
  --accent-2: #ff7a00;
  --accent-soft: rgba(255,180,0,.12);
  --danger: #ef4444;
  --success: #22c55e;
  --whatsapp: #25d366;

  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 22px;
  --container: 1200px;
  --shadow-1: 0 4px 20px rgba(0,0,0,.25);
  --shadow-2: 0 14px 40px rgba(0,0,0,.45);
  --shadow-accent: 0 10px 30px rgba(255,180,0,.25);

  --font-display: "Bebas Neue", "Impact", sans-serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  margin: 0;
  overflow-x: hidden;
  background-image:
    radial-gradient(800px 600px at 90% -10%, rgba(255,180,0,.06), transparent 60%),
    radial-gradient(700px 500px at -10% 30%, rgba(255,122,0,.04), transparent 60%);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent); }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { margin: 0 0 1em; padding-left: 1.4em; }
li { margin-bottom: .4em; }
p { margin: 0 0 1em; }

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

/* ============ TYPOGRAPHIE ============ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: .01em;
  line-height: 1.1;
  color: #fff;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); letter-spacing: .005em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h3 { font-size: 1.5rem; letter-spacing: .02em; }
h4 { font-size: 1.1rem; letter-spacing: .08em; text-transform: uppercase; }

.text-accent { color: var(--accent); }
.h1-accent {
  background: linear-gradient(95deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Contenu WordPress par défaut */
.entry-content { font-size: 1.05rem; }
.entry-content h2 { margin-top: 2.2em; }
.entry-content h3 { margin-top: 1.8em; }
.entry-content ul li { color: var(--text-2); }
.entry-content strong { color: #fff; font-weight: 700; }
.entry-content a { color: var(--accent); border-bottom: 1px solid rgba(255,180,0,.4); }
.entry-content a:hover { color: var(--accent-2); }
.entry-content blockquote {
  border-left: 3px solid var(--accent);
  padding: 16px 20px;
  background: var(--surface);
  border-radius: 0 10px 10px 0;
  margin: 1.5em 0;
}

/* ============ BARRE URGENCE ============ */
.topbar {
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #0a0d12;
  font-weight: 600;
  font-size: .92rem;
  padding: 9px 0;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.topbar-text strong { font-weight: 800; }
.topbar-phone {
  font-weight: 800;
  background: #0a0d12;
  color: var(--accent);
  padding: 4px 12px;
  border-radius: 999px;
  font-variant-numeric: tabular-nums;
}
.topbar-phone:hover { background: #1a1a1a; color: var(--accent); }

.pulse-dot {
  width: 9px; height: 9px;
  background: #0a0d12;
  border-radius: 50%;
  display: inline-block;
  position: relative;
  flex-shrink: 0;
}
.pulse-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: inherit;
  animation: pulse 1.6s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: .8; }
  100% { transform: scale(2.8); opacity: 0; }
}

/* ============ HEADER / NAV ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,13,18,.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background .3s;
}
.site-header.scrolled { background: rgba(10,13,18,.95); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 24px;
}
.logo, .site-title a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: .04em;
  color: #fff;
  flex-shrink: 0;
}
.logo-mark {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0a0d12;
  display: grid; place-items: center;
  border-radius: 10px;
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: 0 4px 14px rgba(255,180,0,.35);
}
.logo-accent { color: var(--accent); }
.custom-logo { max-height: 50px; width: auto; }

.main-nav {
  display: flex;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.main-nav ul {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav li { margin: 0; position: relative; }
.main-nav a {
  display: block;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 500;
  font-size: .95rem;
  color: var(--text-2);
}
.main-nav a:hover, .main-nav .current-menu-item > a, .main-nav .current_page_item > a {
  color: var(--accent);
  background: var(--surface);
}

/* Sous-menus */
.main-nav .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px;
  box-shadow: var(--shadow-2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s, transform .2s, visibility .2s;
  z-index: 50;
}
.main-nav li:hover > .sub-menu,
.main-nav li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.main-nav .sub-menu li { width: 100%; }
.main-nav .sub-menu a { font-size: .9rem; padding: 8px 12px; }

.header-call {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  font-variant-numeric: tabular-nums;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.menu-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ BOUTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 700;
  font-size: .95rem;
  transition: transform .15s, box-shadow .2s, background .2s, color .2s;
  cursor: pointer;
  text-align: center;
  line-height: 1.2;
  white-space: nowrap;
  border: none;
}
.btn-lg { padding: 16px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-icon { font-size: 1.1em; }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0a0d12;
  box-shadow: var(--shadow-accent);
}
.btn-primary:hover { transform: translateY(-2px); color: #0a0d12; box-shadow: 0 14px 36px rgba(255,180,0,.4); }

.btn-whatsapp { background: var(--whatsapp); color: #fff; box-shadow: 0 8px 24px rgba(37,211,102,.3); }
.btn-whatsapp:hover { background: #1ebe5a; color: #fff; transform: translateY(-2px); }

.btn-ghost { background: rgba(255,255,255,.06); color: #fff; border: 1px solid var(--border); }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: var(--text-3); color: #fff; }

.btn-outline { background: transparent; color: var(--accent); border: 2px solid var(--accent); }
.btn-outline:hover { background: var(--accent); color: #0a0d12; }

.btn-call { background: var(--accent); color: #0a0d12; padding: 10px 16px; border-radius: 8px; }
.btn-call:hover { background: #ffc640; color: #0a0d12; }

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,180,0,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,180,0,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(80px); }
.hero-glow-1 { width: 500px; height: 500px; background: var(--accent); top: -100px; right: -100px; opacity: .2; }
.hero-glow-2 { width: 400px; height: 400px; background: var(--accent-2); bottom: -150px; left: -100px; opacity: .15; }

.hero-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 28px;
}
.eyebrow-dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255,180,0,.2);
}

.hero h1 { margin-bottom: 24px; }
.hero-lead { font-size: 1.15rem; color: var(--text-2); max-width: 560px; margin-bottom: 36px; }
.hero-lead strong { color: #fff; font-weight: 700; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 44px; }

.hero-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  max-width: 560px;
  list-style: none;
  padding-left: 0;
}
.hero-trust li { display: flex; flex-direction: column; margin: 0; }
.trust-num { font-family: var(--font-display); font-size: 2.2rem; color: var(--accent); line-height: 1; }
.trust-num span { font-size: 1rem; margin-left: 4px; color: var(--text-2); }
.trust-lbl { font-size: .82rem; color: var(--text-2); margin-top: 6px; }

.hero-card {
  background: linear-gradient(180deg, var(--surface), var(--bg-3));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  box-shadow: var(--shadow-2);
}
.hero-card-tag {
  display: inline-block;
  background: var(--accent);
  color: #0a0d12;
  font-weight: 800;
  font-size: .75rem;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: .12em;
  margin-bottom: 12px;
}
.hero-card h2 { font-size: 1.8rem; margin-bottom: 16px; }
.hero-card p { color: var(--text-2); margin-bottom: 20px; }
.hero-card .btn { margin-bottom: 10px; }
.hero-card-foot {
  margin-top: 16px;
  font-size: .85rem;
  color: var(--text-3);
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.hero-card-foot span { color: var(--success); margin-right: 6px; }

/* ============ SECTIONS ============ */
.section { padding: 90px 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-head h2 { margin-bottom: 18px; }
.section-head p { color: var(--text-2); font-size: 1.1rem; }
.section-tag {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.section-tag.dark { background: rgba(0,0,0,.3); border: 1px solid var(--border); }

/* ============ TRUST STRIP ============ */
.trust-section { padding: 60px 0; background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust-item { padding: 8px; }
.trust-icon {
  font-size: 2rem;
  margin-bottom: 12px;
  display: inline-flex;
  width: 52px; height: 52px;
  background: var(--accent-soft);
  border-radius: 12px;
  align-items: center;
  justify-content: center;
}
.trust-item h3 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; letter-spacing: 0; }
.trust-item p { color: var(--text-2); font-size: .92rem; line-height: 1.55; margin: 0; }

/* ============ SERVICES ============ */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: linear-gradient(180deg, var(--surface), var(--bg-3));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  transition: transform .25s, border-color .25s, box-shadow .25s;
  overflow: hidden;
}
.service-card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: var(--shadow-2); }
.service-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--accent);
  opacity: .3;
  position: absolute;
  top: 18px;
  right: 24px;
  line-height: 1;
}
.service-card h3 {
  font-family: var(--font-body);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0;
  padding-right: 60px;
}
.service-card p { color: var(--text-2); margin-bottom: 18px; font-size: .95rem; }
.service-points { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--border); padding: 16px 0 0; list-style: none; }
.service-points li { display: flex; align-items: center; gap: 8px; color: var(--text-2); font-size: .9rem; margin: 0; }
.service-points li::before { content: "→"; color: var(--accent); font-weight: 700; }

.service-card.featured { background: linear-gradient(180deg, rgba(255,180,0,.12), var(--bg-3)); border-color: rgba(255,180,0,.4); }
.service-card.featured .service-num { opacity: .6; }
.featured-badge {
  position: absolute; top: 16px; left: 16px;
  background: var(--accent); color: #0a0d12;
  font-size: .7rem; font-weight: 800; letter-spacing: .12em;
  padding: 4px 10px; border-radius: 4px;
  text-transform: uppercase;
}
.service-card.featured h3 { padding-top: 24px; }

.section-cta { display: flex; gap: 16px; justify-content: center; margin-top: 56px; flex-wrap: wrap; }

/* ============ ZONES ============ */
.zones-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.zone-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform .2s, border-color .2s;
  display: block;
  color: inherit;
}
.zone-card:hover { transform: translateY(-3px); border-color: var(--accent); color: inherit; }
.zone-card h3 {
  font-family: var(--font-body);
  font-size: 1.15rem; font-weight: 700;
  letter-spacing: 0; margin-bottom: 8px;
  display: flex; align-items: center;
  justify-content: space-between; gap: 8px;
}
.zone-code {
  font-size: .8rem; color: var(--text-3);
  background: var(--bg);
  padding: 2px 8px; border-radius: 4px;
  font-weight: 600;
}
.zone-card p { color: var(--text-2); font-size: .92rem; margin: 0; }
.zone-card.primary { border-left: 3px solid var(--accent); }
.zone-pill {
  display: inline-block; margin-top: 12px;
  background: var(--accent-soft); color: var(--accent);
  font-size: .72rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 4px;
}
.zone-link { color: var(--accent); font-size: .85rem; font-weight: 600; margin-top: 12px; display: inline-block; }
.zone-link::after { content: " →"; }

/* ============ MAILLAGE INTERNE ============ */
.internal-links { padding: 60px 0; background: var(--bg-2); border-top: 1px solid var(--border); }
.internal-links h2 { font-size: 1.5rem; font-family: var(--font-body); font-weight: 700; margin-bottom: 24px; letter-spacing: 0; }
.internal-links-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.internal-links a {
  display: block;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: .9rem;
  color: var(--text-2);
  transition: border-color .2s, color .2s;
}
.internal-links a:hover { border-color: var(--accent); color: var(--accent); }
.internal-links a::before { content: "→ "; color: var(--accent); }

/* ============ FORMULAIRE DE DEVIS ============ */
.quote-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }
.quote-intro h2 { margin-bottom: 20px; }
.quote-intro > p { color: var(--text-2); margin-bottom: 28px; font-size: 1.05rem; }
.quote-bullets { margin-bottom: 32px; display: flex; flex-direction: column; gap: 10px; list-style: none; padding-left: 0; }
.quote-bullets li { display: flex; align-items: flex-start; gap: 10px; color: var(--text); font-size: .98rem; margin: 0; }
.quote-bullets li span { color: var(--accent); font-weight: 800; }
.quote-urgent {
  padding: 20px; background: var(--surface);
  border: 1px solid var(--border); border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.quote-urgent strong { font-family: var(--font-display); font-size: 1.3rem; letter-spacing: .02em; color: #fff; }

.quote-form {
  background: linear-gradient(180deg, var(--surface), var(--bg-3));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-2);
}
.quote-form h3 { font-family: var(--font-body); font-size: 1.3rem; font-weight: 700; letter-spacing: 0; margin-bottom: 24px; color: #fff; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.quote-form label { display: block; margin-bottom: 16px; }
.quote-form label.full { grid-column: 1 / -1; }
.quote-form label > span { display: block; font-size: .85rem; font-weight: 600; color: var(--text-2); margin-bottom: 6px; }
.quote-form label > span em { color: var(--accent); font-style: normal; }

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: .98rem;
  transition: border-color .15s, box-shadow .15s;
}
.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.quote-form textarea { resize: vertical; min-height: 100px; }
.quote-form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23a3aebd' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.file-label input[type="file"] { display: none; }
.file-helper {
  border: 1px dashed var(--border);
  border-radius: 10px;
  padding: 18px;
  text-align: center;
  color: var(--text-2);
  font-size: .92rem;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.file-helper:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.file-helper.has-files { border-color: var(--accent); color: var(--accent); font-weight: 600; border-style: solid; }

.checkbox { display: flex !important; align-items: flex-start; gap: 10px; font-size: .9rem; color: var(--text-2); margin-bottom: 20px !important; cursor: pointer; }
.checkbox input { width: auto !important; margin-top: 3px; flex-shrink: 0; }
.checkbox span em { color: var(--accent); font-style: normal; }

.form-note { font-size: .82rem; color: var(--text-3); margin-top: 12px; text-align: center; }
.form-note em { color: var(--accent); font-style: normal; }
.form-success { margin-top: 20px; padding: 16px 20px; background: rgba(34,197,94,.12); border: 1px solid rgba(34,197,94,.4); border-radius: 10px; color: #4ade80; font-weight: 600; text-align: center; }
.form-error { margin-top: 20px; padding: 16px 20px; background: rgba(239,68,68,.12); border: 1px solid rgba(239,68,68,.4); border-radius: 10px; color: #f87171; font-weight: 600; text-align: center; }
.honeypot { position: absolute; left: -9999px; opacity: 0; }

/* ============ FAQ ============ */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border-color .2s; }
.faq-item:hover { border-color: var(--text-3); }
.faq-item[open] { border-color: var(--accent); }
.faq-item summary {
  padding: 20px 24px;
  font-weight: 700; color: #fff;
  cursor: pointer; list-style: none;
  position: relative; padding-right: 56px;
  font-size: 1.02rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute; right: 22px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 1.8rem; color: var(--accent);
  transition: transform .25s; line-height: 1;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { padding: 0 24px 22px; color: var(--text-2); font-size: .98rem; line-height: 1.65; margin: 0; }
.faq-item p strong { color: #fff; }

/* ============ CONTACT ============ */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: start; }
.contact-info h2 { margin: 14px 0 20px; }
.contact-info > p { color: var(--text-2); font-size: 1.08rem; margin-bottom: 36px; max-width: 520px; }
.contact-list { display: flex; flex-direction: column; gap: 20px; list-style: none; padding: 0; }
.contact-list li { display: flex; flex-direction: column; gap: 4px; padding-bottom: 18px; border-bottom: 1px solid var(--border); margin: 0; }
.contact-list li:last-child { border-bottom: none; }
.contact-list strong { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.contact-list a, .contact-list span { font-size: 1.15rem; color: #fff; font-weight: 600; }
.contact-list a:hover { color: var(--accent); }

.contact-emergency {
  background: linear-gradient(180deg, var(--surface), var(--bg-3));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-2);
}
.emerg-tag {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--danger); color: #fff;
  padding: 6px 12px; border-radius: 999px;
  font-size: .75rem; font-weight: 800; letter-spacing: .14em;
  margin-bottom: 18px;
}
.emerg-tag .pulse-dot { background: #fff; }
.contact-emergency h3 { font-family: var(--font-body); font-size: 1.4rem; font-weight: 700; letter-spacing: 0; margin-bottom: 10px; }
.contact-emergency p { color: var(--text-2); margin-bottom: 24px; }
.contact-emergency .btn { margin-bottom: 10px; }

/* ============ GOOGLE MAPS ============ */
.map-section { padding: 0; position: relative; }
.map-section iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
  filter: grayscale(.3) invert(.92) hue-rotate(180deg);
}

/* ============ FOOTER ============ */
.site-footer { padding: 70px 0 24px; background: var(--bg); border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--border); }
.footer-logo { margin-bottom: 14px; }
.footer-grid p { color: var(--text-2); font-size: .92rem; max-width: 320px; }
.footer-grid h4 { color: #fff; margin-bottom: 14px; font-family: var(--font-body); font-size: .9rem; letter-spacing: .14em; }
.footer-grid ul { display: flex; flex-direction: column; gap: 8px; list-style: none; padding: 0; margin: 0; }
.footer-grid ul li { margin: 0; }
.footer-grid ul a, .footer-grid ul li { color: var(--text-2); font-size: .93rem; }
.footer-grid ul a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; font-size: .85rem; color: var(--text-3); flex-wrap: wrap; gap: 12px; }
.footer-legal a { margin: 0 4px; }
.footer-legal a:hover { color: var(--accent); }

/* ============ BOUTONS FLOTTANTS ============ */
.float-call, .float-wa {
  position: fixed;
  right: 20px;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  z-index: 90;
  box-shadow: var(--shadow-2);
  transition: transform .2s;
  text-decoration: none;
}
.float-call:hover, .float-wa:hover { transform: scale(1.08); }
.float-call {
  bottom: 88px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0a0d12;
  animation: floatPulse 2.5s ease-in-out infinite;
}
@keyframes floatPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,180,0,.6); }
  50% { box-shadow: 0 0 0 14px rgba(255,180,0,0); }
}
.float-wa { bottom: 20px; background: var(--whatsapp); color: #fff; }

/* ============ FIL D'ARIANE ============ */
.breadcrumbs { padding: 20px 0; font-size: .88rem; color: var(--text-3); }
.breadcrumbs a { color: var(--text-2); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs .sep { margin: 0 8px; color: var(--text-3); }
.breadcrumbs .current { color: var(--accent); }

/* ============ PAGES VILLES ============ */
.city-hero { padding: 60px 0 40px; }
.city-hero h1 .city-name { color: var(--accent); display: block; font-size: 1.2em; }
.city-meta { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; color: var(--text-2); font-size: .95rem; }
.city-meta strong { color: #fff; }

.city-content { display: grid; grid-template-columns: 1fr 360px; gap: 40px; padding: 40px 0 80px; }
.city-content .entry-content > * { margin-bottom: 1.2em; }

.city-sidebar {
  position: sticky; top: 100px;
  background: linear-gradient(180deg, var(--surface), var(--bg-3));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  align-self: start;
}
.city-sidebar h3 { font-family: var(--font-body); font-size: 1.2rem; font-weight: 700; letter-spacing: 0; }
.city-sidebar p { color: var(--text-2); font-size: .92rem; }
.city-sidebar .btn { margin-bottom: 8px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { max-width: 480px; }
  .quote-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .zones-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .city-content { grid-template-columns: 1fr; }
  .city-sidebar { position: static; }

  .main-nav {
    position: fixed;
    inset: 70px 0 0 0;
    background: rgba(10,13,18,.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 30px 24px;
    gap: 4px;
    transform: translateX(100%);
    transition: transform .3s;
    z-index: 99;
  }
  .main-nav ul { flex-direction: column; width: 100%; }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { font-size: 1.15rem; padding: 14px 18px; width: 100%; text-align: center; }
  .main-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: rgba(0,0,0,.2); margin-top: 4px; }
  .menu-toggle { display: flex; }
  .header-call { display: none !important; }
}

@media (max-width: 720px) {
  .container { padding: 0 18px; }
  .hero { padding: 50px 0 70px; }
  .hero h1 { font-size: 2.4rem; }
  .hero-card { padding: 26px; }
  .hero-trust { grid-template-columns: 1fr; gap: 18px; padding-top: 24px; }
  .hero-trust li { flex-direction: row; align-items: baseline; gap: 12px; }
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 40px; }
  .services-grid, .zones-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; gap: 18px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .quote-form { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .topbar-inner { font-size: .82rem; gap: 8px; }
  .float-call, .float-wa { width: 50px; height: 50px; right: 14px; }
  .float-call { bottom: 78px; }
  .float-wa { bottom: 14px; }
  .quote-urgent { flex-direction: column; align-items: flex-start; }
  .quote-urgent .btn { width: 100%; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 2rem; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
  .section-cta { flex-direction: column; }
  .section-cta .btn { width: 100%; }
}

/* ============ ACCESSIBILITÉ ============ */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px);
  clip-path: inset(50%);
  height: 1px; margin: -1px;
  overflow: hidden; padding: 0;
  position: absolute !important; width: 1px;
  word-wrap: normal !important;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ============ COMPATIBILITÉ ELEMENTOR / DIVI ============ */
/* Quand Elementor ou Divi est utilisé sur une page, ils prennent le contrôle */
body.elementor-page .site-content > .container,
body.et-pb-page .site-content > .container { max-width: 100%; padding: 0; }

/* Sticky positioning pour pages buildées */
.elementor .site-header, .et_divi_builder .site-header { position: sticky; }

/* ==========================================================================
   GRILLE TARIFAIRE
   ========================================================================== */
.tarifs-wrapper {
    max-width: 1100px;
    margin: 0 auto;
}
.tarifs-intro {
    background: linear-gradient(135deg, #1a1f2c, #2d3445);
    border-left: 4px solid #ffb400;
    padding: 24px 28px;
    border-radius: 8px;
    margin-bottom: 40px;
}
.tarifs-lead {
    color: #fff;
    font-size: 17px;
    margin: 0 0 14px;
    line-height: 1.6;
}
.tarifs-legend {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    font-size: 14px;
    color: #c0c8d6;
}
.tarifs-legend strong {
    color: #ffb400;
}
.tarif-block {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 28px 30px;
    margin-bottom: 28px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.tarif-block.tarif-featured {
    border-color: #ffb400;
    background: linear-gradient(180deg, #fffbf0 0%, #fff 100%);
    box-shadow: 0 4px 20px rgba(255, 180, 0, 0.12);
}
.tarif-block h3 {
    margin: 0 0 8px;
    color: #0a0d12;
    font-size: 22px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.tarif-badge {
    background: linear-gradient(135deg, #ffb400, #ff7a00);
    color: #0a0d12;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 900;
    letter-spacing: 0.5px;
}
.tarif-block-desc {
    color: #5a6378;
    margin: 0 0 20px;
    font-size: 15px;
}
.tarif-table-wrap {
    overflow-x: auto;
    margin: 0 -10px;
    padding: 0 10px;
}
.tarif-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    min-width: 500px;
}
.tarif-table thead th {
    background: #f3f4f6;
    text-align: left;
    padding: 12px 14px;
    font-weight: 700;
    color: #0a0d12;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #e5e7eb;
}
.tarif-table tbody td {
    padding: 14px;
    border-bottom: 1px solid #f0f2f5;
    color: #2d3445;
    vertical-align: top;
}
.tarif-table tbody tr:last-child td {
    border-bottom: none;
}
.tarif-table tbody tr:hover {
    background: #fffbf0;
}
.tarif-table td strong {
    color: #ff7a00;
    font-size: 17px;
    font-weight: 800;
}
.tarif-table td em {
    color: #7a8499;
    font-style: italic;
    font-size: 13px;
}
.tarif-devis {
    color: #5a6378;
    font-style: italic;
    background: #f9fafb;
}
.tarif-note {
    font-size: 13px;
    color: #5a6378;
    margin: 14px 0 0;
    padding: 10px 14px;
    background: #f9fafb;
    border-left: 3px solid #ffb400;
    border-radius: 0 6px 6px 0;
}
.tarif-guarantees {
    background: linear-gradient(135deg, #0a0d12, #1a1f2c);
    color: #fff;
    padding: 30px;
    border-radius: 10px;
    margin: 40px 0 30px;
}
.tarif-guarantees h4 {
    margin: 0 0 18px;
    font-size: 20px;
    color: #ffb400;
}
.tarif-guarantees-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
}
.tarif-guarantees-list li {
    color: #c0c8d6;
    line-height: 1.5;
}
.tarif-guarantees-list strong {
    color: #fff;
}
.tarif-cta {
    background: linear-gradient(135deg, #ffb400, #ff7a00);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
}
.tarif-cta p {
    color: #0a0d12;
    font-size: 17px;
    margin: 0 0 20px;
    font-weight: 600;
}
.tarif-cta .btn {
    margin: 4px 6px;
}

@media (max-width: 680px) {
    .tarif-block {
        padding: 20px 18px;
    }
    .tarif-block h3 {
        font-size: 18px;
    }
    .tarif-table {
        font-size: 14px;
    }
    .tarif-table thead th,
    .tarif-table tbody td {
        padding: 10px 8px;
    }
    .tarifs-legend {
        flex-direction: column;
        gap: 6px;
    }
}
