/* =============================================================
   HPRO CONSEIL · Design System
   Bleu / Noir / Blanc — Inspiré du logo
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Instrument+Serif:ital@0;1&display=swap');

:root {
  --navy: #1E40AF;
  --navy-dark: #1E3A8A;
  --navy-deep: #172554;
  --navy-light: #3B82F6;
  --navy-soft: #EFF6FF;
  --navy-tint: #DBEAFE;
  --black: #0F172A;

  --white: #FFFFFF;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1E293B;
  --gray-900: #0F172A;

  --wa: #25D366;
  --wa-dark: #1FAD56;
  --success: #10B981;
  --danger: #EF4444;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;

  --container: 1280px;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 10px 30px -8px rgba(15, 23, 42, 0.12);
  --shadow-lg: 0 25px 50px -12px rgba(15, 23, 42, 0.18);
  --shadow-navy: 0 12px 30px -10px rgba(30, 64, 175, 0.45);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--gray-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
::selection { background: var(--navy); color: white; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ============= TYPOGRAPHY ============= */
h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--black);
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); font-weight: 900; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.05rem; }

.serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.serif.on-dark { color: white; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--navy-soft);
  color: var(--navy-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid var(--navy-tint);
}
.eyebrow.on-dark { background: rgba(59,130,246,0.18); color: #93C5FD; border-color: rgba(59,130,246,0.3); }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--navy); animation: pulse 2s ease-in-out infinite; }
.eyebrow.on-dark .dot { background: #60A5FA; }
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.15); }
}

.lead { font-size: 1.1rem; color: var(--gray-600); line-height: 1.65; }

/* ============= BUTTONS ============= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 10px;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--navy); color: white; box-shadow: var(--shadow-navy); }
.btn-primary:hover { background: var(--navy-dark); transform: translateY(-2px); }
.btn-black { background: var(--black); color: white; }
.btn-black:hover { background: var(--gray-800); transform: translateY(-2px); }
.btn-outline { background: white; color: var(--black); border: 1.5px solid var(--gray-200); }
.btn-outline:hover { border-color: var(--navy); background: var(--navy); color: white; }
.btn-on-dark { background: white; color: var(--navy); box-shadow: 0 10px 30px -8px rgba(0,0,0,0.3); }
.btn-on-dark:hover { background: var(--gray-50); transform: translateY(-2px); }
.btn-ghost-white { background: transparent; color: white; border: 1.5px solid rgba(255,255,255,0.35); }
.btn-ghost-white:hover { background: white; color: var(--navy); border-color: white; }
.btn-wa { background: var(--wa); color: white; }
.btn-wa:hover { background: var(--wa-dark); transform: translateY(-2px); }
.btn-arrow { transition: transform 0.2s; }
.btn:hover .btn-arrow { transform: translateX(3px); }
.btn-sm { padding: 10px 18px; font-size: 0.88rem; }
.btn-lg { padding: 18px 32px; font-size: 1.02rem; }

/* ============= LOGO ============= */
.logo-svg { display: flex; align-items: center; height: 50px; flex-shrink: 0; }
.logo-svg svg { height: 100%; width: auto; }
.footer-logo { height: 60px; margin-bottom: 12px; }
.footer-logo svg { height: 100%; width: auto; }

