:root {
  --black: #000;
  --ink: #111;
  --grey: #8a8a8a;
  --line: #cfcfcf;
  --white: #fff;
  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 64rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { margin: 0; font-family: var(--body); font-size: 1.125rem; line-height: 1.6; color: var(--ink); background: var(--white); }
body.no-scroll { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
h1, h2 { margin: 0; }
h2 { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 600; line-height: 1.1; margin-bottom: 2.5rem; }
h2::after { content: ""; display: block; width: 2.5rem; height: 5px; background: var(--black); margin-top: 1.25rem; }

/* En-tête */
.site-header { position: absolute; inset: 0 0 auto 0; z-index: 30; display: flex; justify-content: space-between; align-items: center; max-width: var(--wrap); margin: 0 auto; padding: 1.5rem 1.25rem; }
.logo { font-family: var(--display); font-weight: 700; font-size: 2.4rem; line-height: 1; text-transform: uppercase; text-decoration: none; letter-spacing: .01em; }
body.menu-open .logo { color: var(--white); }
.burger { width: 44px; height: 44px; background: none; border: 0; cursor: pointer; display: flex; flex-direction: column; justify-content: center; gap: 7px; padding: 8px; }
.burger span { display: block; height: 3px; background: var(--black); transition: transform .25s, opacity .25s; }
body.menu-open .burger span { background: var(--white); }
body.menu-open .burger span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

/* Menu plein écran */
.overlay { position: fixed; inset: 0; z-index: 20; background: rgba(20, 18, 19, .97); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4rem; }
.overlay[hidden] { display: none; }
.overlay a { color: var(--white); text-decoration: none; font-size: clamp(2rem, 7vw, 3.5rem); font-weight: 600; line-height: 1.25; }
.overlay a:hover { text-decoration: underline; text-underline-offset: 8px; }

/* Bannière */
.hero { position: relative; margin-top: 6.5rem; height: min(72vh, 640px); min-height: 380px; overflow: hidden; background: var(--black); color: var(--white); }
.hero-img { position: absolute; inset: 0; background: url("../images/hero.jpg") center / cover no-repeat, var(--black); animation: settle 1.6s ease-out both; }
.hero-text { position: absolute; right: clamp(1.25rem, 10vw, 9rem); bottom: 22%; text-align: center; }
.hero h1 { font-size: clamp(2.6rem, 8vw, 5.5rem); font-weight: 600; line-height: 1; text-shadow: 0 2px 20px rgba(0,0,0,.5); }
.hero-text a { display: inline-block; margin-top: .5rem; font-weight: 300; font-size: 1.4rem; text-decoration: none; }
.hero-text a:hover { text-decoration: underline; }
@keyframes settle { from { transform: scale(1.06); } to { transform: scale(1); } }

/* Blocs */
.block { max-width: var(--wrap); margin: 0 auto; padding: 6rem 1.25rem 0; }
.rows { list-style: none; margin: 0 0 2rem; padding: 0; }
.rows li { display: flex; align-items: baseline; gap: 1.25rem; padding: 1.75rem 0; border-bottom: 2px solid var(--line); font-size: 1.35rem; }
.who { font-weight: 600; flex: 1; }
.who small { font-weight: 400; font-size: 1.05rem; color: var(--grey); margin-left: .5rem; }
.price { font-weight: 600; font-size: 1.5rem; }
.rows a { font-size: 1.05rem; text-decoration: none; border-bottom: 1px solid currentColor; }
.rows a:hover { border-bottom-width: 2px; }
.note { color: var(--grey); margin: 0 0 2rem; }
.btn-outline { display: block; text-align: center; padding: 1.5rem 1rem; border: 3px solid var(--black); font-weight: 600; font-size: 1.15rem; text-decoration: none; transition: background .2s, color .2s; }
.btn-outline:hover { background: var(--black); color: var(--white); }

.video { position: relative; aspect-ratio: 16 / 9; background: var(--black); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.bio { display: grid; gap: 2.5rem; align-items: start; }
.bio img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: #e6e6e6; filter: grayscale(1); }
.bio p { max-width: 60ch; }

/* Pied de page noir */
.site-footer { margin-top: 7rem; padding: 5rem 1.25rem 3rem; background: var(--black); color: var(--white); text-align: center; }
.site-footer h2 { font-size: 2.2rem; margin-bottom: 1rem; }
.site-footer h2::after { display: none; }
.links { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem 2.25rem; margin: 2rem auto; max-width: 40rem; }
.links a { color: #dcdcdc; text-decoration: none; }
.links a:hover { color: var(--white); text-decoration: underline; }
.legal { margin-top: 3rem; font-size: .95rem; color: var(--grey); }

/* Apparition au défilement */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (min-width: 800px) {
  .block { padding-top: 8rem; }
  .bio { grid-template-columns: 5fr 6fr; gap: 4rem; }
}
@media (max-width: 560px) {
  .rows li { flex-wrap: wrap; }
  .who { flex-basis: 100%; }
  .who small { display: block; margin: 0; }
  .hero-text { right: 1.25rem; left: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-img { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
/* Página legal */
.legal-page {
  padding-top: 10rem;
  max-width: 46rem;
}

.legal-page h3 {
  font-size: 1.35rem;
  font-weight: 600;
  margin: 2.5rem 0 .75rem;
}

.legal-page p {
  margin: 0 0 1rem;
}

/* Metodología */
.method {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2.5rem;
}

.method li {
  border-top: 3px solid var(--black);
  padding-top: 1.25rem;
}

.method h3 {
  margin: 0 0 .75rem;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.2;
}

.method p {
  margin: 0;
  color: #333;
}

@media (min-width: 800px) {
  .method {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }
}

/* Bouton permanent */
.cta-fixed {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 15;
  padding: .9rem 1.5rem;
  background: var(--black);
  color: var(--white);
  border: 2px solid var(--white);
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .3);
}

.cta-fixed:hover {
  background: #222;
}

/* Caché par défaut seulement si le JavaScript fonctionne */
.js .cta-fixed {
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s, transform .3s, visibility .3s;
}

.js .cta-fixed.is-shown {
  opacity: 1;
  visibility: visible;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .js .cta-fixed {
    transition: none;
  }
}

/* Burger permanent : rond blanc, plus petit */
.burger {
  position: fixed;
  top: 1.5rem;
  right: max(1.25rem, calc((100vw - 64rem) / 2 + 1.25rem));
  z-index: 40;
  width: 33px;
  height: 33px;
  padding: 0;
  gap: 5px;
  align-items: center;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 6px rgba(0, 0, 0, .2);
}

.burger span {
  width: 17px;
  height: 2px;
  background: #8a8a8a;
}

.burger:hover span {
  background: #000;
}

/* Menu ouvert : le rond reste blanc, la croix est noire */
body.menu-open .burger {
  background: #fff;
  box-shadow: 0 1px 6px rgba(0, 0, 0, .3);
}

body.menu-open .burger span {
  background: #000;
}

body.menu-open .burger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.menu-open .burger span:nth-child(2) {
  opacity: 0;
}

body.menu-open .burger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.method-intro {
  margin: -1rem 0 3rem;
  max-width: 38rem;
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 1.45;
}

.rows li {
  flex-wrap: wrap;
}

.pack {
  flex-basis: 100%;
  font-size: 1rem;
  color: var(--grey);
}

/* Biografía : texte d'abord sur mobile, photo à gauche sur ordinateur */
.bio img {
  order: 2;
}

@media (min-width: 800px) {
  .bio img {
    order: 0;
  }
}

/* Phrase d'accroche de la bannière */
.hero-tag {
  margin: 1rem auto 0;
  max-width: 26rem;
  font-size: 1.15rem;
  font-weight: 300;
  line-height: 1.4;
  color: rgba(255, 255, 255, .92);
  text-shadow: 0 2px 14px rgba(0, 0, 0, .6);
}
