@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,300&display=swap');

/* ===================== VARIABLES ===================== */
:root {
  --primary: #0C2D5A;
  --primary-mid: #185FA5;
  --primary-light: #E6F1FB;
  --accent: #1D9E75;
  --accent-dark: #0F6E56;
  --accent-light: #E1F5EE;
  --gray: #5F5E5A;
  --gray-light: #F5F7FA;
  --gray-mid: #D3D1C7;
  --white: #ffffff;
  --text: #1a1a2e;
  --text-muted: #6b6b80;
  --danger: #E24B4A;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(12,45,90,0.10);
  --shadow-lg: 0 8px 40px rgba(12,45,90,0.16);
  --transition: all 0.22s cubic-bezier(.4,0,.2,1);
  --max-width: 1180px;
}

/* ===================== RESET ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--text); background: var(--white); line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ===================== UTILITAIRES ===================== */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--gray { background: var(--gray-light); }
.section--dark { background: var(--primary); color: var(--white); }
.section-title { font-family: var(--font-display); font-size: clamp(28px, 4vw, 42px); font-weight: 800; color: var(--primary); line-height: 1.15; margin-bottom: 16px; }
.section-title--white { color: var(--white); }
.section-subtitle { font-size: 18px; color: var(--text-muted); margin-bottom: 48px; max-width: 600px; }
.section-subtitle--white { color: rgba(255,255,255,0.75); }
.text-accent { color: var(--accent); }
.text-center { text-align: center; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }
.fw-bold { font-weight: 600; }
.highlight { background: var(--accent-light); color: var(--accent-dark); padding: 2px 8px; border-radius: 4px; font-weight: 600; }

/* ===================== BOUTONS ===================== */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 50px; font-family: var(--font-body); font-weight: 600; font-size: 15px; transition: var(--transition); cursor: pointer; text-decoration: none; }
.btn-primary { background: var(--accent); color: var(--white); box-shadow: 0 4px 16px rgba(29,158,117,0.3); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(29,158,117,0.4); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-white { background: var(--white); color: var(--primary); font-weight: 700; }
.btn-white:hover { background: var(--primary-light); transform: translateY(-2px); }
.btn-phone { background: var(--accent); color: var(--white); font-weight: 700; letter-spacing: 0.02em; }
.btn-phone:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-lg { padding: 18px 36px; font-size: 17px; }

/* ===================== HEADER ===================== */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(255,255,255,0.97); backdrop-filter: blur(12px); border-bottom: 1px solid var(--gray-mid); transition: var(--transition); }
.header.scrolled { box-shadow: var(--shadow); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 18px; color: var(--primary); }
.logo-icon { width: 38px; height: 38px; background: var(--primary); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.logo-icon svg { width: 22px; height: 22px; fill: var(--white); }
.logo-text span { color: var(--accent); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav-link { padding: 8px 16px; border-radius: 8px; font-size: 15px; font-weight: 500; color: var(--text); transition: var(--transition); }
.nav-link:hover { background: var(--gray-light); color: var(--primary); }
.nav-link.active { color: var(--primary); font-weight: 600; }
.nav-cta { margin-left: 12px; padding: 10px 20px; background: var(--accent); color: var(--white) !important; border-radius: 50px; font-weight: 700; font-size: 14px; white-space: nowrap; }
.nav-cta:hover { background: var(--accent-dark); transform: translateY(-1px); }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; cursor: pointer; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--primary); border-radius: 2px; transition: var(--transition); }

/* ===================== BREADCRUMB ===================== */
.breadcrumb { padding: 16px 0; font-size: 13px; color: var(--text-muted); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.breadcrumb li { display: flex; align-items: center; gap: 6px; }
.breadcrumb li:not(:last-child)::after { content: '›'; color: var(--gray-mid); }
.breadcrumb a { color: var(--primary-mid); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-wrap { background: var(--gray-light); border-bottom: 1px solid var(--gray-mid); margin-top: 72px; }

/* ===================== FOOTER ===================== */
.footer { background: var(--primary); color: var(--white); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-logo { font-family: var(--font-display); font-weight: 800; font-size: 20px; margin-bottom: 12px; }
.footer-logo span { color: var(--accent); }
.footer-desc { font-size: 14px; color: rgba(255,255,255,0.65); line-height: 1.7; margin-bottom: 20px; }
.footer-phone { display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: var(--white); padding: 12px 20px; border-radius: 50px; font-weight: 700; font-size: 15px; }
.footer-phone:hover { background: var(--accent-dark); }
.footer-col h4 { font-family: var(--font-display); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.5); margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,0.75); transition: var(--transition); }
.footer-col ul li a:hover { color: var(--accent); padding-left: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.4); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 13px; color: rgba(255,255,255,0.4); }
.footer-bottom-links a:hover { color: var(--accent); }

