/* ============================================
   CléAutoParis — Feuille de style principale
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold:   #F5C518;
  --gold-d: #D4A800;
  --black:  #0F0F0F;
  --dark:   #1A1A1A;
  --gray:   #2C2C2C;
  --light:  #F8F8F8;
  --white:  #FFFFFF;
  --green:  #25D366;
  --text:   #333333;
  --muted:  #666666;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,0.12);
  --trans:  all .25s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 72px 0; }
.section-light { background: var(--light); }
.section-dark  { background: var(--dark); color: var(--white); }
.section-black { background: var(--black); color: var(--white); }

.section-title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 48px;
  max-width: 600px;
}

.section-dark .section-subtitle,
.section-black .section-subtitle { color: #aaa; }

.text-gold { color: var(--gold); }
.text-center { text-align: center; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--trans);
  white-space: nowrap;
}

.btn-gold {
  background: var(--gold);
  color: var(--black);
}
.btn-gold:hover { background: var(--gold-d); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
}
.btn-outline:hover { background: var(--gold); color: var(--black); transform: translateY(-2px); }

.btn-whatsapp {
  background: var(--green);
  color: var(--white);
}
.btn-whatsapp:hover { background: #1ebe5d; transform: translateY(-2px); }

.btn-dark {
  background: var(--black);
  color: var(--white);
  border: 2px solid var(--black);
}
.btn-dark:hover { background: var(--gray); transform: translateY(-2px); }

.btn-lg { padding: 18px 36px; font-size: 1.1rem; }
.btn-sm { padding: 10px 20px; font-size: 0.9rem; }

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* ============================================
   HEADER
   ============================================ */
.header {
  background: var(--black);
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 16px rgba(0,0,0,0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  flex-shrink: 0;
}

.logo span { color: var(--gold); }

.logo-icon {
  width: 38px;
  height: 38px;
  background: var(--gold);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.nav { display: flex; align-items: center; gap: 28px; }

.nav a {
  color: #ccc;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--trans);
}
.nav a:hover, .nav a.active { color: var(--gold); }

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--black);
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--trans);
  flex-shrink: 0;
}
.header-phone:hover { background: var(--gold-d); color: var(--black); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--trans);
}

/* Mobile nav */
.mobile-nav {
  display: none;
  background: var(--dark);
  padding: 20px;
  border-top: 1px solid #333;
}
.mobile-nav a {
  display: block;
  color: #ccc;
  padding: 12px 0;
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1px solid #333;
  transition: var(--trans);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--gold); padding-left: 8px; }
.mobile-nav.open { display: block; }

/* ============================================
   HERO
   ============================================ */
.hero {
  background: linear-gradient(135deg, var(--black) 0%, #1c1c1c 60%, #0a0a0a 100%);
  color: var(--white);
  padding: 80px 0 72px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(245,197,24,0.07) 0%, transparent 65%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245,197,24,0.15);
  border: 1px solid rgba(245,197,24,0.4);
  color: var(--gold);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 22px;
  letter-spacing: 0.5px;
}

.hero h1 {
  font-size: clamp(1.9rem, 5.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
}

.hero h1 .highlight {
  color: var(--gold);
  display: inline;
}

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: #ccc;
  margin-bottom: 36px;
  max-width: 580px;
  line-height: 1.7;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid #333;
}

.hero-stat {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-stat-icon {
  width: 40px;
  height: 40px;
  background: rgba(245,197,24,0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.hero-stat-text strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}
.hero-stat-text span {
  font-size: 0.78rem;
  color: #aaa;
}

/* ============================================
   SERVICES CARDS
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 8px;
}

.service-card {
  background: var(--white);
  border: 1px solid #e8e8e8;
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: var(--trans);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--gold);
  transition: width .3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.service-card:hover::after { width: 100%; }

.service-icon {
  width: 56px;
  height: 56px;
  background: rgba(245,197,24,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 18px;
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--black);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ============================================
   WHY US
   ============================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 28px;
}

.why-item {
  text-align: center;
  padding: 32px 20px;
}

.why-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
  display: block;
}

.why-item h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--white);
}

.why-item p {
  font-size: 0.88rem;
  color: #aaa;
  line-height: 1.6;
}

/* ============================================
   REVIEWS
   ============================================ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 24px;
}

.review-card {
  background: var(--white);
  border: 1px solid #e8e8e8;
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: var(--trans);
}

.review-card:hover { box-shadow: var(--shadow); }

.review-stars { color: #FFC107; font-size: 1rem; margin-bottom: 12px; letter-spacing: 2px; }

.review-text {
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 16px;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.review-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--black);
  flex-shrink: 0;
}

.review-author-info strong { display: block; font-size: 0.9rem; font-weight: 600; }
.review-author-info span { font-size: 0.78rem; color: var(--muted); }

.reviews-cta {
  text-align: center;
  margin-top: 36px;
}

/* ============================================
   ZONE D'INTERVENTION (home)
   ============================================ */
.zones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.zone-pill {
  background: rgba(245,197,24,0.08);
  border: 1px solid rgba(245,197,24,0.25);
  border-radius: 50px;
  padding: 12px 18px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--white);
  transition: var(--trans);
}

.zone-pill:hover {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--black);
  color: #aaa;
  padding: 56px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
}

