/* ==========================================================================
   NeuroÉnergie par M.C — feuille de style commune
   Palette inspirée du logo : vert sapin profond, or, blanc cassé
   ========================================================================== */

:root {
  --teal: #14564c;
  --teal-dark: #0d3f37;
  --teal-deep: #0a312b;
  --teal-soft: #1d6e60;
  --gold: #c9a14b;
  --gold-light: #e9cd8a;
  --gold-dark: #a87f2f;
  --cream: #faf7f0;
  --white: #ffffff;
  --ink: #20332f;
  --ink-soft: #51635e;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(13, 63, 55, 0.12);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Raleway", "Segoe UI", sans-serif;
  --font-script: "Great Vibes", cursive;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-size: 16.5px;
}

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

a { color: var(--teal); text-decoration: none; }

.container { width: min(1100px, 92%); margin-inline: auto; }

/* ---------- Typographie ---------- */

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.2; color: var(--teal-dark); }

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.35rem; }

.kicker {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--gold-dark);
  letter-spacing: 0.03em;
  display: block;
  margin-bottom: 0.4rem;
}

.lead { font-size: 1.15rem; color: var(--ink-soft); }

/* ---------- Navigation ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--teal);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.18);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
}


@font-face {
    font-family: 'Caviar Dreams';
    src: url('../fonts/CaviarDreams.woff2') format('woff2'),
         url('../fonts/CaviarDreams.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Autography';
    src: url('../fonts/Autography.woff2') format('woff2'),
         url('../fonts/Autography.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


.brand { display: flex; align-items: center; gap: 0.7rem; }

.brand img { width: 52px; height: 52px; border-radius: 10px; }

.brand-name {
  color: var(--white);
  font-family: 'Caviar Dreams', sans-serif;
  font-weight: 300;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  line-height: 1.1;
}

.brand-name strong { font-weight: 500; }

.brand-sub {
  display: block;
  font-family: 'Autography', sans-serif;
  color: var(--white);
  font-size: 1.05rem;
  text-align: right;
}

.nav-links { display: flex; align-items: center; gap: 1.6rem; list-style: none; }

.nav-links > li { position: relative; }

.nav-links a {
  color: #e8f0ee;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.5rem 0;
  display: inline-block;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.nav-links a:hover, .nav-links a.active { color: var(--gold-light); border-color: var(--gold); }

/* Sous-menu */
.has-sub > a::after { content: " ▾"; font-size: 0.7em; }

.submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--teal-dark);
  border: 1px solid rgba(201, 161, 75, 0.35);
  border-radius: 10px;
  list-style: none;
  min-width: 250px;
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  box-shadow: var(--shadow);
}

.has-sub:hover .submenu,
.has-sub:focus-within .submenu,
.has-sub.open .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.submenu a {
  display: block;
  padding: 0.5rem 1.2rem;
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 0.95rem;
  border-bottom: none;
}

.submenu a:hover { background: rgba(201, 161, 75, 0.12); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  color: var(--white);
  font-size: 1.4rem;
  line-height: 1;
  padding: 0.35rem 0.6rem;
  cursor: pointer;
}

/* ---------- Boutons ---------- */

.btn {
  display: inline-block;
  padding: 0.85rem 2.1rem;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.05em;
  font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn-gold {
  background: linear-gradient(120deg, var(--gold-dark), var(--gold-light) 55%, var(--gold));
  color: var(--teal-deep);
  box-shadow: 0 6px 18px rgba(201, 161, 75, 0.35);
}

.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(201, 161, 75, 0.45); }

.btn-outline {
  border: 1.5px solid var(--gold);
  color: var(--gold-light);
}

.btn-outline:hover { background: rgba(201, 161, 75, 0.15); }

/* ---------- Héro accueil ---------- */

.hero {
  background:
    radial-gradient(circle at 78% 18%, rgba(201, 161, 75, 0.18), transparent 45%),
    radial-gradient(circle at 12% 85%, rgba(233, 205, 138, 0.1), transparent 40%),
    linear-gradient(160deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: var(--white);
  padding: 4.5rem 0 5rem;
  text-align: center;
}

.hero img.hero-logo { width: 210px; margin: 0 auto 1.8rem; border-radius: 26px; box-shadow: 0 14px 38px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(201, 161, 75, 0.45); }

.hero h1 { color: var(--white); font-weight: 500; }

.hero h1 .accent { color: var(--gold-light); }

.hero .script { font-family: var(--font-script); color: var(--gold-light); font-size: clamp(1.6rem, 3vw, 2.2rem); display: block; margin-top: 0.3rem; }

.hero p { max-width: 640px; margin: 1.4rem auto 2.2rem; color: #d7e4e1; font-size: 1.12rem; font-weight: 300; }

.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

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

.section { padding: 4.5rem 0; }

.section-teal { background: var(--teal); color: #e3eeec; }
.section-teal h2, .section-teal h3 { color: var(--white); }
.section-teal .kicker { color: var(--gold-light); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }

.divider {
  width: 70px; height: 3px; border: none; margin: 1.1rem auto 0;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light), var(--gold-dark));
  border-radius: 2px;
}

/* ---------- Grille des 6 bienfaits ---------- */

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.6rem;
}

