:root {
  color-scheme: light;
  --ivoire: #faf7f2;
  --papier: #fffdf9;
  --encre: #2e2a26;
  --doux: #7a7268;
  --or: #b08d3e;
  --or-fonce: #8f7130;
  --ligne: #e8e0d2;
  --ombre: 0 16px 40px rgba(70, 58, 35, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--encre);
  background: var(--ivoire);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.2;
}

a { color: var(--or-fonce); }

.barre {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--ligne);
}

.navigation {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.marque { font-size: 1.4rem; text-decoration: none; }

.liens {
  list-style: none;
  display: flex;
  gap: 1.4rem;
  margin: 0;
  padding: 0;
}

.liens a {
  text-decoration: none;
  color: var(--encre);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.liens a:hover { color: var(--or-fonce); }

.bouton-menu {
  display: none;
  border: 1px solid var(--ligne);
  background: var(--papier);
  font-size: 1.2rem;
  border-radius: 8px;
  padding: 0.2rem 0.6rem;
  cursor: pointer;
}

.hero {
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
  background-color: var(--ivoire);
  background-image:
    radial-gradient(ellipse at 50% 0%, rgba(176, 141, 62, 0.18), transparent 60%),
    linear-gradient(180deg, rgba(250, 247, 242, 0.88) 0%, rgba(250, 247, 242, 0.58) 50%, rgba(250, 247, 242, 0.9) 100%),
    url("assets/hero-ile-d-aix.jpg"),
    url("https://upload.wikimedia.org/wikipedia/commons/thumb/0/0d/Aix_island_lighthouses_%282013%29.jpg/1920px-Aix_island_lighthouses_%282013%29.jpg");
  background-size: cover, cover, cover, cover;
  background-position: center, center, center, center;
  background-repeat: no-repeat;
}

.hero h1, .sur-titre, .date-lieu {
  text-shadow: 0 1px 14px rgba(250, 247, 242, 0.95);
}

.sur-titre {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.8rem;
  color: var(--doux);
  margin: 0 0 1rem;
}

.hero h1 {
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  margin: 0 0 1.2rem;
  color: var(--encre);
}

.hero h1 .et { color: var(--or); font-style: italic; font-weight: 400; }

.date-lieu { font-size: 1.15rem; color: var(--doux); margin: 0 0 2rem; }

.compte-a-rebours {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2.2rem;
}

.unite {
  background: var(--papier);
  border: 1px solid var(--ligne);
  border-radius: 14px;
  box-shadow: var(--ombre);
  padding: 0.8rem 1.1rem;
  min-width: 86px;
}

.valeur {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.9rem;
  color: var(--or-fonce);
}

.etiquette {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--doux);
}

.actions-hero { display: flex; gap: 0.9rem; flex-wrap: wrap; justify-content: center; }

.bouton {
  display: inline-block;
  border-radius: 999px;
  padding: 0.75rem 1.7rem;
  text-decoration: none;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  font-size: 1rem;
}

.bouton-principal {
  background: var(--or);
  color: #fff;
  border-color: var(--or);
}

.bouton-principal:hover { background: var(--or-fonce); border-color: var(--or-fonce); }

.bouton-secondaire {
  background: transparent;
  color: var(--or-fonce);
  border-color: var(--or);
}

.bouton-secondaire:hover { background: rgba(176, 141, 62, 0.1); }

.section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 4.5rem 1.5rem;
}

.section-alternee { max-width: none; background: var(--papier); }
.section-alternee > * { max-width: 1000px; margin-left: auto; margin-right: auto; }

.section h2 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  text-align: center;
  margin: 0 0 0.8rem;
}

.introduction { text-align: center; color: var(--doux); max-width: 640px; margin: 0 auto 2.4rem; }

.programme {
  list-style: none;
  margin: 0 auto 2.5rem;
  padding: 0;
  max-width: 720px;
  position: relative;
}

.programme::before {
  content: "";
  position: absolute;
  left: 74px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--ligne);
}

.etape {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1.2rem;
  padding: 0.9rem 0;
  position: relative;
}

.etape .heure {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.05rem;
  color: var(--or-fonce);
  text-align: right;
  padding-top: 0.15rem;
}

.etape .heure::after {
  content: "";
  position: absolute;
  left: 70px;
  top: 1.35rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--or);
  border: 2px solid var(--ivoire);
}

.etape .contenu {
  background: var(--papier);
  border: 1px solid var(--ligne);
  border-radius: 14px;
  padding: 1rem 1.2rem;
  box-shadow: var(--ombre);
}

.section:not(.section-alternee) .etape .contenu { background: #fff; }

.etape h3 { margin: 0 0 0.2rem; font-size: 1.25rem; }
.etape .lieu-etape { color: var(--or-fonce); font-size: 0.92rem; font-weight: 500; }
.etape .detail { margin: 0.35rem 0 0; color: var(--doux); }

.cartes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.4rem;
  max-width: 1000px;
  margin: 0 auto;
}

.carte {
  background: var(--ivoire);
  border: 1px solid var(--ligne);
  border-radius: 16px;
  padding: 1.4rem 1.6rem;
  box-shadow: var(--ombre);
}

.carte h3 { margin: 0 0 0.5rem; color: var(--or-fonce); }
.carte p { margin: 0 0 0.4rem; }

.formulaire {
  max-width: 640px;
  margin: 0 auto;
  background: var(--papier);
  border: 1px solid var(--ligne);
  border-radius: 18px;
  box-shadow: var(--ombre);
  padding: 2rem;
  display: grid;
  gap: 1.1rem;
}

.champ { display: grid; gap: 0.35rem; border: none; padding: 0; margin: 0; }

.champ label, .champ legend {
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0;
}

.champ input[type="text"],
.champ input[type="email"],
.champ input[type="number"],
.champ textarea {
  font: inherit;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--ligne);
  border-radius: 10px;
  background: #fff;
  color: var(--encre);
}

.champ input:focus, .champ textarea:focus {
  outline: 2px solid rgba(176, 141, 62, 0.45);
  border-color: var(--or);
}

.radio { display: flex; align-items: center; gap: 0.5rem; font-weight: 400; }

.aide { font-size: 0.9rem; color: var(--doux); margin: 0; }

.pied {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-top: 1px solid var(--ligne);
  background: var(--papier);
}

.pied p { margin: 0.2rem 0; }
.pied .petit { color: var(--doux); font-size: 0.9rem; }
#pied-noms { font-family: "Playfair Display", Georgia, serif; font-size: 1.2rem; }

.liste-bateaux { margin: 0.2rem 0 0; padding-left: 1.1rem; }
.liste-bateaux li { margin-bottom: 0.45rem; }

.carte-carte {
  max-width: 1000px;
  margin: 0 auto;
  border: 1px solid var(--ligne);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--ombre);
}

.carte-carte iframe { display: block; width: 100%; height: 420px; border: 0; }

.qrcode-bloc {
  margin-top: 1.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

#qrcode img, #qrcode canvas {
  border: 1px solid var(--ligne);
  border-radius: 10px;
  background: #fff;
  padding: 6px;
}

@media (max-width: 700px) {
  .bouton-menu { display: block; }
  .liens {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--papier);
    border-bottom: 1px solid var(--ligne);
    padding: 0.5rem 0;
  }
  .liens.ouvert { display: flex; }
  .liens a { display: block; padding: 0.7rem 1.4rem; }
  .programme::before { left: 58px; }
  .etape { grid-template-columns: 52px 1fr; gap: 0.9rem; }
  .etape .heure::after { left: 54px; }
  .formulaire { padding: 1.4rem; }
}
