/* ============================
   L'ÉCART — Premium Landing Page
   Design System & Styles
   ============================ */

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

:root {
  --navy: #1B2A4A;
  --navy-dark: #0F1B33;
  --navy-deep: #0A1225;
  --charcoal: #2C2C2C;
  --gold: #C8A96E;
  --gold-dark: #B8944E;
  --blue: #3A7CA5;
  --white: #FFFFFF;
  --gray-bg: #F5F6F8;
  --gray-light: #E8E8E8;
  --gray-mid: #8A8F98;
  --gray-text: #5A5E68;
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --max-w: 1120px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  line-height: 1.7;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--blue);
  text-decoration: none;
  transition: var(--transition);
}

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

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.25;
}

/* --- Gold decorative line --- */
.gold-line {
  width: 64px;
  height: 2px;
  background: var(--gold);
  margin: 0 0 2rem;
}

.gold-line--center {
  margin-left: auto;
  margin-right: auto;
}

/* --- Section label --- */
.section-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  display: block;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 16px 40px;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-align: center;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.btn--gold {
  background: var(--gold);
  color: var(--navy-dark);
  box-shadow: 0 4px 24px rgba(200, 169, 110, 0.3);
}

.btn--gold:hover {
  background: var(--gold-dark);
  box-shadow: 0 8px 36px rgba(200, 169, 110, 0.45);
  transform: translateY(-2px);
  color: var(--navy-dark);
}

.btn--large {
  font-size: 1.05rem;
  padding: 20px 56px;
  letter-spacing: 0.02em;
}

.btn--nav {
  padding: 10px 24px;
  font-size: 0.8rem;
  border-radius: 6px;
}

/* ============================
   NAVIGATION
   ============================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy-deep);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(200, 169, 110, 0.08);
}

.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav__logo {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--gold);
  letter-spacing: 0.25em;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
}

.nav__logo:hover {
  color: var(--gold);
  opacity: 0.85;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: var(--transition);
}

.nav__link:hover {
  color: var(--gold);
}

/* Hamburger — CSS only */
.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  cursor: pointer;
  width: 28px;
  height: 20px;
  position: relative;
  z-index: 1001;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  position: absolute;
  transition: var(--transition);
}

.nav-toggle-label span {
  top: 9px;
}

.nav-toggle-label span::before {
  content: '';
  top: -8px;
}

.nav-toggle-label span::after {
  content: '';
  top: 8px;
}

/* Hamburger animation */
.nav-toggle:checked + .nav-toggle-label span {
  background: transparent;
}

.nav-toggle:checked + .nav-toggle-label span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle:checked + .nav-toggle-label span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ============================
   HERO
   ============================ */
.hero {
  background: linear-gradient(170deg, var(--navy-deep) 0%, var(--navy-dark) 40%, var(--navy) 100%);
  color: var(--white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Subtle gold radial glow */
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(ellipse at center, rgba(200, 169, 110, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

/* Diamond shape */
.hero__diamond {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(200, 169, 110, 0.1);
  transform: translate(-50%, -50%) rotate(45deg);
  pointer-events: none;
}

.hero__diamond::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  bottom: 20px;
  border: 1px solid rgba(200, 169, 110, 0.06);
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__brand {
  font-family: var(--font-heading);
  font-size: 5rem;
  font-weight: 400;
  letter-spacing: 0.4em;
  margin-bottom: 2rem;
  color: var(--white);
  text-indent: 0.4em; /* compensate letter-spacing visual centering */
}

.hero .gold-line {
  width: 64px;
  margin-bottom: 2.5rem;
}

.hero__subtitle {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 400;
  line-height: 1.5;
  max-width: 600px;
  margin: 0 auto 1.5rem;
  color: rgba(255, 255, 255, 0.88);
}

.hero__specs {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.06em;
  margin-bottom: 3rem;
  font-weight: 400;
}

.hero__dot {
  color: var(--gold);
  margin: 0 0.15em;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-indicator__chevron {
  width: 24px;
  height: 24px;
  border-right: 2px solid rgba(200, 169, 110, 0.4);
  border-bottom: 2px solid rgba(200, 169, 110, 0.4);
  transform: rotate(45deg);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(8px); }
  60% { transform: translateX(-50%) translateY(4px); }
}

/* ============================
   SECTIONS — Base
   ============================ */
.section {
  padding: 120px 0;
}

.section--white {
  background: var(--white);
}

.section--gray {
  background: var(--gray-bg);
}

.section--navy {
  background: linear-gradient(170deg, var(--navy-deep) 0%, var(--navy) 60%, var(--navy-dark) 100%);
  color: var(--white);
}

.section__headline {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--navy);
  margin-bottom: 1.25rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  max-width: 800px;
}

.section__headline--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section--navy .section__headline {
  color: var(--white);
}

.section__subhead {
  font-size: 1.15rem;
  color: var(--gray-text);
  margin-bottom: 3rem;
  line-height: 1.8;
  max-width: 700px;
}

/* --- Prose (flowing paragraphs) --- */
.prose {
  max-width: 720px;
  margin-top: 2.5rem;
}

.prose p {
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--gray-text);
  margin-bottom: 1.75rem;
}

.prose__closing {
  font-family: var(--font-heading);
  font-size: 1.2rem !important;
  color: var(--navy) !important;
  font-style: italic;
  line-height: 1.6 !important;
  margin-top: 2.5rem !important;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-light);
}

.sources {
  font-size: 0.75rem;
  color: var(--gray-mid);
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-light);
  line-height: 1.6;
}

