/* ═══════════════════════════════════════════════
   PAUSITIVE STUDIO — COACHING SITE
   style.css
═══════════════════════════════════════════════ */

/* ── VARIABLES ────────────────────────────────── */
:root {
  --bg:          #FEFAF6;
  --bg-alt:      #F4EDE4;
  --bg-card:     #FDF8F3;
  --text:        #1C1A18;
  --text-muted:  #6B6059;
  --accent:      #E8865A;
  --accent-dark: #CF6F44;
  --accent-light:#F5C4A8;
  --border:      #E2D5C8;
  --white:       #FFFFFF;

  --serif:  'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans:   'Inter', system-ui, -apple-system, sans-serif;

  --radius:    12px;
  --radius-lg: 20px;
  --shadow:    0 2px 20px rgba(28, 26, 24, 0.08);
  --shadow-lg: 0 8px 40px rgba(28, 26, 24, 0.12);

  --max-w: 1200px;
  --px:    clamp(1.25rem, 5vw, 2.5rem);
}

/* ── RESET ────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
em { font-style: italic; }

/* ── TYPOGRAPHY ───────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.2; color: var(--text); }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 600; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); font-weight: 500; }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 600; }
p  { font-size: 1rem; line-height: 1.75; }

/* ── LAYOUT ───────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
}
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-alt { background: var(--bg-alt); }

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}
.section-header h2 { margin-bottom: 1rem; }

/* ── LABELS / EYEBROWS ───────────────────────── */
.eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.section-num-label {
  font-family: var(--serif);
  font-size: 5rem;
  font-weight: 700;
  color: var(--border);
  line-height: 1;
  margin-bottom: -1rem;
  display: block;
}
.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-top: 0.75rem;
}

/* ── BUTTONS ──────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 50px;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
  border: 2px solid var(--accent);
}
.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 134, 90, 0.35);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}
.btn-sm { padding: 0.6rem 1.25rem; font-size: 0.82rem; }
.btn-lg { padding: 1.1rem 2.5rem; font-size: 1rem; }
.btn-full { width: 100%; text-align: center; }

/* ── NAVIGATION ───────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(254, 250, 246, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1rem var(--px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo-img { height: 36px; width: auto; }
.nav-logo-text {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
}

/* ── HERO ─────────────────────────────────────── */
.hero {
  position: relative;
  padding-top: clamp(5rem, 12vw, 9rem);
  padding-bottom: clamp(5rem, 10vw, 8rem);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 50%, rgba(232, 134, 90, 0.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero .container {
  display: flex;
  align-items: center;
  gap: 3rem;
  position: relative;
}
.hero-content { flex: 1; max-width: 720px; }
.hero-title {
  margin: 0.5rem 0 1.25rem;
  letter-spacing: -0.02em;
}
.hero-title em {
  color: var(--accent);
  font-style: italic;
}
.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}
.hero-deco {
  position: absolute;
  right: var(--px);
  bottom: 2rem;
  pointer-events: none;
  opacity: 0.06;
}
.hero-section-num {
  font-family: var(--serif);
  font-size: clamp(6rem, 14vw, 16rem);
  font-weight: 700;
  line-height: 1;
  color: var(--text);
}

/* ── PROBLEMS GRID ────────────────────────────── */
.problems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.card-number {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent-light);
  line-height: 1;
  display: block;
  margin-bottom: 0.75rem;
}
.card-icon { font-size: 1.75rem; margin-bottom: 1rem; }
.problem-card h3 { margin-bottom: 0.75rem; font-size: 1.1rem; }
.problem-card p  { color: var(--text-muted); font-size: 0.95rem; }

.transition-line {
  text-align: center;
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ── ABOUT ────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}
.photo-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.about-img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-lg);
  display: block;
  background: var(--border);
}
.photo-section-num {
  position: absolute;
  bottom: -0.5rem;
  right: 1rem;
  font-family: var(--serif);
  font-size: 6rem;
  font-weight: 700;
  color: var(--white);
  opacity: 0.15;
  line-height: 1;
  pointer-events: none;
}
.about-text h2 { margin-bottom: 1.5rem; }
.about-text p  { color: var(--text-muted); margin-bottom: 1rem; }
.about-text p strong { color: var(--text); }

.about-list {
  margin: 1.25rem 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.about-list li {
  display: flex;
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}
.arrow {
  color: var(--accent);
  flex-shrink: 0;
  font-weight: 600;
  margin-top: 0.05em;
}
.about-highlight {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--text) !important;
  font-style: italic;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--accent);
  background: var(--bg-alt);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-top: 1.5rem !important;
}

/* ── FORMULES ─────────────────────────────────── */
.formules-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.formule-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.formule-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.formule-featured {
  background: var(--white);
  border: 2px solid var(--accent);
  box-shadow: var(--shadow);
}
.formule-badge {
  position: absolute;
  top: -1px;
  right: 2rem;
  background: var(--accent);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 0 0 8px 8px;
}
.formule-header h3 { font-size: 1.4rem; margin-bottom: 0.35rem; }
.formule-tag {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.formule-for {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.formule-for strong { color: var(--text); }
.formule-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.formule-list li {
  display: flex;
  gap: 0.75rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-muted);
}
.check {
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.05em;
}
.formule-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.formule-price {
  font-size: 1.8rem;
  font-family: var(--serif);
  font-weight: 700;
  color: var(--text);
}
.formule-price-custom {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.formule-price-custom span {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--text-muted);
}

.formules-help {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.75rem;
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
}
.formules-help strong { color: var(--text); }

/* ── THÉMATIQUES ──────────────────────────────── */
.thematiques-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.thematique-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.97rem;
  color: var(--text-muted);
  transition: color 0.2s;
}
.thematique-item:hover { color: var(--text); }
.thematique-item:nth-child(odd) { border-right: 1px solid var(--border); padding-right: 2rem; }
.thematique-item:nth-child(even) { padding-left: 2rem; }
.bullet {
  color: var(--accent);
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 0.15em;
}

