/* ============================================================
   VARIABLES — Modifiez ces valeurs pour reskinner tout le site
   ============================================================ */
:root {
  /* Couleurs */
  --color-bg: #FFFBF0;
  --color-text: #2D2A26;
  --color-accent: #E07A3A;
  --color-accent-light: #F2A96B;
  --color-muted: #7A6E63;
  --color-section-alt: #FFF0DB;
  --color-white: #FFFFFF;

  /* Typographie */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Lato', 'Helvetica Neue', sans-serif;

  /* Espacements */
  --section-padding: 5rem 0;
  --container-max: 1100px;
  --nav-height: 60px;

  /* Transitions */
  --transition-base: 0.3s ease;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition-base);
}

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

/* ============================================================
   UTILITAIRES
   ============================================================ */
.container {
  width: 90%;
  max-width: var(--container-max);
  margin: 0 auto;
}

.section {
  padding: var(--section-padding);
}

.section--alt {
  background-color: var(--color-section-alt);
}

.section__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 2rem;
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.section__subtitle {
  text-align: center;
  color: var(--color-muted);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
}

/* ============================================================
   ANIMATIONS AU SCROLL (reveal)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: box-shadow var(--transition-base);
}

.nav--scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: 90%;
  max-width: var(--container-max);
  margin: 0 auto;
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: 0.02em;
}

.nav__logo:hover {
  color: var(--color-accent);
}

/* Hamburger */
.nav__burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.nav__burger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__burger.active span:nth-child(2) {
  opacity: 0;
}

.nav__burger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Liens nav — mobile */
.nav__links {
  list-style: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 70%;
  max-width: 300px;
  height: 100vh;
  background: var(--color-white);
  padding: calc(var(--nav-height) + 2rem) 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: right var(--transition-base);
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
}

.nav__links.open {
  right: 0;
}

.nav__links a {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--color-text);
  position: relative;
  padding-bottom: 2px;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--color-accent);
  transition: width var(--transition-base);
}

.nav__links a:hover::after,
.nav__links a.active::after {
  width: 100%;
}

.nav__links a.active {
  color: var(--color-accent);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: center;
  overflow: hidden;
  margin-top: var(--nav-height);
}

.hero__photo {
  width: 100%;
  height: 85vh;
  object-fit: cover;
  filter: brightness(1.15);
  display: block;
}

.hero__overlay {
  display: none;
}

.hero__content {
  padding: 2.5rem 1.5rem 3rem;
  background-color: var(--color-bg);
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 7vw, 3.5rem);
  line-height: 1.15;
  color: var(--color-text);
  margin-bottom: 0.6rem;
}

.hero__amp {
  display: inline;
  font-style: italic;
  font-weight: 400;
  font-size: 0.5em;
  color: var(--color-accent);
  margin: 0 0.15em;
}

.hero__date {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.3rem;
}

.hero__location {
  font-size: 1rem;
  color: var(--color-muted);
}

/* ============================================================
   PROGRAMME — TIMELINE
   ============================================================ */
.timeline__day {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  text-align: center;
  color: var(--color-accent);
  margin: 2.5rem 0 1.5rem;
}

.timeline__day:first-of-type {
  margin-top: 0;
}

.timeline {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--color-accent-light);
}

.timeline__item {
  position: relative;
  padding-bottom: 2rem;
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__item::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-accent);
  border: 2px solid var(--color-section-alt);
  z-index: 1;
  flex-shrink: 0;
}

.timeline__time {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-accent);
  min-width: 55px;
  flex-shrink: 0;
}

.timeline__desc strong {
  display: block;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.timeline__desc p {
  color: var(--color-muted);
  font-size: 0.95rem;
}

.timeline--no-line::before {
  display: none;
}

.timeline__item--no-dot::before {
  display: none;
}

/* ============================================================
   LE LIEU
   ============================================================ */
.lieu__block {
  text-align: center;
  margin-bottom: 3rem;
}

.lieu__block:last-child {
  margin-bottom: 0;
}

.lieu__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--color-accent);
  margin-bottom: 0.6rem;
}

.lieu__text {
  max-width: 650px;
  margin: 0 auto 1.5rem;
  font-size: 1.05rem;
  color: var(--color-muted);
}

.lieu__map {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.lieu__map iframe {
  display: block;
}

/* ============================================================
   INFOS PRATIQUES
   ============================================================ */
.infos__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.info-card {
  background: var(--color-white);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.info-card__icon {
  font-size: 2rem;
  margin-bottom: 0.8rem;
}

.info-card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.info-card p {
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ============================================================
   TOURISME
   ============================================================ */
.tourisme__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.tourisme-card {
  background: var(--color-white);
  border-radius: 12px;
  padding: 1.8rem 1.5rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.tourisme-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.tourisme-card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--color-text);
  margin-bottom: 0.2rem;
}

.tourisme-card__distance {
  font-size: 0.85rem;
  color: var(--color-accent);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.tourisme-card p {
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ============================================================
   CAGNOTTE
   ============================================================ */
.cagnotte__content {
  text-align: center;
}

.cagnotte__text {
  max-width: 550px;
  margin: 0 auto 2rem;
  color: var(--color-muted);
  font-size: 1.05rem;
}

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  color: var(--color-white);
  background-color: var(--color-accent);
  padding: 0.85rem 2.5rem;
  border-radius: 50px;
  letter-spacing: 0.03em;
  transition: background-color var(--transition-base), transform var(--transition-base);
}

.btn:hover {
  background-color: var(--color-accent-light);
  color: var(--color-white);
  transform: translateY(-2px);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background-color: var(--color-text);
  color: var(--color-bg);
  text-align: center;
  padding: 3rem 0;
}

.footer__names {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.footer__date {
  font-size: 0.95rem;
  color: var(--color-accent-light);
  margin-bottom: 0.8rem;
}

.footer__message {
  font-size: 0.9rem;
  color: rgba(250, 247, 242, 0.6);
}

/* ============================================================
   RESPONSIVE — TABLETTE (>= 768px)
   ============================================================ */
@media (min-width: 768px) {
  .infos__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tourisme__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section__title {
    font-size: 2.4rem;
  }
}

/* ============================================================
   RESPONSIVE — DESKTOP (>= 1024px)
   ============================================================ */
@media (min-width: 1024px) {
  /* Nav : liens horizontaux, pas de burger */
  .nav__burger {
    display: none;
  }

  .nav__links {
    position: static;
    width: auto;
    max-width: none;
    height: auto;
    background: transparent;
    padding: 0;
    flex-direction: row;
    gap: 2rem;
    box-shadow: none;
  }

  /* Infos : 3 colonnes */
  .infos__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .tourisme__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .section__title {
    font-size: 2.6rem;
  }
}
