/* ─── POLICES (auto-hébergées) ─── */
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 400 900; font-display: swap; src: url('/fonts/playfair-display-latin.woff2') format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-style: italic; font-weight: 400 900; font-display: swap; src: url('/fonts/playfair-display-italic-latin.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 100 1000; font-display: swap; src: url('/fonts/dm-sans-latin.woff2') format('woff2'); }

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

:root {
  --rouge:     #820904;
  --rouge-dark:#5a0502;
  --fond:      #F5F0E4;
  --creme:     #E8E0D5;
  --texte:     #2C2C2C;
  --blanc:     #FAFAFA;
  --display:   'Playfair Display', Georgia, serif;
  --body:      'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--fond);
  color: var(--texte);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 4rem;
  background: var(--fond);
  box-shadow: 0 1px 0 rgba(44,44,44,0.08);
  transition: background 0.4s, box-shadow 0.4s;
}
nav.transparent {
  background: transparent;
  box-shadow: none;
}
nav.transparent.scrolled {
  background: var(--fond);
  box-shadow: 0 1px 0 rgba(44,44,44,0.08);
}
.nav-logo {
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--texte);
  text-decoration: none;
}
.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--texte);
  text-decoration: none;
  opacity: 0.6;
  transition: opacity 0.2s;
}
.nav-links a:hover,
.nav-links a.active { opacity: 1; }
.nav-links a.active { border-bottom: 1px solid var(--rouge); padding-bottom: 2px; }

/* ─── PAGE HEADER ─── */
.page-header {
  padding: 10rem 4rem 5rem;
  background: var(--texte);
  color: var(--fond);
  position: relative;
  overflow: hidden;
}
.page-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 4rem;
  width: 60px; height: 3px;
  background: var(--rouge);
}
.page-header-label {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245,240,228,0.65);
  margin-bottom: 1rem;
}
.page-header-title {
  font-family: var(--display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
}
.page-header-title em { font-style: italic; color: #d0716b; } /* bordeaux éclairci : lisible sur fond sombre */

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-block;
  padding: 0.9rem 2rem;
  background: var(--rouge);
  color: var(--fond);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover { background: var(--rouge-dark); transform: translateY(-2px); }

.btn-ghost {
  display: inline-block;
  padding: 0.9rem 2rem;
  border: 1px solid var(--texte);
  color: var(--texte);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.btn-ghost:hover { background: var(--texte); color: var(--fond); transform: translateY(-2px); }

.btn-ghost-light {
  display: inline-block;
  padding: 0.9rem 2rem;
  border: 1px solid rgba(245,240,228,0.4);
  color: var(--fond);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.btn-ghost-light:hover { background: rgba(245,240,228,0.1); border-color: var(--fond); transform: translateY(-2px); }

/* ─── SECTION UTILITIES ─── */
.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rouge);
  margin-bottom: 1rem;
  display: block;
}
.section-title {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  line-height: 1.1;
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.js .reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE BASE ─── */
@media (max-width: 768px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .page-header { padding: 7rem 1.5rem 3rem; }
  .page-header::after { left: 1.5rem; }
}

/* ═══════════════════════════════════════════════
   AJOUTS — navigation mobile, pages prestations,
   FAQ, vidéos légères, pied de page enrichi
   ═══════════════════════════════════════════════ */

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--rouge); color: var(--fond);
  padding: 0.6rem 1rem; z-index: 200; text-decoration: none;
}
.skip-link:focus { left: 1rem; top: 1rem; }

:focus-visible { outline: 2px solid var(--rouge); outline-offset: 3px; }

/* ─── NAV MOBILE ─── */
.nav-toggle {
  display: none;
  background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; margin-right: -10px;
  position: relative; z-index: 120;
  color: var(--texte);
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; position: absolute; left: 11px; width: 22px; height: 1.5px;
  background: currentColor; transition: transform 0.3s, top 0.3s, background 0.2s;
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { content: ''; left: 0; top: -7px; }
.nav-toggle span::after  { content: ''; left: 0; top: 7px; }
nav.open .nav-toggle span { background: transparent; }
nav.open .nav-toggle span::before { top: 0; transform: rotate(45deg); background: var(--texte); }
nav.open .nav-toggle span::after  { top: 0; transform: rotate(-45deg); background: var(--texte); }

@media (max-width: 1000px) {
  nav { padding-left: 2rem; padding-right: 2rem; }
  .nav-links { gap: 1.6rem; }
}
@media (max-width: 768px) {
  nav { padding: 1rem 1.5rem; }
  .nav-toggle { display: block; }
  .nav-links {
    display: flex;
    position: fixed; inset: 0;
    flex-direction: column; align-items: center; justify-content: center;
    gap: 2rem;
    background: var(--fond);
    opacity: 0; visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 110;
  }
  nav.open .nav-links { opacity: 1; visibility: visible; }
  .nav-links a { font-size: 1rem; opacity: 0.85; }
  .nav-logo { position: relative; z-index: 120; }
}

/* ─── FIL D'ARIANE ─── */
nav.breadcrumb {
  position: static; display: block; padding: 0; background: none; box-shadow: none; z-index: auto;
}
.breadcrumb {
  font-size: 0.72rem; letter-spacing: 0.08em;
  color: rgba(245,240,228,0.75);
  margin-bottom: 1.5rem;
}
.breadcrumb a { color: rgba(245,240,228,0.85); text-decoration: underline; text-decoration-color: rgba(245,240,228,0.35); text-underline-offset: 3px; }
.breadcrumb a:hover { color: var(--fond); }
.breadcrumb .sep { margin: 0 0.5rem; }

/* ─── EN-TÊTE DES PAGES PRESTATIONS ─── */
.page-header-lead {
  margin-top: 1.5rem;
  max-width: 58ch;
  font-size: 1.05rem; font-weight: 300; line-height: 1.75;
  color: rgba(245,240,228,0.75);
}
.page-header-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.25rem; }

/* ─── CONTENU ÉDITORIAL ─── */
.lp-section { padding: 6rem 4rem; }
.lp-section.alt { background: var(--creme); }
.lp-section.dark { background: var(--texte); color: var(--fond); }
.lp-intro {
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  font-style: italic; line-height: 1.5;
  max-width: 34ch; margin-bottom: 2rem;
}
.lp-intro span { color: var(--rouge); }
.prose p {
  font-size: 1rem; font-weight: 300; line-height: 1.85;
  color: rgba(44,44,44,0.85);
  margin-bottom: 1.25rem; max-width: 68ch;
}
.prose strong { font-weight: 500; color: var(--texte); }
.prose a { color: var(--rouge); text-underline-offset: 3px; }
.lp-section.dark .prose p { color: rgba(245,240,228,0.75); }

.lp-split {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 5rem; align-items: center;
}
.lp-split figure { margin: 0; }
.lp-split img { width: 100%; height: auto; display: block; }
.lp-split figcaption {
  margin-top: 0.75rem; font-size: 0.75rem; letter-spacing: 0.05em; color: rgba(44,44,44,0.55);
}

.lp-head { margin-bottom: 3rem; max-width: 760px; }
.lp-head p {
  margin-top: 1rem; font-size: 0.98rem; font-weight: 300; line-height: 1.8;
  color: rgba(44,44,44,0.75);
}
.lp-section.dark .lp-head p { color: rgba(245,240,228,0.65); }
.lp-section.dark .section-label { color: rgba(245,240,228,0.68); }

/* Cartes avantages / moments */
.card-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 1.5rem;
}
.card {
  background: var(--fond);
  border-top: 3px solid var(--rouge);
  padding: 2rem 1.75rem;
}
.lp-section:not(.alt) .card { background: var(--blanc); box-shadow: 0 1px 0 rgba(44,44,44,0.06); }
.card h3 {
  font-family: var(--display); font-size: 1.2rem; font-weight: 700; line-height: 1.25;
  margin-bottom: 0.75rem;
}
.card p { font-size: 0.92rem; font-weight: 300; line-height: 1.75; color: rgba(44,44,44,0.78); }

