/* =============================================
   LE MANOIR DE BOUTARIC — Shared Stylesheet
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Lato:wght@300;400;700&display=swap');

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --brown:   #3d2b1f;
  --green:   #2d5a3d;
  --green-light: #3d7a55;
  --cream:   #f5f0e6;
  --cream2:  #ede7d9;
  --sage:    #d4e0ca;
  --gold:    #c49a44;
  --gold-light: #e8c97a;
  --text:    #2c2424;
  --text-light: #6b5a50;
  --white:   #ffffff;
  --shadow:  0 4px 24px rgba(44,36,36,.12);
  --shadow-lg: 0 8px 40px rgba(44,36,36,.18);
  --radius:  12px;
  --transition: all .3s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }

body {
  font-family: 'Lato', sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

h1,h2,h3,h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
  color: var(--brown);
}

/* ── Utility Classes ── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 80px 0; }
.section-sm { padding: 48px 0; }

.text-center { text-align: center; }
.text-green  { color: var(--green); }
.text-gold   { color: var(--gold); }
.text-white  { color: var(--white); }
.bg-cream    { background: var(--cream); }
.bg-brown    { background: var(--brown); }
.bg-green    { background: var(--green); }
.bg-sage     { background: var(--sage); }

.section-label {
  font-family: 'Lato', sans-serif;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--brown);
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .04em;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--brown);
}
.btn-primary:hover { background: var(--gold-light); transform: scale(1.02); box-shadow: var(--shadow); }

.btn-secondary {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: rgba(255,255,255,0.88);
  border: 1.5px solid rgba(255,255,255,0.35);
}
.btn-secondary:hover { background: rgba(255,255,255,0.18); color: var(--white); border-color: rgba(255,255,255,0.55); transform: translateY(-2px); }

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

.btn-outline-brown {
  background: transparent;
  border: 2px solid var(--brown);
  color: var(--brown);
}
.btn-outline-brown:hover { background: var(--brown); color: var(--white); transform: translateY(-2px); }

.btn-lg { padding: 18px 42px; font-size: 1.05rem; }

/* ── Navigation ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: var(--transition);
  padding: 20px 0;
}

.navbar.scrolled {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
  padding: 12px 0;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.navbar-logo img {
  height: 68px;
  width: auto;
  opacity: 0.9;
  filter: drop-shadow(0 1px 4px rgba(0,0,0,.22));
  transition: transform .3s ease, filter .3s ease, opacity .3s ease;
  cursor: pointer;
}

.navbar-logo:hover img {
  transform: scale(1.08) rotate(3deg);
  filter: drop-shadow(0 4px 14px rgba(196,154,68,.55));
}

.navbar-logo:active img {
  transform: scale(0.93) rotate(-2deg);
  filter: drop-shadow(0 2px 8px rgba(196,154,68,.8));
  transition: transform .1s ease, filter .1s ease;
}

.navbar.scrolled .navbar-logo img { filter: none; height: 55px; }

.navbar-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar-links a {
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--white);
  transition: var(--transition);
  position: relative;
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: var(--transition);
}

.navbar-links a:hover::after,
.navbar-links a.active::after { width: 100%; }

.navbar.scrolled .navbar-links a { color: var(--brown); }
.navbar-links a:hover { color: var(--gold); }
.navbar.scrolled .navbar-links a:hover { color: var(--green); }

.navbar-cta { margin-left: 16px; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  transition: transform .25s ease;
}

.nav-toggle:hover {
  transform: scale(1.15);
}

.nav-toggle:active {
  transform: scale(0.88);
  transition: transform .1s ease;
}

.nav-toggle span {
  display: block;
  width: 26px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.navbar.scrolled .nav-toggle span { background: var(--brown); }

/* Flag language button */
#mobileLangBtn {
  transition: transform .25s ease !important;
}

#mobileLangBtn:hover {
  transform: scale(1.2) rotate(8deg) !important;
}

#mobileLangBtn:active {
  transform: scale(0.85) rotate(-5deg) !important;
  transition: transform .1s ease !important;
}

.nav-mobile {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--brown);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--white);
  transition: color .25s ease, transform .25s ease, letter-spacing .25s ease;
  display: inline-block;
}

.nav-mobile a:hover {
  color: var(--gold);
  transform: translateX(8px) scale(1.06);
  letter-spacing: 0.04em;
}

.nav-mobile a:active {
  transform: translateX(4px) scale(0.96);
  transition: transform .1s ease;
}

.nav-mobile-close {
  display: none;
}

.nav-mobile .phone-mobile {
  font-size: 1.1rem;
  color: var(--gold);
  font-weight: 700;
}

