/* ============================================================
   VOLTANA — Design System CSS
   ============================================================ */

/* ── 1. Variables & Reset ── */

:root {
  --navy:   #0B1628;
  --blue:   #1D4ED8;
  --cyan:   #06B6D4;
  --orange: #F97316;
  --light:  #F8FAFC;
  --dark:   #0F172A;
  --gray:   #64748B;
  --border: #E2E8F0;
  --white:  #FFFFFF;

  --font: 'Inter', sans-serif;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.06);
  --shadow-lg: 0 10px 15px rgba(0,0,0,.1), 0 4px 6px rgba(0,0,0,.05);
  --shadow-blue: 0 8px 25px rgba(29,78,216,.25);
  --transition: .2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  font-weight: 400;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  -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; font-family: var(--font); border: none; background: none; }

/* ── 2. Typography ── */
h1, h2, h3, h4 {
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p  { line-height: 1.7; color: var(--gray); }

.text-center { text-align: center; }
.text-white  { color: var(--white); }
.text-orange { color: var(--orange); }
.text-blue   { color: var(--blue); }
.text-cyan   { color: var(--cyan); }

/* ── 3. Layout Utilities ── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.section { padding: 80px 0; }
.section--light { background: var(--light); }
.section--navy  { background: var(--navy); }
.section--dark  { background: var(--dark); }

.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 12px;
}
.section-title { margin-bottom: 16px; }
.section-subtitle { font-size: 1.1rem; color: var(--gray); max-width: 600px; }
.section-header { margin-bottom: 56px; }
.section-header.center { text-align: center; }
.section-header.center .section-subtitle { margin: 0 auto; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }

/* ── 4. Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: .95rem;
  font-weight: 700;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  white-space: nowrap;
  line-height: 1;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(29,78,216,.35);
}
.btn-primary:hover { background: #1a44c4; box-shadow: 0 6px 20px rgba(29,78,216,.45); }

.btn-orange {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(249,115,22,.35);
}
.btn-orange:hover { background: #ea6a0e; box-shadow: 0 6px 20px rgba(249,115,22,.45); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.5);
}
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: var(--white); }

.btn-outline-blue {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-outline-blue:hover { background: var(--blue); color: var(--white); }

.btn-sm { padding: 10px 20px; font-size: .85rem; }
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }

/* ── 5. Topbar ── */
.topbar {
  background: var(--dark);
  color: rgba(255,255,255,.85);
  font-size: .82rem;
  font-weight: 600;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.topbar a { color: var(--cyan); }
.topbar a:hover { color: var(--white); }
.topbar-sep { color: rgba(255,255,255,.3); }

/* ── 6. Navigation ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--navy);
  letter-spacing: -0.03em;
  flex-shrink: 0;
}
.nav-logo img { height: 44px; width: auto; }
.nav-logo .logo-fallback { color: #050866; }
.nav-logo .logo-fallback span { color: #050866; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-item { position: relative; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--dark);
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--blue); background: rgba(29,78,216,.06); }
.nav-link .chevron {
  width: 12px;
  height: 12px;
  transition: transform var(--transition);
  opacity: .6;
}
.nav-item:hover .chevron, .nav-item.open .chevron { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  padding-top: 16px; /* compense la suppression du gap */
  margin-top: -8px;  /* remonte sous le nav-item pour couvrir le gap */
  min-width: 260px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
  pointer-events: none;
}
.nav-item:hover .dropdown,
.nav-item.open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0px);
  pointer-events: auto;
}

/* Pont invisible pour couvrir le gap entre nav-link et dropdown */
.nav-item::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 16px;
}
.dropdown-link {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius);
  font-size: .88rem;
  color: var(--dark);
  transition: background var(--transition);
}
.dropdown-link:hover { background: var(--light); color: var(--blue); }
.dropdown-link .icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 1px;
}
.dropdown-link .label { font-weight: 600; display: block; margin-bottom: 1px; }
.dropdown-link .desc  { font-size: .78rem; color: var(--gray); font-weight: 400; }

.nav-cta { margin-left: 12px; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  gap: 5px;
  border-radius: var(--radius);
  transition: background var(--transition);
}
.nav-toggle:hover { background: var(--light); }
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav */
.nav-mobile {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 12px 16px 20px;
}
.nav-mobile.open { display: block; }

