/* =========================================================
   RANCH COASTLINE — design system
   Couleurs validées : Brass #C49A4A · Terracotta #B5532F
   ========================================================= */
:root {
  --ink: #0E2A2F;          /* Atlantic Ink */
  --lagoon: #1F4C4F;       /* Deep Lagoon */
  --lagoon-2: #183E41;
  --terracotta: #B5532F;   /* CTA */
  --terracotta-dark: #8E3E21;
  --brass: #C49A4A;        /* ornements */
  --brass-light: #E7C27F;
  --dune: #EDE3D3;
  --chalk: #F8F4EE;
  --sand: #F1E8DA;
  --line: #E2D6C3;
  --text-2: #33494C;
  --text-3: #4A5E61;
  --on-dark-2: #C7D6D4;
  --white: #fff;

  --f-serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --f-sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-script: 'Parisienne', cursive;
  --f-arabic: 'Aref Ruqaa', serif;

  --container: 1280px;
  --gutter: 24px;
  --section-y: 104px;
  --radius-sm: 10px;
  --radius: 16px;
  --arch: 260px 260px 14px 14px;
  --shadow: 0 8px 30px rgba(14, 42, 47, .07);
  --shadow-lg: 0 24px 60px rgba(14, 42, 47, .18);
  --shadow-hover: 0 26px 50px rgba(14, 42, 47, .22);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 84px;
}
@media (max-width: 760px) {
  :root { --gutter: 16px; --section-y: 68px; --header-h: 68px; }
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--chalk); color: var(--ink);
  font-family: var(--f-sans); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@media (max-width: 760px) { body { font-size: 16px; } }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--terracotta); text-underline-offset: 3px; }
