/*
Theme Name: Assurance Scooter
Description: Thème WordPress classique pour lesmeilleuresassurancesscooter.fr, construit à partir de la direction « Grille de départ » (fond blanc).
Version: 0.1.0
Text Domain: assurance-scooter
*/

/* ---------- Tokens ---------- */
:root {
  --noir: #0B0B0C;
  --blanc: #FFFFFF;
  --asphalte: #F4F4F2;
  --graphite: #55565C;
  --gris-clair-texte: #C4C5CB;
  --gris-piste: #A6A7AD;
  --filet: #E4E4E7;
  --filet-fort: #D4D4D8;
  --carbone: #1C1C1F;
  --rouge: #D90A12;
  --rouge-feu: #FF4B4B;
  --conteneur: 1100px;
  --gouttiere: clamp(16px, 4vw, 56px);
  --rayon: 8px;
  --rayon-petit: 6px;
  --rayon-badge: 4px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--blanc);
  color: var(--noir);
  font-family: 'Figtree', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
a { color: var(--noir); }
a:hover { color: var(--rouge); }
img { max-width: 100%; height: auto; }

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

/* Titres : Saira, large, penchée, uniquement pour titres, rangs et onglets */
h1, h2, h3 {
  font-family: 'Saira', sans-serif;
  font-stretch: 125%;
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.05;
}
h1 { font-size: clamp(30px, 3.2vw, 46px); margin: 0 0 16px; }
h2 { font-size: clamp(24px, 2.2vw, 32px); margin: 44px 0 16px; }
h3 { font-size: 20px; font-style: normal; font-stretch: 100%; font-weight: 800; text-transform: none; margin: 28px 0 10px; font-family: 'Figtree', sans-serif; }

/* ---------- Logotype ---------- */
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.logo__barre { width: 10px; height: 38px; background: var(--rouge); transform: skewX(-14deg); }
.logo__texte { font-family: 'Saira', sans-serif; font-stretch: 125%; font-style: italic; font-weight: 900; text-transform: uppercase; line-height: .95; color: var(--noir); }
.logo__texte small { display: block; font-style: normal; font-weight: 600; font-size: 9.5px; letter-spacing: .3em; }

/* ---------- Onglet penché ---------- */
.onglet {
  display: inline-block;
  background: var(--noir);
  color: var(--blanc);
  font-family: 'Saira', sans-serif;
  font-stretch: 125%;
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
  padding: 4px 14px;
  transform: skewX(-12deg);
}
.onglet--rouge { background: var(--rouge); }

/* ---------- En-tête ---------- */
.site-header { border-top: 5px solid var(--rouge); border-bottom: 1px solid var(--filet); background: var(--blanc); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; flex-wrap: wrap; }
.site-nav ul { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; flex-wrap: wrap; }
.site-nav a { text-decoration: none; font-weight: 600; font-size: 15px; padding: 12px 0; display: inline-block; min-height: 44px; }

/* ---------- En bref (seul bloc noir du corps) ---------- */
.en-bref {
  background: var(--noir);
  color: var(--blanc);
  border-radius: var(--rayon);
  border-top: 6px solid var(--rouge);
  padding: 0 clamp(20px, 2.4vw, 30px) 24px;
  margin: 24px 0 8px;
}
.en-bref .onglet { transform: translateY(-14px) skewX(-12deg); font-size: 20px; }
.en-bref__verif { font-size: 13px; color: var(--gris-clair-texte); margin-left: 12px; }
.en-bref ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.en-bref li { position: relative; padding-left: 24px; font-size: clamp(17px, 1.35vw, 19px); font-weight: 500; line-height: 1.5; }
.en-bref li::before { content: ''; position: absolute; left: 0; top: 6px; width: 8px; height: 16px; background: var(--rouge); transform: skewX(-14deg); }

/* ---------- Ligne auteur et fil d'Ariane ---------- */
.ligne-auteur { font-size: 14px; color: var(--graphite); margin: 8px 0 16px; }
.ligne-auteur strong { color: var(--noir); }
.fil-ariane { font-size: 14px; color: var(--graphite); margin: 16px 0 0; }

/* ---------- Tableaux ---------- */
.tableau { width: 100%; border: 1px solid var(--filet); border-radius: var(--rayon); overflow-x: auto; display: block; }
.tableau table { width: 100%; border-collapse: collapse; min-width: 460px; }
.tableau th {
  background: var(--noir);
  color: var(--blanc);
  font-family: 'Saira', sans-serif;
  font-stretch: 110%;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: left;
  padding: 12px 16px;
}
.tableau td { padding: 12px 16px; border-top: 1px solid var(--filet); font-size: 15px; }
.tableau td:first-child { position: sticky; left: 0; background: var(--blanc); border-right: 1px solid var(--filet); }
.tableau__source { font-size: 13px; color: var(--graphite); margin: 8px 0 0; }

/* ---------- Boutons ---------- */
.bouton {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 22px;
  background: var(--rouge);
  color: var(--blanc);
  font-weight: 700;
  border-radius: var(--rayon-petit);
  text-decoration: none;
}
.bouton:hover { color: var(--blanc); opacity: .9; }

/* ---------- Encadrés ---------- */
.encadre { background: var(--asphalte); border-radius: var(--rayon); padding: 16px 20px; margin: 20px 0; }
.badge-partenaire { font-size: 11px; font-weight: 600; color: var(--graphite); border: 1px solid var(--filet-fort); border-radius: var(--rayon-badge); padding: 1px 6px; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--asphalte); border-top: 1px solid var(--filet); margin-top: 72px; padding: 40px 0; font-size: 14px; color: var(--graphite); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer a { color: var(--noir); }

/* ---------- Mobile ---------- */
@media (max-width: 600px) {
  body { font-size: 16px; }
  .site-nav ul { gap: 12px; }
}
