/* ============================================================
   BRYF — Landing Page Styles
   Operational Minimalism dark · Inter · bryf.fr
   ============================================================ */

/* ── Fonts ─────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ── Tokens ─────────────────────────────────────────────────── */
:root {
  --background:      #000000;
  --surface:         #0F0F0F;
  --surface-variant: #1A1A1A;
  --on-background:   #FFFFFF;
  --on-surface:      #AAAAAA;
  --on-surface-variant: #666666;
  --outline:         #333333;
  --outline-variant: #242424;
  --primary:         #FF6030;
  --on-primary:      #FFFFFF;
  --error:           #FF3B30;
  --success:         #34C759;

  --space-xs:  4px;
  --space-sm:  8px;
  --space-md:  16px;
  --space-lg:  24px;
  --space-xl:  48px;
  --space-2xl: 80px;
  --space-3xl: 120px;

  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-pill: 26px;

  --max-width: 1120px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  background-color: var(--background);
  color: var(--on-background);
  overflow-x: hidden;
}

img, video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ── Typography ─────────────────────────────────────────────── */
/* Règle opérationnelle : les éléments d'action/identification
   sont en weight 700 minimum. Pas de weight < 400. */

.text-display {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 900;
  letter-spacing: -3px;
  line-height: 1.05;
}

.text-h1 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.1;
}

.text-h2 {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.text-h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.text-body-lg {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--on-surface);
}

.text-body {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--on-surface);
}

.text-small {
  font-size: 14px;
  font-weight: 400;
  color: var(--on-surface);
}

.text-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--on-surface);
}

/* ── Layout ─────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

section {
  padding: var(--space-2xl) 0;
}

@media (max-width: 768px) {
  section {
    padding: var(--space-xl) 0;
  }
}

/* ── Nav ────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--outline);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: var(--space-lg);
}

.nav-logo {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--on-background);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--on-surface);
  transition: color 0.15s;
}

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 32px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.1s;
  border: none;
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover {
  opacity: 0.88;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--primary);
  color: var(--on-primary);
}

.btn-outline {
  background: transparent;
  color: var(--on-background);
  border: 1px solid var(--outline);
}

.btn-outline:hover {
  border-color: var(--on-surface);
}

.btn-sm {
  height: 40px;
  padding: 0 20px;
  font-size: 13px;
}

/* ── Badge ──────────────────────────────────────────────────── */
/* Badge important/urgence : opacité 25% — doit être visible, pas discret */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 96, 48, 0.25);
  color: var(--primary);
  border: 1px solid rgba(255, 96, 48, 0.4);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

/* ── Cards ──────────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--outline);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
}

/* ── Section labels ─────────────────────────────────────────── */
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--space-md);
}

/* ── Divider ────────────────────────────────────────────────── */
.divider {
  border: none;
  border-top: 1px solid var(--outline);
}

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  padding: var(--space-3xl) 0 var(--space-2xl);
  text-align: center;
}

.hero-badge {
  margin-bottom: var(--space-lg);
}

.hero-title {
  margin-bottom: var(--space-md);
}

.hero-subtitle {
  max-width: 560px;
  margin: 0 auto var(--space-xl);
  font-size: 18px;
  color: var(--on-surface);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero-visual {
  margin-top: var(--space-2xl);
  border-radius: var(--radius-md);
  border: 1px solid var(--outline);
  overflow: hidden;
  background: var(--surface);
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--on-surface);
  font-size: 14px;
}

@media (max-width: 768px) {
  .hero {
    padding: var(--space-2xl) 0 var(--space-xl);
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn {
    width: 100%;
  }
}

/* ── Problem section ────────────────────────────────────────── */
.problems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.problem-card {
  background: var(--surface);
  border: 1px solid var(--outline);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
}

.problem-icon {
  font-size: 28px;
  margin-bottom: var(--space-md);
  display: block;
}

.problem-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--on-background);
  margin-bottom: var(--space-sm);
}

