/* Boutons CTA en pilule */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  padding: 0.95em 1.9em;
  border-radius: var(--radius-pill);
  background: var(--color-accent-2);
  color: #ffffff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  text-align: center;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(226, 90, 42, 0.22);
}

.btn-pill:hover,
.btn-pill:focus-visible {
  transform: translateY(-2px);
  background: var(--color-ink);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(29, 31, 33, 0.25);
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: center;
}

/* Hero (bloc 1) */
.section--hero {
  padding-block: calc(var(--space-6) + var(--space-4)) var(--space-6);
}

.hero {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.hero h1 {
  margin-bottom: var(--space-3);
}

.hero .lede {
  max-width: 620px;
  margin: 0 auto;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

.btn-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--color-border);
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.btn-link:hover,
.btn-link:focus-visible {
  color: var(--color-accent-2);
  text-decoration-color: var(--color-accent-2);
}

.hero-proof {
  margin: var(--space-5) 0 0;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* Entrée du hero : seul moment de motion "signé" au chargement */
@media (prefers-reduced-motion: no-preference) {
  .hero-enter {
    opacity: 0;
    transform: translateY(18px);
    animation: hero-enter 0.9s cubic-bezier(0.16, 0.8, 0.24, 1) forwards;
  }

  .hero-enter:nth-child(1) { animation-delay: 0.05s; }
  .hero-enter:nth-child(2) { animation-delay: 0.15s; }
  .hero-enter:nth-child(3) { animation-delay: 0.3s; }
  .hero-enter:nth-child(4) { animation-delay: 0.45s; }
  .hero-enter:nth-child(5) { animation-delay: 0.6s; }

  @keyframes hero-enter {
    to {
      opacity: 1;
      transform: none;
    }
  }
}

/* Bloc problème (prose éditoriale + photo) */
.probleme-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.probleme-figure {
  margin: 0 auto;
  max-width: 380px;
  text-align: center;
}

.probleme-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-card);
  border: 1px solid var(--color-border);
  box-shadow: 0 20px 40px rgba(29, 31, 33, 0.12);
}

.probleme-figure figcaption {
  margin-top: var(--space-1);
  font-size: 0.8rem;
  font-style: italic;
  color: var(--color-text-muted);
}

.prose {
  max-width: 640px;
  margin: 0 auto;
}

.prose h2 {
  margin-bottom: var(--space-4);
}

.prose-punch {
  margin-top: var(--space-4);
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 1vw + 1.05rem, 1.6rem);
  line-height: 1.35;
  color: var(--color-text);
}

/* Piliers de la méthode (bloc 3) */
.pillars {
  max-width: 860px;
  margin: 0 auto;
}

.pillar {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-1) var(--space-5);
  padding-block: var(--space-4);
  border-top: 1px solid var(--color-border);
}

.pillar:first-child {
  border-top: none;
  padding-top: 0;
}

.pillar h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(1.3rem, 1vw + 1.1rem, 1.7rem);
  margin: 0;
}

.pillar p {
  margin: 0;
}

/* CTA intermédiaire après la preuve */
.mid-cta {
  text-align: center;
  margin-top: var(--space-5);
}

/* Offres (bloc 2) */
.offers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}

.offer-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-4);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.offer-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-3px);
}

.offers-grid .offer-card:nth-child(2) {
  transition-delay: 0.12s;
}

.offer-card-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: var(--color-accent-soft);
  border-radius: var(--radius-pill);
  padding: 0.35em 1em;
  margin-bottom: var(--space-3);
}

.offer-card h3 {
  margin-bottom: var(--space-2);
}

.offer-card > p {
  color: var(--color-text-muted);
}

.offer-card ol,
.offer-card ul {
  margin: 0 0 var(--space-3);
  padding-left: 1.2em;
  color: var(--color-text-muted);
}

.offer-card li {
  margin-bottom: var(--space-1);
}

.offer-card .cta-group {
  justify-content: flex-start;
  margin-top: auto;
  padding-top: var(--space-3);
}

.offer-pourqui {
  font-style: italic;
  color: var(--color-accent);
  font-size: 0.95rem;
}

.offer-price {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 1vw + 1.3rem, 2rem);
  color: var(--color-text);
  margin: var(--space-2) 0 0;
}

.offer-scarcity {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin: var(--space-1) 0 0;
}

.offers-help-note {
  text-align: center;
  max-width: 520px;
  margin: var(--space-4) auto 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.offers-help-note a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Timeline verticale (bloc 3 — comment ça marche) */
.timeline {
  max-width: 640px;
  margin: 0 auto;
}

.timeline-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: var(--space-3);
  position: relative;
  padding-bottom: var(--space-5);
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-marker {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 700;
  background: var(--color-bg);
  z-index: 1;
}

.timeline-item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 44px;
  bottom: 0;
  width: 1px;
  background: var(--color-border);
}

