/* ============
   Tema: Maria Teresa Rubia - Marketing Digital
   Tipografia base: Inter
   Paleta: texto #0f172a, fundo #ffffff, cinzas #f1f5f9/#e2e8f0, acento #7c3aed, acento escuro #5b21b6
   ============ */
:root {
  --bg: #0b1220;
  --text: #e5eaf1;
  --muted: #98a2b3;
  --line: #243043;
  --soft: #0f172a;
  --accent: #3b82f6;
  --accent-2: #1d4ed8;
  --dark: #0b1220;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, 'Apple Color Emoji', 'Segoe UI Emoji';
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* Layout util */
.container { width: min(1120px, 92%); margin: 0 auto; }
.section { padding: 80px 0; }
.section h2 { font-size: 36px; line-height: 1.2; margin: 0 0 16px; }
.section .section-head p { color: var(--muted); margin: 0; }
.grid-2 { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 16px; border-radius: 10px; border: 1px solid var(--line); font-weight: 600; }
.btn-sm { padding: 10px 14px; border-radius: 8px; }
.btn-primary { background: var(--accent); color: #fff; border-color: transparent; }
.btn-primary:hover { background: var(--accent-2); }
.btn-outline { background: transparent; }
.btn-outline:hover { border-color: var(--text); }
.btn-secondary { background: #111827; color: #fff; border-color: transparent; }
.btn-secondary:hover { background: #0b1220; }
.btn-link { padding: 0; border: 0; color: var(--accent); font-weight: 600; }
.btn-light { background: #fff; color: var(--text); }
.btn-dark { background: var(--dark); color: #fff; border-color: transparent; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11,18,32,.85); backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; }
.brand .logo { width: 32px; height: 32px; object-fit: contain; }
.logo-full { height: 32px; width: auto; display: block; }
.logo-mark { height: 22px; width: auto; display: block; }
.main-nav ul { display: flex; align-items: center; gap: 18px; list-style: none; margin: 0; padding: 0; }
.main-nav a { color: var(--muted); font-weight: 500; }
.main-nav a:hover { color: var(--text); }
.nav-toggle { display: none; background: transparent; border: 0; font-size: 22px; }

/* Hero */
.hero { position: relative; padding: 80px 0; background: linear-gradient(180deg, #0b1220 0%, #0f172a 100%); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 360px; height: 360px; background: url('../img/BeleboniLabsMin.png') center/contain no-repeat; filter: saturate(120%); opacity: .08; pointer-events: none; transform: rotate(-8deg); }
.hero-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.hero h1 { font-size: 48px; line-height: 1.1; margin: 0 0 16px; letter-spacing: -0.02em; }
.hero .accent { color: var(--accent); display: block; }
.hero p { color: var(--muted); margin: 0 0 20px; }
.hero-ctas { display: flex; gap: 12px; margin: 20px 0; }
.hero-badges { display: flex; gap: 16px; list-style: none; padding: 0; margin: 18px 0 0; color: var(--muted); flex-wrap: wrap; }
.hero-media img { border-radius: 16px; width: 100%; height: auto; box-shadow: 0 10px 30px rgba(2,6,23,.28); }

/* Imagens utilitárias */
.media-cover { display: block; width: 100%; height: auto; border-radius: 16px; }
.portrait { border-radius: 16px; aspect-ratio: 4 / 5; object-fit: cover; }
.about-card { align-content: start; }

/* About */
.about { background: var(--soft); }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 20px; }
.about-stats .stat { background: #111827; border: 1px solid var(--line); border-radius: 12px; padding: 16px; text-align: center; font-weight: 500; color: var(--muted); }
.about-stats .stat span { display: block; font-size: 20px; color: var(--text); font-weight: 700; }
.about-card { display: grid; gap: 14px; }
.about-card img { border-radius: 16px; width: 30%; height: auto; }
.about-card .card { border: 1px solid var(--line); border-radius: 12px; padding: 16px; background: #111827; }

/* Solutions */
.solutions .cards .card { border: 1px solid var(--line); border-radius: 12px; padding: 20px; background: #111827; display: grid; gap: 10px; }
.solutions .cards .card h3 { margin: 0; }
.solutions .cards .card p { margin: 0; color: var(--muted); }
.solutions .cards .card ul { margin: 0; padding-left: 18px; color: var(--muted); }

/* Commitment */
.commitment .commitment-grid { grid-template-columns: repeat(3, 1fr); }
.commitment .card { border: 1px solid var(--line); border-radius: 12px; padding: 20px; background: #111827; display: grid; gap: 10px; }

/* Courses */
.courses .course-grid { grid-template-columns: repeat(3, 1fr); }
.course { overflow: hidden; }
.course img { width: 100%; height: 180px; object-fit: cover; }
.course-body { padding: 16px; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 12px 12px; background: #111827; display: grid; gap: 8px; }
.course-body ul { margin: 0; padding-left: 18px; color: var(--muted); }

/* Testimonials */
.testimonials .slider { position: relative; border: 1px solid var(--line); border-radius: 16px; padding: 20px 48px; background: #111827; overflow: hidden; }
.slides { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; transition: transform .4s ease; }
.slide { opacity: .5; transform: scale(.98); transition: all .3s ease; padding: 12px; }
.slide.active { opacity: 1; transform: scale(1); }
.slide p { font-size: 18px; margin: 0 0 12px; }
.author { display: flex; align-items: center; gap: 12px; }
.author img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.slider-prev, .slider-next { position: absolute; top: 50%; transform: translateY(-50%); background: #fff; border: 1px solid var(--line); width: 36px; height: 36px; border-radius: 999px; display: grid; place-items: center; font-size: 18px; cursor: pointer; }
.slider-prev { left: 12px; }
.slider-next { right: 12px; }

/* Blog */
.blog .blog-grid { grid-template-columns: repeat(3, 1fr); }
.post img { width: 100%; height: 160px; object-fit: cover; border-radius: 12px 12px 0 0; }
.post-body { border: 1px solid var(--line); border-top: 0; border-radius: 0 0 12px 12px; padding: 14px; background: #111827; display: grid; gap: 6px; }
.post-body p { color: var(--muted); margin: 0; }

/* CTA */
.cta { background: linear-gradient(180deg, #0f172a 0, #0b1220 100%); }
.cta-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px; border: 1px solid var(--line); border-radius: 16px; padding: 24px; background: #111827; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 20px 0; }
.foot-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.footer-nav { display: flex; gap: 14px; color: var(--muted); }
.social { display: flex; gap: 14px; }
.social a { color: var(--muted); }
.social a:hover { color: var(--text); }
.copyright { border-top: 1px solid var(--line); text-align: center; color: var(--muted); padding: 12px 0 20px; font-size: 14px; }

/* Botão flutuante WhatsApp */
.float-whatsapp {
  position: fixed; right: 18px; bottom: 18px;
  width: 56px; height: 56px; border-radius: 999px;
  background: #25D366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(2,6,23,.18);
  border: 1px solid rgba(0,0,0,.06);
  z-index: 60;
}
.float-whatsapp:hover { filter: brightness(0.95); }

/* Responsivo */
@media (max-width: 1024px) {
  .grid-2, .hero-inner { grid-template-columns: 1fr; }
  .cards, .courses .course-grid, .blog .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .commitment .commitment-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .section { padding: 56px 0; }
  .section h2 { font-size: 28px; }
  .hero h1 { font-size: 36px; }
  .logo-full { height: 28px; }
  .logo-mark { height: 20px; }
  .hero::before { width: 260px; height: 260px; inset: -10% -20% auto auto; opacity: .07; }
  .cards, .courses .course-grid, .blog .blog-grid { grid-template-columns: 1fr; }
  .commitment .commitment-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .main-nav ul { display: none; position: absolute; right: 4%; top: 60px; background: #111827; border: 1px solid var(--line); border-radius: 12px; padding: 12px; flex-direction: column; width: 220px; box-shadow: 0 10px 30px rgba(2,6,23,.28); }
  .main-nav ul.open { display: flex; }
  .nav-toggle { display: inline-block; }
  .float-whatsapp { right: 14px; bottom: 14px; width: 52px; height: 52px; }

  /* Centralização no mobile */
  .hero, .section .section-head { text-align: center; }
  .hero-inner { justify-items: center; }
  .hero-ctas { justify-content: center; }
  .hero-badges { justify-content: center; }
  .cta-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .cta-actions { justify-content: center; align-items: center; }

  /* Sobre: imagem e card no mobile */
  .about .grid-2 { justify-items: center; }
  .about-card img { width: 100%; max-width: 420px; }
  .about-card .card { text-align: center; }
}
