/*
Theme Name: Serrurier Lyon 4 - Express
*/

/* =============================================
   DESIGN TOKENS — PALETTE BLEU PROFOND + OR
   ============================================= */
:root {
  --primary: #0a1628;
  /* Bleu nuit profond */
  --primary-mid: #112244;
  /* Bleu marine */
  --primary-light: #1a3a6e;
  /* Bleu foncé */
  --accent: #f0a500;
  /* Or vif */
  --accent-light: #ffc72c;
  /* Or clair */
  --accent-dark: #c47e00;
  /* Or sombre */
  --danger: #e63946;
  /* Rouge urgence */
  --success: #2ec4b6;
  /* Vert turquoise */
  --white: #ffffff;
  --gray-100: #f8f9fc;
  --gray-200: #eef0f5;
  --gray-400: #a0a8b8;
  --gray-700: #4a5568;
  --gray-900: #1a1f2e;
  --text: #1a1f2e;
  --text-light: #6b7280;

  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.15);
  --glass-bg-dark: rgba(10, 22, 40, 0.75);

  --shadow-sm: 0 2px 8px rgba(10, 22, 40, 0.12);
  --shadow-md: 0 8px 32px rgba(10, 22, 40, 0.2);
  --shadow-lg: 0 20px 60px rgba(10, 22, 40, 0.3);
  --shadow-gold: 0 8px 32px rgba(240, 165, 0, 0.3);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;

  --header-height: 80px;
  --max-width: 1200px;
}

/* =============================================
   RESET & BASE
   ============================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary);
}

/* =============================================
   FEATHER ICONS — CONTRAINTE DE TAILLE CRITIQUE
   Sans ce bloc, les SVG s'affichent en 300x150px
   ============================================= */
/* Icônes inline dans les boutons / textes */
svg[data-feather],
svg.feather {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  overflow: visible;
}

/* Taille par défaut si aucun style inline — CRITIQUE */
svg.feather {
  width: 20px;
  height: 20px;
}

/* Les <i data-feather> deviennent des <svg class="feather"> après feather.replace() */
/* On force la taille via les règles spécifiques ci-dessous */
.service-icon svg.feather {
  width: 32px !important;
  height: 32px !important;
}

.why-item-icon svg.feather {
  width: 22px !important;
  height: 22px !important;
}

.price-icon svg.feather {
  width: 28px !important;
  height: 28px !important;
}

.logo-icon svg.feather {
  width: 24px !important;
  height: 24px !important;
}

.float-phone-btn svg.feather {
  width: 26px !important;
  height: 26px !important;
}

.faq-chevron svg.feather {
  width: 14px !important;
  height: 14px !important;
}

.social-btn svg.feather {
  width: 17px !important;
  height: 17px !important;
}

.top-bar-phone svg.feather {
  width: 17px !important;
  height: 17px !important;
}

.hero-eyebrow svg.feather {
  width: 13px !important;
  height: 13px !important;
}

.badge svg.feather {
  width: 13px !important;
  height: 13px !important;
}

.top-bar-item svg.feather {
  width: 15px !important;
  height: 15px !important;
}

.cta-phone svg.feather {
  width: 28px !important;
  height: 28px !important;
}

.price-feature svg.feather {
  width: 16px !important;
  height: 16px !important;
}

.trust-item svg.feather {
  width: 16px !important;
  height: 16px !important;
}

.btn svg.feather {
  width: 18px !important;
  height: 18px !important;
}

.urgency-item svg.feather {
  width: 16px !important;
  height: 16px !important;
}

.footer-contact-item svg.feather {
  width: 16px !important;
  height: 16px !important;
}

/* Empêche les SVG de déborder de leur conteneur */
.service-icon svg,
.why-item-icon svg,
.price-icon svg,
.logo-icon svg,
.float-phone-btn svg,
.faq-chevron svg,
.social-btn svg,
.urgency-item svg,
.top-bar-item svg,
.hero-eyebrow svg,
.trust-item svg,
.badge svg {
  display: block;
  flex-shrink: 0;
  pointer-events: none;
}

