@charset "UTF-8";
/* ═══════════════════════════════════════════════════════════════
   HUGO BORRELL — AMOUROSCOPIE
   section.css · Version avec espacement accentué pour le médaillon
   ═══════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────
   STRUCTURE GLOBALE DES SECTIONS
   ───────────────────────────────────────────────────────── */
main > .collapsible-section {
  padding: var(--space-md) var(--space-sm);
  border-bottom: 1px solid var(--c-stone);
  scroll-margin-top: 70px;
  box-sizing: border-box;
}

.section-title {
  font-family: var(--f-serif, serif);
  font-weight: 300;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: var(--c-slate, #141823);
  margin-bottom: var(--space-lg, 2rem);
  position: relative;
  padding-bottom: var(--space-sm, 0.75rem);
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48px;
  height: 1px;
  background: var(--c-gold, #c5a059);
}

/* ─────────────────────────────────────────────────────────
   HERO SECTION & MÉDAILLON
   ───────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  /* On laisse une marge de sécurité confortable en bas de la hero */
  padding: var(--space-xl) var(--space-sm) 90px;
  background-color: var(--c-slate, #141823);
  box-sizing: border-box;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  z-index: 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
    to bottom,
    rgba(20, 24, 35, 0.8),
    rgba(20, 24, 35, 0.4)
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  margin: 0 auto;
}

.hero-eyebrow {
  font-family: var(--f-sans, sans-serif);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-gold-light, #e2c993);
  margin-bottom: var(--space-sm);
}

.hero-content h1 {
  font-family: var(--f-serif, serif);
  font-weight: 300;
  color: #fff;
  font-size: clamp(2.5rem, 8vw, 5rem);
  line-height: 1.1;
  margin-bottom: 0.5em;
}

.hero-content h2 {
  font-family: var(--f-serif, serif);
  font-weight: 300;
  font-style: italic;
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  margin-bottom: var(--space-lg);
}

/* Le médaillon descend plus bas pour respirer */
.hero-medaillon {
  position: absolute;
  bottom: -40px;
  left: var(--space-sm);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

/* ─────────────────────────────────────────────────────────
   SECTION VIDÉO & PRÉSENTATION (ESPACEMENT FORT)
   ───────────────────────────────────────────────────────── */
#presentation {
  padding-top: calc(40px + var(--space-md));
}

#test-csi16 {
  background: var(--c-cream);
}

.video-wrapper {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

#presentation {
  box-sizing: border-box;
}

#presentation p {
  margin-bottom: 1.25rem;
}

#presentation ul {
  margin: 1.5rem 0;
  padding-left: 1.2rem;
  list-style: disc;
}

#presentation li {
  margin-bottom: 0.75rem;
}

/* ─────────────────────────────────────────────────────────
   CITATION & BLOCS PLEINE LARGEUR
   ───────────────────────────────────────────────────────── */
#citation {
  background: var(--c-slate);
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--f-serif);
  font-style: italic;
  border-bottom: none;
}

#citation .section-title {
  color: #fff;
}

#citation p {
  color: inherit;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.5;
  margin-bottom: var(--space-sm);
}

#citation cite {
  display: block;
  font-family: var(--f-sans);
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-gold-light);
}

.citation-wrapper {
  max-width: var(--max-w-text, 700px);
  margin: 0 auto;
  padding-left: 2.5rem;
  border-left: 2px solid var(--c-gold, #c5a059);
  box-sizing: border-box;
}

/* ─────────────────────────────────────────────────────────
   GRILLE YOUTUBE
   ───────────────────────────────────────────────────────── */
#youtube-dynamic-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  margin-top: var(--space-md);
  box-sizing: border-box;
}

.youtube-link-card {
  background-color: var(--c-warm-white);
  border: 1px dashed var(--c-gold-light);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: var(--space-md);
  aspect-ratio: 16 / 9;
  box-sizing: border-box;
}

.youtube-link-card a {
  color: #333;
  font-weight: bold;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  text-decoration: none;
}

.youtube-icon {
  width: 50px;
  height: 50px;
  fill: #ff0000;
}

/* ─────────────────────────────────────────────────────────
   RESPONSIVE DESIGN
   ───────────────────────────────────────────────────────── */
@media (min-width: 768px) {
  #youtube-dynamic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    padding-bottom: calc(130px + var(--space-md));
  }

  .hero-medaillon {
    bottom: -60px;
    left: clamp(24px, 8vw, 80px);
    width: clamp(130px, 16vw, 200px);
    height: clamp(130px, 16vw, 200px);
    border-width: 6px;
  }

  #presentation {
    padding-top: calc(60px + var(--space-lg));
  }

  main > .collapsible-section {
    padding: var(--space-lg)
      max(var(--space-md), calc((100% - var(--max-w)) / 2));
  }
}
/* ─────────────────────────────────────────────────────────
   TITRES CLIQUABLES : flèche élégante à la place du triangle
   ───────────────────────────────────────────────────────── */
