/* ==========================================================================
   Natan Elias Hair Boutique — light editorial / professional
   Palette claire warm-neutral : bone, crème, anthracite, accent caramel.
   ========================================================================== */

:root {
  --paper: #f4f1ea;        /* fond bone chaud            */
  --paper-2: #eae3d6;      /* bande légèrement plus foncée */
  --card: #ffffff;
  --ink: #1d1a15;          /* texte principal anthracite */
  --ink-soft: #55504a;     /* texte secondaire           */
  --muted: #8b8377;        /* texte tertiaire            */
  --line: #e2dbcd;
  --line-2: #d3caba;
  --accent: #9a6a38;       /* caramel/bronze (contraste ok sur clair) */
  --accent-deep: #7c5327;
  --whatsapp: #1fab54;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: 'Suez One', 'Frank Ruhl Libre', Georgia, serif; /* grands titres, fort caractère */
  --font-head: 'Frank Ruhl Libre', Georgia, serif;                /* serif raffiné secondaire      */
  --font-body: 'Assistant', 'Heebo', system-ui, sans-serif;       /* corps de texte moderne        */
}

* { margin: 0; padding: 0; box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--ink); color: var(--paper); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ------------------------------------------------------------- buttons -- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.9rem 1.9rem;
  font-weight: 500;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 4px;
  min-height: 50px;
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform 0.3s var(--ease); }
.btn:active { transform: scale(0.98); }

.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid:hover { background: #000; transform: translateY(-1px); }

.btn--gold {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff;
  box-shadow: 0 10px 26px rgba(122, 83, 39, 0.24);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(122, 83, 39, 0.32); }

.btn--outline {
  background: transparent;
  border-color: var(--line-2);
  color: var(--ink);
}
.btn--outline:hover { border-color: var(--ink); background: rgba(29, 26, 21, 0.03); }

.btn--whatsapp { background: var(--whatsapp); color: #fff; }
.btn--whatsapp:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(31, 171, 84, 0.3); }

.btn--lg { padding: 1.05rem 2.3rem; }
.btn--nav { padding: 0.55rem 1.4rem; min-height: 44px; font-size: 0.9rem; }

/* brillance qui balaie le bouton principal */
.btn--shine { position: relative; overflow: hidden; }
.btn--shine::after {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-20deg);
  animation: btnShine 5s ease-in-out infinite;
}
@keyframes btnShine { 0%, 62% { left: -60%; } 100% { left: 140%; } }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--accent);
  font-weight: 500;
  font-size: 0.98rem;
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 0.4rem;
  transition: color 0.3s, border-color 0.3s;
}
.link-arrow svg { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.link-arrow:hover { color: var(--accent-deep); border-color: var(--accent); }
.link-arrow:hover svg { transform: translateX(-5px); }

/* ----------------------------------------------------------------- nav -- */
.nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.nav--solid {
  background: rgba(244, 241, 234, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}
.nav__inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0.85rem 2rem;
}
.nav__brand { display: flex; align-items: center; gap: 0.85rem; }
.nav__logo { width: 52px; height: 52px; border-radius: 50%; }
.nav__name {
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.2em;
  font-size: 1rem;
  line-height: 1.3;
  display: flex;
  flex-direction: column;
  direction: ltr;
  color: var(--ink);
}
.nav__name em {
  font-style: normal;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.56rem;
  letter-spacing: 0.4em;
  color: var(--muted);
}
.nav__links { display: flex; gap: 2rem; margin-inline-start: auto; font-weight: 500; font-size: 0.98rem; }
.nav__links a { position: relative; padding: 0.3rem 0; color: var(--ink-soft); transition: color 0.25s; }
.nav__links a::after {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform 0.35s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); }