/* Disable the desktop ::after hover-bridge inside mobile nav */
.nav-mobile .nav-item::after { display: none; }

/* Mobile nav rows */
.nav-mobile .nav-item { position: static; }

/* Trigger button row */
.nav-mobile .mob-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 14px;
  border: none;
  border-radius: var(--radius);
  background: none;
  font-family: var(--font);
  font-size: .93rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  text-align: left;
  transition: background var(--transition), color var(--transition);
  -webkit-tap-highlight-color: transparent;
}
.nav-mobile .mob-trigger:hover,
.nav-mobile .mob-trigger.open { background: var(--light); color: var(--blue); }
.nav-mobile .mob-trigger .mob-chevron {
  width: 16px; height: 16px;
  flex-shrink: 0;
  transition: transform .22s ease;
  color: var(--gray);
}
.nav-mobile .mob-trigger.open .mob-chevron { transform: rotate(180deg); color: var(--blue); }

/* Sub-menu (accordion, completely independent of desktop .dropdown) */
.nav-mobile .mob-sub {
  max-height: 0;
  overflow: hidden;
  transition: max-height .28s ease;
  background: var(--light);
  border-radius: var(--radius);
  margin: 2px 0 6px 8px;
}
.nav-mobile .mob-sub.open { max-height: 400px; }

/* Links inside sub-menu */
.nav-mobile .mob-sub .dropdown-link {
  padding: 10px 14px;
  border-radius: 0;
  font-size: .87rem;
}
.nav-mobile .mob-sub .dropdown-link:first-child { border-radius: var(--radius) var(--radius) 0 0; }
.nav-mobile .mob-sub .dropdown-link:last-child  { border-radius: 0 0 var(--radius) var(--radius); }

/* Plain nav links (no sub-menu) */
.nav-mobile .mob-link {
  display: block;
  padding: 12px 14px;
  font-size: .93rem;
  font-weight: 600;
  color: var(--dark);
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
  -webkit-tap-highlight-color: transparent;
}
.nav-mobile .mob-link:hover { background: var(--light); color: var(--blue); }

/* CTA inside mobile nav */
.nav-mobile .mob-cta {
  display: block;
  margin-top: 10px;
  text-align: center;
}

/* ── 7. Hero ── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a6e 60%, var(--blue) 100%);
  color: var(--white);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 50%, rgba(6,182,212,.15) 0%, transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.hero .container { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(6,182,212,.2);
  border: 1px solid rgba(6,182,212,.4);
  color: var(--cyan);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.hero h1 { color: var(--white); margin-bottom: 20px; max-width: 700px; }
.hero-sub { font-size: 1.15rem; color: rgba(255,255,255,.8); max-width: 560px; margin-bottom: 40px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 60px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 640px;
}
.hero-stat {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-lg);
  padding: 16px;
  text-align: center;
}
.hero-stat .value { font-size: 1.6rem; font-weight: 900; color: var(--white); letter-spacing: -0.03em; }
.hero-stat .label { font-size: .75rem; color: rgba(255,255,255,.7); margin-top: 2px; }
.hero--sub { padding: 70px 0 60px; }
.hero--sub h1 { font-size: clamp(1.8rem, 4vw, 2.75rem); }

/* ── 8. Cards ── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover { box-shadow: var(--shadow-blue); transform: translateY(-4px); }
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(29,78,216,.1), rgba(6,182,212,.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.card h3 { margin-bottom: 10px; font-size: 1.1rem; }
.card p  { font-size: .9rem; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: .88rem;
  font-weight: 700;
  color: var(--blue);
  transition: gap var(--transition);
}
.card-link:hover { gap: 10px; }

/* Service cards */
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}
.service-card:hover { box-shadow: var(--shadow-blue); transform: translateY(-4px); }
.service-card .card-icon { margin-bottom: 20px; }
.service-card h3 { margin-bottom: 12px; }
.service-card p { flex: 1; font-size: .9rem; }
.service-card .btn { margin-top: 24px; align-self: flex-start; }

/* ── Review / Avis cards (design Google unifié) ── */
.review-card,
.avis-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  transition: box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.review-card:hover,
.avis-card:hover { box-shadow: var(--shadow-md); }

