/* ====== HERO ====== */
.hero-wrapper {
  position: relative;
  background: transparent;
  padding: 24px 32px 40px;
}

.hero-frame {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  background: var(--surface);
  isolation: isolate;
  box-shadow:
    0 1px 0 rgba(15,23,42,0.04),
    0 30px 60px -30px rgba(15,23,42,0.18),
    0 0 0 1px rgba(15,23,42,0.05);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.78) 40%, rgba(255,255,255,0.25) 70%, rgba(255,255,255,0) 100%),
    linear-gradient(180deg, rgba(255,255,255,0.35) 0%, transparent 30%, rgba(10,10,15,0.18) 100%),
    url('../img/fridjy.webp');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

.hero-frame::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 60px;
  background: linear-gradient(180deg, rgba(219, 234, 254, 0.4), transparent);
  z-index: 1;
}

.hero {
  position: relative;
  z-index: 2;
  padding: 80px 64px 100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  min-height: 600px;
}

.hero-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: var(--body);
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 24px;
}

.hero-meta::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--blue-soft);
}

.hero-title {
  font-family: var(--display);
  font-size: clamp(40px, 5.2vw, 68px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 24px;
}

.hero-title .accent {
  color: var(--blue);
  font-weight: 700;
}

.hero-lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 28px;
  max-width: 480px;
}

.hero-features {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  height: 500px;
}

.badge-floating {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: white;
  padding: 12px 24px;
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
  z-index: 5;
}

.badge-floating svg {
  width: 14px;
  height: 14px;
  margin-right: 6px;
  color: rgba(255,255,255,0.85);
  vertical-align: -2px;
}

.feature-eyebrow svg { width: 14px; height: 14px; }

.spending-label {
  position: absolute;
  top: 20px;
  left: 30px;
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}

.card-1 {
  top: 80px;
  left: 0;
  width: 240px;
  z-index: 3;
}

.card-2 {
  top: 130px;
  right: 0;
  width: 220px;
  z-index: 2;
}

.hero-meta, .hero-title, .hero-lead, .hero-features, .hero-cta {
  animation: fadeUp 0.7s ease forwards;
  opacity: 0;
}

.hero-meta { animation-delay: 0.05s; }
.hero-title { animation-delay: 0.1s; }
.hero-lead { animation-delay: 0.2s; }
.hero-features { animation-delay: 0.3s; }
.hero-cta { animation-delay: 0.4s; }

.card-1 { animation: float 6s ease-in-out infinite; }
.card-2 { animation: float 6s ease-in-out infinite 1s; }
.badge-floating { animation: float 5s ease-in-out infinite; }

/* ====== TRUSTED BAR ====== */
.trusted {
  background: var(--bg-soft);
  border-top: 1px solid var(--border-soft);
  padding: 32px 64px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.trusted-text {
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
}

.trusted-text strong { font-weight: 700; }

.trusted-logos {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
  opacity: 0.6;
}

.logo-item {
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  color: var(--muted);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.logo-item::before {
  content: "";
  width: 18px;
  height: 18px;
  background: var(--muted);
  border-radius: 4px;
  opacity: 0.5;
}

/* ====== iHaiti FEATURE BLOCK ====== */
.feature-block {
  background: var(--ink);
  color: white;
  border-radius: 24px;
  padding: 64px;
  margin: 60px auto;
  max-width: 1280px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.feature-block::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 70%;
  height: 200%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.4) 0%, transparent 50%);
  pointer-events: none;
}

.feature-block-content { position: relative; z-index: 2; }

.feature-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(96, 165, 250, 0.15);
  color: var(--blue-glow);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 24px;
}