.nav__burger { display: none; flex-direction: column; justify-content: center; gap: 6px; background: none; border: 0; padding: 12px 8px; cursor: pointer; }
.nav__burger span { width: 26px; height: 2px; background: var(--ink); transition: transform 0.35s var(--ease); }
.nav__mobile {
  display: none;
  flex-direction: column;
  padding: 0.5rem 2rem 2rem;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.nav__mobile a { padding: 1rem 0; font-size: 1.15rem; font-family: var(--font-head); border-bottom: 1px solid var(--line); color: var(--ink); }
.nav__mobile a.btn { justify-content: center; margin-top: 1.2rem; border-bottom: 0; font-family: var(--font-body); }

@media (max-width: 940px) {
  .nav__inner { padding: 0.75rem 1.25rem; }
  .nav__links, .btn--nav { display: none; }
  .nav__burger { display: flex; margin-inline-start: auto; }
  .nav--open { background: var(--paper); }
  .nav--open .nav__mobile { display: flex; }
  .nav--open .nav__burger span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
  .nav--open .nav__burger span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
}

/* ---------------------------------------------------------------- hero -- */
.hero {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
}
.hero__panel {
  display: flex;
  align-items: center;
  padding: 7rem 3.5rem 3rem;
  background: var(--paper);
}
.hero__panel-inner { max-width: 30rem; margin-inline-start: auto; }
.hero__emblem { width: 118px; height: 118px; border-radius: 50%; margin-bottom: 2rem; }
.hero__kicker {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  margin-bottom: 1.4rem;
}
.hero__kicker::before { content: ''; width: 40px; height: 1px; background: var(--accent); opacity: 0.7; }
.hero__title { font-family: var(--font-display); margin-bottom: 1.8rem; }
.hero__title-main {
  display: block;
  font-size: clamp(3rem, 6.5vw, 5.4rem);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.01em;
  color: var(--ink);
  direction: ltr;
  text-align: right;
}
.hero__title-sub {
  display: block;
  font-family: var(--font-body);
  font-size: clamp(0.8rem, 1.6vw, 1rem);
  font-weight: 400;
  letter-spacing: 0.55em;
  color: var(--muted);
  margin-top: 1.1rem;
  direction: ltr;
  text-align: right;
}
.hero__text { max-width: 28rem; color: var(--ink-soft); font-size: 1.1rem; margin-bottom: 2.4rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.hero__visual { position: relative; overflow: hidden; background: var(--paper-2); }

/* sceau rotatif — CTA élégant sur la photo */
.hero__seal {
  position: absolute;
  left: 2.2rem;
  bottom: 2.2rem;
  width: 138px;
  height: 138px;
  display: grid;
  place-items: center;
  z-index: 3;
}
.hero__seal::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3);
  transition: transform 0.4s var(--ease);
}
.hero__seal:hover::before { transform: scale(1.05); }
.hero__seal-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: sealSpin 16s linear infinite;
}
.hero__seal-ring text {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.6px;
  fill: var(--paper);
  direction: ltr;
  text-transform: uppercase;
}
.hero__seal-core {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}
.hero__seal-core svg { width: 20px; height: 20px; }
.hero__seal:hover .hero__seal-core { transform: scale(1.12); background: var(--accent-deep); }
@keyframes sealSpin { to { transform: rotate(-360deg); } }
@media (max-width: 940px) { .hero__seal { display: none; } }
.hero__img {
  position: absolute;
  inset: 0;
  background: url('/img/hero-light.webp') center / cover no-repeat;
  transform: scale(1.04);
  animation: heroZoom 18s var(--ease) forwards;
  will-change: transform;
}
@keyframes heroZoom { from { scale: 1.12; } to { scale: 1.04; } }

@media (max-width: 940px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero__visual { order: -1; height: 42vh; min-height: 300px; }
  .hero__img { animation: none; transform: none; }
  .hero__panel { padding: 2.5rem 1.5rem 3rem; }
  .hero__panel-inner { max-width: none; margin: 0; }
  .hero__emblem { width: 92px; height: 92px; margin-bottom: 1.4rem; }
}

