/* ============================================================
   Fabienne Remir — Expériences de Transformation à Bali
   Feuille de style premium
   ============================================================ */

:root {
  --ivory:        #FAF5EC;
  --cream:        #F2E7D5;
  --cream-dark:   #E6D6BD;
  --ink:          #3A2C1E;
  --ink-soft:     #5C4A36;
  --muted:        #9A876E;
  --green-deep:   #2A1D12;   /* espresso (sections sombres) */
  --green:        #4A3622;   /* marron chaud */
  --green-soft:   #6B5236;
  --gold:         #C2A05A;
  --gold-light:   #E3CB97;
  --gold-deep:    #A57E3C;
  --terracotta:   #B5764E;
  --white:        #FFFFFF;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Jost", "Helvetica Neue", Arial, sans-serif;

  --maxw: 1180px;
  --maxw-narrow: 760px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.7;
  font-weight: 300;
  font-size: 17px;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- Typo ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0.005em;
  color: var(--ink);
}
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.eyebrow {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1.2rem;
  display: inline-block;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px; height: 1px;
  background: var(--gold);
  vertical-align: middle;
  margin-right: 0.8rem;
  margin-bottom: 3px;
}
p { margin-bottom: 1.1rem; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 500; color: var(--ink); }
em { font-style: italic; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.narrow { max-width: var(--maxw-narrow); margin-left: auto; margin-right: auto; }
section { position: relative; }
.section-pad { padding: clamp(70px, 11vw, 140px) 0; }
.center { text-align: center; }
.lead { font-size: clamp(1.15rem, 1.8vw, 1.35rem); color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 1.05em 2.3em;
  border-radius: 2px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.45s var(--ease);
  white-space: nowrap;
}
.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-deep); border-color: var(--gold-deep); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: rgba(42,38,34,0.35);
}
.btn-outline:hover { border-color: var(--ink); background: var(--ink); color: var(--ivory); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}
.btn-ghost:hover { background: var(--white); color: var(--green-deep); }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }
.btn-row.center-row { justify-content: center; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: all 0.5s var(--ease);
}
.site-header.scrolled {
  background: rgba(248,244,237,0.92);
  backdrop-filter: blur(14px);
  padding: 14px 0;
  box-shadow: 0 1px 0 rgba(42,38,34,0.07);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--white);
  transition: color 0.5s var(--ease);
}
.brand span { display:block; font-family: var(--sans); font-size: 0.58rem; letter-spacing: 0.34em; text-transform: uppercase; font-weight: 400; opacity: 0.8; margin-top: 2px;}
.site-header.scrolled .brand,
.site-header.light .brand { color: var(--ink); }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  position: relative;
  padding: 4px 0;
  transition: color 0.4s var(--ease);
}
.nav-links a::after {
  content:""; position:absolute; left:0; bottom:0; width:0; height:1px;
  background: var(--gold); transition: width 0.4s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.site-header.scrolled .nav-links a,
.site-header.light .nav-links a { color: var(--ink-soft); }
.nav-links a.active { color: var(--gold-light); }
.site-header.scrolled .nav-links a.active,
.site-header.light .nav-links a.active { color: var(--gold-deep); }
.nav-cta { margin-left: 6px; }

.burger { display: none; flex-direction: column; gap: 5px; background:none; border:none; cursor:pointer; padding: 6px; z-index: 110; }
.burger span { width: 26px; height: 2px; background: var(--white); transition: all 0.4s var(--ease); }
.site-header.scrolled .burger span, .site-header.light .burger span { background: var(--ink); }
.nav-open .burger span:nth-child(1){ transform: translateY(7px) rotate(45deg); background: var(--ink);}
.nav-open .burger span:nth-child(2){ opacity:0; }
.nav-open .burger span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); background: var(--ink);}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}
.hero-media {
  position: absolute; inset: 0;
  z-index: -2;
}
.hero-media video, .hero-media img {
  width: 100%; height: 100%; object-fit: cover;
}
/* Fallback animated gradient background (jungle / golden light) */
.hero-fallback {
  position: absolute; inset:0; z-index:-2;
  background:
    radial-gradient(120% 90% at 80% 10%, rgba(227,203,151,0.45) 0%, transparent 55%),
    radial-gradient(120% 110% at 10% 90%, rgba(42,29,18,0.55) 0%, transparent 60%),
    linear-gradient(140deg, #2A1D12 0%, #5C4326 40%, #A57E3C 78%, #E3CB97 130%);
  background-size: 160% 160%;
  animation: heroPan 22s ease-in-out infinite alternate;
}
@keyframes heroPan {
  0%   { background-position: 0% 0%; }
  100% { background-position: 100% 60%; }
}
.hero::after {
  content:""; position:absolute; inset:0; z-index:-1;
  background: linear-gradient(180deg, rgba(30,20,12,0.42) 0%, rgba(30,20,12,0.12) 40%, rgba(30,20,12,0.62) 100%);
}
.hero-inner { padding: 140px 0 90px; }
.hero h1 { color: var(--white); max-width: 16ch; text-shadow: 0 2px 30px rgba(0,0,0,0.25); }
.hero .hero-sub {
  max-width: 56ch;
  margin-top: 1.8rem;
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  color: rgba(255,255,255,0.92);
  font-weight: 300;
}
.hero .hero-sub p { margin-bottom: 0.7rem; }
.hero .btn-row { margin-top: 2.6rem; }
.scroll-cue {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.7); font-size: 0.65rem; letter-spacing: 0.3em; text-transform: uppercase;
  display:flex; flex-direction:column; align-items:center; gap:10px;
}
.scroll-cue::after { content:""; width:1px; height:42px; background: rgba(255,255,255,0.5); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0%,100%{ transform: scaleY(0.4); opacity:0.4;} 50%{ transform: scaleY(1); opacity:1;} }