.footer-brand .logo { margin-bottom: 16px; font-size: 1.2rem; }

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 320px;
}

.footer h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
}

.footer-links a {
  display: block;
  font-size: 0.88rem;
  color: #aaa;
  margin-bottom: 10px;
  transition: var(--trans);
}
.footer-links a:hover { color: var(--gold); padding-left: 4px; }

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  margin-bottom: 12px;
}

.footer-bottom {
  border-top: 1px solid #222;
  padding: 20px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
}

/* ============================================
   FLOATING BUTTONS
   ============================================ */
.float-btn {
  position: fixed;
  bottom: 28px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  z-index: 9999;
  box-shadow: 0 4px 20px rgba(0,0,0,0.35);
  transition: var(--trans);
  text-decoration: none;
  cursor: pointer;
}

.float-btn:hover { transform: scale(1.1); }

.float-phone {
  right: 24px;
  background: var(--gold);
  color: var(--black);
}

.float-whatsapp {
  left: 24px;
  background: var(--green);
  color: var(--white);
}

.float-label {
  position: absolute;
  bottom: 68px;
  background: var(--black);
  color: var(--white);
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transition: var(--trans);
  pointer-events: none;
}

.float-phone .float-label { right: 0; }
.float-whatsapp .float-label { left: 0; }
.float-btn:hover .float-label { opacity: 1; }

/* Pulse animation */
@keyframes pulse-ring {
  0%   { transform: scale(1); opacity: .7; }
  100% { transform: scale(1.55); opacity: 0; }
}

.float-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: inherit;
  animation: pulse-ring 2s ease-out infinite;
  z-index: -1;
}

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
  background: linear-gradient(135deg, var(--black) 0%, #1a1a1a 100%);
  color: var(--white);
  padding: 56px 0;
  border-bottom: 3px solid var(--gold);
}

.page-hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 10px;
}

.page-hero p {
  font-size: 1rem;
  color: #ccc;
  max-width: 580px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #aaa;
  margin-bottom: 14px;
}
.breadcrumb a { color: var(--gold); }
.breadcrumb span { color: #555; }

/* ============================================
   SERVICES PAGE
   ============================================ */
.service-detail-card {
  background: var(--white);
  border: 1px solid #e8e8e8;
  border-radius: var(--radius);
  padding: 36px;
  margin-bottom: 28px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: start;
  transition: var(--trans);
}

.service-detail-card:hover { box-shadow: var(--shadow); border-color: var(--gold); }

.service-detail-icon {
  width: 64px;
  height: 64px;
  background: rgba(245,197,24,0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}

.service-detail-body h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--black);
}

.service-detail-body p {
  font-size: 0.93rem;
  color: var(--muted);
  line-height: 1.7;
}

.service-detail-price {
  text-align: right;
  flex-shrink: 0;
}

.price-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--black);
  padding: 6px 16px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 12px;
  white-space: nowrap;
}

/* ============================================
   TARIFS PAGE
   ============================================ */
.tarifs-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 32px;
}

.tarifs-table th {
  background: var(--black);
  color: var(--white);
  padding: 16px 20px;
  text-align: left;
  font-size: 0.9rem;
  font-weight: 600;
}

.tarifs-table th:last-child { text-align: center; }