/* ── Hero entrance animation ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-tag     { animation: fadeUp .7s ease-out .1s both; }
.hero-title   { animation: fadeUp .8s ease-out .22s both; }
.hero-subtitle{ animation: fadeUp .8s ease-out .38s both; }
.hero-actions { animation: fadeUp .7s ease-out .54s both; }

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.45), rgba(0,0,0,0.55));
}

.hero:hover .hero-bg { transform: scale(1); }

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  max-width: 680px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50px;
  padding: 7px 18px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 40px;
  margin-top: 8px;
  color: var(--gold-light);
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,.7), 0 1px 4px rgba(0,0,0,.9);
}

.hero-title em { color: var(--gold-light); font-style: italic; }

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,.85);
  margin-bottom: 40px;
  max-width: 520px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.6);
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

.hero-scroll::after {
  content: '';
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.4);
}

@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

/* ── Features Bar ── */
.features-bar {
  background: var(--brown);
  padding: 40px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 12px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.1);
}

.feature-item:last-child { border-right: none; }

.feature-icon {
  width: 44px; height: 44px;
  background: rgba(196,154,68,.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.feature-item span {
  font-size: .82rem;
  color: rgba(255,255,255,.85);
  font-weight: 400;
  line-height: 1.4;
}

/* ── About / Chalet Section ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-text .section-label { margin-bottom: 8px; }

.about-text p {
  color: var(--text-light);
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.about-stats {
  display: flex;
  gap: 32px;
  margin: 32px 0;
}

.stat {
  text-align: center;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
}

.stat-label {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-light);
  margin-top: 4px;
}

.about-images {
  position: relative;
}

.about-img-main {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.about-img-secondary {
  position: absolute;
  bottom: -32px;
  left: -32px;
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
}

/* ── Gallery ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}

.gallery-item {
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform .5s ease;
}

.gallery-item:hover img { transform: scale(1.06); }

.gallery-item.large {
  grid-row: span 2;
}

.gallery-item.large img { height: 100%; min-height: 496px; }

/* ── CTA Banner ── */
.cta-banner {
  position: relative;
  padding: 100px 0;
  text-align: center;
  overflow: hidden;
}

.cta-banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.cta-banner-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(30,18,10,.75);
}

.cta-banner-content {
  position: relative;
  z-index: 1;
  color: var(--white);
}

.cta-banner-content h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--white);
  margin-bottom: 16px;
}

.cta-banner-content p {
  font-size: 1.15rem;
  color: rgba(255,255,255,.8);
  margin-bottom: 36px;
}

/* ── Map Section ── */
.map-section { background: var(--cream2); }

.map-container {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: center;
}

.map-info h2 { margin-bottom: 16px; }

.map-info p {
  color: var(--text-light);
  margin-bottom: 24px;
  line-height: 1.8;
}

.map-detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.map-detail-icon {
  width: 36px; height: 36px;
  background: var(--sage);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.map-detail-text strong { display: block; font-size: .9rem; color: var(--brown); }
.map-detail-text span { font-size: .85rem; color: var(--text-light); }

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 380px;
}

.map-embed iframe { width: 100%; height: 100%; border: none; }

/* ── Page Hero (sub-pages) ── */
.page-hero {
  position: relative;
  height: 400px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 60px;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30,18,10,.8) 0%, rgba(30,18,10,.3) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
}

.page-hero-content h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: var(--white);
  margin-bottom: 8px;
}

.page-hero-content p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.8);
  max-width: 520px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 16px;
}

.breadcrumb a { color: var(--gold-light); }
.breadcrumb span { color: rgba(255,255,255,.4); }

/* ── Info Cards (séjour pages) ── */
.info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
  margin-bottom: 32px;
}

.info-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--cream2);
}

.info-card-icon {
  width: 52px; height: 52px;
  background: var(--sage);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.info-card-header h2 {
  font-size: 1.6rem;
  color: var(--brown);
}

.info-card-header p {
  font-size: .9rem;
  color: var(--text-light);
}

.info-list li {
  position: relative;
  padding: 14px 0 14px 34px;
  border-bottom: 1px solid var(--cream2);
  font-size: .95rem;
  line-height: 1.6;
}

.info-list li:last-child { border-bottom: none; }

.info-list li::before {
  content: '✓';
  width: 22px; height: 22px;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  font-weight: 700;
  position: absolute;
  left: 0;
  top: 16px;
}

.info-alert {
  background: #fff8e8;
  border-left: 4px solid var(--gold);
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  margin: 20px 0;
  font-size: .9rem;
}

.info-alert strong { color: var(--brown); }

.info-important {
  background: #f0f7f3;
  border-left: 4px solid var(--green);
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  margin: 20px 0;
  font-size: .9rem;
}

/* ── Activities ── */
.activity-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: grid;
  grid-template-columns: 280px 1fr;
}

