/* ========================================================
   Restaurant Al-Mrabti - Boumalne Dades
   Moroccan Modern Design System
   ======================================================== */

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

/* ── CSS CUSTOM PROPERTIES ──────────────────────────────── */
:root {
  /* Palette marocaine */
  --clr-sand:       #f5ede0;
  --clr-sand-dark:  #e8d9c4;
  --clr-terra:      #c4673a;
  --clr-terra-dark: #a04d28;
  --clr-terra-light:#e0875a;
  --clr-olive:      #6b7c4e;
  --clr-olive-light:#8a9d6a;
  --clr-olive-dark: #4e5c38;
  --clr-brown:      #3d2b1f;
  --clr-brown-mid:  #6b4c3a;
  --clr-cream:      #fdf8f2;
  --clr-gold:       #c9a84c;
  --clr-gold-light: #e2c06e;

  /* Typographie */
  --ff-heading: 'Playfair Display', Georgia, serif;
  --ff-body:    'Inter', system-ui, sans-serif;
  --ff-arabic:  'Amiri', serif;

  /* Espacement */
  --section-py: clamp(4rem, 8vw, 7rem);
  --container:  min(1180px, 93vw);

  /* Ombres */
  --shadow-sm:  0 2px 12px rgba(61,43,31,.08);
  --shadow-md:  0 6px 30px rgba(61,43,31,.14);
  --shadow-lg:  0 16px 60px rgba(61,43,31,.20);

  /* Transitions */
  --tr-smooth:  all .35s cubic-bezier(.4,0,.2,1);
  --tr-fast:    all .2s ease;

  /* Rayons */
  --rad-sm: 6px;
  --rad-md: 14px;
  --rad-lg: 28px;
  --rad-xl: 50px;
}

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

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

body {
  font-family: var(--ff-body);
  background: var(--clr-cream);
  color: var(--clr-brown);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--ff-body); }

/* ── UTILITY CLASSES ────────────────────────────────────── */
.container { width: var(--container); margin-inline: auto; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--clr-terra);
  margin-bottom: .75rem;
}
.section-label::before, .section-label::after {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--clr-terra);
}

.section-title {
  font-family: var(--ff-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--clr-brown);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--clr-brown-mid);
  max-width: 580px;
  margin-bottom: 2.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .85rem 2rem;
  border-radius: var(--rad-xl);
  font-size: .95rem;
  font-weight: 600;
  border: 2px solid transparent;
  transition: var(--tr-smooth);
}

.btn-primary {
  background: var(--clr-terra);
  color: #fff;
  border-color: var(--clr-terra);
}
.btn-primary:hover {
  background: var(--clr-terra-dark);
  border-color: var(--clr-terra-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196,103,58,.35);
}

.btn-outline {
  background: transparent;
  color: var(--clr-terra);
  border-color: var(--clr-terra);
}
.btn-outline:hover {
  background: var(--clr-terra);
  color: #fff;
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(135deg, var(--clr-gold) 0%, #a07830 100%);
  color: #fff;
  border-color: transparent;
}
.btn-gold:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,168,76,.4);
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
  border-color: #25d366;
}
.btn-whatsapp:hover {
  background: #1da851;
  border-color: #1da851;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,.35);
}