/* ============= TOP BAR ============= */
.top-bar { background: var(--black); color: rgba(255,255,255,0.85); font-size: 0.84rem; padding: 9px 0; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.top-bar-left, .top-bar-right { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.top-bar a { display: inline-flex; align-items: center; gap: 7px; transition: color 0.2s; }
.top-bar a:hover { color: var(--navy-light); }
.top-bar svg { width: 14px; height: 14px; }
.badge-live { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; background: rgba(59,130,246,0.18); color: #93C5FD; border-radius: 999px; font-size: 0.74rem; font-weight: 700; }
.pulse-dot { width: 6px; height: 6px; border-radius: 50%; background: #60A5FA; animation: pulse 2s ease-in-out infinite; }

/* ============= HEADER ============= */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow 0.3s;
}
.header.scrolled { box-shadow: var(--shadow); }
.header .container { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; padding-bottom: 14px; gap: 24px; }

.nav { display: flex; gap: 2px; align-items: center; }
.nav-link {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 9px 14px; font-size: 0.93rem; font-weight: 600;
  color: var(--gray-700); border-radius: 8px; transition: all 0.15s;
}
.nav-link:hover { color: var(--navy); background: var(--gray-50); }
.nav-item { position: relative; }
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown {
  position: absolute; top: calc(100% + 6px); left: 50%;
  transform: translate(-50%, -8px); min-width: 320px;
  background: white; border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  padding: 12px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transition: all 0.2s;
}
.dropdown a {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 10px;
  font-size: 0.92rem; font-weight: 600; color: var(--gray-700);
  transition: background 0.15s;
}
.dropdown a:hover { background: var(--navy-soft); color: var(--navy-dark); }
.dropdown-icon {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--navy-soft); color: var(--navy);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.dropdown-icon svg { width: 16px; height: 16px; }
.dropdown-tag {
  margin-left: auto; font-size: 0.68rem; font-weight: 800;
  padding: 2px 8px; border-radius: 999px;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.dropdown-tag.popular { background: var(--navy); color: white; }
.dropdown-tag.btp { background: var(--black); color: white; }

.header-cta { display: flex; align-items: center; gap: 8px; }
.phone-block { display: flex; flex-direction: column; align-items: flex-end; margin-right: 4px; }
.phone-label { font-size: 0.7rem; font-weight: 600; color: var(--gray-500); letter-spacing: 0.04em; text-transform: uppercase; }
.phone-num { font-size: 1.02rem; font-weight: 800; color: var(--black); letter-spacing: -0.01em; }
.menu-toggle { display: none; width: 42px; height: 42px; border-radius: 10px; background: var(--gray-50); align-items: center; justify-content: center; }

/* ============= HERO ============= */
.hero { position: relative; background: var(--white); padding: 70px 0 60px; overflow: hidden; }
.hero::before {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 60%; height: 100%;
  background:
    radial-gradient(ellipse at top right, rgba(30, 64, 175, 0.08) 0%, transparent 60%),
    radial-gradient(circle at 80% 50%, rgba(59, 130, 246, 0.06) 0%, transparent 50%);
  pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.hero-content { max-width: 640px; }
.hero h1 { margin: 18px 0 20px; }
.hero h1 strong { color: var(--navy); font-weight: 900; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.hero-bullets {
  display: flex; gap: 20px; flex-wrap: wrap;
  margin-top: 28px; padding-top: 28px;
  border-top: 1px solid var(--gray-200);
}
.hero-bullet { display: flex; align-items: center; gap: 10px; font-size: 0.92rem; font-weight: 600; color: var(--gray-700); }
.hero-bullet svg { width: 18px; height: 18px; color: var(--navy); flex-shrink: 0; }

.hero-card {
  background: white; border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl); padding: 32px;
  box-shadow: var(--shadow-md); position: relative;
}
.hero-card-badge {
  position: absolute; top: -14px; left: 24px;
  background: var(--navy); color: white;
  font-size: 0.74rem; font-weight: 800;
  padding: 6px 14px; border-radius: 999px;
  letter-spacing: 0.04em; text-transform: uppercase;
  box-shadow: var(--shadow-navy);
  display: inline-flex; align-items: center; gap: 6px;
}
.hero-card-badge::before {
  content: ''; width: 6px; height: 6px;
  border-radius: 50%; background: white;
  animation: pulse 2s ease-in-out infinite;
}
.hero-card h3 { margin-bottom: 6px; }
.hero-card-desc { font-size: 0.94rem; color: var(--gray-600); margin-bottom: 22px; }

.quick-quote { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.quick-quote-btn {
  padding: 16px 8px;
  background: var(--gray-50); border: 1.5px solid var(--gray-200);
  border-radius: 12px;
  font-size: 0.82rem; font-weight: 700; color: var(--gray-700);
  cursor: pointer; transition: all 0.15s;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  text-align: center; text-decoration: none;
}
.quick-quote-btn:hover {
  background: white; border-color: var(--navy); color: var(--navy);
  transform: translateY(-2px); box-shadow: var(--shadow);
}
.quick-quote-btn svg { width: 24px; height: 24px; color: var(--navy); }

.orias-pill {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; background: var(--black); color: white;
  border-radius: 12px;
}
.orias-pill-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--navy); color: white;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.orias-pill-icon svg { width: 20px; height: 20px; }
.orias-pill-text { font-size: 0.86rem; }
.orias-pill-text strong { display: block; font-weight: 800; }
.orias-pill-text span { color: rgba(255,255,255,0.7); font-size: 0.78rem; }

/* ============= TRUST BAND ============= */
.trust-band { background: var(--navy); color: white; padding: 36px 0; position: relative; }
.trust-band::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at top left, rgba(255,255,255,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(0,0,0,0.15) 0%, transparent 50%);
  pointer-events: none;
}
.trust-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust-item { display: flex; align-items: center; gap: 14px; }
.trust-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.18);
  color: white;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.trust-icon svg { width: 22px; height: 22px; }
.trust-num { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.trust-label { font-size: 0.82rem; color: rgba(255,255,255,0.75); margin-top: 3px; }

/* ============= SECTIONS ============= */
section { padding: 90px 0; }
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { margin: 14px 0 14px; }

/* ============= PRODUCTS ============= */
.products { background: var(--gray-50); }
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-card {
  background: white; border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl); padding: 30px;
  position: relative; transition: all 0.3s;
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
}
.product-card:hover {
  transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--navy);
}
.product-tag {
  position: absolute; top: -10px; left: 24px;
  padding: 5px 12px;
  font-size: 0.7rem; font-weight: 800;
  letter-spacing: 0.05em; text-transform: uppercase;
  border-radius: 999px;
}
.product-tag.popular { background: var(--navy); color: white; }
.product-tag.btp { background: var(--black); color: white; }
.product-tag.pro { background: var(--gray-700); color: white; }
.product-tag.sante { background: var(--navy-light); color: white; }

.product-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--navy-soft); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; transition: all 0.3s;
}
.product-icon svg { width: 28px; height: 28px; }
.product-card:hover .product-icon { background: var(--navy); color: white; }
.product-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.product-card p { font-size: 0.92rem; color: var(--gray-600); line-height: 1.55; margin-bottom: 22px; flex: 1; }
.product-card-cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; color: var(--navy); font-size: 0.92rem; transition: gap 0.2s;
}
.product-card:hover .product-card-cta { gap: 12px; }

