/* ==========================================================================
   Diagnostics Nice — style.css
   Palette: Navy #1B3A5C | Sky Blue #4A90D9 | White #FFF | Light Gray #F5F7FA | Orange #E8793A
   ========================================================================== */

/* --- Custom Properties --- */
:root {
  /* Core palette */
  --navy: #1B3A5C;
  --navy-dark: #142d48;
  --navy-light: #234b73;
  --sky: #4A90D9;
  --sky-light: #6BA3E3;
  --sky-pale: #EDF3FC;
  --orange: #E8793A;
  --orange-dark: #d46a2e;
  --orange-light: #F09A65;
  --white: #fff;
  --gray-50: #F5F7FA;
  --gray-100: #f0f2f5;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-500: #6b7280;
  --gray-600: #555;
  --gray-700: #333;
  --red: #dc2626;

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  --line-height-body: 1.65;
  --line-height-heading: 1.15;
  --letter-spacing-heading: -0.025em;

  /* Spacing */
  --section-pad: 4rem;
  --section-pad-lg: 5.5rem;
  --container-pad: 1.25rem;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(27,58,92,.06), 0 1px 2px rgba(27,58,92,.04);
  --shadow-md: 0 4px 16px rgba(27,58,92,.08), 0 2px 4px rgba(27,58,92,.04);
  --shadow-lg: 0 12px 40px rgba(27,58,92,.12), 0 4px 12px rgba(27,58,92,.06);
  --shadow-xl: 0 20px 60px rgba(27,58,92,.14), 0 8px 20px rgba(27,58,92,.08);
  --shadow-orange: 0 4px 20px rgba(232,121,58,.3);
  --shadow-orange-lg: 0 8px 30px rgba(232,121,58,.35);

  /* Border radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-pill: 999px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 0.2s;
  --duration-normal: 0.35s;
  --duration-slow: 0.5s;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: var(--line-height-body);
  color: var(--gray-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--sky); text-decoration: none; transition: color var(--duration-fast); }
a:hover { color: var(--navy); }
ul, ol { list-style: none; }
table { border-collapse: collapse; width: 100%; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  color: var(--navy);
  font-weight: 700;
  line-height: var(--line-height-heading);
  letter-spacing: var(--letter-spacing-heading);
}
h1 { font-size: 2.25rem; margin-bottom: 1rem; }
h2 { font-size: 1.65rem; margin-bottom: .75rem; }
h3 { font-size: 1.3rem; margin-bottom: .5rem; }
p { margin-bottom: 1rem; }

@media (min-width: 768px) {
  h1 { font-size: 3.25rem; }
  h2 { font-size: 2.5rem; }
  h3 { font-size: 1.6rem; }
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-500);
  max-width: 640px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

/* --- Utility --- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--container-pad); }
.section { padding: var(--section-pad) 0; }
.section-alt { background: var(--gray-50); }
.text-center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

@media (min-width: 768px) {
  .section { padding: var(--section-pad-lg) 0; }
}

/* Section divider */
.section-divider { position: relative; }
.section-divider::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--sky), var(--orange));
}

/* Fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .fade-in { opacity: 1; transform: none; }
}

/* --- Top Bar (phone) --- */
/* TODO: retirer display:none quand le vrai numéro sera renseigné */
.top-bar {
  display: none;
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: .5rem 1rem;
  font-size: .875rem;
}
.top-bar a { color: var(--white); font-weight: 600; }
.top-bar a:hover { color: var(--orange); }

/* --- Scroll Progress Bar --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sky), var(--orange));
  z-index: 1001;
  width: 0%;
  border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
  pointer-events: none;
}

/* --- Header / Nav --- */
.site-header {
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(12px) saturate(1.5);
  -webkit-backdrop-filter: blur(12px) saturate(1.5);
  border-bottom: 1px solid rgba(229,231,235,.6);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow var(--duration-normal) var(--ease-out),
              background var(--duration-normal) var(--ease-out);
}
.site-header.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255,255,255,.95);
}

.nav-wrap { display: flex; align-items: center; justify-content: space-between; padding: .75rem 0; }

