/* ══════════════════════════════════════════════════════
   LYRON HOSTEL — Feuille de style partagée v2
   Guéliz · Marrakech — 2026
══════════════════════════════════════════════════════ */

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

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Jost', system-ui, sans-serif;
  background: #FAF6F0;
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ── VARIABLES ── */
:root {
  --olive:        #4A5E3E;
  --olive-mid:    #5A7050;
  --olive-light:  #7A9068;
  --olive-pale:   #E8EDE5;
  --gold:         #B8922A;
  --gold-warm:    #D4AA45;
  --gold-pale:    #F5EDD0;
  --terra:        #C47447;
  --terra-dark:   #A85D2A;
  --terra-pale:   #F5E8DE;
  --cream:        #FAF6F0;
  --beige:        #EDE5D8;
  --sand:         #D8CCB8;
  --sand-deep:    #C4B49A;
  --dark:         #1A1714;
  --dark-mid:     #2C2820;
  --dark-soft:    #3D342E;
  --text:         #3D3530;
  --text-light:   #7A706A;
  --white:        #FFFFFF;
  --majorelle:    #4B69C8;
  --border-light: rgba(184,146,42,.15);
  --border-dark:  rgba(255,255,255,.07);
  --radius:       3px;
  --radius-md:    6px;
  --shadow-sm:    0 2px 12px rgba(26,23,20,.08);
  --shadow-md:    0 8px 32px rgba(26,23,20,.14);
  --shadow-lg:    0 16px 56px rgba(26,23,20,.20);
  --transition:   .32s cubic-bezier(.4,0,.2,1);
}

/* ── TYPOGRAPHIE ── */
h1, h2, h3, h4, .serif {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  font-kerning: normal;
}
h1 {
  font-size: clamp(2.8rem, 6.5vw, 5.8rem);
  line-height: 1.02;
  letter-spacing: -.015em;
}
h2 {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -.01em;
}
h3 { font-size: clamp(1.3rem, 2.6vw, 1.9rem); line-height: 1.22; }
h4 { font-size: 1.15rem; line-height: 1.35; }
p  { font-size: .96rem; line-height: 1.82; color: var(--text-light); }

.eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: .67rem;
  font-weight: 600;
  letter-spacing: .46em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Gold rule variants */
.gold-rule {
  display: block;
  width: 44px;
  height: 1.5px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 1.1rem auto 1.8rem;
}
.gold-rule.left   { margin-left: 0; }
.gold-rule.right  { margin-right: 0; background: linear-gradient(270deg, var(--gold), transparent); }

/* ── BOUTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .9rem 2.2rem;
  font-family: 'Jost', sans-serif;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.0);
  transition: background .25s;
}
.btn:hover::after { background: rgba(255,255,255,.08); }

.btn-terra   { background: var(--terra);  color: #fff; box-shadow: 0 4px 18px rgba(196,116,71,.28); }
.btn-terra:hover { background: var(--terra-dark); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(196,116,71,.38); }

.btn-olive   { background: var(--olive);  color: #fff; box-shadow: 0 4px 18px rgba(74,94,62,.22); }
.btn-olive:hover { background: var(--olive-mid); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(74,94,62,.32); }

.btn-gold    { background: var(--gold);   color: #fff; box-shadow: 0 4px 18px rgba(184,146,42,.28); }
.btn-gold:hover  { background: var(--gold-warm); transform: translateY(-2px); }

.btn-dark    { background: var(--dark);   color: #fff; }
.btn-dark:hover  { background: var(--dark-mid); transform: translateY(-2px); }

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.45);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.8);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--dark);
  border: 1.5px solid rgba(26,23,20,.25);
}
.btn-outline-dark:hover { background: var(--dark); color: #fff; transform: translateY(-2px); }

.btn-wa {
  background: #25D366;
  color: #fff;
  box-shadow: 0 4px 18px rgba(37,211,102,.30);
}
.btn-wa:hover { background: #1ea851; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(37,211,102,.45); }

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.6rem 5%;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}
.navbar.scrolled {
  background: rgba(24, 20, 16, .97);
  backdrop-filter: blur(16px) saturate(140%);
  padding: 1rem 5%;
  box-shadow: 0 1px 0 rgba(255,255,255,.04), 0 4px 24px rgba(0,0,0,.3);
}
.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 3px;
}
.nav-logo-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  letter-spacing: .25em;
  color: #fff;
  font-weight: 300;
}
.nav-logo-sub {
  font-family: 'Jost', sans-serif;
  font-size: .57rem;
  letter-spacing: .5em;
  color: var(--gold-warm);
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.4rem;
}
.nav-links a {
  font-size: .73rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.68);
  font-weight: 400;
  transition: color .22s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0; right: 100%;
  height: 1px;
  background: var(--gold-warm);
  transition: right .3s ease;
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { right: 0; }
.nav-links a.active { color: #fff; }
.nav-links a.active::after { right: 0; }

.nav-cta {
  background: var(--terra) !important;
  color: #fff !important;
  padding: .6rem 1.5rem;
  border-radius: var(--radius);
  letter-spacing: .12em !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 16px rgba(196,116,71,.3);
  transition: background var(--transition), box-shadow var(--transition) !important;
}
.nav-cta:hover {
  background: var(--terra-dark) !important;
  box-shadow: 0 6px 22px rgba(196,116,71,.45) !important;
  transform: none;
}
.nav-cta::after { display: none; }

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: rgba(255,255,255,.85);
  border-radius: 1px;
  transition: var(--transition);
}

/* MOBILE NAV */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--dark);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.2rem;
  opacity: 0;
  transition: opacity .3s;
}
.mobile-menu.open { display: flex; opacity: 1; }
.mobile-menu-close {
  position: absolute;
  top: 1.8rem;
  right: 5%;
  color: rgba(255,255,255,.45);
  font-size: 1.5rem;
  line-height: 1;
  transition: color .2s;
}
.mobile-menu-close:hover { color: #fff; }
.mobile-menu a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  color: rgba(255,255,255,.72);
  font-weight: 300;
  letter-spacing: .06em;
  transition: color .2s;
}
.mobile-menu a:hover { color: var(--gold-warm); }
.mobile-menu .btn {
  font-family: 'Jost', sans-serif;
  font-size: .75rem;
  letter-spacing: .14em;
  margin-top: .5rem;
}

