/* ===============================
   VARIÁVEIS E RESET BÁSICO
   =============================== */
:root {
    --primary: #059669;
    --primary-hover: #047857;
    --primary-light: #d1fae5;
    --secondary: #0ea5e9;
    --secondary-hover: #0284c7;

    --text-main: #1e293b;
    --text-muted: #64748b;
    --bg-body: #f8fafc;
    --bg-surface: #ffffff;
    --bg-alt: #f1f5f9;
    --border-color: #e2e8f0;

    --radius: 16px;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --font-sans: system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: 0.2s;
}

a:hover {
    color: var(--primary-hover);
}

/* ===============================
   TIPOGRAFIA
   =============================== */
.title-main {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-main);
}

.title-section {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1rem;
}

.subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
}

.text-primary {
    color: var(--primary);
}

.text-muted {
    color: var(--text-muted);
}

.text-main {
    color: var(--text-main);
}

/* ===============================
   LAYOUT E ESPAÇAMENTO
   =============================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-pad {
    padding: 30px 0;
}

.bg-surface {
    background-color: var(--bg-surface);
}

.bg-alt {
    background-color: var(--bg-alt);
}

.border-bottom {
    border-bottom: 1px solid var(--border-color);
}

.border-top {
    border-top: 1px solid var(--border-color);
}

.mt-10 {
    margin-top: 10px;
}

.mt-15 {
    margin-top: 15px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-30 {
    margin-top: 30px;
}

.text-center {
    text-align: center;
}

.grid {
    display: grid;
    gap: 32px;
}

/* Padrão Mobile: Tudo 1 coluna */
.grid-2 {
    grid-template-columns: 1fr;
}

.grid-3 {
    grid-template-columns: 1fr;
}

.align-center {
    align-items: center;
}

/* Breakpoint para Desktop/Tablet */
@media (min-width: 768px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .title-main {
        font-size: 3rem;
    }
}

/* ===============================
   COMPONENTES (CARDS E BOTÕES)
   =============================== */
.card {
    background: var(--bg-surface);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: transform 0.2s, box-shadow 0.2s;
}

.shadow-sm {
    box-shadow: var(--shadow-sm);
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    font-size: 1rem;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    color: #fff;
}

.btn-whatsapp {
    background-color: #25D366;
    color: #fff;
}

.btn-whatsapp:hover {
    background-color: #16a34a;
    color: #fff;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.btn-outline:hover {
    background-color: var(--bg-alt);
}

.btn-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    color: var(--primary);
}

.link-arrow:hover {
    gap: 4px;
}

/* ===============================
   CABEÇALHO (HEADER)
   =============================== */
.site-header {
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 10px 0;
    /* Espaçamento reduzido */
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.brand {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.brand__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
}

.brand__name {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -0.5px;
}

.brand__tagline {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

.nav {
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
    padding: 6px 0;
    border-bottom: 3px solid transparent;
}

.nav a:hover,
.nav a.is-active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.nav a.btn {
    border-bottom: none;
    color: #ffffff !important;
    margin-left: 10px;
}

.nav a.btn:hover {
    border-bottom: none;
    background-color: var(--primary-hover);
}

/* Menu Hambúrguer (Escondido no Desktop) */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-main);
    padding: 8px;
}

/* ===============================
   PÁGINA HOME
   =============================== */
.hero-img-wrapper {
    position: relative;
}

.hero-img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.hero-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    padding: 16px;
    max-width: 250px;
    z-index: 10;
}

.about-text {
    order: 1;
}

.about-img {
    order: 2;
}

.features-list {
    list-style: none;
    margin-top: 24px;
    display: grid;
    gap: 12px;
}

.features-list li {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* ===============================
   BOLA DO WHATSAPP
   =============================== */
.floating-cta {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99;
}

.btn-whatsapp-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #ffffff;
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-whatsapp-circle:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 25px -5px rgba(0, 0, 0, 0.2);
    color: #ffffff;
}

/* ===============================
   RESPONSIVO GERAL (MOBILE)
   =============================== */
@media (max-width: 768px) {

    /* Header com Menu Hambúrguer */
    .header-row {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }

    .brand {
        align-items: flex-start;
        max-width: 70%;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .nav {
        display: none;
        /* Esconde o menu por padrão no celular */
        flex-direction: column;
        width: 100%;
        gap: 8px;
        padding-top: 16px;
        border-top: 1px solid var(--border-color);
        margin-top: 8px;
    }

    .nav.is-open {
        display: flex;
    }

    /* Mostra quando clica */
    .nav a {
        text-align: left;
        width: 100%;
        border-bottom: none;
        padding: 10px 8px;
    }

    .nav a.btn {
        margin-left: 0;
        width: 100%;
        text-align: center;
    }

    /* Home */
    .hero-badge {
        position: static;
        max-width: 100%;
        margin-top: -16px;
    }

    .about-text {
        order: 2;
    }

    .about-img {
        order: 1;
        margin-bottom: 24px;
    }

    /* Footer */
    .site-footer .grid-3 {
        gap: 40px;
        text-align: center;
    }

    .footer-link {
        justify-content: center;
    }
}

/* ===============================
   RODAPÉ (FOOTER)
   =============================== */
.site-footer {
    background-color: #0f172a;
    color: #ffffff;
    padding: 64px 0 24px;
    margin-top: auto;
}

.footer-title {
    display: block;
    font-size: 1.125rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
}

.footer-link {
    color: var(--primary-light);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-link:hover {
    color: #ffffff;
}

.footer-bottom {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid #1e293b;
    text-align: center;
    color: #64748b;
    font-size: 0.875rem;
}