.logo { display: flex; align-items: center; }
.logo img { height: 40px; width: auto; display: block; }
@media (min-width: 768px) { .logo img { height: 48px; } }

/* Desktop nav */
.nav-menu { display: none; gap: 1.5rem; align-items: center; }
.nav-menu li { position: relative; }
.nav-menu a { color: var(--gray-700); font-weight: 500; font-size: .95rem; padding: .5rem 0; display: block; position: relative; }
.nav-menu a:hover { color: var(--sky); }

/* Nav link underline animation (desktop only, exclude dropdowns) */
.nav-menu > li:not(.has-dropdown) > a::after,
.main-nav > ul > li:not(.has-dropdown) > a::after,
.nav-list > li:not(.has-dropdown) > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--sky);
  border-radius: var(--radius-pill);
  transition: width var(--duration-normal) var(--ease-out);
}
.nav-menu > li:not(.has-dropdown) > a:hover::after,
.main-nav > ul > li:not(.has-dropdown) > a:hover::after,
.nav-list > li:not(.has-dropdown) > a:hover::after {
  width: 100%;
}

/* Nav CTA button — smaller than global btn-cta */
.nav-menu .btn-cta,
.main-nav .btn-cta,
.nav-list .btn-cta { padding: .5rem 1.25rem; font-size: .9rem; box-shadow: none; }

/* Dropdown */
.has-dropdown > a::after { content: ' \25BE'; font-size: .7em; }
.dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: -1rem;
  background: var(--white);
  min-width: 260px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: .5rem 0;
  z-index: 100;
  border: 1px solid var(--gray-200);
  animation: dropdown-in var(--duration-fast) var(--ease-out);
}
.dropdown a { padding: .5rem 1.25rem; font-size: .9rem; }
.dropdown a:hover { background: var(--gray-50); color: var(--sky); }
.has-dropdown:hover .dropdown { display: block; }

@keyframes dropdown-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* CTA button */
.btn-cta {
  display: inline-block;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  color: var(--white) !important;
  padding: .8rem 1.85rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: transform var(--duration-fast) var(--ease-spring),
              box-shadow var(--duration-normal) var(--ease-out),
              filter var(--duration-fast);
  box-shadow: var(--shadow-orange);
  text-align: center;
  line-height: 1.4;
  position: relative;
  overflow: hidden;
}
/* Subtle shine overlay */
.btn-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to bottom, rgba(255,255,255,.15), transparent);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  pointer-events: none;
}
.btn-cta:hover {
  color: var(--white) !important;
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-orange-lg);
  filter: brightness(1.05);
}
.btn-cta:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 2px 8px rgba(232,121,58,.2);
}

/* Secondary / outline button variant */
.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--sky) !important;
  padding: .8rem 1.85rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid var(--sky);
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
  text-align: center;
  line-height: 1.4;
}
.btn-outline:hover {
  background: var(--sky);
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(74,144,217,.25);
}

/* Large button */
.btn-lg { padding: 1rem 2.5rem; font-size: 1.1rem; border-radius: var(--radius-lg); }

/* Full-width button */
.btn-block { display: block; width: 100%; }

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: .5rem;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); transition: .3s; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile menu */
.nav-menu.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 1.25rem;
  border-top: 1px solid var(--gray-200);
  box-shadow: var(--shadow-lg);
  gap: .25rem;
  animation: mobile-menu-in var(--duration-normal) var(--ease-out);
}

@keyframes mobile-menu-in {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

.nav-menu.open .dropdown {
  position: static;
  box-shadow: none;
  border-radius: 0;
  padding-left: 1rem;
  min-width: auto;
  border: none;
  animation: none;
}
.nav-menu.open .has-dropdown.show-sub .dropdown { display: block; }

@media (min-width: 992px) {
  .hamburger { display: none; }
  .nav-menu { display: flex; }
}

/* --- Hero --- */
.hero {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(74,144,217,.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(232,121,58,.08) 0%, transparent 40%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 40%, var(--navy-light) 100%);
  color: var(--white);
  padding: 3.5rem 0;
  position: relative;
  overflow: hidden;
}
/* Subtle grain texture overlay (0 HTTP requests) */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}
.hero > .container { position: relative; z-index: 1; }