a:hover { color: var(--terracotta-dark); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-serif); font-weight: 500; line-height: 1.06; margin: 0; letter-spacing: -.005em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--brass-light); color: var(--ink); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }
[lang="ar"] { font-family: var(--f-arabic); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(920px + var(--gutter) * 2); }
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: calc(var(--section-y) * .6); }
.section--dune { background: var(--dune); }
.section--sand { background: var(--sand); }
.section--ink { background: var(--ink); color: #fff; }
.section--lagoon { background: var(--lagoon); color: #fff; }
.section--ink .lead, .section--lagoon .lead, .section--ink p, .section--lagoon p { color: var(--on-dark-2); }
.section--zellige::before { content: ''; position: absolute; inset: 0; background: url('../img/patterns/zellige.svg') 0 0 / 28px 28px; opacity: .08; pointer-events: none; }
.section--zellige > * { position: relative; }
.split { display: flex; flex-wrap: wrap; gap: clamp(40px, 6vw, 72px); align-items: center; }
.split > * { flex: 1 1 440px; min-width: 0; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid-2s { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.stack { display: flex; flex-direction: column; gap: 20px; }
.stack-sm { display: flex; flex-direction: column; gap: 12px; }
.center { text-align: center; align-items: center; }
.mt-0 { margin-top: 0; }

/* ---------- Typography ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--terracotta-dark); }
.eyebrow::before { content: ''; width: 9px; height: 9px; border: 1.5px solid currentColor; transform: rotate(45deg); flex: none; }
.section--ink .eyebrow, .section--lagoon .eyebrow, .on-dark .eyebrow { color: var(--brass-light); }
.h1, .h2, .h3 { font-family: var(--f-serif); font-weight: 500; line-height: 1.06; }
.h1 { font-size: clamp(44px, 6.4vw, 82px); line-height: 1; }
.h2 { font-size: clamp(34px, 4.4vw, 54px); }
.h3 { font-size: clamp(24px, 2.4vw, 30px); font-weight: 600; line-height: 1.12; }
.lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--text-2); max-width: 64ch; }
.muted { color: var(--text-3); }
.script { font-family: var(--f-script); font-weight: 400; line-height: 1.05; color: var(--terracotta); }
.prose { color: var(--text-2); max-width: 70ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(30px, 3.2vw, 40px); color: var(--ink); margin-top: 1.6em; }
.prose h3 { font-size: 26px; font-weight: 600; color: var(--ink); margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--terracotta); }
.prose strong { color: var(--ink); }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--brass); font-family: var(--f-serif); font-style: italic; font-size: 26px; line-height: 1.35; color: var(--ink); }

/* Ornament under titles */
.orn { width: 120px; height: 12px; color: var(--brass); }
.center .orn { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--terracotta); --fg: #fff; --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 14px 26px; border-radius: 999px; border: 1px solid var(--bd);
  background: var(--bg); color: var(--fg); font-weight: 600; font-size: 15px; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.btn:hover { --bg: var(--terracotta-dark); color: var(--fg); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(142, 62, 33, .25); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .3s var(--ease); }
.btn:hover svg.arrow { transform: translateX(4px); }
.btn--lg { padding: 17px 30px; font-size: 16px; }
.btn--ghost { --bg: transparent; --fg: var(--ink); --bd: rgba(14, 42, 47, .35); }
.btn--ghost:hover { --bg: var(--ink); --fg: #fff; box-shadow: none; }
.btn--ghost-light { --bg: transparent; --fg: #fff; --bd: rgba(255, 255, 255, .6); }
.btn--ghost-light:hover { --bg: #fff; --fg: var(--ink); box-shadow: none; }
.btn--light { --bg: #fff; --fg: var(--terracotta-dark); }
.btn--light:hover { --bg: var(--chalk); --fg: var(--terracotta-dark); }
.btn--ink { --bg: var(--ink); --fg: #fff; }
.btn--ink:hover { --bg: var(--lagoon); }
.btn--wa { --bg: #1F8F55; --fg: #fff; }
.btn--wa:hover { --bg: #187245; box-shadow: 0 10px 24px rgba(24, 114, 69, .25); }
.btn--round { width: 48px; height: 48px; min-height: 0; padding: 0; flex: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; color: #fff; transition: background-color .35s, box-shadow .35s, color .35s, transform .35s var(--ease); }
.site-header::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 26, 30, .55), rgba(8, 26, 30, 0)); pointer-events: none; z-index: -1; transition: opacity .35s; }
.site-header.is-solid, .site-header.is-plain { background: rgba(248, 244, 238, .97); color: var(--ink); box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(14, 42, 47, .06); backdrop-filter: blur(10px); }
.site-header.is-solid::after, .site-header.is-plain::after { opacity: 0; }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; flex: none; }
.brand:hover { color: inherit; }
.brand-mark { width: 38px; height: 46px; color: var(--brass-light); transition: color .35s; }
.is-solid .brand-mark, .is-plain .brand-mark, .site-footer .brand-mark { color: var(--terracotta); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--f-serif); font-size: 22px; font-weight: 600; letter-spacing: .18em; white-space: nowrap; }
.brand-ar { font-family: var(--f-arabic); font-size: 13px; color: var(--brass-light); margin-top: 5px; transition: color .35s; }
.is-solid .brand-ar, .is-plain .brand-ar { color: var(--brass); }

.main-nav { display: flex; align-items: center; gap: 2px; }
.nav-item { position: relative; }
.nav-link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; color: inherit; text-decoration: none; font-size: 15px; font-weight: 600; background: none; border: 0; cursor: pointer; border-radius: 8px; white-space: nowrap; }
.nav-link:hover, .nav-link[aria-current="page"], .nav-item.is-active > .nav-link { color: var(--brass-light); }
.is-solid .nav-link:hover, .is-plain .nav-link:hover, .is-solid .nav-item.is-active > .nav-link, .is-plain .nav-item.is-active > .nav-link, .is-solid .nav-link[aria-current="page"], .is-plain .nav-link[aria-current="page"] { color: var(--terracotta); }
.nav-link .chev { width: 12px; height: 12px; transition: transform .25s; }
.nav-item.is-open .chev { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; min-width: 300px;
  background: #fff; color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 10px; opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
  transition: opacity .22s, transform .22s var(--ease), visibility .22s;
}
.dropdown::before { content: ''; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.dropdown::after { content: ''; position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; background: #fff; transform: translateX(-50%) rotate(45deg); border-radius: 2px; }
.nav-item.is-open .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
@media (hover: hover) and (min-width: 1181px) { .nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); } .nav-item:hover .chev { transform: rotate(180deg); } }
.dropdown a { display: flex; gap: 14px; align-items: flex-start; padding: 12px 14px; border-radius: 10px; color: var(--ink); text-decoration: none; }
.dropdown a:hover, .dropdown a[aria-current="page"] { background: var(--chalk); }
.dropdown a:hover .dd-title { color: var(--terracotta); }
.dd-ico { flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--dune); color: var(--terracotta); display: grid; place-items: center; }
.dd-ico svg { width: 20px; height: 20px; }
.dd-title { display: block; font-weight: 700; font-size: 15px; line-height: 1.3; transition: color .2s; }
.dd-desc { display: block; font-size: 13px; color: var(--text-3); line-height: 1.4; margin-top: 2px; }

.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.lang-switch { display: flex; border: 1px solid currentColor; border-radius: 999px; padding: 3px; opacity: .9; }
.lang-switch a { min-width: 38px; min-height: 36px; display: grid; place-items: center; padding: 0 8px; border-radius: 999px; color: inherit; text-decoration: none; font-size: 13px; font-weight: 700; letter-spacing: .06em; }
.lang-switch a[aria-current="true"] { background: var(--brass-light); color: var(--ink); }
.is-solid .lang-switch a[aria-current="true"], .is-plain .lang-switch a[aria-current="true"] { background: var(--ink); color: #fff; }
.menu-toggle { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid currentColor; background: transparent; color: inherit; cursor: pointer; place-items: center; }
.menu-toggle svg { width: 22px; height: 22px; }
@media (max-width: 1180px) {
  .main-nav { display: none; }
  .menu-toggle { display: grid; }
  .header-actions .btn { display: none; }
}
@media (max-width: 420px) { .brand-name { font-size: 18px; letter-spacing: .14em; } .brand-mark { width: 32px; height: 40px; } .lang-switch a { min-width: 34px; } }

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 150; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(8, 26, 30, .55); opacity: 0; transition: opacity .3s; }
.drawer.is-open .drawer-backdrop { opacity: 1; }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--chalk); color: var(--ink); transform: translateX(100%); transition: transform .4s var(--ease); display: flex; flex-direction: column; overflow-y: auto; }
.drawer.is-open .drawer-panel { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 16px var(--gutter); border-bottom: 1px solid var(--line); }
.drawer-close { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; display: grid; place-items: center; }
.drawer-nav { padding: 8px var(--gutter) 24px; flex: 1; }
.drawer-nav details { border-bottom: 1px solid var(--line); }
.drawer-nav summary, .drawer-nav > a { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-family: var(--f-serif); font-size: 26px; font-weight: 600; color: var(--ink); text-decoration: none; cursor: pointer; list-style: none; }
.drawer-nav > a { border-bottom: 1px solid var(--line); }
.drawer-nav summary::-webkit-details-marker { display: none; }
.drawer-nav summary svg { width: 18px; height: 18px; color: var(--terracotta); transition: transform .25s; }
.drawer-nav details[open] summary svg { transform: rotate(45deg); }
.drawer-nav details a { display: block; padding: 10px 0 10px 14px; color: var(--text-2); text-decoration: none; font-weight: 600; border-left: 2px solid var(--line); }
.drawer-nav details a:hover, .drawer-nav details a[aria-current="page"] { color: var(--terracotta); border-color: var(--terracotta); }
.drawer-nav details div { padding-bottom: 14px; }
.drawer-foot { padding: 20px var(--gutter) 28px; display: grid; gap: 12px; background: var(--dune); }
.drawer-foot .btn { width: 100%; }

/* ---------- Page hero ---------- */
.page-hero { position: relative; min-height: clamp(420px, 62vh, 620px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--ink); isolation: isolate; }
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 22s ease-out both; }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(8, 26, 30, .88) 0%, rgba(8, 26, 30, .5) 50%, rgba(8, 26, 30, .6) 100%); }
.page-hero .breadcrumbs, .page-hero .eyebrow, .page-hero .lead, .hero .eyebrow, .hero .lead { text-shadow: 0 1px 12px rgba(8, 26, 30, .7); }
.page-hero__inner { padding-top: calc(var(--header-h) + 60px); padding-bottom: 120px; display: flex; flex-direction: column; gap: 18px; max-width: 820px; }
.page-hero .eyebrow { color: var(--brass-light); }
.page-hero .lead { color: #EEF3F2; }
.page-hero--short { min-height: clamp(340px, 46vh, 460px); }
.brush-edge { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 90px; color: var(--chalk); pointer-events: none; }
@media (max-width: 760px) { .brush-edge { height: 50px; } .page-hero__inner { padding-bottom: 80px; } }

/* Breadcrumbs */
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; font-weight: 600; letter-spacing: .04em; }
.breadcrumbs li { display: flex; align-items: center; gap: 6px; color: rgba(255, 255, 255, .78); }
.breadcrumbs li + li::before { content: '◆'; font-size: 7px; color: var(--brass-light); }
.breadcrumbs a { color: #fff; text-decoration: none; }
.breadcrumbs a:hover { color: var(--brass-light); }

/* ---------- In short (GEO) ---------- */
.in-short { position: relative; background: #fff; border-radius: var(--radius); padding: 28px 32px 28px 36px; box-shadow: var(--shadow); border-left: 4px solid var(--brass); }
.in-short__label { font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--terracotta-dark); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.in-short p { color: var(--ink); font-size: 18px; line-height: 1.6; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 0; margin-top: 22px; border-top: 1px solid var(--line); }
.facts div { padding: 16px 16px 0 0; }
.facts dt { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.facts dd { margin: 4px 0 0; font-weight: 700; color: var(--ink); font-size: 16px; line-height: 1.35; }

/* ---------- Cards ---------- */
.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .45s var(--ease), box-shadow .45s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.zoom { overflow: hidden; position: relative; }
.zoom img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .zoom img, a:hover > .zoom img { transform: scale(1.06); }

.pkg-card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); height: 100%; }
.pkg-card:hover { color: var(--ink); }
.pkg-card__media { height: 250px; }
.pkg-card__badge { position: absolute; top: 14px; left: 14px; z-index: 1; background: var(--terracotta); color: #fff; font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px; letter-spacing: .02em; }
.pkg-card__badge--brass { background: var(--brass); color: var(--ink); }
.pkg-card__body { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.pkg-card__meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 13px; color: var(--text-3); font-weight: 600; }
.pkg-card__meta span { display: inline-flex; align-items: center; gap: 6px; }
.pkg-card__meta svg { width: 16px; height: 16px; color: var(--terracotta); }
.pkg-card__text { color: var(--text-2); font-size: 15px; flex: 1; }
.pkg-card__foot { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #EEE6D8; padding-top: 16px; gap: 12px; }
.price { font-size: 14px; color: var(--text-3); line-height: 1.2; }
.price strong { font-family: var(--f-serif); font-size: 30px; color: var(--terracotta-dark); font-weight: 600; }
.price small { display: block; font-size: 12px; }
.round-arrow { width: 48px; height: 48px; border-radius: 50%; background: var(--terracotta); color: #fff; display: grid; place-items: center; flex: none; transition: background-color .25s, transform .3s var(--ease); }
.round-arrow svg { width: 18px; height: 18px; }
.pkg-card:hover .round-arrow { background: var(--terracotta-dark); transform: rotate(-30deg); }

.act-card { position: relative; display: block; height: 400px; border-radius: 14px; overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; }
.act-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.act-card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14, 42, 47, 0) 35%, rgba(14, 42, 47, .9) 100%); transition: background .4s; }
.act-card:hover { color: #fff; }
.act-card:hover img { transform: scale(1.07); }
.act-card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; text-align: center; }
.act-card__title { font-family: var(--f-serif); font-size: 28px; line-height: 1.1; }
.act-card__more { display: block; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brass-light); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .4s var(--ease), opacity .4s, margin .4s; }
.act-card:hover .act-card__more, .act-card:focus-visible .act-card__more { max-height: 40px; opacity: 1; margin-top: 8px; }
@media (hover: none) { .act-card__more { max-height: 40px; opacity: 1; margin-top: 8px; } }

