/* =============================================
   BASE
   ============================================= */
:root {
  --green:   #1e4a38;
  --gold:    #b8922a;
  --gold2:   #d4ad5a;
  --cream:   #fdfaf5;
  --sage:    #edf3ee;
  --text:    #1c1c1c;
  --soft:    #7a8075;
  --serif:   'Cormorant Garamond', Georgia, serif;
  --sans:    'Lato', sans-serif;
  --hero-viewport-height: var(--js-vh, 100vh);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; }
body { font-family: var(--sans); color: var(--text); background: var(--cream); overflow-x: hidden; }
img  { display: block; max-width: 100%; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 2rem; }

/* =============================================
   NAV
   ============================================= */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(253,250,245,.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(184,146,42,.15);
  box-shadow: 0 1px 20px rgba(0,0,0,.05);
  height: 68px;
}
.nav-inner {
  max-width: 1080px; margin: 0 auto; padding: 0 2rem;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}

/* Logo naturel sur fond blanc = fond blanc PNG invisible */
.brand { display: flex; align-items: center; gap: .7rem; }
.brand-logo { height: 36px; width: auto; }
.brand-name {
  font-family: var(--serif); font-size: 1.05rem;
  color: var(--green); letter-spacing: .04em;
}

#menu { display: flex; align-items: center; gap: 2rem; }
#menu a {
  font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--soft); transition: color .25s;
}
#menu a:hover { color: var(--green); }
.btn-nav {
  border: 1.5px solid var(--gold) !important;
  padding: .45rem 1.3rem !important; border-radius: 30px;
  color: var(--gold) !important;
  transition: background .25s, color .25s !important;
}
.btn-nav:hover { background: var(--gold) !important; color: #fff !important; }

#burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer;
}
#burger span { display: block; width: 22px; height: 2px; background: var(--green); transition: .3s; }
#burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#burger.open span:nth-child(2) { opacity: 0; }
#burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 720px) {
  #nav {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
  }
  #burger { display: flex; }
  .brand-name { display: none; }
  #menu {
    position: absolute; top: 68px; left: 0; right: 0;
    background: var(--cream); flex-direction: column; gap: 0;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(0,0,0,.06);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px); transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
  }
  #menu.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
  #menu li { padding: .8rem 0; border-bottom: 1px solid rgba(0,0,0,.05); }
  #menu a { font-size: .9rem; color: var(--text); }
  .btn-nav { display: inline-block; margin-top: .5rem; }
}

/* =============================================
   HERO
   ============================================= */
#hero {
  position: relative;
  height: 100vh; min-height: 600px;
  margin-top: 68px;
  display: flex; align-items: center;
  overflow: hidden;
}

/* Photo hero : Christine dans son cabinet, lumière dorée */
.hero-bg {
  position: absolute; inset: 0;
  background: url('assets/section.png') center/cover no-repeat;
}

/* Overlay léger : juste assez à gauche pour le texte, droite presque transparent
   pour laisser la fenêtre et les collines respirer */
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    100deg,
    rgba(10,18,12,.75) 0%,
    rgba(10,18,12,.45) 40%,
    rgba(10,18,12,.05) 100%
  );
}

.hero-content {
  position: relative; z-index: 2;
  padding: 0 5vw;
  max-width: 620px;
}

.hero-eyebrow {
  font-size: .72rem; letter-spacing: .38em; text-transform: uppercase;
  color: var(--gold2); margin-bottom: 1.4rem;
}

#hero h1 {
  display: flex; flex-direction: column; gap: .05em;
  margin-bottom: 2rem;
}
#hero h1 em {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: rgba(255,255,255,.82); letter-spacing: .06em; line-height: 1;
}
#hero h1 strong {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(3rem, 7.5vw, 6.5rem);
  color: #fff; letter-spacing: .18em; line-height: .95;
  text-transform: uppercase;
}

.hero-tagline {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,.65); line-height: 1.8; margin-bottom: 2.8rem;
}

/* CTA button hero */
.btn-hero {
  display: inline-block;
  padding: 1rem 3rem; border-radius: 50px;
  font-size: .8rem; letter-spacing: .2em; text-transform: uppercase;
  background: var(--gold); color: #fff; border: 1.5px solid var(--gold);
  transition: background .3s, color .3s, transform .3s, box-shadow .3s;
  box-shadow: 0 4px 24px rgba(184,146,42,.4);
}
.btn-hero:hover {
  background: transparent; color: var(--gold2);
  transform: translateY(-3px); box-shadow: 0 10px 32px rgba(184,146,42,.35);
}