.services-other {
  margin-top: 56px; padding: 36px; background: white;
  border: 1px solid var(--gray-200); border-radius: var(--radius-xl);
}
.services-other h3 { font-size: 1rem; margin-bottom: 22px; color: var(--gray-700); font-weight: 700; text-align: center; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.service-link {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 18px; background: var(--gray-50);
  border: 1px solid var(--gray-200); border-radius: 12px;
  font-size: 0.88rem; font-weight: 700; color: var(--black); transition: all 0.15s;
}
.service-link:hover { background: var(--navy-soft); border-color: var(--navy); transform: translateY(-2px); }
.service-link svg { width: 20px; height: 20px; color: var(--navy); flex-shrink: 0; }
.service-link em { display: block; font-style: normal; font-weight: 500; font-size: 0.76rem; color: var(--gray-500); margin-top: 1px; }

/* ============= PROCESS ============= */
.process { background: white; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.process-step {
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl); padding: 30px;
  transition: all 0.3s;
}
.process-step:hover {
  transform: translateY(-4px); border-color: var(--navy);
  background: white; box-shadow: var(--shadow);
}
.process-num {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--navy); color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.1rem; margin-bottom: 16px;
}
.process-step h4 { font-size: 1.1rem; font-weight: 800; margin-bottom: 8px; }
.process-step p { font-size: 0.9rem; color: var(--gray-600); }

/* ============= WHY ============= */
.why { background: var(--gray-50); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-card {
  background: white; border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl); padding: 32px; transition: all 0.3s;
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--navy); }
.why-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--navy-soft); color: var(--navy);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.why-icon svg { width: 26px; height: 26px; }
.why-card h4 { font-size: 1.18rem; margin-bottom: 10px; }
.why-card p { color: var(--gray-600); font-size: 0.94rem; line-height: 1.6; }

/* ============= NUMBERS ============= */
.numbers { background: white; }
.numbers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.number-card {
  text-align: center; padding: 40px 24px;
  background: var(--gray-50); border-radius: var(--radius-xl);
  border: 1px solid var(--gray-200); transition: all 0.3s;
}
.number-card:hover { border-color: var(--navy); background: white; box-shadow: var(--shadow); transform: translateY(-3px); }
.number-big {
  font-family: var(--font-serif); font-style: italic;
  font-size: 4.5rem; font-weight: 400; color: var(--navy);
  line-height: 1; letter-spacing: -0.04em;
}
.number-label { font-size: 0.98rem; font-weight: 800; color: var(--black); margin-top: 8px; }
.number-desc { font-size: 0.84rem; color: var(--gray-600); margin-top: 4px; }

/* ============= AGENCY ============= */
.agency { background: var(--black); color: white; position: relative; overflow: hidden; }
.agency::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 50%, rgba(30, 64, 175, 0.25) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.15) 0%, transparent 50%);
  pointer-events: none;
}
.agency .container { position: relative; }
.agency-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.agency-content h2 { color: white; margin-bottom: 18px; margin-top: 16px; }
.agency-content p { color: rgba(255,255,255,0.85); margin-bottom: 28px; font-size: 1.05rem; }
.agency-features { display: flex; flex-direction: column; gap: 14px; margin: 28px 0; }
.agency-feature { display: flex; align-items: center; gap: 14px; font-size: 0.95rem; color: rgba(255,255,255,0.92); font-weight: 500; }
.agency-feature-check {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: white;
}
.agency-card { background: white; color: var(--black); border-radius: var(--radius-xl); padding: 36px; box-shadow: 0 30px 80px -20px rgba(0,0,0,0.5); }
.agency-card-img {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-lg); height: 200px; margin-bottom: 24px; overflow: hidden;
}
.agency-card h3 { margin-bottom: 8px; }
.agency-card-address { color: var(--gray-600); font-size: 0.94rem; margin-bottom: 20px; }
.agency-card-hours {
  background: var(--gray-50); border-radius: 12px; padding: 16px;
  margin-bottom: 20px; font-size: 0.9rem;
}
.agency-card-hours strong { color: var(--black); font-weight: 700; display: block; margin-bottom: 4px; }
.agency-card-hours span { color: var(--gray-600); }
.agency-card-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ============= FAQ ============= */
.faq { background: var(--gray-50); }
.faq-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 60px; align-items: flex-start; }
.faq-side { position: sticky; top: 100px; }
.faq-side h2 { margin: 14px 0 14px; }
.faq-side p { color: var(--gray-600); margin-bottom: 24px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: white; border: 1px solid var(--gray-200);
  border-radius: var(--radius); overflow: hidden; transition: all 0.2s;
}
.faq-item.open { border-color: var(--navy); box-shadow: var(--shadow); }
.faq-q {
  width: 100%; padding: 20px 24px;
  display: flex; justify-content: space-between; align-items: center;
  text-align: left; font-weight: 700; font-size: 1rem; color: var(--black);
  gap: 16px; transition: color 0.2s;
}
.faq-q:hover { color: var(--navy); }
.faq-icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--gray-100); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: all 0.3s;
}
.faq-item.open .faq-icon { background: var(--navy); color: white; transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 24px; color: var(--gray-600); line-height: 1.7; font-size: 0.94rem;
}
.faq-item.open .faq-a { max-height: 500px; padding: 0 24px 22px; }
.faq-a strong { color: var(--black); }