.hero h1 {
  color: var(--white);
  font-size: 2.25rem;
  letter-spacing: -0.02em;
}
.hero .subtitle,
.hero .hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,.88);
  margin-bottom: 1.75rem;
  max-width: 680px;
  line-height: 1.7;
  opacity: 1;
}

@media (min-width: 768px) {
  .hero { padding: 5.5rem 0; }
  .hero h1 { font-size: 3rem; }
}
@media (min-width: 1200px) {
  .hero { padding: 6.5rem 0; }
  .hero h1 { font-size: 3.5rem; }
}

/* Hero inline form */
.hero-form {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 1.5rem;
}
.hero-form select, .hero-form input {
  padding: .8rem 1.1rem;
  border: 2px solid rgba(255,255,255,.15);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.08);
  color: var(--white);
  font-size: .95rem;
  flex: 1 1 180px;
  min-width: 160px;
  transition: border-color var(--duration-fast), background var(--duration-fast);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.hero-form select:focus, .hero-form input:focus {
  border-color: rgba(255,255,255,.4);
  background: rgba(255,255,255,.14);
  outline: none;
}
.hero-form select option { color: var(--gray-700); background: var(--white); }
.hero-form select::placeholder, .hero-form input::placeholder { color: rgba(255,255,255,.6); }
.hero-form .btn-cta { flex: 1 1 220px; padding: .8rem 1.5rem; font-size: 1rem; }

/* Trust badges */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1rem;
  font-size: .875rem;
  opacity: 1;
}
.trust-badges span {
  white-space: nowrap;
  background: rgba(255,255,255,.1);
  padding: .35rem .85rem;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.9);
}

/* --- Cards Grid --- */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 576px) { .cards-grid { grid-template-columns: repeat(2, 1fr); gap: 1.75rem; } }
@media (min-width: 992px) { .cards-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 1.75rem;
  transition: transform var(--duration-normal) var(--ease-spring),
              box-shadow var(--duration-normal) var(--ease-out);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
}
/* Top accent bar on hover */
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sky), var(--orange-light));
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.card:hover::before { opacity: 1; }

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--sky-pale), rgba(74,144,217,.12));
  color: var(--sky);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1;
}
.card h3 { margin-bottom: .5rem; }
.card p { font-size: .95rem; color: var(--gray-600); flex: 1; }
.card .card-price { font-weight: 700; color: var(--orange); margin: .75rem 0 .25rem; }
.card .card-link {
  font-weight: 600;
  color: var(--sky);
  font-size: .95rem;
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  transition: color var(--duration-fast), gap var(--duration-fast);
}
.card .card-link:hover { color: var(--navy); gap: .5rem; }
a.card { color: inherit; text-decoration: none; }

/* --- Steps --- */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  text-align: center;
}
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } }

.step { padding: 1.5rem; }
.step-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sky) 0%, var(--sky-light) 100%);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  box-shadow: 0 4px 16px rgba(74,144,217,.25);
}
.step h3 { margin-bottom: .5rem; }
.step p { font-size: .95rem; color: var(--gray-600); }

/* --- Advantages --- */
.advantages-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) { .advantages-grid { grid-template-columns: repeat(2, 1fr); } }

.advantage {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.advantage-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--sky) 0%, var(--sky-light) 100%);
  color: var(--white);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(74,144,217,.2);
}
.advantage h3 { margin-bottom: .25rem; font-size: 1.1rem; }
.advantage p { font-size: .95rem; color: var(--gray-600); margin-bottom: 0; }

/* --- Table --- */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}
.styled-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: .95rem;
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.styled-table thead {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
}
.styled-table th { padding: 1.1rem 1.25rem; text-align: left; font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; white-space: nowrap; }
.styled-table td { padding: 1rem 1.25rem; border-bottom: 1px solid var(--gray-200); vertical-align: top; }
.styled-table tbody tr:last-child td { border-bottom: none; }
.styled-table tbody tr { transition: background var(--duration-fast); }
.styled-table tbody tr:hover { background: rgba(74,144,217,.06); }
.styled-table tbody tr:nth-child(even) { background: var(--gray-50); }
.styled-table tbody tr:nth-child(even):hover { background: rgba(74,144,217,.06); }
.pack-detail { font-size: .85rem; color: var(--gray-500); display: block; margin-top: .25rem; }

