/* ============================================
   Variables & base
   ============================================ */
:root {
  /* Palette principe : rouge, blanc, bleu */
  --red: #c1121f;
  --red-dark: #9e0e18;
  --white: #ffffff;
  --blue-dark: #0f3460;
  --blue: #0077b6;
  --blue-navy: #16213e;
  --dark: #1a1a2e;
  --light: #f8f9fa;
  --gray-border: #e0e0e0;
  /* Rétrocompatibilité profils (tous en rouge/bleu) */
  --malusse: #c1121f;
  --resilie: #9e0e18;
  --jeune: #0f3460;
  --sinistre: #0077b6;
  --red-accent: #c1121f;
}

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

body {
  font-family: 'Outfit', sans-serif;
  color: var(--dark);
  background: var(--light);
  line-height: 1.6;
  font-size: 1rem;
}

/* Mobile first: touch targets min 44px */
a, button { min-height: 44px; min-width: 44px; }
a.cta-header, a.product-cta, a.cta-btn { display: inline-flex; align-items: center; justify-content: center; }

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 999;
  padding: 0.75rem 1rem;
  background: var(--dark);
  color: var(--white);
  text-decoration: none;
}
.skip-link:focus { left: 0; top: 0; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem 3rem;
}
.container-narrow { max-width: 720px; }
.page-lead { color: #555; margin-bottom: 2rem; }

/* ============================================
   Header
   ============================================ */
.site-header,
header {
  background: linear-gradient(135deg, var(--dark) 0%, #16213e 100%);
  color: var(--white);
  padding: 1.5rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Header maquette : fond blanc, style épuré */
.site-header--light {
  background: var(--white);
  color: var(--blue-dark);
  box-shadow: 0 2px 12px rgba(15, 52, 96, 0.08);
}
.site-header--light .nav-main a:hover,
.site-header--light .nav-dropdown-trigger:hover { color: var(--red-accent); }
.site-header--light .nav-dropdown-menu {
  background: var(--white);
  border: 1px solid var(--gray-border);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.site-header--light .nav-dropdown-menu a { color: var(--blue-dark); }
.site-header--light .nav-dropdown-menu a:hover { background: var(--light); }

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  position: relative;
}

/* Logo maquette : cercle rouge + symbole */
.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.logo-icon {
  position: relative;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}
.logo-icon-ring {
  position: absolute;
  inset: 0;
  border: 2px solid var(--malusse);
  border-radius: 50%;
}
.logo-icon-symbol {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  background: var(--malusse);
  border-radius: 50%;
  border: 2px solid var(--white);
}
.logo-text { color: var(--blue-dark); }
.site-header:not(.site-header--light) .logo-text { color: var(--white); }
.site-header:not(.site-header--light) .logo-icon-ring { border-color: var(--malusse); }
.site-header:not(.site-header--light) .logo-icon-symbol { background: var(--malusse); }

.nav-main {
  display: flex;
  align-items: center;
  gap: 0.5rem 1rem;
  flex-wrap: wrap;
}
.nav-main a {
  color: inherit;
  text-decoration: none;
  font-weight: 500;
  min-height: 0;
  min-width: 0;
  padding: 0.35rem 0;
}
.nav-main a:hover { text-decoration: underline; }
.nav-main a.btn-header,
.nav-main a.btn-header:hover { text-decoration: none; }

/* Boutons header : texte toujours visible (priorité sur .nav-main a) */
.nav-main a.btn-header.btn-header--primary { color: var(--white) !important; }
.nav-main a.btn-header.btn-header--outline { color: var(--white) !important; }
.nav-main a.btn-header.btn-header--outline:hover { color: var(--blue-dark) !important; }

/* Boutons header : ne jamais les écraser (flex), padding large par rapport au texte */
.nav-main .btn-header {
  flex-shrink: 0;
  padding-left: 3rem;
  padding-right: 3rem;
  min-width: auto;
}
.btn-header {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 3rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  min-height: 50px;
  white-space: nowrap;
  gap: 0.35rem;
  flex-shrink: 0;
}
/* Pas de flèche dans les boutons navbar */
.nav-main .btn-header .btn-arrow,
.nav-main .btn-header::after { display: none !important; }
.btn-header--primary {
  background: var(--blue-dark);
  color: var(--white);
  border: none;
}
.btn-header--primary { color: var(--white); }
.btn-header--primary:hover {
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 52, 96, 0.35);
}
.btn-header--outline {
  background: var(--blue-dark);
  color: var(--white);
  border: 2px solid var(--blue-dark);
}
.btn-header--outline:hover {
  background: var(--white);
  color: var(--blue-dark);
  border-color: var(--blue-dark);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.site-header:not(.site-header--light) .btn-header--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.site-header:not(.site-header--light) .btn-header--outline:hover { color: var(--white); }
.site-header:not(.site-header--light) .btn-header--primary {
  background: var(--malusse);
  color: var(--white);
}
.site-header:not(.site-header--light) .btn-header--primary:hover { color: var(--white); }

/* Rétrocompatibilité */
.cta-header {
  background: var(--malusse);
  color: var(--white);
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}
.cta-header:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 93, 4, 0.4);
}

/* Menu déroulant "Nos profils" */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-trigger {
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
  padding: 0.35rem 0;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-dropdown-trigger::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid currentColor;
  margin-left: 2px;
}
.nav-dropdown-trigger:hover { text-decoration: underline; }
.nav-dropdown-menu {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  min-width: 180px;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--dark);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  display: none;
  z-index: 50;
}
.nav-dropdown-menu a {
  display: block;
  padding: 0.5rem 1rem;
  color: inherit;
  text-decoration: none;
  font-weight: 500;
}
.nav-dropdown-menu a:hover {
  background: rgba(255,255,255,0.1);
  text-decoration: none;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
  display: block;
}
.nav-dropdown-trigger[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.2);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  position: relative;
}
.nav-toggle::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 14px;
  width: 20px;
  height: 2px;
  background: var(--white);
  box-shadow: 0 6px 0 var(--white), 0 12px 0 var(--white);
}
.site-header .nav-toggle { color: var(--white); }
.site-header--light .nav-toggle {
  background: var(--light);
  color: var(--blue-dark);
}
.site-header--light .nav-toggle::before,
.site-header--light .nav-toggle::before { background: var(--blue-dark); box-shadow: 0 6px 0 var(--blue-dark), 0 12px 0 var(--blue-dark); }

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.logo span { color: var(--malusse); }

