/* ============================================
   HÉRA SANCTUARY – SHARED STYLES
   ============================================ */

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

:root {
  --cream: #f9f5ef;
  --warm-white: #fdf9f4;
  --gold: #b89a68;
  --gold-light: #d4b896;
  --gold-pale: #efe5d4;
  --dark: #1a1612;
  --mid: #4a3f35;
  --muted: #8a7e74;
  --border: rgba(184,154,104,0.2);
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Jost', sans-serif;
  --nav-h: 76px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--warm-white);
  color: var(--dark);
  font-family: var(--font-body);
  font-weight: 300;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

/* SCROLLBAR */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--gold); }

/* CURSOR — desktop only */
@media (pointer: fine) {
  body { cursor: none; }
  a, button { cursor: none; }
}
#cursor {
  position: fixed; top: 0; left: 0; z-index: 9999;
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, background 0.3s;
}
#cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 9998;
  width: 32px; height: 32px;
  border: 1px solid rgba(184,154,104,0.5);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease, width 0.3s, height 0.3s;
}
body.hovering #cursor { width: 16px; height: 16px; background: var(--gold-light); }
body.hovering #cursor-ring { width: 48px; height: 48px; border-color: var(--gold); }
@media (pointer: coarse) { #cursor, #cursor-ring { display: none; } }

/* ============================================
   NAV
   ============================================ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--nav-h);
  padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(253,249,244,0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: height 0.4s, box-shadow 0.4s;
}
nav.scrolled { height: 60px; box-shadow: 0 2px 20px rgba(26,22,18,0.06); }

.nav-logo {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--dark);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-logo span { color: var(--gold); }

.nav-links { display: flex; gap: clamp(1rem, 2.5vw, 2.5rem); list-style: none; }
.nav-links a {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mid);
  text-decoration: none;
  transition: color 0.3s;
  position: relative;
  padding-bottom: 2px;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -2px; left: 0; right: 0;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.nav-cta {
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--warm-white);
  background: var(--gold);
  padding: 0.7rem 1.4rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.3s, transform 0.2s;
  flex-shrink: 0;
}
.nav-cta:hover { background: var(--mid); transform: translateY(-1px); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 8px; z-index: 201;
}
.hamburger span { display: block; width: 24px; height: 1px; background: var(--dark); transition: all 0.35s; }
.hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* MOBILE MENU */
.mobile-menu {
  position: fixed; inset: 0; z-index: 190;
  background: var(--warm-white);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2rem;
  transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.77,0,0.175,1);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  font-family: var(--font-display); font-size: clamp(1.6rem, 7vw, 2.2rem); font-weight: 300;
  color: var(--dark); text-decoration: none; letter-spacing: 0.05em;
  transition: color 0.3s;
}
.mobile-menu a:hover { color: var(--gold); }
.mobile-menu .mob-rdv {
  margin-top: 1rem;
  font-family: var(--font-body); font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--warm-white); background: var(--gold);
  padding: 0.9rem 2rem; text-decoration: none;
}

/* ============================================
   FLOATING RDV BUTTON
   ============================================ */
.float-rdv {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 180;
  background: var(--gold); color: var(--warm-white);
  font-family: var(--font-body); font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 0.85rem 1.6rem;
  text-decoration: none;
  box-shadow: 0 8px 30px rgba(184,154,104,0.4);
  transition: transform 0.3s, box-shadow 0.3s;
}
.float-rdv:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(184,154,104,0.5); }

/* ============================================
   PAGE HERO (sous-pages)
   ============================================ */
.page-hero {
  min-height: 40vh;
  display: flex; align-items: flex-end;
  padding: calc(var(--nav-h) + 4rem) 5% 4rem;
  background: var(--cream);
  position: relative; overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 80% at 90% 50%, rgba(184,154,104,0.1) 0%, transparent 60%),
    radial-gradient(ellipse 30% 60% at 10% 30%, rgba(184,154,104,0.06) 0%, transparent 60%);
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero-tag {
  font-size: 0.62rem; letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem;
  display: flex; align-items: center; gap: 1rem;
}
.page-hero-tag::after { content: ''; display: block; width: 40px; height: 1px; background: var(--gold); }
.page-hero-title {
  font-family: var(--font-display); font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 300; line-height: 0.95; color: var(--dark);
}
.page-hero-title em { font-style: italic; color: var(--gold); }

