/* =========================================================
   RIAD ANDALOUSE — Mid-century Moroccan travel poster
   Persian blue + saffron + cream + olive
   Cormorant Garamond + Italiana display + Work Sans body
   ========================================================= */
:root {
  --bg: #f5e9d3;
  --paper: #fdf6e8;
  --ink: #1a1410;
  --ink-soft: #5a4a3a;
  --muted: #8a7864;
  --line: #d9c5a3;
  --line-soft: rgba(26, 20, 16, .08);

  --blue: #0c4a6e;        /* persian blue */
  --blue-deep: #082f49;
  --blue-light: #1e6ba8;

  --saffron: #d4a017;     /* saffron gold */
  --saffron-dark: #a87a0d;
  --saffron-soft: rgba(212, 160, 23, .15);

  --olive: #6b7a3a;       /* olive accent */
  --terracotta: #b85436;  /* hint of warmth */

  --shadow-sm: 0 8px 24px -10px rgba(12, 74, 110, .2);
  --shadow: 0 20px 50px -20px rgba(12, 74, 110, .3);
  --shadow-lg: 0 36px 80px -28px rgba(12, 74, 110, .4);

  --display: 'Italiana', 'Cormorant Garamond', Georgia, serif;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --body: 'Work Sans', system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-weight: 400;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(1240px, 92%); margin: 0 auto; }
:focus-visible { outline: 2px solid var(--saffron); outline-offset: 3px; border-radius: 2px; }

/* === TOPBAR === */
.topbar { background: var(--blue-deep); color: rgba(245, 233, 211, .85); font-size: 12.5px; padding: 11px 0; letter-spacing: .5px; }
.topbar__row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.topbar a { color: var(--saffron); border-bottom: 1px solid var(--saffron); padding-bottom: 1px; transition: color .2s; }
.topbar a:hover { color: #fff; border-color: #fff; }
.topbar span { display: inline-flex; align-items: center; gap: 6px; }
.topbar svg { color: var(--saffron); }

/* === NAV === */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(245, 233, 211, .92); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav__row { display: flex; align-items: center; gap: 30px; padding: 18px 0; }
.brand { display: flex; flex-direction: column; line-height: 1; gap: 2px; }
.brand__ar { font-family: var(--serif); font-size: 13px; color: var(--saffron-dark); letter-spacing: 4px; direction: rtl; font-style: italic; }
.brand__fr { font-family: var(--display); font-size: 26px; letter-spacing: -.5px; color: var(--ink); line-height: 1; }
.brand__fr em { font-style: italic; color: var(--blue); font-weight: 400; }
.nav__links { display: flex; gap: 30px; margin-left: auto; }
.nav__links a { font-size: 12.5px; color: var(--ink-soft); letter-spacing: 1.5px; text-transform: uppercase; transition: color .2s; }
.nav__links a:hover { color: var(--blue); }
.nav__back { font-size: 12px; color: var(--ink-soft); padding: 8px 12px; letter-spacing: 1.5px; text-transform: uppercase; transition: all .2s; }
.nav__back:hover { color: var(--blue); background: var(--paper); }
.nav__cta { background: var(--blue); color: var(--saffron); padding: 11px 22px; font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; transition: all .25s; clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, 0 100%, 8px 50%); padding-right: 30px; }
.nav__cta:hover { background: var(--blue-deep); transform: translateX(2px); }

@media (max-width: 880px) { .nav__links { display: none; } .nav__back { display: none; } }

/* === BUTTONS === */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; font-family: var(--body); font-size: 12px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase; transition: all .25s; cursor: pointer; border: 1.5px solid transparent;
}
.btn--gold { background: var(--saffron); color: var(--blue-deep); }
.btn--gold:hover { background: var(--saffron-dark); color: var(--paper); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn--ghost-light { background: transparent; color: var(--paper); border-color: rgba(245, 233, 211, .4); }
.btn--ghost-light:hover { background: rgba(245, 233, 211, .1); border-color: var(--paper); }
.btn--big { padding: 18px 32px; font-size: 13px; }
.btn--block { width: 100%; }

/* === HERO — split layout, zellige art left === */
.hero { position: relative; padding: 70px 0 100px; overflow: hidden; background: var(--bg); }
.hero__art { position: absolute; top: 0; left: 0; width: 42%; height: 100%; opacity: .55; pointer-events: none; }
.hero__art svg { width: 100%; height: 100%; display: block; }
.hero__row { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 880px) {
  .hero { padding: 50px 0 70px; }
  .hero__art { width: 100%; opacity: .3; }
  .hero__row { grid-template-columns: 1fr; gap: 50px; }
}

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--body); font-size: 11px; font-weight: 700; letter-spacing: 3px;
  color: var(--blue); padding: 8px 14px; border: 1.5px solid var(--blue);
  margin-bottom: 28px; text-transform: uppercase;
}
.hero__eyebrow svg { color: var(--saffron); }
.hero__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(56px, 9vw, 130px);
  line-height: .92;
  letter-spacing: -.5px;
  margin-bottom: 32px;
  color: var(--ink);
}
.hero__title .t1 { display: block; }
.hero__title .t2 { display: block; }
.hero__title em { font-style: italic; color: var(--blue); font-family: var(--serif); font-weight: 500; }
.hero__lead { font-size: 17px; color: var(--ink-soft); max-width: 480px; margin-bottom: 36px; line-height: 1.65; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 50px; }