/* ============================================
   Hero
   ============================================ */
.hero {
  background: linear-gradient(135deg, var(--dark) 0%, #0f3460 50%, #16213e 100%);
  color: var(--white);
  padding: 4rem 2rem;
  text-align: center;
}

.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 0.8rem;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: 1.15rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.hero .badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* Hero maquette : 2 colonnes, fond clair */
.hero--modern {
  background: var(--light);
  color: var(--blue-dark);
  padding: 3rem 1.5rem 4rem;
  text-align: left;
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero-content { padding-right: 1rem; }
.hero-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
.hero-subtitle {
  font-size: 1.25rem;
  color: var(--blue-dark);
  opacity: 0.95;
  margin-bottom: 1.5rem;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.btn-hero-modern {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  min-height: 48px;
}
.btn-hero-modern .btn-arrow { margin-left: 0.35rem; font-weight: 600; }
.btn-hero-modern--primary {
  background: var(--blue-dark);
  color: var(--white);
  border: none;
}
.btn-hero-modern--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 52, 96, 0.35);
}
.btn-hero-modern--outline {
  background: var(--white);
  color: var(--blue-dark);
  border: 2px solid var(--gray-border);
}
.btn-hero-modern--outline:hover {
  border-color: var(--blue-dark);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.hero-badge {
  display: inline-block;
  font-size: 0.9rem;
  color: #555;
}
.hero-visual {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-target {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  z-index: 0;
}
.hero-target-outer {
  position: absolute;
  inset: 0;
  border: 12px solid var(--red-accent);
  border-radius: 50%;
}
.hero-target-inner {
  position: absolute;
  inset: 50%;
  transform: translate(-50%, -50%);
  width: 45%;
  height: 45%;
  background: var(--white);
  border: 8px solid var(--red-accent);
  border-radius: 50%;
}
.hero-car-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 380px;
}
.hero-car-img {
  max-width: 100%;
  height: auto;
  display: block;
}
.hero-car-placeholder {
  display: none;
  width: 100%;
  aspect-ratio: 2/1;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--sinistre) 100%);
  border-radius: 12px;
  opacity: 0.9;
}
.hero-skyline {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 30%;
  height: 80px;
  background: linear-gradient(to top, rgba(0,0,0,0.06) 0%, transparent 100%);
  border-radius: 4px 4px 0 0;
  pointer-events: none;
}
@media (max-width: 767px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  .hero-content { padding-right: 0; }
  .hero-ctas { justify-content: center; }
  .hero-visual { min-height: 220px; }
  .hero-target { width: 240px; height: 240px; }
}

