/* ==== Site public — charte : Manrope, bleu #0070E0, navy ==== */
:root {
  --bleu: #0070E0;
  --bleu-fonce: #0055AB;
  --navy: #0B1F3A;
  --encre: #1a2433;
  --gris: #5c6b7f;
  --fond: #f6f9fc;
  --blanc: #ffffff;
  --ok: #0e9f6e;
  --alerte: #d97706;
  --danger: #dc2626;
  --rayon: 14px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Manrope', system-ui, sans-serif;
  color: var(--encre);
  background: var(--blanc);
  line-height: 1.6;
}
.conteneur { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
a { color: var(--bleu); text-decoration: none; }
h1, h2, h3 { line-height: 1.2; color: var(--navy); }

/* --- Header --- */
.site-header { border-bottom: 1px solid #e8eef5; position: sticky; top: 0; background: rgba(255,255,255,.95); backdrop-filter: blur(6px); z-index: 50; }
.barre { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-weight: 800; font-size: 1.3rem; color: var(--navy); }
.logo .point { color: var(--bleu); }
.site-header nav { display: flex; gap: 22px; align-items: center; }
.site-header nav a { color: var(--encre); font-weight: 600; font-size: .95rem; }
.site-header nav a.actif { color: var(--bleu); }

/* --- Boutons --- */
.btn {
  display: inline-block; background: var(--bleu); color: #fff !important;
  padding: 13px 26px; border-radius: 999px; font-weight: 700;
  border: none; cursor: pointer; font-size: 1rem; font-family: inherit;
  transition: background .15s;
}
.btn:hover { background: var(--bleu-fonce); }
.btn-petit { padding: 9px 18px; font-size: .9rem; }
.btn-contour { background: transparent; color: var(--bleu) !important; border: 2px solid var(--bleu); }
.btn-contour:hover { background: #eaf3fd; }

/* --- Hero --- */
.hero { background: linear-gradient(180deg, var(--fond), #fff); padding: 72px 0 56px; }
.hero h1 { font-size: 2.6rem; max-width: 720px; }
.hero .accroche { font-size: 1.2rem; color: var(--gris); margin: 18px 0 28px; max-width: 640px; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; }
.badge { display: inline-block; background: #eaf3fd; color: var(--bleu-fonce); font-weight: 700; font-size: .82rem; padding: 5px 14px; border-radius: 999px; margin-bottom: 18px; }

/* --- Sections --- */
section { padding: 56px 0; }
section.alt { background: var(--fond); }
.section-titre { font-size: 1.9rem; margin-bottom: 10px; }
.section-sous { color: var(--gris); margin-bottom: 36px; max-width: 640px; }

/* --- Cartes / grilles --- */
.grille { display: grid; gap: 22px; }
.grille-3 { grid-template-columns: repeat(3, 1fr); }
.grille-2 { grid-template-columns: repeat(2, 1fr); }
.carte {
  background: #fff; border: 1px solid #e8eef5; border-radius: var(--rayon);
  padding: 26px;
}
.carte h3 { font-size: 1.1rem; margin-bottom: 8px; }
.carte p { color: var(--gris); font-size: .95rem; }
.pictos { font-size: 1.6rem; margin-bottom: 10px; }

/* --- Risque --- */
.risque { background: var(--navy); color: #dbe7f5; }
.risque h2 { color: #fff; }
.risque .carte { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
.risque .carte h3 { color: #fff; }
.risque .carte p { color: #b8c8dc; }
.chiffre { font-size: 2rem; font-weight: 800; color: #6db2ff; }

/* --- Pricing --- */
.tarifs .carte { display: flex; flex-direction: column; position: relative; }
.tarifs .prix { font-size: 2.3rem; font-weight: 800; color: var(--navy); margin: 12px 0 2px; }
.tarifs .prix small { font-size: 1rem; color: var(--gris); font-weight: 600; }
.tarifs ul { list-style: none; margin: 18px 0 26px; flex: 1; }
.tarifs li { padding: 6px 0 6px 26px; position: relative; font-size: .95rem; }
.tarifs li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 800; }
.populaire { border-color: var(--bleu); box-shadow: 0 8px 30px rgba(0,112,224,.12); }
.etiquette { position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--bleu); color: #fff; font-size: .75rem; font-weight: 800;
  padding: 4px 14px; border-radius: 999px; }

/* --- Formulaires --- */
form.formulaire { max-width: 560px; }
.champ { margin-bottom: 16px; }
.champ label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 5px; }
.champ input, .champ textarea, .champ select {
  width: 100%; padding: 12px 14px; border: 1.5px solid #d4dfeb; border-radius: 10px;
  font-family: inherit; font-size: 1rem; background: #fff;
}
.champ input:focus, .champ textarea:focus { outline: none; border-color: var(--bleu); }
.hp { position: absolute; left: -5000px; }  /* honeypot */

/* --- Vérif commune --- */
.recherche-commune { position: relative; max-width: 560px; }
.suggestions {
  position: absolute; top: 100%; left: 0; right: 0; background: #fff;
  border: 1px solid #d4dfeb; border-radius: 10px; margin-top: 4px;
  max-height: 280px; overflow-y: auto; z-index: 20; box-shadow: 0 10px 30px rgba(11,31,58,.1);
}
.suggestions button {
  display: block; width: 100%; text-align: left; padding: 11px 14px;
  background: none; border: none; cursor: pointer; font-family: inherit; font-size: .95rem;
}
.suggestions button:hover { background: var(--fond); }
.resultat { margin-top: 28px; }
.regle { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid #e8eef5; }
.regle .ico { font-size: 1.4rem; }
.pastille { display: inline-block; padding: 3px 12px; border-radius: 999px; font-weight: 700; font-size: .82rem; }
.pastille.tendue { background: #fef3e2; color: var(--alerte); }
.pastille.non-tendue { background: #e6f7f0; color: var(--ok); }
.encart-email { background: var(--fond); border: 1.5px solid var(--bleu); border-radius: var(--rayon); padding: 24px; margin-top: 26px; }
.msg-ok { background: #e6f7f0; color: #06603f; padding: 12px 16px; border-radius: 10px; margin-top: 14px; font-weight: 600; }
.msg-erreur { background: #fdecec; color: #991b1b; padding: 12px 16px; border-radius: 10px; margin-top: 14px; font-weight: 600; }

/* --- Légal --- */
.legal { max-width: 760px; }
.legal h1 { margin: 40px 0 20px; }
.legal h2 { font-size: 1.2rem; margin: 28px 0 10px; }
.legal p, .legal li { color: #33405a; font-size: .96rem; }
.legal ul { padding-left: 22px; }

/* --- Footer --- */
.site-footer { background: var(--navy); color: #b8c8dc; margin-top: 56px; font-size: .92rem; }
.site-footer a { color: #dbe7f5; }
.pied { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; padding: 44px 24px 24px; }
.copyright { padding: 16px 24px 28px; border-top: 1px solid rgba(255,255,255,.12); font-size: .8rem; color: #8ba0bb; }

/* --- FAQ --- */
details { border: 1px solid #e8eef5; border-radius: 10px; padding: 16px 20px; margin-bottom: 10px; background: #fff; }
summary { font-weight: 700; cursor: pointer; color: var(--navy); }
details p { margin-top: 10px; color: var(--gris); }

@media (max-width: 800px) {
  .grille-3, .grille-2, .pied { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.9rem; }
  .site-header nav { gap: 12px; font-size: .85rem; }
  .site-header nav a:not(.btn) { display: none; }
}
