/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bleu:    #1a3c5e;
  --bleu2:   #2563a8;
  --or:      #c8a96e;
  --gris:    #f5f6f8;
  --texte:   #1e1e1e;
  --muted:   #5a6272;
  --blanc:   #ffffff;
  --radius:  8px;
  --shadow:  0 2px 16px rgba(0,0,0,.10);
}

html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', Arial, sans-serif; color: var(--texte); line-height: 1.7; background: var(--blanc); }

img { max-width: 100%; height: auto; display: block; }
a  { color: var(--bleu2); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ===== UTILITAIRES ===== */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }

/* ===== HEADER / NAV ===== */
header {
  background: var(--bleu);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px; max-width: 1100px; margin: 0 auto; height: 68px;
}
.logo { display: flex; align-items: center; gap: 10px; color: var(--blanc); font-size: 1.3rem; font-weight: 700; letter-spacing: .5px; }
.logo span { color: var(--or); }
.logo-img { display: flex; align-items: center; }
.logo-img img { height: 52px; width: auto; display: block; }

nav ul { list-style: none; display: flex; gap: 8px; }
nav a {
  color: #c9d6e8; padding: 8px 14px; border-radius: var(--radius);
  font-size: .95rem; font-weight: 500; transition: background .2s, color .2s;
}
nav a:hover, nav a.active { background: var(--bleu2); color: var(--blanc); text-decoration: none; }

.nav-cta {
  background: var(--or); color: var(--bleu) !important; font-weight: 700 !important;
  padding: 9px 18px !important;
}
.nav-cta:hover { background: #b8923a !important; color: var(--blanc) !important; }

.menu-toggle { display: none; background: none; border: none; cursor: pointer; color: var(--blanc); font-size: 1.6rem; }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--bleu) 0%, #0f2540 100%) !important;
  color: var(--blanc); padding: 90px 20px 80px; text-align: center;
}
.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800;
  line-height: 1.25; margin-bottom: 1.2rem; letter-spacing: -.5px;
}
.hero h1 span { color: var(--or); }
.hero p { font-size: 1.15rem; max-width: 640px; margin: 0 auto 2rem; color: #b8cde0; }
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block; padding: 13px 28px; border-radius: var(--radius);
  font-weight: 700; font-size: 1rem; cursor: pointer; transition: transform .15s, box-shadow .15s;
  border: 2px solid transparent;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.18); text-decoration: none; }
.btn-primary { background: var(--or); color: var(--bleu); }
.btn-outline { background: transparent; border-color: var(--blanc); color: var(--blanc); }
.btn-outline:hover { background: var(--blanc); color: var(--bleu); }

.hero-badges { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-top: 2.5rem; }
.badge { background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.2); border-radius: 40px; padding: 6px 16px; font-size: .85rem; color: #cde; }

/* ===== SECTIONS ===== */
section { padding: 72px 0; }
section:nth-child(even) { background: var(--gris); }

.section-tag { color: var(--or); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: .5rem; }
.section-title { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; color: var(--bleu); margin-bottom: 1rem; line-height: 1.25; }
.section-intro { color: var(--muted); max-width: 680px; margin: 0 auto 2.5rem; font-size: 1.05rem; }

/* ===== SERVICES GRID ===== */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 2rem; }
.service-card {
  background: var(--blanc); border-radius: 12px; padding: 28px 24px;
  box-shadow: var(--shadow); border-top: 4px solid var(--or);
  transition: transform .2s, box-shadow .2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,.14); }
.service-icon { font-size: 2rem; margin-bottom: .8rem; }
.service-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--bleu); margin-bottom: .5rem; }
.service-card p { color: var(--muted); font-size: .95rem; }

/* ===== PROCESS ===== */
.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; margin-top: 2rem; }
.step { text-align: center; padding: 24px 16px; }
.step-num { width: 52px; height: 52px; border-radius: 50%; background: var(--bleu); color: var(--blanc); font-size: 1.2rem; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.step h3 { font-size: 1rem; color: var(--bleu); font-weight: 700; margin-bottom: .4rem; }
.step p { font-size: .9rem; color: var(--muted); }

/* ===== AVANTAGES ===== */
.avantages-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 2rem; }
.avantage { display: flex; gap: 12px; align-items: flex-start; padding: 18px; background: var(--blanc); border-radius: var(--radius); box-shadow: var(--shadow); }
.avantage-icon { font-size: 1.5rem; flex-shrink: 0; }
.avantage h3 { font-size: .95rem; font-weight: 700; color: var(--bleu); margin-bottom: .2rem; }
.avantage p { font-size: .88rem; color: var(--muted); }

/* ===== ZONE ===== */
.zone-list { columns: 2; gap: 16px; margin-top: 1.5rem; list-style: none; }
.zone-list li { padding: 6px 0; color: var(--muted); font-size: .95rem; }
.zone-list li::before { content: "📍 "; }