/* Page hero (interior pages) */
.page-hero {
  position: relative;
  min-height: 72vh;
  display:flex; align-items:center;
  color: var(--white);
  overflow:hidden;
}
.page-hero .hero-fallback { animation-duration: 26s; }
.page-hero::after {
  content:""; position:absolute; inset:0; z-index:-1;
  background: linear-gradient(180deg, rgba(30,20,12,0.5), rgba(30,20,12,0.55));
}
.page-hero .hero-bg-img, .hero .hero-bg-img {
  position:absolute; inset:0; z-index:-2; width:100%; height:100%; object-fit:cover;
}
.page-hero-inner { padding: 160px 0 90px; }
.page-hero h1 { color: var(--white); max-width: 18ch; }
.page-hero .price-tag {
  display:inline-block; margin-top: 1.4rem;
  font-family: var(--sans); font-weight: 400; letter-spacing: 0.18em;
  font-size: 0.85rem; text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.5); padding: 0.6em 1.4em; border-radius: 2px;
  color: var(--gold-light);
}
.page-hero .lead { color: rgba(255,255,255,0.9); margin-top: 1.6rem; max-width: 60ch; }

/* ---------- Section variants ---------- */
.bg-cream { background: var(--cream); }
.bg-ivory { background: var(--ivory); }
.bg-green { background: var(--green-deep); color: var(--cream); }
.bg-green h1,.bg-green h2,.bg-green h3 { color: var(--ivory); }
.bg-green .eyebrow { color: var(--gold-light); }
.bg-green .lead { color: rgba(248,244,237,0.85); }

