/* Import des variables de ta page principale */
:root {
  --bg: #f8f9fc;
  --card: #ffffff;
  --text: #1e1e2f;
  --muted: #6b7280;
  --primary: #4f46e5; /* Ton Indigo */
  --primary-dark: #4338ca;
  --accent: #fbbf24; /* Ton Jaune/Or */
  --outline: #d1d5db;
}

/* Base & Reset identique */
* {
  box-sizing: border-box;
}
body {
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  margin: 0;
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header & Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--outline);
  padding: 12px 0;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-name {
  font-family: "Playfair Display", serif;
  font-weight: 500;
}
.logo {
  width: 42px;
  height: 42px;
}

.nav a {
  text-decoration: none;
  color: var(--text);
  margin-left: 16px;
  font-weight: 500;
  font-size: 14px;
}

center {
  text-align: center;
}

/* Sections & Titres */
.section {
  padding: 30px 0;
}
h1 {
  font-size: 36px;
  line-height: 1.2;
  margin-bottom: 20px;
}
h1 strong {
  color: var(--primary);
}
h2 {
  font-size: 28px;
  margin-bottom: 24px;
}

/* Badge & Chips */
.badge {
  display: inline-block;
  background: var(--accent);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid #292929;
  margin-bottom: 15px;
}

.chip {
  background: var(--accent);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin: 0 4px;
  border: 1px solid #292929;
}

/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.2s;
  gap: 8px;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--primary-dark);
}

.cta-menu {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  text-decoration: none;
  border: solid 2px var(--primary);
  border-radius: 6px;
}

/* Grid Layouts */
.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}

.hero-visual {
  display: flex;
  justify-content: center; /* Centre l'image horizontalement dans sa colonne */
  align-items: center;
}

.hero-visual img {
  width: 100%;
  /* Ajuste cette valeur (450px) selon tes goûts pour réduire la taille */
  max-width: 450px;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  /* Un léger effet de profondeur pour le côté pro */
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.1));
}

/* Cards (Style identique au tien) */
.card {
  background: var(--card);
  border: 1px solid var(--outline);
  border-radius: 8px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.card .icon {
  font-size: 30px;
  margin-bottom: 10px;
}

/* Tableaux (Style identique au tien) */
.table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--outline);
  border-radius: 6px;
}
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 500px;
}
.pricing-table th {
  background: var(--primary);
  color: white;
  padding: 15px;
  text-align: left;
}
.pricing-table td {
  padding: 15px;
  border-bottom: 1px solid var(--outline);
}
.pricing-table tr:nth-child(even) {
  background: #f8f8f8;
}

/* Footer */
.site-footer {
  background: #f1f1f1;
  padding: 40px 0 20px;
  border-top: 1px solid var(--outline);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.footer-links,
.footer-meta {
  list-style: none;
  padding: 0;
  font-size: 14px;
}
.footer-links a {
  text-decoration: none;
  color: var(--text);
}
.footer-bottom {
  text-align: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--outline);
  font-size: 12px;
  color: var(--muted);
}

.seo-link {
  text-underline-offset: 3px;
  font-weight: 500;
  list-style: none;
}

.seo-link a {
  color: #2a2870;
}

.seo-link a:hover {
  color: #b48a3d; /* doré / sérieux */
}

/* Responsive Mobile (720px comme ton CSS) */
@media (max-width: 720px) {
  .hero-inner,
  .about-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-visual img {
    max-width: 280px; /* Encore plus petit sur mobile pour laisser de la place au texte */
    margin-top: 20px;
  }
  .header-inner {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 12px 0;
  }

  .brand {
    order: 0;
    flex-shrink: 0;
  }

  .nav {
    order: 2;
    width: 100%;
    justify-content: center; /* centré pour belle apparence */
    gap: 12px;
    flex-wrap: wrap; /* les liens passent à la ligne si besoin */
    padding: 8px 0;
    backdrop-filter: blur(4px);
    border-radius: 6px;
    text-align: center;
  }

  .nav a {
    font-size: 14px; /* un peu plus petit sur mobile */
    text-align: center;
  }
  h1 {
    font-size: 26px;
  }
  .cta-menu {
    display: none;
  }
}