/* Price highlight in tables */
.styled-table td:not(:first-child) { font-weight: 600; color: var(--navy); text-align: center; white-space: nowrap; }
.styled-table th:not(:first-child) { text-align: center; }

/* Responsive table: card layout on mobile */
@media (max-width: 640px) {
  .table-wrap { box-shadow: none; border-radius: 0; border: none; }
  .styled-table, .styled-table thead, .styled-table tbody, .styled-table th, .styled-table td, .styled-table tr {
    display: block;
  }
  .styled-table { border-radius: 0; }
  .styled-table thead { display: none; }
  .styled-table tbody tr {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    margin-bottom: 1rem;
    padding: 1rem 1.25rem;
    display: flex;
    flex-wrap: wrap;
    gap: .25rem .75rem;
    align-items: center;
  }
  .styled-table tbody tr:nth-child(even) { background: var(--white); }
  .styled-table tbody tr:hover { background: var(--white); }
  .styled-table td {
    border-bottom: none;
    padding: 0;
    font-size: .9rem;
  }
  .styled-table td:first-child {
    flex: 1 1 100%;
    margin-bottom: .5rem;
    padding-bottom: .5rem;
    border-bottom: 1px solid var(--gray-200);
  }
  .styled-table td:not(:first-child) {
    text-align: left;
    flex: 1;
  }
  .styled-table td:not(:first-child)::before {
    content: attr(data-label);
    display: block;
    font-size: .75rem;
    font-weight: 500;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: .03em;
    margin-bottom: .15rem;
  }
  .styled-table td:not(:first-child) {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--orange);
  }
}

/* --- FAQ Accordion --- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--gray-200); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.35rem 3rem 1.35rem 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  text-align: left;
  cursor: pointer;
  position: relative;
  font-family: inherit;
  line-height: 1.4;
  transition: color var(--duration-fast);
}
.faq-question:hover { color: var(--sky); }

/* CSS chevron */
.faq-question::after {
  content: '';
  position: absolute;
  right: .75rem;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--sky);
  border-bottom: 2px solid var(--sky);
  transform: translateY(-70%) rotate(45deg);
  transition: transform var(--duration-normal) var(--ease-out);
}
.faq-item.active .faq-question::after {
  transform: translateY(-30%) rotate(-135deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-slow) var(--ease-out),
              padding var(--duration-normal);
}
.faq-answer-inner { padding: 0 0 1.35rem; font-size: .95rem; color: var(--gray-600); line-height: 1.75; }
.faq-item.active .faq-answer { max-height: 600px; }

/* --- CTA Section --- */
.cta-section {
  background:
    radial-gradient(ellipse at 30% 50%, rgba(74,144,217,.12) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 30%, rgba(232,121,58,.06) 0%, transparent 40%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 50%, var(--navy-light) 100%);
  color: var(--white);
  text-align: center;
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}
.cta-section h2 { color: var(--white); margin-bottom: .75rem; }
.cta-section p { color: rgba(255,255,255,.85); margin-bottom: 1.75rem; font-size: 1.1rem; opacity: 1; }
.cta-section .btn-cta { font-size: 1.15rem; padding: 1rem 2.5rem; border-radius: var(--radius-lg); box-shadow: var(--shadow-orange-lg); }
/* TODO: retirer display:none quand le vrai numéro sera renseigné */
.cta-phone { display: none; margin-top: 1rem; font-size: .95rem; color: rgba(255,255,255,.8); }
.cta-phone a { color: var(--white); }

/* --- Forms --- */
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .4rem; color: var(--navy); letter-spacing: 0.01em; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .85rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out),
              background-color var(--duration-fast);
  background: var(--gray-50);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--sky);
  box-shadow: 0 0 0 4px rgba(74,144,217,.1);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group .error-msg { color: var(--red); font-size: .8rem; margin-top: .25rem; display: none; }
.form-group.has-error input,
.form-group.has-error select { border-color: var(--red); }
.form-group.has-error .error-msg { display: block; }