/* ── SCROLL REVEAL ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity .7s ease, transform .7s ease; }
.reveal-left.visible  { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity .7s ease, transform .7s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ── TOP ANNOUNCEMENT BAR ───────────────────────────────── */
.topbar {
  background: var(--clr-brown);
  color: var(--clr-sand);
  text-align: center;
  padding: .55rem 1rem;
  font-size: .82rem;
  letter-spacing: .04em;
}
.topbar a { color: var(--clr-gold-light); transition: var(--tr-fast); }
.topbar a:hover { color: #fff; }

/* ── NAVBAR ─────────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(253,248,242,.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(196,103,58,.12);
  transition: box-shadow .3s ease;
}
.navbar.scrolled { box-shadow: var(--shadow-md); }

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: .8rem;
  flex-shrink: 0;
}
.logo-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--clr-terra), var(--clr-gold));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}
.logo-text { line-height: 1.15; }
.logo-name {
  font-family: var(--ff-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--clr-brown);
}
.logo-sub {
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--clr-terra);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.nav-links a {
  padding: .5rem .85rem;
  border-radius: var(--rad-sm);
  font-size: .9rem;
  font-weight: 500;
  color: var(--clr-brown-mid);
  transition: var(--tr-fast);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 50%;
  width: 0; height: 2px;
  background: var(--clr-terra);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width .25s ease;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--clr-terra);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 60%; }

.nav-cta {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: .4rem;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--clr-brown);
  border-radius: 2px;
  transition: var(--tr-fast);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ── MOBILE NAV ─────────────────────────────────────────── */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--clr-cream);
  padding: 1rem;
  border-top: 1px solid var(--clr-sand-dark);
  gap: .25rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: .75rem 1rem;
  border-radius: var(--rad-sm);
  font-weight: 500;
  color: var(--clr-brown-mid);
  transition: var(--tr-fast);
}
.mobile-nav a:hover { background: var(--clr-sand); color: var(--clr-terra); }
.mobile-nav .m-cta { margin-top: .5rem; }

/* ── HERO ───────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 30%;
  transform: scale(1.06);
  animation: heroZoom 16s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1.06); }
  to   { transform: scale(1.12); }
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(61,43,31,.78) 0%,
    rgba(107,124,78,.35) 60%,
    rgba(196,103,58,.25) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  color: #fff;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--rad-xl);
  padding: .4rem 1.1rem;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--clr-gold-light);
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-family: var(--ff-heading);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.hero h1 em { color: var(--clr-gold-light); font-style: italic; }
.hero p {
  font-size: 1.1rem;
  opacity: .9;
  margin-bottom: 2.25rem;
  max-width: 520px;
  line-height: 1.7;
}
.hero-buttons { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-scroll {
  position: absolute; bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: .4rem;
  color: rgba(255,255,255,.7);
  font-size: .75rem; letter-spacing: .1em;
  text-transform: uppercase;
  animation: bounce 2s ease-in-out infinite;
}
.hero-scroll span { 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)} }

/* ── STATS BAR ──────────────────────────────────────────── */
.stats-bar {
  background: var(--clr-brown);
  padding: 1.75rem 0;
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}
.stat-item { color: #fff; }
.stat-number {
  font-family: var(--ff-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--clr-gold-light);
  line-height: 1;
}
.stat-label { font-size: .8rem; opacity: .7; margin-top: .35rem; letter-spacing: .05em; }

/* ── SECTION SPACING ────────────────────────────────────── */
section { padding: var(--section-py) 0; }

/* ── ABOUT SECTION ──────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-images {
  position: relative;
  height: 520px;
}
.about-img-main {
  position: absolute;
  top: 0; left: 0;
  width: 75%;
  height: 85%;
  object-fit: cover;
  border-radius: var(--rad-lg);
  box-shadow: var(--shadow-lg);
}
.about-img-accent {
  position: absolute;
  bottom: 0; right: 0;
  width: 55%;
  height: 55%;
  object-fit: cover;
  border-radius: var(--rad-md);
  box-shadow: var(--shadow-md);
  border: 4px solid var(--clr-cream);
}
.about-badge {
  position: absolute;
  top: 50%; left: 65%;
  transform: translate(-50%,-50%);
  background: var(--clr-terra);
  color: #fff;
  border-radius: 50%;
  width: 110px; height: 110px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  box-shadow: var(--shadow-md);
  z-index: 3;
  font-size: .7rem; line-height: 1.4; font-weight: 600;
}
.about-badge strong { font-size: 1.7rem; font-family: var(--ff-heading); display: block; }

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}
.feature-card {
  background: var(--clr-sand);
  border-radius: var(--rad-md);
  padding: 1.25rem;
  border-left: 3px solid var(--clr-terra);
  transition: var(--tr-smooth);
}
.feature-card:hover {
  background: white;
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.feature-icon { font-size: 1.6rem; margin-bottom: .5rem; }
.feature-title { font-weight: 700; font-size: .9rem; color: var(--clr-brown); margin-bottom: .2rem; }
.feature-text  { font-size: .82rem; color: var(--clr-brown-mid); line-height: 1.5; }

/* ── MENU PAGE ──────────────────────────────────────────── */
.menu-hero {
  background: linear-gradient(135deg, var(--clr-brown) 0%, var(--clr-brown-mid) 100%);
  padding: 6rem 0 4rem;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.menu-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url('tajine.png') center/cover no-repeat;
  opacity: .15;
}
.menu-hero h1 { font-family: var(--ff-heading); font-size: clamp(2.2rem,5vw,3.5rem); position: relative; }
.menu-hero p  { color: rgba(255,255,255,.75); max-width: 500px; margin: 1rem auto 0; position: relative; }

.menu-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  justify-content: center;
  margin-bottom: 3rem;
}
.menu-tab {
  padding: .65rem 1.6rem;
  border-radius: var(--rad-xl);
  background: var(--clr-sand);
  border: 2px solid transparent;
  font-weight: 600; font-size: .9rem;
  color: var(--clr-brown-mid);
  transition: var(--tr-fast);
}
.menu-tab:hover, .menu-tab.active {
  background: var(--clr-terra);
  color: #fff;
  border-color: var(--clr-terra);
}
.menu-tab .icon { margin-right: .3rem; }