/* Couleur des icônes via currentColor (stroke pour Feather Icons) */
.service-icon svg {
  color: var(--accent, #f0a500);
  stroke: var(--accent, #f0a500);
}

.service-card.featured .service-icon svg {
  color: var(--accent-light, #ffc72c);
  stroke: var(--accent-light, #ffc72c);
}

.why-item-icon svg {
  color: var(--accent, #f0a500);
  stroke: var(--accent, #f0a500);
}

.price-icon svg {
  color: var(--accent, #f0a500);
  stroke: var(--accent, #f0a500);
}

.logo-icon svg {
  color: var(--accent, #f0a500);
  stroke: var(--accent, #f0a500);
}

.top-bar-item .icon {
  color: var(--accent, #f0a500);
  stroke: var(--accent, #f0a500);
}

.trust-item .icon {
  color: var(--accent, #f0a500);
  stroke: var(--accent, #f0a500);
}

.top-bar-phone svg {
  color: var(--primary, #0a1628);
  stroke: var(--primary, #0a1628);
}

.float-phone-btn svg {
  color: var(--primary, #0a1628);
  stroke: var(--primary, #0a1628);
}

.cta-phone svg {
  color: var(--accent, #f0a500);
  stroke: var(--accent, #f0a500);
}

.social-btn svg {
  color: rgba(255, 255, 255, 0.6);
  stroke: rgba(255, 255, 255, 0.6);
}

.footer-contact-item .icon {
  color: var(--accent, #f0a500);
  stroke: var(--accent, #f0a500);
}

.faq-chevron svg {
  color: var(--accent, #f0a500);
  stroke: var(--accent, #f0a500);
}

.faq-item.open .faq-chevron svg {
  color: var(--primary, #0a1628);
  stroke: var(--primary, #0a1628);
}

/* Coches vertes dans les tarifs */
.price-feature .check {
  color: var(--success, #2ec4b6);
  stroke: var(--success, #2ec4b6);
}

.price-card.featured .price-feature .check {
  color: var(--success, #2ec4b6);
  stroke: var(--success, #2ec4b6);
}

/* Icônes dans les boutons */
.btn svg {
  color: inherit;
  stroke: currentColor;
}

/* Classe générique icon */
.icon {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--accent-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* =============================================
   UTILITY CLASSES
   ============================================= */
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-title span {
  color: var(--accent);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 48px;
  max-width: 600px;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header .section-subtitle {
  margin: 12px auto 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.badge-gold {
  background: rgba(240, 165, 0, 0.12);
  color: var(--accent);
  border: 1px solid rgba(240, 165, 0, 0.3);
}

.badge-urgent {
  background: rgba(230, 57, 70, 0.1);
  color: var(--danger);
  border: 1px solid rgba(230, 57, 70, 0.25);
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  color: var(--primary);
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(240, 165, 0, 0.45);
  color: var(--primary);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-danger {
  background: linear-gradient(135deg, var(--danger) 0%, #ff6b6b 100%);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(230, 57, 70, 0.35);
}

.btn-danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(230, 57, 70, 0.5);
  color: var(--white);
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}

/* =============================================
   STICKY CALL BAR (TOP)
   ============================================= */
.top-bar {
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 10px 0;
  border-bottom: 2px solid var(--accent);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--gray-200);
  font-size: 0.85rem;
}

.top-bar-item .icon {
  color: var(--accent);
}

.top-bar-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: var(--primary);
  padding: 8px 20px;
  border-radius: 100px;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  transition: var(--transition);
  animation: pulse-gold 2.5s infinite;
}

.top-bar-phone:hover {
  background: var(--accent-light);
  transform: scale(1.04);
  color: var(--primary);
}

.top-bar-phone .icon {
  color: var(--primary);
}

@keyframes pulse-gold {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(240, 165, 0, 0.5);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(240, 165, 0, 0);
  }
}

/* =============================================
   HEADER / NAVIGATION
   ============================================= */
#site-header {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 44px;
  z-index: 999;
  transition: var(--transition);
}

#site-header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
  top: 0;
}

.header-inner {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.logo-icon svg {
  color: var(--accent);
}

.logo-text {
  line-height: 1.2;
}

.logo-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--primary);
  display: block;
}

.logo-sub {
  font-size: 0.72rem;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gray-700);
  transition: var(--transition-fast);
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.current {
  color: var(--accent);
  background: rgba(240, 165, 0, 0.08);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  border: none;
  background: none;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  position: relative;
  min-height: 90vh;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-mid) 40%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(240, 165, 0, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 20% 20%, rgba(255, 255, 255, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text {
  max-width: 560px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(240, 165, 0, 0.15);
  border: 1px solid rgba(240, 165, 0, 0.35);
  color: var(--accent-light);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-eyebrow::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: blink 1.5s infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero h1 .highlight {
  color: var(--accent);
  position: relative;
}

.hero-description {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-trust {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.875rem;
  font-weight: 500;
}

.trust-item .icon {
  color: var(--accent);
}

/* Hero card (right side) */
.hero-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}

.hero-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-card-title .icon {
  color: var(--accent);
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 3px rgba(240, 165, 0, 0.15);
}

.form-group select option {
  background: var(--primary);
  color: var(--white);
}

.form-group textarea {
  resize: none;
  height: 90px;
}

/* =============================================
   URGENCY BANNER
   ============================================= */
.urgency-banner {
  background: linear-gradient(90deg, var(--danger) 0%, #c1121f 100%);
  padding: 18px 0;
  overflow: hidden;
}

.urgency-track {
  display: flex;
  gap: 60px;
  animation: scroll-left 20s linear infinite;
  white-space: nowrap;
}

.urgency-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 700;
  font-size: 0.92rem;
  flex-shrink: 0;
}

.urgency-item .icon {
  color: rgba(255, 255, 255, 0.8);
}

.urgency-sep {
  color: rgba(255, 255, 255, 0.4);
  font-size: 1.2rem;
  flex-shrink: 0;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* =============================================
   STATS / CHIFFRES CLÉS
   ============================================= */
.stats-section {
  padding: 60px 0;
  background: var(--gray-100);
  border-bottom: 1px solid var(--gray-200);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.stat-item {
  background: var(--white);
  padding: 36px 24px;
  text-align: center;
  transition: var(--transition);
  position: relative;
}

.stat-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 40px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  transition: var(--transition);
}

.stat-item:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--primary);
  display: block;
}

.stat-number span {
  color: var(--accent);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-light);
  font-weight: 500;
  margin-top: 6px;
}

/* =============================================
   SERVICES SECTION
   ============================================= */
.services-section {
  padding: 100px 0;
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: rgba(240, 165, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}

.service-icon svg {
  width: 32px;
  height: 32px;
  color: var(--accent);
  transition: var(--transition);
}

.service-card:hover .service-icon svg {
  color: var(--accent-light);
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--primary);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 20px;
}

.service-card .service-price {
  font-size: 0.82rem;
  color: var(--accent-dark);
  font-weight: 700;
  background: rgba(240, 165, 0, 0.1);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  display: inline-block;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.875rem;
  margin-top: 16px;
  transition: var(--transition-fast);
}

.service-link:hover {
  gap: 10px;
  color: var(--accent-dark);
}

/* Service featured (urgent) */
.service-card.featured {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-mid) 100%);
  border-color: transparent;
  color: var(--white);
}

.service-card.featured::before {
  transform: scaleX(1);
}

.service-card.featured h3,
.service-card.featured p {
  color: rgba(255, 255, 255, 0.9);
}

.service-card.featured h3 {
  color: var(--white);
}

.service-card.featured .service-icon {
  background: rgba(255, 255, 255, 0.12);
}

.service-card.featured:hover .service-icon {
  background: rgba(240, 165, 0, 0.2);
}

.service-card.featured .service-link {
  color: var(--accent-light);
}

/* =============================================
   POURQUOI NOUS (WHY US)
   ============================================= */
.why-section {
  padding: 100px 0;
  background: var(--gray-100);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.why-visual {
  position: relative;
}

.why-image-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.why-image-wrap img {
  width: 100%;
  object-fit: cover;
  height: 480px;
}

.why-badge-overlay {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  box-shadow: var(--shadow-gold);
  text-align: center;
}

.why-badge-overlay .number {
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
  font-family: var(--font-heading);
  display: block;
}

.why-badge-overlay .label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.why-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.why-item:hover {
  transform: translateX(6px);
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.why-item-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-item-icon svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
}

.why-item-content h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.why-item-content p {
  font-size: 0.875rem;
  color: var(--text-light);
}

/* =============================================
   ZONES D'INTERVENTION
   ============================================= */
.zones-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  position: relative;
  overflow: hidden;
}

.zones-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}

.zones-section .section-title {
  color: var(--white);
}

.zones-section .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.zones-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.zone-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  backdrop-filter: blur(12px);
  transition: var(--transition);
  cursor: pointer;
}

.zone-card:hover {
  background: rgba(240, 165, 0, 0.15);
  border-color: rgba(240, 165, 0, 0.4);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.zone-card .zone-icon {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.zone-card h4 {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.zone-card span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
}

.zone-card.active {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  border-color: transparent;
}

.zone-card.active h4 {
  color: var(--primary);
}

.zone-card.active span {
  color: rgba(10, 22, 40, 0.7);
}

/* =============================================
   AVIS CLIENTS / TÉMOIGNAGES
   ============================================= */
.reviews-section {
  padding: 100px 0;
  background: var(--white);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
  position: relative;
}

.review-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 5rem;
  color: var(--accent);
  opacity: 0.2;
  font-family: Georgia, serif;
  line-height: 1;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.review-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 14px;
}

.star {
  color: var(--accent);
  font-size: 1.1rem;
}

.review-text {
  font-size: 0.925rem;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 20px;
  font-style: italic;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--accent);
  font-size: 1rem;
  flex-shrink: 0;
}

.reviewer-info h5 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
}

.reviewer-info span {
  font-size: 0.78rem;
  color: var(--text-light);
}

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 50%, #ffb800 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 1.1rem;
  color: rgba(10, 22, 40, 0.8);
  margin-bottom: 36px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--primary);
  color: var(--white);
  padding: 20px 44px;
  border-radius: 100px;
  font-size: 1.5rem;
  font-weight: 900;
  font-family: var(--font-heading);
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 8px 40px rgba(10, 22, 40, 0.3);
  letter-spacing: 0.02em;
}

.cta-phone:hover {
  transform: scale(1.04);
  box-shadow: 0 16px 56px rgba(10, 22, 40, 0.4);
  color: var(--white);
}

.cta-phone .icon {
  color: var(--accent);
}

.cta-note {
  font-size: 0.85rem;
  color: rgba(10, 22, 40, 0.6);
  margin-top: 20px;
}

/* =============================================
   TARIFS SECTION
   ============================================= */
.pricing-section {
  padding: 100px 0;
  background: var(--gray-100);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.price-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.price-card.featured {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-mid) 100%);
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: scale(1.04);
}

.price-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--accent);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.price-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(240, 165, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.price-card.featured .price-icon {
  background: rgba(255, 255, 255, 0.1);
}

.price-icon svg {
  width: 28px;
  height: 28px;
  color: var(--accent);
}

.price-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}

.price-card.featured .price-name {
  color: var(--white);
}

.price-amount {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--accent);
  font-family: var(--font-heading);
  line-height: 1;
  margin-bottom: 6px;
}

.price-unit {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 24px;
}

.price-card.featured .price-unit {
  color: rgba(255, 255, 255, 0.6);
}

.price-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.price-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text);
}

.price-card.featured .price-feature {
  color: rgba(255, 255, 255, 0.85);
}

.price-feature .check {
  color: var(--success);
  flex-shrink: 0;
}

/* =============================================
   FAQ SECTION
   ============================================= */
.faq-section {
  padding: 100px 0;
  background: var(--white);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.open {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  gap: 16px;
  background: var(--white);
  transition: var(--transition-fast);
}

.faq-question:hover {
  background: var(--gray-100);
}

.faq-question h4 {
  font-size: 0.975rem;
  font-weight: 700;
  color: var(--primary);
}

.faq-chevron {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(240, 165, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.faq-item.open .faq-chevron {
  background: var(--accent);
  transform: rotate(180deg);
}

.faq-chevron svg {
  width: 14px;
  height: 14px;
  color: var(--accent);
}

.faq-item.open .faq-chevron svg {
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
  border-top: 1px solid var(--gray-200);
  padding-top: 16px;
}

/* =============================================
   FOOTER
   ============================================= */
#site-footer {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.8);
}

.footer-top {
  padding: 64px 0;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .site-logo {
  margin-bottom: 20px;
}

.footer-brand .logo-name {
  color: var(--white);
}

.footer-desc {
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.65);
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  text-decoration: none;
}

.social-btn svg {
  width: 18px;
  height: 18px;
  color: rgba(255, 255, 255, 0.6);
}

.social-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.social-btn:hover svg {
  color: var(--primary);
}

.footer-col h4 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-links a:hover::before {
  opacity: 1;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
}

.footer-contact-item .icon {
  color: var(--accent);
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-contact-item a {
  color: var(--accent-light);
}

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
}

.footer-bottom a:hover {
  color: var(--accent);
}

/* =============================================
   FLOATING PHONE BUTTON
   ============================================= */
.float-phone {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.float-phone-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  box-shadow: var(--shadow-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  animation: float-bounce 3s ease-in-out infinite;
  transition: var(--transition);
}

.float-phone-btn svg {
  width: 26px;
  height: 26px;
  color: var(--primary);
}

.float-phone-btn:hover {
  transform: scale(1.1);
}

.float-phone-label {
  background: var(--primary);
  color: var(--white);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
}

.float-phone:hover .float-phone-label {
  opacity: 1;
  transform: translateX(0);
}

@keyframes float-bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

/* =============================================
   ICON COLORS ADMIN (CSS Variables Override)
   Ces classes sont modifiables via wp-admin > Personnaliser
   ============================================= */
.icon-primary {
  color: var(--primary);
}

.icon-accent {
  color: var(--accent);
}

.icon-danger {
  color: var(--danger);
}

.icon-success {
  color: var(--success);
}

.icon-white {
  color: var(--white);
}

.icon-gold {
  color: var(--accent);
}

/* Tailles d'icônes */
.icon-sm {
  width: 16px;
  height: 16px;
}

.icon-md {
  width: 24px;
  height: 24px;
}

.icon-lg {
  width: 32px;
  height: 32px;
}

.icon-xl {
  width: 48px;
  height: 48px;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .services-grid, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid .price-card.featured { transform: none; }
  .zones-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-content { gap: 40px; }
}

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  /* Reduce large section paddings for mobile */
  .services-section, 
  .why-us, 
  .zones-section, 
  .reviews-section, 
  .pricing-section, 
  .faq-section, 
  .cta-section { 
    padding: 60px 0; 
  }
  .hero { padding: 120px 0 60px; }

  /* Top Bar */
  .top-bar-left { display: none; }
  .top-bar-inner { justify-content: center; padding: 8px 0; }
  .top-bar-phone { width: auto; font-size: 0.85rem; padding: 6px 16px; }

  /* Navigation Mobile */
  .main-nav {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10,22,40,0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    z-index: 998;
  }
  .main-nav.open { display: flex; }
  .main-nav a { color: var(--white); font-size: 1.2rem; padding: 14px 28px; }
  .menu-toggle { display: flex; z-index: 1000; margin-left: auto; }
  
  /* Header Adjustments */
  .header-inner { gap: 16px; }
  .header-cta { display: none; } /* Hide redundant CTA on mobile to leave space for logo and menu */
  .logo-sub { display: none; } /* Hide subtitle to save space */
  .logo-name { font-size: 1.1rem; }
  .logo-icon { width: 40px; height: 40px; margin-right: 8px; }
  .logo-icon svg.feather { width: 20px !important; height: 20px !important; }

  /* Hero */
  .hero-content { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-eyebrow { margin: 0 auto 24px; }
  .hero-card { order: 2; margin: 0 auto; width: 100%; max-width: 500px; padding: 24px; }
  .hero-text { order: 1; margin: 0 auto; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; flex-wrap: wrap; gap: 16px; }

  /* Grids & Typography */
  .section-header { margin-bottom: 40px; }
  .services-grid, .reviews-grid, .pricing-grid, .why-grid { grid-template-columns: 1fr; }
  .why-visual { display: none; }
  .zones-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  
  /* Footer */
  .footer-top { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .footer-brand { display: flex; flex-direction: column; align-items: center; }
  .footer-contact-list { align-items: center; }
  .footer-contact-item { justify-content: center; }
  .footer-contact-item div { text-align: left; }
  .footer-social { justify-content: center; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 16px; }
  .footer-bottom div { justify-content: center; }
}

@media (max-width: 480px) {
  /* Hero Adjustments */
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-trust { flex-direction: column; gap: 12px; align-items: center; }
  
  /* Grids */
  .zones-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 1px; }
  .stat-item { padding: 20px 12px; }
  .stat-number { font-size: 1.8rem; }
  .stat-label { font-size: 0.75rem; }
  
  /* CTA Adjustments */
  .cta-phone { font-size: 1.1rem; padding: 16px 20px; width: 100%; justify-content: center; }
  
  /* Floating Phone Btn */
  .float-phone { bottom: 20px; right: 20px; }
  .float-phone-btn { width: 50px; height: 50px; }
  .float-phone-btn svg { width: 22px; height: 22px; }
  .float-phone-label { display: none; }
}

/* =============================================
   ANIMATIONS ON SCROLL (Intersection Observer)
   ============================================= */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 {
  transition-delay: 0.1s;
}

.fade-in-delay-2 {
  transition-delay: 0.2s;
}

.fade-in-delay-3 {
  transition-delay: 0.3s;
}

.fade-in-delay-4 {
  transition-delay: 0.4s;
}

.fade-in-delay-5 {
  transition-delay: 0.5s;
}

/* =============================================
   WORDPRESS ADMIN BAR COMPAT
   ============================================= */
.admin-bar .top-bar {
  top: 32px;
}

.admin-bar #site-header {
  top: 76px;
}

@media screen and (max-width: 782px) {
  .admin-bar .top-bar {
    top: 46px;
  }

  .admin-bar #site-header {
    top: 90px;
  }
}