/* ================================================================
   ASTRALYXO — feuille de style commune
   Identité : trait noir, blanc généreux, rouge signature #e23b4e
   Typo : Manrope (titres) / Poppins (corps)
   ================================================================ */

:root {
  --ink: #111111;
  --ink-soft: #6b6b6b;
  --signature: #e23b4e;
  --line: #e2e2e2;
  --bg: #ffffff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .titling { font-family: 'Manrope', sans-serif; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
::selection { background: var(--signature); color: #fff; }

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

/* ---------- Header ---------- */
header.site {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 16px; }
.nav-logo img { width: 34px; height: 34px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-size: .92rem; color: var(--ink);
  transition: color .2s;
}
.nav-links a:hover { color: var(--signature); }
.btn {
  display: inline-block;
  border: 1px solid var(--ink);
  padding: 13px 26px;
  font-family: 'Manrope', sans-serif;
  font-size: .8rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink); background: transparent;
  transition: background .2s, color .2s;
  text-align: center;
}
.btn:hover { background: var(--ink); color: #fff; }
.burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; }

/* ---------- Hero ---------- */
.hero { padding: 70px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.hero h1 {
  font-size: clamp(2rem, 4.5vw, 2.9rem);
  font-weight: 700; letter-spacing: .06em;
  display: inline-block;
  border-bottom: 3px solid var(--signature);
  padding-bottom: 4px;
  margin-bottom: 26px;
}
.hero .subtitle {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  font-weight: 500; letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1.4;
  margin-bottom: 26px;
}
.hero .subtitle em { font-style: italic; }
.hero p.lead { color: var(--ink); max-width: 30em; margin-bottom: 34px; }
.hero-visual img { max-width: 480px; width: 100%; margin: 0 auto; }

/* ---------- Sections génériques ---------- */
section.block { padding: 80px 0; text-align: center; }
.block h2 {
  font-size: clamp(1.6rem, 3.6vw, 2.3rem);
  font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 14px;
}
.block .sub {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(.95rem, 2vw, 1.15rem);
  letter-spacing: .06em; text-transform: uppercase;
  margin-bottom: 34px;
}
.block .sub em { font-style: italic; }
.block p.body-text { max-width: 46em; margin: 0 auto 36px; }
.block .btn { margin-top: 6px; }

/* ---------- Vidéo ---------- */
.video-frame {
  max-width: 720px; margin: 0 auto 40px;
  aspect-ratio: 16/9; background: #f4f4f4;
  border: 1px solid var(--line);
}
.video-frame iframe { display: block; width: 100%; height: 100%; border: 0; }

/* ---------- Accordéons ---------- */
.accordion { max-width: 760px; margin: 0 auto 44px; text-align: left; }
.accordion details { border-bottom: 1px solid var(--ink); }
.accordion details:first-child { border-top: 1px solid var(--ink); }
.accordion summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 4px; cursor: pointer; list-style: none;
  font-size: .95rem;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: "+"; font-size: 1.5rem; font-weight: 300; line-height: 1;
  color: var(--ink); transition: transform .25s;
}
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion .a-body { padding: 0 4px 18px; color: var(--ink-soft); font-size: .93rem; }

/* ---------- Comment consulter ---------- */
.mode-icon { width: 62px; margin: 0 auto 22px; }
.mode-icon svg { width: 100%; height: auto; stroke: var(--ink); fill: none; stroke-width: 1.6; }
.mode-title {
  font-family: 'Manrope', sans-serif;
  font-size: 1.25rem; letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 16px;
}
.mode-note a { text-decoration: underline; }

/* ---------- Séparateurs dessinés ---------- */
.sep { padding: 30px 0; text-align: center; }
.sep img.onde { max-width: 860px; width: 92%; margin: 0 auto; }
.sep img.eclipse { width: 52px; margin: 0 auto; }

/* ---------- Témoignages ---------- */
.marquee {
  overflow: hidden; white-space: nowrap;
  margin-bottom: 46px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}
.marquee-inner {
  display: inline-block;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.7rem, 4.5vw, 2.6rem);
  font-weight: 600; letter-spacing: .06em;
  animation: slide 22s linear infinite;
}
@keyframes slide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.testimonial { max-width: 58em; margin: 0 auto; }
.testimonial p { color: var(--ink); font-size: .96rem; margin-bottom: 18px; }
.testimonial .author { font-style: italic; text-align: right; margin-top: 8px; }

/* ---------- FAQ ---------- */
#faq .accordion { margin-bottom: 40px; }

/* ---------- Footer ---------- */
footer.site {
  padding: 52px 0 30px;
  font-size: .9rem;
}
.foot-grid {
  display: grid; grid-template-columns: auto 1fr 1.2fr; gap: 44px;
  align-items: start;
}
.foot-logo img { width: 44px; }
.foot-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 34px; }
.foot-nav a {
  font-size: .82rem; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: underline; text-underline-offset: 3px;
}
.foot-nav a:hover { color: var(--signature); }
.foot-hours h4 {
  font-family: 'Manrope', sans-serif;
  font-size: .85rem; letter-spacing: .06em; text-transform: uppercase;
  margin-bottom: 10px;
}
.foot-hours p { color: var(--ink-soft); font-size: .88rem; }
.foot-copy { text-align: center; margin-top: 44px; color: var(--ink-soft); font-size: .8rem; }

/* ---------- Pages intérieures ---------- */
.page-head { padding: 70px 0 20px; text-align: center; }
.page-head h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.page-body { padding: 30px 0 90px; }
.page-body .inner { max-width: 46em; margin: 0 auto; }
.page-body p { margin-bottom: 20px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero-visual img { max-width: 340px; }
  .nav-links {
    display: none;
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: center; gap: 20px;
    background: var(--ink); padding: 26px 24px 30px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { color: #fff; }
  .nav-links a:hover { color: var(--signature); }
  .nav-links .btn { border-color: #fff; color: #fff; }
  .nav-links .btn:hover { background: #fff; color: var(--ink); }
  .burger { display: block; }
  section.block { padding: 56px 0; }
  .foot-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .foot-logo img { margin: 0 auto; }
  .foot-nav { justify-items: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-inner { animation: none; }
}

/* ---------- À propos : portrait ---------- */
.portrait { width: 104px; height: 104px; margin: 0 auto 30px; }
.portrait img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 50%; filter: grayscale(100%);
}

/* ---------- Page Témoignages ---------- */
.testimonials { max-width: 58em; margin: 0 auto; }
.testimonials .testimonial { padding: 34px 0; border-bottom: 1px solid var(--line); }
.testimonials .testimonial:last-child { border-bottom: none; }
.testimonials .testimonial p:last-of-type { margin-bottom: 0; }

/* ---------- Curseur Soleil ---------- */
body { cursor: url('assets/cursor-soleil.png') 16 16, auto; }
a, .btn, button, summary {
  cursor: url('assets/cursor-soleil-hover.png') 16 16, pointer;
}

/* ---------- Fil de progression (le point qui chemine) ---------- */
.scroll-path {
  position: fixed; right: 26px; top: 50%;
  height: 180px; width: 11px;
  transform: translateY(-50%);
  z-index: 200; pointer-events: none;
}
.scroll-path::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 5px;
  width: 1px; background: rgba(17,17,17,0.18);
}
.scroll-path .dot {
  position: absolute; left: 1px; top: 0;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--signature);
  transform: translateY(-4px);
}
.scroll-path[hidden] { display: none; }
@media (max-width: 860px) {
  .scroll-path { right: 10px; height: 130px; }
}

/* ---------- Apparition douce des sections ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s ease-out, transform .6s ease-out;
}
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