.menu-section { display: none; }
.menu-section.active { display: block; }

.menu-section-title {
  font-family: var(--ff-heading);
  font-size: 1.8rem;
  color: var(--clr-brown);
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}
.menu-section-title::after {
  content: '';
  display: block;
  width: 60px; height: 3px;
  background: linear-gradient(to right, var(--clr-terra), var(--clr-gold));
  border-radius: 2px;
  margin: .7rem auto 0;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.menu-card {
  background: white;
  border-radius: var(--rad-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--clr-sand-dark);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: var(--tr-smooth);
}
.menu-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: rgba(196,103,58,.25);
}
.menu-card-icon {
  width: 52px; height: 52px;
  background: var(--clr-sand);
  border-radius: var(--rad-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.menu-card-body { flex: 1; }
.menu-card-name {
  font-weight: 700; font-size: 1rem;
  color: var(--clr-brown); margin-bottom: .25rem;
}
.menu-card-desc {
  font-size: .82rem; color: var(--clr-brown-mid);
  line-height: 1.5; margin-bottom: .5rem;
}
.menu-card-price {
  font-family: var(--ff-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--clr-terra);
}
.menu-tag-special {
  display: inline-block;
  background: linear-gradient(135deg, var(--clr-gold), #8a6428);
  color: #fff;
  font-size: .68rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  padding: .15rem .55rem; border-radius: 20px; margin-bottom: .35rem;
}

/* ── ACTIVITY SECTION ───────────────────────────────────── */
.activity-hero {
  position: relative;
  min-height: 520px;
  display: flex; align-items: center;
  overflow: hidden;
}
.activity-hero-bg {
  position: absolute; inset: 0;
  background-image: url('vue-montagne2.jpg');
  background-size: cover; background-position: center;
}
.activity-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(61,43,31,.85) 40%, rgba(61,43,31,.3) 100%);
}
.activity-hero-content {
  position: relative; z-index: 2;
  color: #fff; max-width: 600px;
}
.activity-hero-content h1 {
  font-family: var(--ff-heading);
  font-size: clamp(2rem,5vw,3.2rem);
  margin-bottom: 1rem;
}

.activity-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.act-feature {
  text-align: center;
  padding: 2rem 1.5rem;
  background: white;
  border-radius: var(--rad-md);
  box-shadow: var(--shadow-sm);
  transition: var(--tr-smooth);
}
.act-feature:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.act-icon {
  font-size: 2.5rem; margin-bottom: 1rem;
  display: block;
}
.act-title { font-weight: 700; font-size: 1.05rem; margin-bottom: .5rem; color: var(--clr-brown); }
.act-text  { font-size: .87rem; color: var(--clr-brown-mid); }

/* ── GALLERY ─────────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery-item {
  position: relative; overflow: hidden; border-radius: var(--rad-md);
  aspect-ratio: 4/3;
  cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(61,43,31,.7) 0%, transparent 60%);
  opacity: 0;
  transition: var(--tr-smooth);
  display: flex; align-items: flex-end; padding: 1.25rem;
  color: #fff; font-weight: 600;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item.large { grid-column: span 2; }

/* ── TESTIMONIALS ───────────────────────────────────────── */
.testimonials { background: var(--clr-sand); }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testi-card {
  background: white;
  border-radius: var(--rad-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: var(--tr-smooth);
}
.testi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.testi-stars { color: var(--clr-gold); font-size: 1.1rem; margin-bottom: .8rem; }
.testi-text {
  font-style: italic; font-size: .95rem;
  color: var(--clr-brown-mid); line-height: 1.7;
  margin-bottom: 1.25rem;
}
.testi-author { display: flex; align-items: center; gap: .75rem; }
.testi-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--clr-terra), var(--clr-gold));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 1rem;
  flex-shrink: 0;
}
.testi-name  { font-weight: 700; font-size: .9rem; color: var(--clr-brown); }
.testi-from  { font-size: .78rem; color: var(--clr-brown-mid); }