/* ============================================
   SECTION COMMON
   ============================================ */
.section { padding: clamp(4rem, 8vw, 8rem) 5%; }
.section-sm { padding: clamp(3rem, 6vw, 5rem) 5%; }

.section-tag {
  font-size: 0.62rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem;
  display: flex; align-items: center; gap: 1rem;
}
.section-tag::after { content: ''; display: block; width: 40px; height: 1px; background: var(--gold); }

.section-title {
  font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300; line-height: 1.1; color: var(--dark);
}
.section-title em { font-style: italic; color: var(--gold); }

/* BUTTONS */
.btn-primary {
  display: inline-block;
  font-family: var(--font-body); font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--warm-white); background: var(--dark);
  padding: 1rem 2.2rem; text-decoration: none;
  transition: background 0.3s, transform 0.2s;
  border: none;
}
.btn-primary:hover { background: var(--gold); transform: translateY(-2px); }
.btn-secondary {
  display: inline-block;
  font-family: var(--font-body); font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold); border: 1px solid var(--gold);
  padding: 1rem 2.2rem; text-decoration: none;
  transition: background 0.3s, color 0.3s, transform 0.2s;
  background: none;
}
.btn-secondary:hover { background: var(--gold); color: var(--warm-white); transform: translateY(-2px); }

/* REVEAL ANIMATIONS */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.75s ease, transform 0.75s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--dark); color: rgba(255,255,255,0.5);
  padding: clamp(3rem, 6vw, 5rem) 5% 2rem;
}
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 2rem;
}
.footer-brand-name {
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 300;
  color: var(--warm-white); margin-bottom: 1rem; letter-spacing: 0.1em;
}
.footer-brand-name span { color: var(--gold); }
.footer-bio { font-size: 0.78rem; line-height: 1.9; max-width: 280px; }
.footer-col-title { font-size: 0.6rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.2rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.footer-links a { font-size: 0.78rem; color: rgba(255,255,255,0.4); text-decoration: none; transition: color 0.3s; }
.footer-links a:hover { color: var(--gold-light); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.68rem; color: rgba(255,255,255,0.25); gap: 1rem; flex-wrap: wrap;
}
.footer-bottom a { color: rgba(255,255,255,0.3); text-decoration: none; }
.footer-bottom a:hover { color: var(--gold); }

/* ============================================
   IMAGE CARDS
   ============================================ */
.img-card {
  position: relative; overflow: hidden;
  background: var(--gold-pale);
}
.img-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.img-card:hover img { transform: scale(1.04); }
.img-card-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(26,22,18,0.7));
  color: var(--warm-white);
}
.img-card-label { font-size: 0.65rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 0.3rem; }
.img-card-title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 300; }

/* ============================================
   AVIS SLIDER
   ============================================ */
.avis-track-wrap { overflow: hidden; margin: 0 -5%; padding: 0; }
.avis-track {
  display: flex; gap: 1.5rem;
  animation: slideAvis 35s linear infinite;
  width: max-content; padding: 0.5rem 5%;
}
.avis-track:hover { animation-play-state: paused; }
@keyframes slideAvis { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.avis-card {
  background: var(--warm-white); padding: 2rem 2.2rem;
  min-width: clamp(260px, 70vw, 300px); max-width: 300px;
  border: 1px solid var(--border); flex-shrink: 0;
}
.avis-stars { display: flex; gap: 3px; margin-bottom: 1rem; }
.avis-stars span { color: var(--gold); font-size: 0.75rem; }
.avis-text { font-size: 0.8rem; line-height: 1.85; color: var(--mid); font-style: italic; margin-bottom: 1.2rem; }
.avis-author { font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); }

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .footer-top { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bio { max-width: 100%; }
}
@media (max-width: 480px) {
  .float-rdv { bottom: 1rem; right: 1rem; font-size: 0.6rem; padding: 0.75rem 1.2rem; }
}