/* Arch frame (riad / horseshoe arch) */
.arch { position: relative; border-radius: var(--arch); padding: 10px; background: linear-gradient(180deg, var(--brass-light), #B48A3E); }
.arch__inner { border-radius: 250px 250px 8px 8px; overflow: hidden; height: 100%; position: relative; }
.arch__inner img { width: 100%; height: 100%; object-fit: cover; }
.arch-wrap { display: flex; gap: 18px; align-items: stretch; }
.arch-wrap .arch { flex: 1; height: clamp(440px, 52vw, 620px); }
.zellige-col { width: 28px; flex: none; border-radius: 4px; background: url('../img/patterns/zellige-col.svg') 0 0 / 28px 34px; }
@media (max-width: 560px) { .zellige-col { display: none; } .arch { border-radius: 180px 180px 12px 12px; } .arch__inner { border-radius: 172px 172px 6px 6px; } }
.arch-caption { position: absolute; right: 22px; bottom: 26px; margin: 0; font-family: var(--f-script); font-size: clamp(26px, 3vw, 36px); line-height: 1.05; color: #FBEBC8; text-align: right; transform: rotate(-6deg); text-shadow: 0 2px 14px rgba(0, 0, 0, .45); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 18px; border-top: 1px solid var(--line); padding-top: 24px; margin: 8px 0 0; }
.stats dt { font-family: var(--f-serif); font-size: 42px; font-weight: 600; color: var(--terracotta); line-height: 1; }
.stats dd { margin: 6px 0 0; font-size: 13px; color: var(--text-3); line-height: 1.35; font-weight: 600; }
.section--ink .stats, .section--lagoon .stats { border-color: rgba(255, 255, 255, .15); }
.section--ink .stats dt, .section--lagoon .stats dt { color: var(--brass-light); }
.section--ink .stats dd, .section--lagoon .stats dd { color: var(--on-dark-2); }

/* Icon strip */
.icon-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.icon-strip a { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 12px; text-decoration: none; color: var(--ink); text-align: center; font-size: 14px; font-weight: 700; line-height: 1.35; border-right: 1px solid var(--line); transition: color .2s; }
.icon-strip a:last-child { border-right: 0; }
.icon-strip a:hover { color: var(--terracotta); }
.icon-strip svg { width: 46px; height: 46px; color: var(--terracotta); transition: transform .4s var(--ease); }
.icon-strip a:hover svg { transform: translateY(-5px) rotate(-4deg); }
@media (max-width: 760px) { .icon-strip { grid-template-columns: repeat(3, 1fr); } .icon-strip a { border-right: 0; border-bottom: 1px solid var(--line); font-size: 13px; padding: 16px 6px; } }

/* Feature list */
.check-list { list-style: none; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); }
.check-list li::before { content: ''; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--dune) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B5532F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 13px no-repeat; }
.check-list--x li::before { background: #F3E6E0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238E3E21' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center / 11px no-repeat; }
.section--ink .check-list li, .section--lagoon .check-list li { color: var(--on-dark-2); }

/* Feature tiles */
.tile { background: #fff; border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; position: relative; overflow: hidden; }
.tile__ico { width: 54px; height: 54px; border-radius: 14px; background: var(--dune); color: var(--terracotta); display: grid; place-items: center; }
.tile__ico svg { width: 28px; height: 28px; }
.tile h3 { font-size: 26px; font-weight: 600; }
.tile p { color: var(--text-2); font-size: 15.5px; }
.section--ink .tile, .section--lagoon .tile { background: var(--lagoon-2); box-shadow: none; }
.section--ink .tile h3, .section--lagoon .tile h3 { color: #fff; }
.section--ink .tile__ico, .section--lagoon .tile__ico { background: rgba(231, 194, 127, .12); color: var(--brass-light); }

/* Zellige / Berber bands */
.zellige-band { height: 28px; background: url('../img/patterns/zellige.svg') 0 0 / 28px 28px; opacity: .9; }
.berber-band { height: 22px; background: url('../img/patterns/berber.svg') 0 0 / 44px 22px repeat-x; }
.divider { display: flex; align-items: center; gap: 18px; color: var(--brass); }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: currentColor; opacity: .5; }

/* ---------- Film / media split ---------- */
.media-split { display: flex; flex-wrap: wrap; align-items: stretch; }
.media-split__media { flex: 1 1 600px; min-height: 480px; position: relative; overflow: hidden; }
.media-split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media-split__body { flex: 1 1 420px; padding: clamp(48px, 6vw, 80px) clamp(24px, 4vw, 56px); display: flex; flex-direction: column; gap: 20px; justify-content: center; }
.play-btn { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 88px; height: 88px; border-radius: 50%; border: 0; background: rgba(248, 244, 238, .94); cursor: pointer; display: grid; place-items: center; animation: pulse 2.2s ease-out infinite; }
.play-btn svg { width: 28px; height: 28px; color: var(--terracotta); margin-left: 4px; }
.media-script { position: absolute; left: 24px; bottom: 20px; font-family: var(--f-script); font-size: 32px; color: #FBEBC8; text-shadow: 0 2px 12px rgba(0, 0, 0, .5); }

/* ---------- Testimonials ---------- */
.quote-card { margin: 0; background: var(--lagoon-2); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 18px; height: 100%; border: 1px solid rgba(231, 194, 127, .12); }
.quote-card .stars { color: var(--brass-light); letter-spacing: 4px; font-size: 18px; }
.quote-card blockquote { margin: 0; font-family: var(--f-serif); font-size: 23px; line-height: 1.35; font-style: italic; color: #fff; flex: 1; }
.quote-card figcaption { font-size: 14px; color: var(--on-dark-2); }
.quote-card figcaption strong { color: #fff; }
.badges { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.badges img { width: 64px; height: 64px; object-fit: contain; border-radius: 50%; background: #fff; padding: 3px; }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-size: 19px; font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--terracotta); transition: transform .3s var(--ease), background-color .3s; }
.faq details[open] summary .plus { transform: rotate(45deg); background: var(--dune); }
.faq summary:hover { color: var(--terracotta-dark); }
.faq .faq__a { padding: 0 50px 24px 0; color: var(--text-2); }

/* ---------- Final CTA ---------- */
.cta-final { background: var(--terracotta); color: #fff; overflow: hidden; position: relative; }
.cta-final__inner { padding: 88px var(--gutter) 30px; text-align: center; display: flex; flex-direction: column; gap: 22px; align-items: center; max-width: 960px; margin: 0 auto; }
.cta-final .script { color: #FBE6DC; font-size: clamp(30px, 3.4vw, 40px); }
.cta-final p { font-size: 18px; max-width: 600px; }
.cta-ground { display: block; width: 100%; height: 120px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-2); font-size: 15px; position: relative; }
.site-footer a { color: var(--on-dark-2); text-decoration: none; }
.site-footer a:hover { color: var(--brass-light); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 40px; padding-block: 72px 40px; }
@media (max-width: 1080px) { .footer-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } }
.footer-col h2 { font-family: var(--f-sans); font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-brand .brand { color: #fff; }
.footer-brand .brand-mark { color: var(--brass); }
.footer-contact { display: grid; gap: 8px; font-style: normal; }
.footer-contact a { display: inline-flex; gap: 10px; align-items: center; }
.footer-contact svg { width: 16px; height: 16px; color: var(--brass); flex: none; }
.socials { display: flex; gap: 10px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #2E5357; display: grid; place-items: center; }
.socials a:hover { border-color: var(--brass-light); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid #24494D; padding-block: 22px 30px; display: flex; flex-wrap: wrap; gap: 14px 24px; justify-content: space-between; font-size: 14px; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
@media (max-width: 760px) { .site-footer { padding-bottom: 76px; } }

/* ---------- Floating actions ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: #1F8F55; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px rgba(14, 42, 47, .3); transition: transform .3s var(--ease); }
.wa-float:hover { color: #fff; transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: 50%; animation: pulseGreen 2.6s ease-out infinite; }
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .wa-float { display: none; }
  .mobile-bar { display: grid; grid-template-columns: 1fr auto; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(248, 244, 238, .97); backdrop-filter: blur(10px); box-shadow: 0 -8px 30px rgba(14, 42, 47, .12); transform: translateY(110%); transition: transform .4s var(--ease); }
  .mobile-bar.is-visible { transform: none; }
  .mobile-bar .btn { min-height: 52px; }
  .mobile-bar .btn--wa { width: 52px; padding: 0; }
}

/* ---------- Galleries ---------- */
.masonry { columns: 3 280px; column-gap: 16px; }
.masonry figure { margin: 0 0 16px; break-inside: avoid; border-radius: 12px; overflow: hidden; position: relative; }
.masonry button { all: unset; display: block; cursor: zoom-in; width: 100%; }
.masonry button:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
.masonry img { width: 100%; transition: transform 1s var(--ease), filter .4s; }
.masonry figure:hover img { transform: scale(1.04); }
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(8, 20, 23, .94); display: none; align-items: center; justify-content: center; padding: 60px 16px; }
.lightbox.is-open { display: flex; animation: fadeIn .25s; }
.lightbox img { max-height: 84vh; width: auto; max-width: 100%; border-radius: 8px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lightbox__btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; display: grid; place-items: center; }
.lightbox__btn svg { width: 22px; height: 22px; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__cap { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: var(--on-dark-2); font-size: 14px; }

/* Photo strip (marquee) */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 16px; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track img { height: 220px; width: auto; border-radius: 12px; object-fit: cover; }
@media (max-width: 760px) { .marquee__track img { height: 160px; } }
.word-marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: 18px; background: var(--chalk); }
.word-marquee__track { display: flex; gap: 40px; width: max-content; animation: marquee 40s linear infinite; font-family: var(--f-serif); font-size: clamp(28px, 3.4vw, 44px); font-style: italic; color: var(--ink); white-space: nowrap; align-items: center; }
.word-marquee__track span.sep { color: var(--brass); font-style: normal; font-size: .6em; }
.word-marquee__track [lang="ar"] { font-style: normal; color: var(--terracotta); }
.word-marquee__track .tfng { font-style: normal; color: var(--terracotta); font-family: 'Noto Sans Tifinagh', var(--f-sans); }

/* ---------- Timeline ---------- */
.timeline { list-style: none; position: relative; display: grid; gap: 34px; padding-left: 40px; }
.timeline::before { content: ''; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--brass), var(--terracotta)); }
.timeline li { position: relative; }
.timeline li::before { content: ''; position: absolute; left: -36px; top: 6px; width: 16px; height: 16px; background: var(--chalk); border: 2px solid var(--terracotta); transform: rotate(45deg); }
.timeline .when { font-family: var(--f-serif); font-size: 30px; font-weight: 600; color: var(--terracotta); line-height: 1; }
.timeline h3 { font-size: 24px; font-weight: 600; margin: 6px 0; }
.timeline p { color: var(--text-2); }

/* Person cards */
.person { display: grid; grid-template-columns: minmax(0, 260px) 1fr; gap: 32px; align-items: center; }
@media (max-width: 640px) { .person { grid-template-columns: 1fr; } }
.person__photo { aspect-ratio: 4 / 5; border-radius: 160px 160px 14px 14px; overflow: hidden; border: 6px solid #fff; box-shadow: var(--shadow); }
.person__photo img { width: 100%; height: 100%; object-fit: cover; }
.person__role { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--terracotta-dark); }

/* Horse cards */
.horse-card { background: #fff; border-radius: var(--radius); padding: 22px; display: flex; gap: 16px; align-items: center; box-shadow: var(--shadow); transition: transform .4s var(--ease), box-shadow .4s; }
.horse-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.horse-medal { flex: none; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-serif); font-size: 28px; font-weight: 600; color: #fff; position: relative; box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .35); }
.horse-medal::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 1.5px dashed var(--brass); }
.horse-card h3 { font-size: 26px; font-weight: 600; }
.horse-card p { font-size: 14px; color: var(--text-3); font-weight: 600; }

/* Calendar */
.cal { background: #fff; border-radius: 18px; padding: clamp(18px, 3vw, 32px); box-shadow: 0 10px 40px rgba(14, 42, 47, .08); display: flex; flex-direction: column; gap: 18px; }
.cal__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.cal__title { font-family: var(--f-serif); font-size: 30px; font-weight: 600; text-transform: capitalize; }
.cal__nav { width: 46px; height: 46px; border-radius: 50%; border: 1px solid #D6CBB8; background: #fff; cursor: pointer; display: grid; place-items: center; transition: background-color .2s, border-color .2s; }
.cal__nav:hover:not(:disabled) { background: var(--ink); border-color: var(--ink); color: #fff; }
.cal__nav:disabled { opacity: .35; cursor: not-allowed; }
.cal__nav svg { width: 18px; height: 18px; }
.cal__filter { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 14px; min-height: 40px; font-size: 13px; font-weight: 700; cursor: pointer; color: var(--text-2); transition: all .2s; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip:hover { border-color: var(--ink); }
.cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal__dow { text-align: center; font-size: 12px; font-weight: 800; color: var(--text-3); letter-spacing: .06em; text-transform: uppercase; padding-bottom: 4px; }
.cal__day { position: relative; aspect-ratio: 1 / .86; min-height: 44px; border-radius: 10px; border: 1px solid transparent; background: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 15px; font-weight: 600; color: var(--text-2); cursor: default; padding: 0; }
.cal__day.is-past { color: #B6BEBF; }
.cal__day.has-dep { cursor: pointer; background: var(--chalk); }
.cal__day.has-dep:hover { border-color: var(--ink); }
.cal__day.is-week { background: var(--lagoon); color: #fff; font-weight: 800; }
.cal__day.is-last { background: #F1D9C9; color: var(--terracotta-dark); border-color: var(--terracotta); font-weight: 800; }
.cal__day.is-full { background: #EEEAE3; color: #6B7B7D; text-decoration: line-through; }
.cal__day.is-selected { outline: 3px solid var(--brass); outline-offset: 1px; }
.cal__day.is-today::after { content: ''; position: absolute; bottom: 5px; width: 5px; height: 5px; border-radius: 50%; background: var(--terracotta); }
.cal__dots { display: flex; gap: 3px; }
.cal__dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--brass); }
.cal__day.is-week .cal__dots i { background: var(--brass-light); }
.cal__legend { display: flex; flex-wrap: wrap; gap: 10px 18px; font-size: 13px; color: var(--text-2); }
.cal__legend span { display: inline-flex; gap: 8px; align-items: center; }
.cal__legend i { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.cal__panel { border-top: 1px solid var(--line); padding-top: 18px; min-height: 120px; }
.dep-list { list-style: none; display: grid; gap: 10px; }
.dep { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 16px; padding: 14px 16px; border-radius: 12px; background: var(--chalk); }
.dep strong { display: block; }
.dep small { color: var(--text-3); font-weight: 600; }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.status--open { background: #DCEBE7; color: var(--lagoon); }
.status--last { background: #F1D9C9; color: var(--terracotta-dark); }
.status--full { background: #EEEAE3; color: #6B7B7D; }

/* Steps */
.steps { list-style: none; display: grid; gap: 24px; counter-reset: s; }
.steps li { display: flex; gap: 18px; }
.steps li::before { counter-increment: s; content: counter(s); flex: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--terracotta); color: var(--terracotta); display: grid; place-items: center; font-family: var(--f-serif); font-size: 22px; font-weight: 600; }
.steps strong { display: block; font-size: 17px; }
.steps span { color: var(--text-2); }

/* ---------- Forms ---------- */
.form-card { background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); padding: clamp(22px, 4vw, 44px); }
.field { display: flex; flex-direction: column; gap: 7px; }
.field > span, .field legend { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.field .req { color: var(--terracotta); }
.input, .select, .textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #D6CBB8; border-radius: var(--radius-sm); background: #fff; color: var(--ink); font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.textarea { min-height: 130px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--lagoon); box-shadow: 0 0 0 3px rgba(31, 76, 79, .15); }
.field.is-invalid .input, .field.is-invalid .select, .field.is-invalid .textarea { border-color: #B3261E; }
.field__err { font-size: 13px; color: #B3261E; font-weight: 600; display: none; }
.field.is-invalid .field__err { display: block; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 12px; border: 0; padding: 0; margin: 0; }
.choice { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 16px; border: 1px solid #D6CBB8; border-radius: 12px; cursor: pointer; transition: border-color .2s, background-color .2s; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice::before { content: ''; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; border: 2px solid #B9AE9B; transition: all .2s; }
.choice:has(input:checked) { border-color: var(--terracotta); background: #FBF3EE; }
.choice:has(input:checked)::before { border: 6px solid var(--terracotta); }
.choice:has(input:focus-visible) { outline: 2px solid var(--brass); outline-offset: 2px; }
.choice strong { display: block; font-size: 15px; line-height: 1.3; }
.choice small { display: block; margin-top: 2px; color: var(--text-3); font-size: 13px; line-height: 1.4; }
.checkbox { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--text-2); cursor: pointer; }
.checkbox input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--terracotta); flex: none; }
.progress { display: flex; gap: 8px; list-style: none; margin-bottom: 26px; }
.progress li { flex: 1; display: flex; flex-direction: column; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.progress li::before { content: ''; height: 4px; border-radius: 4px; background: var(--line); transition: background-color .4s; }
.progress li.is-done::before, .progress li.is-current::before { background: var(--terracotta); }
.progress li.is-current { color: var(--ink); }
.form-step { display: none; flex-direction: column; gap: 22px; }
.form-step.is-active { display: flex; animation: rise .5s var(--ease) both; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; padding-top: 6px; }
.form-success { display: none; text-align: center; flex-direction: column; align-items: center; gap: 16px; padding: 20px 0; }
.form-success.is-active { display: flex; animation: rise .6s var(--ease) both; }
.form-success__ico { width: 76px; height: 76px; border-radius: 50%; background: #DCEBE7; color: var(--lagoon); display: grid; place-items: center; }
.form-success__ico svg { width: 36px; height: 36px; }
.summary { width: 100%; text-align: left; background: var(--chalk); border-radius: 12px; padding: 18px 20px; font-size: 14px; color: var(--text-2); white-space: pre-line; }

/* Contact cards */
.contact-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); text-decoration: none; color: var(--ink); transition: transform .3s var(--ease), box-shadow .3s; }
a.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); color: var(--ink); }
.contact-card__ico { flex: none; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--dune); color: var(--terracotta); }
.contact-card__ico svg { width: 22px; height: 22px; }
.contact-card small { display: block; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.contact-card strong { font-size: 17px; word-break: break-word; }

/* Map */
.map-frame { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); background: var(--dune); aspect-ratio: 16 / 10; position: relative; }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-consent { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; padding: 24px; background: linear-gradient(rgba(237, 227, 211, .9), rgba(237, 227, 211, .9)), url('../img/patterns/zellige.svg') 0 0 / 28px 28px; }
.distance-list { list-style: none; display: grid; gap: 0; }
.distance-list li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.distance-list strong { color: var(--terracotta-dark); white-space: nowrap; }

/* Rates table */
.rates { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); font-size: 15px; }
.rates th, .rates td { padding: 18px 20px; text-align: left; border-bottom: 1px solid #EEE6D8; vertical-align: top; }
.rates thead th { background: var(--ink); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.rates tbody tr:hover { background: #FCF9F4; }
.rates td:last-child, .rates th:last-child { text-align: right; }
.rates .rate-name { font-family: var(--f-serif); font-size: 22px; font-weight: 600; color: var(--ink); text-decoration: none; display: block; line-height: 1.15; }
.rates .rate-name:hover { color: var(--terracotta); }
.rates .rate-price { font-family: var(--f-serif); font-size: 28px; font-weight: 600; color: var(--terracotta-dark); white-space: nowrap; }
.rates .rate-ask { font-weight: 700; color: var(--lagoon); white-space: nowrap; }
@media (max-width: 760px) {
  .rates thead { display: none; }
  .rates, .rates tbody, .rates tr, .rates td { display: block; width: 100%; }
  .rates tr { padding: 14px 4px; border-bottom: 1px solid #EEE6D8; }
  .rates td { border: 0; padding: 4px 16px; text-align: left !important; }
  .rates td[data-label]::before { content: attr(data-label) ' · '; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
}

/* Itinerary */
.itinerary { list-style: none; display: grid; gap: 0; }
.itinerary li { display: grid; grid-template-columns: 92px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.itinerary .day { font-family: var(--f-serif); font-size: 22px; font-weight: 600; color: var(--terracotta); line-height: 1.1; }
.itinerary h3 { font-family: var(--f-sans); font-size: 17px; font-weight: 800; margin-bottom: 4px; }
.itinerary p { color: var(--text-2); font-size: 15.5px; }
@media (max-width: 560px) { .itinerary li { grid-template-columns: 1fr; gap: 6px; } }
.sticky-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.booking-box { background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); padding: 28px; display: flex; flex-direction: column; gap: 16px; border-top: 5px solid var(--terracotta); }
.booking-box .price strong { font-size: 40px; }
.booking-box .btn { width: 100%; }
.kv { list-style: none; display: grid; gap: 0; font-size: 15px; }
.kv li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid #EEE6D8; }
.kv li span:first-child { color: var(--text-3); }
.kv li span:last-child { font-weight: 700; text-align: right; }
.layout-aside { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 1000px) { .layout-aside { grid-template-columns: 1fr; } .sticky-aside { position: static; } }

/* Article */
.post-card { display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: var(--ink); }
.post-card:hover { color: var(--ink); }
.post-card .zoom { height: 240px; border-radius: 14px; }
.post-card__cat { font-size: 12px; font-weight: 800; letter-spacing: .14em; color: var(--terracotta-dark); text-transform: uppercase; }
.post-card__title { font-family: var(--f-serif); font-size: 27px; font-weight: 600; line-height: 1.15; transition: color .2s; }
.post-card:hover .post-card__title { color: var(--terracotta); }
.post-card__meta { font-size: 13px; color: var(--text-3); font-weight: 600; }
.toc { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.toc ol { padding-left: 1.2em; display: grid; gap: 8px; font-size: 15px; }
.toc a { color: var(--text-2); text-decoration: none; }
.toc a:hover { color: var(--terracotta); }

/* Riad block */
.riad { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.riad:nth-child(even) .riad__media { order: 2; }
@media (max-width: 900px) { .riad { grid-template-columns: 1fr; } .riad:nth-child(even) .riad__media { order: 0; } }
.riad__media { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; height: clamp(380px, 44vw, 540px); }
.riad__media > * { border-radius: 14px; overflow: hidden; }
.riad__media > :first-child { grid-row: span 2; border-radius: 200px 200px 14px 14px; }
.riad__media img { width: 100%; height: 100%; object-fit: cover; }
.amenities { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.amenities li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 600; }
.amenities svg { width: 16px; height: 16px; color: var(--terracotta); }

/* Place cards */
.place { display: grid; grid-template-columns: 1fr 1fr; border-radius: 20px; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.place:nth-child(even) .place__media { order: 2; }
.place__media { min-height: 380px; position: relative; }
.place__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.place__body { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.place__num { font-family: var(--f-serif); font-size: 64px; line-height: .8; color: var(--brass); font-weight: 500; }
@media (max-width: 800px) { .place { grid-template-columns: 1fr; } .place:nth-child(even) .place__media { order: 0; } .place__media { min-height: 260px; } }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 999px; background: var(--dune); color: var(--text-2); }

/* ---------- Home hero ---------- */
.hero { position: relative; min-height: max(680px, 100svh); display: flex; flex-direction: column; justify-content: center; color: #fff; overflow: hidden; background: var(--ink); isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; animation: kenburns 24s ease-out both; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 26, 30, .82) 0%, rgba(8, 26, 30, .45) 50%, rgba(8, 26, 30, .1) 100%), linear-gradient(0deg, rgba(8, 26, 30, .55), transparent 40%); }
.hero__inner { padding-top: calc(var(--header-h) + 48px); padding-bottom: 210px; display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; align-items: flex-start; }
.hero__copy { max-width: 720px; display: flex; flex-direction: column; gap: 24px; }
.hero .eyebrow { color: var(--brass-light); }
.hero .lead { color: #EEF3F2; font-size: clamp(17px, 1.6vw, 20px); max-width: 580px; }
.hero__script { font-family: var(--f-script); font-size: clamp(38px, 4.4vw, 58px); line-height: 1.05; color: #F3D9A4; transform: rotate(-8deg); text-align: right; animation: write 2.6s cubic-bezier(.4, 0, .2, 1) 1s both; text-shadow: 0 2px 6px rgba(8, 26, 30, .55), 0 4px 30px rgba(8, 26, 30, .6); align-self: flex-end; margin-bottom: -40px; }
.hero__badge { display: inline-flex; gap: 12px; align-items: center; font-size: 14px; font-weight: 600; color: #fff; text-decoration: none; }
.hero__badge img { width: 46px; height: 46px; border-radius: 50%; background: #fff; padding: 2px; }
.hero__badge .stars { color: var(--brass-light); letter-spacing: 2px; }
.watch { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-weight: 700; background: none; border: 0; cursor: pointer; padding: 0; }
.watch:hover { color: var(--brass-light); }
.watch__ring { width: 54px; height: 54px; border-radius: 50%; border: 1.5px solid #fff; display: grid; place-items: center; animation: pulse 2.2s ease-out infinite; }
.watch__ring svg { width: 16px; height: 16px; margin-left: 3px; }
.scroll-cue { position: absolute; left: 50%; bottom: 128px; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .6); border-radius: 14px; }
.scroll-cue::after { content: ''; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: scrollcue 1.8s ease-in-out infinite; }
@media (max-width: 900px) { .hero__script { display: none; } .scroll-cue { display: none; } }
@media (max-width: 760px) { .hero__inner { padding-bottom: 150px; } }

/* Availability bar */
.avail { position: relative; z-index: 5; margin-top: -130px; }
.avail form { background: #fff; border-radius: var(--radius); padding: 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; align-items: end; box-shadow: var(--shadow-lg); }
.avail .field > span { font-size: 12px; }
.avail .btn { min-height: 50px; border-radius: var(--radius-sm); width: 100%; }
@media (max-width: 760px) { .avail { margin-top: -90px; } .avail form { padding: 18px; } }

/* ---------- Motion ---------- */
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes write { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .55); } 100% { box-shadow: 0 0 0 26px rgba(255, 255, 255, 0); } }
@keyframes pulseGreen { 0% { box-shadow: 0 0 0 0 rgba(31, 143, 85, .55); } 100% { box-shadow: 0 0 0 20px rgba(31, 143, 85, 0); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes scrollcue { 0%, 100% { transform: translateY(0); opacity: 1; } 60% { transform: translateY(12px); opacity: 0; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes ride { from { transform: translateX(-200px); } to { transform: translateX(calc(100vw + 200px)); } }
@keyframes gallop { 0%, 100% { transform: translateY(0) rotate(0); } 25% { transform: translateY(-6px) rotate(-2deg); } 75% { transform: translateY(-2px) rotate(1.5deg); } }
@keyframes spinSlow { to { transform: rotate(360deg); } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.rise { animation: rise .9s var(--ease) both; }
.d1 { animation-delay: .1s; } .d2 { animation-delay: .25s; } .d3 { animation-delay: .45s; } .d4 { animation-delay: .65s; } .d5 { animation-delay: .85s; }
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--delay, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal-left.is-in { opacity: 1; transform: none; }
.reveal-zoom { opacity: 0; transform: scale(.94); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal-zoom.is-in { opacity: 1; transform: none; }
.no-js .reveal, .no-js .reveal-left, .no-js .reveal-zoom { opacity: 1; transform: none; }
.rider-run { position: absolute; bottom: 8px; left: 0; width: 120px; color: var(--ink); animation: ride 38s linear infinite; }
.rider-run svg { animation: gallop .6s ease-in-out infinite; transform-origin: 50% 100%; }
.star8 { animation: spinSlow 60s linear infinite; }
.floaty { animation: floaty 6s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .reveal-left, .reveal-zoom { opacity: 1; transform: none; }
  .marquee__track, .word-marquee__track { animation: none !important; }
  .rider-run { display: none; }
}

/* ---------- Ajustements mobile ---------- */
.hero__copy { min-width: 0; width: 100%; }
.drawer-lang { display: flex; gap: 8px; }
.drawer-lang a { flex: 1; text-align: center; padding: 10px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; font-weight: 700; }
.drawer-lang a[aria-current="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
@media (max-width: 560px) {
  .header-actions .lang-switch { display: none; }
  .brand-ar { font-size: 12px; }
}

/* =========================================================
   Immersion mesurée (désactivée avec prefers-reduced-motion)
   ========================================================= */
/* Barre de lecture aux deux couleurs de la marque */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120; background: linear-gradient(90deg, var(--brass), var(--terracotta)); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }

/* Parallaxe */
.hero__media, .page-hero__media { inset: -9% 0; }
[data-parallax] { transform: translate3d(0, var(--py, 0px), 0); will-change: transform; }
img[data-parallax] { transform: translate3d(0, var(--py, 0px), 0) scale(1.14); }

/* Lumière du couchant + grains de sable dorés dans le héros */
.hero > .container { position: relative; z-index: 1; }
.hero__particles { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.hero__glow { position: absolute; z-index: 0; pointer-events: none; width: 70vmax; height: 70vmax; right: -18vmax; top: -22vmax; border-radius: 50%; background: radial-gradient(circle, rgba(231, 194, 127, .32), rgba(181, 83, 47, .12) 40%, transparent 68%); mix-blend-mode: screen; animation: sunGlow 9s ease-in-out infinite alternate; }
@keyframes sunGlow { from { opacity: .55; transform: scale(.94); } to { opacity: 1; transform: scale(1.06); } }

/* Logo qui se dessine à l'arrivée */
.site-header .brand-mark path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: drawLine 1.6s var(--ease) .2s forwards; }
.site-header .brand-mark path:nth-child(2) { animation-delay: .7s; }
.site-header .brand-mark path:nth-child(3) { animation-delay: .9s; }
.site-header .brand-mark path:nth-child(4) { animation-delay: 1.1s; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }

/* Ornements qui se tracent */
.orn.draw path[pathLength] { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s var(--ease) .3s; }
.orn.draw.is-in path[pathLength] { stroke-dashoffset: 0; }

/* Titres révélés mot à mot */
.split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.split-words .w > span { display: inline-block; transform: translateY(108%); transition: transform .95s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.split-words.is-in .w > span { transform: none; }

/* Rideau Brass → Terracotta qui dévoile les photos */
.curtain { position: relative; overflow: hidden; }
.curtain::after { content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: linear-gradient(120deg, var(--brass), var(--terracotta)); transform-origin: 100% 50%; transition: transform 1.15s cubic-bezier(.77, 0, .18, 1) .1s; }
.curtain.is-in::after { transform: scaleX(0); }

/* Boutons magnétiques & cartes inclinables (souris uniquement) */
.btn--lg, .play-btn { translate: var(--mx, 0px) var(--my, 0px); transition: translate .25s var(--ease), background-color .25s, transform .25s var(--ease), box-shadow .25s; }
.card.card:hover { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px); box-shadow: var(--shadow-hover); }
.act-card.act-card:hover { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-4px); }

@media (prefers-reduced-motion: reduce) {
  [data-parallax], img[data-parallax] { transform: none !important; }
  .hero__glow, .hero__particles { display: none; }
}
@media (min-width: 761px) { .footer-bottom { padding-right: 96px; } }

/* =========================================================
   Touche marocaine, arabe & amazighe (berbère)
   ========================================================= */
[lang="zgh"], .tfng { font-family: 'Noto Sans Tifinagh', var(--f-sans); }
[lang="ar"] { font-family: var(--f-arabic); }

/* Zellige à étoile (khatam) sur les sections sombres */
.section--zellige::before { background: url('../img/patterns/zellige-star.svg') 0 0 / 72px 72px; opacity: .09; }
.section--ink, .section--lagoon { position: relative; }

/* Bandes kilim berbères */
.kilim { height: 22px; background: url('../img/patterns/kilim.svg') 0 0 / 72px 22px repeat-x; position: relative; z-index: 2; }
.section--ink::after, .section--lagoon::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 11px; background: url('../img/patterns/kilim.svg') 0 0 / 36px 11px repeat-x; pointer-events: none; z-index: 2; }

/* Mots arabes : à côté des sur-titres + grand filigrane calligraphié */
.sh { position: relative; }
.sh > :not(.ar-mark) { position: relative; z-index: 1; }
.ar-mark { position: absolute; top: -.62em; left: -.04em; z-index: 0; font-family: var(--f-arabic); font-weight: 700; font-size: clamp(88px, 11vw, 168px); line-height: 1; color: var(--terracotta); opacity: .085; pointer-events: none; white-space: nowrap; }
.center > .ar-mark { left: 50%; transform: translateX(-50%); }
.section--ink .ar-mark, .section--lagoon .ar-mark, .media-split__body.sh .ar-mark { opacity: .1; }
.section--ink .ar-mark, .section--lagoon .ar-mark { color: var(--brass-light); }
.eyebrow-ar { font-family: var(--f-arabic); font-weight: 700; font-size: 22px; line-height: 1; letter-spacing: 0; text-transform: none; color: var(--brass); margin-left: 12px; padding-left: 12px; border-left: 1px solid currentColor; }
.section--ink .eyebrow-ar, .section--lagoon .eyebrow-ar { color: var(--brass-light); }

/* Calligraphie dans les en-têtes de page + remparts de kasbah */
.hero-ar { position: absolute; z-index: 1; right: max(24px, calc((100vw - var(--container)) / 2)); bottom: 52px; font-family: var(--f-arabic); font-weight: 700; font-size: clamp(64px, 9vw, 140px); line-height: 1; color: rgba(231, 194, 127, .55); text-shadow: 0 4px 30px rgba(8, 26, 30, .5); pointer-events: none; animation: rise 1.2s var(--ease) .6s both; }
.kasbah-edge { position: absolute; left: 0; right: 0; bottom: -1px; display: block; z-index: 2; }
@media (max-width: 760px) { .hero-ar { top: calc(var(--header-h) + 14px); bottom: auto; font-size: 46px; opacity: .8; } }

/* Salutation trilingue : amazighe · arabe · français/anglais */
.greet { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; color: var(--brass-light); font-size: 15px; font-weight: 700; letter-spacing: .08em; text-shadow: 0 1px 10px rgba(8, 26, 30, .6); }
.greet [lang="ar"] { font-size: 30px; line-height: 1; letter-spacing: 0; font-weight: 700; }
.greet .tfng { font-size: 21px; letter-spacing: .12em; }
.greet i { font-style: normal; font-size: 8px; opacity: .7; }
.tri-greet { font-size: 19px; letter-spacing: .1em; }
.tri-greet [lang="ar"] { font-size: 28px; letter-spacing: 0; }

/* Arcs marocains : photos des cartes et cartes d'activités */
.pkg-card__media { margin: 10px 10px 0; border-radius: 200px 200px 10px 10px / 110px 110px 10px 10px; }
.pkg-card__badge { top: auto; bottom: 12px; left: 12px; }
.act-card { border-radius: 130px 130px 14px 14px / 90px 90px 14px 14px; }

/* Lanternes marocaines */
.lantern, .section--zellige > .lantern { position: absolute; z-index: 2; pointer-events: none; transform-origin: 50% 0; animation: lanternSwing 5.5s ease-in-out infinite; animation-delay: var(--d, 0s); }
.lantern svg { position: relative; z-index: 1; display: block; width: 100%; height: auto; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .3)); }
.lantern__glow { position: absolute; left: 50%; top: 66%; width: 260%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(255, 214, 140, .5), rgba(240, 176, 74, .14) 42%, transparent 70%); animation: lanternGlow 3.4s ease-in-out infinite alternate; animation-delay: var(--d, 0s); }
@keyframes lanternSwing { 0%, 100% { transform: rotate(-3.5deg); } 50% { transform: rotate(3.5deg); } }
@keyframes lanternGlow { from { opacity: .55; } to { opacity: 1; } }
#activities { padding-top: 190px; }
@media (max-width: 760px) { .lantern { display: none; } #activities { padding-top: var(--section-y); } }

/* Rosace de zellige */
.rosette, .section--zellige > .rosette { position: absolute; pointer-events: none; animation: spinSlow 120s linear infinite; z-index: 0; }

/* CTA final & footer calligraphiés */
.cta-final__inner { position: relative; z-index: 1; }
.cta-ar { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%); font-family: var(--f-arabic); font-weight: 700; font-size: clamp(110px, 17vw, 270px); line-height: 1; color: rgba(255, 255, 255, .07); white-space: nowrap; pointer-events: none; }
.footer-ar { display: flex; justify-content: space-between; align-items: center; gap: 24px; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 36px var(--gutter) 0; font-size: clamp(36px, 6vw, 80px); line-height: 1.25; color: var(--brass); opacity: .22; }
.footer-ar [lang="ar"] { font-weight: 700; }
.footer-ar .tfng { font-size: clamp(28px, 4vw, 54px); letter-spacing: .14em; }
@media (prefers-reduced-motion: reduce) { .lantern, .lantern__glow, .rosette { animation: none !important; } }

.deposit-note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: #FBF3EE; border: 1px dashed var(--terracotta); font-size: 14px; color: var(--text-2); line-height: 1.45; }
.deposit-note svg { color: var(--terracotta); flex: none; margin-top: 1px; }
.deposit-note strong { color: var(--terracotta-dark); }

/* Lisibilité des textes sur fonds sombres (cartes, listes, textes secondaires) */
.section--ink .tile p, .section--lagoon .tile p,
.section--ink .muted, .section--lagoon .muted,
.section--ink .prose, .section--lagoon .prose { color: #D9E3E1; }
.section--ink .tile, .section--lagoon .tile { border: 1px solid rgba(231, 194, 127, .14); }
.split-words .w { padding-top: .14em; margin-top: -.14em; }

/* ---------- Réservation de groupe : lignes package × personnes + panier ---------- */
.bk-lines { display: grid; gap: 12px; }
.bk-line { display: grid; grid-template-columns: minmax(0, 1fr) auto 110px 44px; gap: 14px; align-items: end; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #FCFAF6; animation: rise .4s var(--ease) both; }
.bk-line .select { min-height: 50px; }
.bk-line__sub { font-family: var(--f-serif); font-size: 24px; font-weight: 600; color: var(--terracotta-dark); text-align: right; align-self: center; padding-top: 22px; white-space: nowrap; }
.bk-line__rm { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--text-3); cursor: pointer; display: grid; place-items: center; margin-bottom: 3px; transition: all .2s; }
.bk-line__rm:hover:not(:disabled) { border-color: var(--terracotta); color: var(--terracotta); }
.bk-line__rm:disabled { opacity: .3; cursor: not-allowed; }
.stepper { display: flex; align-items: center; border: 1px solid #D6CBB8; border-radius: 999px; background: #fff; height: 50px; }
.stepper button { width: 44px; height: 48px; border: 0; background: none; cursor: pointer; color: var(--terracotta); display: grid; place-items: center; border-radius: 999px; }
.stepper button:hover { background: var(--dune); }
.stepper output { min-width: 28px; text-align: center; font-weight: 800; font-size: 17px; }
.bk-add { align-self: flex-start; border-style: dashed; }
.bk-add:disabled { opacity: .4; cursor: not-allowed; }
.bk-cart { background: var(--ink); color: #fff; border-radius: 16px; padding: 20px 22px; background-image: linear-gradient(rgba(14, 42, 47, .94), rgba(14, 42, 47, .94)), url('../img/patterns/zellige-star.svg'); background-size: auto, 72px 72px; }
.bk-cart .eyebrow { color: var(--brass-light); }
.bk-cart__lines { list-style: none; display: grid; gap: 6px; padding-bottom: 12px; margin-bottom: 4px; border-bottom: 1px dashed rgba(231, 194, 127, .35); font-size: 15px; color: #D9E3E1; }
.bk-cart__lines li, .bk-cart__row { display: flex; justify-content: space-between; gap: 16px; }
.bk-cart__row { padding: 8px 0; align-items: baseline; }
.bk-cart__row small { display: block; font-size: 12px; color: #B9C9C6; }
.bk-cart__row strong { font-family: var(--f-serif); font-size: 22px; font-weight: 600; white-space: nowrap; }
.bk-cart__total strong { font-size: 32px; color: var(--brass-light); }
.bk-cart .muted { color: #B9C9C6; }
@media (max-width: 640px) {
  .bk-line { grid-template-columns: auto 1fr 44px; }
  .bk-line__pkg { grid-column: 1 / -1; }
  .bk-line__sub { padding-top: 22px; }
}



/* =========================================================
   Logo officiel — médaillon en arche marocaine
   ========================================================= */
.logo-badge { flex: none; display: grid; place-items: center; background: var(--chalk); border: 2px solid var(--brass); border-radius: 50% 50% 10px 10px / 40% 40% 10px 10px; box-shadow: 0 6px 18px rgba(8, 26, 30, .28), inset 0 0 0 3px var(--chalk), inset 0 0 0 4px rgba(196, 154, 74, .45); transition: transform .4s var(--ease), box-shadow .4s, width .35s var(--ease), height .35s var(--ease); animation: badgeIn .9s var(--ease) .15s both; }
.logo-badge img { display: block; width: 100%; height: 100%; object-fit: contain; }
.logo-badge--emblem { width: 70px; height: 80px; padding: 9px 6px 5px; }
.brand:hover .logo-badge { transform: translateY(-2px) rotate(-2deg); box-shadow: 0 10px 24px rgba(8, 26, 30, .32), inset 0 0 0 3px var(--chalk), inset 0 0 0 4px rgba(196, 154, 74, .45); }
.site-header.is-solid .logo-badge--emblem { width: 60px; height: 69px; padding: 7px 5px 4px; box-shadow: 0 3px 10px rgba(14, 42, 47, .14), inset 0 0 0 3px var(--chalk), inset 0 0 0 4px rgba(196, 154, 74, .45); }
.logo-badge--sm { width: 50px; height: 58px; padding: 6px 4px 3px; animation: none; }
.brand-sub { display: block; margin-top: 6px; font-family: var(--f-serif); font-size: 12px; font-weight: 600; letter-spacing: .42em; color: var(--brass-light); transition: color .35s; }
.is-solid .brand-sub, .is-plain .brand-sub, .drawer .brand-sub { color: var(--terracotta); }
.footer-logo { display: inline-block; align-self: flex-start; }
.logo-badge--full { width: 178px; height: 214px; padding: 26px 14px 12px; border-radius: 50% 50% 16px 16px / 36% 36% 16px 16px; box-shadow: 0 14px 40px rgba(0, 0, 0, .35), inset 0 0 0 4px var(--chalk), inset 0 0 0 5px rgba(196, 154, 74, .5); animation: none; }
.footer-logo:hover .logo-badge--full { transform: translateY(-3px); }
@keyframes badgeIn { from { opacity: 0; transform: translateY(-10px) scale(.9); } to { opacity: 1; transform: none; } }
@media (max-width: 420px) { .logo-badge--emblem { width: 56px; height: 64px; padding: 7px 5px 4px; } .brand-sub { letter-spacing: .3em; font-size: 11px; } }
@media (prefers-reduced-motion: reduce) { .logo-badge { animation: none; } }

/* Logo seul (sans texte) : médaillon plus grand, suspendu sous la barre */
.site-header .brand { align-self: flex-start; padding-top: 8px; }
.site-header .logo-badge--emblem { width: 86px; height: 98px; padding: 11px 8px 6px; }
.site-header.is-solid .logo-badge--emblem { width: 66px; height: 76px; padding: 8px 6px 5px; }
.drawer .logo-badge--sm { width: 58px; height: 66px; }
@media (max-width: 760px) {
  .site-header .brand { padding-top: 6px; }
  .site-header .logo-badge--emblem { width: 66px; height: 76px; padding: 8px 6px 5px; }
  .site-header.is-solid .logo-badge--emblem { width: 56px; height: 64px; }
}

/* Logo complet (avec « RANCH COASTLINE MOROCCO ») dans l'en-tête : médaillon suspendu */
.site-header .logo-badge--header { width: 112px; height: 132px; padding: 16px 9px 7px; border-radius: 50% 50% 14px 14px / 34% 34% 14px 14px; animation: badgeIn .9s var(--ease) .15s both; }
.site-header.is-solid .logo-badge--header { width: 80px; height: 94px; padding: 11px 6px 5px; }
.logo-badge--drawer { width: 70px; height: 82px; padding: 10px 5px 4px; border-radius: 50% 50% 10px 10px / 34% 34% 10px 10px; box-shadow: 0 4px 12px rgba(14, 42, 47, .15), inset 0 0 0 3px var(--chalk), inset 0 0 0 4px rgba(196, 154, 74, .45); }
.drawer-head { padding-block: 10px; }
@media (max-width: 760px) {
  .site-header .logo-badge--header { width: 80px; height: 94px; padding: 11px 6px 5px; }
  .site-header.is-solid .logo-badge--header { width: 66px; height: 78px; padding: 9px 5px 4px; }
}
.site-header.is-solid .logo-badge--header { width: 92px; height: 108px; padding: 13px 7px 6px; }
@media (min-width: 761px) {
  .page-hero__inner { padding-top: calc(var(--header-h) + 96px); }
  .hero__inner { padding-top: calc(var(--header-h) + 76px); }
}
@media (max-width: 760px) {
  .site-header.is-solid .logo-badge--header { width: 70px; height: 82px; padding: 10px 5px 4px; }
  .page-hero__inner { padding-top: calc(var(--header-h) + 70px); }
}