/* Formulaire rapide accueil (pages sans hero modern) */
.form-quick { margin-top: 1.5rem; }
.form-quick-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
  max-width: 480px;
  margin: 0 auto;
}
.form-quick select {
  padding: 0.65rem 1rem;
  border-radius: 8px;
  border: none;
  font-family: inherit;
  font-size: 1rem;
  min-width: 180px;
}
.btn-hero {
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  background: var(--white);
  color: var(--sinistre);
  font-family: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* ============================================
   Main
   ============================================ */
main {
  padding: 0 0 4rem;
}

.section-intro {
  text-align: center;
  margin-bottom: 3rem;
}

.section-intro h2 {
  font-size: 1.8rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.section-intro p {
  color: #555;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

/* ============================================
   Product sections (cartes) – pages profil
   ============================================ */
.product-section.product-single {
  margin-bottom: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(15, 52, 96, 0.1);
  background: var(--white);
  border: 1px solid rgba(15, 52, 96, 0.06);
  transition: box-shadow 0.3s ease;
}
.product-section.product-single:hover {
  box-shadow: 0 16px 56px rgba(15, 52, 96, 0.12);
}

.product-section .section-header {
  padding: 1.75rem 2rem;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
}
.product-section .section-header .product-section-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.95);
}
.product-section .section-header .product-section-icon svg {
  width: 28px;
  height: 28px;
  display: block;
}
.product-section.jeune .section-header .product-section-icon {
  color: rgba(255, 255, 255, 0.95);
}
.product-section .section-header h2,
.product-section .section-header h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.product-section.malusse .section-header {
  background: linear-gradient(135deg, #c1121f 0%, #9e0e18 100%);
}
.product-section.resilie .section-header {
  background: linear-gradient(135deg, #9e0e18 0%, #7a0b12 100%);
}
.product-section.jeune .section-header {
  background: linear-gradient(135deg, var(--blue-dark) 0%, #0a3d6b 100%);
  color: var(--white);
}
.product-section.sinistre .section-header {
  background: linear-gradient(135deg, #0077b6 0%, var(--blue-dark) 100%);
}

.product-section .section-body {
  padding: 2rem 2rem 2.25rem;
}
.product-section .section-body > p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #444;
}

.keywords-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}
.keyword-tag {
  background: var(--light);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--blue-dark);
  font-weight: 500;
  border: 1px solid transparent;
  transition: background 0.2s, color 0.2s;
}
.product-section.malusse .keyword-tag {
  background: rgba(193, 18, 31, 0.08);
  color: #8b0d14;
}
.product-section.malusse .keyword-tag:hover {
  background: rgba(193, 18, 31, 0.14);
}
.product-section.resilie .keyword-tag {
  background: rgba(158, 14, 24, 0.08);
  color: #7a0b12;
}
.product-section.resilie .keyword-tag:hover {
  background: rgba(158, 14, 24, 0.14);
}
.product-section.jeune .keyword-tag {
  background: rgba(15, 52, 96, 0.08);
  color: var(--blue-dark);
}
.product-section.jeune .keyword-tag:hover {
  background: rgba(15, 52, 96, 0.14);
}
.product-section.sinistre .keyword-tag {
  background: rgba(0, 119, 182, 0.08);
  color: #005a87;
}
.product-section.sinistre .keyword-tag:hover {
  background: rgba(0, 119, 182, 0.14);
}

.product-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.5rem;
  padding: 0.9rem 1.75rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  color: var(--white);
  transition: transform 0.2s, box-shadow 0.2s;
  min-height: 50px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}
.product-section.malusse .product-cta {
  background: linear-gradient(135deg, #c1121f 0%, #9e0e18 100%);
}
.product-section.resilie .product-cta {
  background: linear-gradient(135deg, #9e0e18 0%, #7a0b12 100%);
}
.product-section.jeune .product-cta {
  background: linear-gradient(135deg, #c9a227 0%, #a88520 100%);
  color: var(--dark);
  box-shadow: 0 4px 14px rgba(201, 162, 39, 0.3);
}
.product-section.sinistre .product-cta {
  background: linear-gradient(135deg, #0077b6 0%, var(--blue-dark) 100%);
}
.product-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.product-section.jeune .product-cta:hover {
  box-shadow: 0 8px 24px rgba(201, 162, 39, 0.35);
}

.product-cta-outline {
  background: transparent !important;
  color: var(--dark);
  border: 2px solid currentColor;
  margin-left: 0.75rem;
  box-shadow: none;
}
.product-section.malusse .product-cta-outline { color: var(--malusse); }
.product-section.resilie .product-cta-outline { color: var(--resilie); }
.product-section.jeune .product-cta-outline { color: var(--jeune); }
.product-section.sinistre .product-cta-outline { color: var(--sinistre); }

/* ============================================
   Bloc devis
   ============================================ */
.devis-block {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: var(--white);
  padding: 2.5rem 2rem;
  border-radius: 16px;
  text-align: center;
  margin-top: 3rem;
  box-shadow: 0 10px 40px rgba(0, 119, 182, 0.25);
}

.devis-block h2 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.devis-block p {
  opacity: 0.95;
  margin-bottom: 1.5rem;
}

.devis-block .cta-btn {
  background: var(--white);
  color: var(--sinistre);
  padding: 0.9rem 2rem;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.2s, box-shadow 0.2s;
}

.devis-block .cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Section confiance / rassurance */
.trust-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #eee;
  text-align: center;
}
.trust-section h2 {
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
  color: var(--dark);
}
.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  justify-content: center;
  text-align: left;
}
.trust-icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--sinistre);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.trust-legal {
  font-size: 0.9rem;
  color: #666;
}
.trust-legal a { color: var(--sinistre); text-decoration: none; min-height: 0; min-width: 0; }
.trust-legal a:hover { text-decoration: underline; }

/* CTA sticky (visible au scroll) */
.cta-sticky {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--malusse);
  color: var(--white);
  padding: 0.75rem 1rem;
  text-align: center;
  z-index: 90;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
}
.cta-sticky.is-visible { transform: translateY(0); }
.cta-sticky-link {
  display: block;
  color: inherit;
  font-weight: 700;
  text-decoration: none;
  min-height: 0;
}

/* ============================================
   Footer – design moderne (maquette : fond bleu marine, colonnes, rouge/blanc)
   ============================================ */
.site-footer,
footer {
  width: 100%;
  background: linear-gradient(180deg, var(--blue-dark) 0%, var(--blue-navy) 100%);
  color: var(--white);
  padding: clamp(2rem, 4vw, 3rem) clamp(1rem, 3vw, 2rem);
  margin-top: auto;
}

.site-footer--modern .footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* Brand + logo (forme rouge + Kymance Assurance) */
.footer-brand {
  margin-bottom: 2rem;
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--white);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}
.footer-logo:hover { color: var(--white); opacity: 0.9; }
.footer-logo-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 36px;
}
.footer-logo-shape {
  position: absolute;
  inset: 0;
  background: var(--red);
  border-radius: 8px 0 0 8px;
}
.footer-logo-symbol {
  position: relative;
  z-index: 1;
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
}
.footer-tagline {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 320px;
  line-height: 1.5;
  margin: 0;
}

