/* ===========================
   CHINDONNE — SAISON 2026
   One-page full-height scroll
=========================== */

:root {
  --green:    #2D5016;
  --green-l:  #3a6b1f;
  --brown:    #8B5E3C;
  --cream:    #F5F0E8;
  --dark:     #1a1a1a;
  --mid:      #4a4a4a;
  --light:    #f8f5f0;
  --white:    #ffffff;
  --gold:     #C9A84C;
  --nav-h:    64px;
  --radius:   12px;
  --shadow:   0 4px 24px rgba(0,0,0,.12);
  --trans:    .3s ease;
}

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

html {
  scroll-snap-type: y mandatory;
  overflow-y: scroll;
  scroll-behavior: smooth;
  height: 100%;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--dark);
  background: var(--dark);
  height: 100%;
}

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; line-height: 1.2; }

a { text-decoration: none; color: inherit; }

/* ===========================
   SNAP SECTIONS
=========================== */
.snap-section {
  scroll-snap-align: start;
  height: 100vh;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

/* ===========================
   NAVBAR
=========================== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  z-index: 1000;
  transition: background var(--trans), box-shadow var(--trans);
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--white);
  letter-spacing: .05em;
}

/* Burger — 3 lignes animées */
.nav-burger {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}

.nav-burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .35s ease, opacity .35s ease, width .35s ease;
  transform-origin: center;
}

.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; width: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===========================
   FULLSCREEN MENU OVERLAY
=========================== */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 16, 4, 0.97);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s ease;
}

.menu-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.menu-close {
  display: none; /* le burger sert de toggle */
}

.menu-overlay-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .25rem;
}

.menu-link {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: rgba(255,255,255,.5);
  letter-spacing: .03em;
  padding: .4rem 1rem;
  transition: color .25s ease, transform .25s ease;
  position: relative;
}

.menu-link::after {
  content: '';
  position: absolute;
  bottom: .2rem;
  left: 1rem;
  right: 1rem;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform .25s ease;
}

.menu-link:hover,
.menu-link.active-section {
  color: var(--white);
  transform: translateX(8px);
}

.menu-link:hover::after { transform: scaleX(1); }

.menu-overlay-footer {
  position: absolute;
  bottom: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: rgba(255,255,255,.45);
  font-size: .875rem;
}

.menu-overlay-footer a {
  color: var(--gold);
  transition: opacity .2s;
}

.menu-overlay-footer a:hover { opacity: .7; }
.menu-overlay-footer .sep { opacity: .3; }

/* ===========================
   DOT NAV
=========================== */
.dot-nav {
  position: fixed;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 500;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}

.dot {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.3);
  border: 1px solid rgba(255,255,255,.4);
  transition: all .3s ease;
  position: relative;
}

.dot::before {
  content: attr(data-label);
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  font-family: 'Inter', sans-serif;
}

.dot:hover::before { opacity: 1; }

.dot.active {
  background: var(--white);
  border-color: var(--white);
  transform: scale(1.4);
}

.dot:hover {
  background: rgba(255,255,255,.7);
  border-color: rgba(255,255,255,.7);
}

/* Dots sur fond clair (hébergement) */
.dot-nav.on-light .dot {
  background: rgba(0,0,0,.2);
  border-color: rgba(0,0,0,.3);
}
.dot-nav.on-light .dot.active {
  background: var(--dark);
  border-color: var(--dark);
}
.dot-nav.on-light .dot::before { color: rgba(0,0,0,.6); }

/* ===========================
   SECTION 1 — HERO
=========================== */
.hero-section {
  background: #0c1a08;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* bg.png — légèrement floutée, opacity réduite pour laisser passer le texte */
.hero-bg {
  position: absolute;
  inset: -10px; /* compense le blur qui crée du blanc sur les bords */
  background: url('../img/bg.png') center/cover no-repeat;
  opacity: 0.72;
  filter: blur(2px) brightness(0.85) saturate(1.15);
  transform: scale(1.04); /* évite les bords blancs du blur */
}

/* Vignette + dégradé vertical pour la lisibilité */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(10,20,5,.35) 0%,
      rgba(10,20,5,.1)  40%,
      rgba(10,20,5,.1)  60%,
      rgba(10,20,5,.55) 100%
    ),
    radial-gradient(ellipse at center, transparent 35%, rgba(0,0,0,.45) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  padding: 2rem;
}