/* ===================== FLOATING CTA MOBILE ===================== */
.floating-cta { display: none; position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 999; background: var(--accent); color: var(--white); padding: 14px 28px; border-radius: 50px; font-weight: 700; font-size: 16px; box-shadow: 0 8px 32px rgba(29,158,117,0.45); white-space: nowrap; }
.floating-cta:hover { background: var(--accent-dark); }

/* ===================== CARDS ===================== */
.card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px; transition: var(--transition); border: 1px solid var(--gray-mid); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-icon { width: 56px; height: 56px; border-radius: 14px; background: var(--primary-light); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.card-icon svg { width: 28px; height: 28px; fill: var(--primary); }
.card h3 { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--primary); margin-bottom: 10px; }
.card p { font-size: 15px; color: var(--text-muted); line-height: 1.65; }

/* ===================== GRILLES ===================== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap-gap: 28px; gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ===================== BADGES / TAGS ===================== */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 50px; font-size: 13px; font-weight: 600; }
.badge-green { background: var(--accent-light); color: var(--accent-dark); }
.badge-blue { background: var(--primary-light); color: var(--primary); }

/* ===================== FAQ ===================== */
.faq-item { border: 1px solid var(--gray-mid); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; }
.faq-question { width: 100%; text-align: left; padding: 20px 24px; font-family: var(--font-body); font-size: 16px; font-weight: 600; color: var(--primary); background: var(--white); display: flex; justify-content: space-between; align-items: center; gap: 16px; cursor: pointer; transition: var(--transition); }
.faq-question:hover { background: var(--gray-light); }
.faq-question.open { background: var(--primary-light); }
.faq-icon { width: 24px; height: 24px; border-radius: 50%; background: var(--primary-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: var(--transition); }
.faq-question.open .faq-icon { background: var(--primary); transform: rotate(45deg); }
.faq-icon svg { width: 14px; height: 14px; fill: var(--primary); }
.faq-question.open .faq-icon svg { fill: var(--white); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.25s ease; }
.faq-answer.open { max-height: 400px; }
.faq-answer-inner { padding: 0 24px 20px; font-size: 15px; color: var(--text-muted); line-height: 1.7; }

/* ===================== TESTIMONIALS ===================== */
.testimonial { background: var(--white); border-radius: var(--radius); padding: 28px; border: 1px solid var(--gray-mid); box-shadow: var(--shadow); }
.testimonial-stars { color: #F4A400; font-size: 18px; margin-bottom: 12px; letter-spacing: 2px; }
.testimonial-text { font-size: 15px; color: var(--text); line-height: 1.7; font-style: italic; margin-bottom: 16px; }
.testimonial-author { font-weight: 700; font-size: 14px; color: var(--primary); }
.testimonial-city { font-size: 13px; color: var(--text-muted); }

/* ===================== PAGE HERO INTERNE ===================== */
.page-hero { background: linear-gradient(135deg, var(--primary) 0%, #1a4a8a 100%); color: var(--white); padding: 60px 0; }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(28px, 4vw, 44px); font-weight: 800; margin-bottom: 16px; line-height: 1.15; }
.page-hero p { font-size: 18px; color: rgba(255,255,255,0.8); max-width: 640px; }

/* ===================== VILLES GRID ===================== */
.villes-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.ville-link { padding: 8px 16px; background: var(--gray-light); border: 1px solid var(--gray-mid); border-radius: 50px; font-size: 14px; color: var(--primary); font-weight: 500; transition: var(--transition); }
.ville-link:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* ===================== STAT BOXES ===================== */
.stat-box { text-align: center; padding: 32px 20px; }
.stat-number { font-family: var(--font-display); font-size: 48px; font-weight: 800; color: var(--accent); line-height: 1; margin-bottom: 8px; }
.stat-label { font-size: 15px; color: rgba(255,255,255,0.7); }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .nav { display: none; flex-direction: column; position: fixed; top: 72px; left: 0; right: 0; background: var(--white); padding: 20px; box-shadow: var(--shadow); border-top: 1px solid var(--gray-mid); gap: 4px; }
  .nav.open { display: flex; }
  .nav-link { width: 100%; padding: 12px 16px; }
  .nav-cta { margin-left: 0; text-align: center; }
  .hamburger { display: flex; }
  .floating-cta { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .grid-4 { grid-template-columns: 1fr; }
}