/* Portrait Christine en médaillon bas-droite */
.hero-portrait {
  position: absolute; bottom: 3rem; right: 5vw; z-index: 3;
  width: clamp(110px, 14vw, 180px);
  height: clamp(110px, 14vw, 180px);
}
.hero-portrait::before,
.hero-portrait::after {
  content: ''; position: absolute; border-radius: 50%;
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  pointer-events: none;
}
.hero-portrait::before {
  width: calc(100% + 24px); height: calc(100% + 24px);
  border: 1.5px solid rgba(212,173,90,.6);
}
.hero-portrait::after {
  width: calc(100% + 48px); height: calc(100% + 48px);
  border: 1px solid rgba(212,173,90,.22);
}
.hero-portrait img {
  width: 100%; height: 100%;
  border-radius: 50%; object-fit: cover;
  border: 3px solid var(--gold);
  box-shadow: 0 8px 36px rgba(0,0,0,.4);
}

/* Scroll hint */
.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%); z-index: 2;
}
.hero-scroll span {
  display: block; width: 1px; height: 50px; margin: 0 auto;
  background: linear-gradient(to bottom, rgba(212,173,90,.8), transparent);
  animation: scrollLine 2.2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40%  { opacity: 1; }
  80%  { transform: scaleY(1); transform-origin: top; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

/* Animations entrée hero */
.fade {
  opacity: 0; transform: translateY(20px);
  animation: fadeUp .9s ease forwards;
}
.hero-eyebrow { animation-delay: .1s; }
#hero h1 em    { animation-delay: .3s; }
#hero h1 strong { animation-delay: .45s; }
.hero-tagline  { animation-delay: .6s; }
.btn-hero      { animation-delay: .8s; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

/* Hero mobile */
@media (max-width: 600px) {
  .hero-portrait { bottom: 1.5rem; right: 1.5rem; }
  #hero h1 strong { letter-spacing: .1em; }
}

/* =============================================
   CITATION
   ============================================= */
#citation {
  background: var(--green);
  padding: 5rem 0; text-align: center;
}
#citation .stars { color: var(--gold); font-size: 1.1rem; margin-bottom: 1.5rem; }
#citation blockquote {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(1.3rem, 3vw, 2rem);
  color: rgba(255,255,255,.9); line-height: 1.7;
  max-width: 760px; margin: 0 auto 1.5rem;
}
#citation cite {
  font-style: normal; font-size: .75rem; letter-spacing: .18em;
  text-transform: uppercase; color: rgba(255,255,255,.45);
}

/* =============================================
   SOINS
   ============================================= */
#soins { background: var(--cream); padding: 6rem 0; }

.section-head { text-align: center; margin-bottom: 4rem; }
.label {
  display: block; font-size: .7rem; letter-spacing: .3em;
  text-transform: uppercase; color: var(--gold); margin-bottom: .7rem;
}
.label--light { color: var(--gold2); }
.section-head h2,
.cabinet-text h2 {
  font-family: var(--serif); font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400; color: var(--green); line-height: 1.2;
}

.cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.4rem;
}
.card {
  background: #fff; border-radius: 16px; padding: 2.4rem 2rem;
  border: 1px solid rgba(184,146,42,.1);
  box-shadow: 0 2px 20px rgba(30,74,56,.04);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s;
}
.card:hover {
  transform: translateY(-7px);
  box-shadow: 0 14px 40px rgba(30,74,56,.1);
  border-color: rgba(184,146,42,.35);
}
.card-icon { color: var(--gold); font-size: .9rem; margin-bottom: 1.2rem; }
.card h3 {
  font-family: var(--serif); font-size: 1.4rem; font-weight: 500;
  color: var(--green); margin-bottom: .35rem;
}
.card-sub {
  font-size: .7rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem;
}
.card p { font-size: .92rem; color: var(--soft); line-height: 1.7; }

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

/* =============================================
   CABINET (photo + texte)
   ============================================= */
#cabinet {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 520px;
  background: var(--sage);
}
.cabinet-photo { overflow: hidden; }
.cabinet-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  transition: transform .6s ease;
}
#cabinet:hover .cabinet-photo img { transform: scale(1.03); }

.cabinet-text {
  padding: 5rem 4rem 5rem 3.5rem;
  display: flex; flex-direction: column; justify-content: center; gap: 1.3rem;
}
.cabinet-text p { color: var(--soft); line-height: 1.88; font-size: .98rem; }