/* Grille 4 colonnes : Assurance Auto, Liens Utiles, Infos légales, Nous Contacter */
.footer-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 2rem;
  margin-bottom: 2rem;
}
.footer-col-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  text-transform: none;
  letter-spacing: 0;
}
.footer-col .footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-col .footer-nav a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
  min-height: 0;
  min-width: 0;
  padding: 0;
  border-radius: 0;
}
.footer-col .footer-nav a:hover {
  color: var(--white);
  text-decoration: underline;
  background: transparent;
}

/* Nous Contacter : icônes rouges + infos */
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  font-size: 0.9rem;
  min-height: 0;
  min-width: 0;
}
.footer-contact-item:hover { color: var(--white); }
.footer-contact-address {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}
.footer-contact-icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--red);
  border-radius: 6px;
  color: var(--red);
  flex-shrink: 0;
}
.footer-contact-icon svg {
  display: block;
}

/* Bas : Suivez-nous + Newsletter */
.footer-bottom {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 1.5rem;
}
.footer-social-icons {
  display: flex;
  gap: 0.75rem;
}
.footer-social-link {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  text-decoration: none;
  font-size: 1rem;
  transition: border-color 0.2s, color 0.2s;
  min-height: 0;
  min-width: 0;
}
.footer-social-link:hover {
  border-color: var(--blue);
  color: var(--blue);
}

/* Newsletter */
.footer-newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.footer-newsletter-input {
  flex: 1;
  min-width: 200px;
  padding: 0.6rem 1rem;
  border: none;
  border-radius: 8px;
  background: #38434f;
  color: var(--white);
  font-family: inherit;
  font-size: 0.95rem;
}
.footer-newsletter-input::placeholder {
  color: #a0a8b4;
}
.footer-newsletter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.6rem 1rem;
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.footer-newsletter-btn:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
}
.footer-newsletter-legal {
  font-size: 0.75rem;
  color: #a0a8b4;
  line-height: 1.5;
  margin: 0;
  max-width: 420px;
}
.footer-newsletter-legal a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
  min-height: 0;
  min-width: 0;
}
.footer-newsletter-legal a:hover { color: var(--white); }

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 0;
}

/* ============================================
   Widget scroll (retour en haut)
   ============================================ */
.scroll-top-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--blue-dark);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(15, 52, 96, 0.4);
  transition: opacity 0.3s, transform 0.2s, visibility 0.3s;
  opacity: 0;
  visibility: hidden;
}
.scroll-top-btn.is-visible {
  opacity: 1;
  visibility: visible;
}
.scroll-top-btn:hover {
  background: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 52, 96, 0.5);
}
.scroll-top-btn:focus {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}
.scroll-top-btn svg {
  width: 24px;
  height: 24px;
}

/* ============================================
   Bannière conformité cookies
   ============================================ */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.12);
  padding: 1.25rem 1.5rem;
  display: none;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.cookie-consent.is-visible {
  display: flex;
}
.cookie-consent-text {
  flex: 1;
  min-width: 260px;
  font-size: 0.9rem;
  color: var(--dark);
  line-height: 1.5;
  margin: 0;
}
.cookie-consent-text a {
  color: var(--blue-dark);
  font-weight: 600;
  text-decoration: underline;
}
.cookie-consent-text a:hover { color: var(--blue); }
.cookie-consent-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.cookie-consent-btn {
  padding: 0.6rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  border: none;
  font-family: inherit;
}
.cookie-consent-btn--accept {
  background: var(--blue-dark);
  color: var(--white);
}
.cookie-consent-btn--accept:hover {
  background: var(--blue);
}
.cookie-consent-btn--refuse {
  background: var(--light);
  color: var(--blue-dark);
  border: 2px solid var(--gray-border);
}
.cookie-consent-btn--refuse:hover {
  border-color: var(--blue-dark);
  background: rgba(15, 52, 96, 0.06);
}
@media (min-width: 640px) {
  .cookie-consent { padding: 1.5rem 2rem; }
  .scroll-top-btn { bottom: 2rem; right: 2rem; }
}

.cta-call { font-weight: 600; white-space: nowrap; }