.activity-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.activity-card + .activity-card { margin-top: 32px; }

.activity-img {
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  object-position: center center;
}

.activity-body { padding: 32px; }

.activity-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
  gap: 16px;
}

.activity-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--brown);
}

.stars { color: #f0a500; font-size: .9rem; letter-spacing: 2px; }

.activity-desc {
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.75;
}

.activity-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.tag {
  padding: 4px 14px;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .05em;
  background: var(--sage);
  color: var(--green);
}

/* ── History Page ── */
.history-content {
  max-width: 760px;
  margin: 0 auto;
}

.history-content p {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 24px;
}

.history-photo {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  margin: 40px 0;
}

.history-quote {
  background: var(--cream2);
  border-left: 4px solid var(--gold);
  padding: 28px 36px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--brown);
  margin: 40px 0;
}

/* ── Booking Calendar ── */
.booking-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
}

.calendar-wrap {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.calendar-header {
  background: var(--brown);
  color: var(--white);
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.calendar-header h3 {
  font-size: 1.1rem;
  color: var(--white);
  text-transform: capitalize;
}

.cal-nav {
  background: rgba(255,255,255,.15);
  border: none;
  color: var(--white);
  width: 36px; height: 36px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.cal-nav:hover { background: rgba(255,255,255,.3); }

.calendar-grid {
  padding: 20px 28px 28px;
}

.cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 8px;
}

.cal-weekday {
  text-align: center;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-light);
  padding: 8px 0;
}

.cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: .9rem;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  user-select: none;
}

.cal-day:not(.empty):not(.blocked):hover {
  background: var(--sage);
  color: var(--green);
}

.cal-day.empty { cursor: default; }

.cal-day.past {
  color: #ccc;
  cursor: not-allowed;
}

.cal-day.blocked {
  background: #fdf0f0;
  color: #d9a0a0;
  cursor: not-allowed;
  text-decoration: line-through;
}

.cal-day.today {
  font-weight: 700;
  color: var(--green);
}

.cal-day.today::after {
  content: '';
  position: absolute;
  bottom: 4px;
  width: 4px; height: 4px;
  background: var(--green);
  border-radius: 50%;
}

.cal-day.check-in {
  background: var(--green);
  color: var(--white);
  font-weight: 700;
  border-radius: 8px 0 0 8px;
}

.cal-day.check-out {
  background: var(--green);
  color: var(--white);
  font-weight: 700;
  border-radius: 0 8px 8px 0;
}

.cal-day.in-range {
  background: var(--sage);
  color: var(--green);
  border-radius: 0;
}

.cal-day.check-in.check-out {
  border-radius: 8px;
}

.cal-legend {
  display: flex;
  gap: 20px;
  padding: 16px 28px;
  border-top: 1px solid var(--cream2);
  font-size: .78rem;
  color: var(--text-light);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.legend-dot {
  width: 12px; height: 12px;
  border-radius: 3px;
}

.legend-dot.available { background: var(--sage); }
.legend-dot.booked    { background: #fdf0f0; border: 1px solid #d9a0a0; }
.legend-dot.selected  { background: var(--green); }

/* Booking Form Card */
.booking-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: sticky;
  top: 100px;
}

.booking-card-header {
  background: var(--green);
  padding: 24px 28px;
  color: var(--white);
}

.booking-card-header h3 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.booking-card-header p { font-size: .85rem; color: rgba(255,255,255,.75); }

.price-display {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 8px;
}

.price-amount {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-light);
}

.price-unit { font-size: .85rem; color: rgba(255,255,255,.7); }

.booking-form { padding: 28px; }

.form-group { margin-bottom: 18px; }

.form-label {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 6px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--cream2);
  border-radius: 8px;
  font-family: 'Lato', sans-serif;
  font-size: .95rem;
  color: var(--text);
  background: var(--cream);
  transition: var(--transition);
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--green);
  background: var(--white);
}

