/* ══════════════════════════════════════════════
   NAOI by Lan Chi — style.css v21
   Palette: Lin d'été — 7 warm tokens
   ══════════════════════════════════════════════ */

/* ── TOKENS ── */
:root {
  --bg:        #F8F5F0;
  --bg-alt:    #F0EDE8;
  --border:    #E2DDD7;
  --subtle:    #B5B0A8;
  --muted:     #8A8480;
  --warm-dark: #2A2520;
  --dark:      #231F1B;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'DM Sans', system-ui, sans-serif;

  --ease-out: cubic-bezier(.76,0,.24,1);
  --pad: clamp(1.5rem, 5vw, 4rem);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--dark);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
address { font-style: normal; }
ol, ul { list-style: none; }

/* ── UTILITIES ── */
.pad { padding-left: var(--pad); padding-right: var(--pad); }

/* ── REVEAL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .75s var(--ease-out), transform .75s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── CURSOR ── */
.cursor-dot,
.cursor-ring {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.cursor-dot {
  width: 5px; height: 5px;
  background: var(--dark);
}
.cursor-ring {
  width: 28px; height: 28px;
  border: 1px solid rgba(35,31,27,.35);
  transition: width .2s, height .2s, border-color .2s;
}
.cursor-ring.hover {
  width: 44px; height: 44px;
  border-color: rgba(35,31,27,.15);
}
@media (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ── TEXT LINKS ── */
.text-link {
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-block;
  margin-top: 1.5rem;
  transition: color .25s;
}
.text-link:hover { color: var(--dark); }
.text-link-small {
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--subtle);
  transition: color .25s;
}
.text-link-small:hover { color: var(--muted); }

/* ══════════════════════════════════════════════
   NAV
   ══════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem var(--pad);
  transition: background .35s, border-color .35s;
}
.nav--scrolled {
  background: var(--bg);
  border-bottom: 0.5px solid var(--border);
}
.nav-logo {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 1.25rem;
  letter-spacing: .08em;
  color: #F8F5F0;
  transition: color .35s;
}
.nav--scrolled .nav-logo { color: var(--dark); }

.nav-burger {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 1px;
  background: #F8F5F0;
  transition: background .35s;
}
.nav--scrolled .nav-burger span { background: var(--dark); }

/* ── NAV OVERLAY ── */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--warm-dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s var(--ease-out);
}
.nav-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.nav-overlay-close {
  position: absolute;
  top: 1.5rem; right: var(--pad);
  background: none;
  border: none;
  color: rgba(248,245,240,.6);
  font-size: 1.75rem;
  cursor: pointer;
  line-height: 1;
  transition: color .2s;
}
.nav-overlay-close:hover { color: rgba(248,245,240,.9); }
.nav-overlay-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
.nav-overlay-links a {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 3rem);
  color: rgba(248,245,240,.85);
  letter-spacing: .04em;
  transition: color .2s;
}
.nav-overlay-links a:hover { color: rgba(248,245,240,1); }
.nav-overlay-footer {
  position: absolute;
  bottom: 2rem;
  display: flex;
  gap: 2rem;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(248,245,240,.28);
}
.nav-overlay-footer a { transition: color .2s; }
.nav-overlay-footer a:hover { color: rgba(248,245,240,.55); }