/* En-tête : auteur + logo Google */
.rc-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}
.rc-author { display: flex; align-items: center; gap: 10px; }
.rc-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: .78rem;
  flex-shrink: 0;
}
.rc-info { display: flex; flex-direction: column; gap: 3px; }
.rc-name {
  font-weight: 700;
  font-size: .88rem;
  color: var(--dark);
  text-decoration: none;
  line-height: 1.2;
}
.rc-name:hover { color: var(--blue); text-decoration: underline; }
.rc-time { font-size: .75rem; color: var(--gray); }
.rc-google { flex-shrink: 0; margin-top: 1px; }

/* Étoiles */
.rc-stars { color: #FBBF24; font-size: .95rem; letter-spacing: 1.5px; margin-bottom: 10px; }

/* Corps du commentaire avec scrollbar si dépassement */
.rc-body {
  flex: 1;
  max-height: 96px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.rc-body::-webkit-scrollbar { width: 4px; }
.rc-body::-webkit-scrollbar-track { background: transparent; }
.rc-body::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
.rc-body p {
  font-size: .88rem;
  line-height: 1.65;
  color: var(--dark);
  font-style: italic;
  margin: 0;
}

/* Advantage cards */
.adv-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: box-shadow var(--transition);
}
.adv-card:hover { box-shadow: var(--shadow-blue); }
.adv-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  width: 48px;
  text-align: center;
}
.adv-card h3 { font-size: 1rem; margin-bottom: 6px; }
.adv-card p  { font-size: .87rem; }

/* Step cards */
.step-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-weight: 900;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-content h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step-content p  { font-size: .9rem; }

/* ── 9. Réalisations ── */
.realisation-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.realisation-card:hover { box-shadow: var(--shadow-blue); transform: translateY(-4px); }
.realisation-img {
  background: linear-gradient(135deg, var(--navy), #1a3a6e);
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}
.realisation-img img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.realisation-body { padding: 20px; }
.realisation-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 3px 10px;
  border-radius: 100px;
  background: rgba(29,78,216,.08);
  color: var(--blue);
  margin-bottom: 10px;
}
.realisation-body h3 { font-size: 1rem; margin-bottom: 8px; }
.realisation-body p  { font-size: .85rem; }
.realisation-loc { font-size: .8rem; color: var(--gray); margin-bottom: 6px; }
.tag--blue  { background: rgba(29,78,216,.08); color: var(--blue); }
.tag--cyan  { background: rgba(6,182,212,.1);  color: #0891b2; }
.tag--orange{ background: rgba(249,115,22,.1); color: #c2410c; }

/* Filter bar */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 8px 18px;
  border-radius: 100px;
  font-size: .85rem;
  font-weight: 600;
  border: 2px solid var(--border);
  color: var(--gray);
  background: var(--white);
  transition: all var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(29,78,216,.05);
}

/* ── 10. Zones tags ── */
.zone-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.zone-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(29,78,216,.06);
  border: 1px solid rgba(29,78,216,.2);
  border-radius: 100px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--blue);
}
.zone-tag::before { content: '📍'; font-size: .9rem; }

/* ── 11. Widget Rappel Rapide ── */
.recall-widget {
  background: linear-gradient(135deg, var(--navy), #1a3a6e);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: var(--white);
}
.recall-widget h3 { color: var(--white); margin-bottom: 8px; font-size: 1.4rem; }
.recall-widget p  { color: rgba(255,255,255,.75); margin-bottom: 28px; }
.recall-form { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 12px; align-items: end; }

/* ── 11b. Callback widget (formulaire rappel rapide sur fond navy) ── */
.callback-widget {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 56px;
  align-items: center;
}
.callback-widget .callback-text h2 { margin-bottom: 10px; }
.callback-widget .callback-text p  { color: rgba(255,255,255,.78); margin: 0; line-height: 1.6; }

.callback-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 12px;
  align-items: end;
}

.callback-widget .form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.callback-widget label {
  font-size: .82rem;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  letter-spacing: .025em;
}