/* -------------------------------------------------------------- marquee -- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--ink); padding: 1.05rem 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.marquee__track span {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--paper);
  white-space: nowrap;
}
.marquee__track i { font-style: normal; color: var(--accent); margin: 0 1.5rem; font-size: 0.8rem; }
@keyframes marquee { to { transform: translateX(50%); } }

/* -------------------------------------------------------------- sections -- */
.section { padding: 7.5rem 0; }
.section__inner { max-width: 1320px; margin: 0 auto; padding: 0 2rem; }
.section__inner--wide { max-width: 1500px; }
.section__kicker { margin-bottom: 1.1rem; }
.section__kicker i {
  font-style: normal;
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.28em;
}
.section__kicker i::before { content: ''; width: 32px; height: 1px; background: var(--accent); opacity: 0.7; }
.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.3vw, 3.2rem);
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: -0.01em;
  margin-bottom: 2.6rem;
  max-width: 20ch;
  color: var(--ink);
}

/* --------------------------------------------------------------- values -- */
.values { background: var(--card); border-block: 1px solid var(--line); }
.values__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; padding-block: 4.5rem; }
.value { padding: 0 2.6rem; }
.value + .value { border-inline-start: 1px solid var(--line); }
.value__num { font-family: var(--font-head); font-size: 0.85rem; color: var(--accent); letter-spacing: 0.1em; direction: ltr; }
.value__icon { width: 34px; height: 34px; color: var(--accent); margin: 1.1rem 0 1.2rem; }
.value h3 { font-family: var(--font-head); font-size: 1.4rem; font-weight: 600; margin-bottom: 0.7rem; color: var(--ink); }
.value p { color: var(--ink-soft); font-size: 0.98rem; }

@media (max-width: 820px) {
  .values__grid { grid-template-columns: 1fr; gap: 2.5rem; padding-block: 3.5rem; }
  .value { padding: 0 1.5rem; }
  .value + .value { border-inline-start: 0; border-top: 1px solid var(--line); padding-top: 2.5rem; }
}

/* ---------------------------------------------------------------- about -- */
.about { background: var(--paper); }
.about__grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 5rem; align-items: center; }
.about__media { position: relative; }
.about__img-wrap { position: relative; border-radius: 6px; overflow: hidden; box-shadow: 0 30px 60px rgba(29, 26, 21, 0.14); }
/* height:auto est indispensable : sans lui l'attribut height= du <img> gagne
   sur aspect-ratio et la photo prend sa hauteur intrinsèque. */
.about__img-wrap img { aspect-ratio: 3 / 4; height: auto; object-fit: cover; width: 100%; transition: transform 1.2s var(--ease); }
.about__media:hover .about__img-wrap img { transform: scale(1.03); }
.about__badge {
  position: absolute;
  top: -22px;
  inset-inline-end: -22px;
  background: var(--paper);
  border-radius: 50%;
  padding: 10px;
  box-shadow: 0 14px 30px rgba(29, 26, 21, 0.16);
}
.about__badge img { width: 66px; height: 66px; border-radius: 50%; }
/* 2e photo : vignette du salon qui déborde en bas, composition éditoriale */
.about__img-wrap--sub {
  position: absolute;
  bottom: -2.8rem;
  inset-inline-end: -3rem;
  width: 46%;
  border: 6px solid var(--paper);
  border-radius: 8px;
  box-shadow: 0 22px 46px rgba(29, 26, 21, 0.2);
}
.about__img-wrap--sub img { aspect-ratio: 4 / 3; }
.about__text { color: var(--ink-soft); font-size: 1.1rem; margin-bottom: 2rem; max-width: 54ch; white-space: pre-line; }
.about__quote {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.5;
  padding: 1.4rem 0;
  margin-bottom: 2rem;
  border-block: 1px solid var(--line);
  max-width: 32ch;
}
.about__quote-mark { color: var(--accent); font-size: 2rem; font-family: var(--font-head); margin-inline-end: 0.3rem; line-height: 0; }

@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .about__media { max-width: 440px; margin: 0 auto 3rem; }
}
@media (max-width: 560px) {
  .about__img-wrap--sub { bottom: -1.6rem; inset-inline-end: -0.8rem; width: 52%; border-width: 5px; }
  .about__badge { top: -14px; inset-inline-end: -12px; }
  .about__badge img { width: 54px; height: 54px; }
  .about__media { margin-bottom: 2rem; }
}