.tarifs-table td {
  padding: 16px 20px;
  font-size: 0.92rem;
  border-bottom: 1px solid #eee;
  vertical-align: middle;
}

.tarifs-table tr:last-child td { border-bottom: none; }

.tarifs-table tr:nth-child(even) td { background: #fafafa; }

.tarifs-table td:last-child {
  text-align: center;
  font-weight: 700;
  color: var(--black);
}

.price-cell {
  background: var(--gold);
  border-radius: 50px;
  padding: 4px 14px;
  font-size: 0.9rem;
  display: inline-block;
}

.tarifs-notice {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(245,197,24,0.08);
  border: 1px solid rgba(245,197,24,0.3);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 20px;
  font-size: 0.92rem;
}

.tarifs-notice .notice-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }

/* ============================================
   ZONE PAGE
   ============================================ */
.zone-grid-full {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
  margin-bottom: 40px;
}

.zone-tag {
  background: var(--white);
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  transition: var(--trans);
  text-align: center;
}

.zone-tag:hover {
  border-color: var(--gold);
  background: rgba(245,197,24,0.06);
  color: var(--black);
}

.dept-section { margin-bottom: 48px; }

.dept-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gold);
}

.dept-badge {
  background: var(--gold);
  color: var(--black);
  padding: 4px 12px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
}

.dept-header h2 { font-size: 1.2rem; font-weight: 700; }

.map-container {
  width: 100%;
  height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #ddd;
  box-shadow: var(--shadow);
}

.map-container iframe { width: 100%; height: 100%; border: none; }

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info-card {
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius);
  padding: 40px;
}

.contact-info-card h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-info-card p {
  color: #aaa;
  font-size: 0.9rem;
  margin-bottom: 32px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-method-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-method-icon.gold  { background: var(--gold); color: var(--black); }
.contact-method-icon.green { background: var(--green); color: var(--white); }
.contact-method-icon.dark  { background: #333; color: var(--white); }

.contact-method-info strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 2px;
}

.contact-method-info span {
  font-size: 0.82rem;
  color: #aaa;
}

.contact-form {
  background: var(--white);
  border: 1px solid #e8e8e8;
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}

.contact-form h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 28px;
  color: var(--black);
}

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.93rem;
  color: var(--text);
  background: var(--white);
  transition: var(--trans);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(245,197,24,0.12);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-notice {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 14px;
}

/* ============================================
   FAQ PAGE
   ============================================ */
.faq-list { max-width: 780px; margin: 0 auto; }

.faq-item {
  border: 1px solid #e8e8e8;
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--trans);
}

.faq-item:hover { border-color: var(--gold); }

.faq-question {
  width: 100%;
  text-align: left;
  background: var(--white);
  border: none;
  padding: 20px 24px;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--black);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: var(--trans);
}

.faq-question:hover { background: #fafafa; }
.faq-item.open .faq-question { color: var(--gold); background: #fffae8; }

.faq-arrow {
  font-size: 0.85rem;
  color: var(--gold);
  transition: transform .25s ease;
  flex-shrink: 0;
}
.faq-item.open .faq-arrow { transform: rotate(180deg); }

.faq-answer {
  display: none;
  padding: 0 24px 20px;
  font-size: 0.93rem;
  color: var(--muted);
  line-height: 1.75;
  background: #fffae8;
}
.faq-item.open .faq-answer { display: block; }

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background: var(--gold);
  padding: 60px 0;
  text-align: center;
}

.cta-banner h2 {
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 800;
  color: var(--black);
  margin-bottom: 10px;
}

.cta-banner p {
  font-size: 1rem;
  color: rgba(0,0,0,0.65);
  margin-bottom: 28px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .service-detail-card { grid-template-columns: auto 1fr; }
  .service-detail-price { grid-column: 1 / -1; text-align: left; }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .hamburger { display: flex; }
  .header-phone span.label { display: none; }
  .section { padding: 52px 0; }
  .hero { padding: 52px 0 48px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .service-detail-card { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.7rem; }
  .cta-group { flex-direction: column; align-items: stretch; }
  .cta-group .btn { justify-content: center; }
  .float-btn { width: 52px; height: 52px; font-size: 1.35rem; bottom: 22px; }
  .float-phone { right: 16px; }
  .float-whatsapp { left: 16px; }
}

/* Utility */
.mb-0 { margin-bottom: 0; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