/* ============= CTA FINAL ============= */
.cta-final { 
  background: #172554 !important; 
  color: white; 
  position: relative; 
  overflow: hidden; 
  z-index: 2;
}
.cta-final::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at top left, rgba(255,255,255,0.1) 0%, transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(0,0,0,0.25) 0%, transparent 50%);
  pointer-events: none;
}
.cta-final-content { text-align: center; position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.cta-final h2 { color: white; margin: 18px 0; font-size: clamp(2rem, 4vw, 3rem); }
.cta-final p { color: rgba(255,255,255,0.9); font-size: 1.1rem; margin-bottom: 32px; }
.cta-final-cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ============= FOOTER ============= */
.footer { background: var(--black); color: rgba(255,255,255,0.7); padding: 70px 0 40px; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px; padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-tagline {
  font-family: var(--font-serif); font-style: italic;
  font-size: 1.3rem; color: white;
  margin: 22px 0 16px; line-height: 1.3;
}
.footer-brand p { font-size: 0.92rem; line-height: 1.7; max-width: 380px; }
.footer-contact { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; font-size: 0.92rem; }
.footer-contact-item svg { width: 16px; height: 16px; color: var(--navy-light); margin-top: 4px; flex-shrink: 0; }
.footer-contact-item strong { color: white; font-weight: 700; }
.footer h5 {
  font-size: 0.82rem; font-weight: 800; color: var(--navy-light);
  text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 22px;
}
.footer ul { display: flex; flex-direction: column; gap: 11px; }
.footer ul a { font-size: 0.93rem; transition: color 0.2s; }
.footer ul a:hover { color: var(--navy-light); }
.legal {
  padding-top: 30px; font-size: 0.82rem; color: rgba(255,255,255,0.5);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px;
}
.legal-links { display: flex; gap: 22px; flex-wrap: wrap; }
.legal-links a:hover { color: var(--navy-light); }
.orias-block {
  margin-top: 22px; padding: 18px;
  background: rgba(30, 64, 175, 0.12);
  border-left: 3px solid var(--navy-light);
  border-radius: 8px; font-size: 0.84rem; line-height: 1.65;
}
.orias-block strong { color: white; }

/* ============= FLOATING WHATSAPP ============= */
.fab-whatsapp {
  position: fixed; bottom: 24px; right: 24px;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa); color: white;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px -8px rgba(37, 211, 102, 0.6);
  z-index: 90; transition: transform 0.2s;
}
.fab-whatsapp:hover { transform: scale(1.08); }
.fab-whatsapp svg { width: 30px; height: 30px; }
.fab-whatsapp::after {
  content: ''; position: absolute; inset: -4px;
  border-radius: 50%; border: 2px solid var(--wa);
  animation: ringPulse 2s ease-out infinite;
}
@keyframes ringPulse {
  0% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.4); }
}

/* ============= REVEAL ============= */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* =============================================================
   PAGE PRODUIT (decennale.html, auto.html, etc.)
   ============================================================= */

/* Breadcrumb */
.breadcrumb { background: var(--gray-50); padding: 16px 0; border-bottom: 1px solid var(--gray-200); font-size: 0.86rem; }
.breadcrumb-list { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.breadcrumb-list a { color: var(--gray-500); transition: color 0.2s; }
.breadcrumb-list a:hover { color: var(--navy); }
.breadcrumb-list .sep { color: var(--gray-300); }
.breadcrumb-current { color: var(--black); font-weight: 700; }

/* Product Hero */
.product-hero {
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
  padding: 60px 0 50px;
  position: relative; overflow: hidden;
}
.product-hero::before {
  content: ''; position: absolute; top: 0; right: 0;
  width: 50%; height: 100%;
  background: radial-gradient(ellipse at top right, rgba(30, 64, 175, 0.07) 0%, transparent 60%);
  pointer-events: none;
}
.product-hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1fr 480px;
  gap: 60px; align-items: start;
}
.product-hero-content { padding-top: 12px; }
.product-hero-content h1 {
  font-size: clamp(2.2rem, 4.8vw, 3.6rem);
  margin: 18px 0 18px;
}
.product-hero-content .lead { margin-bottom: 28px; max-width: 580px; }

/* Key benefits */
.key-benefits {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px;
}
.key-benefit {
  display: flex; align-items: flex-start; gap: 12px;
  background: white; border: 1px solid var(--gray-200);
  border-radius: var(--radius); padding: 14px 16px;
}
.key-benefit-icon {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--navy-soft); color: var(--navy);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.key-benefit-icon svg { width: 16px; height: 16px; }
.key-benefit-text { font-size: 0.88rem; font-weight: 600; color: var(--black); line-height: 1.4; }
.key-benefit-text small { display: block; font-weight: 400; color: var(--gray-500); font-size: 0.78rem; margin-top: 2px; }

/* =============================================================
   FORM CARD (page produit) — MULTI-STEP FORM
   ============================================================= */
.form-card {
  background: white; border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl); padding: 32px;
  box-shadow: var(--shadow-lg);
  position: sticky; top: 100px;
}
.form-card-header { margin-bottom: 20px; }
.form-card-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; background: var(--success); color: white;
  border-radius: 999px; font-size: 0.74rem; font-weight: 800;
  letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 12px;
}
.form-card-badge::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%; background: white;
  animation: pulse 2s ease-in-out infinite;
}
.form-card h2 { font-size: 1.4rem; margin-bottom: 6px; }
.form-card-desc { font-size: 0.9rem; color: var(--gray-600); }

/* Progress */
.form-progress { display: flex; gap: 6px; margin-bottom: 22px; }
.form-progress-step { flex: 1; height: 5px; background: var(--gray-200); border-radius: 999px; transition: background 0.3s; }
.form-progress-step.active, .form-progress-step.done { background: var(--navy); }
.form-step-label { font-size: 0.78rem; color: var(--gray-500); margin-bottom: 10px; font-weight: 600; }
.form-step-title { font-size: 1.05rem; font-weight: 800; color: var(--black); margin-bottom: 16px; }