.callback-widget input[type="text"],
.callback-widget input[type="tel"],
.callback-widget select {
  width: 100%;
  box-sizing: border-box;
  padding: 13px 16px;
  border: 1.5px solid rgba(255,255,255,.22);
  border-radius: var(--radius);
  background: rgba(255,255,255,.09);
  color: var(--white);
  font-size: .93rem;
  font-family: var(--font);
  outline: none;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
  appearance: none;
}
.callback-widget input::placeholder { color: rgba(255,255,255,.38); }
.callback-widget input:focus,
.callback-widget select:focus {
  border-color: var(--cyan);
  background: rgba(255,255,255,.14);
  box-shadow: 0 0 0 3px rgba(6,182,212,.18);
}
.callback-widget select option { color: var(--dark); background: var(--white); }

/* ── 12. Forms ── */
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: .85rem; font-weight: 600; color: var(--white); }
.form-label.dark { color: var(--dark); }
.form-control {
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius);
  background: rgba(255,255,255,.1);
  color: var(--white);
  font-size: .9rem;
  font-family: var(--font);
  transition: border-color var(--transition), background var(--transition);
  outline: none;
}
.form-control::placeholder { color: rgba(255,255,255,.45); }
.form-control:focus { border-color: var(--cyan); background: rgba(255,255,255,.15); }
.form-control.light {
  background: var(--white);
  color: var(--dark);
  border-color: var(--border);
}
.form-control.light::placeholder { color: var(--gray); }
.form-control.light:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(29,78,216,.1); }

textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { appearance: none; cursor: pointer; }
/* Les <option> s'affichent avec le fond natif du navigateur (blanc) :
   forcer le texte sombre pour qu'il reste lisible dans le dropdown ouvert */
.form-control option { color: var(--dark); background: var(--white); }

/* Contact form */
.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.contact-form .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-form .form-full { grid-column: 1 / -1; }
.contact-form .form-label { color: var(--dark); }
.contact-form .form-group { margin-bottom: 0; }

/* ── 13. FAQ Accordion ── */
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item.open { border-color: var(--blue); }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  background: var(--white);
  font-weight: 700;
  font-size: .95rem;
  color: var(--dark);
  transition: background var(--transition);
}
.faq-question:hover { background: var(--light); }
.faq-item.open .faq-question { background: rgba(29,78,216,.04); color: var(--blue); }
.faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--gray);
  transition: transform var(--transition);
}
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--blue); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  padding: 0 24px;
  font-size: .9rem;
  color: var(--gray);
  line-height: 1.7;
}
.faq-item.open .faq-answer { max-height: 500px; padding: 0 24px 20px; }

/* Alias courts utilisés dans les sous-pages */
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 20px 24px;
  cursor: pointer;
  background: var(--white);
  font-weight: 700;
  font-size: .95rem;
  color: var(--dark);
  font-family: var(--font);
  border: none;
  text-align: left;
  transition: background var(--transition), color var(--transition);
}
.faq-q:hover { background: var(--light); }
.faq-item.open .faq-q { background: rgba(29,78,216,.04); color: var(--blue); }
.faq-icon {
  flex-shrink: 0;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--gray);
  transition: transform var(--transition), color var(--transition);
  line-height: 1;
}
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--blue); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  padding: 0 24px;
  font-size: .9rem;
  color: var(--gray);
  line-height: 1.7;
}
.faq-item.open .faq-a { max-height: 500px; padding: 0 24px 20px; }

/* ── 14. Tableau comparatif ── */
.table-wrapper { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--border); }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}
thead {
  background: var(--dark);
  color: var(--white);
}
thead th {
  padding: 14px 18px;
  font-weight: 700;
  text-align: left;
  letter-spacing: .02em;
}
tbody tr { border-bottom: 1px solid var(--border); }
tbody tr:last-child { border-bottom: none; }
tbody tr:nth-child(even) { background: var(--light); }
tbody td { padding: 13px 18px; }
tbody td:first-child { font-weight: 600; color: var(--dark); }
.check { color: #22C55E; font-size: 1.1rem; }
.cross { color: #EF4444; font-size: 1.1rem; }

/* ── 15. Info boxes ── */
.info-box {
  background: rgba(29,78,216,.06);
  border: 1px solid rgba(29,78,216,.2);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: .9rem;
  color: var(--dark);
}
.info-box.orange {
  background: rgba(249,115,22,.06);
  border-color: rgba(249,115,22,.2);
  border-left-color: var(--orange);
}
.info-box.cyan {
  background: rgba(6,182,212,.06);
  border-color: rgba(6,182,212,.2);
  border-left-color: var(--cyan);
}

/* ── 16. Breadcrumb ── */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: .82rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--cyan); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb-sep { color: rgba(255,255,255,.3); }

/* ── 17. Footer ── */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,.75);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .logo {
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--white);
  display: block;
  margin-bottom: 16px;
}
.footer-brand .logo span { color: var(--cyan); }
.footer-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.footer-phone:hover { color: var(--cyan); }
.footer-desc { font-size: .88rem; line-height: 1.7; }
.footer-col h4 {
  color: var(--white);
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 20px;
  font-weight: 700;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: .88rem;
  color: rgba(255,255,255,.65);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--cyan); }
