/* Landing BRVM — style épuré type DeepSeek : un écran, fond clair, grille subtile */
:root {
  --vert: #0E6BA8;
  --vert-fonce: #0A567F;
  --encre: #1a2b4a;
  --texte: #4a5568;
  --fond: #f7f9fc;
  --carte: #eef2f7;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: "Inter", system-ui, sans-serif;
  color: var(--texte);
  background:
    linear-gradient(rgba(26, 43, 74, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 43, 74, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 30% 20%, #eaf1f8 0%, var(--fond) 60%);
  background-size: 72px 72px, 72px 72px, cover;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, .nav-name, .carte h2 { font-family: "Poppins", sans-serif; }
.accent { color: var(--vert); }

/* ---------- Navbar ---------- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 56px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-badge {
  width: 38px; height: 38px;
  border-radius: 9999px;
  background: var(--vert);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}
.nav-name {
  font-size: 21px;
  font-weight: 600;
  color: var(--encre);
  letter-spacing: -0.01em;
}
.nav-cta {
  font-size: 15px;
  color: var(--encre);
  text-decoration: none;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 9999px;
  transition: background 0.2s;
}
.nav-cta:hover { background: rgba(0, 133, 63, 0.08); }

/* ---------- Hero ---------- */
.hero {
  flex: 1;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 64px;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 56px 56px;
}
@media (max-width: 900px) {
  .nav { padding: 20px 24px; }
  .hero { grid-template-columns: 1fr; padding: 0 24px 40px; gap: 40px; }
}

.annonce {
  font-size: 15px;
  line-height: 1.7;
  color: #6b7a90;
  max-width: 560px;
  margin-bottom: 40px;
}
.annonce .etoile { color: var(--vert); margin-right: 6px; }
.annonce a { color: var(--vert); text-decoration: none; font-weight: 500; }
.annonce a:hover { text-decoration: underline; }

.hero h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  font-weight: 300;
  color: var(--encre);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 56px;
}

/* ---------- Cartes d'action ---------- */
.cartes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 640px;
}
@media (max-width: 520px) { .cartes { grid-template-columns: 1fr; } }
.carte {
  background: var(--carte);
  border-radius: 20px;
  padding: 28px 26px;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.carte:hover {
  background: #e6ecf4;
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(26, 43, 74, 0.10);
}
.carte h2 {
  font-size: 18px;
  font-weight: 600;
  color: var(--vert);
  margin-bottom: 10px;
}
.carte p {
  font-size: 14px;
  line-height: 1.65;
  color: #5c6b80;
}

/* ---------- Carte image à droite ---------- */
.hero-right { display: flex; }
.carte-image {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 0.92;
  border-radius: 24px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 24px 60px rgba(26, 43, 74, 0.18);
}
.carte-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.carte-image:hover img { transform: scale(1.04); }
.carte-image-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px;
  background: linear-gradient(to top, rgba(7, 41, 60, 0.80), rgba(5, 30, 45, 0.15) 55%);
  color: #fff;
}
.carte-image-overlay h2 {
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 12px;
}
.carte-image-overlay span {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
}
.carte-image:hover .carte-image-overlay span { color: #fff; text-decoration: underline; }