/* Répertoire (exemples) */
.rep-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  column-gap: 2rem;
  border-top: 1px solid rgba(44,44,44,0.12);
}
.rep-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(44,44,44,0.12);
}
.rep-moment {
  font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--rouge);
}
.rep-title { font-family: var(--display); font-size: 1.15rem; font-style: italic; margin-top: 0.4rem; }
.rep-composer { font-size: 0.85rem; color: rgba(44,44,44,0.6); margin-top: 0.2rem; }
.rep-note {
  margin-top: 1.5rem; font-size: 0.85rem; font-weight: 300; font-style: italic;
  color: rgba(44,44,44,0.65); max-width: 70ch;
}

/* Étapes */
.steps { list-style: none; counter-reset: step; max-width: 820px; }
.steps li {
  counter-increment: step;
  display: grid; grid-template-columns: 70px 1fr; gap: 1.5rem;
  padding: 1.75rem 0; border-bottom: 1px solid rgba(245,240,228,0.12);
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--display); font-size: 2rem; font-style: italic; color: var(--rouge); line-height: 1;
}
.steps h3 { font-family: var(--display); font-size: 1.2rem; margin-bottom: 0.4rem; }
.steps p { font-size: 0.92rem; font-weight: 300; line-height: 1.75; color: rgba(245,240,228,0.7); }

/* FAQ */
.faq { max-width: 820px; border-top: 1px solid rgba(44,44,44,0.12); }
.faq details { border-bottom: 1px solid rgba(44,44,44,0.12); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; gap: 1.5rem; align-items: baseline;
  padding: 1.4rem 0;
  font-family: var(--display); font-size: 1.12rem; font-weight: 700; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; font-family: var(--body); font-weight: 300; font-size: 1.5rem; color: var(--rouge);
  transition: transform 0.25s; flex-shrink: 0;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  padding: 0 0 1.5rem; max-width: 68ch;
  font-size: 0.95rem; font-weight: 300; line-height: 1.8; color: rgba(44,44,44,0.8);
}
.faq details p a { color: var(--rouge); }

