/* Tajine House — maquette de démonstration
   Base : jetons de la fiche Refero « Amrit Palace » (fond sombre atmosphérique, titres serif ultra-légers à très grande échelle,
   un seul accent safran, filets de 1 px, angles droits, sections éditoriales), transformés : nuit indigo + or de safran + parchemin,
   Cormorant Garamond + Jost, étoile de zellige qui tourne avec le défilement comme signature. */

@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 300 600; font-display: swap; src: url("fonts/cormorant.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 300 500; font-display: swap; src: url("fonts/cormorant-italic.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("fonts/jost.woff2") format("woff2"); }

:root {
  --nuit: #0b2a55;
  --nuit-2: #123a70;
  --or: #efe3c8;
  --or-fonce: #0b4a94;
  --parchemin: #efe3cc;
  --lin: #f7efe0;
  --encre: #1a1a24;
  --gris: #54514c;
  --accent: #efe3c8;
  --on-accent: #0b2a55;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Jost", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: 20px;
  --page-max-width: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--lin); color: var(--encre); font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.7; overflow-x: hidden; padding-bottom: 68px; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 300; line-height: 1.02; margin: 0; }
h1 i, .brand i { font-style: italic; }
:focus-visible { outline: 3px solid var(--or); outline-offset: 3px; }
.wrap { width: 100%; max-width: var(--page-max-width); margin: 0 auto; padding: 0 var(--gutter); }
.demo-bar { background: var(--or); color: var(--nuit); font-size: 0.8125rem; font-weight: 500; text-align: center; padding: 7px var(--gutter); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; font-weight: 500; font-size: 0.95rem; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; border: 1px solid transparent; border-radius: 3px; transition: background-color 0.2s, color 0.2s, transform 0.18s; }
.btn-or { background: var(--or); color: var(--nuit); }
.btn-or:hover { background: #fff6e0; }
.btn-ligne { border-color: rgba(239, 227, 204, 0.6); color: var(--parchemin); }
.btn-ligne:hover { background: var(--parchemin); color: var(--nuit); }

.site-header { position: sticky; top: 0; z-index: 30; background: rgba(11, 42, 85, 0.96); color: var(--parchemin); border-bottom: 1px solid rgba(239, 227, 200, 0.35); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 66px; }
.brand { font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; text-decoration: none; letter-spacing: 0.02em; }
.head-links { display: none; gap: 28px; }
.head-links a { text-decoration: none; font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; padding: 8px 2px; }
.head-links a:hover { color: var(--or); }
.bar .btn { min-height: 42px; padding: 0 18px; font-size: 0.8rem; }

.eyebrow { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase; color: var(--or); margin: 0 0 18px; }
.eyebrow.dark { color: var(--or-fonce); }

.hero { position: relative; overflow: hidden; background: var(--nuit); color: var(--parchemin); padding: 72px 0 84px; }
.etoile { position: absolute; right: -90px; top: 50%; width: 420px; height: 420px; margin-top: -210px; color: var(--or); opacity: 0.2; transform: rotate(var(--rot, 0deg)); transition: transform 0.15s linear; pointer-events: none; }
.hero-in { position: relative; }
.hero h1 { font-size: clamp(3.6rem, 16vw, 7.5rem); font-weight: 300; letter-spacing: -0.01em; }
.lead { font-size: 1.15rem; max-width: 46ch; margin: 24px 0 28px; color: #d9d6cc; font-weight: 300; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

section { padding: 70px 0; }
.hero { padding: 72px 0 84px; }
.section-head { max-width: 58ch; margin-bottom: 30px; }
.section-head h2 { font-size: clamp(2.4rem, 8vw, 4rem); }
.section-head p { color: var(--gris); margin: 14px 0 0; font-weight: 300; }

.spec { display: flex; flex-wrap: wrap; gap: 0; border-bottom: 1px solid var(--encre); }
.spec button { min-height: 48px; padding: 0 20px; border: 0; border-bottom: 3px solid transparent; background: transparent; font: inherit; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.85rem; cursor: pointer; color: var(--gris); transition: color 0.2s, border-color 0.2s; }
.spec button:hover { color: var(--encre); }
.spec button[aria-selected="true"] { color: var(--encre); border-bottom-color: var(--or); }
.panels { padding: 30px 0 6px; max-width: 62ch; }
.panel h3 { font-size: clamp(2rem, 6vw, 3rem); margin-bottom: 12px; }
.panel p { margin: 0; font-weight: 300; font-size: 1.15rem; }
.panel { animation: apparait 0.5s ease; }
@keyframes apparait { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.note { margin: 26px 0 0; font-weight: 500; }
.note a { text-decoration-color: var(--or); text-underline-offset: 4px; }

.lieu { background: var(--nuit); color: var(--parchemin); }
.lieu .section-head h2 { color: var(--parchemin); }
.services { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid rgba(239, 227, 204, 0.3); }
.services li { padding: 16px 0; border-bottom: 1px solid rgba(239, 227, 204, 0.3); font-size: 1.05rem; display: flex; align-items: center; gap: 14px; }
.services li::before { content: ""; width: 8px; height: 8px; background: var(--or); transform: rotate(45deg); flex: none; }

.avis { background: var(--parchemin); }
.reviews { display: grid; gap: 0; border-top: 1px solid var(--encre); }
.review { margin: 0; padding: 26px 0; border-bottom: 1px solid var(--encre); }
.review blockquote { margin: 0 0 12px; font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; line-height: 1.2; }
.review figcaption { font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--or-fonce); font-weight: 500; }

.venir { background: var(--nuit-2); color: var(--parchemin); }
.venir-grid { display: grid; gap: 40px; }
.venir h2 { font-size: clamp(2.2rem, 7.5vw, 3.4rem); margin-bottom: 18px; }
address { font-style: normal; margin-bottom: 10px; }
.tel { font-family: var(--font-display); font-size: 2.2rem; text-decoration: none; }
.mail { color: var(--or); }
.h-hours { font-size: 1.8rem; margin-bottom: 12px; }
.hours { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(239, 227, 204, 0.35); }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid rgba(239, 227, 204, 0.25); font-size: 0.97rem; }
.hours li span:first-child { font-weight: 500; }
.hours li span:last-child { text-align: right; color: #d3cfc3; }
.hours .closed { color: var(--or); }
.small { font-size: 0.85rem; color: #aeb2bd; margin: 12px 0 0; }

.site-footer { background: var(--nuit); color: #c2c6d0; padding: 36px 0 28px; }
.site-footer b { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; color: var(--parchemin); }
.site-footer p { margin: 8px 0 0; font-size: 0.9rem; }
.demo-note { font-size: 0.82rem; color: #98a0b0; max-width: 70ch; }

.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px; background: var(--nuit); border-top: 1px solid rgba(239, 227, 200, 0.4); }
.callbar a { display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 3px; text-decoration: none; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.85rem; background: var(--or); color: var(--nuit); }
.callbar a + a { background: transparent; border: 1px solid rgba(239, 227, 204, 0.6); color: var(--parchemin); }

@media (min-width: 820px) {
  body { padding-bottom: 0; }
  .callbar { display: none; }
  .head-links { display: flex; }
  .hero { padding: 120px 0 130px; }
  .etoile { right: 2%; width: 560px; height: 560px; margin-top: -280px; }
  section { padding: 100px 0; }
  .services { grid-template-columns: 1fr 1fr; column-gap: 56px; }
  .reviews { grid-template-columns: repeat(3, 1fr); border-top: 0; gap: 36px; }
  .review { border-top: 1px solid var(--encre); border-bottom: 0; }
  .venir-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .etoile { transition: none; } .panel { animation: none; } }

/* Détails interactifs discrets (modèle commun du skill) */
.js-reveal .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js-reveal .reveal.in { opacity: 1; transform: none; }
.site-header { transition: box-shadow 0.25s ease; }
.site-header.scrolled { box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35); }
.head-links a[aria-current="true"] { box-shadow: inset 0 -2px 0 var(--or); }
.btn:hover { transform: translateY(-2px); }