/* Hero stats - poster style */
.hero__stats { display: flex; gap: 40px; padding-top: 30px; border-top: 1.5px solid var(--ink); }
.hero__stats div { display: flex; flex-direction: column; gap: 4px; }
.hero__stats b { font-family: var(--display); font-size: 42px; color: var(--blue); font-weight: 400; line-height: 1; letter-spacing: -.5px; }
.hero__stats span { font-size: 10px; color: var(--ink-soft); letter-spacing: 2.5px; text-transform: uppercase; font-weight: 600; }

/* Hero poster (right side - travel poster) */
.hero__poster { position: relative; aspect-ratio: 3/4; max-height: 620px; justify-self: end; width: 100%; }
.poster__frame {
  position: relative; width: 100%; height: 100%;
  border: 2px solid var(--ink);
  background: var(--paper);
  box-shadow: var(--shadow-lg);
  padding: 14px;
  display: flex; flex-direction: column;
}
.poster__photo { flex: 1; background-size: cover; background-position: center; }
.poster__caption {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 6px 6px; border-top: 1.5px solid var(--ink);
  font-family: var(--display); font-size: 11px; letter-spacing: 3px; color: var(--ink);
  text-transform: uppercase;
}
.poster__num { font-weight: 700; color: var(--blue); }
.poster__txt { font-style: italic; color: var(--ink-soft); }
.poster__seal { position: absolute; top: -22px; right: -22px; width: 88px; height: 88px; transform: rotate(8deg); pointer-events: none; filter: drop-shadow(0 4px 8px rgba(0,0,0,.15)); }