/* ===== TEMOIGNAGE ===== */
.temoignage-box {
  background: var(--bleu); color: var(--blanc); border-radius: 16px;
  padding: 48px 40px; max-width: 700px; margin: 0 auto; text-align: center;
}
.stars { color: var(--or); font-size: 1.4rem; letter-spacing: 4px; margin-bottom: 1rem; }
.temoignage-box blockquote { font-size: 1.15rem; font-style: italic; line-height: 1.7; margin-bottom: 1.2rem; }
.temoignage-box cite { color: var(--or); font-weight: 700; font-style: normal; }

/* ===== FAQ ===== */
.faq-list { max-width: 780px; margin: 2rem auto 0; }
details {
  border: 1px solid #e0e4ec; border-radius: var(--radius);
  margin-bottom: 12px; overflow: hidden;
}
summary {
  padding: 16px 20px; font-weight: 700; cursor: pointer; color: var(--bleu);
  display: flex; justify-content: space-between; align-items: center;
  list-style: none; font-size: 1rem;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.4rem; color: var(--or); transition: transform .2s; }
details[open] summary::after { content: "−"; }
details[open] { border-color: var(--bleu2); }
.faq-answer { padding: 0 20px 18px; color: var(--muted); font-size: .97rem; line-height: 1.7; }

/* ===== BLOG ===== */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; margin-top: 2rem; }
.blog-card { background: var(--blanc); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); transition: transform .2s; }
.blog-card:hover { transform: translateY(-4px); }
.blog-card-img { background: linear-gradient(135deg, var(--bleu), var(--bleu2)); height: 180px; display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.blog-card-body { padding: 22px; }
.blog-tag { font-size: .78rem; font-weight: 700; color: var(--or); text-transform: uppercase; letter-spacing: 1px; }
.blog-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--bleu); margin: .5rem 0; line-height: 1.4; }
.blog-card p { font-size: .9rem; color: var(--muted); margin-bottom: 1rem; }
.blog-card a { font-size: .9rem; font-weight: 700; color: var(--bleu2); }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-info h2 { font-size: 1.6rem; color: var(--bleu); margin-bottom: 1rem; }
.contact-info p { color: var(--muted); margin-bottom: 1.5rem; }
.contact-item { display: flex; gap: 12px; align-items: center; margin-bottom: 1rem; }
.contact-item-icon { font-size: 1.3rem; }
.contact-item span { color: var(--texte); font-size: .97rem; }

.form-group { margin-bottom: 18px; }
label { display: block; font-weight: 600; font-size: .9rem; color: var(--bleu); margin-bottom: 6px; }
input, textarea, select {
  width: 100%; padding: 12px 14px; border: 1.5px solid #d1d9e6;
  border-radius: var(--radius); font-size: 1rem; font-family: inherit;
  transition: border-color .2s, box-shadow .2s; background: var(--blanc);
}
input:focus, textarea:focus, select:focus {
  outline: none; border-color: var(--bleu2);
  box-shadow: 0 0 0 3px rgba(37,99,168,.12);
}
textarea { resize: vertical; min-height: 130px; }

/* ===== CTA BANDEAU ===== */
.cta-section {
  background: linear-gradient(135deg, var(--bleu) 0%, #0f2540 100%) !important;
  color: var(--blanc); text-align: center; padding: 70px 20px;
}
.cta-section h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 1rem; }
.cta-section p { color: #b0c4d8; max-width: 560px; margin: 0 auto 2rem; }

/* ===== FOOTER ===== */
footer {
  background: #0a1d2f; color: #8aa0b4; padding: 50px 0 24px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.footer-brand p { font-size: .9rem; margin-top: .8rem; line-height: 1.6; max-width: 280px; }
footer h4 { color: var(--blanc); font-size: .9rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1rem; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 8px; }
footer ul a { color: #8aa0b4; font-size: .9rem; }
footer ul a:hover { color: var(--or); text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 20px; text-align: center; font-size: .85rem; }
.footer-bottom a { color: var(--or); }

/* ===== PAGE INTERNE ===== */
.page-hero {
  background: linear-gradient(135deg, var(--bleu), #0f2540) !important;
  color: var(--blanc); padding: 60px 20px; text-align: center;
}
.page-hero h1 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800; margin-bottom: .8rem; }
.page-hero p { color: #b0c4d8; max-width: 600px; margin: 0 auto; }
.breadcrumb { font-size: .85rem; margin-bottom: 1rem; color: #8aa0b4; }
.breadcrumb a { color: var(--or); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  nav ul { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--bleu); padding: 12px 0; box-shadow: 0 4px 12px rgba(0,0,0,.3); }
  nav ul.open { display: flex; }
  nav a { border-radius: 0; padding: 12px 24px; }
  .menu-toggle { display: block; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .zone-list { columns: 1; }
  .hero { padding: 60px 20px; }
}