/* ============================
   COMPARISON
   ============================ */
.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 3.5rem 0 3rem;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(27, 42, 74, 0.06);
}

.comparison__col {
  padding: 48px 40px;
}

.comparison__col--left {
  background: var(--gray-bg);
  border-right: 1px solid var(--gray-light);
}

.comparison__col--right {
  background: var(--navy);
  color: var(--white);
}

.comparison__heading {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 2px solid var(--gray-light);
}

.comparison__col--left .comparison__heading {
  color: var(--gray-mid);
}

.comparison__col--right .comparison__heading {
  color: var(--gold);
  border-bottom-color: rgba(200, 169, 110, 0.2);
}

.comparison__row {
  margin-bottom: 1.5rem;
}

.comparison__label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-mid);
  margin-bottom: 0.3rem;
}

.comparison__col--right .comparison__label {
  color: rgba(200, 169, 110, 0.6);
}

.comparison__value {
  display: block;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--charcoal);
}

.comparison__col--right .comparison__value {
  color: rgba(255, 255, 255, 0.88);
}

.comparison__description {
  font-size: 1.1rem;
  color: var(--gray-text);
  line-height: 1.8;
  max-width: 720px;
  text-align: center;
  margin: 0 auto;
}

/* ============================
   MODULE GRID
   ============================ */
.module-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 3.5rem 0 2.5rem;
}

.module-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: 16px;
  padding: 36px 32px;
  transition: var(--transition);
}

.module-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 12px 40px rgba(27, 42, 74, 0.08);
}

.module-card__number {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  padding: 4px 12px;
  border: 1px solid rgba(200, 169, 110, 0.25);
  border-radius: 4px;
}

.module-card__title {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.module-card__desc {
  font-size: 0.88rem;
  color: var(--gray-text);
  line-height: 1.6;
  margin: 0;
}

/* Bonus box */
.bonus-box {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: 16px;
  padding: 36px 40px;
  margin-top: 0;
}

.bonus-box__title {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.bonus-box__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 2rem;
}

.bonus-box__list li {
  font-size: 0.9rem;
  color: var(--gray-text);
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.6;
}

.bonus-box__list li::before {
  content: '+';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
  font-size: 1rem;
}

/* ============================
   TESTIMONIALS
   ============================ */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 3.5rem 0 2rem;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: 16px;
  padding: 40px 32px;
  transition: var(--transition);
  text-align: center;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 12px 40px rgba(27, 42, 74, 0.08);
}

.testimonial-card__initial {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.testimonial-card__name {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.testimonial-card__role {
  font-size: 0.78rem;
  color: var(--gray-mid);
  margin-bottom: 1.5rem;
  letter-spacing: 0.01em;
}

.testimonial-card__quote {
  font-size: 0.9rem;
  color: var(--gray-text);
  line-height: 1.75;
  font-style: italic;
  margin: 0;
  text-align: left;
  border: none;
  padding: 0;
}

.testimonial-note {
  font-size: 0.78rem;
  color: var(--gray-mid);
  text-align: center;
  font-style: italic;
  margin: 0;
}

/* ============================
   FAQ ACCORDION
   ============================ */
.faq-list {
  max-width: 760px;
  margin: 3.5rem auto 0;
}

.faq-item {
  border-bottom: 1px solid var(--gray-light);
}

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

.faq-item summary {
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--navy);
  padding: 1.5rem 3rem 1.5rem 0;
  cursor: pointer;
  list-style: none;
  position: relative;
  transition: var(--transition);
  line-height: 1.5;
}

.faq-item summary:hover {
  color: var(--gold-dark);
}

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--gold);
  transition: var(--transition);
}