/* ── SLIDER / TÉMOIGNAGES ─────────────────────── */
.slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.slider-viewport {
  flex: 1;
  overflow: hidden;
}
.slider-track {
  display: flex;
  gap: 1.25rem;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}
.testimonial-card {
  flex: 0 0 calc(33.333% - 0.84rem);
  background: var(--bg-card);
  border: 1.5px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 280px;
}
.testimonial-top {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-light);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent-dark);
}
.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.testimonial-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent);
  line-height: 1.3;
}
.testimonial-role {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.1rem;
}
.testimonial-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.75;
  flex: 1;
}
.testimonial-quote {
  font-family: var(--serif);
  font-size: 2.5rem;
  color: var(--accent-light);
  line-height: 0.5;
  align-self: flex-start;
}

.slider-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--border);
  color: var(--text);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
  z-index: 2;
}
.slider-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 3px 12px rgba(232, 134, 90, 0.2);
}
.slider-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
  flex-wrap: wrap;
}
.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  padding: 0;
}
.slider-dot.active {
  background: var(--accent);
  width: 24px;
  border-radius: 4px;
}

/* ── MÉDIAS ───────────────────────────────────── */
.medias-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.media-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.25s ease;
  cursor: pointer;
}
.media-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.media-icon { font-size: 2rem; }
.media-card h3 { font-size: 1rem; font-weight: 600; font-family: var(--sans); }
.media-card p  { font-size: 0.83rem; color: var(--text-muted); line-height: 1.5; }

/* ── FAQ ──────────────────────────────────────── */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.4rem 0;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}
.faq-question:hover { color: var(--accent); }
.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
  color: var(--accent);
}
.faq-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  line-height: 1;
  transition: transform 0.3s ease, color 0.2s;
  color: var(--text-muted);
}
.faq-answer {
  overflow: hidden;
}
.faq-answer[hidden] { display: none; }
.faq-answer-inner {
  padding: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.faq-answer-inner p {
  color: var(--text-muted);
  font-size: 0.97rem;
  line-height: 1.75;
}

/* ── CTA SECTION ──────────────────────────────── */
.section-cta {
  background: var(--text);
  position: relative;
  overflow: hidden;
}
.section-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 80% 50%, rgba(232, 134, 90, 0.18) 0%, transparent 65%);
  pointer-events: none;
}
.cta-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}
.section-num-light {
  color: rgba(255,255,255,0.08) !important;
}
.cta-content h2 {
  color: var(--white);
  margin-bottom: 1.25rem;
}
.cta-content p {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}
.cta-content p strong { color: var(--white); }
.cta-content .btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  font-size: 1rem;
  padding: 1.1rem 2.25rem;
}

/* ── FOOTER ───────────────────────────────────── */
.footer {
  background: #151210;
  color: rgba(255,255,255,0.75);
  padding: 3.5rem 0 2rem;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.footer-logo-img { height: 32px; width: auto; filter: brightness(10); opacity: 0.9; }
.footer-logo-text {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--white);
}
.footer-tagline {
  margin-top: 0.6rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  align-items: center;
}
.footer-nav a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copy { font-size: 0.8rem; color: rgba(255,255,255,0.4); }
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}
.footer-legal a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  transition: color 0.2s;
}
.footer-legal a:hover { color: rgba(255,255,255,0.7); }

/* ── ANIMATIONS ───────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in:nth-child(2) { transition-delay: 0.1s; }
.fade-in:nth-child(3) { transition-delay: 0.2s; }

/* ── RESPONSIVE — TABLET 768px ────────────────── */
@media (max-width: 1023px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 420px; margin: 0 auto; }
  .formules-grid { grid-template-columns: 1fr; max-width: 540px; margin-left: auto; margin-right: auto; }
  .medias-grid { grid-template-columns: repeat(2, 1fr); }
  .thematiques-grid { grid-template-columns: 1fr; }
  .thematique-item:nth-child(odd)  { border-right: none; padding-right: 1rem; }
  .thematique-item:nth-child(even) { padding-left: 1rem; }
  .testimonial-card { flex: 0 0 calc(50% - 0.625rem); }
}

@media (max-width: 767px) {
  .nav-cta .btn-sm { font-size: 0.75rem; padding: 0.55rem 1rem; }
  .hero .container { flex-direction: column; }
  .hero-deco { display: none; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { justify-content: center; }
  .problems-grid { grid-template-columns: 1fr; }
  .testimonial-card { flex: 0 0 100%; }
  .medias-grid { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
  .footer-top { flex-direction: column; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal { justify-content: center; }
}

@media (max-width: 480px) {
  .slider-btn { display: none; }
  .slider-viewport { touch-action: pan-y; }
}