.timeline-content h3 {
  margin-bottom: var(--space-1);
  font-size: 1.15rem;
}

.timeline-content p {
  margin: 0;
}

/* Résultats (bloc 4 — vidéo + chiffres) */
.resultats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  align-items: center;
}

.stats-list {
  display: flex;
  flex-direction: column;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-block: var(--space-3);
  border-top: 1px solid var(--color-border);
}

.stat-item:first-child {
  border-top: none;
}

.stats-list .stat-item:nth-child(1) { transition-delay: 0s; }
.stats-list .stat-item:nth-child(2) { transition-delay: 0.08s; }
.stats-list .stat-item:nth-child(3) { transition-delay: 0.16s; }
.stats-list .stat-item:nth-child(4) { transition-delay: 0.24s; }
.stats-list .stat-item:nth-child(5) { transition-delay: 0.32s; }

.stat-icon {
  flex: none;
  width: 26px;
  height: 26px;
  color: var(--color-accent);
}

.stat-item p {
  margin: 0;
  color: var(--color-text);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.05rem;
}

/* Placeholder vidéo verticale */
.video-placeholder-frame {
  width: 100%;
  aspect-ratio: 9 / 16;
  max-width: 250px;
  margin: 0 auto;
  border-radius: 26px;
  border: 8px solid var(--color-surface);
  background: linear-gradient(160deg, #24221e, #0f0e0c);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  position: relative;
}

.best-of-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #0f0e0c;
}

.video-placeholder-inner[hidden] {
  display: none;
}

.video-placeholder-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3);
  text-align: center;
}

.play-button {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--color-accent-soft);
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: not-allowed;
}

.video-note {
  margin: 0;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* Qui suis-je (bloc 5) */
.bio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  align-items: center;
}

.bio-photo {
  aspect-ratio: 4 / 5;
  max-width: 380px;
  width: 100%;
  margin: 0 auto;
  border-radius: var(--radius-card);
  border: 1px solid var(--color-border);
  object-fit: cover;
  box-shadow: 0 20px 40px rgba(29, 31, 33, 0.12);
}

.bio-content .lede {
  margin-bottom: var(--space-3);
}

.bio-content p {
  color: var(--color-text-muted);
}

/* Cadre partagé pour les embeds externes (Tally, Calendly) */
.embed-frame {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-2);
  max-width: 640px;
  margin: 0 auto;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(29, 31, 33, 0.08);
}

.embed-frame iframe {
  width: 100%;
  border: none;
}

.embed-frame .calendly-inline-widget {
  width: 100%;
}

/* Calendly a déjà sa propre carte blanche : pas besoin de la ré-encadrer,
   ça évite une double bordure et un ascenseur interne en trop. */
.calendly-frame {
  max-width: 700px;
  margin: 0 auto;
}

.calendly-frame .calendly-inline-widget {
  width: 100%;
}

/* Témoignages */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-3);
}

.testimonials-grid--spaced {
  margin-top: var(--space-5);
}

.testimonial-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
}

.testimonial-stars {
  color: var(--color-accent);
  font-size: 0.95rem;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-2);
}

.testimonial-quote {
  color: var(--color-text);
  flex: 1;
  margin-bottom: var(--space-3);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.testimonial-video-link {
  display: inline-block;
  margin-top: var(--space-3);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.testimonial-avatar {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--color-border);
}

.testimonial-name {
  margin: 0;
  font-weight: 600;
  color: var(--color-text);
  font-size: 0.95rem;
}

.testimonial-name span {
  font-weight: 400;
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

.testimonial-role {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

/* Témoignage vedette (figure reconnue du secteur) */
.featured-quote {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.featured-quote--inset {
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-border);
}

/* FAQ (bloc 8) */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-top: 1px solid var(--color-border);
}

.faq-item:last-child {
  border-bottom: 1px solid var(--color-border);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  font-weight: 600;
  color: var(--color-text);
  transition: color 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex: none;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  line-height: 1;
  color: var(--color-accent-2);
  transition: transform 0.25s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary:hover {
  color: var(--color-accent-2);
}

.faq-item p {
  margin: 0;
  padding: 0 0 var(--space-3);
  max-width: 60ch;
}

.featured-quote .testimonial-stars {
  display: flex;
  justify-content: center;
}

.featured-quote-text {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 1vw + 1.1rem, 1.75rem);
  color: var(--color-text);
  line-height: 1.4;
  margin: 0 0 var(--space-4);
}

.featured-quote .testimonial-author {
  justify-content: center;
}

/* Page de destination (réservation / candidature) */
.destination-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto var(--space-5);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
  padding: var(--space-3) 0 0;
}

.back-link:hover {
  color: var(--color-accent-2);
}
