/* ==========================================================
   ALLO-PRETS — FEUILLE DE STYLE PRINCIPALE
   Fichier unique, sans doublon
   ========================================================== */

/* ==========================================================
   1. VARIABLES
   ========================================================== */
:root {
  --navy: #1a3a6b;
  --navy-dark: #0f2748;
  --navy-light: #2a5298;
  --teal: #4DD0E1;
  --teal-dark: #26B5C9;
  --teal-light: #B8EBF2;
  --bg: #ffffff;
  --bg-soft: #f5f9fc;
  --text: #1c2b3a;
  --text-muted: #5a6b7d;
  --border: #e3ecf3;
  --success: #22a06b;
  --primary: #1a3a6b;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 6px rgba(26,58,107,0.06);
  --shadow: 0 6px 20px rgba(26,58,107,0.09);
  --shadow-lg: 0 14px 36px rgba(26,58,107,0.13);
  --gradient: linear-gradient(135deg, #4DD0E1 0%, #2a5298 55%, #1a3a6b 100%);
  --gradient-soft: linear-gradient(135deg, #e6f9fc 0%, #eef4fb 100%);
}

/* ==========================================================
   2. RESET & BASE
   ========================================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.section { padding: 56px 0; }
.section-sm { padding: 40px 0; }
section:not(#accueil) { scroll-margin-top: 90px; }

/* ==========================================================
   3. TYPOGRAPHIE
   ========================================================== */
h1, h2, h3, h4 { color: var(--navy); font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; }
h1 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h2 { font-size: clamp(1.35rem, 2.4vw, 1.85rem); margin-bottom: 10px; }
h3 { font-size: 1.05rem; font-weight: 700; }

.eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 10px;
}
.lead { font-size: .98rem; color: var(--text-muted); max-width: 600px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ==========================================================
   4. BOUTONS
   ========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .88rem;
  transition: all .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 14px rgba(42,82,152,0.26);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(42,82,152,0.32);
}
.btn-outline { background: #fff; color: var(--navy); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--teal); color: var(--teal-dark); }
.btn-lg { padding: 13px 26px; font-size: .92rem; }

/* Variante Easilon (héritage) */
.easilon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 24px;
  border: 0;
  border-radius: 5px;
  background: #00CDE5;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  transition: all .3s ease;
  cursor: pointer;
}
.easilon-btn:hover { background: #2B2B5E; color: #fff; transform: translateY(-2px); }

/* ==========================================================
   5. HEADER + TOPBAR + NAV
   ========================================================== */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 20px;
}
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo svg { height: 38px; width: auto; }
.nav-menu { display: flex; gap: 2px; align-items: center; list-style: none; }
.nav-menu a {
  padding: 8px 12px;
  border-radius: 7px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--navy);
  transition: all .15s;
}
.nav-menu a:hover { background: var(--bg-soft); color: var(--teal-dark); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: .85rem;
  color: var(--navy);
}
.nav-phone svg { width: 16px; height: 16px; stroke: var(--teal-dark); }
.burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.burger span { width: 20px; height: 2px; background: var(--navy); border-radius: 2px; }

/* Bouton principal adaptatif selon la langue */
.nav-actions .btn-primary {
  font-size: clamp(0.68rem, 1.2vw, 0.88rem);
  padding: 10px 20px;
  max-width: 260px;
  min-width: 0;
  white-space: normal;
  line-height: 1.15;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-shrink: 1;
  word-break: break-word;
  hyphens: auto;
}

