/* ============================================================
   NOS PETITES AVENTURES — feuille de style
   Style : minimaliste épuré, typographie serif, fond crème.
   ============================================================ */

:root {
  --fond: #faf9f7;
  --texte: #1a1a1a;
  --texte-doux: #6b6b6b;
  --ligne: #e3e0db;
  --accent: #1a1a1a;
  --danger: #a4442a;
  --danger-fond: #f6ebe6;
  --max: 720px;
}

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

body {
  font-family: Georgia, "Times New Roman", serif;
  background: var(--fond);
  color: var(--texte);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

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

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

header.site {
  text-align: center;
  padding: 48px 24px 40px;
}

header.site h1 {
  font-weight: normal;
  font-size: 1.35rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.4;
}

header.site h1 a { text-decoration: none; }

header.site p {
  color: var(--texte-doux);
  margin-top: 10px;
  font-style: italic;
}

/* ---------- Titres de section ---------- */

.section-titre {
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #9a9a9a;
  margin: 56px 0 24px;
}

/* ---------- Onglets (accueil) ---------- */

.onglets {
  display: flex;
  gap: 8px;
  margin: 40px 0 8px;
  border-bottom: 1px solid var(--ligne);
}

.onglet {
  padding: 10px 18px;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9a9a9a;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.2s ease;
}

.onglet:hover { color: var(--texte); }

.onglet.actif {
  color: var(--texte);
  border-bottom-color: var(--accent);
}

/* ---------- Cartes de la liste (accueil) ---------- */

.sortie {
  border-top: 1px solid var(--ligne);
  padding: 26px 0;
}

.sortie:last-child { border-bottom: 1px solid var(--ligne); }

.sortie a.lien-sortie { text-decoration: none; display: block; }

.sortie .date {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a8a8a;
}

.sortie h3 {
  font-weight: normal;
  font-size: 1.3rem;
  margin: 6px 0 6px;
}

.sortie p {
  color: var(--texte-doux);
  font-size: 0.95rem;
  max-width: 56ch;
}

.sortie .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 10px;
  font-size: 0.8rem;
  color: #8a8a8a;
}

/* ---------- Page aventure ---------- */

.cover {
  width: 100%;
  height: 150px;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

.aventure-tete { padding-top: 40px; }

.aventure-tete .date-lieu {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #8a8a8a;
}

.aventure-tete h2 {
  font-weight: normal;
  font-size: 2rem;
  margin: 8px 0 14px;
}

.aventure-tete .resume { font-size: 1.05rem; max-width: 60ch; }

/* Carte du parcours */
.carte-bloc { margin-top: 8px; }

/* Widget météo */
.meteo-bloc {
  margin-top: 8px;
  border: 1px solid var(--ligne);
  background: #fff;
}


.carte-actions {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid var(--accent);
  color: var(--accent);
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
}

.btn:hover { background: var(--accent); color: var(--fond); }

.btn.fonce { background: var(--accent); color: var(--fond); }
.btn.fonce:hover { background: transparent; color: var(--accent); }

/* Grille des infos pratiques */
.infos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}

.infos h4 {
  font-weight: normal;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9a9a9a;
  margin-bottom: 8px;
}

.infos ul { list-style: none; }
.infos li { padding: 3px 0; color: var(--texte); font-size: 0.95rem; }

/* Mise en garde */
.mise-en-garde {
  margin-top: 48px;
  border: 1px solid var(--danger);
  background: var(--danger-fond);
  padding: 20px 24px;
}

.mise-en-garde h4 {
  color: var(--danger);
  font-weight: normal;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.mise-en-garde p { font-size: 0.95rem; }

/* ---------- Formulaire d'inscription ---------- */

form.inscription {
  margin-top: 20px;
  display: grid;
  gap: 14px;
  max-width: 420px;
}

form.inscription label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8a8a8a;
  display: block;
  margin-bottom: 4px;
}

form.inscription input, form.inscription textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--ligne);
  background: #fff;
  font-family: inherit;
  font-size: 0.95rem;
}

form.inscription input:focus, form.inscription textarea:focus {
  outline: 1px solid var(--accent);
}

.confirmation {
  display: none;
  margin-top: 20px;
  padding: 16px 20px;
  border: 1px solid var(--accent);
  font-size: 0.95rem;
}

/* ---------- Groupe WhatsApp ---------- */

.bloc-groupe {
  margin-top: 36px;
  padding: 20px 24px;
  border: 1px solid var(--ligne);
  background: #fff;
}

.bloc-groupe p {
  color: var(--texte-doux);
  font-size: 0.95rem;
  margin-bottom: 14px;
  max-width: 56ch;
}

/* ---------- Footer ---------- */

footer.site {
  margin-top: 90px;
  padding: 30px 0 50px;
  border-top: 1px solid var(--ligne);
  text-align: center;
  color: #9a9a9a;
  font-size: 0.8rem;
}

footer.site a { color: inherit; }

/* ---------- Responsive ---------- */

@media (max-width: 560px) {
  header.site h1 { font-size: 1.4rem; }
  .aventure-tete h2 { font-size: 1.5rem; }
  .cover { height: 140px; }
}
