:root {
  --fond: #F7F2EA;
  --fond-carte: #FFFDF9;
  --encre: #2B2420;
  --encre-douce: #5E534C;
  --accent: #A4452C;
  --accent-fonce: #8E3A24;
  --ligne: #E4D8C8;
  --sepia: #D9C8B0;
  --titre: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --texte: system-ui, -apple-system, "Segoe UI", "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--fond);
  color: var(--encre);
  font-family: var(--texte);
  font-size: 18px;
  line-height: 1.6;
}

a { color: var(--accent-fonce); }
a:hover { color: var(--accent); }

.conteneur { max-width: 960px; margin: 0 auto; padding: 0 20px; }
.etroit { max-width: 760px; }

/* En-tête */
.entete { border-bottom: 1px solid var(--ligne); background: var(--fond); }
.entete .conteneur {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 18px; padding-bottom: 18px; flex-wrap: wrap;
}
.marque {
  font-family: var(--titre); font-weight: 600; font-size: 22px;
  color: var(--accent-fonce); text-decoration: none;
}
.entete nav a { margin-left: 20px; text-decoration: none; font-weight: 600; font-size: 16px; }
.entete nav a:first-child { margin-left: 0; }

/* Accueil */
.hero { padding: 72px 0 56px; }
.hero h1 {
  font-family: var(--titre); font-weight: 600; font-size: clamp(34px, 6vw, 54px);
  line-height: 1.1; margin: 0 0 20px;
}
.hero p.chapo { font-size: 21px; color: var(--encre-douce); max-width: 640px; margin: 0 0 28px; }
.bandeau {
  display: inline-block; background: var(--fond-carte); border: 1px solid var(--ligne);
  border-radius: 999px; padding: 6px 16px; font-size: 15px; font-weight: 600;
  color: var(--accent-fonce); margin-bottom: 24px;
}
.bouton {
  display: inline-block; background: var(--accent); color: #fff; text-decoration: none;
  font-weight: 600; padding: 14px 28px; border-radius: 999px; font-size: 18px;
}
.bouton:hover { background: var(--accent-fonce); color: #fff; }

section.bloc { padding: 48px 0; border-top: 1px solid var(--ligne); }
section.bloc h2 {
  font-family: var(--titre); font-weight: 600; font-size: 32px; margin: 0 0 24px; line-height: 1.2;
}

.etapes {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px;
  counter-reset: etape;
}
.etapes li {
  background: var(--fond-carte); border: 1px solid var(--ligne); border-radius: 16px; padding: 22px;
  counter-increment: etape;
}
.etapes li::before {
  content: counter(etape); display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%; background: var(--sepia);
  font-family: var(--titre); font-weight: 600; margin-bottom: 12px;
}
.etapes h3 { font-size: 19px; margin: 0 0 6px; }
.etapes p { margin: 0; color: var(--encre-douce); font-size: 17px; }

.tarifs { width: 100%; border-collapse: collapse; background: var(--fond-carte); border-radius: 16px; overflow: hidden; }
.tarifs th, .tarifs td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--ligne); vertical-align: top; }
.tarifs tr:last-child td { border-bottom: none; }
.tarifs td:last-child { font-weight: 600; white-space: nowrap; }
.note { color: var(--encre-douce); font-size: 16px; margin-top: 14px; }

/* Pages légales */
.page { padding: 48px 0 64px; }
.page h1 { font-family: var(--titre); font-weight: 600; font-size: clamp(30px, 5vw, 42px); line-height: 1.15; margin: 0 0 8px; }
.page .maj { color: var(--encre-douce); font-size: 16px; margin: 0 0 32px; }
.page h2 { font-family: var(--titre); font-weight: 600; font-size: 25px; margin: 40px 0 12px; }
.page table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 16px; background: var(--fond-carte); }
.page th, .page td { text-align: left; padding: 10px 12px; border: 1px solid var(--ligne); vertical-align: top; }
.page th { background: #EFE6D9; }
.tableau-defilant { overflow-x: auto; }
.page dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; }
.page dt { font-weight: 600; }
.page dd { margin: 0; }

/* Pied de page */
.pied { border-top: 1px solid var(--ligne); padding: 28px 0 40px; font-size: 15px; color: var(--encre-douce); }
.pied .conteneur { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
.pied nav a { margin-right: 18px; }

@media (max-width: 600px) {
  body { font-size: 17px; }
  .hero { padding: 48px 0 40px; }
  .entete nav a { margin-left: 14px; font-size: 15px; }
  .page dl { grid-template-columns: 1fr; }
  .page dd { margin-bottom: 8px; }
}

/* Bandeau de consentement aux cookies */
#bandeau-cookies {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50;
  max-width: 720px; margin: 0 auto;
  background: var(--fond-carte); border: 1px solid var(--ligne); border-radius: 16px;
  box-shadow: 0 8px 30px rgba(43, 36, 32, 0.15);
  padding: 18px 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px;
  font-size: 16px;
}
#bandeau-cookies p { margin: 0; flex: 1 1 320px; }
.boutons-cookies { display: flex; gap: 10px; }
.boutons-cookies button {
  font: inherit; font-weight: 600; padding: 10px 22px; min-height: 44px; border-radius: 999px; cursor: pointer;
  border: 2px solid var(--accent); background: var(--fond-carte); color: var(--accent-fonce);
}
.boutons-cookies #cookies-accepter { background: var(--accent); color: #fff; }
.pied button.lien {
  font: inherit; color: var(--accent-fonce); background: none; border: none; padding: 0;
  text-decoration: underline; cursor: pointer;
}