/* Topbar */
.topbar {
  width: 100%;
  box-sizing: border-box;
  background-color: #1a3a6b;
  color: #ffffff;
  font-size: 0.85rem;
  padding: 8px 0;
  font-weight: 500;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.topbar a { color: #4DD0E1; text-decoration: none; transition: opacity 0.2s; }
.topbar a:hover { opacity: 0.8; text-decoration: underline; }
.topbar span { display: inline-flex; align-items: center; gap: 6px; }

/* ==========================================================
   6. MENU LANGUE (dropdown)
   ========================================================== */
.lang-dropdown-container { position: relative; display: inline-block; }

.lang-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}
.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
  width: 150px;
  max-height: 220px;
  overflow-y: auto;
  z-index: 99999;
  display: none;
  padding: 4px 0;
}
.lang-menu.open { display: block; }
.lang-option {
  display: block;
  padding: 8px 12px;
  color: #cbd5e1;
  font-size: 0.75rem;
  text-decoration: none;
  white-space: nowrap;
}
.lang-option:hover { background: rgba(77, 208, 225, 0.15); color: #4DD0E1; }
.lang-option.active { color: #4DD0E1; font-weight: bold; background: rgba(77, 208, 225, 0.08); }

.lang-close {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 28px;
  height: 28px;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  border-radius: 50%;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
  z-index: 2;
}
.lang-close:hover { background: rgba(77, 208, 225, 0.2); color: #4DD0E1; }

.lang-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 99998;
  display: none;
}
.lang-overlay.show { display: block; }

/* ==========================================================
   7. MENU MOBILE
   ========================================================== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 85%;
  max-width: 400px;
  background: rgba(241, 245, 249, 0.75);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  z-index: 999999;
  padding: 80px 24px 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.28s ease;
  box-sizing: border-box;
  visibility: hidden;
  border-radius: 0 20px 20px 0;
  box-shadow: 4px 0 30px rgba(0, 0, 0, 0.15);
}
.mobile-menu.open { transform: translateX(0); visibility: visible; }
.mobile-menu a {
  display: block;
  padding: 16px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: color 0.15s;
}
.mobile-menu a:hover { color: var(--teal-dark); }
.mobile-menu a:last-child {
  border-bottom: none;
  color: #0f172a;
  margin-top: 8px;
  font-weight: 800;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.mobile-menu a:last-child svg,
.mobile-menu a:last-child::before { font-size: 1.2rem; }

.mobile-menu .close-menu {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border: none;
  background: #f1f5f9;
  border-radius: 50%;
  font-size: 20px;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.mobile-menu .close-menu:hover { background: #e2e8f0; }

/* ==========================================================
   8. HERO
   ========================================================== */
.hero {
  background: var(--gradient-soft);
  position: relative;
  overflow: hidden;
  padding: 48px 0 56px;
}
.hero::before {
  content: "";
  position: absolute;
  top: -160px;
  right: -160px;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(77,208,225,0.26) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
}
.hero h1 { margin-bottom: 14px; }
.hero .lead { font-size: 1rem; margin-bottom: 20px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; margin-bottom: 18px;}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: .76rem;
  font-weight: 600;
  color: var(--navy);
}
.badge svg { width: 13px; height: 13px; }

/* Variante Hero avec image de fond */
section.hero {
  background-image: linear-gradient(rgba(26, 58, 107, 0.85), rgba(26, 58, 107, 0.85)), 
  url('https://images.unsplash.com/photo-1746597312953-9b58a1ebc991?fm=jpg&q=60&w=3000&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8MTR8fGJ1c2luZXNzJTIwbG9hbnxlbnwwfHwwfHx8MA%3D%3D');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
}
section.hero h1 { color: #ffffff; }
section.hero .lead { color: rgba(255, 255, 255, 0.9); }
section.hero .eyebrow {
  color: #4DD0E1;
  background: rgba(77, 208, 225, 0.15);
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-block;
  font-weight: 600;
}

/* Simulateur (carte) */
.sim-card {
  background: #fff;
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.sim-card h3 { font-size: 1rem; margin-bottom: 3px; }
.sim-card .sim-sub { font-size: .78rem; color: var(--text-muted); margin-bottom: 16px; }
.sim-field { margin-bottom: 14px; }
.sim-field label { display: block; font-size: .98rem; font-weight: 700; color: var(--navy); margin-bottom: 3px; }
.sim-amount { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 3px; }
.sim-amount strong { font-size: 1.2rem; color: var(--navy); font-weight: 800; }
.sim-amount span { font-size: .74rem; color: var(--text-muted); }

input[type=range] {
  -webkit-appearance: none;
  width: 100%;
  height: 5px;
  border-radius: 5px;
  background: linear-gradient(90deg, var(--teal) 0%, var(--navy) 100%);
  outline: none;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--navy);
  cursor: pointer;
  box-shadow: 0 1px 5px rgba(0,0,0,0.15);
}
input[type=range]::-moz-range-thumb {
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--navy);
  cursor: pointer;
}
.sim-result {
  background: var(--gradient-soft);
  border-radius: 10px;
  padding: 13px;
  margin: 16px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.sim-result .item { text-align: left; }
.sim-result .item span { font-size: .92rem; font-weight: 900; color: var(--text-muted); display: block; }
.sim-result .item strong { font-size: 1.3rem; color: var(--navy); font-weight: 800; }
.sim-card .btn { width: 100%; }
.sim-note { font-size: .68rem; color: var(--text-muted); text-align: center; margin-top: 10px; }

/* ==========================================================
   9. TRUST BAR
   ========================================================== */
.trust-bar { background: var(--navy); color: #fff; padding: 16px 0; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: center;
  text-align: center;
}
.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: .8rem;
  font-weight: 600;
}
.trust-item svg { width: 17px; height: 17px; stroke: var(--teal); flex-shrink: 0; }
.trust-item a { text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================
   10. SERVICES
   ========================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 18px;
  transition: all .25s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--gradient-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.service-icon svg { width: 22px; height: 22px; stroke: var(--navy); }
.service-card h3 { margin-bottom: 7px; font-size: .98rem; }
.service-card p { font-size: .83rem; color: var(--text-muted); margin-bottom: 14px; flex: 1; line-height: 1.5; }
.service-card .link {
  font-size: .8rem;
  font-weight: 700;
  color: var(--teal-dark);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.service-card .link svg { width: 13px; height: 13px; transition: transform .2s; }
.service-card:hover .link svg { transform: translateX(3px); }

/* Compatibilité héritage Font Awesome */
#services i, #engagements i, #processus i { color: #00CDE5; }
#services .rounded-xl,
#engagements .rounded-xl,
#processus .rounded-xl {
  border-radius: 10px;
  border-color: #E6E6ED;
  transition: transform .3s ease, box-shadow .3s ease;
}
#services .rounded-xl:hover,
#engagements .rounded-xl:hover,
#processus .rounded-xl:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(43,43,94,.1);
}

/* ==========================================================
   11. WHY / POURQUOI NOUS
   ========================================================== */
.why { background: var(--bg-soft); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 32px; }
.why-item { text-align: center; padding: 4px; }
.why-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(42,82,152,0.22);
}
.why-icon svg { width: 24px; height: 24px; stroke: #fff; }
.why-item h3 { margin-bottom: 6px; font-size: .98rem; }
.why-item p { font-size: .82rem; color: var(--text-muted); line-height: 1.5; }

/* ==========================================================
   12. SIMULATEUR COMPLET
   ========================================================== */
.full-sim { background: var(--gradient); color: #fff; position: relative; overflow: hidden; }
.full-sim h2, .full-sim .lead { color: #fff; }
.full-sim .eyebrow { color: var(--teal-light); }
.full-sim-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; position: relative; z-index: 2; }
.full-sim .sim-card { color: var(--text); }
.full-sim .sim-card h3 { margin-bottom: 16px; font-size: 1.05rem; }
.full-sim .sim-field label { color: var(--navy); }
.full-sim .features { list-style: none; margin-top: 20px; }
.full-sim .features li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; font-size: .88rem; }
.full-sim .features svg { width: 17px; height: 17px; stroke: var(--teal-light); flex-shrink: 0; margin-top: 3px; }

/* ==========================================================
   13. PROCESS
   ========================================================== */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 32px; position: relative; }