/* ══════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════ */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
}
.hero-img {
  position: absolute;
  inset: 0;
  object-position: center top;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(35,31,27,.25) 0%,
    rgba(35,31,27,.05) 40%,
    rgba(35,31,27,.45) 100%
  );
}
.hero-identity {
  position: absolute;
  bottom: clamp(3rem, 8vh, 6rem);
  left: var(--pad);
  z-index: 2;
  color: #F8F5F0;
}
.hero-name {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: .9;
}
.hero-by {
  font-size: .8em;
  letter-spacing: .12em;
  opacity: .6;
}
.hero-sep {
  width: 30px;
  height: 0.5px;
  background: rgba(248,245,240,.4);
  margin: .75rem 0;
}
.hero-tagline {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2.2rem, 5.5vw, 5rem);
  line-height: 1.1;
  letter-spacing: .01em;
  display: flex;
  flex-wrap: wrap;
  gap: 0 .3em;
}
.tw {
  opacity: 0;
  transform: translateY(14px);
  display: inline-block;
}
.tw-1 { animation: tw-in .7s var(--ease-out) .5s forwards; }
.tw-2 { animation: tw-in .7s var(--ease-out) .65s forwards; }
.tw-3 { animation: tw-in .7s var(--ease-out) .8s forwards; }
.tw-4 { animation: tw-in .7s var(--ease-out) .95s forwards; }
.tw-5 { animation: tw-in .7s var(--ease-out) 1.1s forwards; }
@keyframes tw-in {
  to { opacity: 1; transform: none; }
}
.hero-sub {
  margin-top: .75rem;
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(248,245,240,.55);
  animation: tw-in .7s var(--ease-out) 1.3s forwards;
  opacity: 0;
}
.scroll-cue {
  position: absolute;
  bottom: clamp(2rem, 5vh, 3.5rem);
  right: var(--pad);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: rgba(248,245,240,.45);
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.scroll-line {
  width: 0.5px;
  height: 40px;
  background: rgba(248,245,240,.3);
  animation: scroll-drop 1.5s ease-in-out infinite;
}
@keyframes scroll-drop {
  0%,100% { transform: scaleY(1); transform-origin: top; }
  50% { transform: scaleY(.5); transform-origin: top; }
}

/* ══════════════════════════════════════════════
   SITE BODY
   ══════════════════════════════════════════════ */
.site-body { background: var(--bg); }

/* ══════════════════════════════════════════════
   §02 BIO
   ══════════════════════════════════════════════ */
.section-bio {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 0.5px solid var(--border);
}
.bio-photo {
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--bg-alt);
}
.bio-photo img {
  transition: transform .9s var(--ease-out);
}
.bio-photo:hover img { transform: scale(1.03); }
.bio-text {
  padding: clamp(3rem, 6vw, 5.5rem) clamp(2rem, 4.5vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  border-left: 0.5px solid var(--border);
}
.bio-eyebrow {
  font-size: 9px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--subtle);
}
.bio-headline {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  line-height: 1.4;
  color: var(--dark);
}
.bio-body {
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
}

/* ══════════════════════════════════════════════
   §03 GALERIE
   ══════════════════════════════════════════════ */
.section-gallery {
  border-bottom: 0.5px solid var(--border);
}
.gallery-intro {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-top: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 0.5px solid var(--border);
}
.gallery-intro-title {
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--subtle);
}

/* Grid layout:
   [large  ] [col-right: top + bottom]
   [sm][sm][sm]
*/
.gallery-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  grid-template-rows: auto auto;
  gap: 3px;
  background: var(--border);
}
.gallery-item {
  position: relative;
  overflow: hidden;
  background: var(--bg-alt);
}
.gallery-item img {
  transition: transform .75s var(--ease-out);
}
.gallery-item:hover img { transform: scale(1.04); }

.gallery-item--large {
  grid-row: 1;
  grid-column: 1;
  aspect-ratio: 3/4;
}
.gallery-col-right {
  grid-row: 1;
  grid-column: 2;
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: var(--border);
}
.gallery-col-right .gallery-item {
  flex: 1;
  min-height: 0;
}
/* Bottom row: 3 small */
.gallery-item--sm {
  grid-row: 2;
  aspect-ratio: 4/3;
}
.gallery-item--sm:nth-of-type(1) { grid-column: 1; }
.gallery-item--sm:nth-of-type(2) { grid-column: 2; }
.gallery-item--sm:nth-of-type(3) { grid-column: 3; }

/* Override grid for bottom row */
.gallery-grid {
  grid-template-columns: 1.5fr 1fr;
}
/* Use subgrid trick — bottom row spans full width in 3 cols */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 3px;
  background: var(--border);
}
.gallery-item--large {
  grid-column: 1 / 3;
  grid-row: 1;
  aspect-ratio: 16/9;
}
.gallery-col-right {
  grid-column: 3;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: var(--border);
}
.gallery-item--sm {
  grid-row: 2;
  aspect-ratio: 4/3;
}

.gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1rem .85rem .7rem;
  background: linear-gradient(to top, rgba(35,31,27,.52) 0%, transparent 100%);
}
.gallery-caption-loc {
  font-size: 8px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(248,245,240,.88);
}
.gallery-caption-name {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 10px;
  color: rgba(248,245,240,.5);
  margin-top: 1px;
}

/* ══════════════════════════════════════════════
   §04 SÉANCES
   ══════════════════════════════════════════════ */
