/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  color: #1e293b;
  background: #f8fafc;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ===== DESIGN TOKENS ===== */
:root {
  --navy: #0f172a;
  --navy-2: #1e293b;
  --slate: #334155;
  --slate-light: #64748b;
  --slate-lighter: #94a3b8;
  --amber: #f59e0b;
  --amber-light: #fbbf24;
  --amber-bg: #fef3c7;
  --bg: #f8fafc;
  --white: #ffffff;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --success: #10b981;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow: 0 4px 20px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.10);
  --radius: 14px;
  --radius-sm: 10px;
  --radius-xs: 8px;
}

/* ===== NAV ===== */
nav {
  position: relative;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 32px;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 10px rgba(0,0,0,0.03);
}
.logo {
  height: 44px;
  width: auto;
  transition: transform 0.2s;
}
.logo:hover { transform: scale(1.05); }
.nav-right {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  color: var(--slate);
  text-decoration: none;
  margin-left: 4px;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-xs);
  transition: all 0.2s;
}
.nav-links a:hover {
  background: var(--border-light);
  color: var(--navy);
}

/* ===== LANG TOGGLE ===== */
.lang-toggle {
  margin-left: 12px;
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--border-light);
  border-radius: 20px;
  padding: 3px;
}
.lang-btn {
  border: none;
  background: transparent;
  color: var(--slate-light);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.2s;
}
.lang-btn.active {
  background: var(--navy);
  color: #fff;
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1a2744 50%, #1e3a5f 100%);
  color: #fff;
  text-align: center;
  padding: 80px 24px 70px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245,158,11,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero h1 {
  font-size: clamp(30px, 5.5vw, 44px);
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.15;
  font-weight: 700;
  position: relative;
}
.hero .hero-subtitle {
  font-size: clamp(16px, 2.5vw, 19px);
  color: #cbd5e1;
  max-width: 640px;
  margin: 0 auto 28px;
  line-height: 1.6;
  position: relative;
}
.hero-cta {
  display: inline-block;
  background: var(--amber);
  color: var(--navy);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 36px;
  border-radius: var(--radius-xs);
  text-decoration: none;
  transition: all 0.25s;
  position: relative;
}
.hero-cta:hover {
  background: var(--amber-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245,158,11,0.35);
}
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--amber-light);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 24px;
  position: relative;
}

/* ===== CONTAINER ===== */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 50px 24px 60px;
  flex: 1;
}
.container-narrow {
  max-width: 640px;
}

/* ===== SECTION TITLES ===== */
.section-title {
  text-align: center;
  margin-bottom: 36px;
}
.section-title h2 {
  font-size: clamp(22px, 4vw, 30px);
  color: var(--navy);
  margin-bottom: 10px;
}
.section-title p {
  color: var(--slate-light);
  font-size: 16px;
}

/* ===== SPÉCIALITÉS CLIQUABLES ===== */
.specialty {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 16px;
  border-left: 4px solid var(--navy-2);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease, box-shadow 0.25s ease, border-left-color 0.25s ease;
}
.specialty.visible {
  opacity: 1;
  transform: translateY(0);
}
.specialty:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-left-color: var(--amber);
}
.specialty h3 { font-size: 17px; margin-bottom: 8px; color: var(--navy); }
.specialty p { color: var(--slate-light); font-size: 15px; margin: 0; }

/* ===== SERVICE SECTIONS ===== */
.service-section {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 32px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--navy-2);
  scroll-margin-top: 90px;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.service-section.visible {
  opacity: 1;
  transform: translateY(0);
}
.service-section h2 { margin-bottom: 12px; font-size: 22px; }
.service-section .service-desc { color: var(--slate-light); font-size: 15px; margin-bottom: 14px; }
.service-section ul {
  margin-top: 8px;
  padding-left: 20px;
  color: var(--slate-light);
  list-style: none;
}
.service-section ul li {
  margin-bottom: 8px;
  font-size: 15px;
  position: relative;
  padding-left: 22px;
}
.service-section ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--amber);
  font-weight: 700;
}
.service-section .price-tag {
  display: inline-block;
  background: var(--amber-bg);
  color: #92400e;
  font-weight: 700;
  font-size: 15px;
  padding: 6px 16px;
  border-radius: 20px;
  margin-top: 16px;
}

