/* La Vallée Thermale — additional CSS */

:root {
  --thermal: #24929F;
  --thermal-dark: #1B6F79;
  --thermal-light: #3FB1BE;
  --provence: #D9944F;
  --provence-dark: #B57736;
  --sand: #F5EFE6;
  --ink: #0F2A33;
  --ink-soft: #4A5C66;
  --cream: #FFFCF7;
  --gold: #B8873A;
  --success: #5C9A52;
  --error: #C25450;
  --border: #E8DFD2;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.font-display { font-family: 'Cormorant Garamond', serif; font-weight: 500; letter-spacing: -0.01em; }
.font-script { font-family: 'Allura', cursive; }

/* Header */
.header { transition: all .3s ease; }
.header.scrolled {
  background: rgba(255,252,247,.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(15,42,51,.08);
}
.header.scrolled .nav-link { color: var(--ink); }
.header.scrolled .logo-text { color: var(--ink); }

.nav-link { position: relative; transition: color .2s; }
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px; background: var(--provence); transform: scaleX(0); transform-origin: center;
  transition: transform .25s ease;
}
.nav-link:hover::after { transform: scaleX(1); }

/* Buttons */
.btn-primary {
  background: var(--gold);
  color: white;
  padding: 14px 28px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: all .25s ease;
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--gold);
}
.btn-primary:hover { background: var(--provence-dark); border-color: var(--provence-dark); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(184,135,58,.3); }

.btn-thermal {
  background: var(--thermal);
  color: white;
  padding: 14px 28px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: all .25s ease;
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--thermal);
}
.btn-thermal:hover { background: var(--thermal-dark); border-color: var(--thermal-dark); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(36,146,159,.3); }

.btn-outline {
  background: transparent;
  color: white;
  border: 1px solid rgba(255,255,255,.6);
  padding: 14px 28px;
  border-radius: 4px;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: .04em;
  transition: all .25s ease;
  display: inline-flex; align-items: center; gap: 10px;
}
.btn-outline:hover { background: rgba(255,255,255,.12); border-color: white; }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--border);
  padding: 12px 22px;
  border-radius: 4px;
  font-weight: 500;
  font-size: 14px;
  transition: all .2s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-ghost:hover { border-color: var(--thermal); color: var(--thermal); }

/* Hero */
.hero-bg {
  background-image: linear-gradient(rgba(15,42,51,.55), rgba(15,42,51,.7)), url('https://images.unsplash.com/photo-1544161515-4ab6ce6db874?w=1920&q=70&auto=format');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-overlay {
  background: linear-gradient(180deg, transparent 0%, rgba(15,42,51,.4) 60%, rgba(15,42,51,.85) 100%);
}

.kicker {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: .25em;
  text-transform: uppercase;
  font-weight: 500;
  position: relative;
  padding-left: 60px;
}
.kicker::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 44px; height: 1px; background: currentColor;
}

/* Cards */
.card-univers {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s;
  background: white;
}
.card-univers:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(15,42,51,.18); }
.card-univers .img-wrap { position: relative; aspect-ratio: 4/5; overflow: hidden; }
.card-univers .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.card-univers:hover .img-wrap img { transform: scale(1.06); }
.card-univers .overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(15,42,51,.85) 100%); }
.card-univers .content { position: absolute; bottom: 0; left: 0; right: 0; padding: 28px 28px 32px; color: white; }
.card-univers .number { font-family: 'Cormorant Garamond', serif; font-size: 14px; opacity: .7; letter-spacing: .3em; }

/* Soin / chambre cards */
.product-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  transition: all .25s;
  display: flex; flex-direction: column;
}
.product-card:hover { border-color: var(--thermal); box-shadow: 0 12px 32px rgba(15,42,51,.1); transform: translateY(-2px); }
.product-card .pic { aspect-ratio: 4/3; overflow: hidden; }
.product-card .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.product-card:hover .pic img { transform: scale(1.04); }
.product-card .body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.product-card .price { font-family: 'Cormorant Garamond', serif; font-size: 28px; color: var(--thermal); font-weight: 600; }
.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--sand);
  color: var(--ink-soft);
}
.tag-thermal { background: rgba(36,146,159,.12); color: var(--thermal-dark); }
.tag-gold { background: rgba(184,135,58,.14); color: var(--gold); }
.tag-success { background: rgba(92,154,82,.14); color: var(--success); }

/* Filters */
.filter-pill {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all .2s;
  background: white;
}
.filter-pill:hover { border-color: var(--thermal); color: var(--thermal); }
.filter-pill.active { background: var(--thermal); color: white; border-color: var(--thermal); }

