/* ============================================================
   LES VOIX D'ÈVE — CSS PAGE PRESTATIONS
   Version 1.0 · Avril 2026
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --violet-deep:   #2D1B4E;
  --violet-mid:    #4A2D7A;
  --violet-soft:   #7B5BA6;
  --violet-light:  #B89FD0;
  --violet-pale:   #E8DFF2;
  --gold:          #C9A96E;
  --white:         #FFFFFF;
  --green-confirm: #7DD09A;
}

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

html { scroll-behavior: smooth; }

body {
  background-color: var(--violet-deep);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

/* Grain de texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.035;
  pointer-events: none;
  z-index: 100;
}

/* ── Navigation ─────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 3rem;
  background: linear-gradient(to bottom, rgba(45,27,78,0.95), transparent);
  transition: background 0.3s;
}

.nav.scrolled {
  background: rgba(45,27,78,0.97);
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--white);
  text-decoration: none;
}

.nav-logo em {
  font-style: italic;
  color: var(--violet-light);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--violet-light);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--white); }

.nav-cta {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  border: 1px solid rgba(201,169,110,0.4);
  padding: 0.45rem 1.2rem;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s;
}

.nav-cta:hover {
  background: var(--gold);
  color: var(--violet-deep);
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}

/* ── Main ───────────────────────────────────────────────────── */
main {
  max-width: 860px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

/* ── Header de page ─────────────────────────────────────────── */
.page-header {
  padding: 3rem 2rem 2rem;
  text-align: center;
  position: relative;
}

.page-header::after {
  content: '';
  display: block;
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 2rem auto 0;
}

.header-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--violet-light);
  margin-bottom: 1rem;
}

.header-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--white);
}

.header-title em {
  font-style: italic;
  color: var(--violet-light);
}

.header-sub {
  font-size: 0.95rem;
  color: var(--violet-pale);
  max-width: 520px;
  margin: 1.2rem auto 0;
  line-height: 1.7;
}

/* ── Section label ──────────────────────────────────────────── */
.section-label {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.label-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--gold), transparent);
}

/* ── Membership Banner ──────────────────────────────────────── */
.membership-banner {
  background: linear-gradient(135deg, #4A2D7A 0%, #3D2268 60%, #2D1B4E 100%);
  border: 1px solid rgba(201,169,110,0.3);
  border-radius: 4px;
  padding: 2.5rem 2.5rem 2rem;
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
}

/* Texte décoratif flottant */
.membership-banner::before {
  content: 'MEMBRE';
  position: absolute;
  top: 1.5rem; right: -1.5rem;
  font-size: 0.55rem;
  letter-spacing: 0.35em;
  color: var(--gold);
  transform: rotate(90deg);
  transform-origin: center;
  opacity: 0.6;
}

.membership-top {
  margin-bottom: 2rem;
}

.membership-price {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}

.price-amount {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}

.price-period {
  font-size: 0.8rem;
  color: var(--violet-light);
  letter-spacing: 0.1em;
}

.membership-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--white);
  font-style: italic;
  margin-bottom: 1.5rem;
}

/* Cartes membership */
.membership-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.prestation-card.highlight {
  background: rgba(75,45,120,0.25);
  border: 1px solid rgba(201,169,110,0.25);
  border-radius: 3px;
  padding: 1.5rem 2rem;
  margin-bottom: 0.6rem;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--white);
  line-height: 1.3;
}

.badge-inclus {
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: rgba(201,169,110,0.15);
  color: var(--gold);
  border: 1px solid rgba(201,169,110,0.3);
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}

.card-desc {
  font-size: 0.88rem;
  color: var(--violet-pale);
  line-height: 1.75;
}

.card-detail {
  font-size: 0.78rem;
  color: var(--violet-light);
  font-style: italic;
  margin-top: 0.8rem;
  line-height: 1.6;
}

.membership-note {
  font-size: 0.8rem;
  color: var(--violet-pale);
  line-height: 1.6;
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* ── Accompagnement physique ────────────────────────────────── */
.accompagnement-bloc {
  border: 1px solid rgba(201,169,110,0.35);
  background: linear-gradient(160deg, rgba(75,45,120,0.2) 0%, rgba(45,27,78,0.4) 100%);
  border-radius: 4px;
  padding: 2.5rem;
  margin-bottom: 3rem;
  position: relative;
}

/* Liseré gauche doré */
.accompagnement-bloc::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: var(--gold);
  border-radius: 4px 0 0 4px;
}