.form-textarea { resize: vertical; min-height: 90px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* Phone field — country dial + number */
.phone-wrap {
  display: flex;
  border: 2px solid var(--cream2);
  border-radius: 8px;
  overflow: hidden;
  background: var(--cream);
  transition: border-color .2s, background .2s;
}
.phone-wrap:focus-within {
  border-color: var(--green);
  background: var(--white);
}
.phone-dial {
  flex-shrink: 0;
  border: none;
  border-right: 2px solid var(--cream2);
  background: transparent;
  padding: 12px 6px 12px 10px;
  font-family: 'Lato', sans-serif;
  font-size: .88rem;
  font-weight: 700;
  color: var(--brown);
  outline: none;
  cursor: pointer;
  min-width: 82px;
  appearance: none;
  -webkit-appearance: none;
}
.phone-num {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  padding: 12px 12px;
  font-family: 'Lato', sans-serif;
  font-size: .95rem;
  color: var(--text);
  outline: none;
}

.date-display {
  display: flex;
  gap: 8px;
}

.date-box {
  flex: 1;
  background: var(--cream);
  border: 2px solid var(--cream2);
  border-radius: 8px;
  padding: 10px 14px;
  transition: var(--transition);
}

.date-box.filled {
  border-color: var(--green);
  background: #f0f7f3;
}

.date-box-label {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-light);
  font-weight: 700;
}

.date-box-value {
  font-size: .92rem;
  font-weight: 700;
  color: var(--brown);
  margin-top: 2px;
}

.booking-summary {
  background: var(--cream);
  border-radius: 8px;
  padding: 16px;
  margin: 16px 0;
  font-size: .9rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 5px 0;
  color: var(--text-light);
  font-size: .9rem;
}
.summary-row > span:first-child { flex-shrink: 0; }
.summary-row > span:last-child  { text-align: right; word-break: break-word; }

.summary-row.total {
  border-top: 1px solid var(--cream2);
  margin-top: 8px;
  padding-top: 8px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--brown);
}

.booking-status {
  text-align: center;
  padding: 16px;
  border-radius: 8px;
  margin: 16px 0;
  font-size: .9rem;
  display: none;
}

.booking-status.success {
  background: #f0f7f3;
  color: var(--green);
  display: block;
}

.booking-status.error {
  background: #fdf0f0;
  color: #c0392b;
  display: block;
}

.booking-hint {
  font-size: .8rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 12px;
}

/* ── Pricing Info ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 40px 0;
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}

.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pricing-card.featured { border: 2px solid var(--green); }

.pricing-season {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-light);
  margin-bottom: 8px;
}

.pricing-price {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: var(--brown);
  font-weight: 700;
  margin-bottom: 4px;
}

.pricing-price span { font-size: 1rem; color: var(--text-light); }

.pricing-dates {
  font-size: .85rem;
  color: var(--text-light);
  margin: 8px 0 16px;
}

.pricing-features li {
  font-size: .85rem;
  color: var(--text-light);
  padding: 4px 0;
  border-bottom: 1px dashed var(--cream2);
}

.pricing-features li:last-child { border: none; }

/* ── Footer ── */
.footer {
  background: var(--brown);
  color: rgba(255,255,255,.75);
  padding: 56px 0 0;
}

.footer-simple {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
  padding-bottom: 48px;
}

.footer-simple .footer-logo { height: 80px; width: auto; }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 32px;
}

.footer-nav a {
  color: rgba(255,255,255,.75);
  font-size: .95rem;
  transition: color .2s ease;
}

.footer-nav a:hover { color: var(--gold-light); }

.footer-cta {
  font-size: 1rem;
  padding: 14px 36px;
}

.footer-phone {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold-light);
}

.footer-phone:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
  text-align: center;
  font-size: .8rem;
  color: rgba(255,255,255,.4);
}

/* ── Lightbox ── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.lightbox.open { display: flex; }

.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 8px;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 24px; right: 28px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
  opacity: .7;
  transition: var(--transition);
}

.lightbox-close:hover { opacity: 1; }

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.1);
  border: none;
  color: var(--white);
  width: 52px; height: 52px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,.25); }

/* ── Animations ── */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* ── Floating Phone Button ── */
.fab-phone {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.fab-btn {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
}

.fab-btn:hover { transform: scale(1.1); }

.fab-call   { background: var(--green); color: var(--white); }
.fab-top    { background: var(--brown); color: var(--white); font-size: 1rem; opacity: 0; pointer-events: none; transition: opacity .3s; }
.fab-top.visible { opacity: 1; pointer-events: all; }

/* Mobile sticky CTA bar — luxury */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 12px; left: 12px; right: 12px;
  z-index: 890;
  background: rgba(22, 40, 28, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(201, 168, 76, 0.18);
  border-radius: 20px;
  padding: 10px 10px;
  box-sizing: border-box;
  gap: 8px;
  align-items: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.28);
}

/* WhatsApp — icon-only secondary pill */
.mobile-bar-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 48px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(201, 168, 76, 0.22);
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, transform .18s ease, opacity .18s ease;
}
.mobile-bar-wa:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(201, 168, 76, 0.45);
}
.mobile-bar-wa:active {
  transform: scale(0.91);
  opacity: 0.65;
  transition: transform .08s ease, opacity .08s ease;
}