/* Sections */
.section { padding: 96px 0; }
.section-sand { background: var(--sand); }
.section-cream { background: var(--cream); }
.section-ink { background: var(--ink); color: var(--cream); }
.section-divider { height: 1px; background: var(--border); }

.section-heading h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -.01em;
}

/* Storytelling water */
.water-svg path { stroke-dasharray: 800; stroke-dashoffset: 800; animation: draw 3s cubic-bezier(.4,0,.2,1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Modal */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(15,42,51,.6);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  z-index: 100;
  display: none;
  align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity .25s;
}
.modal-backdrop.open { display: flex; opacity: 1; }
.modal-content {
  background: var(--cream);
  border-radius: 12px;
  max-width: 880px; width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
  animation: modalIn .35s cubic-bezier(.2,.8,.2,1);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(30px) scale(.96); } to { opacity: 1; transform: translateY(0) scale(1); } }

.modal-close {
  position: absolute; top: 18px; right: 18px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--sand);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .2s;
  z-index: 2;
}
.modal-close:hover { background: var(--ink); color: white; }

/* Stepper */
.stepper { display: flex; gap: 8px; margin-bottom: 32px; }
.step-pill { flex: 1; height: 4px; background: var(--border); border-radius: 2px; transition: background .3s; }
.step-pill.done { background: var(--thermal); }
.step-pill.current { background: linear-gradient(90deg, var(--thermal) 0%, var(--thermal) 50%, var(--border) 50%); }

.radio-card {
  border: 2px solid var(--border);
  border-radius: 8px;
  padding: 22px;
  cursor: pointer;
  transition: all .2s;
  background: white;
}
.radio-card:hover { border-color: var(--thermal-light); }
.radio-card.selected { border-color: var(--thermal); background: rgba(36,146,159,.04); }
.radio-card.selected .check { opacity: 1; }
.check {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--thermal);
  color: white;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity .2s;
}

/* Calendar */
.cal-day {
  aspect-ratio: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  transition: all .15s;
  border: 1px solid transparent;
  background: white;
}
.cal-day:hover:not(.disabled):not(.selected) { background: var(--sand); border-color: var(--border); }
.cal-day.disabled { color: #C8C8C8; cursor: not-allowed; background: transparent; }
.cal-day.available { color: var(--ink); }
.cal-day.few { color: var(--provence); font-weight: 600; position: relative; }
.cal-day.few::after { content: ""; position: absolute; bottom: 6px; width: 4px; height: 4px; border-radius: 50%; background: var(--provence); }
.cal-day.selected { background: var(--thermal); color: white; border-color: var(--thermal); }
.cal-day .price-mini { font-size: 10px; opacity: .7; margin-top: 2px; }

/* Time slots */
.time-slot {
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s;
  background: white;
}
.time-slot:hover:not(.full) { border-color: var(--thermal); color: var(--thermal); }
.time-slot.full { color: #C8C8C8; cursor: not-allowed; background: var(--sand); }
.time-slot.selected { background: var(--thermal); color: white; border-color: var(--thermal); }

/* Stripe mockup */
.stripe-card {
  background: linear-gradient(135deg, #635BFF, #00D4FF);
  color: white;
  border-radius: 12px;
  padding: 24px;
  font-family: monospace;
  position: relative;
  overflow: hidden;
}
.stripe-card::before {
  content: ""; position: absolute; top: -40px; right: -40px;
  width: 160px; height: 160px;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
}

/* FAQ Accordion */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-toggle {
  width: 100%;
  padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer;
  text-align: left;
  background: none;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
}
.faq-toggle .icon { transition: transform .3s; }
.faq-item.open .faq-toggle .icon { transform: rotate(45deg); }
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .3s ease;
  color: var(--ink-soft);
  line-height: 1.7;
}
.faq-item.open .faq-content { max-height: 400px; padding-bottom: 22px; }

/* Dashboard curiste */
.dashboard-card {
  background: white;
  border-radius: 8px;
  padding: 26px;
  border: 1px solid var(--border);
  transition: all .25s;
}
.dashboard-card:hover { border-color: var(--thermal-light); box-shadow: 0 8px 24px rgba(15,42,51,.06); }

/* Pulse animation */
.pulse-dot {
  width: 10px; height: 10px;
  background: var(--success);
  border-radius: 50%;
  position: relative;
  display: inline-block;
}
.pulse-dot::before {
  content: ""; position: absolute; inset: 0;
  background: var(--success);
  border-radius: 50%;
  animation: pulseRing 1.6s ease-out infinite;
}
@keyframes pulseRing {
  0% { transform: scale(1); opacity: .8; }
  100% { transform: scale(2.6); opacity: 0; }
}

/* CTA gradient */
.cta-gradient {
  background: linear-gradient(135deg, var(--thermal) 0%, var(--thermal-dark) 50%, var(--provence) 100%);
  position: relative;
  overflow: hidden;
}
.cta-gradient::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.05' stroke-width='1'%3E%3Cpath d='M0 40c10 0 10-15 20-15s10 15 20 15 10-15 20-15 10 15 20 15'/%3E%3C/g%3E%3C/svg%3E");
  opacity: .4;
}

.contact-block {
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px;
  padding: 36px;
  transition: all .25s;
}
.contact-block:hover { background: rgba(255,255,255,.14); transform: translateY(-3px); }

/* Signature manuscrite */
.signature {
  font-family: 'Allura', cursive;
  font-size: 64px;
  color: var(--provence);
  line-height: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .nav-desktop { display: none; }
  .hero-bg { background-attachment: scroll; }
}

/* Accessibility focus */
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--provence);
  outline-offset: 2px;
}