/* Rétrocompatibilité : ancien footer sans .site-footer--modern */
.site-footer:not(.site-footer--modern) .footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  text-align: center;
}
.site-footer:not(.site-footer--modern) {
  background: linear-gradient(180deg, #16213e 0%, var(--dark) 100%);
  color: rgba(255, 255, 255, 0.9);
}
.site-footer:not(.site-footer--modern) .footer-contact p { margin: 0.35rem 0; }
.site-footer:not(.site-footer--modern) .footer-contact a { color: #fff; text-decoration: none; }
.site-footer:not(.site-footer--modern) .footer-nav a { color: rgba(255, 255, 255, 0.9); text-decoration: none; }

/* Footer moderne : desktop */
@media (min-width: 640px) {
  .footer-columns {
    grid-template-columns: repeat(4, 1fr);
  }
  .footer-bottom {
    grid-template-columns: auto 1fr;
    align-items: start;
    justify-content: space-between;
  }
}
@media (min-width: 900px) {
  .site-footer--modern .footer-inner {
    display: grid;
    grid-template-areas: "brand cols" "brand bottom" "copy copy";
    grid-template-columns: 280px 1fr;
    gap: 0 2rem;
    align-items: start;
  }
  .site-footer--modern .footer-brand {
    grid-area: brand;
    margin-bottom: 0;
  }
  .site-footer--modern .footer-columns {
    grid-area: cols;
    margin-bottom: 1.5rem;
  }
  .site-footer--modern .footer-bottom {
    grid-area: bottom;
    margin-bottom: 0;
    padding-top: 0;
    border-top: 0;
  }
  .site-footer--modern .footer-copy {
    grid-area: copy;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
  }
}

/* ============================================
   Hero page profil
   ============================================ */
.hero-profil {
  padding: 3rem 2rem;
}

.hero-profil .cta-hero {
  display: inline-block;
  margin-top: 1rem;
  background: var(--white);
  color: var(--sinistre);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.hero-profil .cta-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.hero-malusse .cta-hero { color: var(--malusse); }
.hero-resilie .cta-hero { color: var(--resilie); }
.hero-jeune .cta-hero { color: var(--dark); }
.hero-sinistre .cta-hero { color: var(--sinistre); }

.hero-malusse {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
}

.hero-resilie {
  background: linear-gradient(135deg, var(--red-dark) 0%, var(--red) 100%);
}

.hero-jeune {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  color: var(--dark);
}

.hero-jeune .badge {
  background: rgba(0, 0, 0, 0.15);
}

.hero-sinistre {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
}

.back-link {
  text-align: center;
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(15, 52, 96, 0.08);
}
.back-link a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--blue-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 0;
  transition: color 0.2s;
}
.back-link a:hover {
  color: var(--sinistre);
}

/* ============================================
   Page devis – formulaire multi-étapes
   ============================================ */
.main-devis {
  margin: 0;
  padding: 0 1.5rem 2rem;
}

.main-devis .hero--modern {
  padding: 3rem 1.5rem 4rem;
}

.devis-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 2.5rem 2rem 4rem;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.devis-title {
  font-size: 1.5rem;
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.devis-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #555;
  margin-bottom: 2rem;
  font-weight: 500;
}

.devis-subtitle-icon {
  display: inline-flex;
  color: var(--sinistre);
}

.devis-subtitle-icon svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Stepper : pourcentage uniquement */
.form-stepper {
  margin-bottom: 2rem;
}

.stepper-percent-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.stepper-percent-bar {
  flex: 1;
  height: 8px;
  background: #e0e0e0;
  border-radius: 999px;
  overflow: hidden;
}

.stepper-percent-fill {
  height: 100%;
  background: var(--sinistre);
  border-radius: 999px;
  transition: width 0.3s ease;
}

.stepper-percent-text {
  font-weight: 700;
  color: var(--sinistre);
  font-size: 1rem;
  min-width: 3rem;
}

.stepper-steps-minimal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.stepper-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  color: #999;
  flex: 0 0 auto;
}

.stepper-step.active {
  color: var(--sinistre);
  font-weight: 600;
}

.stepper-step.done {
  color: var(--sinistre);
}

.stepper-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e0e0e0;
  transition: background 0.2s;
}

.stepper-step.active .stepper-dot,
.stepper-step.done .stepper-dot {
  background: var(--sinistre);
}

.stepper-num {
  display: none;
}

.stepper-label {
  font-size: 0.75rem;
}

.form-stepper-6 .stepper-label,
.form-stepper-7 .stepper-label,
.form-stepper-8 .stepper-label { font-size: 0.55rem; }
@media (min-width: 600px) {
  .form-stepper-6 .stepper-label { font-size: 0.7rem; }
  .form-stepper-7 .stepper-label { font-size: 0.65rem; }
  .form-stepper-8 .stepper-label { font-size: 0.6rem; }
}

/* Blocs conditionnels (formulaire dynamique) */
.cond-block {
  display: none;
  margin-top: 1rem;
  padding-left: 0.5rem;
  border-left: 3px solid var(--sinistre);
}
.cond-block.cond-visible {
  display: block;
}
.form-radio-group-stack {
  flex-direction: column;
  align-items: flex-start;
}

.stepper-line {
  flex: 1;
  height: 2px;
  background: #e0e0e0;
  min-width: 20px;
}

.form-multistep .form-step {
  display: none;
}

.form-multistep .form-step.active {
  display: block;
}

.form-step-title {
  font-size: 1.15rem;
  color: var(--dark);
  margin-bottom: 1.25rem;
}
.form-step-subtitle {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  margin: 1.5rem 0 1rem 0;
}
.form-legal-mention {
  font-size: 0.75rem;
  color: #666;
  margin-top: 1rem;
  line-height: 1.5;
  max-width: 560px;
}
.form-legal-mention a {
  color: var(--sinistre);
  text-decoration: none;
  min-height: 0;
  min-width: 0;
}
.form-legal-mention a:hover {
  text-decoration: underline;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.35rem;
  color: var(--dark);
}