.process-grid::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--teal) 0 8px, transparent 8px 16px);
  z-index: 0;
}
.process-step { text-align: center; position: relative; z-index: 1; }
.process-num {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy);
  box-shadow: 0 6px 16px rgba(77,208,225,0.22);
}
.process-step h3 { font-size: .92rem; margin-bottom: 6px; }
.process-step p { font-size: .8rem; color: var(--text-muted); line-height: 1.5; }

/* ==========================================================
   14. REVIEWS
   ========================================================== */
.reviews { background: var(--bg-soft); }
.reviews-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}
.rating-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  padding: 11px 18px;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}
.rating-summary .score { font-size: 1.5rem; font-weight: 800; color: var(--navy); }
.rating-summary .stars { color: #f5a623; font-size: .95rem; letter-spacing: 2px; }
.rating-summary small { font-size: .72rem; color: var(--text-muted); display: block; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.review-card .stars { color: #f5a623; margin-bottom: 9px; letter-spacing: 2px; font-size: .9rem; }
.review-card p { font-size: .85rem; color: var(--text); margin-bottom: 14px; font-style: italic; line-height: 1.55; }
.review-author { display: flex; align-items: center; gap: 10px; }
.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
}
.review-author strong { display: block; font-size: .82rem; color: var(--navy); }
.review-author small { font-size: .72rem; color: var(--text-muted); }

/* ==========================================================
   15. FAQ
   ========================================================== */
.faq-list { max-width: 780px; margin: 32px auto 0; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 9px;
  background: #fff;
  overflow: hidden;
  transition: box-shadow .2s;
}
.faq-item[open] { box-shadow: var(--shadow-sm); border-color: var(--teal-light); }
.faq-item summary {
  padding: 15px 20px;
  font-weight: 700;
  color: var(--navy);
  font-size: .9rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--teal-dark);
  transition: transform .2s;
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .answer { padding: 0 20px 16px; font-size: .85rem; color: var(--text-muted); line-height: 1.6; }

/* Compat héritage */
#faq details { border: 1px solid #E6E6ED; border-radius: 8px; background: #fff; }
#faq summary { color: #2B2B5E; font-weight: 700; }
#faq summary:hover { color: #00CDE5; }

/* ==========================================================
   16. CTA FINAL
   ========================================================== */
.cta-final { background: var(--navy); color: #fff; text-align: center; position: relative; overflow: hidden; }
.cta-final::before {
  content: "";
  position: absolute;
  top: -80px;
  left: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(77,208,225,0.24) 0%, transparent 70%);
  border-radius: 50%;
}
.cta-final::after {
  content: "";
  position: absolute;
  bottom: -120px;
  right: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(77,208,225,0.16) 0%, transparent 70%);
  border-radius: 50%;
}
.cta-final h2, .cta-final .lead { color: #fff; position: relative; z-index: 1; }
.cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 22px; position: relative; z-index: 1; }
.cta-final .btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.3); }
.cta-final .btn-outline:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,0.08); }
.cta-contact {
  display: flex;
  gap: 22px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
  font-size: .83rem;
  position: relative;
  z-index: 1;
}
.cta-contact a { display: inline-flex; align-items: center; gap: 6px; opacity: .9; }
.cta-contact svg { width: 15px; height: 15px; stroke: var(--teal); }