/* ===== PRICE CARDS ===== */
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 30px 0;
}
.price-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
}
.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.price-card.featured {
  border-color: var(--amber);
  background: linear-gradient(180deg, #fffbeb 0%, var(--white) 40%);
}
.price-card .price-icon {
  font-size: 28px;
  margin-bottom: 12px;
}
.price-card h3 {
  font-size: 16px;
  color: var(--navy);
  margin-bottom: 8px;
}
.price-card .price-amount {
  font-size: 32px;
  font-weight: 700;
  color: var(--navy);
  margin: 8px 0 4px;
}
.price-card .price-amount .currency {
  font-size: 18px;
  vertical-align: top;
  color: var(--slate-light);
}
.price-card .price-desc {
  font-size: 13px;
  color: var(--slate-light);
  margin-bottom: 14px;
}
.price-card .price-features {
  text-align: left;
  font-size: 13px;
  color: var(--slate-light);
  list-style: none;
  padding: 0;
  margin-bottom: 18px;
  flex: 1;
}
.price-card .price-features li {
  padding: 4px 0 4px 20px;
  position: relative;
}
.price-card .price-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}
.price-card .price-btn {
  display: block;
  text-align: center;
  background: var(--navy-2);
  color: #fff;
  padding: 10px;
  border-radius: var(--radius-xs);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.2s;
}
.price-card .price-btn:hover { background: var(--navy); }
.price-card.featured .price-btn {
  background: var(--amber);
  color: var(--navy);
}
.price-card.featured .price-btn:hover { background: var(--amber-light); }
.price-badge {
  display: inline-block;
  background: var(--amber);
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  margin-bottom: 8px;
}

/* ===== TESTIMONIALS / AVIS ===== */
.testimonials {
  margin-top: 50px;
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 28px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 26px;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}
.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.testimonial-stars {
  font-size: 18px;
  margin-bottom: 12px;
  letter-spacing: 2px;
}
.star-filled { color: var(--amber); }
.star-empty { color: var(--border); }
.testimonial-text {
  color: var(--slate);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy-2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}
.testimonial-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}
.testimonial-location {
  font-size: 12px;
  color: var(--slate-lighter);
}

/* ===== FAQ ===== */
.faq { margin-top: 50px; }
.faq-item {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 18px 24px;
  margin-bottom: 10px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: box-shadow 0.2s;
}
.faq-item:hover { box-shadow: var(--shadow); }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-question h4 { font-size: 15px; color: var(--navy); margin: 0; }
.faq-toggle-icon {
  color: var(--slate-lighter);
  font-size: 20px;
  transition: transform 0.25s;
  flex-shrink: 0;
  margin-left: 12px;
}
.faq-item.open .faq-toggle-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, margin-top 0.35s ease;
  color: var(--slate-light);
  font-size: 14px;
}
.faq-item.open .faq-answer {
  max-height: 200px;
  margin-top: 10px;
}

/* ===== FORMS ===== */
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--slate);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  font-family: inherit;
  font-size: 15px;
  color: var(--navy-2);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(245,158,11,0.15);
}
.btn-submit {
  width: 100%;
  background: var(--navy-2);
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: var(--radius-xs);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.btn-submit:hover { background: var(--navy); }
.btn-submit:active { transform: scale(0.98); }
.contact-email-link {
  display: block;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
}

/* ===== CONTACT SECTION ===== */
.contact-perso {
  max-width: 520px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow);
}
.contact-perso h2 { text-align: center; margin-bottom: 8px; }
.contact-perso .contact-intro {
  color: var(--slate-light);
  margin-bottom: 24px;
  font-size: 15px;
  text-align: center;
}

/* ===== ABOUT PAGE ===== */
.about-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow);
  margin-bottom: 30px;
}
.about-card p { margin-bottom: 14px; font-size: 16px; color: var(--slate); }
.about-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.about-stat {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 20px 12px;
  box-shadow: var(--shadow-sm);
}
.about-stat .stat-number {
  font-size: 28px;
  font-weight: 700;
  color: var(--amber);
}
.about-stat .stat-label {
  font-size: 13px;
  color: var(--slate-light);
  margin-top: 4px;
}

/* ===== FOOTER ===== */
footer {
  background: var(--navy);
  color: #cbd5e1;
  text-align: center;
  padding: 32px 20px;
  font-size: 13px;
}
footer a {
  color: var(--amber-light);
  text-decoration: none;
  transition: color 0.2s;
}
footer a:hover { color: var(--amber); }
.footer-links { margin-top: 10px; }
.footer-tagline {
  font-size: 12px;
  color: #64748b;
  margin-top: 8px;
}