.footer-info-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: .88rem;
}
.footer-info-item .ico { font-size: 1rem; flex-shrink: 0; margin-top: 1px; }
.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .8rem;
  color: rgba(255,255,255,.4);
}
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: var(--white); }

/* ── 18. Certifications / Badges ── */
.cert-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.cert-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: .85rem;
  font-weight: 700;
  color: var(--dark);
  box-shadow: var(--shadow);
}
.cert-badge .ico { font-size: 1.2rem; }

/* ── 19. CTA Banner ── */
.cta-banner {
  background: linear-gradient(135deg, var(--blue), #1a3a6e);
  padding: 72px 0;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(6,182,212,.2), transparent 70%);
}
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner p  { color: rgba(255,255,255,.8); margin-bottom: 36px; font-size: 1.05rem; }
.cta-banner .actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── 20. Contact info card ── */
.contact-info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.contact-info-card h3 { margin-bottom: 24px; font-size: 1.2rem; }
.contact-detail {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.contact-detail:last-child { border-bottom: none; }
.contact-detail .ico { font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }
.contact-detail .text .label { font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--gray); margin-bottom: 3px; }
.contact-detail .text .value { font-weight: 600; color: var(--dark); }
.contact-detail .text .sub   { font-size: .82rem; color: var(--gray); }

/* ── 21. Scroll animations ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ── 22. Responsive ── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero { padding: 72px 0 60px; }
  .hero::after { height: 40px; }
  .hero-stats { max-width: 100%; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; justify-content: center; }

  .nav-menu, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .recall-form { grid-template-columns: 1fr; }
  .callback-widget { grid-template-columns: 1fr; gap: 28px; }
  .callback-form .form-row { grid-template-columns: 1fr; }
  .callback-widget .btn { width: 100%; justify-content: center; }
  .contact-form .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .cta-banner .actions { flex-direction: column; align-items: center; }

  .topbar .container { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; }
}

@media (max-width: 480px) {
  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.5rem; }
  .hero-stat .value { font-size: 1.3rem; }
  .recall-widget { padding: 28px 20px; }
  .contact-form { padding: 24px 20px; }
}

/* ── 23. Mentions légales spécifiques ── */
.legal-content h2 { font-size: 1.3rem; margin: 32px 0 12px; font-weight: 700; }
.legal-content p, .legal-content li { font-size: .95rem; line-height: 1.8; margin-bottom: 10px; }
.legal-content ul { margin-left: 20px; list-style: disc; }