/* Hide scrollbar pretty */
.cal-grid::-webkit-scrollbar { height: 6px; }
.cal-grid::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* Logo bar grayscale */
.partner-logo {
  filter: grayscale(100%);
  opacity: .55;
  transition: all .25s;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 24px;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: .02em;
}
.partner-logo:hover { filter: none; opacity: 1; color: var(--thermal); }

/* Section reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* Booking widget mini */
.booking-widget {
  background: white;
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(15,42,51,.18);
  padding: 8px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 4px;
}
.booking-widget .field {
  padding: 14px 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: background .2s;
}
.booking-widget .field:hover { background: var(--sand); }
.booking-widget .label { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); margin-bottom: 4px; font-weight: 600; }
.booking-widget .value { font-family: 'Cormorant Garamond', serif; font-size: 18px; color: var(--ink); }
.booking-widget .submit-btn {
  background: var(--gold);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 0 28px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background .2s;
}
.booking-widget .submit-btn:hover { background: var(--provence-dark); }

@media (max-width: 768px) {
  .booking-widget { grid-template-columns: 1fr; }
}

/* Wave divider */
.wave-divider svg { display: block; width: 100%; height: 60px; }

/* Live indicator */
.live-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(92,154,82,.12);
  color: var(--success);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

/* Hotel chambre badge */
.feature-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(36,146,159,.1);
  color: var(--thermal);
  display: inline-flex; align-items: center; justify-content: center;
}

/* Restaurant */
.menu-item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px dashed var(--border); }
.menu-item:last-child { border-bottom: none; }
.menu-item .dot-leader {
  flex: 1;
  border-bottom: 1px dotted var(--ink-soft);
  margin: 0 8px 6px;
  opacity: .4;
}

/* Pro page */
.pro-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  background: white;
  text-align: center;
  transition: all .25s;
}
.pro-card:hover { border-color: var(--thermal); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(15,42,51,.06); }
.pro-card .icon-big {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(36,146,159,.1);
  color: var(--thermal);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}

/* Footer */
footer { background: var(--ink); color: var(--sand); padding: 80px 0 30px; }
footer h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  margin-bottom: 22px;
  color: white;
  font-weight: 500;
}
footer a { color: rgba(245,239,230,.65); transition: color .2s; }
footer a:hover { color: var(--provence); }

.lang-switch {
  display: inline-flex;
  background: rgba(255,255,255,.06);
  border-radius: 999px;
  padding: 4px;
}
.lang-switch button {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  background: transparent;
  color: rgba(245,239,230,.65);
  border: none;
  cursor: pointer;
}
.lang-switch button.active { background: var(--provence); color: white; }

/* Schedule planning grid */
.planning-cell {
  padding: 10px;
  border: 1px solid var(--border);
  background: white;
  font-size: 12px;
  border-radius: 4px;
}
.planning-cell.thermal { background: rgba(36,146,159,.08); border-color: var(--thermal-light); color: var(--thermal-dark); font-weight: 500; }
.planning-cell.kine { background: rgba(184,135,58,.08); border-color: var(--gold); color: var(--gold); font-weight: 500; }
.planning-cell.spa { background: rgba(217,148,79,.1); border-color: var(--provence); color: var(--provence-dark); font-weight: 500; }
.planning-cell.empty { background: transparent; border: 1px dashed #d8cfc0; color: #aba18f; }