.benefit-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.2rem 1.8rem;
  text-align: center;
  box-shadow: var(--shadow);
  border-top: 3px solid transparent;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  display: block;
  color: var(--ink);
}

.benefit-card:hover {
  transform: translateY(-6px);
  border-top-color: var(--gold);
  box-shadow: 0 16px 38px rgba(13, 63, 55, 0.18);
}

.benefit-icon {
  width: 74px; height: 74px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 2px rgba(201, 161, 75, 0.5);
}

.benefit-icon svg { width: 38px; height: 38px; stroke: var(--white); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.benefit-card h3 { margin-bottom: 0.6rem; }

.benefit-card p { font-size: 0.95rem; color: var(--ink-soft); }

.benefit-card .more {
  display: inline-block;
  margin-top: 1rem;
  color: var(--gold-dark);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ---------- Étapes (déroulement d'une séance) ---------- */

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.6rem; counter-reset: step; }

.step {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(201, 161, 75, 0.3);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--gold-light);
  display: block;
  margin-bottom: 0.5rem;
}

.step h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.step p { font-size: 0.93rem; color: #c9d8d5; }

/* ---------- Deux colonnes ---------- */

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

.panel {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.4rem;
  border-left: 4px solid var(--gold);
}

.panel ul { list-style: none; margin-top: 1rem; }

.panel li { padding-left: 1.6rem; position: relative; margin-bottom: 0.7rem; }

.panel li::before { content: "✦"; position: absolute; left: 0; color: var(--gold); }

/* ---------- Pages bienfait ---------- */

.page-hero {
  background:
    radial-gradient(circle at 85% 25%, rgba(201, 161, 75, 0.16), transparent 50%),
    linear-gradient(150deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
}

.page-hero .benefit-icon { width: 92px; height: 92px; margin-bottom: 1.4rem; background: rgba(255, 255, 255, 0.08); }
.page-hero .benefit-icon svg { width: 46px; height: 46px; }

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

.page-hero .lead { color: #d7e4e1; max-width: 680px; margin: 1.2rem auto 0; }

.breadcrumb { font-size: 0.85rem; margin-bottom: 1.6rem; color: rgba(232, 240, 238, 0.75); letter-spacing: 0.04em; }
.breadcrumb a { color: var(--gold-light); }

.article { max-width: 780px; margin-inline: auto; }

.article h2 { margin: 2.6rem 0 1rem; }
.article h2:first-child { margin-top: 0; }
.article p + p { margin-top: 1rem; }
.article ul { margin: 1rem 0 1rem 1.4rem; }
.article li { margin-bottom: 0.55rem; }
.article li::marker { color: var(--gold-dark); }

.highlight-box {
  background: var(--white);
  border-radius: var(--radius);
  border-left: 4px solid var(--gold);
  box-shadow: var(--shadow);
  padding: 1.8rem 2rem;
  margin: 2.2rem 0;
}

.highlight-box h3 { margin-bottom: 0.6rem; }

.note {
  font-size: 0.88rem;
  color: var(--ink-soft);
  background: rgba(20, 86, 76, 0.07);
  border-radius: 10px;
  padding: 1rem 1.3rem;
  margin-top: 2.4rem;
  border: 1px dashed rgba(20, 86, 76, 0.3);
}

/* Pagination entre bienfaits */
.pager { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3.5rem; flex-wrap: wrap; }

.pager a {
  flex: 1 1 240px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.1rem 1.4rem;
  font-size: 0.92rem;
  transition: transform 0.2s;
}

.pager a:hover { transform: translateY(-3px); }

.pager .label { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold-dark); margin-bottom: 0.2rem; }

.pager .next { text-align: right; }

/* ---------- Signature (nom + titre) ---------- */

.signature {
  text-align: center;
  margin: 1.8rem auto 0;
  max-width: max-content;
  padding: 1.4rem 2.6rem 1.5rem;
  border: 1px solid rgba(201, 161, 75, 0.55);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06), 0 8px 24px rgba(0, 0, 0, 0.18);
}

.signature-name {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.9rem);
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0.02em;
  color: var(--gold-light);
  line-height: 1.1;
}

.signature-rule {
  display: block;
  width: 70px;
  height: 2px;
  margin: 0.7rem auto;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.signature-title {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: #d7e4e1;
}

/* ---------- Page À propos ---------- */

.about-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3rem;
  align-items: center;
}

.about-photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(201, 161, 75, 0.3);
}