/* Réserver — primary gold CTA */
.mobile-bar-book {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  border-radius: 10px;
  background: #c9a84c;
  color: #1a3325;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .2s ease, transform .18s ease, opacity .18s ease;
}
.mobile-bar-book:hover {
  background: #d4b45a;
  transform: scale(1.02);
}
.mobile-bar-book:active {
  transform: scale(0.96);
  opacity: 0.82;
  transition: transform .08s ease, opacity .08s ease;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); }
  .about-grid    { grid-template-columns: 1fr; gap: 40px; }
  .about-images  { order: -1; }
  .about-img-secondary { display: none; }
  .map-container { grid-template-columns: 1fr; gap: 32px; }
  .booking-layout { grid-template-columns: 1fr; }
  .booking-card  { position: static; }
  .activity-card { grid-template-columns: 1fr; }
  .activity-img  { height: 220px; width: 100%; }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .navbar-links, .navbar-cta { display: none; }
  .nav-toggle { display: flex; }
  .fab-phone  { display: none; }
  .mobile-cta-bar { display: flex; }
  /* Extra bottom padding so footer isn't hidden behind floating bar */
  .footer { padding-bottom: 88px; }
  .hero-scroll { bottom: 58px; }
  .hero-content { max-width: 310px; }
  .hero-subtitle { line-height: 1.65; }
  .features-grid { grid-template-columns: repeat(3, 1fr); gap: 0; }
  .feature-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); }
  .gallery-grid  { grid-template-columns: 1fr 1fr; }
  .gallery-item.large img { min-height: 240px; }
  .pricing-grid  { grid-template-columns: 1fr 1fr; max-width: 100%; }
  .footer-grid   { grid-template-columns: 1fr; gap: 32px; }
  .form-row      { grid-template-columns: 1fr; }
  .about-stats   { flex-wrap: wrap; gap: 20px; }
  .map-embed     { height: 260px; }
  .map-container { gap: 24px; }
  .hero-bg       { background-position: center top; }
  .page-hero-bg  { background-size: 280%; background-position: 65% 15%; }
  .cta-banner-bg--histoire { background-size: 220%; background-position: 55% 40%; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .hero-title   { font-size: 2.4rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .booking-form { padding: 20px; }
}

/* ── Hero phone link ── */
.hero-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: rgba(255,255,255,.85);
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: .03em;
  transition: color .2s;
}
.hero-phone:hover { color: var(--gold); }

/* ── Testimonials ── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 900px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,.06);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.testimonial-stars {
  color: #f5a623;
  font-size: 1rem;
  letter-spacing: 2px;
}
.testimonial-text {
  font-size: .95rem;
  color: var(--text);
  line-height: 1.75;
  font-style: italic;
  flex: 1;
  margin: 0;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.testimonial-author strong {
  display: block;
  font-size: .9rem;
  color: var(--brown);
}
.testimonial-author span {
  font-size: .78rem;
  color: var(--text-light);
}
.testimonial-platform {
  font-size: .75rem;
  color: var(--text-light);
  margin-top: 2px;
}

/* ── History photo grid ── */
.history-photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 32px 0;
}
.history-photo-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.history-photo-item--wide {
  grid-column: span 2;
}
.history-photo-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.history-photo-item--wide img {
  height: 320px;
}
.history-photo-item:hover img {
  transform: scale(1.03);
}
.history-photo-item span {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,.65), transparent);
  color: rgba(255,255,255,.9);
  font-size: .8rem;
  letter-spacing: .06em;
  padding: 20px 14px 10px;
  font-style: italic;
}
@media (max-width: 600px) {
  .history-photo-grid { grid-template-columns: 1fr; }
  .history-photo-item--wide { grid-column: span 1; }
  .history-photo-item img, .history-photo-item--wide img { height: 220px; }
}

/* ── Language Switcher ─────────────────────────────────────────────────────── */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-right: 8px;
}
.lang-btn {
  background: none;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 4px;
  color: var(--white);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
  padding: 4px 7px;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
  line-height: 1;
}
.navbar.scrolled .lang-btn {
  border-color: rgba(74,50,28,.3);
  color: var(--brown);
}
.lang-btn:hover,
.lang-btn.active {
  background: var(--green);
  border-color: var(--green);
  color: var(--white) !important;
}
@media (max-width: 768px) {
  .lang-switcher { display: none; }
  a[aria-label="Contacter sur WhatsApp"] { display: none !important; }
}
