/* ==========================================================================
   sechoir-solaire.fr — feuille de style partagée
   Codes visuels : institutionnel sobre. Fond blanc, bleu foncé #1a2b4a,
   gris neutres. Titres serif (Georgia), corps sans-serif système.
   Mobile-first, aucune dépendance externe.
   ========================================================================== */

:root {
  --bleu: #1a2b4a;
  --bleu-clair: #2e4a7d;
  --gris-texte: #333a45;
  --gris-moyen: #5c6470;
  --gris-clair: #e8eaee;
  --gris-fond: #f5f6f8;
  --filet: #d4d8de;
  --accent-fond: #eef1f6;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--gris-texte);
  background: #ffffff;
}

/* ---------- En-tête ---------- */

.entete {
  border-bottom: 3px solid var(--bleu);
  background: #ffffff;
}

.entete-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 1.25rem 1.25rem 1rem;
}

.marque {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--bleu);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.marque span { font-weight: 400; color: var(--gris-moyen); }

.sous-marque {
  font-size: 0.85rem;
  color: var(--gris-moyen);
  margin-top: 0.15rem;
}

/* ---------- Navigation ---------- */

.nav {
  background: var(--bleu);
}

.nav ul {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 0.75rem;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
}

.nav a {
  display: block;
  padding: 0.6rem 0.75rem;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9rem;
}

.nav a:hover, .nav a:focus { background: var(--bleu-clair); }

.nav a[aria-current="page"] {
  background: #ffffff;
  color: var(--bleu);
  font-weight: 600;
}

/* ---------- Corps ---------- */

main {
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.85rem;
  line-height: 1.25;
  color: var(--bleu);
  margin-bottom: 0.75rem;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
  line-height: 1.3;
  color: var(--bleu);
  margin: 2.25rem 0 0.75rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--filet);
}

h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  color: var(--bleu);
  margin: 1.5rem 0 0.5rem;
}

p { margin-bottom: 1rem; }

ul, ol { margin: 0 0 1rem 1.4rem; }
li { margin-bottom: 0.4rem; }

a { color: var(--bleu-clair); }
a:hover { color: var(--bleu); }

strong { color: var(--bleu); }

.chapeau {
  font-size: 1.1rem;
  color: var(--gris-moyen);
  margin-bottom: 1.5rem;
}

/* ---------- Sommaire ---------- */

.sommaire {
  background: var(--gris-fond);
  border: 1px solid var(--filet);
  border-left: 4px solid var(--bleu);
  padding: 1.1rem 1.25rem;
  margin: 1.5rem 0 2rem;
}

.sommaire p {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  color: var(--bleu);
  margin-bottom: 0.5rem;
}

.sommaire ol { margin: 0 0 0 1.3rem; }
.sommaire li { margin-bottom: 0.25rem; }
.sommaire a { text-decoration: none; }
.sommaire a:hover { text-decoration: underline; }

/* ---------- Encadrés ---------- */

.encadre {
  background: var(--accent-fond);
  border: 1px solid var(--filet);
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
  font-size: 0.97rem;
}

.encadre-titre {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  color: var(--bleu);
  display: block;
  margin-bottom: 0.35rem;
}

/* ---------- Tableaux ---------- */

.tableau-wrap { overflow-x: auto; margin: 1.25rem 0; }

table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.95rem;
}

th, td {
  border: 1px solid var(--filet);
  padding: 0.55rem 0.7rem;
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--bleu);
  color: #ffffff;
  font-weight: 600;
}

tr:nth-child(even) td { background: var(--gris-fond); }

/* ---------- FAQ ---------- */

.faq-item {
  border-bottom: 1px solid var(--filet);
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
}

.faq-item h2 {
  border-top: none;
  padding-top: 0;
  margin-top: 1.5rem;
  font-size: 1.2rem;
}

/* ---------- Passerelle discrète ---------- */

.passerelle {
  margin: 2.5rem 0 0;
  padding: 1rem 1.25rem;
  border: 1px solid var(--filet);
  background: var(--gris-fond);
  font-size: 0.95rem;
  color: var(--gris-moyen);
}

.passerelle a {
  color: var(--bleu);
  font-weight: 600;
  text-decoration: none;
}

.passerelle a:hover { text-decoration: underline; }

.note-bas {
  font-size: 0.85rem;
  color: var(--gris-moyen);
  margin-top: 0.5rem;
}

/* ---------- Pied de page ---------- */

.pied {
  border-top: 3px solid var(--bleu);
  background: var(--gris-fond);
  margin-top: 2rem;
}

.pied-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 2rem;
  font-size: 0.85rem;
  color: var(--gris-moyen);
}

.pied-inner p { margin-bottom: 0.5rem; }

.pied-inner nav a {
  color: var(--gris-moyen);
  margin-right: 1rem;
}

/* ---------- Divers ---------- */

.maj {
  font-size: 0.85rem;
  color: var(--gris-moyen);
  margin-bottom: 1.5rem;
}

figure.emplacement-photo {
  margin: 1.5rem 0;
}

/* ---------- Écrans larges ---------- */

@media (min-width: 700px) {
  body { font-size: 1.125rem; }
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.55rem; }
  .entete-inner { padding-top: 1.75rem; }
  main { padding-top: 2.5rem; }
}