/* === HIGHLIGHTS === */
.hili { padding: 30px 0; background: var(--blue-deep); color: var(--paper); border-top: 4px solid var(--saffron); border-bottom: 4px solid var(--saffron); }
.hili__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
@media (max-width: 880px) { .hili__row { grid-template-columns: 1fr 1fr; gap: 30px; } }
.hili__cell { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.hili__cell svg { color: var(--saffron); margin-bottom: 6px; }
.hili__cell b { font-family: var(--display); font-size: 18px; letter-spacing: 2px; color: var(--saffron); }
.hili__cell small { font-size: 12px; color: rgba(245, 233, 211, .7); letter-spacing: .5px; }

/* === SECTION HEADS === */
.sec__head { margin-bottom: 60px; }
.sec__head--center { text-align: center; }
.sec__eyebrow { display: inline-block; font-family: var(--body); font-size: 11px; letter-spacing: 3px; color: var(--blue); font-weight: 700; margin-bottom: 16px; text-transform: uppercase; }
.sec__eyebrow--gold { color: var(--saffron); }
.sec__title { font-family: var(--display); font-weight: 400; font-size: clamp(40px, 6vw, 76px); line-height: 1; letter-spacing: -.5px; max-width: 900px; }
.sec__title em { font-style: italic; color: var(--blue); font-family: var(--serif); font-weight: 500; }
.sec__title--light { color: var(--paper); }

/* === CHAMBRES === */
.rooms { padding: 120px 0; background: var(--paper); border-top: 1px solid var(--line); }
.rooms__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
@media (max-width: 880px) { .rooms__grid { grid-template-columns: 1fr; } }
.room { background: var(--bg); border: 1.5px solid var(--line); position: relative; overflow: hidden; transition: all .3s; }
.room:hover { border-color: var(--blue); transform: translateY(-6px); box-shadow: var(--shadow); }
.room--featured { border-color: var(--saffron); border-width: 2px; background: linear-gradient(180deg, var(--saffron-soft), var(--bg)); }
.room__num { position: absolute; top: 14px; left: 14px; z-index: 2; font-family: var(--display); font-size: 38px; color: var(--paper); line-height: 1; opacity: .9; text-shadow: 0 2px 6px rgba(0,0,0,.4); }
.room__seal { position: absolute; top: 18px; right: -8px; z-index: 2; background: var(--saffron); color: var(--blue-deep); padding: 6px 16px 6px 18px; font-family: var(--body); font-size: 10px; font-weight: 700; letter-spacing: 2px; transform: rotate(2deg); box-shadow: var(--shadow-sm); }
.room__photo { width: 100%; aspect-ratio: 4/3; background-size: cover; background-position: center; overflow: hidden; position: relative; transition: transform .4s ease; }
.room:hover .room__photo { transform: scale(1.04); }
.room__photo--svg svg { width: 100%; height: 100%; display: block; }
.room__body { padding: 28px 26px 26px; }
.room h3 { font-family: var(--serif); font-size: 26px; font-weight: 600; font-style: italic; margin-bottom: 8px; color: var(--ink); letter-spacing: -.3px; }
.room p { color: var(--ink-soft); font-size: 14.5px; line-height: 1.6; margin-bottom: 22px; }
.room__foot { display: flex; justify-content: space-between; align-items: center; padding-top: 18px; border-top: 1.5px solid var(--line); }
.room__price { font-family: var(--display); font-size: 26px; color: var(--blue); font-weight: 400; line-height: 1; }
.room__price small { display: block; font-family: var(--body); font-size: 10px; font-weight: 600; letter-spacing: 2px; color: var(--ink-soft); margin-top: 4px; text-transform: uppercase; }
.room__btn { font-family: var(--body); padding: 10px 18px; background: var(--ink); color: var(--paper); font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; transition: all .2s; }
.room__btn:hover { background: var(--blue); }

/* === EXPÉRIENCE / PATRIMOINE === */
.exp { padding: 120px 0; background: var(--bg); }
.exp__row { display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: center; }
@media (max-width: 880px) { .exp__row { grid-template-columns: 1fr; gap: 50px; } }

.exp__collage { position: relative; aspect-ratio: 4/5; max-height: 600px; }
.ec { position: absolute; background-size: cover; background-position: center; box-shadow: var(--shadow); border: 4px solid var(--paper); transition: transform .35s ease; }
.ec:hover { transform: scale(1.03) rotate(0deg); z-index: 2; }
.ec--1 { top: 0; left: 0; width: 65%; height: 50%; transform: rotate(-2deg); }
.ec--2 { top: 5%; right: 0; width: 45%; height: 40%; transform: rotate(3deg); }
.ec--3 { bottom: 0; left: 5%; width: 55%; height: 45%; transform: rotate(1deg); }
.ec--arch { bottom: 8%; right: 5%; width: 38%; height: 38%; transform: rotate(-4deg); display: grid; place-items: center; padding: 0; overflow: hidden; }

.exp__text p { color: var(--ink-soft); font-size: 16px; margin-bottom: 16px; line-height: 1.7; max-width: 540px; }
.exp__list { list-style: none; margin-top: 28px; }
.exp__list li { padding: 12px 0; font-size: 14.5px; display: flex; align-items: center; gap: 14px; color: var(--ink); border-bottom: 1px dashed var(--line); }
.exp__list li:last-child { border-bottom: 0; }
.exp__list svg { color: var(--saffron); flex-shrink: 0; }

/* === GALERIE — asymmetric mural === */
.gal { padding: 120px 0; background: var(--paper); border-top: 1px solid var(--line); }
.gal__mural {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 240px 240px;
  gap: 14px;
}
@media (max-width: 880px) {
  .gal__mural { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(4, 200px); }
  .gm--1, .gm--8 { grid-column: span 2; }
}
.gm { position: relative; background-size: cover; background-position: center; overflow: hidden; border: 2px solid var(--bg); transition: transform .3s; cursor: pointer; }
.gm:hover { transform: scale(1.02); box-shadow: var(--shadow); }
.gm--1 { grid-column: span 2; }
.gm--8 { grid-column: span 2; }
.gm__cap { position: absolute; bottom: 12px; left: 12px; padding: 6px 12px; background: var(--paper); color: var(--ink); font-family: var(--display); font-size: 12px; letter-spacing: 3px; text-transform: uppercase; box-shadow: var(--shadow-sm); }
.gm::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, transparent 50%, rgba(12, 74, 110, .15) 100%); pointer-events: none; }

