/* ============================================
   MAUVANNE.FR — Design System GEO-Optimisé
   ============================================ */

:root {
  --mv-red: #e63946;
  --mv-yellow: #ffb703;
  --mv-blue: #023e8a;
  --text: #1a1a1a;
  --text-secondary: #555;
  --text-muted: #888;
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --border: #e0e0e0;
  --radius: 10px;
  --shadow: 0 2px 8px rgba(0,0,0,0.06);
  --max-width: 960px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

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

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

/* ---------- HEADER ---------- */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  z-index: 100;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 18px;
}

.logo-svg { width: 36px; height: 36px; flex-shrink: 0; }

.nav { display: flex; gap: 4px; }

.nav-btn {
  padding: 6px 14px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
}
.nav-btn:hover { background: var(--bg-alt); color: var(--text); }
.nav-btn.active { background: var(--text); color: #fff; font-weight: 500; }

.phone-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: var(--text);
  color: #fff;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: var(--text);
}

/* ---------- HERO ---------- */
.hero {
  text-align: center;
  padding: 56px 24px 40px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(26px, 5vw, 38px);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.hero > p {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 24px;
}

.hero-badges {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text-secondary);
}
.badge svg { color: #2a9d8f; flex-shrink: 0; }

.cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--text);
  color: #fff;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 500;
  transition: opacity 0.2s;
}
.cta:hover { opacity: 0.85; }

/* ---------- SECTIONS ---------- */
.section { padding: 40px 24px; }
.section-alt { background: var(--bg-alt); }

.section-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 24px;
  text-align: center;
}

/* ---------- SERVICES / CARDS ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.card {
  background: #fff;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: var(--shadow);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  border-color: #ccc;
}

.card-icon {
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  margin-bottom: 16px;
  color: #fff;
}
.card-icon.red { background: var(--mv-red); }
.card-icon.yellow { background: var(--mv-yellow); }
.card-icon.blue { background: var(--mv-blue); }

.card h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.card p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 14px;
  line-height: 1.5;
}
.card ul {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}
.card-link:hover { text-decoration: underline; }

/* ---------- STATS ---------- */
.stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  padding: 32px 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  max-width: var(--max-width);
  margin: 0 auto;
}
.stat { text-align: center; }
.stat-num { font-size: 30px; font-weight: 600; line-height: 1.1; }
.stat-label { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

/* ---------- ZONE ---------- */
.zone {
  text-align: center;
  padding: 32px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.zone p { color: var(--text-secondary); font-size: 15px; }
.zone-tags {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.tag {
  padding: 5px 14px;
  background: var(--bg-alt);
  border-radius: 6px;
  font-size: 13px;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

/* ---------- CONTENT PAGES ---------- */
.content {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 24px;
  min-height: 50vh;
}
.content h1 { font-size: 28px; font-weight: 600; margin-bottom: 16px; line-height: 1.2; }
.content h2 { font-size: 22px; font-weight: 600; margin: 32px 0 12px; }
.content h3 { font-size: 18px; font-weight: 600; margin: 24px 0 10px; }
.content p { color: var(--text-secondary); line-height: 1.7; margin-bottom: 14px; }
.content ul { color: var(--text-secondary); line-height: 1.8; margin-bottom: 16px; padding-left: 22px; }
.content li { margin-bottom: 6px; }

.highlight {
  padding: 18px 22px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  margin: 20px 0;
  border-left: 3px solid var(--text);
  font-size: 15px;
  color: var(--text-secondary);
}
.highlight-center {
  text-align: center;
  border-left: none;
  border-top: 3px solid var(--text);
}

/* ---------- GEO : TABLEAUX ---------- */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.compare-table th,
.compare-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.compare-table th {
  background: var(--bg-alt);
  font-weight: 600;
  font-size: 13px;
  color: var(--text);
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table td:first-child { font-weight: 500; color: var(--text); }

/* ---------- GEO : TÉMOIGNAGES ---------- */
.testimonial {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 24px;
  margin: 16px 0;
  box-shadow: var(--shadow);
}
.testimonial blockquote {
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0 0 12px 0;
  border-left: 3px solid var(--mv-yellow);
  padding-left: 16px;
}
.testimonial cite {
  font-style: normal;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}
.testimonial cite span {
  font-weight: 400;
  color: var(--text-muted);
}

/* ---------- GEO : FAQ ---------- */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.faq-item:last-child { border-bottom: none; }
.faq-item h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 8px 0;
}
.faq-item p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

/* ---------- GEO : GRILLE TARIFAIRE ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.pricing-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow);
}
.pricing-card .price {
  font-size: 32px;
  font-weight: 600;
  color: var(--text);
  line-height: 1;
  margin: 8px 0;
}
.pricing-card .price span {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
}
.pricing-card h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 4px 0;
}
.pricing-card p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}
.pricing-card.featured {
  border-color: var(--text);
  border-width: 2px;
}

/* ---------- GEO : BADGE DE FRAÎCHEUR ---------- */
.freshness-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  background: var(--bg-alt);
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.freshness-badge svg { width: 14px; height: 14px; }

/* ---------- CONTACT ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 840px;
  margin: 0 auto;
  padding: 40px 24px;
  min-height: 50vh;
}
.contact-info h2 { font-size: 22px; font-weight: 600; margin-bottom: 20px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 15px;
  color: var(--text-secondary);
}
.contact-item svg { flex-shrink: 0; margin-top: 2px; color: var(--text-muted); }
.contact-item strong { display: block; color: var(--text); font-weight: 600; margin-bottom: 2px; }

.notice-box {
  margin-top: 24px;
  padding: 16px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--text-secondary);
}

.form label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.form input, .form textarea, .form select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: inherit;
  margin-bottom: 14px;
  background: #fff;
  color: var(--text);
}
.form input:focus, .form textarea:focus, .form select:focus {
  outline: none;
  border-color: #999;
}
.form button {
  width: 100%;
  padding: 12px;
  background: var(--text);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
}
.form button:hover { opacity: 0.9; }

/* ---------- LEGAL ---------- */
.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 24px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  min-height: 50vh;
}
.legal h2 { font-size: 18px; font-weight: 600; margin: 28px 0 10px; color: var(--text); }
.legal h2:first-child { margin-top: 0; }
.legal p { margin-bottom: 10px; }

/* ---------- FOOTER ---------- */
.footer {
  padding: 28px 24px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}
.footer a { color: var(--text-secondary); margin: 0 10px; }
.footer a:hover { text-decoration: underline; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: 60px; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 8px;
    flex-direction: column;
    box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .menu-toggle { display: block; }
  .hero h1 { font-size: 26px; }
  .stats { gap: 28px; }
  .stat-num { font-size: 24px; }
  .contact-grid { grid-template-columns: 1fr; }
  .header { padding: 12px 16px; }
  .compare-table { font-size: 13px; }
  .compare-table th, .compare-table td { padding: 10px; }
  .pricing-grid { grid-template-columns: 1fr; }
}