.feature-title {
  font-family: var(--display);
  font-size: clamp(32px, 3.8vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.feature-title .accent { color: var(--blue-glow); }

.feature-desc {
  color: rgba(255,255,255,0.7);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 480px;
}

.feature-stats {
  display: flex;
  gap: 40px;
  margin-bottom: 32px;
}

.feature-stat .num {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 700;
  color: white;
  letter-spacing: -0.02em;
  line-height: 1;
}

.feature-stat .lab {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
}

.feature-mockup {
  background: var(--surface);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.3);
  position: relative;
  z-index: 2;
}

.mockup-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ====== PUBLICATIONS BAND ====== */
.pubs-band {
  background: var(--bg-tint);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.pubs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pub-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pub-card:hover {
  border-color: var(--blue);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -10px rgba(37, 99, 235, 0.15);
}

.pub-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pub-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
}

.pub-tag.etude { background: var(--blue-soft); color: var(--blue-deep); }
.pub-tag.outil { background: #DCFCE7; color: #166534; }
.pub-tag.note { background: #FEF3C7; color: #92400E; }

.pub-date {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}

.pub-card h3 {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.pub-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  flex: 1;
}

.pub-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  margin-top: auto;
  transition: gap 0.3s ease;
}

.pub-link:hover { gap: 10px; }

/* ====== PILLARS ====== */
.pillars-section {
  background: var(--bg-warm);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  padding: 100px 0;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.pillar-card {
  background: var(--surface);
  border-radius: 16px;
  padding: 36px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.pillar-card:hover {
  border-color: var(--blue);
  box-shadow: 0 20px 40px -10px rgba(37, 99, 235, 0.1);
}

.pillar-icon {
  width: 48px;
  height: 48px;
  background: var(--blue-soft);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--blue);
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
}

.pillar-card h3 {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.pillar-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 20px;
}

.pillar-link {
  color: var(--blue);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ====== ABOUT TEASER ====== */
.about-teaser-band {
  background: var(--bg-mint);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.about-teaser {
  max-width: 1280px;
  margin: 0 auto;
  padding: 100px 32px;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: center;
}

.portrait {
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  background-image:
    linear-gradient(180deg, rgba(10,10,15,0) 50%, rgba(10,10,15,0.35) 100%),
    url('../img/fridjy.webp');
  background-size: cover;
  background-position: center top;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(15,23,42,0.04),
    0 30px 60px -20px rgba(15,23,42,0.25),
    0 0 0 1px rgba(15,23,42,0.06);
}

.portrait-deco {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(96, 165, 250, 0.18), transparent 55%),
    radial-gradient(circle at 80% 90%, rgba(190, 242, 100, 0.12), transparent 55%);
  mix-blend-mode: overlay;
}

.about-content h2 {
  font-family: var(--display);
  font-size: clamp(32px, 3.5vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--ink);
}

.about-content h2 .accent { color: var(--blue); }

.about-content p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 16px;
}

.about-content p strong {
  color: var(--ink);
  font-weight: 600;
}

@media (max-width: 968px) {
  .hero-wrapper { padding: 12px; }
  .hero-frame { border-radius: 14px; }
  .hero { padding: 40px 20px 48px; grid-template-columns: 1fr; gap: 48px; }
  .hero-bg {
    background-position: 70% center;
    background-image:
      linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.6) 50%, rgba(255,255,255,0.85) 100%),
      url('../img/fridjy.webp');
  }
  .hero-features { gap: 12px; margin-bottom: 24px; }
  .hero-cta { gap: 10px; }
  .hero-cta .btn { flex: 1 1 auto; justify-content: center; }
  .hero-visual { height: 320px; max-width: 100%; }
  .card-1 { width: min(220px, 60vw); top: 40px; }
  .card-2 { width: min(200px, 55vw); top: 110px; }
  .badge-floating { font-size: 12px; padding: 10px 18px; }

  .trusted { padding: 20px; grid-template-columns: 1fr; gap: 20px; text-align: center; }
  .trusted-logos { flex-wrap: wrap; gap: 18px; justify-content: center; }
  .logo-item { font-size: 13px; }

  .feature-block { padding: 36px 24px; grid-template-columns: 1fr; gap: 32px; margin: 24px 12px; border-radius: 18px; }
  .feature-stats { gap: 20px; flex-wrap: wrap; }
  .feature-stat .num { font-size: 26px; }

  .pubs-grid { grid-template-columns: 1fr; gap: 16px; }
  .pillars-grid { grid-template-columns: 1fr; gap: 16px; }
  .pillar-card { padding: 28px 24px; }
  .about-teaser { grid-template-columns: 1fr; gap: 32px; padding: 60px 24px; }
  .portrait { aspect-ratio: 4 / 4; }
}

@media (max-width: 480px) {
  .hero { padding: 32px 16px 40px; gap: 36px; }
  .hero-title { font-size: clamp(34px, 9vw, 44px); }
  .hero-lead { font-size: 16px; }
  .hero-features .feature-pill { font-size: 13px; }
  .hero-cta .btn-large { padding: 12px 16px; font-size: 14px; }
  .hero-visual { height: 260px; }
  .card-1 { width: min(190px, 55vw); top: 20px; padding: 18px; }
  .card-2 { width: min(180px, 52vw); top: 90px; padding: 18px; }
  .card-value { font-size: 22px; }
  .badge-floating { font-size: 11px; padding: 8px 14px; }

  .feature-block { padding: 28px 20px; margin: 16px 8px; }
  .feature-title { font-size: clamp(26px, 6.5vw, 34px); }
  .feature-stat .num { font-size: 22px; }
  .feature-stats { gap: 16px; }

  .pub-card { padding: 22px; }
  .pillar-card { padding: 24px 20px; }
  .pillar-card h3 { font-size: 19px; }

  .about-teaser { padding: 48px 20px; }
}
