/* ===========================================================
   Hervé Genin — Hypnose & Biorésonance
   Palette : forêt profonde / mousse / sable / brume / or discret
   Typo : Fraunces (titres) + Work Sans (texte courant)
=========================================================== */

:root {
  --ink: #1e2620;
  --foret: #33473a;
  --foret-dark: #263329;
  --mousse: #7c9070;
  --mousse-light: #a9b89e;
  --sable: #ece6d6;
  --brume: #f6f4ec;
  --or: #a6813f;
  --or-light: #c7a565;
  --blanc: #fffdf8;

  --font-titre: "Fraunces", Georgia, serif;
  --font-texte: "Work Sans", -apple-system, BlinkMacSystemFont, sans-serif;

  --max-width: 1120px;
  --radius: 2px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-texte);
  color: var(--ink);
  background: var(--brume);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-titre);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--foret-dark);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 400; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1.1em; max-width: 62ch; }

a { color: inherit; }

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.75rem;
}

/* ---------- Header / Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--brume);
  border-bottom: 1px solid rgba(51, 71, 58, 0.14);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.75rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo {
  font-family: var(--font-titre);
  font-size: 1.3rem;
  text-decoration: none;
  color: var(--foret-dark);
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  gap: 2.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.98rem;
  color: var(--ink);
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  border-color: var(--mousse);
  color: var(--foret-dark);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}

.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 780px) {
  .nav-links {
    position: fixed;
    inset: 64px 0 0 0;
    background: var(--brume);
    flex-direction: column;
    gap: 0;
    padding: 1rem 1.75rem 2rem;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
  }
  .nav-links.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-links li { border-bottom: 1px solid rgba(51,71,58,0.12); }
  .nav-links a { display: block; padding: 1rem 0; }
  .nav-toggle { display: block; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background: var(--foret-dark);
  color: var(--blanc);
  overflow: hidden;
}

.hero-photo {
  background-image: linear-gradient(120deg, rgba(30,38,32,0.88) 0%, rgba(30,38,32,0.62) 45%, rgba(30,38,32,0.35) 100%), var(--hero-bg-url);
  background-size: cover;
  background-position: center;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 6.5rem) 1.75rem clamp(3rem, 7vw, 5rem);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-inner.solo { grid-template-columns: 1fr; max-width: 760px; }

.hero h1 { color: var(--blanc); }

.hero .eyebrow {
  font-family: var(--font-texte);
  color: var(--mousse-light);
  font-size: 1rem;
  margin-bottom: 0.9rem;
}

.hero p.lede {
  color: rgba(255,255,255,0.86);
  font-size: 1.12rem;
  max-width: 46ch;
}

.hero-art {
  width: 100%;
  height: auto;
  opacity: 0.9;
}

.hero-load {
  animation: hero-rise 0.9s ease-out both;
}

@keyframes hero-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-load { animation: none; }
}

/* wave divider under hero */
.wave {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 2;
  margin-top: -1px;
}

@media (max-width: 780px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { max-width: 280px; margin: 0 auto; }
}

/* ---------- CTA buttons ---------- */

.btn {
  display: inline-block;
  padding: 0.85rem 1.7rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 1rem;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: var(--or);
  color: var(--blanc);
}
.btn-primary:hover { background: var(--or-light); }

.btn-ghost {
  border-color: rgba(255,255,255,0.55);
  color: var(--blanc);
}
.btn-ghost:hover { border-color: var(--blanc); }

.btn-outline {
  border-color: var(--foret);
  color: var(--foret-dark);
}
.btn-outline:hover { background: var(--foret); color: var(--blanc); }

.cta-row { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.6rem; }

/* ---------- Sections ---------- */

.section {
  padding: clamp(3.2rem, 7vw, 5.5rem) 0;
}

.section-sable { background: var(--sable); }
.section-brume { background: var(--brume); }
.section-foret { background: var(--foret-dark); color: var(--blanc); }
.section-foret h2, .section-foret h3 { color: var(--blanc); }
.section-foret p { color: rgba(255,255,255,0.86); }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 780px) {
  .two-col { grid-template-columns: 1fr; }
}

hr.rule {
  border: none;
  border-top: 1px solid rgba(51,71,58,0.2);
  margin: 2.5rem 0;
}

/* ---------- Service overview cards on index (no shadow, bordered blocks) ---------- */

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(51,71,58,0.16);
  border: 1px solid rgba(51,71,58,0.16);
  margin-top: 2.5rem;
}

.service-tile {
  background: var(--brume);
  padding: 2rem 1.6rem;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: background 0.2s ease;
}

.service-tile:hover { background: var(--sable); }

.service-tile h3 { margin-bottom: 0.2rem; }
.service-tile .prix { color: var(--or); font-size: 0.95rem; }
.service-tile p { font-size: 0.95rem; margin-bottom: 0; }

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

/* ---------- Process steps (real sequence: déroulement d'une séance) ---------- */

.steps {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  counter-reset: step;
  display: grid;
  gap: 1.6rem;
}

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem;
  align-items: start;
}

.steps li::before {
  content: counter(step);
  font-family: var(--font-titre);
  font-size: 1.3rem;
  color: var(--or);
  border: 1px solid var(--or);
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.steps p { margin-bottom: 0.2rem; }

/* ---------- Info block (prix / durée / lieu) ---------- */

.info-block {
  background: var(--brume);
  border: 1px solid rgba(51,71,58,0.22);
  padding: 1.8rem 2rem;
  margin: 2rem 0;
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.info-block .item .label {
  font-size: 0.85rem;
  color: var(--mousse);
  margin-bottom: 0.15rem;
}

.info-block .item .value {
  font-family: var(--font-titre);
  font-size: 1.3rem;
  color: var(--foret-dark);
}

/* ---------- Practical / à qui s'adresse list ---------- */

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
  padding: 0;
  list-style: none;
}

.tag-list li {
  border: 1px solid var(--mousse);
  color: var(--foret-dark);
  padding: 0.45rem 1rem;
  font-size: 0.92rem;
}

/* ---------- Contact / footer ---------- */

.site-footer {
  background: var(--foret-dark);
  color: rgba(255,255,255,0.82);
  padding: 3rem 0 2rem;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem;
}

.site-footer h3 {
  color: var(--blanc);
  font-size: 1.05rem;
  margin-bottom: 0.9rem;
}

.site-footer a { text-decoration: none; color: rgba(255,255,255,0.82); }
.site-footer a:hover { color: var(--or-light); }

.footer-bottom {
  margin-top: 2.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255,255,255,0.14);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
}

@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
}

/* ---------- Portrait ---------- */

.portrait-wrap {
  position: relative;
}

.portrait-wrap img {
  width: 100%;
  max-width: 340px;
  border: 1px solid var(--sable);
}

/* ---------- Booking widget section ---------- */

.booking-frame-placeholder {
  border: 1px dashed var(--mousse);
  background: var(--blanc);
  padding: 2.5rem 2rem;
  text-align: center;
  color: var(--foret-dark);
}

/* ---------- Focus visibility ---------- */

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--or);
  outline-offset: 2px;
}

/* ---------- Utility ---------- */

.center { text-align: center; }
.small { font-size: 0.9rem; color: var(--mousse); }