/* Bandeau d'appel à l'action */
.cta-band {
  padding: 5.5rem 4rem; background: var(--rouge); color: var(--fond); text-align: center;
}
.cta-band h2 {
  font-family: var(--display); font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 700; line-height: 1.15;
  max-width: 24ch; margin: 0 auto 1rem;
}
.cta-band h2 em { font-style: italic; }
.cta-band p {
  max-width: 54ch; margin: 0 auto 2.25rem;
  font-size: 0.98rem; font-weight: 300; line-height: 1.75; opacity: 0.88;
}
.cta-band .btns { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.btn-light {
  display: inline-block; padding: 0.95rem 2rem;
  background: var(--fond); color: var(--rouge);
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; transition: transform 0.2s, opacity 0.2s;
}
.btn-light:hover { transform: translateY(-2px); opacity: 0.92; }

/* Liens vers les autres prestations */
.related-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem;
}
.related-link {
  display: block; padding: 1.5rem; text-decoration: none; color: var(--texte);
  border: 1px solid rgba(44,44,44,0.15);
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
}
.related-link:hover { border-color: var(--rouge); transform: translateY(-2px); background: var(--blanc); }
.related-link strong { display: block; font-family: var(--display); font-size: 1.1rem; margin-bottom: 0.3rem; }
.related-link span { font-size: 0.82rem; font-weight: 300; color: rgba(44,44,44,0.7); }
.related-link span::after { content: ' →'; color: var(--rouge); }

/* Cartes prestations (page Prestations + accueil) */
.presta-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 1.5rem;
}
.presta-card {
  display: flex; flex-direction: column;
  background: var(--blanc); padding: 2.25rem 2rem;
  text-decoration: none; color: var(--texte);
  border-top: 3px solid var(--rouge);
  box-shadow: 0 1px 0 rgba(44,44,44,0.06);
  transition: transform 0.25s, box-shadow 0.25s;
}
.presta-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(44,44,44,0.08); }
.presta-kicker {
  font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--rouge); margin-bottom: 0.9rem;
}
.presta-card h3 { font-family: var(--display); font-size: 1.4rem; line-height: 1.2; margin-bottom: 0.8rem; }
.presta-card p { font-size: 0.92rem; font-weight: 300; line-height: 1.75; color: rgba(44,44,44,0.75); flex: 1; }
.presta-more {
  margin-top: 1.5rem; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
}
.presta-more::after { content: ' →'; color: var(--rouge); }

/* ─── VIDÉO YOUTUBE LÉGÈRE (chargée au clic) ─── */
.yt-facade {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border: 0; padding: 0; cursor: pointer; background: #111;
}
.yt-facade img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0.88; transition: opacity 0.2s; }
.yt-facade:hover img { opacity: 1; }
.yt-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--rouge); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(0,0,0,0.35); transition: transform 0.2s;
}
.yt-facade:hover .yt-play { transform: translate(-50%, -50%) scale(1.06); }
.yt-play::before {
  content: ''; margin-left: 5px;
  border-style: solid; border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent var(--fond);
}

/* ─── PIED DE PAGE ENRICHI ─── */
.site-footer {
  background: var(--texte); color: rgba(245,240,228,0.6);
  padding: 4rem 4rem 2rem; font-size: 0.85rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem;
  padding-bottom: 3rem; border-bottom: 1px solid rgba(245,240,228,0.1);
}
.footer-brand { font-family: var(--display); font-size: 1.4rem; font-weight: 700; color: var(--fond); }
.footer-brand em { color: #c9817e; font-style: italic; font-weight: 400; font-size: 1rem; display: block; margin-top: 0.2rem; }
.footer-grid p { margin-top: 1rem; line-height: 1.75; font-weight: 300; max-width: 36ch; }
.footer-title {
  font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(245,240,228,0.68);
  margin-bottom: 1rem; display: block;
}
.footer-grid ul { list-style: none; display: grid; gap: 0.55rem; }
.site-footer a { color: rgba(245,240,228,0.75); text-decoration: none; transition: color 0.2s; }
.site-footer a:hover { color: var(--fond); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding-top: 1.5rem; font-size: 0.75rem; letter-spacing: 0.05em; color: rgba(245,240,228,0.68);
}

@media (max-width: 900px) {
  .lp-split { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .lp-section { padding: 4rem 1.5rem; }
  .cta-band { padding: 4rem 1.5rem; }
  .steps li { grid-template-columns: 50px 1fr; gap: 1rem; }
  .site-footer { padding: 3rem 1.5rem 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; align-items: center; }
  .page-header-ctas a { width: 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0ms !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Vidéo dans les pages prestations */
.lp-video { position: relative; aspect-ratio: 16 / 9; background: #111; overflow: hidden; }
.lp-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
