/* ==========================================================================
   BabiMams — layout.css
   En-tête, hero, blocs de page, pied de page
   ========================================================================== */

/* ----------------------------------------------------------- En-tête */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-header);
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 76px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.logo:hover { text-decoration: none; }
.logo img { width: 48px; height: 48px; }
.logo span {
  color: var(--c-navy);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav a {
  color: var(--c-navy);
  font-size: var(--fs-sm);
  font-weight: 600;
}
.nav a:hover { color: var(--c-blue); }
.nav a[aria-current="true"] { color: var(--c-blue); }

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(60, 124, 166, .2);
  border-radius: 10px;
  background: var(--c-white);
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px var(--gutter) 20px;
  border-top: 1px solid var(--border-soft);
}
.nav-mobile.is-open { display: flex; }
.nav-mobile a {
  padding: 12px 4px;
  color: var(--c-navy);
  font-size: var(--fs-sm);
  font-weight: 600;
}
.nav-mobile .btn { margin-top: 8px; }

/* -------------------------------------------------------------- Hero */
.hero {
  position: relative;
  padding: 84px 0 96px;
  overflow: hidden;
}
.hero__blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero__blob--blue {
  top: -80px; right: -120px;
  width: 420px; height: 420px;
  background: var(--c-blue-soft);
  opacity: .25;
}
.hero__blob--amber {
  bottom: -60px; left: -100px;
  width: 300px; height: 300px;
  background: var(--c-amber);
  opacity: .18;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}

.hero__title {
  margin-bottom: 20px;
  font-size: var(--fs-hero);
  line-height: 1.08;
  letter-spacing: -.01em;
}
.hero .badge { margin-bottom: 20px; }

.hero__text {
  max-width: 460px;
  margin-bottom: 28px;
  color: var(--c-text);
  font-size: var(--fs-lead);
  line-height: 1.6;
}
.hero .stats { margin-bottom: 28px; }
.hero .store-row { margin-bottom: 28px; }
.hero__note {
  color: var(--c-muted);
  font-size: var(--fs-2xs);
}

.hero__media {
  display: flex;
  justify-content: center;
}
.hero__medallion {
  position: relative;
  width: 380px;
  height: 380px;
}
.hero__medallion::before {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-blue-soft), var(--c-pink));
  opacity: .35;
}
.hero__medallion img {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

/* ------------------------------------------------------- Deux colonnes */
.split {
  display: grid;
  gap: 56px;
  align-items: center;
}
.split--founder { grid-template-columns: .9fr 1.1fr; }
.split--pro     { grid-template-columns: 1fr 1fr; }

.split__media img {
  width: 100%;
  border-radius: var(--radius-xl);
  object-fit: cover;
}
.split--founder .split__media img { height: 380px; }
.split--pro .split__media img     { height: 360px; }

.founder__text {
  margin-bottom: 16px;
  color: var(--c-text);
  line-height: 1.65;
}
.founder__actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.link-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--c-navy);
  font-size: var(--fs-sm);
  font-weight: 700;
}

.section--navy .split__text p {
  margin-bottom: 20px;
  color: var(--c-on-dark);
  line-height: 1.65;
}
.section--navy .badge { margin-bottom: 20px; }
.section--navy h2 { margin-bottom: 16px; color: var(--c-white); }

/* ---------------------------------------------------------- CTA finale */
.cta {
  position: relative;
  padding: 96px 0;
  overflow: hidden;
  text-align: center;
}
.cta__blob {
  position: absolute;
  top: -100px; left: -100px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: var(--c-pink);
  opacity: .12;
  pointer-events: none;
}
.cta .wrap { position: relative; }
.cta h2 { margin-bottom: 16px; }
.cta__text {
  max-width: 520px;
  margin: 0 auto 32px;
  color: var(--c-text);
  font-size: 17px;
}
.cta .store-row { margin-bottom: 24px; }
.cta__pro {
  color: var(--c-text);
  font-size: var(--fs-xs);
}
.cta__pro a { font-weight: 700; }

/* -------------------------------------------------------- Pied de page */
.site-footer {
  padding: 56px 0 32px;
  background: var(--c-navy-deep);
  color: var(--c-on-dark);
}
.site-footer a { color: var(--c-on-dark); }
.site-footer a:hover { color: var(--c-white); }

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.footer__brand img { width: 48px; height: 48px; }
.footer__brand span {
  color: var(--c-white);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
}
.footer__tagline {
  max-width: 260px;
  font-size: var(--fs-xs);
  line-height: 1.6;
}

.footer__title {
  margin-bottom: 14px;
  color: var(--c-white);
  font-size: var(--fs-xs);
  font-weight: 700;
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: var(--fs-xs);
}

.footer__social {
  display: flex;
  gap: 12px;
}
.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  transition: background-color .15s var(--ease);
}
.footer__social a:hover { background: rgba(255, 255, 255, .18); }

.footer__legal {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: var(--c-on-dark-soft);
  font-size: var(--fs-2xs);
  text-align: center;
}

/* ------------------------------------------------------------- Responsive */
@media (max-width: 1024px) {
  .hero__medallion { width: 320px; height: 320px; }
}

@media (max-width: 860px) {
  .site-header__bar { height: 64px; }
  .logo img { width: 38px; height: 38px; }
  .logo span { font-size: 20px; }
  .nav, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .hero { padding: 48px 0 56px; }
  .hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .hero__copy { order: 2; }
  .hero__media { order: 1; }
  .hero__medallion { width: 260px; height: 260px; }
  .hero .stats { gap: 20px; }

  .split--founder,
  .split--pro { grid-template-columns: 1fr; gap: 28px; }
  .split--founder .split__media { order: 2; }
  .split--pro .split__media { order: 2; }
  .split--founder .split__media img,
  .split--pro .split__media img { height: 280px; }

  .cta { padding: 56px 0; }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer__grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .hero__medallion { width: 220px; height: 220px; }
  .footer__grid { grid-template-columns: 1fr; }
}