.form-group .required {
  color: var(--resilie);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--sinistre);
  box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.15);
}

.form-group input.error,
.form-group select.error {
  border-color: var(--resilie);
}

.form-group.error .form-radio-group { outline: 2px solid var(--resilie); outline-offset: 2px; border-radius: 6px; }

.form-radio-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.radio-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-weight: 400;
  min-height: 0;
  min-width: 0;
}
.radio-label input { width: auto; min-width: 0; }

/* Options express (cases à cocher synchronisées avec la formule) */
.options-express-fieldset {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 1rem;
  margin: 0;
}
.options-express-fieldset legend {
  font-weight: 600;
  color: var(--dark);
  padding: 0 0.5rem;
}
.options-express-hint {
  color: #888;
  font-size: 0.9rem;
  margin: 0 0 0.5rem 0;
}
.options-express-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-weight: 400;
  min-height: 0;
  min-width: 0;
}
.checkbox-label input { width: auto; min-width: 0; flex-shrink: 0; }
.checkbox-label[style*="display: none"] { display: none !important; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 500px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-actions {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eee;
}

.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary {
  background: var(--sinistre);
  color: var(--white);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(0, 119, 182, 0.35);
}

.btn-secondary {
  background: #e0e0e0;
  color: var(--dark);
}

.btn-secondary:hover {
  background: #d0d0d0;
}

.recap-block {
  background: var(--light);
  border-radius: 8px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.recap-intro {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 1rem;
}
.recap-block dl {
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

.recap-block dt {
  font-weight: 600;
  color: #555;
  margin: 0;
}

.recap-block dd {
  margin: 0 0 0.75rem 0;
}

.recap-block dd:last-child {
  margin-bottom: 0;
}

.form-success {
  text-align: center;
  padding: 2rem;
}

.form-success.hidden {
  display: none;
}

.form-success[hidden] {
  display: none !important;
}

.success-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: #22c55e;
  color: var(--white);
  font-size: 2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.form-success h2 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.form-success p {
  color: #555;
  margin-bottom: 1.5rem;
}

/* ============================================
   FAQ
   ============================================ */
.faq-list { margin-top: 2rem; }
.faq-item {
  border-bottom: 1px solid #eee;
  padding: 1.25rem 0;
}
.faq-question {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
}
.faq-answer p { margin: 0; color: #555; }
.faq-cta { margin-top: 2rem; text-align: center; }

/* ============================================
   Blog
   ============================================ */
.blog-list { margin-top: 2rem; }
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}
@media (min-width: 600px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .blog-grid { grid-template-columns: repeat(3, 1fr); }
}
.blog-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0,0,0,0.04);
  transition: box-shadow 0.2s, transform 0.2s;
}
.blog-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}
.blog-card h2 { font-size: 1.1rem; margin-bottom: 0.5rem; line-height: 1.35; }
.blog-card h2 a { color: var(--dark); text-decoration: none; min-height: 0; min-width: 0; }
.blog-card h2 a:hover { color: var(--sinistre); }
.blog-meta { font-size: 0.8rem; color: #888; margin-bottom: 0.75rem; }
.blog-card p { color: #555; margin-bottom: 1rem; font-size: 0.95rem; flex-grow: 1; }
.blog-link { color: var(--sinistre); font-weight: 600; text-decoration: none; margin-top: auto; }
.blog-link:hover { text-decoration: underline; }

/* Legal pages */
.legal-page section { margin-bottom: 2rem; }
.legal-page h2 { font-size: 1.2rem; margin-bottom: 0.5rem; color: var(--dark); }
.legal-page p { color: #555; }

/* Article blog */
.article-header { margin-bottom: 2rem; }
.article-breadcrumb { font-size: 0.9rem; margin-bottom: 0.5rem; }
.article-breadcrumb a { color: var(--sinistre); text-decoration: none; min-height: 0; min-width: 0; }
.article-meta { color: #888; font-size: 0.9rem; margin-bottom: 0; }
.article-body h2 { font-size: 1.25rem; margin: 1.5rem 0 0.5rem; color: var(--dark); }
.article-body p { margin-bottom: 1rem; }
.article-cta { margin-top: 2rem; }

/* ============================================
   Footer (legacy)
   ============================================ */
footer p {
  font-size: 0.9rem;
}

/* ============================================
   Responsive – Mobile first (breakpoints up)
   ============================================ */
@media (max-width: 767px) {
  .nav-main {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--dark);
    flex-direction: column;
    padding: 1rem;
    gap: 0.5rem;
  }
  .site-header--light .nav-main {
    background: var(--white);
    border-top: 1px solid var(--gray-border);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  }
  .site-header--light .nav-main a,
  .site-header--light .nav-dropdown-trigger { color: var(--blue-dark); }
  .site-header .nav-main.nav-open { display: flex; }
  .nav-dropdown { width: 100%; }
  .nav-dropdown-trigger { width: 100%; justify-content: space-between; padding: 0.5rem 0; }
  .nav-dropdown-menu {
    position: static;
    min-width: 0;
    box-shadow: none;
    padding-left: 1rem;
    margin-top: 0.25rem;
  }
  .nav-dropdown-menu { display: none; }
  .nav-dropdown.is-open .nav-dropdown-menu { display: block; }
  .nav-dropdown:hover .nav-dropdown-menu { display: none; }
  .nav-dropdown.is-open:hover .nav-dropdown-menu { display: block; }
  .nav-toggle { display: flex; align-items: center; justify-content: center; }
  .form-quick-inner { flex-direction: column; width: 100%; }
  .form-quick select { width: 100%; max-width: 280px; }
  .cta-sticky-link { padding: 0.5rem; }
}

@media (min-width: 600px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 600px) {
  .header-inner {
    flex-direction: row;
    text-align: left;
  }

  .keywords-grid {
    grid-template-columns: 1fr;
  }

  .product-section .section-body,
  .product-section .section-header {
    padding: 1rem 1.25rem;
  }

  .product-cta-outline { margin-left: 0; margin-top: 0.5rem; }
}

/* ============================================
   Sections réutilisables : Partenaires, Contact CTA, Offres, Profils, Services, Avis
   ============================================ */
.section-title { font-size: 1.75rem; color: var(--blue-dark); margin-bottom: 1rem; }
.section-title--center { text-align: center; }

/* Section Partenaires – défilement infini */
.section-partenaires {
  padding: 2rem 0;
  background: var(--white);
  overflow: hidden;
}
.partenaires-inner { max-width: 1100px; margin: 0 auto; padding: 0 1rem; }
.partenaires-track-wrap { overflow: hidden; margin-top: 1rem; }
.partenaires-track {
  display: flex;
  width: max-content;
  animation: partenaires-scroll 30s linear infinite;
}
.partenaires-track:hover { animation-play-state: paused; }
@keyframes partenaires-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.partenaires-list {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0 1rem;
  flex-shrink: 0;
}
.partenaire-logo {
  width: 120px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--light);
  border-radius: 8px;
}
.partenaire-placeholder {
  font-size: 0.7rem;
  color: #888;
  text-align: center;
  padding: 0 0.5rem;
}
.partenaire-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* Section Contact CTA (avant footer) */
/* Page Contact */
.contact-page-section { padding: 3rem 1rem; }
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}
.contact-card {
  background: var(--white);
  padding: 1.75rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  text-align: center;
  border: 1px solid rgba(0,0,0,0.04);
}
.contact-card-icon { font-size: 2rem; display: block; margin-bottom: 0.75rem; }
.contact-card h3 { font-size: 1.15rem; color: var(--blue-dark); margin-bottom: 0.5rem; }
.contact-card p { font-size: 0.95rem; color: #555; margin-bottom: 1rem; }
.contact-card-note { font-size: 0.85rem; color: #888; margin-bottom: 0; }
.contact-card-link {
  display: inline-block;
  color: var(--sinistre);
  font-weight: 600;
  text-decoration: none;
}
.contact-card-link:hover { text-decoration: underline; }

.section-contact-cta {
  padding: 3rem 1rem;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-navy) 100%);
  color: var(--white);
}
.contact-cta-inner { max-width: 640px; margin: 0 auto; }
.contact-cta-card {
  background: rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.2);
}
.contact-cta-title {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--white);
}
.contact-cta-text {
  margin-bottom: 1.5rem;
  opacity: 0.95;
  font-size: 1.05rem;
}
.contact-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}
.contact-cta-buttons .btn-hero-modern--primary { background: var(--white); color: var(--blue-dark); }
.contact-cta-buttons .btn-hero-modern--primary .btn-arrow { color: var(--blue-dark); }
/* Bouton numéro : fond blanc, texte bleu foncé pour rester lisible */
.contact-cta-buttons .btn-hero-modern--outline {
  background: var(--white);
  border: 2px solid rgba(255,255,255,0.8);
  color: var(--blue-dark);
}
.contact-cta-buttons .btn-hero-modern--outline span,
.contact-cta-buttons .btn-hero-modern--outline .btn-arrow { color: var(--blue-dark); }
.contact-cta-buttons .btn-hero-modern--outline:hover {
  border-color: var(--white);
  color: var(--blue-dark);
}
.contact-cta-buttons .btn-hero-modern--outline:hover span,
.contact-cta-buttons .btn-hero-modern--outline:hover .btn-arrow { color: var(--blue-dark); }