/* === AVIS === */
.avis { padding: 120px 0; background: var(--bg); border-top: 1px solid var(--line); }
.avis__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
@media (max-width: 880px) { .avis__grid { grid-template-columns: 1fr; } }
.quote { background: var(--paper); padding: 36px 32px; border: 1.5px solid var(--line); border-left: 4px solid var(--saffron); position: relative; transition: all .25s; }
.quote:hover { border-color: var(--blue); transform: translateY(-4px); box-shadow: var(--shadow); }
.quote__stars { color: var(--saffron); font-size: 18px; letter-spacing: 4px; margin-bottom: 18px; }
.quote p { font-family: var(--serif); font-size: 19px; font-style: italic; line-height: 1.5; color: var(--ink); margin-bottom: 20px; }
.quote footer { font-family: var(--body); font-size: 11px; color: var(--ink-soft); letter-spacing: 2px; font-weight: 600; }

/* === RÉSERVER === */
.book { padding: 120px 0; background: var(--blue-deep); color: var(--paper); position: relative; overflow: hidden; }
.book::before { content: ''; position: absolute; top: -100px; right: -100px; width: 360px; height: 360px; border: 2px solid var(--saffron); border-radius: 50%; opacity: .2; }
.book::after { content: ''; position: absolute; bottom: -150px; left: -150px; width: 480px; height: 480px; border: 2px solid var(--saffron); border-radius: 50%; opacity: .12; }
.book__row { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
@media (max-width: 880px) { .book__row { grid-template-columns: 1fr; gap: 50px; } }
.book__list { list-style: none; margin: 24px 0 36px; }
.book__list li { padding: 10px 0; font-size: 13px; display: flex; align-items: center; gap: 12px; color: rgba(245, 233, 211, .9); letter-spacing: 1.5px; font-weight: 600; }
.book__list svg { color: var(--saffron); flex-shrink: 0; }
.book__form { background: rgba(245, 233, 211, .05); padding: 40px; border: 1.5px solid rgba(212, 160, 23, .25); }
.book__form h3 { font-family: var(--display); font-size: 26px; letter-spacing: 2px; margin-bottom: 24px; color: var(--saffron); }
.book__form label { display: block; margin-bottom: 18px; }
.book__form .book__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 0; }
.book__form span { display: block; font-size: 10px; color: rgba(245, 233, 211, .6); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 8px; font-weight: 700; }
.book__form input, .book__form select, .book__form textarea {
  width: 100%; padding: 13px 14px; background: rgba(245, 233, 211, .05); color: var(--paper);
  border: 1px solid rgba(245, 233, 211, .15); font: inherit; font-size: 14px;
}
.book__form input:focus, .book__form select:focus, .book__form textarea:focus { outline: none; border-color: var(--saffron); }
.book__form .thanks { color: var(--saffron); font-size: 13px; margin-top: 14px; display: flex; align-items: center; gap: 6px; font-weight: 600; }

/* === FOOTER === */
.footer { padding: 40px 0; background: var(--bg); border-top: 4px solid var(--saffron); }
.footer__row { display: grid; grid-template-columns: auto 1fr auto; gap: 30px; align-items: center; }
@media (max-width: 880px) { .footer__row { grid-template-columns: 1fr; text-align: center; gap: 20px; } }
.footer__brand { display: flex; flex-direction: column; gap: 4px; }
.footer__ar { font-family: var(--serif); font-size: 13px; color: var(--saffron-dark); letter-spacing: 4px; direction: rtl; font-style: italic; }
.footer__fr { font-family: var(--display); font-size: 18px; color: var(--ink); }
.footer__links { display: flex; gap: 28px; justify-content: center; }
.footer__links a { font-family: var(--body); font-size: 11px; color: var(--ink-soft); letter-spacing: 2px; font-weight: 600; transition: color .2s; }
.footer__links a:hover { color: var(--blue); }
.footer__copy { font-size: 11px; color: var(--ink-soft); letter-spacing: 1.5px; }

/* === FLOAT WHATSAPP === */
.float-wa {
  position: fixed; bottom: 24px; right: 24px;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; color: white;
  display: grid; place-items: center;
  z-index: 60; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .5);
  transition: transform .2s;
}
.float-wa:hover { transform: scale(1.08); }

/* === A11Y === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}