/* Fields */
.form-field { margin-bottom: 14px; }
.form-field label {
  display: block; font-size: 0.84rem; font-weight: 700;
  color: var(--black); margin-bottom: 6px;
}
.form-field label .req { color: var(--danger); }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid var(--gray-200); border-radius: 10px;
  font-family: inherit; font-size: 0.94rem; color: var(--black);
  background: var(--gray-50); transition: all 0.15s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--navy);
  background: white;
  box-shadow: 0 0 0 4px rgba(30, 64, 175, 0.12);
}
.form-textarea { resize: vertical; min-height: 80px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-checkbox {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.82rem; color: var(--gray-600); line-height: 1.5;
  cursor: pointer;
}
.form-checkbox input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--navy); flex-shrink: 0; }
.form-checkbox a { color: var(--navy); text-decoration: underline; }

/* Choice grid (radio buttons styled as cards) */
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.choice {
  padding: 14px;
  background: var(--gray-50); border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  font-size: 0.86rem; font-weight: 700; color: var(--gray-700);
  cursor: pointer; transition: all 0.15s;
  text-align: center;
  position: relative;
}
.choice:hover { border-color: var(--navy); }
.choice.active { background: var(--navy-soft); border-color: var(--navy); color: var(--navy-dark); }
.choice.active::after {
  content: '';
  position: absolute; top: 8px; right: 8px;
  width: 16px; height: 16px;
  background: var(--navy);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20,6 9,17 4,12'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 11px;
}
.choice-icon { display: block; margin: 0 auto 6px; }
.choice-icon svg { width: 22px; height: 22px; color: var(--navy); }

/* Form actions */
.form-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; gap: 12px; }
.form-back {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.88rem; font-weight: 600; color: var(--gray-500);
  transition: color 0.2s; cursor: pointer;
}
.form-back:hover { color: var(--navy); }

/* Success */
.form-success { text-align: center; padding: 20px 0; }
.form-success-icon {
  width: 80px; height: 80px; border-radius: 24px;
  background: linear-gradient(135deg, var(--success), #059669);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px; color: white;
  animation: pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes pop { 0% { transform: scale(0); } 100% { transform: scale(1); } }
.form-success h2 { font-size: 1.5rem; margin-bottom: 10px; }
.form-success p { color: var(--gray-600); font-size: 0.94rem; }

/* Trust signals under form */
.form-trust {
  display: flex; align-items: center; justify-content: center;
  gap: 20px; flex-wrap: wrap;
  margin-top: 18px; padding-top: 18px;
  border-top: 1px solid var(--gray-100);
  font-size: 0.78rem; color: var(--gray-500); font-weight: 600;
}
.form-trust > div { display: flex; align-items: center; gap: 6px; }
.form-trust svg { width: 14px; height: 14px; color: var(--success); }

/* =============================================================
   COVERAGE BLOCK (page produit)
   ============================================================= */
.coverage { padding: 80px 0; }
.coverage-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.coverage-card {
  background: white; border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl); padding: 28px;
  transition: all 0.3s;
}
.coverage-card:hover { border-color: var(--navy); box-shadow: var(--shadow); transform: translateY(-3px); }
.coverage-card h4 { font-size: 1.1rem; margin-bottom: 10px; }
.coverage-card p { font-size: 0.92rem; color: var(--gray-600); }
.coverage-icon {
  width: 50px; height: 50px; border-radius: 12px;
  background: var(--navy-soft); color: var(--navy);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.coverage-icon svg { width: 24px; height: 24px; }

/* Who-is-it-for cards */
.who-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.who-card {
  background: white; border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl); padding: 28px;
  display: flex; align-items: flex-start; gap: 16px;
}
.who-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--navy); color: white;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.who-icon svg { width: 22px; height: 22px; }
.who-card h4 { font-size: 1.05rem; margin-bottom: 6px; }
.who-card p { font-size: 0.9rem; color: var(--gray-600); }

/* =============================================================
   UTILITY
   ============================================================= */
.hide-mobile { /* visible by default */ }