.hero-badge {
  display: inline-block;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: .4rem 1.2rem;
  border-radius: 2rem;
  margin-bottom: 1.5rem;
}

.hero-content h1 {
  font-size: clamp(2.8rem, 8vw, 6rem);
  line-height: 1.05;
  margin-bottom: .5rem;
  text-shadow: 0 2px 20px rgba(0,0,0,.4);
}

.hero-name {
  color: var(--gold);
  display: block;
}

.hero-sub {
  font-size: 1rem;
  letter-spacing: .2em;
  opacity: .8;
  margin-bottom: 2.5rem;
  text-transform: uppercase;
}

.hero-phone {
  margin-bottom: 1.5rem;
}

.phone-label {
  display: block;
  font-size: .75rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  opacity: .7;
  margin-bottom: .4rem;
}

.phone-number {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--white);
  transition: color var(--trans);
}

.phone-number:hover { color: var(--gold); }

.btn-primary {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  padding: .85rem 2.2rem;
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .05em;
  transition: background var(--trans), transform var(--trans);
  border: 2px solid transparent;
}

.btn-primary:hover {
  background: var(--green-l);
  transform: translateY(-2px);
}

.scroll-down {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-down span {
  display: block;
  width: 24px;
  height: 24px;
  border-right: 2px solid rgba(255,255,255,.6);
  border-bottom: 2px solid rgba(255,255,255,.6);
  transform: rotate(45deg);
  animation: scrollBounce 1.5s infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); opacity: 1; }
  50% { transform: rotate(45deg) translateY(6px); opacity: .4; }
}

/* ===========================
   SECTION 2 — L'AUBERGE
=========================== */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.split-image {
  position: relative;
}

.auberge-img {
  background:
    linear-gradient(to right, rgba(12,26,8,.25), rgba(12,26,8,.05)),
    url('../img/bg.png') center/cover no-repeat;
}

.split-content {
  background: var(--light);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 4rem 4rem 3rem;
}

.section-tag {
  display: inline-block;
  color: var(--green);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: .75rem;
}

.section-tag.light { color: rgba(255,255,255,.75); }

.split-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  margin-bottom: 1.2rem;
  color: var(--dark);
}

.split-content p {
  color: var(--mid);
  line-height: 1.7;
  margin-bottom: 1rem;
  font-size: .95rem;
}

.stats-row {
  display: flex;
  gap: 1.5rem;
  margin: 1.5rem 0 2rem;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat strong {
  font-size: 1.6rem;
  font-family: 'Playfair Display', serif;
  color: var(--green);
}

.stat span {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--mid);
}

.btn-secondary {
  display: inline-block;
  border: 2px solid var(--green);
  color: var(--green);
  padding: .75rem 1.8rem;
  border-radius: var(--radius);
  font-size: .875rem;
  font-weight: 600;
  transition: all var(--trans);
  align-self: flex-start;
}

.btn-secondary:hover {
  background: var(--green);
  color: var(--white);
}

/* ===========================
   SECTION 3 — HÉBERGEMENT
=========================== */
.cards-section {
  background: var(--cream);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 1rem) 3rem 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: .5rem;
}

.section-header p {
  color: var(--mid);
  font-size: .95rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform var(--trans);
}

.card:hover { transform: translateY(-4px); }

.card-featured {
  border: 2px solid var(--green);
}

.card-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: var(--white);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .25rem .9rem;
  border-radius: 2rem;
  white-space: nowrap;
}

.card-icon {
  font-size: 2rem;
  margin-bottom: .75rem;
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: .25rem;
}