.problem-text {
  font-size: 14px;
  color: var(--on-surface);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .problems-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Features ───────────────────────────────────────────────── */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  padding: var(--space-xl) 0;
  border-bottom: 1px solid var(--outline);
}

.feature:last-child {
  border-bottom: none;
}

.feature.reverse {
  direction: rtl;
}

.feature.reverse > * {
  direction: ltr;
}

.feature-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.feature-title {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  letter-spacing: -0.5px;
}

.feature-text {
  font-size: 16px;
  color: var(--on-surface);
  line-height: 1.7;
}

.feature-visual {
  background: var(--surface);
  border: 1px solid var(--outline);
  border-radius: var(--radius-md);
  aspect-ratio: 9/16;
  max-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--on-surface);
  font-size: 13px;
}

@media (max-width: 768px) {
  .feature {
    grid-template-columns: 1fr;
  }
  .feature.reverse {
    direction: ltr;
  }
  .feature-visual {
    aspect-ratio: 4/3;
  }
}

/* ── Pricing ────────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-xl);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--outline);
  border-radius: var(--radius-md);
  padding: var(--space-xl) var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.pricing-card.featured {
  border-color: var(--primary);
  position: relative;
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
}

.pricing-period {
  font-size: 13px;
  font-weight: 600;
  color: var(--on-surface);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.pricing-amount {
  font-size: 48px;
  font-weight: 900;
  letter-spacing: -2px;
  color: var(--on-background);
}

.pricing-currency {
  font-size: 20px;
  font-weight: 700;
  color: var(--on-background);
}

.pricing-per {
  font-size: 14px;
  color: var(--on-surface);
}

.pricing-detail {
  font-size: 13px;
  color: var(--on-surface);
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin: var(--space-sm) 0;
}

.pricing-features li {
  font-size: 14px;
  color: var(--on-surface);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.pricing-features li::before {
  content: '✓';
  color: var(--success);
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}

.pricing-cta {
  margin-top: auto;
}

.pricing-cta .btn {
  width: 100%;
}

@media (max-width: 600px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

/* ── FAQ ────────────────────────────────────────────────────── */
.faq-list {
  margin-top: var(--space-xl);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.faq-item {
  border-bottom: 1px solid var(--outline);
  padding: var(--space-lg) 0;
}

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

.faq-question {
  font-size: 16px;
  font-weight: 600;
  color: var(--on-background);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  list-style: none;
  user-select: none;
}

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

.faq-icon {
  color: var(--on-surface);
  font-size: 20px;
  flex-shrink: 0;
  transition: transform 0.2s;
}

details[open] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  font-size: 15px;
  color: var(--on-surface);
  line-height: 1.7;
  margin-top: var(--space-md);
}

/* ── CTA Section ────────────────────────────────────────────── */
.cta-section {
  text-align: center;
  padding: var(--space-3xl) 0;
  border-top: 1px solid var(--outline);
}

.cta-section .text-h2 {
  margin-bottom: var(--space-md);
}

.cta-section .text-body-lg {
  margin-bottom: var(--space-xl);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

@media (max-width: 480px) {
  .cta-actions {
    flex-direction: column;
  }
  .cta-actions .btn {
    width: 100%;
  }
}

/* ── Footer ─────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--outline);
  padding: var(--space-xl) 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.footer-logo {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.5px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  list-style: none;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 13px;
  color: var(--on-surface);
  transition: color 0.15s;
}

.footer-links a:hover {
  color: var(--on-background);
}

.footer-copy {
  font-size: 13px;
  color: var(--on-surface);
}

@media (max-width: 600px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
  }
}

/* ── Section header block ───────────────────────────────────── */
.section-header {
  margin-bottom: var(--space-xl);
}

.section-header.center {
  text-align: center;
}

.section-header .text-h2 {
  margin-top: var(--space-sm);
}

/* ── Utilities ──────────────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ── Reduced motion ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
