/* =========================================================
   Éclat Auto — Feuille de style principale
   ========================================================= */

:root {
  --navy: #0c1c2e;
  --navy-light: #16324c;
  --cyan: #1fa695;
  --cyan-dark: #167f72;
  --amber: #eea23a;
  --amber-dark: #cc7f1d;
  --bg: #ffffff;
  --bg-alt: #f2f6f7;
  --text: #16232f;
  --text-muted: #55697a;
  --border: #e1e8ea;
  --success: #1f9d55;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 8px rgba(11, 37, 69, 0.06);
  --shadow-md: 0 8px 24px rgba(11, 37, 69, 0.10);
  --shadow-lg: 0 20px 48px rgba(11, 37, 69, 0.16);
  --max-width: 1180px;
  --font: 'Segoe UI', system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

h1, h2, h3, h4 { line-height: 1.2; font-weight: 800; color: var(--navy); }

h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  text-transform: uppercase;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
h3 { font-size: 1.2rem; text-wrap: balance; }

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  z-index: 1000;
}
.skip-link:focus { left: 12px; top: 12px; border-radius: var(--radius-sm); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--amber); color: var(--navy); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--amber-dark); color: #fff; box-shadow: var(--shadow-md); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-lg { padding: 15px 30px; font-size: 1.02rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.site-header.scrolled {
  box-shadow: var(--shadow-sm);
  border-color: var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--navy);
  flex-shrink: 0;
}
.logo strong { color: var(--cyan-dark); }

.main-nav ul { display: flex; gap: 28px; }
.main-nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  position: relative;
  padding: 4px 0;
}
.main-nav a:hover { color: var(--cyan-dark); }