/* Section Nos offres spécialisées – 4 cards photo + texte */
.section-offres { padding: 3rem 1rem; }
.offres-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.offre-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}
.offre-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.12); }
.offre-card-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  background: var(--light);
}
.offre-card-body { padding: 1.25rem; }
.offre-card h3 { font-size: 1.2rem; color: var(--blue-dark); margin-bottom: 0.5rem; }
.offre-card p { color: #555; font-size: 0.95rem; margin-bottom: 1rem; }
.offre-card a { font-weight: 600; color: var(--blue-dark); text-decoration: none; }
.offre-card a:hover { text-decoration: underline; }

/* Section Profils – adapté à chaque profil (5 items) */
.section-profils { padding: 3rem 1rem; background: var(--light); }
.section-profils .section-title { text-align: center; margin-bottom: 1.5rem; }
.profils-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}
.profils-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: var(--white);
  border-radius: 12px;
  color: var(--blue-dark);
  text-decoration: none;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}
.profils-list a:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.1); }

/* Section Nos services – 4 chiffres clés */
.section-services { padding: 3rem 1rem; }
.services-chiffres {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.chiffre-card {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.chiffre-card-num {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--blue-dark);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}
.chiffre-card-label { color: #555; font-size: 0.95rem; }

/* Section Avis – 15 cards, défilement infini */
.section-avis { padding: 3rem 0; background: var(--white); overflow: hidden; }
.section-avis .section-title { text-align: center; margin-bottom: 1.5rem; padding: 0 1rem; }
.avis-track-wrap { overflow: hidden; }
.avis-track {
  display: flex;
  gap: 0;
  width: max-content;
  padding: 0 1rem;
  animation: avis-scroll 60s linear infinite;
}
.avis-group {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
  padding-right: 1rem;
}
.avis-track:hover { animation-play-state: paused; }
@keyframes avis-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.avis-card {
  flex-shrink: 0;
  width: 280px;
  padding: 1.25rem;
  background: var(--light);
  border-radius: 12px;
  border: 1px solid var(--gray-border);
}
.avis-card-note { color: var(--red); font-weight: 700; margin-bottom: 0.5rem; }
.avis-card-text { font-size: 0.95rem; color: var(--dark); margin-bottom: 0.75rem; line-height: 1.5; }
.avis-card-author { font-size: 0.85rem; color: #666; }

/* Section FAQ accueil (aperçu) */
.section-faq-preview { padding: 3rem 1rem; background: var(--light); }
.section-faq-preview .section-title { text-align: center; margin-bottom: 1.5rem; }
.faq-preview-list { max-width: 720px; margin: 0 auto; }
.faq-preview-item {
  padding: 1rem 0;
  border-bottom: 1px solid var(--gray-border);
}
.faq-preview-item:last-child { border-bottom: none; }
.faq-preview-item h3 { font-size: 1.05rem; color: var(--blue-dark); margin-bottom: 0.35rem; }
.faq-preview-item p { font-size: 0.95rem; color: #555; }
.section-faq-preview .cta-link { display: inline-block; margin-top: 1rem; font-weight: 600; color: var(--blue-dark); }

/* ============================================
   Pages profil : Assurance pour conducteur, Avantages, Motifs, Infos à savoir
   ============================================ */
.section-profil-assurance {
  padding: 3rem 1rem;
  background: var(--white);
}
.profil-assurance-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.profil-assurance-content h2 { font-size: 1.75rem; color: var(--blue-dark); margin-bottom: 1rem; }
.profil-assurance-content p { color: #555; margin-bottom: 1rem; }
.profil-assurance-visual {
  aspect-ratio: 4/3;
  background: var(--light);
  border-radius: 16px;
  overflow: hidden;
}
.profil-assurance-visual img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 767px) {
  .profil-assurance-inner { grid-template-columns: 1fr; }
}

.section-avantages-profil { padding: 3rem 1rem; background: var(--light); }
.section-avantages-profil .section-title { text-align: center; margin-bottom: 1.5rem; }
.avantages-profil-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
}
.avantage-profil-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.avantage-profil-card h3 { font-size: 1.1rem; color: var(--blue-dark); margin-bottom: 0.5rem; }
.avantage-profil-card p { font-size: 0.95rem; color: #555; }

.section-motifs-profil { padding: 3rem 1rem; background: var(--white); }
.section-motifs-profil .section-title { text-align: center; margin-bottom: 1.5rem; }
.motifs-profil-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
}
.motif-profil-card {
  background: var(--light);
  padding: 1.25rem;
  border-radius: 12px;
  border-left: 4px solid var(--blue-dark);
}
.motif-profil-card h3 { font-size: 1.05rem; color: var(--blue-dark); margin-bottom: 0.5rem; }
.motif-profil-card p { font-size: 0.95rem; color: #555; }

/* Section Information à savoir – 5 situations à éviter (pages profil) */
.section-infos-savoir {
  padding: 4rem 1.5rem;
  background: linear-gradient(180deg, var(--light) 0%, #e8eef4 100%);
  position: relative;
}
.section-infos-savoir .section-title {
  text-align: center;
  margin-bottom: 0.5rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  color: var(--blue-dark);
  font-weight: 700;
}
.section-infos-savoir .section-subtitle {
  text-align: center;
  font-size: 1rem;
  color: #5a6b7d;
  max-width: 520px;
  margin: 0 auto 2.5rem;
  line-height: 1.5;
}
.infos-savoir-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 700px) {
  .infos-savoir-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}
.info-savoir-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: var(--white);
  padding: 1.5rem 1.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(15, 52, 96, 0.08);
  border: 1px solid rgba(15, 52, 96, 0.06);
  transition: box-shadow 0.25s, transform 0.25s;
}
.info-savoir-item:hover {
  box-shadow: 0 8px 28px rgba(15, 52, 96, 0.12);
  transform: translateY(-2px);
}
.info-savoir-item-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--sinistre) 0%, #9e0e18 100%);
  color: var(--white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(193, 18, 31, 0.25);
}
.info-savoir-item > div { flex: 1; min-width: 0; }
.info-savoir-item h3 {
  font-size: 1.05rem;
  color: var(--blue-dark);
  margin-bottom: 0.35rem;
  font-weight: 600;
  line-height: 1.3;
}
.info-savoir-item p { font-size: 0.9rem; color: #555; line-height: 1.5; margin: 0; }