/* ---------------------------------------------------------------- vidéo -- */
/* Bande sombre entre « אודות » (paper) et « מחירון » (blanc) : la vidéo
   verticale ressort, même rythme que le marquee déjà en --ink. */
.vid {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  --accent-on-dark: #d1a068;
}
.vid::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 70% at 20% 50%, rgba(154, 106, 56, 0.22), transparent 70%);
  pointer-events: none;
}
.vid__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 4.5rem;
  align-items: center;
}
.vid .section__title { color: var(--paper); }
.vid .section__kicker i { color: var(--accent-on-dark); }
.vid .section__kicker i::before { background: var(--accent-on-dark); }
.vid__text { color: rgba(244, 241, 234, 0.76); font-size: 1.1rem; max-width: 42ch; margin-bottom: 2.4rem; }
.vid__stage { display: flex; justify-content: center; }
.vid__frame {
  position: relative;
  width: min(320px, 78vw);
  aspect-ratio: 480 / 784;
  border-radius: 26px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55),
              0 0 0 1px rgba(244, 241, 234, 0.16),
              0 0 0 9px rgba(244, 241, 234, 0.05);
}
.vid__el { display: block; width: 100%; height: 100%; object-fit: cover; }
.vid__play {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.05) 55%);
  transition: opacity 0.35s var(--ease);
}
.vid__play[hidden] { display: none; }
.vid__play-btn {
  position: relative;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(6px);
  transition: transform 0.35s var(--ease), background 0.3s var(--ease);
}
.vid__play-btn::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.6);
  animation: playPulse 2.6s var(--ease) infinite;
}
@keyframes playPulse {
  0%   { transform: scale(1); opacity: 0.7; }
  70%  { transform: scale(1.45); opacity: 0; }
  100% { transform: scale(1.45); opacity: 0; }
}
.vid__play-btn svg { width: 26px; height: 26px; transform: translateX(2px); }
.vid__play:hover .vid__play-btn { transform: scale(1.07); background: rgba(255, 255, 255, 0.26); }
.vid__play-label {
  position: absolute;
  bottom: 1.5rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

@media (max-width: 940px) {
  .vid__grid { grid-template-columns: 1fr; gap: 3rem; }
}
/* cadre resserré sur mobile : la pile de boutons flottants (côté inline-start)
   ne doit pas recouvrir le coin de la vidéo ni ses contrôles natifs. */
@media (max-width: 640px) {
  .vid__stage { padding-inline-start: 76px; }
  .vid__frame { width: min(300px, 100%); }
  .vid__play-btn { width: 64px; height: 64px; }
  .vid__play-btn svg { width: 22px; height: 22px; }
}

/* -------------------------------------------------------------- services -- */
.services { background: var(--card); border-top: 1px solid var(--line); }
.services__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.services__menu { display: grid; grid-template-columns: 1fr 1fr; gap: 0 5rem; border-top: 1px solid var(--line); }
/* menu court (≤ 4 lignes) : une seule colonne centrée, pas de case vide */
.services__menu--short { grid-template-columns: 1fr; max-width: 760px; margin-inline: auto; }
.services__menu--short .menu-item { padding-block: 2.1rem; }
.menu-item {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.8rem 0.2rem;
  border-bottom: 1px solid var(--line);
  transition: padding 0.4s var(--ease);
  position: relative;
}
.menu-item::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 0; bottom: 0;
  width: 2px;
  background: var(--accent);
  transform: scaleY(0);
  transition: transform 0.4s var(--ease);
}
.menu-item:hover { padding-inline-start: 1rem; }
.menu-item:hover::before { transform: scaleY(1); }
.menu-item__head { display: flex; align-items: baseline; gap: 1rem; }
.menu-item__name { font-family: var(--font-head); font-weight: 600; font-size: 1.32rem; color: var(--ink); }
.menu-item__dots { flex: 1; border-bottom: 1px dotted var(--line-2); transform: translateY(-4px); }
.menu-item__price { color: var(--accent); font-weight: 600; font-size: 1.15rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.menu-item__desc { color: var(--ink-soft); font-size: 0.96rem; max-width: 46ch; }
.services__note { margin-top: 2.4rem; color: var(--muted); font-size: 0.9rem; }

@media (max-width: 860px) { .services__menu { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ atmosphere -- */
.atmos { position: relative; min-height: 66vh; display: flex; align-items: center; overflow: hidden; }
.atmos__bg { position: absolute; inset: 0; background: url('/img/atmos-light.webp') center / cover no-repeat fixed; }
.atmos__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(244,241,234,0.35), rgba(244,241,234,0.15)); }
.atmos__inner { position: relative; text-align: center; }
.atmos__quote {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.35;
  color: var(--ink);
  margin: 0 auto;
  text-shadow: 0 1px 30px rgba(255, 255, 255, 0.6);
}
@media (hover: none) { .atmos__bg { background-attachment: scroll; } }

/* --------------------------------------------------------------- gallery -- */
.gallery { background: var(--paper); }
.gallery .section__inner:first-child { padding-bottom: 0; }
/* masonry par colonnes : respecte le cadrage naturel des photos (pas de têtes coupées) */
.gallery__grid {
  columns: 4 260px;
  column-gap: 18px;
  margin-top: 1.8rem;
}
.gallery__item {
  position: relative;
  display: block;
  width: 100%;
  break-inside: avoid;
  margin-bottom: 18px;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--card);
  border: 0;
  padding: 0;
  border-radius: 10px;
  box-shadow: 0 10px 26px rgba(29, 26, 21, 0.08);
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}
.gallery__item img { width: 100%; height: auto; display: block; transition: transform 0.9s var(--ease); }
.gallery__item:hover { transform: translateY(-4px); box-shadow: 0 20px 46px rgba(29, 26, 21, 0.16); }
.gallery__item:hover img, .gallery__item:focus-visible img { transform: scale(1.05); }
.gallery__item::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px rgba(29, 26, 21, 0.06);
  pointer-events: none;
  z-index: 2;
}
.gallery__cap {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 1;
  padding: 2rem 1.1rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #fff;
  background: linear-gradient(to top, rgba(20, 17, 13, 0.78), transparent);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.gallery__item:hover .gallery__cap { opacity: 1; transform: none; }

@media (max-width: 900px) { .gallery__grid { columns: 2 200px; column-gap: 12px; } .gallery__item { margin-bottom: 12px; } }
@media (max-width: 460px) { .gallery__grid { columns: 2 140px; column-gap: 10px; } .gallery__item { margin-bottom: 10px; } }

/* ------------------------------------------------------------------- cta -- */
.cta { padding: 8.5rem 0; position: relative; overflow: hidden; background: var(--paper-2); border-block: 1px solid var(--line); }
.cta::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 55% 60% at 50% 120%, rgba(154, 106, 56, 0.12), transparent 70%); }
.cta__inner { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.cta__logo { width: 88px; height: 88px; border-radius: 50%; margin-bottom: 1.8rem; box-shadow: 0 14px 34px rgba(29, 26, 21, 0.12); }
.cta__title { font-family: var(--font-display); font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 400; line-height: 1.06; letter-spacing: -0.01em; margin-bottom: 1.3rem; color: var(--ink); }
.cta__text { color: var(--ink-soft); max-width: 34rem; font-size: 1.12rem; margin-bottom: 2.8rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; }

/* --------------------------------------------------------------- contact -- */
.contact { background: var(--paper); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; }
.hours { display: flex; flex-direction: column; max-width: 27rem; }
.hours > div { display: flex; justify-content: space-between; gap: 2rem; padding: 1.1rem 0.2rem; border-bottom: 1px solid var(--line); }
.hours dt { font-weight: 500; }
/* isolate LTR : sinon le bidi RTL inverse la plage et « 16:00 — 20:00 »
   s'affiche « 20:00 — 16:00 ». « סגור » reste correct (run RTL isolé). */
.hours dd { color: var(--accent); font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; }
.contact__cards { display: flex; flex-direction: column; gap: 0.9rem; }
.ccard {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.05rem 1.2rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
a.ccard:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(29, 26, 21, 0.12); border-color: var(--line-2); }
.ccard__icon {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(154, 106, 56, 0.12);
  color: var(--accent);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.ccard__icon svg { width: 24px; height: 24px; }
.ccard--book:hover .ccard__icon { background: var(--accent); color: #fff; }
.ccard--wa .ccard__icon { background: rgba(31, 171, 84, 0.14); color: var(--whatsapp); }
.ccard--wa:hover .ccard__icon { background: var(--whatsapp); color: #fff; }
.ccard--waze .ccard__icon { background: rgba(51, 167, 221, 0.14); color: #2f9fd0; }
.ccard--waze:hover .ccard__icon { background: #33a7dd; color: #fff; }
.ccard--ig .ccard__icon { background: rgba(193, 53, 132, 0.12); color: #c13584; }
.ccard--ig:hover .ccard__icon { background: linear-gradient(45deg, #f09433, #dc2743 55%, #bc1888); color: #fff; }
.ccard--fb .ccard__icon { background: rgba(24, 119, 242, 0.12); color: #1877f2; }
.ccard--fb:hover .ccard__icon { background: #1877f2; color: #fff; }
.ccard__body { display: flex; flex-direction: column; gap: 0.1rem; margin-inline-end: auto; }
.ccard__body strong { font-weight: 600; font-size: 1.05rem; color: var(--ink); }
.ccard__body span { color: var(--muted); font-size: 0.88rem; }
.ccard__arrow { width: 20px; height: 20px; color: var(--muted); flex: none; transition: transform 0.3s var(--ease), color 0.3s var(--ease); }
a.ccard:hover .ccard__arrow { color: var(--accent); transform: translateX(-5px); }
.ccard--static { cursor: default; }

@media (max-width: 800px) { .contact__grid { grid-template-columns: 1fr; gap: 3.5rem; } }

/* ---------------------------------------------------------------- footer -- */
.footer { border-top: 1px solid var(--line); overflow: hidden; background: var(--card); position: relative; }
.footer__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 4.5rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}
/* marge basse sur mobile : en fin de page la pile de boutons flottants ne doit
   pas se poser sur la rangée d'icônes sociales (icônes non cliquables sinon). */
@media (max-width: 640px) {
  .footer__inner { padding-bottom: 9.5rem; }
  .footer__social { flex-wrap: wrap; justify-content: center; }
}
.footer__logo { width: 72px; height: 72px; border-radius: 50%; margin-bottom: 1.3rem; }
.footer__name {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 4rem);
  line-height: 1;
  letter-spacing: 0.03em;
  color: var(--ink);
  direction: ltr;
}
.footer__sub {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.5em;
  color: var(--muted);
  margin-top: 0.6rem;
  direction: ltr;
}
.footer__tag { color: var(--ink-soft); font-size: 0.98rem; margin-top: 1rem; }
.footer__social { display: flex; gap: 0.8rem; margin: 2rem 0 1.4rem; }
.footer__soc {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  display: grid;
  place-items: center;
  color: var(--ink-soft);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.footer__soc svg { width: 20px; height: 20px; }
.footer__soc:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); transform: translateY(-3px); }
.footer__copy { color: var(--muted); font-size: 0.82rem; margin-top: 0.4rem; }

/* ------------------------------------------------------- boutons flottants -- */
/* Pile fixe : קביעת תור (haut) · Waze · WhatsApp (bas, position historique).
   Pastille ronde qui s'étire en pilule libellée au survol / au focus clavier. */
.fabs {
  position: fixed;
  bottom: 1.4rem;
  inset-inline-start: 1.4rem;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
}
.fab {
  display: flex;
  align-items: center;
  min-width: 56px;
  height: 56px;
  border-radius: 999px;
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.fab[hidden] { display: none; }
.fab__icon { width: 56px; height: 56px; flex: none; display: grid; place-items: center; }
.fab__icon svg { width: 27px; height: 27px; }
.fab__label {
  max-width: 0;
  opacity: 0;
  padding-inline-end: 0;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  overflow: hidden;
  transition: max-width 0.42s var(--ease), opacity 0.3s var(--ease), padding 0.42s var(--ease);
}
.fab--book { background: var(--accent); box-shadow: 0 10px 26px rgba(122, 83, 39, 0.38); }
.fab--book:hover { box-shadow: 0 16px 36px rgba(122, 83, 39, 0.46); }
.fab--waze { background: #33ccff; box-shadow: 0 10px 26px rgba(51, 204, 255, 0.4); }
.fab--waze:hover { box-shadow: 0 16px 36px rgba(51, 204, 255, 0.5); }
.fab--wa { background: var(--whatsapp); box-shadow: 0 10px 26px rgba(31, 171, 84, 0.34); }
.fab--wa:hover { box-shadow: 0 16px 36px rgba(31, 171, 84, 0.42); }

@media (hover: hover) {
  .fab:hover { transform: translateY(-3px); }
  .fab:hover .fab__label { max-width: 12rem; opacity: 1; padding-inline-end: 1.2rem; }
}
.fab:focus-visible .fab__label { max-width: 12rem; opacity: 1; padding-inline-end: 1.2rem; }

@media (max-width: 640px) {
  .fabs { bottom: 1rem; inset-inline-start: 1rem; gap: 0.6rem; }
  .fab { min-width: 50px; height: 50px; }
  .fab__icon { width: 50px; height: 50px; }
  .fab__icon svg { width: 24px; height: 24px; }
}

/* -------------------------------------------------------------- lightbox -- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(29, 26, 21, 0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  backdrop-filter: blur(10px);
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 6px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4); }
.lightbox__close, .lightbox__nav {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, border-color 0.25s;
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255, 255, 255, 0.2); border-color: #fff; }
.lightbox__close { top: 1.4rem; inset-inline-end: 1.4rem; }
.lightbox__nav--prev { inset-inline-start: 1.4rem; }
.lightbox__nav--next { inset-inline-end: 1.4rem; }
@media (max-width: 640px) { .lightbox { padding: 1rem; } .lightbox__nav { bottom: 1.2rem; top: auto; } }

/* ================================================================ MOTION == */
/* apparition simple (fade + montée) */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* apparition ligne par ligne au chargement (hero) */
.reveal-up { opacity: 0; transform: translateY(24px); animation: revealUp 0.95s var(--ease) forwards; }
.hero__emblem.reveal-up { animation-delay: 0.1s; }
.hero__kicker.reveal-up { animation-delay: 0.22s; }
.hero__title-sub.reveal-up { animation-delay: 0.5s; }
.hero__text.reveal-up { animation-delay: 0.62s; }
.hero__actions.reveal-up { animation-delay: 0.74s; }
@keyframes revealUp { to { opacity: 1; transform: none; } }

/* titre principal : révélation par masque */
.mask { display: block; overflow: hidden; }
.mask > * { display: block; transform: translateY(110%); animation: maskUp 1s var(--ease) 0.35s forwards; }
@keyframes maskUp { to { transform: none; } }

/* image révélée par volet (clip-path) au scroll */
.reveal-img img { clip-path: inset(0 0 100% 0); transform: scale(1.06); transition: clip-path 1.1s var(--ease), transform 1.4s var(--ease); }
.reveal-img.is-visible img { clip-path: inset(0 0 0 0); transform: scale(1); }

/* --------------------------------------------------------- reduced motion -- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; }
  .reveal, .reveal-up { opacity: 1; transform: none; }
  .mask > * { transform: none; }
  .reveal-img img { clip-path: none; transform: none; }
  .hero__img { animation: none; transform: none; }
  .atmos__bg { background-attachment: scroll; }
}
