:root {
    --primary: #e53935;
    --primary-dark: #b71c1c;
    --bg: #f8f8f8;
    --text: #222;
    --muted: #666;
    --radius-lg: 18px;
    --shadow-soft: 0 10px 24px rgba(0,0,0,0.12);
}

*,
*::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);
}

.container {
    width: min(1120px, 94%);
    margin: 0 auto;
}

/* Cabeçalho da página de guias */

.header-guias {
    background: #ffffff;
    padding: 32px 16px 24px;
    border-bottom: 1px solid #f0f0f0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.header-guias h1 {
    margin: 0 0 8px;
    font-size: 28px;
}

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

.header-cta {
    flex-shrink: 0;
}

/* Botões (mesmo visual da LP) */

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

.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);
}

/* Lista de guias */

.lista-guias {
    padding: 32px 0 56px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.guia-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 20px 20px 22px;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    height: 100%; /* garante altura igual */
}


.tag-guia {
    display: inline-block;
    font-size: 11px;
    padding: 4px 9px;
    border-radius: 999px;
    background: #ffe0e0;
    color: #a31111;
    margin-bottom: 8px;
}

.guia-card h2 {
    margin: 0 0 6px;
    font-size: 18px;
}

.guia-card .frase {
    margin: 0 0 10px;
    font-weight: 600;
    color: var(--primary-dark);
    font-size: 14px;
}
.guia-card .descricao,
.guia-card ul {
    margin-bottom: 16px;
}

.guia-card ul {
    flex-grow: 1; /* força todos os cards a esticarem igualmente */
}
.guia-card .descricao {
    margin: 0 0 10px;
    font-size: 14px;
    color: var(--muted);
}

.guia-card h3 {
    margin: 8px 0 4px;
    font-size: 14px;
}

.guia-card ul {
    margin: 0 0 12px 18px;
    padding: 0;
    font-size: 13px;
    color: #444;
}

.guia-card li {
    margin-bottom: 4px;
}

.guia-card .btn {
    margin-top: auto; /* empurra o botão para o final do card */
    align-self: flex-start;
}

/* Rodapé */

.footer {
    background: #111;
    color: #eee;
    text-align: center;
    padding: 18px 10px 24px;
    font-size: 12px;
}

/* Responsivo */

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-cta {
        align-self: stretch;
    }

    .header-cta .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .header-guias h1 {
        font-size: 22px;
    }
}



#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;
}