.section-seances {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 0.5px solid var(--border);
}
.seances-photo {
  overflow: hidden;
  background: var(--bg-alt);
  min-height: 420px;
}
.seances-photo img {
  transition: transform .9s var(--ease-out);
}
.seances-photo:hover img { transform: scale(1.03); }
.seances-list {
  padding: clamp(3rem, 6vw, 5rem) clamp(2rem, 4.5vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  border-left: 0.5px solid var(--border);
}
.seances-eyebrow {
  font-size: 9px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--subtle);
  margin-bottom: 1.5rem;
}
.seances-items {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 2rem;
}
.seances-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 0.5px solid var(--border);
}
.seances-item:first-child { border-top: 0.5px solid var(--border); }
.seances-num {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 11px;
  color: var(--subtle);
  margin-top: 4px;
}
.seances-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.seances-name {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  color: var(--dark);
  line-height: 1.2;
}
.seances-tag {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.5;
}

/* ══════════════════════════════════════════════
   §05 TÉMOIGNAGES
   ══════════════════════════════════════════════ */
.section-temoignages {
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  border-bottom: 0.5px solid var(--border);
}
.temoignages-eyebrow {
  font-size: 8px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--subtle);
  text-align: center;
  margin-bottom: 2.5rem;
}
.temoignages-grid {
  display: grid;
  grid-template-columns: 1fr 0.5px 1fr;
  gap: 0 clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.temoignages-divider {
  background: var(--border);
  align-self: stretch;
}
.temoignage {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.temoignage-quote {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  line-height: 1.55;
  color: var(--dark);
}
.temoignage-sep {
  width: 22px;
  height: 0.5px;
  background: var(--subtle);
  margin: 1rem auto;
}
.temoignage-attr {
  font-size: 8.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--subtle);
}

/* ══════════════════════════════════════════════
   §06 CTA
   ══════════════════════════════════════════════ */
.section-cta {
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  border-bottom: 0.5px solid var(--border);
}
.cta-inner {
  background: var(--warm-dark);
  padding: clamp(3rem, 6vw, 5rem) clamp(2rem, 5vw, 5rem);
  text-align: center;
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.cta-question {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  line-height: 1.4;
  color: rgba(248,245,240,.92);
  margin-bottom: 1.75rem;
}
.btn-cta {
  display: inline-block;
  border: 0.5px solid rgba(248,245,240,.3);
  font-family: var(--font-sans);
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(248,245,240,.78);
  padding: 10px 24px;
  transition: border-color .25s, color .25s;
}
.btn-cta:hover {
  border-color: rgba(248,245,240,.65);
  color: rgba(248,245,240,1);
}
.cta-sub-link {
  display: block;
  margin-top: 1.25rem;
  font-size: 9px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(248,245,240,.28);
  transition: color .25s;
}
.cta-sub-link:hover { color: rgba(248,245,240,.55); }

/* ══════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════ */
.footer {
  background: var(--bg-alt);
  border-top: 0.5px solid var(--border);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2rem;
  padding-top: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 0.5px solid var(--border);
}
.footer-name {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 1.1rem;
  letter-spacing: .08em;
  color: var(--dark);
  margin-bottom: .35rem;
}
.footer-by { font-size: .8em; opacity: .5; }
.footer-tagline {
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--subtle);
  margin-bottom: 1.25rem;
}
.footer-address {
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
}
.footer-col-title {
  display: block;
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--subtle);
  margin-bottom: .85rem;
}
.footer-nav ul,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: .45rem;
}
.footer-nav a,
.footer-contact a {
  font-size: 12px;
  color: var(--muted);
  transition: color .2s;
}
.footer-nav a:hover,
.footer-contact a:hover { color: var(--dark); }
.footer-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
  font-size: 10px;
  color: var(--subtle);
  letter-spacing: .06em;
  flex-wrap: wrap;
  gap: .5rem;
}
.footer-copy a { transition: color .2s; }
.footer-copy a:hover { color: var(--muted); }

/* ══════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════ */
@media (max-width: 900px) {
  .section-bio,
  .section-seances {
    grid-template-columns: 1fr;
  }
  .bio-text,
  .seances-list {
    border-left: none;
    border-top: 0.5px solid var(--border);
  }
  .bio-photo { aspect-ratio: 3/2; }
  .seances-photo { min-height: 280px; aspect-ratio: 3/2; }
  .temoignages-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .temoignages-divider { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .gallery-item--large { aspect-ratio: 4/3; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-col-right { grid-column: 2; }
  .gallery-item--sm:nth-of-type(2) { display: none; }
  .gallery-item--sm:nth-of-type(3) { display: none; }
  .footer-inner { grid-template-columns: 1fr; }
  .cta-inner { padding: 2.5rem 1.5rem; }
}
