/* ============================================================
   levicidral.com.br — CSS Principal v2
   ============================================================ */
:root {
  --hero:      #0A1628;
  --azul:      #1E3A5F;
  --destaque:  #2E86C1;
  --fundo:     #F5F7FA;
  --branco:    #FFFFFF;
  --texto:     #1A2B3C;
  --muted:     #5A7A9A;
  --borda:     #D8E4F0;
  --soft-blue: #EAF3FA;
  --verde:     #27AE60;
  --radius:    22px;
  --radius-sm: 14px;
  --shadow:    0 18px 50px rgba(10,22,40,0.12);
  --max:       1160px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: "Segoe UI", system-ui, -apple-system, sans-serif; color: var(--texto); background: var(--branco); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

/* --- Navbar --- */
.navbar {
  position: sticky; top: 0; z-index: 50;
  background: #FFFFFF;
  border-bottom: 1px solid rgba(216,228,240,0.7);
  box-shadow: 0 2px 12px rgba(10,22,40,0.07);
}
.nav-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { font-weight: 850; letter-spacing: -0.03em; font-size: 1.1rem; color: var(--hero); display: flex; align-items: center; gap: 10px; }
.brand span { color: var(--hero); }
.brand-logo { height: 36px; width: auto; display: inline-block; vertical-align: middle; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 0.94rem; color: var(--muted); font-weight: 650; }
.nav-links a:hover { color: var(--destaque); }
.nav-cta { padding: 11px 18px; border-radius: 999px; background: var(--hero); color: var(--branco) !important; box-shadow: 0 10px 28px rgba(10,22,40,0.16); transition: background 0.2s; }
.nav-cta:hover { background: var(--azul); }
.nav-toggle { display: none; background: none; border: none; font-size: 1.4rem; cursor: pointer; color: var(--hero); }

/* --- Botões --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px; border-radius: 999px; font-weight: 700;
  border: 1px solid transparent; transition: 0.25s ease; cursor: pointer;
}
.btn-primary { background: var(--destaque); color: var(--branco); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(46,134,193,0.32); }
.btn-outline { border-color: rgba(255,255,255,0.25); color: var(--branco); background: rgba(255,255,255,0.06); }
.btn-outline:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }
.btn-primary-dark { background: var(--hero); color: var(--branco); }
.btn-primary-dark:hover { background: var(--azul); transform: translateY(-2px); box-shadow: var(--shadow); }

/* --- Hero --- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(circle at 85% 12%, rgba(46,134,193,0.20), transparent 30%),
              linear-gradient(135deg, var(--hero) 0%, #10223A 64%, #112C4D 100%);
  color: var(--branco);
  padding: 78px 0 92px;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18); background: rgba(255,255,255,0.08);
  color: #9CD7FF; font-weight: 750; font-size: 0.78rem;
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(2.5rem, 6vw, 5rem); line-height: 0.98; letter-spacing: -0.06em; margin-bottom: 20px; }
.hero h1 span { color: #75C8FF; }
.hero p { color: rgba(255,255,255,0.76); font-size: clamp(1rem, 2vw, 1.18rem); max-width: 620px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.image-card {
  position: relative; border-radius: 34px; padding: 14px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 0 0 6px rgba(46,134,193,0.10), 0 30px 80px rgba(0,0,0,0.25);
  /* overflow: hidden removido — foto clipada pelo .image-card-inner */
}
.image-card-inner {
  width: 100%; height: 460px;
  border-radius: 26px;
  overflow: hidden;
  position: relative;
}
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.hero-badge {
  margin-top: 14px;
  text-align: center;
  background: rgba(255,255,255,0.96); color: var(--texto);
  border-radius: 18px; padding: 14px 18px;
  box-shadow: var(--shadow); border: 1px solid var(--borda); font-size: 0.9rem;
  backdrop-filter: blur(8px);
}
.hero-badge b { color: var(--destaque); }