.form-submit { text-align: center; margin-top: 1.5rem; }
.form-submit .btn-cta { width: 100%; max-width: 400px; font-size: 1.05rem; padding: .875rem 2rem; }

/* --- Sidebar (diagnostic pages) --- */
.diag-layout { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 992px) { .diag-layout { grid-template-columns: 1fr 340px; } }

.diag-content h2 { margin-top: 2rem; }
.diag-content h2:first-child { margin-top: 0; }
.diag-content ul { list-style: disc; margin-left: 1.25rem; margin-bottom: 1rem; }
.diag-content li { margin-bottom: .35rem; font-size: .95rem; }

.diag-sidebar { position: relative; }
@media (min-width: 992px) {
  .diag-sidebar-inner {
    position: sticky;
    top: 100px;
  }
}
.sidebar-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}
.sidebar-card h3 { margin-bottom: 1rem; font-size: 1.1rem; }
.sidebar-card .form-group { margin-bottom: .75rem; }
.sidebar-card .btn-cta { width: 100%; text-align: center; }
.sidebar-phone {
  text-align: center;
  padding: 1.25rem;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-lg);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.sidebar-phone a { color: var(--white); font-size: 1.25rem; font-weight: 700; }

/* --- Price badge --- */
.price-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  color: var(--white);
  padding: .5rem 1.35rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 1.1rem;
  margin-top: .75rem;
  box-shadow: var(--shadow-orange);
}

/* --- Zones (tags) --- */
.zone-tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.zone-tag {
  display: inline-block;
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: .4rem 1rem;
  border-radius: var(--radius-pill);
  font-size: .9rem;
  color: var(--gray-700);
  transition: all var(--duration-fast) var(--ease-out);
  box-shadow: var(--shadow-sm);
}
a.zone-tag:hover {
  background: var(--sky);
  color: var(--white);
  border-color: var(--sky);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(74,144,217,.2);
}

/* --- Footer --- */
.site-footer {
  background: linear-gradient(180deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: rgba(255,255,255,.85);
  padding: 4rem 0 0;
  font-size: .9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }

.footer-col h3, .footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: .5rem;
}
/* Accent underline on footer headings */
.footer-col h3::after, .footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--orange);
  border-radius: var(--radius-pill);
}
.footer-col a {
  color: rgba(255,255,255,.75);
  display: block;
  padding: .25rem 0;
  font-size: .9rem;
  transition: color var(--duration-fast), padding-left var(--duration-fast);
}
.footer-col a:hover {
  color: var(--orange);
  padding-left: .25rem;
}
.footer-col p { font-size: .9rem; line-height: 1.7; color: rgba(255,255,255,.75); }
.footer-col .btn-cta { margin-top: .75rem; display: inline-block; padding: .6rem 1.25rem; font-size: .875rem; }

.footer-bottom, .copyright-bar {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.25rem 0;
  text-align: center;
  font-size: .8rem;
  color: rgba(255,255,255,.5);
}
.footer-bottom a, .copyright-bar a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover, .copyright-bar a:hover { color: var(--orange); }

/* --- Sticky Mobile Phone Bar --- */
/* TODO: retirer display:none quand le vrai numéro sera renseigné */
.mobile-phone-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  color: var(--white);
  justify-content: center;
  align-items: center;
  padding: .75rem;
  font-weight: 600;
  font-size: 1rem;
  z-index: 999;
  box-shadow: 0 -4px 20px rgba(0,0,0,.15);
}
.mobile-phone-bar a { color: var(--white); }
@media (min-width: 992px) { .mobile-phone-bar { display: none; } }

/* Extra bottom padding on mobile so content not hidden behind phone bar */
/* TODO: réactiver quand le vrai numéro sera renseigné */
/* @media (max-width: 991px) { body { padding-bottom: 56px; } } */

/* --- Devis page (clean) --- */
.devis-page .hero { text-align: center; }
.devis-page .hero h1 { max-width: 600px; margin-left: auto; margin-right: auto; }
.devis-form-wrap {
  max-width: 640px;
  margin: -2.5rem auto 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 2.25rem;
  position: relative;
  z-index: 2;
  border: 1px solid var(--gray-200);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 576px) { .form-row { grid-template-columns: 1fr 1fr; } }