/* ── CONTACT ────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
  align-items: start;
}
.contact-info-card {
  background: var(--clr-brown);
  color: #fff;
  border-radius: var(--rad-lg);
  padding: 2.5rem;
}
.contact-info-card h2 {
  font-family: var(--ff-heading);
  font-size: 1.8rem;
  margin-bottom: .75rem;
  color: var(--clr-gold-light);
}
.contact-info-card p {
  opacity: .75; margin-bottom: 2rem; font-size: .95rem;
}
.contact-item {
  display: flex; align-items: flex-start; gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-icon-wrap {
  width: 44px; height: 44px; border-radius: var(--rad-sm);
  background: rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.contact-item-label { font-size: .75rem; opacity: .6; margin-bottom: .15rem; text-transform: uppercase; letter-spacing: .1em; }
.contact-item-value { font-size: .95rem; font-weight: 500; }
.contact-item-value a { color: var(--clr-gold-light); transition: var(--tr-fast); }
.contact-item-value a:hover { color: #fff; }

.contact-form-wrap {
  background: white;
  border-radius: var(--rad-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}
.contact-form-wrap h2 {
  font-family: var(--ff-heading);
  font-size: 1.7rem;
  color: var(--clr-brown);
  margin-bottom: 1.75rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block; font-size: .87rem; font-weight: 600;
  color: var(--clr-brown); margin-bottom: .45rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .85rem 1.1rem;
  border: 1.5px solid var(--clr-sand-dark);
  border-radius: var(--rad-sm);
  font-family: var(--ff-body);
  font-size: .9rem;
  color: var(--clr-brown);
  background: var(--clr-cream);
  transition: var(--tr-fast);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--clr-terra);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(196,103,58,.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-success {
  display: none;
  background: #d4edda; color: #155724; border: 1px solid #c3e6cb;
  padding: 1rem; border-radius: var(--rad-sm); margin-top: 1rem;
  font-size: .92rem;
}
.form-success.show { display: block; }

/* ── MAP ────────────────────────────────────────────────── */
.map-section { padding-bottom: 0; }
.map-wrap {
  border-radius: var(--rad-lg) var(--rad-lg) 0 0;
  overflow: hidden;
  height: 400px;
  box-shadow: var(--shadow-md);
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ── FOOTER ─────────────────────────────────────────────── */
.footer {
  background: var(--clr-brown);
  color: #fff;
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .logo-name { color: #fff; font-size: 1.35rem; }
.footer-brand .logo-sub  { color: var(--clr-gold-light); }
.footer-desc { font-size: .88rem; opacity: .65; margin-top: 1rem; line-height: 1.7; margin-bottom: 1.5rem; }
.social-links { display: flex; gap: .75rem; }
.social-link {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  transition: var(--tr-fast);
  text-decoration: none; color: #fff;
}
.social-link:hover { background: var(--clr-terra); transform: translateY(-3px); }

.footer-col h4 {
  font-size: .85rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--clr-gold-light); margin-bottom: 1.25rem;
}
.footer-links { display: flex; flex-direction: column; gap: .6rem; }
.footer-links a {
  font-size: .88rem; opacity: .65;
  transition: var(--tr-fast);
}
.footer-links a:hover { opacity: 1; color: var(--clr-gold-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.75rem;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
  font-size: .82rem; opacity: .55;
}

/* ── WHATSAPP FLOAT ─────────────────────────────────────── */
.whatsapp-float {
  position: fixed; bottom: 2rem; right: 2rem;
  z-index: 9000;
  display: flex; flex-direction: column; align-items: flex-end; gap: .75rem;
}
.whatsapp-btn {
  width: 60px; height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 28px rgba(37,211,102,.45);
  color: #fff; font-size: 1.7rem;
  transition: var(--tr-smooth);
  text-decoration: none;
  animation: waPulse 2.5s ease infinite;
}
.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 36px rgba(37,211,102,.6);
}
@keyframes waPulse {
  0%,100% { box-shadow: 0 6px 28px rgba(37,211,102,.45); }
  50%  { box-shadow: 0 6px 36px rgba(37,211,102,.7), 0 0 0 8px rgba(37,211,102,.12); }
}
.whatsapp-tooltip {
  background: var(--clr-brown);
  color: #fff;
  padding: .55rem 1rem;
  border-radius: var(--rad-sm);
  font-size: .82rem; font-weight: 500;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  opacity: 0; pointer-events: none;
  transform: translateX(10px);
  transition: var(--tr-fast);
}
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; transform: translateX(0); }

/* ── PAGE HEADER (inner pages) ──────────────────────────── */
.page-header {
  background: linear-gradient(135deg, var(--clr-brown) 0%, var(--clr-brown-mid) 100%);
  padding: 6rem 0 3.5rem;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background: url('hero.png') center/cover;
  opacity: .08;
}
.page-header .container { position: relative; }
.page-header h1 {
  font-family: var(--ff-heading);
  font-size: clamp(2rem,5vw,3rem);
  margin-bottom: .75rem;
}
.page-header p { opacity: .75; max-width: 540px; margin-inline: auto; }
.breadcrumb {
  display: flex; justify-content: center; gap: .5rem;
  font-size: .83rem; opacity: .6; margin-top: 1rem;
}
.breadcrumb a { opacity: .8; transition: var(--tr-fast); }
.breadcrumb a:hover { opacity: 1; color: var(--clr-gold-light); }
.breadcrumb span { opacity: .5; }

/* ── ORNAMENT DIVIDER ───────────────────────────────────── */
.ornament {
  text-align: center;
  color: var(--clr-terra);
  font-size: 1.5rem;
  opacity: .4;
  margin: 1.5rem 0;
  letter-spacing: .5rem;
}

/* ── TERRASSE PANORAMIQUE SLIDER ─────────────────────────── */
.terrasse-section {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.terrasse-slider {
  position: absolute; inset: 0;
}
.terrasse-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.terrasse-slide.active { opacity: 1; }
.terrasse-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(61,43,31,.82) 0%,
    rgba(61,43,31,.5) 60%,
    rgba(107,124,78,.3) 100%
  );
  z-index: 1;
}
.terrasse-content {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: center;
  padding: 5rem 0;
}
.terrasse-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--rad-xl);
  padding: .4rem 1.2rem;
  font-size: .8rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--clr-gold-light);
  margin-bottom: 1.5rem;
}
.terrasse-title {
  font-family: var(--ff-heading);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.terrasse-sub {
  font-size: 1.05rem;
  opacity: .88;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.terrasse-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.terrasse-feat {
  display: flex; align-items: center; gap: .6rem;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.2);
  padding: .6rem 1.2rem;
  border-radius: var(--rad-xl);
  font-size: .88rem; font-weight: 500;
  transition: var(--tr-fast);
}
.terrasse-feat:hover { background: rgba(255,255,255,.22); }
.terrasse-feat-icon { font-size: 1.1rem; }
.terrasse-dots {
  display: flex; gap: .5rem;
  justify-content: center;
  margin-bottom: 2rem;
}
.t-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  border: none;
  cursor: pointer;
  transition: var(--tr-fast);
}
.t-dot.active { background: var(--clr-gold-light); transform: scale(1.3); }