/* Emotional / quote section */
.emotional {
  position: relative;
  color: var(--cream);
  background:
    radial-gradient(100% 120% at 80% 0%, rgba(194,160,90,0.22), transparent 60%),
    linear-gradient(160deg, #241810 0%, #2E2117 55%, #3E2C1A 100%);
  text-align: center;
}
.emotional h2 { color: var(--ivory); }
.emotional p { color: rgba(248,244,237,0.82); }

/* ---------- Rich text block ---------- */
.rich p { color: var(--ink-soft); }
.rich p + p { margin-top: 0.2rem; }
.pull {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.3;
  color: var(--green);
  font-weight: 500;
  margin: 2.2rem 0;
  padding-left: 1.4rem;
  border-left: 2px solid var(--gold);
}

/* ---------- Experiences cards ---------- */
.exp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 60px;
}
.exp-card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: 4px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.exp-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -28px rgba(28,51,41,0.4); }
.exp-card .card-media {
  height: 220px; position: relative; overflow:hidden;
  background: linear-gradient(150deg, #4A3622, #6B5236);
  background-size: cover; background-position: center;
}
.exp-card.c1 .card-media { background: linear-gradient(150deg, #6B5236, #A57E3C); }
.exp-card.c2 .card-media { background: linear-gradient(150deg, #2E2117, #A57E3C); }
.exp-card.c3 .card-media { background: linear-gradient(150deg, #3A2C1E, #E3CB97); }
.exp-card .card-media.has-img { background-size: cover; background-position: center; }
.exp-card .card-media.has-img .num { text-shadow: 0 2px 12px rgba(0,0,0,0.5); }
.exp-card .card-media .num {
  position:absolute; top:18px; left:20px;
  font-family: var(--serif); font-size: 2.4rem; color: rgba(255,255,255,0.55);
}
.exp-card .card-body { padding: 32px 28px 34px; display:flex; flex-direction:column; flex:1; }
.exp-card .price {
  font-family: var(--sans); font-weight: 400; letter-spacing: 0.14em;
  font-size: 0.78rem; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 0.8rem;
}
.exp-card h3 { font-size: 1.45rem; margin-bottom: 0.9rem; color: var(--ink); }
.exp-card .card-desc { color: var(--ink-soft); font-size: 0.98rem; flex: 1; }
.exp-card .card-link {
  margin-top: 1.6rem; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--green); display:inline-flex; align-items:center; gap:0.5em;
  transition: gap 0.4s var(--ease), color 0.4s var(--ease);
}
.exp-card .card-link:hover { gap: 1em; color: var(--gold-deep); }

/* ---------- Feature lists ---------- */
.feature-list { list-style: none; margin-top: 1.4rem; }
.feature-list li {
  position: relative;
  padding: 0.7rem 0 0.7rem 2.2rem;
  border-bottom: 1px solid rgba(42,38,34,0.08);
  color: var(--ink-soft);
}
.feature-list li::before {
  content:""; position:absolute; left:0; top:1.15rem;
  width: 9px; height: 9px; border:1px solid var(--gold); border-radius:50%;
}
.bg-green .feature-list li { border-color: rgba(248,244,237,0.14); color: rgba(248,244,237,0.86); }
.bg-green .feature-list li::before { border-color: var(--gold-light); }
.emotional .feature-list li { border-color: rgba(248,244,237,0.16); color: rgba(248,244,237,0.92); }
.emotional .feature-list li::before { border-color: var(--gold-light); }

/* Two-column split */
.split { display:grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items:center; }
.split.media-left .split-media { order: -1; }
.split-media {
  aspect-ratio: 4/5; border-radius: 4px; overflow:hidden;
  background: linear-gradient(160deg, #4A3622, #6B5236 60%, #C2A05A);
  background-size: cover; background-position: center;
  position: relative;
}
.split-media img { width:100%; height:100%; object-fit: cover; }
.split-media .placeholder-note {
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  color: rgba(255,255,255,0.55); font-size: 0.7rem; letter-spacing: 0.2em; text-transform:uppercase; text-align:center; padding: 20px;
}

/* ---------- Testimonials ---------- */
.testi-grid { display:grid; grid-template-columns: repeat(3,1fr); gap: 26px; margin-top: 56px; }
.testi {
  background: var(--ivory);
  border: 1px solid var(--cream-dark);
  border-radius: 4px;
  padding: 36px 30px;
  display:flex; flex-direction:column;
}
.bg-green .testi { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.12); }
.testi .quote-mark { font-family: var(--serif); font-size: 3.4rem; line-height:0.6; color: var(--gold); height: 28px; }
.testi p { color: var(--ink-soft); font-size: 0.98rem; font-style: italic; flex:1; }
.bg-green .testi p { color: rgba(248,244,237,0.85); }
.testi .author { margin-top: 1.4rem; font-family: var(--sans); font-weight:400; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-deep); font-style: normal; }
.bg-green .testi .author { color: var(--gold-light); }

/* ---------- CTA band ---------- */
.cta-band {
  text-align:center;
  background:
    radial-gradient(100% 140% at 50% 0%, rgba(194,160,90,0.26), transparent 60%),
    linear-gradient(160deg, #2A1D12, #3E2C1A);
  color: var(--cream);
}
.cta-band h2 { color: var(--ivory); max-width: 22ch; margin: 0 auto 1.4rem; }
.cta-band p { color: rgba(248,244,237,0.82); max-width: 52ch; margin: 0 auto 2.2rem; }

/* ---------- Contact / Form ---------- */
.contact-grid { display:grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px,6vw,80px); align-items:start; }
.form {
  background: var(--white);
  border:1px solid var(--cream-dark);
  border-radius: 6px;
  padding: clamp(30px, 4vw, 48px);
  box-shadow: 0 30px 60px -40px rgba(28,51,41,0.4);
}
.field { margin-bottom: 22px; }
.field label {
  display:block; font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 8px; font-weight:400;
}
.field input, .field select, .field textarea {
  width:100%; font-family: var(--sans); font-size: 1rem; font-weight:300;
  color: var(--ink); background: var(--ivory);
  border: 1px solid var(--cream-dark); border-radius: 3px;
  padding: 0.85em 1em; transition: border-color 0.3s, box-shadow 0.3s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline:none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(191,155,83,0.15);
}
.field textarea { resize: vertical; min-height: 110px; }
.form .btn { width: 100%; margin-top: 6px; }
.form .btn + .btn { margin-top: 12px; }
.form-note { text-align:center; font-size: 0.8rem; color: var(--muted); margin-top: 18px; font-style: italic; }
.form-success {
  display:none; background: var(--green-deep); color: var(--cream);
  padding: 18px 22px; border-radius: 4px; margin-bottom: 20px; font-size: 0.92rem;
}
.form-success.show { display:block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-deep); color: rgba(248,244,237,0.75); padding: 70px 0 32px; }
.footer-top { display:grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 46px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand { font-family: var(--serif); font-size: 1.6rem; color: var(--ivory); margin-bottom: 1rem; }
.site-footer h4 { color: var(--gold-light); font-family: var(--sans); font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight:400; margin-bottom: 1.2rem; }
.site-footer ul { list-style:none; }
.site-footer li { margin-bottom: 0.6rem; }
.site-footer a:hover { color: var(--gold-light); }
.footer-bottom { padding-top: 26px; display:flex; justify-content: space-between; flex-wrap:wrap; gap: 12px; font-size: 0.78rem; color: rgba(248,244,237,0.5); }

/* ---------- Reveal animation ---------- */
.reveal { opacity:0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity:1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

/* ---------- Limited mention ---------- */
.limited { font-size: 0.82rem; letter-spacing: 0.04em; color: var(--muted); font-style: italic; margin-top: 16px; }
.cta-band .limited, .bg-green .limited { color: rgba(248,244,237,0.6); }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .exp-grid, .testi-grid { grid-template-columns: 1fr; }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .split.media-left .split-media { order: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav-links {
    position: fixed; inset: 0; flex-direction: column; justify-content: center;
    background: var(--ivory); gap: 26px; transform: translateX(100%); transition: transform 0.5s var(--ease);
  }
  .nav-open .nav-links { transform: none; }
  .nav-links a { color: var(--ink) !important; font-size: 1rem; }
  .nav-links .nav-cta { margin-top: 10px; }
  .burger { display: flex; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .btn { padding: 0.95em 1.8em; font-size: 0.78rem; }
}
