/* RESET BÁSICO */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* VARIÁVEIS (fica mais fácil manter o estilo) */
:root {
    --bg: #f6f7f9;
    --text: #111827;
    --muted: #6b7280;
    --card: #ffffff;
    --primary: #16a34a;
    --primary-dark: #15803d;
    --blue: #2563eb;
    --shadow: 0 10px 25px rgba(0,0,0,0.08);
    --radius: 16px;
}

/* BODY */
body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    font-size: 16px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* HEADER */
header {
    background: linear-gradient(90deg, #111827, #0f172a);
    color: white;
    padding: 15px 15px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

header h1 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 8px;
    line-height: 1.2;
}

header .small {
    color: rgba(255,255,255,0.8);
    font-size: 13px;
}

/* CONTAINER */
.container {
    max-width: 950px;
    margin: auto;
    padding: 25px 15px;
}

/* CARDS */
.card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow);
    margin-bottom: 22px;
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.10);
}

.imagem-produto {
    width: 360px;
    max-width: 100%;
    border-radius: var(--radius);
    box-shadow: 0 8px 18px rgba(0,0,0,0.10);
    border: 1px solid rgba(0,0,0,0.06);
    display: block;
    margin: 0 auto 15px auto;
}

/* TOPO PRODUTO */
.produto-topo {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    align-items: center;
}

.produto-topo h2 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.3;
}

.produto-topo p {
    margin-bottom: 12px;
    color: #1f2937;
}

/* BOTÃO CTA */
.cta-btn {
    display: block;
    width: fit-content;
    background: var(--primary);
    color: white;
    padding: 14px 18px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 800;
    margin: 15px auto 5px auto;
    transition: 0.2s;
    box-shadow: 0 10px 18px rgba(22, 163, 74, 0.25);
    letter-spacing: 0.2px;
}

.cta-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 14px 25px rgba(22, 163, 74, 0.35);
}

/* ALERTA */
.alert {
    background: #fff7ed;
    border-left: 6px solid #f97316;
    padding: 14px 14px;
    border-radius: 14px;
    margin-top: 16px;
    color: #7c2d12;
    font-weight: 600;
}

/* TÍTULOS */
h2 {
    font-size: 21px;
    margin-bottom: 12px;
    font-weight: 800;
    color: #111827;
}

h3 {
    font-size: 17px;
    margin-top: 18px;
    margin-bottom: 10px;
    font-weight: 800;
    color: #111827;
}

/* PARÁGRAFOS */
p {
    margin-bottom: 12px;
}

/* LISTAS */
ul {
    padding-left: 20px;
    margin-top: 10px;
    margin-bottom: 10px;
}

ul li {
    margin-bottom: 8px;
    color: #1f2937;
}

/* PRÓS E CONTRAS */
.pros-cons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.pros-cons div {
    flex: 1;
    min-width: 260px;
    border-radius: var(--radius);
    padding: 16px;
}

.pros {
    background: #ecfdf5;
    border: 1px solid #86efac;
}

.cons {
    background: #fef2f2;
    border: 1px solid #fecaca;
}

.pros h3, .cons h3 {
    margin-top: 0;
}

/* FAQ */
.faq details {
    background: #f9fafb;
    border: 1px solid rgba(0,0,0,0.06);
    padding: 14px 14px;
    border-radius: 14px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: 0.2s;
}

.faq details:hover {
    background: #f3f4f6;
}

.faq summary {
    font-weight: 800;
    font-size: 15px;
    color: #111827;
}

.faq details p {
    margin-top: 12px;
    color: #374151;
}

/* TABELA DO PRODUTO */
.tabela-produto {
    width: 100%;
    border-collapse: collapse;
    margin-top: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    border-radius: var(--radius);
}

.tabela-produto tr {
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.tabela-produto td {
    padding: 14px 12px;
    font-size: 15px;
    color: #111827;
}

.tabela-produto tr:nth-child(even) {
    background: #f9fafb;
}

.tabela-produto td:first-child {
    width: 200px;
    color: #111827;
    font-weight: 800;
}

/* SMALL TEXT */
.small {
    margin-top: 12px;
    font-size: 13px;
    color: var(--muted);
    text-align: center;
}

/* LINKS */
.link-a {
    color: var(--blue);
    font-weight: 800;
    text-decoration: none;
}

.link-a:hover {
    text-decoration: underline;
}

/* FOOTER */
footer {
    background: linear-gradient(90deg, #111827, #0f172a);
    color: rgba(255,255,255,0.85);
    text-align: center;
    padding: 18px 12px;
    font-size: 14px;
    margin-top: 20px;
}

footer .link-a {
    color: #93c5fd;
}

/* RESPONSIVO */
@media (max-width: 650px) {
    header h1 {
        font-size: 21px;
    }

    .card {
        padding: 18px;
    }

    .produto-topo {
        flex-direction: column;
        text-align: center;
    }

    .produto-topo img {
        width: 220px;
    }

    .cta-btn {
        width: 100%;
        text-align: center;
        padding: 14px;
    }

    .tabela-produto td:first-child {
        width: 140px;
    }
}

/* BOTÃO VOLTAR AO TOPO */
#btnTopo {
    position: fixed;
    bottom: 18px;
    right: 18px;
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 50%;
    background: #111827;
    color: white;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: 0.25s;
    z-index: 9999;
}

#btnTopo.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#btnTopo:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

.title-with-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* ícone ao lado do H1 */
.h1-icon {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

/* mobile */
@media (max-width: 650px) {
    .h1-icon {
        width: 64px;
        height: 64px;
    }
}

/* Imagens de Antes e Depois */
.galeria-resultados {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 15px;
}

.resultado-item img {
  width: 100%;
  height: auto;
  max-width: 320px;
  border-radius: 12px;
  border: 1px solid #ddd;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.08);
}

.legenda-img {
  text-align: center;
  margin-top: 8px;
  font-size: 14px;
  color: #555;
}

@media (max-width: 768px) {
  .galeria-resultados {
    grid-template-columns: 1fr;
    justify-items: center;
  }
}