:root {
    --bg: #f5f5f5;
    --primary: #e53935;
    --primary-dark: #b71c1c;
    --accent: #f7c948;
    --text: #222;
    --muted: #666;
    --radius-lg: 18px;
    --shadow-soft: 0 14px 35px rgba(0, 0, 0, 0.15);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
}

.top-bar {
    height: 22px;
    background: linear-gradient(90deg, #f44336, #d32f2f);
}

/* HERO */

.hero {
    background: #ffffff;
    padding: 36px 16px 70px;
}

.hero-content {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    align-items: center;          /* alinha verticalmente texto e mascote */
    justify-content: space-between;
    gap: 40px;
}

/* Coluna esquerda: logo + mascote */
.hero-left {
    flex: 1 1 45%;
}

/* Coluna direita: texto */
.hero-right {
    flex: 1 1 55%;
}

/* Ajuste no HTML: 
   basta adicionar class="hero-left" no wrapper da logo+mascote
   e class="hero-right" no div .hero-text
   (se não quiser mexer no HTML, não tem problema:
   o flex ainda vai funcionar bem, pois hero-mascot e hero-text
   são os dois filhos principais) */

.logo-area {
    margin-bottom: 18px;
}

.logo-text {
    font-weight: 700;
    letter-spacing: 0.14em;
    font-size: 18px;
}

.logo-text span {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 6px 14px;
    border-radius: 999px;
    margin-left: 8px;
}

.hero-text {
    max-width: 560px;
    margin-left: auto;
}

.hero-text h1 {
    font-size: 32px;
    line-height: 1.2;
    margin: 0 0 14px;
}

.highlight {
    background: var(--primary);
    color: #fff;
    padding: 0px 6px;
    border-radius: 10px;
    box-decoration-break: clone;
}

.hero-subtitle {
    margin: 0 0 22px;
    color: var(--muted);
    font-size: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 26px;
    border-radius: 999px;
    border: none;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    transition: transform 0.08s ease-out, box-shadow 0.08s ease-out, filter 0.08s;
}

.btn-primary {
    background: linear-gradient(to bottom, #ffd54f, #f9a825);
    color: #4e2a00;
}

.btn-primary:hover {
    transform: translateY(-1px);
    filter: brightness(1.03);
}

.btn-secondary {
    background: var(--primary);
    color: #fff;
}

.btn-secondary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.hero-bullets {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #ffe0e0;
    color: #a31111;
}

/* Mascote */

.hero-mascot {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mascot-placeholder {
    width: 220px;
    height: 260px;
    border-radius: 32px;
    /* background: radial-gradient(circle at 20% 20%, #fff3e0, #ffccbc); */
    /* box-shadow: var(--shadow-soft); */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #5d4037;
    padding: 12px;
    font-size: 14px;
}

/* 3 PASSOS */

.steps {
    padding: 40px 16px 60px;
    background: #fff7f7;
}

.steps-header {
    max-width: 720px;
    margin: 0 auto 32px;
    text-align: center;
}

.steps-header h2 {
    margin: 0 0 8px;
    font-size: 26px;
}

.steps-header p {
    margin: 0;
    color: var(--muted);
}

.steps-grid {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.step-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 22px 20px 24px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
    position: relative;
    min-height: 180px;
}

.step-number {
    position: absolute;
    top: -16px;
    left: 18px;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.step-card h3 {
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 18px;
}

.step-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.steps-cta {
    text-align: center;
    margin-top: 32px;
}

.placeholder {
    min-height: 40px;
}

/* Rodapé */

.footer {
    text-align: center;
    padding: 22px 12px 30px;
    font-size: 12px;
    color: var(--muted);
}

/* RESPONSIVO */

@media (max-width: 960px) {
    .hero-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 28px;
    }

    .hero-mascot {
        order: 2;
        width: 100%;
        justify-content: center;
    }

    .logo-area{
        width: 100%;
        justify-content: center;
    align-items: center;
    }

    .logo-text{
        width: 100%;
        justify-content: center;
        align-items: center;
        display: flex;
    }

    .hero-text {
        margin-left: 0;
        max-width: 100%;
    }

    .hero-text h1 {
        font-size: 26px;
    }
}

@media (max-width: 768px) {
    .steps-grid {
        grid-template-columns: 1fr;
        max-width: 680px;
    }

    .step-card {
        padding-inline: 18px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 28px;
    }

    .hero-text h1 {
        font-size: 22px;
    }

    .btn {
        width: 100%;
    }

    .mascot-placeholder {
        width: 180px;
        height: 210px;
    }
}


/* Footer */

#topbar-logo {
    width: 250px;
}

#footer {
  background: linear-gradient(180deg, #2d3238, #1f2328);
  color: #e9eef3 !important;
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 22px 16px;
  margin-top: auto;  
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  /* alinha à borda esquerda da viewport */
  width: 100%;
  /* ocupa toda a viewport */
  box-sizing: border-box;
}

#footer strong{
  color: #e9eef3 !important;
}


#footer .footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

#footer .footer-nav a {
  color: #e9eef3 !important;
  opacity: .85;
  text-decoration: none;
  margin-left: 16px;
}

#footer .footer-nav a:hover {
  opacity: 1;
  text-decoration: underline;
}

#footer .footer-legal{
  max-width:1000px;
  margin:14px auto 0;
  padding-top:12px;
  border-top:1px solid rgba(255,255,255,.12);
  text-align:center;
  font:400 .9rem/1.5 system-ui, Arial, sans-serif;
  opacity:.85;
}

#footer .footer-legal span {
  
  color: #e9eef3 !important;
}

#footer .footer-legal-info{
  max-width:1000px;
  margin:14px auto 0;
  padding-top:12px;
  text-align:center;
  font:400 .9rem/1.5 system-ui, Arial, sans-serif;
  opacity:.85;
}

#footer .footer-legal-info span {
  color: #e9eef3 !important;
}