/* ============= MAP REALISTIC (Agency) ============= */
.agency-card-img {
  background: #E8F0FB;
  position: relative;
}
.real-map {
  width: 100%; height: 100%;
  position: relative;
  background:
    linear-gradient(135deg, #C7DCFB 0%, #E8F0FB 50%, #DCEAFC 100%);
}
.real-map::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    /* Roads horizontal */
    linear-gradient(0deg, transparent 19%, #FFFFFF 19%, #FFFFFF 21%, transparent 21%),
    linear-gradient(0deg, transparent 49%, #FFFFFF 49%, #FFFFFF 51%, transparent 51%),
    linear-gradient(0deg, transparent 79%, #FFFFFF 79%, #FFFFFF 81%, transparent 81%),
    /* Roads vertical */
    linear-gradient(90deg, transparent 14%, #FFFFFF 14%, #FFFFFF 16%, transparent 16%),
    linear-gradient(90deg, transparent 44%, #FFFFFF 44%, #FFFFFF 47%, transparent 47%),
    linear-gradient(90deg, transparent 74%, #FFFFFF 74%, #FFFFFF 76%, transparent 76%);
  opacity: 0.6;
}
.real-map .blocks {
  position: absolute; inset: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 2px;
  padding: 2px;
}
.real-map .blocks > div {
  background: rgba(255, 255, 255, 0.35);
  border-radius: 2px;
}
.real-map .park {
  background: rgba(110, 207, 151, 0.55) !important;
}
.real-map .water {
  background: rgba(96, 165, 250, 0.5) !important;
}
.real-map .agora {
  background: rgba(30, 64, 175, 0.18) !important;
}
.real-map .pin {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -100%);
  z-index: 2;
  filter: drop-shadow(0 6px 8px rgba(0,0,0,0.3));
}
.real-map .pin svg {
  width: 48px; height: 48px;
  color: var(--navy);
  animation: pinDrop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}
@keyframes pinDrop {
  0% { transform: translateY(-30px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.real-map .label {
  position: absolute;
  background: white;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--navy-dark);
  box-shadow: var(--shadow);
  white-space: nowrap;
}
.real-map .label.l1 { top: 12%; left: 8%; }
.real-map .label.l2 { bottom: 14%; right: 8%; }
.real-map .label.l3 { top: 60%; left: 5%; font-size: 0.62rem; opacity: 0.7; }

/* ============= ICON FIXES (footer & general) ============= */
.footer-contact-item svg,
.footer ul a svg {
  stroke: var(--navy-light);
  flex-shrink: 0;
}
.legal svg { color: var(--navy-light); stroke: var(--navy-light); }

/* Ensure all SVG icons in dark sections are visible */
.footer svg, .cta-final svg, .agency-content svg, .trust-band svg {
  stroke-width: 2;
}
.fab-whatsapp svg { stroke: none; }

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 1024px) {
  .hero-grid, .agency-grid, .faq-grid, .product-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-card, .form-card { max-width: 520px; position: static; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid, .numbers-grid, .trust-grid, .coverage-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .faq-side { position: static; }
}

@media (max-width: 768px) {
  section, .coverage { padding: 60px 0; }
  .top-bar { font-size: 0.78rem; }
  .top-bar-right, .hide-mobile { display: none; }
  .nav, .phone-block, .header-cta .btn-outline { display: none !important; }
  .menu-toggle { display: flex !important; }
  .header .container { padding: 10px 14px; gap: 8px; flex-wrap: nowrap; min-width: 0; }
  .logo-svg { flex-shrink: 1; min-width: 0; max-width: 140px; }
  .logo-svg svg { width: 100%; height: auto; max-height: 42px; }
  .header-cta { flex-shrink: 0; gap: 6px; }
  .header-cta .btn { padding: 8px 12px; font-size: 0.82rem; }
  .header-cta .btn.btn-wa { padding: 8px; }
  .header-cta .btn.btn-wa svg { width: 14px; height: 14px; }
  .header-cta .btn span { display: none; }
  /* Sur mobile, le "Devis gratuit" est plus court */
  .header-cta .btn-primary svg.btn-arrow { display: none; }
  .container { padding: 0 16px; }
  .hero { padding: 40px 0 60px; }
  .hero-card, .form-card { padding: 24px; }
  .quick-quote { grid-template-columns: repeat(2, 1fr); }
  .trust-grid, .products-grid, .services-grid, .why-grid, .numbers-grid,
  .process-grid, .footer-grid, .coverage-grid, .who-grid, .key-benefits,
  .form-row, .choice-grid {
    grid-template-columns: 1fr;
  }
  .choice-grid.cols-3 { grid-template-columns: 1fr 1fr; }
  .legal { flex-direction: column; }
  .number-big { font-size: 3.2rem; }
  .fab-whatsapp { bottom: 16px; right: 16px; width: 54px; height: 54px; }
  .product-hero { padding: 30px 0 40px; }
}


/* ============= FIX HEADER RESPONSIVE (écrans intermédiaires) ============= */
/* Sur les écrans entre 1024px et 1280px : le menu doit rester sur 1 ligne */
.nav-link, .phone-num, .phone-label {
  white-space: nowrap;
}

.phone-block {
  white-space: nowrap;
  text-align: right;
}

/* Sur écrans entre 1024 et 1200px : on cache la phone-block pour gagner de la place */
@media (max-width: 1200px) and (min-width: 769px) {
  .phone-block { display: none !important; }
  .nav { gap: 0; }
  .nav-link { padding: 8px 10px; font-size: 0.88rem; }
}

/* Entre 1024 et 1100px : on raccourcit aussi certains menus */
@media (max-width: 1100px) and (min-width: 1025px) {
  .nav-link { font-size: 0.84rem; padding: 8px 8px; }
}

/* Forcer le header à rester sur une ligne — flex no-wrap */
.header .container {
  flex-wrap: nowrap;
  min-width: 0;
}
.nav { flex-wrap: nowrap; flex-shrink: 1; min-width: 0; }
.header-cta { flex-shrink: 0; }

/* Cacher le top-bar-right plus tôt aussi */
@media (max-width: 1100px) {
  .top-bar-right { display: none !important; }
}

/* =============================================================
   HERO CAROUSEL — Style Apple/Stripe premium
   ============================================================= */
.hero-carousel {
  position: relative;
  height: min(75vh, 640px);
  min-height: 480px;
  width: 100%;
  overflow: hidden;
  background: #1E3A5F;
  margin: 0;
  padding: 0;
  display: block;
}
.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}
.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1), transform 7s linear;
  display: flex;
  align-items: center;
  transform: scale(1);
  overflow: hidden;
}
.carousel-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1.05);
  z-index: 1;
}
.carousel-slide .container { position: relative; z-index: 2; width: 100%; }
.slide-content {
  max-width: 700px;
  color: white;
  animation: slideContentIn 1s cubic-bezier(0.4, 0, 0.2, 1) backwards;
  animation-delay: 0.2s;
}
.carousel-slide.active .slide-content {
  animation-play-state: running;
}
@keyframes slideContentIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.slide-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  margin-bottom: 18px;
}
.slide-eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--navy-light);
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.8);
  animation: pulse 2s ease-in-out infinite;
}