/* ===== MERCI PAGE ===== */
.merci-box {
  text-align: center;
  padding: 70px 20px;
}
.merci-box h1 { margin-bottom: 20px; }
.merci-box p { font-size: 16px; margin-bottom: 28px; }
.merci-box .merci-redirect-note { font-size: 13px; color: var(--slate-light); margin-top: -18px; margin-bottom: 24px; }
.merci-box .btn-back {
  display: inline-block;
  background: var(--navy-2);
  color: #fff;
  padding: 14px 32px;
  border-radius: var(--radius-xs);
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.merci-box .btn-back:hover { background: var(--navy); transform: translateY(-2px); }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-2) 0%, #1a2744 100%);
  border-radius: var(--radius);
  padding: 36px 32px;
  text-align: center;
  margin: 40px 0;
}
.cta-banner h2 { color: #fff; margin-bottom: 10px; font-size: 22px; }
.cta-banner p { color: #cbd5e1; font-size: 15px; margin-bottom: 20px; }
.cta-banner .cta-btn {
  display: inline-block;
  background: var(--amber);
  color: var(--navy);
  font-weight: 700;
  padding: 13px 34px;
  border-radius: var(--radius-xs);
  text-decoration: none;
  font-size: 15px;
  transition: all 0.25s;
}
.cta-banner .cta-btn:hover {
  background: var(--amber-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245,158,11,0.35);
}

/* ===== TESTIMONIAL MARQUEE ===== */
.testimonial-marquee {
  overflow: hidden;
  position: relative;
  margin-top: 28px;
  padding: 10px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.marquee-track {
  display: flex;
  gap: 16px;
  animation: marquee-scroll 40s linear infinite;
  width: max-content;
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow);
  min-width: 320px;
  max-width: 380px;
  flex-shrink: 0;
}

/* ===== STICKY BOTTOM BAR ===== */
.sticky-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: linear-gradient(135deg, var(--navy) 0%, #1a2744 100%);
  color: #fff;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
  font-size: 14px;
}
.sticky-bottom-bar .sticky-text { color: #cbd5e1; }
.sticky-bottom-bar .sticky-cta {
  background: var(--amber);
  color: var(--navy);
  font-weight: 700;
  padding: 8px 20px;
  border-radius: var(--radius-xs);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
}
.sticky-bottom-bar .sticky-cta:hover { background: var(--amber-light); }
.sticky-bar-close {
  background: none;
  border: none;
  color: #64748b;
  font-size: 20px;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
}
.sticky-bar-close:hover { color: #fff; }

/* ===== E-E-A-T BADGE ===== */
.eeat-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--amber-bg);
  color: #92400e;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  nav {
    padding: 10px 12px;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: space-between;
  }
  nav > a:first-child { flex: 0 0 auto; }
  .nav-right {
    flex-wrap: wrap;
    justify-content: flex-end;
    width: auto;
    gap: 4px;
  }
  .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 2px;
  }
  .nav-links a { margin-left: 0; font-size: 12px; padding: 6px 8px; }
  .lang-toggle { margin-left: 0; }
  .logo { height: 34px; }
  .container { padding: 32px 16px 50px; }
  .specialty { padding: 18px 20px; }
  .service-section { padding: 22px 20px; }
  .hero { padding: 56px 20px 50px; }
  .price-grid { grid-template-columns: 1fr; }
  .contact-perso { padding: 28px 20px; }
  .about-card { padding: 28px 20px; }
  .cta-banner { padding: 28px 20px; }
  .sticky-bottom-bar { font-size: 12px; padding: 10px 14px; gap: 10px; }
  .sticky-bottom-bar .sticky-text { display: none; }
  .marquee-card { min-width: 280px; }
  .testimonial-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  nav { padding: 8px 10px; }
  .nav-links a { font-size: 11px; padding: 5px 6px; }
  .logo { height: 30px; }
  .hero h1 { font-size: 24px; }
  .hero .hero-subtitle { font-size: 14px; }
  .hero-cta { font-size: 14px; padding: 12px 28px; }
  .section-title h2 { font-size: 20px; }
  .container { padding: 24px 12px 40px; }
  .specialty { padding: 16px 16px; }
  .service-section { padding: 20px 16px; }
  .contact-perso { padding: 24px 16px; }
  .about-card { padding: 24px 16px; }
  .marquee-card { min-width: 250px; padding: 16px 18px; }
}

/* ===== STAR RATING ===== */
.star-rating {
  display: flex;
  gap: 4px;
}
.star-btn {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--border);
  padding: 0;
  line-height: 1;
  transition: color 0.15s, transform 0.1s;
}
.star-btn:hover { transform: scale(1.15); }
.star-btn.active { color: var(--amber); }

/* ===== REVIEW FORM ===== */
.review-form-wrapper { margin-top: 20px; }
.loading-text { text-align: center; color: var(--slate-light); padding: 30px 0; }