/* ── 24. Qui sommes-nous ── */
.team-card {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}
.team-photo {
  width: 180px;
  height: 180px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

/* ── 25. Misc ── */
.divider {
  width: 48px;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  border-radius: 2px;
  margin: 16px 0;
}
.divider.center { margin: 16px auto; }

.pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: rgba(29,78,216,.08);
  color: var(--blue);
}
.pill.orange { background: rgba(249,115,22,.1); color: var(--orange); }
.pill.cyan   { background: rgba(6,182,212,.1);  color: #0891b2; }
.pill.green  { background: rgba(34,197,94,.1);   color: #16a34a; }

.highlight {
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.list-check { display: flex; flex-direction: column; gap: 10px; }
.list-check li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .9rem;
  color: var(--gray);
}
.list-check li::before { content: '✓'; color: var(--blue); font-weight: 900; flex-shrink: 0; margin-top: 1px; }

.steps-list { display: flex; flex-direction: column; gap: 24px; }

/* ── 26. Two-col responsive layout ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.two-col--center { align-items: center; }
.two-col--asym   { grid-template-columns: 1fr 1.35fr; gap: 56px; }
.two-col--56     { gap: 56px; }
.two-col--48     { gap: 48px; }
.two-col--24     { gap: 24px; }

/* ── 27. Form row (2-col → 1-col) ── */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ── 28. Sticky mobile CTA bar ── */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 998;
  background: var(--white);
  border-top: 2px solid var(--border);
  box-shadow: 0 -4px 20px rgba(0,0,0,.14);
  padding: 10px 16px;
  gap: 10px;
  align-items: center;
  /* safe area for notch phones */
  padding-bottom: max(10px, env(safe-area-inset-bottom));
}
.mobile-cta-bar .btn {
  flex: 1;
  justify-content: center;
  padding: 13px 10px;
  font-size: .88rem;
  white-space: nowrap;
}
.mobile-cta-bar .btn-call {
  background: var(--navy);
  color: var(--white);
  box-shadow: none;
  border: 2px solid var(--navy);
}
.mobile-cta-bar .btn-call:hover { background: #1a3a6e; }

/* ── Mobile (≤ 768px) ── */
@media (max-width: 768px) {
  /* Two-col layouts stack */
  .two-col, .two-col--asym {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Form rows stack */
  .form-row { grid-template-columns: 1fr; }

  /* Sticky CTA becomes visible */
  .mobile-cta-bar { display: flex; }

  /* Prevent content hiding under sticky CTA */
  body { padding-bottom: 74px; }

  /* Team card stacks vertically */
  .team-card { flex-direction: column; }
  .team-photo { width: 120px; height: 120px; }

  /* Section header: less bottom margin */
  .section-header { margin-bottom: 36px; }

  /* Contact form: tighter padding */
  .contact-form { padding: 24px 18px; }

  /* Hero sub-pages: less tall */
  .hero--sub { padding: 44px 0 36px; }

  /* Section: slightly tighter */
  .section { padding: 48px 0; }

  /* Footer: tighter */
  .footer { padding-top: 48px; }

  /* Recall widget full-width button */
  .recall-widget .btn { width: 100%; justify-content: center; }

  /* iOS: prevent auto-zoom on input focus (must be ≥ 16px) */
  input.form-control,
  select.form-control,
  textarea.form-control,
  .quick-box input,
  .quick-box select,
  .captcha-input { font-size: 16px; }
}

/* ── Small mobile (≤ 480px) ── */
@media (max-width: 480px) {
  .container { padding: 0 14px; }
  .section { padding: 36px 0; }
  .section-header { margin-bottom: 28px; }
  .hero--sub { padding: 36px 0 28px; }
  .hero--sub h1 { font-size: 1.65rem; }
  .hero-sub { font-size: .97rem; }
  .hero-stat { padding: 12px 8px; }
  .hero-stat .value { font-size: 1.2rem; }
  .hero-stats { gap: 8px; }
  .footer { padding-top: 40px; }
  .footer-grid { gap: 24px; }

  /* Topbar: hide location item on tiny screens */
  .topbar .container > span:last-child,
  .topbar .container > span:nth-last-child(2) { display: none; }
  .topbar .container { justify-content: center; overflow-x: initial; flex-wrap: wrap; gap: 8px; }

  /* CTA banner: tighter */
  .cta-banner { padding: 48px 0; }
  .cta-banner .actions { gap: 10px; }

  /* Buttons: full width when alone in banner */
  .cta-banner .actions .btn { width: 100%; justify-content: center; }

  /* Recall widget: more compact */
  .recall-widget { padding: 24px 16px; }
  .recall-widget h3 { font-size: 1.15rem; }

  /* FAQ: tighter */
  .faq-q, .faq-question { padding: 16px 18px; font-size: .9rem; }
  .faq-a, .faq-answer { padding: 0 18px; }
  .faq-item.open .faq-a,
  .faq-item.open .faq-answer { padding: 0 18px 16px; }

  /* Cards: less padding */
  .card, .service-card, .adv-card { padding: 20px 18px; }
  .review-card, .avis-card { padding: 16px; }

  /* Nav: tighter height */
  .nav-inner { height: 58px; }
  .nav-logo { font-size: 1.3rem; }
  .nav-logo img { height: 37px; }
}
