/* 🎨 Claire IA — design system (sans build, servi en statique). Tons artisanaux chauds. */
:root {
  --or: #c8862a;
  --or-clair: #e0a458;
  --brun: #5c4326;
  --fonce: #2e241a;
  --accent: #7b1e1e;
  --creme: #f5efe2;
  --bg: #fbf7f0;
  --texte: #2e241a;
  --gris: #6b6258;
  --vert: #2f7a40;
  --rouge: #b3261e;
  --ombre: 0 6px 24px rgba(46, 36, 26, 0.12);
  --radius: 14px;
  --max: 1080px;
  --police: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--police); color: var(--texte); background: var(--bg); line-height: 1.6; }
a { color: var(--accent); text-decoration: none; }
img { max-width: 100%; }

.contenu { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* En-tête */
.entete {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 247, 240, 0.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(92, 67, 38, 0.12);
}
.entete .contenu { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-weight: 800; font-size: 1.35rem; color: var(--brun); letter-spacing: -0.5px; }
.logo span { color: var(--or); }
.logo-claire { display: inline-flex; align-items: center; gap: 9px; line-height: 0; text-decoration: none; }
.logo-claire img { height: 30px; width: auto; display: block; }
.logo-claire span { font-weight: 700; letter-spacing: 0.2em; font-size: 1.1rem; color: var(--fonce); line-height: 1; }
.nav a { color: var(--brun); font-weight: 600; margin-left: 22px; }
.nav a:hover { color: var(--or); }

/* Boutons */
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 999px; font-weight: 700;
  border: 2px solid var(--or); background: var(--or); color: #fff; cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--ombre); }
.btn.fantome { background: transparent; color: var(--brun); border-color: var(--brun); }

/* Hero */
.hero { padding: 84px 0 64px; text-align: center; }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.1; color: var(--fonce); letter-spacing: -1px; }
.hero h1 .accent { color: var(--or); }
.hero p.sous { font-size: 1.25rem; color: var(--gris); max-width: 640px; margin: 18px auto 30px; }
.puces { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 26px; }
.puce { background: var(--creme); border: 1px solid rgba(92, 67, 38, 0.15); padding: 7px 15px; border-radius: 999px; font-weight: 600; font-size: 0.92rem; color: var(--brun); }

/* Sections */
.section { padding: 64px 0; }
.section h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); text-align: center; color: var(--fonce); margin-bottom: 12px; letter-spacing: -0.5px; }
.section .intro { text-align: center; color: var(--gris); max-width: 620px; margin: 0 auto 40px; }
.section.alt { background: var(--creme); }

/* Grille cartes */
.grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; }
.carte { background: #fff; border: 1px solid rgba(92, 67, 38, 0.12); border-radius: var(--radius); padding: 26px; box-shadow: var(--ombre); }
.carte .emoji { font-size: 1.8rem; }
.carte h3 { margin: 12px 0 8px; color: var(--brun); font-size: 1.15rem; }
.carte p { color: var(--gris); font-size: 0.97rem; }

/* Tarifs */
.tarifs { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.tarif { background: #fff; border: 1px solid rgba(92, 67, 38, 0.15); border-radius: var(--radius); padding: 24px; text-align: center; }
.tarif.phare { border: 2px solid var(--or); position: relative; }
.tarif.phare::before { content: "Populaire"; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--or); color: #fff; font-size: 0.75rem; font-weight: 700; padding: 3px 12px; border-radius: 999px; }
.tarif .nom { font-weight: 700; color: var(--brun); }
.tarif .prix { font-size: 2rem; font-weight: 800; color: var(--fonce); margin: 8px 0; }
.tarif .prix small { font-size: 0.9rem; font-weight: 500; color: var(--gris); }
.tarif .cible { color: var(--gris); font-size: 0.9rem; }

/* Pied */
.pied { background: var(--fonce); color: #e9e0d2; padding: 40px 0; text-align: center; }
.pied a { color: var(--or-clair); }
.pied .mini { color: #b7ab98; font-size: 0.85rem; margin-top: 10px; }

/* Bandeau CTA */
.cta { text-align: center; padding: 70px 0; background: linear-gradient(135deg, var(--brun), var(--accent)); color: #fff; }
.cta h2 { color: #fff; }
.cta p { color: #f0e6d8; margin: 10px auto 26px; max-width: 560px; }
.cta .btn { background: #fff; color: var(--accent); border-color: #fff; }

@media (max-width: 600px) {
  .nav { display: none; }
  .hero { padding: 56px 0 40px; }
}

/* ♿ Accessibilité globale (toutes les pages liant ce fichier) :
   respecter « mouvement réduit » et rendre le focus clavier visible. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
:focus-visible {
  outline: 2px solid #e6bd78;
  outline-offset: 2px;
  border-radius: 3px;
}