.faq-item[open] summary::after {
  content: '\2212'; /* minus sign */
}

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

.faq-item__answer {
  padding: 0 0 1.75rem;
}

.faq-item__answer p {
  font-size: 0.95rem;
  color: var(--gray-text);
  line-height: 1.85;
  margin: 0;
}

/* ============================
   PRICING / FINAL CTA
   ============================ */
.pricing {
  text-align: center;
  padding: 0 40px;
}

.pricing__title {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  color: var(--white);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.pricing__price {
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}

.pricing__sub {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 3.5rem;
  letter-spacing: 0.04em;
}

.pricing__list {
  max-width: 480px;
  margin: 0 auto 3.5rem;
  text-align: left;
  list-style: none;
  padding: 0;
}

.pricing__list li {
  padding: 0.7rem 0 0.7rem 2rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.78);
  position: relative;
  line-height: 1.5;
}

.pricing__list li::before {
  content: '\2014'; /* em dash */
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 400;
}

.pricing__guarantee {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 2rem;
  margin-bottom: 0;
  letter-spacing: 0.03em;
}

/* ============================
   FOOTER
   ============================ */
.footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.3);
  padding: 56px 0 40px;
  text-align: center;
}

.footer__logo {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--gold);
  letter-spacing: 0.3em;
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer__tagline {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 0.5rem;
}

.footer__geo {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.2);
  margin-bottom: 1.5rem;
}

.footer__links {
  margin-bottom: 1.5rem;
}

.footer__links a {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  margin: 0 1rem;
  transition: var(--transition);
}

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

.footer__copy {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.18);
  margin: 0;
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 1024px) {
  .testimonial-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 900px) {
  /* Mobile hamburger */
  .nav-toggle-label {
    display: block;
  }

  .nav__menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: var(--navy-deep);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 40px 40px;
    gap: 0;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.3);
  }

  .nav-toggle:checked ~ .nav__menu {
    transform: translateX(0);
  }

  .nav__link {
    font-size: 0.95rem;
    padding: 0.9rem 0;
    display: block;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .btn--nav {
    margin-top: 1.5rem;
    text-align: center;
    width: 100%;
  }

  /* Grid collapses */
  .comparison,
  .module-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .comparison__col--left {
    border-right: none;
    border-bottom: 1px solid var(--gray-light);
  }

  .bonus-box__list {
    grid-template-columns: 1fr;
  }

  /* Typography */
  .section__headline {
    font-size: 2rem;
  }

  .hero__brand {
    font-size: 3.2rem;
    letter-spacing: 0.25em;
    text-indent: 0.25em;
  }

  .hero__subtitle {
    font-size: 1.35rem;
  }

  .hero__diamond {
    width: 260px;
    height: 260px;
  }

  .section {
    padding: 80px 0;
  }

  .pricing__title {
    font-size: 2.5rem;
  }

  .pricing__price {
    font-size: 3rem;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 24px;
  }

  .nav__inner {
    padding: 0 24px;
  }

  .section {
    padding: 72px 0;
  }

  .hero__brand {
    font-size: 2.4rem;
    letter-spacing: 0.2em;
    text-indent: 0.2em;
  }

  .hero__subtitle {
    font-size: 1.15rem;
  }

  .hero__diamond {
    width: 200px;
    height: 200px;
  }

  .section__headline {
    font-size: 1.65rem;
  }

  .btn--large {
    padding: 18px 36px;
    font-size: 0.95rem;
    width: 100%;
  }

  .comparison__col {
    padding: 32px 28px;
  }

  .module-card {
    padding: 28px 24px;
  }

  .testimonial-card {
    padding: 32px 24px;
  }

  .bonus-box {
    padding: 28px 24px;
  }

  .pricing__title {
    font-size: 2rem;
  }

  .pricing__price {
    font-size: 2.5rem;
  }

  .pricing {
    padding: 0 24px;
  }
}