/* ── FOOTER ── */
.footer { background: #0E0C0A; padding: 76px 5% 32px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.9fr 1fr 1fr 1fr;
  gap: 3.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.055);
}
.footer-logo-wrap { margin-bottom: .2rem; }
.footer-logo-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.55rem;
  letter-spacing: .22em;
  color: #fff;
  font-weight: 300;
  display: block;
}
.footer-logo-sub {
  display: block;
  font-size: .58rem;
  letter-spacing: .48em;
  color: var(--gold);
  text-transform: uppercase;
  font-family: 'Jost', sans-serif;
  margin-top: 3px;
}
.footer-brand-desc {
  color: rgba(255,255,255,.32);
  font-size: .88rem;
  margin-top: 1.5rem;
  line-height: 1.8;
  max-width: 300px;
}
.footer-brand-wa {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: 1.6rem;
  color: #25D366;
  font-size: .78rem;
  letter-spacing: .06em;
  font-weight: 500;
  transition: opacity .2s;
}
.footer-brand-wa:hover { opacity: .75; }
.footer-col h5 {
  font-family: 'Jost', sans-serif;
  font-size: .62rem;
  letter-spacing: .45em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.footer-col ul li { margin-bottom: .7rem; }
.footer-col ul a,
.footer-col p.info {
  color: rgba(255,255,255,.34);
  font-size: .86rem;
  transition: color .2s;
}
.footer-col ul a:hover { color: rgba(255,255,255,.7); }
.footer-col p.info { line-height: 1.75; margin-bottom: .5rem; }
.footer-col p.info a:hover { color: rgba(255,255,255,.7); }
.footer-bottom {
  padding-top: 1.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .8rem;
}
.footer-bottom p { color: rgba(255,255,255,.18); font-size: .76rem; }

/* ── WHATSAPP FLOTTANT ── */
.wa-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 998;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(37,211,102,.5);
  transition: transform .25s;
}
.wa-float:hover { transform: scale(1.1); }
.wa-float::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  animation: waPulse 2.8s ease-in-out infinite;
  z-index: -1;
}
@keyframes waPulse {
  0%, 100% { transform: scale(1); opacity: .5; }
  50% { transform: scale(1.45); opacity: 0; }
}

/* ── ANIMATIONS REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .8s cubic-bezier(.22,1,.36,1), transform .8s cubic-bezier(.22,1,.36,1);
}
.reveal.visible { opacity: 1; transform: none; }

.reveal-left {
  opacity: 0;
  transform: translateX(-36px);
  transition: opacity .8s cubic-bezier(.22,1,.36,1), transform .8s cubic-bezier(.22,1,.36,1);
}
.reveal-right {
  opacity: 0;
  transform: translateX(36px);
  transition: opacity .8s cubic-bezier(.22,1,.36,1), transform .8s cubic-bezier(.22,1,.36,1);
}
.reveal-left.visible, .reveal-right.visible { opacity: 1; transform: none; }

/* Stagger delays */
.d1 { transition-delay: .1s; }
.d2 { transition-delay: .2s; }
.d3 { transition-delay: .3s; }
.d4 { transition-delay: .4s; }
.d5 { transition-delay: .5s; }
.d6 { transition-delay: .6s; }

/* ── PAGE HERO (pages intérieures) ── */
.page-hero {
  height: 58vh;
  min-height: 400px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(170deg, rgba(0,0,0,.08) 0%, rgba(26,23,20,.7) 100%);
}
.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 5% 4.5rem;
}
.page-hero-content .eyebrow { color: var(--gold-warm); margin-bottom: .7rem; }
.page-hero-content h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 4rem);
}

/* ── SECTIONS GÉNÉRIQUES ── */
.section    { padding: 96px 5%; }
.section-sm { padding: 64px 5%; }
.section-lg { padding: 120px 5%; }
.section-cream { background: var(--cream); }
.section-beige { background: var(--beige); }
.section-dark  { background: var(--dark); }
.section-olive { background: var(--olive); }
.section-center { text-align: center; }

/* ── SCROLL INDICATOR ── */
.scroll-arrow {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
}
.scroll-arrow span {
  font-size: .6rem;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: rgba(255,255,255,.42);
  font-family: 'Jost', sans-serif;
  font-weight: 400;
}
.scroll-arrow-line {
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, rgba(255,255,255,.45), transparent);
  animation: arrowDrop 2.2s ease-in-out infinite;
  transform-origin: top;
}
@keyframes arrowDrop {
  0%   { transform: scaleY(0); opacity: 1; }
  45%  { transform: scaleY(1); opacity: 1; }
  46%  { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ── RESPONSIVE COMMUN ── */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .section, .section-sm, .section-lg { padding: 64px 5%; }
  .btn { padding: .85rem 1.8rem; font-size: .72rem; }
}