/* --- Seções --- */
section { padding: 96px 0; }
.soft-section { background: var(--fundo); }
.section-head { max-width: 760px; margin-bottom: 42px; }
.section-kicker { color: var(--destaque); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 850; margin-bottom: 10px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.08; letter-spacing: -0.055em; color: var(--hero); margin-bottom: 16px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* --- Quem sou (split) --- */
.split { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 58px; align-items: center; }
.portrait-wrap {
  border-radius: 32px; overflow: hidden;
  box-shadow: 0 0 0 6px rgba(46,134,193,0.08), 0 20px 50px rgba(10,22,40,0.15);
  border: 2px solid rgba(46,134,193,0.2);
  height: 520px;
}
.portrait-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.check-list { display: grid; gap: 12px; margin-top: 26px; }
.check-item { display: flex; gap: 12px; align-items: flex-start; background: var(--branco); border: 1px solid var(--borda); padding: 14px 16px; border-radius: 16px; }
.check-item span { color: var(--verde); font-weight: 900; flex-shrink: 0; }

/* --- Cards portfólio --- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--branco); border: 1px solid var(--borda); border-radius: var(--radius); padding: 28px; box-shadow: 0 10px 30px rgba(10,22,40,0.05); transition: 0.25s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(46,134,193,0.45); }
.card-icon { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: var(--soft-blue); font-size: 1.35rem; margin-bottom: 18px; }
.card h3 { color: var(--hero); font-size: 1.15rem; margin-bottom: 8px; letter-spacing: -0.02em; }
.card p { color: var(--muted); font-size: 0.95rem; }

/* --- Laboratório panel --- */
.lab-panel {
  background: var(--hero); color: var(--branco);
  border-radius: 36px; padding: 42px;
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 34px; align-items: center;
  overflow: hidden; position: relative;
}
.lab-panel::after {
  content: ""; position: absolute; right: -120px; top: -120px;
  width: 360px; height: 360px; border-radius: 50%;
  background: rgba(46,134,193,0.18);
}
.lab-panel h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.05; letter-spacing: -0.055em; margin-bottom: 16px; position: relative; z-index: 2; }
.lab-panel > div:first-child p { color: rgba(255,255,255,0.72); position: relative; z-index: 2; }
.lab-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; position: relative; z-index: 2; }
.lab-card { background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.14); border-radius: 22px; padding: 22px; transition: background 0.2s; }
.lab-card:hover { background: rgba(255,255,255,0.16); }
.lab-card small { color: #9CD7FF; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.72rem; }
.lab-card h3 { margin: 10px 0 8px; font-size: 1.05rem; color: var(--branco); }
.lab-card p { font-size: 0.9rem; color: rgba(255,255,255,0.7); }

/* --- Como funciona --- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { padding: 28px; border-radius: var(--radius); background: var(--branco); border: 1px solid var(--borda); }
.step-number { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--destaque); color: var(--branco); font-weight: 850; margin-bottom: 18px; }
.step h3 { color: var(--hero); margin-bottom: 8px; }
.step p { color: var(--muted); }

/* --- Contato --- */
.contact-card {
  background: linear-gradient(135deg, var(--hero), var(--azul));
  color: var(--branco); border-radius: 36px; padding: 48px;
  display: grid; grid-template-columns: 1fr 0.75fr; gap: 40px; align-items: center;
}
.contact-card h2 { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.05; letter-spacing: -0.055em; margin-bottom: 14px; }
.contact-card > div:first-child p { color: rgba(255,255,255,0.76); margin-bottom: 24px; }
.contact-img-wrap {
  border-radius: 26px; overflow: hidden;
  height: 260px;
  border: 2px solid rgba(255,255,255,0.15);
  box-shadow: 0 0 0 6px rgba(255,255,255,0.06);
}
.contact-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* --- Footer --- */
footer { padding: 34px 0; background: #06101D; color: rgba(255,255,255,0.55); font-size: 0.9rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-inner b { color: var(--branco); }

/* --- Responsivo --- */
@media (max-width: 900px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 76px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--borda); padding: 20px; gap: 16px; }
  .nav-links.open { display: flex; }
  .navbar { position: relative; }
  .nav-toggle { display: block; }
  .hero-grid, .split, .lab-panel, .contact-card { grid-template-columns: 1fr; }
  .cards, .steps, .lab-cards { grid-template-columns: 1fr; }
  .hero-badge { position: static; margin-top: 14px; max-width: none; }
  .portrait-img { height: 340px; }
  section { padding: 72px 0; }
  .lab-panel, .contact-card { padding: 30px; border-radius: 26px; }
  .contact-img { height: 200px; }
}
@media (max-width: 480px) {
  .hero { padding: 56px 0 64px; }
  .hero h1 { letter-spacing: -0.04em; }
}
