/* ============================================================
   lime-parrainage.fr — style.css
   Aesthetic: Fresh urban energy · Lime green + deep forest
   Fonts: Syne (display) + DM Sans (body)
   ============================================================ */

:root {
  --lime: #00c853;
  --lime-light: #69f0ae;
  --lime-dark: #00962e;
  --forest: #0d1f0f;
  --forest-mid: #1a3320;
  --off-white: #f4f9f4;
  --gray-100: #e8f0e9;
  --gray-400: #7a9b7e;
  --gray-600: #4a6b4e;
  --white: #ffffff;

  --font-display: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-pill: 9999px;

  --shadow-soft: 0 8px 40px rgba(0,0,0,.12);
  --shadow-card: 0 2px 16px rgba(0,0,0,.07);
  --transition: 0.28s cubic-bezier(.4,0,.2,1);
}

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

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

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--forest);
  background: var(--off-white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ol, ul { list-style: none; }
sup { font-size: .6em; vertical-align: super; }

/* ─── Container ───────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Header ──────────────────────────────────────────────── */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 24px 0;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
}

.logo__icon { font-size: 1.5rem; line-height: 1; }

.logo__text {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -.01em;
}

.logo__text strong {
  color: var(--lime-light);
  font-weight: 800;
}

.disclaimer-badge {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  border: 1px solid rgba(255,255,255,.2);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(4px);
}

/* ─── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  transform: scale(1.04);
  animation: heroZoom 14s ease-out forwards;
  opacity: 0.3;
}

@keyframes heroZoom {
  from { transform: scale(1.08); }
  to   { transform: scale(1.0); }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 30, 8, .82) 0%,
    rgba(0, 50, 18, .65) 50%,
    rgba(0, 20, 6, .72) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 10;
  padding-top: 120px;
  padding-bottom: 80px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  animation: fadeUp .9s .1s both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero__tag {
  display: inline-block;
  background: var(--lime);
  color: var(--forest);
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--white);
  line-height: 1.05;
  display: flex;
  flex-direction: column;
  text-shadow: 0 2px 16px rgba(0,0,0,.55);
}

.hero__title-line {
  font-size: clamp(3.2rem, 9vw, 6.5rem);
  color: var(--lime-light);
  letter-spacing: -.03em;
}

.hero__title-sub {
  font-size: clamp(1.4rem, 4vw, 2.6rem);
  letter-spacing: -.02em;
  opacity: .92;
}

.hero__desc {
  max-width: 540px;
  color: rgba(255,255,255,.95);
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.7;
  text-shadow: 0 1px 8px rgba(0,0,0,.5);
}

.hero__desc strong { color: var(--lime-light); font-weight: 500; }

.hero__note {
  font-size: .82rem;
  color: rgba(255,255,255,.5);
  letter-spacing: .02em;
}

/* ─── CTA Button ──────────────────────────────────────────── */
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--lime);
  color: var(--forest);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  padding: 16px 30px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 24px rgba(0, 200, 83, .35);
  will-change: transform;
}

.cta-btn:hover,
.cta-btn:focus-visible {
  background: var(--lime-light);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 36px rgba(0, 200, 83, .45);
  outline: none;
}

.cta-btn:active { transform: translateY(0) scale(.99); }

.cta-btn__arrow {
  font-size: 1.1em;
  transition: transform var(--transition);
}

.cta-btn:hover .cta-btn__arrow { transform: translateX(4px); }

.cta-btn--dark {
  background: var(--forest);
  color: var(--lime-light);
  box-shadow: 0 4px 20px rgba(0,0,0,.18);
}

.cta-btn--dark:hover,
.cta-btn--dark:focus-visible {
  background: var(--forest-mid);
  box-shadow: 0 8px 32px rgba(0,0,0,.28);
}

.cta-btn--xl {
  font-size: 1.15rem;
  padding: 20px 40px;
}

/* ─── Scroll hint ─────────────────────────────────────────── */
.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.scroll-hint span {
  display: block;
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255,255,255,.35);
  border-radius: var(--radius-pill);
  position: relative;
}

.scroll-hint span::after {
  content: '';
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--lime);
  border-radius: var(--radius-pill);
  animation: scrollBounce 1.6s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { top: 6px; opacity: 1; }
  80%       { top: 20px; opacity: .2; }
}

/* ─── Section common ──────────────────────────────────────── */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.1;
  color: var(--forest);
}

.section-sub {
  font-size: 1.05rem;
  color: var(--gray-600);
  margin-top: 8px;
  font-weight: 300;
}

.cta-center {
  margin-top: 48px;
  text-align: center;
}

/* ─── Steps ───────────────────────────────────────────────── */
.steps {
  padding: 96px 0 80px;
  background: var(--white);
}