.card-sub {
  font-size: .75rem;
  color: var(--green);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .75rem;
}

.card p {
  font-size: .875rem;
  color: var(--mid);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.card-features {
  list-style: none;
  margin-bottom: 1.5rem;
}

.card-features li {
  font-size: .8rem;
  color: var(--mid);
  padding: .25rem 0;
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.card-features li::before {
  content: '✓ ';
  color: var(--green);
  font-weight: 700;
}

.btn-card {
  display: block;
  text-align: center;
  background: var(--dark);
  color: var(--white);
  padding: .65rem 1rem;
  border-radius: 8px;
  font-size: .8rem;
  font-weight: 600;
  transition: background var(--trans);
}

.btn-card:hover { background: var(--green); }

/* ===========================
   SECTION 4 — RESTAURANT
=========================== */
.restaurant-section {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: #0c1a08;
}

.restaurant-section .restaurant-bg {
  position: absolute;
  inset: -10px;
  background: url('../img/bg.png') center 30%/cover no-repeat;
  opacity: 0.55;
  filter: blur(3px) brightness(0.75) saturate(1.2);
  transform: scale(1.04);
}

.restaurant-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at left center, transparent 30%, rgba(0,0,0,.5) 100%);
}

.restaurant-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 600px;
  padding: 4rem;
}

.restaurant-content h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 1rem;
}

.restaurant-desc {
  font-size: 1rem;
  line-height: 1.7;
  opacity: .9;
  margin-bottom: 2rem;
}

.restaurant-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem 1.5rem;
  margin-bottom: 2.5rem;
}

.resto-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .9rem;
}

.resto-icon { font-size: 1.2rem; }

/* ===========================
   SECTION 5 — ACTIVITÉS
=========================== */
.activites-section {
  background: var(--dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 1rem) 3rem 2rem;
}

.activites-section .section-header h2 { color: var(--white); }
.activites-section .section-header p { color: rgba(255,255,255,.6); }
.activites-section .section-tag { color: var(--gold); }

.seasons-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.tab-btn {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.7);
  padding: .6rem 2rem;
  border-radius: 2rem;
  cursor: pointer;
  font-size: .875rem;
  font-family: 'Inter', sans-serif;
  transition: all var(--trans);
}

.tab-btn.active {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}

.tab-btn:hover:not(.active) {
  background: rgba(255,255,255,.15);
  color: var(--white);
}

.tab-content { display: none; }
.tab-content.active { display: block; }

.activities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.activity-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: background var(--trans), border-color var(--trans);
}

.activity-card:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--green);
}

.act-icon { font-size: 2rem; margin-bottom: .75rem; display: block; }

.activity-card h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: .5rem;
}

.activity-card p {
  color: rgba(255,255,255,.6);
  font-size: .82rem;
  line-height: 1.6;
}

/* ===========================
   SECTION 6 — RÉSERVATION
=========================== */
.reservation-section {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  background: var(--light);
}

.resa-left {
  background: var(--green);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 3rem;
  color: var(--white);
}

.resa-left h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.resa-left p {
  opacity: .85;
  line-height: 1.7;
  margin-bottom: 2rem;
  font-size: .95rem;
}

.phone-big {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  transition: background var(--trans);
}

.phone-big:hover { background: rgba(255,255,255,.25); }
.phone-icon { font-size: 1.5rem; }

.resa-email {
  font-size: .875rem;
  opacity: .75;
  margin-bottom: 0 !important;
}

.resa-email a { color: var(--gold); }

.resa-right {
  overflow-y: auto;
  padding: calc(var(--nav-h) + 1.5rem) 3rem 2rem;
}

.resa-coming-soon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light);
}

.coming-soon-box {
  text-align: center;
  max-width: 420px;
  padding: 2rem;
}

.cs-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 1.25rem;
}

.coming-soon-box h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

.coming-soon-box p {
  color: var(--mid);
  line-height: 1.7;
  margin-bottom: 1rem;
  font-size: .925rem;
}