.accompagnement-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.accompagnement-subtitle {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.accompagnement-desc {
  font-size: 0.9rem;
  color: var(--violet-pale);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* Tableau tarifs */
.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 1rem;
}

table {
  width: 100%;
  min-width: 400px;
  border-collapse: collapse;
}

th {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--violet-light);
  text-align: left;
  padding: 0.5rem 0.8rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

td {
  font-size: 0.85rem;
  color: var(--violet-pale);
  padding: 0.75rem 0.8rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  line-height: 1.5;
}

tr:last-child td { border-bottom: none; }

td:first-child {
  color: var(--white);
  font-weight: 400;
}

.td-gratuit {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  color: var(--green-confirm);
}

.accompagnement-note {
  font-size: 0.78rem;
  color: var(--violet-light);
  font-style: italic;
  line-height: 1.6;
  margin-top: 1.2rem;
}

/* ── Bénévolat ─────────────────────────────────────────────── */
.benevolat-bloc {
  background: linear-gradient(135deg, rgba(107,79,160,0.18) 0%, rgba(45,27,78,0.5) 100%);
  border: 1px solid rgba(201,169,110,0.4);
  border-radius: 4px;
  padding: 2.5rem;
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
}

/* Liseré haut doré */
.benevolat-bloc::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--gold), transparent);
}

.benevolat-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
}

.benevolat-icon {
  font-size: 1.6rem;
  color: var(--gold);
  flex-shrink: 0;
  line-height: 1;
}

.benevolat-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--white);
  flex: 1;
}

.benevolat-badge {
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: rgba(201,169,110,0.15);
  color: var(--gold);
  border: 1px solid rgba(201,169,110,0.35);
  padding: 0.25rem 0.7rem;
  border-radius: 20px;
  white-space: nowrap;
}

.benevolat-desc {
  font-size: 0.9rem;
  color: var(--violet-pale);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.benevolat-cta-text {
  font-size: 0.8rem;
  color: var(--gold);
  font-style: italic;
  line-height: 1.6;
  opacity: 0.85;
}

/* ── CTA Bloc ───────────────────────────────────────────────── */
.cta-bloc {
  text-align: center;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, rgba(75,45,120,0.3), rgba(45,27,78,0.5));
  border: 1px solid rgba(201,169,110,0.2);
  border-radius: 4px;
  margin-bottom: 3rem;
}

.cta-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--white);
  margin-bottom: 0.8rem;
}

.cta-sub {
  font-size: 0.85rem;
  color: var(--violet-pale);
  line-height: 1.6;
  max-width: 460px;
  margin: 0 auto 2rem;
}

.cta-btn {
  display: inline-block;
  background: var(--gold);
  color: var(--violet-deep);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.9rem 2.5rem;
  border-radius: 2px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.cta-btn:hover { opacity: 0.85; }

.cta-note {
  font-size: 0.75rem;
  color: var(--violet-light);
  margin-top: 1.2rem;
}

/* ── Note footer ────────────────────────────────────────────── */
.page-footer-note {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
  text-align: center;
  line-height: 1.8;
  margin-top: 3rem;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav { padding: 1.2rem 1.5rem; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(45,27,78,0.98);
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    z-index: 40;
  }

  .membership-cards {
    grid-template-columns: 1fr;
  }

  .card-header {
    flex-direction: column;
    gap: 0.5rem;
  }

  .benevolat-bloc {
    flex-direction: column;
    gap: 1rem;
  }

  .membership-banner {
    padding: 2rem 1.5rem;
  }

  .accompagnement-bloc {
    padding: 2rem 1.5rem;
  }

  main {
    padding: 2rem 1rem 4rem;
  }

  /* Tableau responsive : transformé en blocs empilés */
  table, thead, tbody, th, td, tr {
    display: block;
    width: 100%;
  }

  thead tr {
    display: none; /* masquer les entêtes */
  }

  tbody tr {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 4px;
    padding: 1rem;
    margin-bottom: 0.8rem;
  }

  tbody tr:last-child {
    margin-bottom: 0;
  }

  td {
    padding: 0.3rem 0;
    border: none;
    font-size: 0.82rem;
  }

  td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    margin-bottom: 0.2rem;
  }

  .td-gratuit {
    font-size: 0.95rem;
  }

  .don-bloc-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer {
  text-align: center;
  padding: 2rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 1rem;
}

.site-footer p {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.05em;
}

.site-footer a {
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: color 0.2s;
}

.site-footer a:hover {
  color: var(--gold);
}

/* ── Bloc Don ───────────────────────────────────────────────── */
.don-bloc {
  background: linear-gradient(135deg, rgba(107,79,160,0.12) 0%, rgba(45,27,78,0.45) 100%);
  border: 1px solid rgba(201,169,110,0.3);
  border-radius: 4px;
  padding: 2.5rem;
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
}

.don-bloc::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--gold), transparent);
}

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

.don-bloc-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 0.6rem;
}

.don-bloc-title em {
  font-style: italic;
  color: var(--gold);
}

.don-bloc-desc {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.75;
}

.don-bloc-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(201,169,110,0.08);
  border: 1px solid rgba(201,169,110,0.3);
  border-radius: 40px;
  padding: 0.6rem 1.4rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.don-badge-icon {
  color: var(--gold);
  font-size: 0.8rem;
}

.don-badge-text {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ── Footer réseaux sociaux ─────────────────────────────────── */
.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.footer-social-link svg {
  opacity: 0.5;
  transition: opacity 0.2s;
}

.footer-social-link:hover {
  color: var(--gold);
}

.footer-social-link:hover svg {
  opacity: 1;
}