.slide-content h1 {
  color: white;
  font-size: clamp(2rem, 4.5vw, 4rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}
.slide-content h1 .serif {
  color: white;
  opacity: 0.92;
}

.slide-lead {
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 24px;
  max-width: 560px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.slide-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn-white-lg {
  background: white;
  color: var(--black);
  padding: 14px 24px;
  font-size: 0.95rem;
  font-weight: 800;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.25s;
  box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.5);
}
.btn-white-lg:hover {
  background: var(--navy);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 20px 50px -10px rgba(30, 64, 175, 0.6);
}
.btn-glass {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 14px 24px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s;
}
.btn-glass:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  border-color: white;
}

/* Flèches navigation */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  opacity: 0.4;
}
.hero-carousel:hover .carousel-arrow {
  opacity: 1;
}
.carousel-arrow:hover {
  background: white;
  color: var(--black);
  border-color: white;
  transform: translateY(-50%) scale(1.15);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.carousel-prev { left: 14px; }
.carousel-next { right: 14px; }

/* Dots */
.carousel-dots {
  position: absolute;
  bottom: 44px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
  align-items: center;
}
.carousel-dot {
  width: 36px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}
.carousel-dot:hover { background: rgba(255, 255, 255, 0.6); }
.carousel-dot.active {
  background: white;
  width: 56px;
}

/* Barre de progression auto-play */
.carousel-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 10;
}
.carousel-progress-bar {
  height: 100%;
  background: white;
  width: 0%;
  transition: width 0.1s linear;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-carousel { height: min(70vh, 540px); min-height: 460px; }
  .carousel-arrow { width: 38px; height: 38px; top: 50%; transform: translateY(-50%); opacity: 0.6; }
  .carousel-prev { left: 8px; }
  .carousel-next { right: 8px; }
  .carousel-arrow svg { width: 14px; height: 14px; }
}
@media (max-width: 768px) {
  .hero-carousel { height: min(85vh, 500px); min-height: 440px; }
  .slide-content h1 { font-size: clamp(2rem, 8vw, 3rem); }
  .slide-lead { font-size: 1rem; }
  .carousel-arrow { width: 40px; height: 40px; }
  .carousel-arrow svg { width: 16px; height: 16px; }
  .carousel-prev { left: 10px; }
  .carousel-next { right: 10px; }
  .carousel-dots { bottom: 24px; gap: 6px; }
  .carousel-dot { width: 24px; }
  .carousel-dot.active { width: 36px; }
}

/* =============================================================
   FOND SUBTIL DYNAMIQUE — sections du site (hors hero)
   Mesh gradient animé très discret + grain léger
   ============================================================= */

/* Le body reçoit un fond avec dégradés colorés très subtils qui flottent */
body {
  background: 
    radial-gradient(ellipse 900px 700px at 15% 25%, rgba(30, 64, 175, 0.28) 0%, transparent 55%),
    radial-gradient(ellipse 800px 600px at 85% 65%, rgba(59, 130, 246, 0.24) 0%, transparent 55%),
    radial-gradient(ellipse 700px 500px at 50% 100%, rgba(96, 165, 250, 0.28) 0%, transparent 55%),
    linear-gradient(180deg, #EFF6FF 0%, #F8FAFC 50%, #E0EBFA 100%);
  background-attachment: fixed;
}

/* Section transparent overlay très léger pour les sections claires (hors hero, footer, etc.) */
.products::before, .process::before, .why::before, .numbers::before,
.faq::before, .coverage::before, .product-hero::before, .devis-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 700px 500px at 15% 25%, rgba(59, 130, 246, 0.38) 0%, transparent 55%),
    radial-gradient(ellipse 600px 400px at 85% 75%, rgba(147, 197, 253, 0.32) 0%, transparent 55%),
    radial-gradient(ellipse 400px 300px at 60% 50%, rgba(30, 64, 175, 0.20) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
  opacity: 1;
}

.products, .process, .why, .numbers, .faq, .coverage,
.product-hero, .devis-hero {
  position: relative;
}
.products > *, .process > *, .why > *, .numbers > *, .faq > *,
.coverage > *, .product-hero > *, .devis-hero > * {
  position: relative;
  z-index: 1;
}

/* Animation très lente de drift pour donner vie sans déranger */
@keyframes bgDrift {
  0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
  25% { transform: translate(40px, -30px) scale(1.08) rotate(2deg); }
  50% { transform: translate(-20px, 40px) scale(0.95) rotate(-1deg); }
  75% { transform: translate(-40px, -20px) scale(1.05) rotate(1deg); }
}

.products::before, .why::before, .coverage::before {
  animation: bgDrift 18s ease-in-out infinite;
}
.process::before, .numbers::before, .faq::before, .product-hero::before {
  animation: bgDrift 22s ease-in-out infinite reverse;
}

/* Sections sombres : pas de modification */
.trust-band, .agency, .cta-final, .footer, .stats-band {
  background-color: var(--navy);
}
.cta-final, .agency, .footer {
  /* Garde leur fond sombre */
}