.header-actions { display: flex; align-items: center; gap: 16px; }
.phone-link { font-weight: 700; font-size: 0.92rem; white-space: nowrap; }
.phone-link:hover { color: var(--cyan-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--navy);
  color: #fff;
  padding: 70px 0 120px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(6px 6px at 8% 22%, rgba(31,166,149,0.35), transparent 60%),
    radial-gradient(4px 4px at 18% 62%, rgba(238,162,58,0.30), transparent 60%),
    radial-gradient(5px 5px at 32% 12%, rgba(255,255,255,0.14), transparent 60%),
    radial-gradient(3px 3px at 46% 48%, rgba(31,166,149,0.28), transparent 60%),
    radial-gradient(7px 7px at 62% 78%, rgba(255,255,255,0.10), transparent 60%),
    radial-gradient(4px 4px at 74% 30%, rgba(238,162,58,0.22), transparent 60%),
    radial-gradient(5px 5px at 88% 58%, rgba(31,166,149,0.24), transparent 60%),
    radial-gradient(3px 3px at 95% 20%, rgba(255,255,255,0.12), transparent 60%);
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 14px;
}
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero h1 span { color: var(--amber); }
.hero-sub { font-size: 1.08rem; color: #d7e3f0; max-width: 560px; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero .btn-outline { border-color: #fff; color: #fff; }
.hero .btn-outline:hover { background: #fff; color: var(--navy); }
.hero-badges { display: flex; flex-wrap: wrap; gap: 18px; font-size: 0.9rem; color: #cfe0f0; }

.hero-visual { display: flex; justify-content: center; }
.price-card {
  background: #fff;
  color: var(--navy);
  border-radius: var(--radius);
  padding: 36px 40px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  min-width: 260px;
}
.price-tag {
  display: inline-block;
  background: var(--bg-alt);
  color: var(--amber-dark);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.price-amount { font-size: 3.6rem; font-weight: 900; color: var(--amber-dark); line-height: 1; }
.price-amount .currency { font-size: 1.6rem; vertical-align: top; margin-left: 2px; }
.price-card p { color: var(--text-muted); margin-top: 8px; font-weight: 600; }
.price-drops { margin-top: 18px; font-size: 1.4rem; }

.wave-divider { display: block; width: 100%; height: 70px; position: relative; margin-top: -4px; }

/* ---------- Trust bar ---------- */
.trust-bar { background: var(--bg-alt); padding: 34px 0; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust-icon { font-size: 1.6rem; }
.trust-item p { font-size: 0.92rem; font-weight: 600; color: var(--navy); }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head .eyebrow { text-align: center; }
.section-sub { color: var(--text-muted); margin-top: 12px; font-size: 1.02rem; }

.grid { display: grid; gap: 26px; }
.services-grid { grid-template-columns: repeat(3, 1fr); }

.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-icon { font-size: 2rem; margin-bottom: 14px; }
.service-card h3 { margin-bottom: 10px; font-size: 1.08rem; }
.service-card p { color: var(--text-muted); font-size: 0.95rem; }

.addons { margin-top: 50px; text-align: center; }
.addons h3 { margin-bottom: 18px; font-size: 1.1rem; }
.addons-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.chip {
  background: #fff;
  border: 1px solid var(--border);
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy-light);
}

/* ---------- Steps ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.step { text-align: center; }
.step-num {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.2rem;
  margin: 0 auto 16px;
}
.step h3 { margin-bottom: 8px; font-size: 1.05rem; }
.step p { color: var(--text-muted); font-size: 0.92rem; }

/* ---------- Pricing ---------- */
.pricing-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  max-width: 980px;
  margin: 0 auto;
}
.pricing-card {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 40px 36px;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.pricing-badge {
  position: absolute;
  top: -14px; right: 28px;
  background: var(--amber);
  color: var(--navy);
  font-weight: 800;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 6px 14px;
  border-radius: 999px;
}
.pricing-card h3 { color: #fff; margin-bottom: 6px; }
.pricing-price { font-size: 3rem; font-weight: 900; margin: 6px 0 22px; color: var(--amber); }
.pricing-price .currency { font-size: 1.4rem; vertical-align: top; }
.pricing-price .per { font-size: 1rem; font-weight: 500; color: #b9cbdd; }
.pricing-list { margin-bottom: 26px; }
.pricing-list li { padding: 7px 0; font-size: 0.95rem; color: #dce8f2; border-bottom: 1px solid rgba(255,255,255,0.08); }
.pricing-list li:last-child { border-bottom: none; }

.pricing-note { padding-top: 8px; }
.pricing-note h4 { color: var(--navy); margin-bottom: 8px; font-size: 1rem; }
.pricing-note p { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 22px; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-card {
  background: linear-gradient(135deg, var(--navy) 0%, var(--cyan-dark) 100%);
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  gap: 10px;
  transition: transform .2s ease;
}
.gallery-card:hover { transform: scale(1.03); }
.gallery-icon { font-size: 2.6rem; }
.gallery-card p { font-weight: 700; font-size: 0.95rem; }
.gallery-note { text-align: center; margin-top: 24px; color: var(--text-muted); font-size: 0.88rem; }

/* ---------- Testimonials ---------- */
.testimonials-grid { grid-template-columns: repeat(3, 1fr); }
.testimonial-card {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 28px 26px;
}
.stars { color: #f5a623; letter-spacing: 2px; margin-bottom: 12px; }
.testimonial-card p { font-style: italic; color: var(--text); margin-bottom: 16px; }
.testimonial-card footer { font-weight: 700; color: var(--navy); font-size: 0.9rem; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 22px;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.faq-icon { font-size: 1.3rem; color: var(--cyan-dark); transition: transform .2s ease; }
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease, padding .25s ease;
  padding: 0 22px;
}
.faq-answer p { color: var(--text-muted); font-size: 0.93rem; padding-bottom: 18px; }
.faq-item.open .faq-answer { max-height: 200px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.contact-info .eyebrow { text-align: left; }
.contact-info h2 { margin-bottom: 14px; }
.contact-list { margin: 28px 0; display: flex; flex-direction: column; gap: 16px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.95rem; color: var(--text); }
.contact-list a:hover { color: var(--cyan-dark); }
.social-links { display: flex; gap: 16px; }
.social-links a {
  border: 1px solid var(--border);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
}
.social-links a:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

.contact-form {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 34px;
  border: 1px solid var(--border);
}
.contact-form h3 { margin-bottom: 20px; }
.form-row { margin-bottom: 18px; }
.form-row-split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row label { display: block; font-weight: 700; font-size: 0.86rem; margin-bottom: 6px; color: var(--navy); }
.form-row input, .form-row textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  background: #fff;
  color: var(--text);
}
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0,180,216,0.15);
}
.form-status { margin-top: 14px; font-weight: 700; font-size: 0.9rem; min-height: 1.2em; }
.form-status.success { color: var(--success); }
.form-status.error { color: #d33; }
.form-hint { margin-top: 10px; font-size: 0.8rem; color: var(--text-muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #cfe0f0; padding: 46px 0 26px; }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  margin-bottom: 18px;
}
.footer-brand .logo { color: #fff; font-weight: 800; margin-bottom: 6px; }
.footer-brand p { font-size: 0.85rem; color: #9fb6cc; }
.footer-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-nav a { font-size: 0.88rem; color: #cfe0f0; }
.footer-nav a:hover { color: var(--cyan); }
.footer-copy { text-align: center; font-size: 0.8rem; color: #7f97b0; }

/* ---------- Floating call button ---------- */
.fab {
  display: none;
  position: fixed;
  bottom: 20px; right: 20px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--navy);
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-lg);
  z-index: 90;
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { justify-content: flex-start; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-wrap { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .main-nav {
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
  }
  .main-nav.open { max-height: 400px; }
  .main-nav ul { flex-direction: column; padding: 10px 24px 20px; gap: 4px; }
  .main-nav a { display: block; padding: 12px 0; border-bottom: 1px solid var(--border); }
  .nav-toggle { display: flex; }
  .phone-link { display: none; }
  .header-actions .btn { display: none; }
  .fab { display: flex; }
  .form-row-split { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .trust-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .hero { padding: 50px 0 90px; }
  .price-card { padding: 28px; min-width: 0; width: 100%; }
}