.steps .container > * + * { margin-top: 12px; }

.steps__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 56px;
}

.step-card {
  position: relative;
  background: var(--off-white);
  border-radius: var(--radius-md);
  padding: 36px 28px 32px;
  border: 1.5px solid var(--gray-100);
  overflow: hidden;
  transition: var(--transition);
}

.step-card:hover {
  border-color: var(--lime);
  box-shadow: var(--shadow-card), 0 0 0 4px rgba(0,200,83,.06);
  transform: translateY(-4px);
}

.step-card__num {
  position: absolute;
  top: 20px; right: 20px;
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 800;
  color: var(--gray-100);
  line-height: 1;
  user-select: none;
}

.step-card__icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.step-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--forest);
}

.step-card__text {
  font-size: .95rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ─── FAQ ─────────────────────────────────────────────────── */
.faq {
  padding: 96px 0;
  background: var(--off-white);
}

.faq .container > * + * { margin-top: 12px; }

.faq__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 56px;
}

.faq-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 28px 24px;
  border: 1.5px solid var(--gray-100);
  transition: var(--transition);
}

.faq-card:hover {
  border-color: var(--lime);
  box-shadow: 0 4px 20px rgba(0,200,83,.08);
}

.faq-card__q {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--forest);
  margin-bottom: 12px;
  line-height: 1.35;
}

.faq-card__a {
  font-size: .93rem;
  color: var(--gray-600);
  line-height: 1.65;
}

.faq-card__a a {
  color: var(--lime-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq-card__a a:hover { color: var(--lime); }

/* ─── About ───────────────────────────────────────────────── */
.about {
  padding: 96px 0;
  background: var(--forest);
  color: var(--white);
}

.about .section-title { color: var(--white); }
.about .section-sub { color: rgba(255,255,255,.5); }

.about__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  align-items: start;
}

.about__text { display: flex; flex-direction: column; gap: 16px; }

.about__text p {
  font-size: .97rem;
  color: rgba(255,255,255,.75);
  line-height: 1.7;
}

.about__text strong { color: var(--lime-light); font-weight: 500; }

.about__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.about__link {
  font-size: .85rem;
  font-weight: 500;
  color: var(--lime-light);
  border: 1px solid rgba(105,240,174,.3);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  transition: var(--transition);
}

.about__link:hover {
  background: rgba(105,240,174,.1);
  border-color: var(--lime-light);
}

.about__stat-block {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.stat__num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--lime-light);
  line-height: 1;
}

.stat__label {
  font-size: .8rem;
  color: rgba(255,255,255,.45);
  text-align: right;
  margin-top: 2px;
}

/* ─── Final CTA ───────────────────────────────────────────── */
.final-cta {
  padding: 96px 0;
  background: linear-gradient(135deg, var(--lime-dark) 0%, var(--lime) 100%);
  text-align: center;
}

.final-cta__inner { display: flex; flex-direction: column; align-items: center; gap: 20px; }

.final-cta__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--forest);
  letter-spacing: -.03em;
}

.final-cta__text {
  max-width: 540px;
  color: rgba(0,30,8,.75);
  font-size: 1.1rem;
  font-weight: 300;
}

.final-cta .cta-btn--xl {
  background: var(--forest);
  color: var(--lime-light);
  box-shadow: 0 8px 40px rgba(0,0,0,.25);
  margin-top: 8px;
}

.final-cta .cta-btn--xl:hover {
  background: var(--forest-mid);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 48px rgba(0,0,0,.3);
}

/* ─── Footer ──────────────────────────────────────────────── */
.site-footer {
  background: var(--forest);
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 40px 0;
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  text-align: center;
}

.site-footer__copy {
  font-size: .85rem;
  color: rgba(255,255,255,.5);
}

.site-footer__legal {
  font-size: .78rem;
  color: rgba(255,255,255,.28);
  max-width: 700px;
  line-height: 1.5;
}

.site-footer__legal a {
  color: rgba(105,240,174,.5);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ─── Animations on scroll ────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ─── Responsive ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .about__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about__stat-block {
    flex-direction: row;
    justify-content: space-between;
    gap: 0;
  }

  .stat { align-items: flex-start; }
  .stat__label { text-align: left; }
  .stat__num { font-size: 1.6rem; }
  .stat__label { font-size: .72rem; }

  .hero__content { gap: 16px; }

  .disclaimer-badge { display: none; }
}

@media (max-width: 480px) {
  .steps__list { grid-template-columns: 1fr; }
  .faq__grid { grid-template-columns: 1fr; }
  .cta-btn { font-size: .9rem; padding: 14px 22px; }
  .cta-btn--xl { font-size: 1rem; padding: 16px 28px; }
}

/* ─── Focus visible ───────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