/* Désactiver sur mobile pour performance */
@media (max-width: 768px) {
  .products::before, .process::before, .why::before, .numbers::before,
  .faq::before, .coverage::before, .product-hero::before, .devis-hero::before {
    animation: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .products::before, .process::before, .why::before, .numbers::before,
  .faq::before, .coverage::before, .product-hero::before, .devis-hero::before {
    animation: none;
  }
}

/* =============================================================
   MOBILE — Menu hamburger ouvert + dropdown au tap
   ============================================================= */

/* Quand on clique sur le hamburger, .nav.open apparaît en panneau plein écran */
@media (max-width: 768px) {
  header .nav.open,
  .nav.open {
    display: flex !important;
    flex-direction: column !important;
    position: fixed !important;
    top: 72px !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: calc(100vh - 72px) !important;
    background: white !important;
    padding: 24px 20px !important;
    gap: 4px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    z-index: 99 !important;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.15);
    animation: slideDownMenu 0.3s ease;
    align-items: stretch !important;
    justify-content: flex-start !important;
  }
  @keyframes slideDownMenu {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .nav.open .nav-link {
    padding: 16px 20px;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--gray-100);
    width: 100%;
    border-radius: 0;
    justify-content: space-between;
  }
  .nav.open .nav-item {
    width: 100%;
  }
  /* Dropdown sur mobile : devient un sous-menu visible directement */
  .nav.open .dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    background: var(--gray-50);
    padding: 8px;
    margin: 0 0 8px 0;
    min-width: 0;
    border-radius: 12px;
    display: none;
  }
  .nav.open .nav-item.open .dropdown {
    display: block;
  }
  .nav.open .dropdown a {
    padding: 12px 14px;
    font-size: 0.94rem;
  }
  
  /* Icône menu hamburger en croix quand ouvert */
  .menu-toggle.open svg {
    transform: rotate(90deg);
    transition: transform 0.3s;
  }
}

/* Sur appareils tactiles (mobile + tablette), le dropdown ne se déclenche plus au hover */
@media (hover: none) {
  .nav-item:hover .dropdown {
    opacity: 0;
    visibility: hidden;
  }
  .nav-item.open .dropdown,
  .nav-item:active .dropdown {
    opacity: 1;
    visibility: visible;
  }
}

/* Fix : que le carrousel hero ne soit pas trop haut sur petits mobiles */
@media (max-width: 480px) {
  .hero-carousel { height: 600px; min-height: 480px; }
  .slide-content h1 { font-size: 2rem; }
  .slide-lead { font-size: 0.94rem; }
  .btn-white-lg, .btn-glass { padding: 14px 22px; font-size: 0.9rem; }
}

/* Désactiver la barre de progression du carrousel */
.carousel-progress { display: none !important; }

/* =============================================================
   DOUBLE NUMÉRO TÉLÉPHONE (fixe + mobile)
   ============================================================= */
.phone-num {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--black);
  letter-spacing: -0.01em;
  line-height: 1.1;
  text-decoration: none;
}
.phone-num-mobile {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-500);
  letter-spacing: 0;
  text-decoration: none;
  margin-top: 1px;
  transition: color 0.2s;
}
.phone-num-mobile:hover {
  color: var(--wa);
}
.phone-num:hover {
  color: var(--navy);
}
.phone-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
}

/* =============================================================
   BANNIÈRE LIGNE DÉDIÉE BTP (page Décennale)
   ============================================================= */
.btp-hotline {
  background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
  border-top: 1px solid #F59E0B;
  border-bottom: 1px solid #F59E0B;
  padding: 22px 0;
  position: relative;
  overflow: hidden;
}
.btp-hotline::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(circle at 10% 50%, rgba(245, 158, 11, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 90% 50%, rgba(245, 158, 11, 0.12) 0%, transparent 40%);
  pointer-events: none;
}
.btp-hotline-content {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.btp-hotline-icon {
  width: 50px;
  height: 50px;
  background: #92400E;
  color: white;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 20px -4px rgba(146, 64, 14, 0.4);
}
.btp-hotline-icon svg {
  width: 26px;
  height: 26px;
}
.btp-hotline-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 200px;
}
.btp-hotline-label {
  font-size: 1.04rem;
  font-weight: 800;
  color: #78350F;
  letter-spacing: -0.01em;
}
.btp-hotline-sub {
  font-size: 0.86rem;
  color: #92400E;
  font-weight: 500;
}
.btp-hotline-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: #92400E;
  color: white;
  border-radius: 12px;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: all 0.25s;
  box-shadow: 0 8px 20px -4px rgba(146, 64, 14, 0.4);
  white-space: nowrap;
}
.btp-hotline-btn:hover {
  background: #78350F;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -4px rgba(146, 64, 14, 0.6);
}

@media (max-width: 640px) {
  .btp-hotline-content { gap: 12px; justify-content: center; text-align: center; }
  .btp-hotline-text { align-items: center; }
  .btp-hotline-btn { width: 100%; justify-content: center; }
}


/* =============================================================
   CARROUSEL — Positionnement intelligent des photos sur mobile
   ============================================================= */
@media (max-width: 768px) {
  /* Sur mobile, on garde le sujet visible quel que soit l'écran */
  .carousel-slide[data-product="auto"] {
    background-position: 65% center !important;
  }
  .carousel-slide[data-product="decennale"] {
    background-position: 60% center !important;
  }
  .carousel-slide[data-product="sante"] {
    background-position: 70% center !important;
  }
  .carousel-slide[data-product="habitation"] {
    background-position: 50% center !important;
  }
  .carousel-slide[data-product="pro"] {
    background-position: 55% center !important;
  }
  .carousel-slide[data-product="emprunteur"] {
    background-position: 60% center !important;
  }
  
  /* Sur mobile très étroit, ajustement du contenu */
  .slide-content {
    max-width: 100%;
    padding-right: 8px;
  }
  .slide-content h1 {
    font-size: clamp(1.7rem, 6.5vw, 2.4rem) !important;
    line-height: 1.1;
  }
  .slide-lead {
    font-size: 0.88rem !important;
    line-height: 1.45;
    margin-bottom: 16px;
  }
  .slide-eyebrow {
    font-size: 0.72rem;
    padding: 6px 12px;
    margin-bottom: 12px;
  }
  .slide-cta { gap: 8px; }
  .slide-cta .btn { padding: 12px 18px; font-size: 0.85rem; }
}