/* ==========================================================
   17. FOOTER
   ========================================================== */
footer {
  background: var(--navy-dark);
  color: #a8b9cc;
  padding: 44px 0 18px;
  font-size: .82rem;
}
footer a:hover { color: #00CDE5; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-col h4 { color: #fff; font-size: .85rem; margin-bottom: 14px; font-weight: 700; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a:hover { color: var(--teal); }
.footer-brand svg { height: 36px; margin-bottom: 14px; filter: brightness(0) invert(1); opacity: .95; }
.footer-brand p { margin-bottom: 6px; line-height: 1.55; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 8px; font-size: .74rem; }
.footer-legal span { color: #7a8fa5; }
.footer-bottom {
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: .74rem;
  color: #7a8fa5;
}
.footer-bottom a:hover { color: var(--teal); }

/* Réseaux sociaux du footer */
.footer-social .social-icons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
}
.footer-social .social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-radius: 50%;
  transition: all 0.3s ease;
  text-decoration: none;
}
.footer-social .social-icons a:hover {
  background-color: var(--teal, #4DD0E1);
  color: #1a3a6b;
  transform: translateY(-2px);
}

/* ==========================================================
   18. MENTIONS LÉGALES (bannière + footer)
   ========================================================== */
.global-legal-banner {
  background-color: #31ad12;
  color: #fff;
  font-size: 0.8rem;
  text-align: center;
  padding: 10px 15px;
  font-style: italic;
  border-bottom: 1px solid #e2e8f0;
}
.footer-legal-mention {
  font-size: 0.75rem;
  color: #94a3b8;
  font-style: italic;
  margin-top: 15px;
  line-height: 1.4;
}

/* ==========================================================
   19. MODALE RÉCAPITULATIF PRÊT
   ========================================================== */
.loan-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 999999;
}
.loan-modal.open { display: flex; animation: loanFadeIn 0.2s ease; }
@keyframes loanFadeIn { from { opacity: 0; } to { opacity: 1; } }