main > .collapsible-section > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  list-style: none;
  cursor: pointer;
}

main > .collapsible-section > summary::-webkit-details-marker {
  display: none;
}

main > .collapsible-section > summary::after {
  content: "";
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  margin-right: 4px;
  border-right: 2px solid var(--c-gold);
  border-bottom: 2px solid var(--c-gold);
  transform: rotate(45deg);
  transition: transform 0.3s var(--ease);
}

main > .collapsible-section[open] > summary::after {
  transform: rotate(-135deg);
}

main > .collapsible-section > summary:focus-visible {
  outline: 2px solid var(--c-gold);
  outline-offset: 6px;
  border-radius: var(--radius-sm);
}

main > .collapsible-section .section-title {
  margin-bottom: 0;
}

main > .collapsible-section > .section-content {
  padding-top: var(--space-md);
}

#test-csi16 > summary {
  justify-content: center;
}

.section-title--centre {
  text-align: center;
}

.section-title--centre::after {
  left: 50%;
  transform: translateX(-50%);
}

.container-small {
  max-width: var(--max-w-text);
}

/* ─────────────────────────────────────────────────────────
   LECTEUR VIDÉO PRINCIPAL
   ───────────────────────────────────────────────────────── */
.video-player {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.15);
}

.video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
}

.video-placeholder span {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 4px;
  border-radius: 50%;
  background: #ff0000;
  color: #fff;
  font-size: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* ─────────────────────────────────────────────────────────
   HERO : mots-clés en pastilles + titre plus lisible
   ───────────────────────────────────────────────────────── */
.hero-content h1 {
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.hero-content h2 .tag {
  display: inline-block;
  margin: 0.3rem 0.15rem 0;
  padding: 0.2em 0.9em;
  font-family: var(--f-sans);
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-gold-light);
  border: 1px solid rgba(184, 151, 106, 0.6);
  border-radius: 100px;
}

/* ─────────────────────────────────────────────────────────
   RÉSEAUX : annule le style du menu hérité par erreur
   ───────────────────────────────────────────────────────── */
.social-links {
  position: static;
  z-index: auto;
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: none;
}

.social-links a::after {
  display: none;
}
/* ─────────────────────────────────────────────────────────
   GRILLE DU BILAN (3 cartes responsives & centrées)
   ───────────────────────────────────────────────────────── */
.bilan-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-sm);
  max-width: 560px;
  margin: var(--space-md) auto;
}

.bilan-step {
  background: var(--c-cream);
  border: 1px solid var(--c-stone);
  border-left: 4px solid var(--c-gold);
  border-radius: var(--radius-md);
  padding: var(--space-sm);
  color: var(--c-slate);
  box-sizing: border-box;
}

@media (min-width: 960px) {
  .bilan-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-md);
    max-width: none;
    margin: var(--space-lg) 0;
  }

  .bilan-step {
    padding: var(--space-md);
  }
}

.bilan-step h3 {
  margin-bottom: 0.5em;
  font-size: 1.15rem;
  color: var(--c-slate);
}

/* ─────────────────────────────────────────────────────────
   BLOC CTA / PRIX DU BILAN
   ───────────────────────────────────────────────────────── */
.cta-box-bilan {
  background: var(--c-slate);
  color: #fff;
  padding: clamp(1.25rem, 4vw, 3.5rem);
  border-radius: var(--radius-lg);
  text-align: center;
  margin-top: var(--space-xl);
}

.cta-box-bilan h2,
.cta-box-bilan p {
  color: #fff;
}

.cta-box-bilan .price-container {
  margin: var(--space-md) 0;
  display: flex;
  justify-content: center;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 var(--space-sm);
}

.cta-box-bilan .price-old {
  white-space: nowrap;
  font-family: var(--f-serif);
  font-size: clamp(1.4rem, 5vw, 2rem);
  color: rgba(255, 255, 255, 0.4);
  text-decoration: line-through;
}

.cta-box-bilan .price-current {
  white-space: nowrap;
  font-family: var(--f-serif);
  font-size: clamp(2.4rem, 8vw, 4rem);
  color: var(--c-gold-light);
  font-weight: 300;
}

.cta-box-bilan .price-period {
  font-size: 1rem;
  font-family: var(--f-sans);
  color: rgba(255, 255, 255, 0.8);
}
/* Quiz CSI-16 : ne pas passer sous le menu collant */
csi16-quiz {
  display: block;
  scroll-margin-top: 80px;
}

/* Mentions légales (pied de page) */
#mentions-legales-section section {
  margin-bottom: var(--space-md);
}

#mentions-legales-section h2 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

#mentions-legales-section p,
#mentions-legales-section address {
  font-size: 0.9rem;
  font-style: normal;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}