.about-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 6px rgba(255, 255, 255, 0.6);
  border-radius: var(--radius);
  pointer-events: none;
}

.about-photo img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 25%;
  display: block;
}

.about-text .kicker { margin-top: 0; }

.about-text h2 { margin-bottom: 1rem; }

.about-text p + p { margin-top: 1rem; }

.cert-box {
  background: var(--white);
  border-radius: var(--radius);
  border-left: 4px solid var(--gold);
  box-shadow: var(--shadow);
  padding: 1.6rem 1.8rem;
  margin-top: 1.8rem;
}

.cert-box h3 { margin-bottom: 0.7rem; }

.cert-box ul { list-style: none; }

.cert-box li { padding-left: 1.7rem; position: relative; margin-bottom: 0.6rem; }

.cert-box li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--gold-dark);
}

@media (max-width: 860px) {
  .about-layout { grid-template-columns: 1fr; gap: 2rem; }
  .about-photo { max-width: 420px; margin-inline: auto; }
}

/* ---------- Bandeau CTA ---------- */

.cta-banner {
  background:
    radial-gradient(circle at 20% 50%, rgba(201, 161, 75, 0.2), transparent 55%),
    linear-gradient(120deg, var(--teal-dark), var(--teal));
  border-radius: var(--radius);
  color: var(--white);
  text-align: center;
  padding: 3rem 2rem;
  margin-top: 3.5rem;
}

.cta-banner h2 { color: var(--white); margin-bottom: 0.6rem; }
.cta-banner p { color: #cfdedb; margin-bottom: 1.6rem; }

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

.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.6rem; text-align: center; }

.contact-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(201, 161, 75, 0.3);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
}

.contact-card { display: flex; flex-direction: column; align-items: center; }
.contact-card .ico { font-size: 1.6rem; color: var(--gold-light); margin-bottom: 0.6rem; line-height: 0; }
.contact-card .ico svg {
  width: 2rem;
  height: 2rem;
  fill: none;
  stroke: var(--gold-light);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact-card a { color: var(--gold-light); font-weight: 600; }

.social-links { display: flex; gap: 1rem; justify-content: center; margin-top: 0.7rem; }

.social-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-light);
  box-shadow: inset 0 0 0 2px rgba(201, 161, 75, 0.5);
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}

.social-btn svg { width: 28px; height: 28px; fill: var(--teal-dark); transition: fill 0.2s; }

.social-btn:hover {
  transform: translateY(-3px);
  background: var(--white);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

/* ---------- Pied de page ---------- */

.site-footer {
  background: var(--teal-deep);
  color: #9fb8b3;
  padding: 2.6rem 0 2rem;
  font-size: 0.88rem;
}

.footer-inner { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; align-items: center; }

.footer-brand { font-family: 'Caviar Dreams', sans-serif; display: flex; align-items: center; gap: 0.7rem; color: var(--white); font-weight: 300; font-size: 1.1rem; }

.footer-brand img { width: 190px; height: auto; border-radius: 8px; }

.footer-brand { flex-direction: column; align-items: flex-start; gap: 0.6rem; }

.footer-links { list-style: none; display: flex; flex-wrap: wrap; gap: 1.2rem; }

.footer-links a { color: #b9cdc9; }
.footer-links a:hover { color: var(--gold-light); }

.disclaimer {
  margin-top: 1.8rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  line-height: 1.6;
  color: #7e9a94;
}

/* ---------- Responsive ---------- */

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

  .nav-toggle { display: block; }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: var(--teal-dark);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0.6rem 6%;
    display: none;
    box-shadow: 0 14px 24px rgba(0, 0, 0, 0.25);
    max-height: calc(100vh - var(--header-h, 70px));
    max-height: calc(100dvh - var(--header-h, 70px));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  .nav-links.open { display: flex; }

  .nav-links > li { width: 100%; }

  .nav-links a { display: block; padding: 0.7rem 0; }

  .submenu {
    position: static;
    transform: none;
    left: auto;
    opacity: 1;
    visibility: visible;
    display: none;
    border: none;
    background: rgba(0, 0, 0, 0.15);
    min-width: 0;
    width: 100%;
    box-shadow: none;
  }

  /* Spécificité égale à la règle desktop ".has-sub.open .submenu" pour annuler son translateX(-50%) */
  .has-sub.open .submenu { display: block; transform: none; left: auto; }
}