/* --- Tarifs page --- */
.tarifs-section h2 { margin-bottom: 1.5rem; }
.tarifs-mention {
  font-size: .9rem;
  color: var(--gray-500);
  font-style: italic;
  margin-top: 1rem;
}

/* Comparison table variant (vente vs location) — keep standard colors on mobile */
.styled-table--compare td:not(:first-child) { font-weight: 500; color: var(--gray-700); text-align: left; }
.styled-table--compare th:not(:first-child) { text-align: left; }
@media (max-width: 640px) {
  .styled-table--compare td:not(:first-child) { font-weight: 500; color: var(--gray-700); font-size: .9rem; }
}

/* --- Mentions legales --- */
.legal-content h2 { margin-top: 2rem; font-size: 1.35rem; }
.legal-content p, .legal-content li { font-size: .95rem; }

/* --- Hero subpage --- */
.hero-sub { padding: 3rem 0; }
.hero-sub h1 { font-size: 1.85rem; }
@media (min-width: 768px) {
  .hero-sub { padding: 4rem 0; }
  .hero-sub h1 { font-size: 2.5rem; }
}

/* --- City page --- */
.city-content h2 { margin-top: 2rem; }
.city-content h2:first-child { margin-top: 0; }
.city-content ul { list-style: disc; margin-left: 1.25rem; margin-bottom: 1rem; }
.city-content li { margin-bottom: .35rem; }

/* --- Compat: subagent-generated nav structure --- */
/* These pages use: .site-header > .container > .logo + nav.main-nav > ul + .hamburger */
/* Instead of: .site-header > .container.nav-wrap > .logo + nav > ul.nav-menu + .hamburger */

/* Make the container flex in the header even without nav-wrap class */
.site-header > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: .75rem;
  padding-bottom: .75rem;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .75rem 0;
}

/* Style .main-nav > ul and .nav-list the same as .nav-menu */
.main-nav > ul,
.nav-list {
  display: none;
  gap: 1.5rem;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav > ul li,
.nav-list li { position: relative; }
.main-nav > ul > li > a,
.nav-list > li > a { color: var(--gray-700); font-weight: 500; font-size: .95rem; padding: .5rem 0; display: block; position: relative; }
.main-nav > ul > li > a:hover,
.nav-list > li > a:hover { color: var(--sky); }

.main-nav .arrow,
.nav-list .arrow { font-size: .7em; }

.main-nav .has-dropdown > a::after,
.nav-list .has-dropdown > a::after { content: ''; }

.main-nav .dropdown,
.nav-list .dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: -1rem;
  background: var(--white);
  min-width: 260px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: .5rem 0;
  z-index: 100;
  list-style: none;
  border: 1px solid var(--gray-200);
  animation: dropdown-in var(--duration-fast) var(--ease-out);
}
.main-nav .dropdown a,
.nav-list .dropdown a { padding: .5rem 1.25rem; font-size: .9rem; }
.main-nav .dropdown a:hover,
.nav-list .dropdown a:hover { background: var(--gray-50); color: var(--sky); }
.main-nav .has-dropdown:hover > .dropdown,
.nav-list .has-dropdown:hover > .dropdown { display: block; }

.main-nav .nav-cta a,
.nav-list .nav-cta a {
  display: inline-block;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  color: var(--white) !important;
  padding: .625rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: transform var(--duration-fast) var(--ease-spring),
              box-shadow var(--duration-normal) var(--ease-out),
              filter var(--duration-fast);
  box-shadow: var(--shadow-orange);
  position: relative;
  overflow: hidden;
}
.main-nav .nav-cta a:hover,
.nav-list .nav-cta a:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

/* Mobile menu open state */
.main-nav > ul.open,
.nav-list.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 1.25rem;
  border-top: 1px solid var(--gray-200);
  box-shadow: var(--shadow-lg);
  gap: .25rem;
  animation: mobile-menu-in var(--duration-normal) var(--ease-out);
}

@media (min-width: 992px) {
  .main-nav > ul,
  .nav-list { display: flex; }
}