.loan-modal-content {
  background: #ffffff;
  border-radius: 20px;
  padding: 32px;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  position: relative;
  animation: loanSlideUp 0.3s ease;
  font-family: 'Manrope', sans-serif;
}
@keyframes loanSlideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.loan-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: none;
  background: #f1f5f9;
  color: #1a3a6b;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
  line-height: 1;
}
.loan-modal-close:hover { background: #4DD0E1; color: #ffffff; }
.loan-modal-header { margin-bottom: 20px; padding-right: 40px; }
.loan-modal-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #26B5C9;
  background: #e6f9fc;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.loan-modal-header h2 { font-size: 1.35rem; font-weight: 800; color: #1a3a6b; margin: 0 0 6px 0; line-height: 1.25; }
.loan-modal-sub { font-size: 0.85rem; color: #5a6b7d; margin: 0; line-height: 1.5; }
.loan-modal-recap { background: #f5f9fc; border-radius: 14px; padding: 4px 18px; margin-bottom: 16px; }
.loan-modal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #e3ecf3;
  font-size: 0.9rem;
}
.loan-modal-row:last-child { border-bottom: none; }
.loan-modal-row span { color: #5a6b7d; }
.loan-modal-row strong { color: #1a3a6b; font-weight: 800; }
.loan-modal-row-highlight { padding: 14px 0; }
.loan-modal-row-highlight strong { font-size: 1.25rem; color: #26B5C9; }
.loan-modal-note { font-size: 0.72rem; color: #94a3b8; line-height: 1.5; margin: 0 0 20px 0; font-style: italic; }
.loan-modal-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.loan-modal-actions .btn { flex: 1; justify-content: center; }

/* ==========================================================
   20. COOKIES (bannière + modales)
   ========================================================== */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  color: #333;
  box-shadow: 0 -6px 25px rgba(0, 0, 0, 0.15);
  z-index: 999998;
  padding: 18px 0;
  border-top: 3px solid var(--teal, #4DD0E1);
  font-family: 'Manrope', sans-serif;
  font-size: .85rem;
}
#cookie-banner .cookie-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
#cookie-banner .cookie-text { flex: 1; min-width: 280px; }
#cookie-banner .cookie-text p { margin: 0; line-height: 1.55; color: #444; }
#cookie-banner .cookie-buttons { display: flex; gap: 10px; flex-wrap: wrap; }

#cookie-modal,
#cookie-policy-modal,
.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
#cookie-modal.open,
#cookie-policy-modal.open,
.cookie-modal.open {
  display: flex !important;
}
.cookie-modal-content {
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  max-width: 560px;
  width: 100%;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  position: relative;
  font-family: 'Manrope', sans-serif;
  max-height: 90vh;
  overflow-y: auto;
}
.cookie-policy-content { max-width: 700px; }
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: none;
  background: #f1f5f9;
  border-radius: 50%;
  font-size: 15px;
  cursor: pointer;
  color: #1a3a6b;
}
.cookie-modal-close:hover { background: #4DD0E1; color: #fff; }
.cookie-modal-content h3 { margin: 0 0 10px; color: #1a3a6b; font-weight: 800; font-size: 1.2rem; }
.cookie-policy-body { font-size: .85rem; color: #4a5568; line-height: 1.65; margin-top: 16px; }
.cookie-policy-body h4 { color: #1a3a6b; font-size: .92rem; margin: 18px 0 6px; font-weight: 800; }
.cookie-policy-body p { margin: 0 0 8px; }
.cookie-policy-body a { color: #26B5C9; text-decoration: underline; }
.cookie-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid #eee;
  gap: 15px;
}
.cookie-option:last-of-type { border-bottom: none; }
.cookie-option strong { display: block; color: #1a3a6b; font-size: .9rem; margin-bottom: 3px; }
.cookie-option p { margin: 0; color: #666; font-size: .78rem; line-height: 1.4; }

.cookie-switch { position: relative; display: inline-block; width: 46px; height: 26px; flex-shrink: 0; }
.cookie-switch input { opacity: 0; width: 0; height: 0; }
.cookie-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #cbd5e1;
  transition: .2s;
  border-radius: 26px;
}
.cookie-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .2s;
  border-radius: 50%;
}
.cookie-switch input:checked + .cookie-slider { background-color: #4DD0E1; }
.cookie-switch input:checked + .cookie-slider:before { transform: translateX(20px); }

.cookie-modal-actions { margin-top: 22px; display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }

/* ==========================================================
   21. MASQUAGE GOOGLE TRANSLATE
   ========================================================== */
.goog-te-spinner-pos,
.goog-te-spinner,
iframe.goog-te-spinner-frame {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  height: 0 !important;
  width: 0 !important;
  position: absolute !important;
  top: -9999px !important;
  left: -9999px !important;
}
.skiptranslate,
.goog-te-banner-frame,
iframe.goog-te-banner-frame,
iframe.skiptranslate {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  width: 0 !important;
}
body { top: 0 !important; position: static !important; }
html.translated-ltr body,
html.translated-rtl body { top: 0 !important; position: static !important; }

/* ==========================================================
   22. ACCESSIBILITÉ
   ========================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* ==========================================================
   23. RESPONSIVE
   ========================================================== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .full-sim-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid::before { display: none; }
  .nav-actions .btn-primary { font-size: 0.72rem; padding: 9px 16px; max-width: 200px; }
}

@media (max-width: 768px) {
  .nav-menu, .nav-phone { display: none; }
  .burger { display: flex; }
  .section { padding: 44px 0; }
  .hero { padding: 32px 0 44px; }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .reviews-header { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-contact { flex-direction: column; gap: 12px; align-items: center; }
  #accueil { padding: 45px 0; }
  #accueil h1 { font-size: 2.2rem; }
  #simulateur { margin-top: 30px; }
  .easilon-btn { width: 100%; }

  .nav-actions .btn-primary {
    font-size: clamp(0.62rem, 3vw, 0.8rem);
    padding: 8px 16px;
    max-width: 210px;
  }

  .topbar .container { justify-content: center; text-align: center; }
  .topbar-left, .topbar-right { justify-content: center; gap: 10px; }

  /* Menu langue mobile */
  .lang-menu {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    transform: translate(-50%, -50%) !important;
    width: calc(100vw - 32px) !important;
    max-width: 320px !important;
    max-height: 36vh !important;
    overflow-y: auto !important;
    border-radius: 14px !important;
    z-index: 99999 !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5) !important;
    background: rgba(15, 23, 42, 0.95) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
  }
  .topbar, .topbar .container, .topbar-right, .lang-dropdown-container { overflow: visible !important; }
  .lang-dropdown-container { position: relative !important; display: inline-block !important; flex-shrink: 0 !important; }
  .lang-close {
    top: 8px;
    right: 8px;
    width: 34px;
    height: 34px;
    font-size: 16px;
    background: #1a3a6b;
    color: #ffffff;
  }
  .lang-close:hover { background: #4DD0E1; color: #1a3a6b; }

  /* Cookies */
  #cookie-banner .cookie-container { flex-direction: column; align-items: stretch; }
  #cookie-banner .cookie-buttons { flex-direction: column; }
  #cookie-banner .cookie-buttons .btn { width: 100%; }
  .cookie-modal-actions { flex-direction: column-reverse; }
  .cookie-modal-actions .btn { width: 100%; }
}

@media (max-width: 480px) {
  .trust-grid { grid-template-columns: 1fr; }
  .sim-result { grid-template-columns: 1fr; }
  .loan-modal-content { padding: 24px 20px; border-radius: 16px; }
  .loan-modal-header h2 { font-size: 1.15rem; }
  .loan-modal-actions { flex-direction: column-reverse; }
  .loan-modal-actions .btn { width: 100%; }
}

@media (max-width: 400px) {
  .nav-actions .btn-primary {
    max-width: 150px;
    font-size: 0.62rem;
    padding: 7px 10px;
  }
}
.bl {
    padding: 14px 28px;
    font-size: .95rem;
}
.hb {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.bp {
    background: var(--grad);
    color: #fff;
    box-shadow: 0 4px 14px rgba(42, 82, 152, .28);
}

    /* ===== Sélecteur Particulier / Entreprise (simulateurs) ===== */
    .sim-seg{display:grid;grid-template-columns:1fr 1fr;gap:6px;background:#f5f9fc;padding:4px;border-radius:999px;margin-bottom:16px}
    .sim-seg button{border:0;background:transparent;padding:9px;border-radius:999px;font:700 .82rem 'Manrope',sans-serif;color:#5a6b7d;cursor:pointer;transition:.2s}
    .sim-seg button[aria-pressed="true"]{background:linear-gradient(135deg,#4DD0E1 0%,#2a5298 55%,#1a3a6b 100%);color:#fff}

    /* ===== Boutons (style du second code) – limités aux sections de la page ===== */
    .hero .btn, .sim-card .btn, .cta-final .btn, .service-card .btn{
      display:inline-flex;align-items:center;justify-content:center;gap:8px;
      padding:12px 24px;border-radius:999px;font-weight:700;font-size:.9rem;
      transition:.2s;white-space:nowrap;border:0;cursor:pointer;font-family:inherit}
    .hero .btn-lg, .sim-card .btn-lg, .cta-final .btn-lg{padding:14px 28px;font-size:.95rem}
    .hero .btn-primary, .sim-card .btn-primary, .cta-final .btn-primary{
      background:linear-gradient(135deg,#4DD0E1 0%,#2a5298 55%,#1a3a6b 100%);
      color:#fff;box-shadow:0 4px 14px rgba(42,82,152,.28)}
    .hero .btn-primary:hover, .sim-card .btn-primary:hover, .cta-final .btn-primary:hover{
      transform:translateY(-1px);box-shadow:0 8px 20px rgba(42,82,152,.34)}
    .sim-card .btn{width:100%}
    /* Bouton contour : marine sur fond clair (hero), blanc sur fond sombre (CTA final) */
    .hero .btn-outline{background:transparent;color:#fff;border:1.5px solid rgba(255 255 255 / 62%)}
    .hero .btn-outline:hover{border-color:#fff}
    .cta-final .btn-outline{background:transparent;color:#fff;border:1.5px solid rgba(255,255,255,.35)}
    .cta-final .btn-outline:hover{border-color:#fff}

    /* ===== Barre collante mobile ===== */
    .stk{display:none}
    @media(max-width:768px){
      .stk{display:block;position:fixed;left:0;right:0;bottom:0;z-index:60;
        padding:10px 16px calc(10px + env(safe-area-inset-bottom,0px));
        background:#fff;border-top:1px solid #e3ecf3}
      .stk .btn{width:100%}
    }