.coming-soon-box .btn-primary {
  margin-top: .5rem;
}

.resa-form { max-width: 600px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-row.four-col { grid-template-columns: repeat(4, 1fr); }

.form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.form-group label {
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--mid);
}

.form-group input,
.form-group select,
.form-group textarea {
  border: 1.5px solid rgba(0,0,0,.15);
  border-radius: 8px;
  padding: .65rem .9rem;
  font-family: 'Inter', sans-serif;
  font-size: .875rem;
  color: var(--dark);
  background: var(--white);
  transition: border-color var(--trans);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(45,80,22,.1);
}

.form-group textarea { resize: vertical; }

.btn-submit {
  width: 100%;
  background: var(--green);
  color: var(--white);
  border: none;
  padding: 1rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 1rem;
  transition: background var(--trans), transform var(--trans);
  font-family: 'Inter', sans-serif;
}

.btn-submit:hover {
  background: var(--green-l);
  transform: translateY(-1px);
}

.form-note {
  font-size: .75rem;
  color: var(--mid);
  text-align: center;
  margin-top: .75rem;
  line-height: 1.5;
}

.form-success {
  background: #d4edda;
  color: #155724;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-size: .9rem;
}

.form-error {
  background: #f8d7da;
  color: #721c24;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-size: .9rem;
}

/* ===========================
   SECTION 7 — CONTACT
=========================== */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--dark);
}

.contact-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 3rem;
  color: var(--white);
}

.contact-left h2 { font-size: 2.2rem; margin-bottom: 2rem; }

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.c-icon { font-size: 1.3rem; flex-shrink: 0; }

.contact-item strong {
  display: block;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--gold);
  margin-bottom: .25rem;
}

.contact-item p,
.contact-item a {
  color: rgba(255,255,255,.8);
  font-size: .9rem;
  line-height: 1.5;
}

.contact-item a:hover { color: var(--gold); }

.contact-map { position: relative; }
.contact-map iframe { width: 100%; height: 100%; display: block; filter: grayscale(20%); }

/* ===========================
   STICKY PHONE (mobile)
=========================== */
.sticky-phone {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--green);
  text-align: center;
}

.sticky-phone a {
  display: block;
  color: var(--white);
  font-size: .95rem;
  font-weight: 600;
  padding: 1rem;
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 1024px) {
  .activities-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-grid .card:last-child { grid-column: span 2; }
}

@media (max-width: 768px) {
  html { scroll-snap-type: none; }

  .snap-section { height: auto; min-height: 100vh; }

  .nav-links, .nav-tel { display: none; }
  .nav-burger { display: block; }
  #navbar { background: rgba(26,26,26,.97); }

  .hero-content h1 { font-size: 2.8rem; }

  .split-section { grid-template-columns: 1fr; }
  .split-image { height: 45vh; }

  .cards-section { padding: calc(var(--nav-h) + 1rem) 1.5rem 2rem; }
  .cards-grid { grid-template-columns: 1fr; }
  .cards-grid .card:last-child { grid-column: span 1; }

  .restaurant-content { padding: 2rem; }
  .restaurant-items { grid-template-columns: 1fr; }

  .activites-section { padding: calc(var(--nav-h) + 1rem) 1.5rem 2rem; }
  .activities-grid { grid-template-columns: 1fr 1fr; }

  .reservation-section { grid-template-columns: 1fr; }
  .resa-left { padding: 2rem; min-height: auto; }
  .resa-right { padding: 1.5rem; }
  .form-row.four-col { grid-template-columns: repeat(2, 1fr); }

  .contact-section { grid-template-columns: 1fr; }
  .contact-map { height: 40vh; }
  .contact-left { padding: 2rem; }

  .sticky-phone { display: block; }
  body { padding-bottom: 56px; }
}

@media (max-width: 480px) {
  .form-row { grid-template-columns: 1fr; }
  .activities-grid { grid-template-columns: 1fr; }
  .stats-row { flex-wrap: wrap; }
}