.btn-outline {
  display: inline-block; align-self: flex-start;
  padding: .85rem 2.4rem; border-radius: 40px;
  font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  border: 1.5px solid var(--green); color: var(--green);
  transition: background .3s, color .3s, transform .3s;
  margin-top: .5rem;
}
.btn-outline:hover { background: var(--green); color: #fff; transform: translateY(-2px); }

@media (max-width: 820px) {
  #cabinet { grid-template-columns: 1fr; }
  .cabinet-photo { height: 280px; }
  .cabinet-text { padding: 3rem 2rem; }
}

/* =============================================
   AVIS
   ============================================= */
#avis { background: var(--cream); padding: 5rem 0; }

.avis-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
}
.avis-card {
  background: #fff; border-radius: 16px; padding: 2.5rem 2.5rem;
  border: 1px solid rgba(184,146,42,.12);
  box-shadow: 0 2px 16px rgba(0,0,0,.04);
}
.avis-card--featured {
  border-color: var(--gold);
  box-shadow: 0 4px 28px rgba(184,146,42,.15);
}
.avis-card .stars { color: var(--gold); font-size: .95rem; margin-bottom: 1rem; }
.avis-card p {
  font-family: var(--serif); font-style: italic; font-size: 1.1rem;
  color: var(--text); line-height: 1.65; margin-bottom: 1.2rem;
}
.avis-card cite {
  font-style: normal; font-size: .72rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--soft);
}

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

@supports (height: 100svh) {
  :root { --hero-viewport-height: 100svh; }
}

@supports (height: 100dvh) {
  :root { --hero-viewport-height: 100dvh; }
}

/* =============================================
   CONTACT
   ============================================= */
/* Fond vert en fallback si cabinet.jpg pas encore chargée */
#contact { position: relative; overflow: hidden; padding: 7rem 0; text-align: center; background: var(--green); }

.contact-bg {
  position: absolute; inset: 0;
  background: url('assets/section.png') center/cover no-repeat;
  filter: brightness(.18) saturate(.5);
}
.contact-inner { position: relative; z-index: 2; }
.contact-inner h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(2rem,4vw,3rem); margin-bottom: 2.5rem; }

.phone {
  display: inline-block;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.2rem, 5vw, 4rem); letter-spacing: .06em;
  color: #fff; transition: color .3s; margin-bottom: 1.2rem;
}
.phone:hover { color: var(--gold2); }

.adresse {
  font-size: .78rem; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.4); margin-bottom: 3rem;
}
.legal {
  max-width: 500px; margin: 0 auto;
  font-size: .72rem; color: rgba(255,255,255,.25); line-height: 1.7;
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 2rem;
}

/* =============================================
   FOOTER
   ============================================= */
footer {
  background: #0e1e14; padding: 2.5rem 0; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
}
/* Logo sur fond très sombre : bg-blend pour effacer le blanc */
.footer-logo {
  height: 40px; width: auto;
  mix-blend-mode: screen;  /* screen sur fond très sombre : les couleurs lumineuses ressortent */
  opacity: .5;
}
footer p { font-size: .72rem; color: rgba(255,255,255,.22); letter-spacing: .04em; }

/* =============================================
   REVEAL SCROLL
   ============================================= */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* =============================================
   MOBILE HERO FIX
   ============================================= */
@media (max-width: 720px), (hover: none) and (pointer: coarse) {
  #nav {
    position: sticky !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 68px !important;
    z-index: 1000 !important;
  }

  .nav-inner {
    padding: 0 1.25rem !important;
  }

  #burger {
    display: flex !important;
  }

  #menu {
    position: absolute !important;
    top: 68px !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1001 !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(-8px) !important;
  }

  #menu.open {
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
  }

  #hero {
    display: block !important;
    height: calc(100svh - 68px) !important;
    min-height: 0 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    overflow: hidden !important;
  }

  #hero > .hero-content {
    position: absolute !important;
    top: auto !important;
    right: 0 !important;
    bottom: clamp(3.25rem, 8svh, 5rem) !important;
    left: 0 !important;
    z-index: 4 !important;
    padding: 0 5vw 2rem !important;
    max-width: none !important;
    transform: none !important;
  }

  #hero h1 { margin-bottom: 1.25rem !important; }
  #hero h1 em { font-size: clamp(2rem, 12vw, 3.2rem) !important; }
  #hero h1 strong {
    font-size: clamp(2.75rem, 15vw, 4.8rem) !important;
    letter-spacing: .1em !important;
  }
  .hero-eyebrow { margin-bottom: 1rem !important; }
  .hero-tagline { margin-bottom: 1.5rem !important; }
  .hero-portrait {
    bottom: 1.4rem !important;
    right: 1.4rem !important;
    width: 90px !important;
    height: 90px !important;
  }
  .hero-scroll { display: none !important; }
}

@media (hover: none) and (pointer: coarse) and (orientation: landscape) {
  #hero > .hero-content {
    top: auto !important;
    bottom: .75rem !important;
    max-width: 62vw !important;
  }

  #hero h1 { margin-bottom: .75rem !important; }
  #hero h1 em { font-size: clamp(1.6rem, 5vw, 2.2rem) !important; }
  #hero h1 strong { font-size: clamp(2.3rem, 8vw, 3.8rem) !important; }
  .hero-tagline { margin-bottom: 1rem !important; }
  .btn-hero { padding: .75rem 2.2rem !important; }
}