/* ── PAGE HEADER IMAGE ───────────────────────────────────── */
.page-header::before {
  background-image: url('facade.jpg');
}

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .about-grid       { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-images     { height: 380px; }
  .contact-grid     { grid-template-columns: 1fr; }
  .footer-grid      { grid-template-columns: 1fr 1fr; }
  .stats-inner      { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid     { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.large { grid-column: span 1; }
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .activity-features{ grid-template-columns: repeat(2, 1fr); }
  .activity-preview-grid { grid-template-columns: 1fr !important; }
  .terrasse-section { min-height: 500px; }
}

/* ─── MOBILE (≤768px) ──────────────────────────────────── */
@media (max-width: 768px) {
  /* Navbar */
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .navbar-inner { height: 64px; }
  .logo-name { font-size: 1rem; }
  .logo-sub  { font-size: .62rem; }
  .logo-icon { width: 36px; height: 36px; font-size: 1.1rem; }

  /* Topbar wrapping */
  .topbar { font-size: .74rem; padding: .4rem .75rem; }

  /* Hero */
  .hero { height: 100svh; min-height: 500px; }
  .hero h1 { font-size: clamp(1.7rem, 7vw, 2.5rem); }
  .hero p  { font-size: .95rem; }
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .hero-buttons .btn { text-align: center; justify-content: center; }
  .hero-scroll { display: none; }

  /* Stats */
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .stat-number { font-size: 1.6rem; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-images { height: 320px; margin-bottom: 1rem; }
  .about-img-main { width: 78%; height: 82%; }
  .about-img-accent { width: 52%; height: 52%; }
  .about-badge { width: 88px; height: 88px; font-size: .65rem; }
  .about-badge strong { font-size: 1.3rem; }
  .about-features { grid-template-columns: 1fr 1fr; }

  /* Terrasse */
  .terrasse-section { min-height: 560px; }
  .terrasse-title { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .terrasse-sub { font-size: .92rem; }
  .terrasse-features { gap: .75rem; }
  .terrasse-feat { font-size: .8rem; padding: .5rem .9rem; }

  /* Grids */
  .footer-grid      { grid-template-columns: 1fr; gap: 2rem; }
  .gallery-grid     { grid-template-columns: 1fr; }
  .gallery-item.large { grid-column: span 1; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .menu-grid        { grid-template-columns: 1fr; }
  .activity-features{ grid-template-columns: 1fr; }
  .about-features   { grid-template-columns: 1fr 1fr; }
  .form-row         { grid-template-columns: 1fr; }
  .activity-preview-grid { grid-template-columns: 1fr !important; }
  .values-grid      { grid-template-columns: 1fr !important; }
  .region-grid      { grid-template-columns: 1fr !important; }
  .quick-info-grid  { grid-template-columns: repeat(2,1fr) !important; }
  .details-grid     { grid-template-columns: 1fr !important; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info-card { padding: 1.75rem; }
  .contact-form-wrap { padding: 1.75rem; }
  .map-wrap { height: 280px; }

  /* Footer */
  .footer-bottom { justify-content: center; text-align: center; flex-direction: column; gap: .5rem; }
  .footer-grid { grid-template-columns: 1fr; }

  /* Misc */
  .menu-tab { padding: .55rem 1rem; font-size: .82rem; }
  .section-title { font-size: clamp(1.5rem, 6vw, 2.2rem); }
  .page-header { padding: 4.5rem 0 2.5rem; }
  .page-header h1 { font-size: clamp(1.6rem, 6vw, 2.5rem); }
}

/* ─── SMALL MOBILE (≤480px) ────────────────────────────── */
@media (max-width: 480px) {
  .btn { padding: .78rem 1.4rem; font-size: .86rem; }
  .whatsapp-btn { width: 52px; height: 52px; font-size: 1.4rem; }
  .whatsapp-float { bottom: 1.2rem; right: 1.2rem; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
  .stat-number { font-size: 1.4rem; }
  .stat-label  { font-size: .72rem; }
  .about-features { grid-template-columns: 1fr; }
  .terrasse-features { flex-direction: column; align-items: center; }
  .topbar { display: none; }
  .feature-card { padding: 1rem; }
  .menu-card { flex-direction: column; gap: .75rem; }
  .menu-card-icon { width: 44px; height: 44px; font-size: 1.3rem; }
  .gallery-grid { grid-template-columns: 1fr; }
  .contact-info-card { padding: 1.5rem; }
  .contact-form-wrap { padding: 1.5rem; }
}
