/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #73d537;
    --primary-dark: #024d3a;
    --primary-light: #34D399;
    --secondary: #3B82F6;
    --text-primary: #1F2937;
    --text-secondary: #6B7280;
    --background: #FFFFFF;
    --background-alt: #F9FAFB;
    --background-page: #F4F5F8;
    --border: #E5E7EB;
    --border-hairline: #EBEDF2;
    --success: #10B981;
    --warning: #F59E0B;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --gradient-primary: linear-gradient(135deg, #73d537, #024d3a);
    /* O cabeçalho é fixo, então o body precisa reservar exatamente a altura dele. Os breakpoints
       redefinem as duas coisas juntas — ver o card 11 no rodapé deste arquivo. */
    --altura-header: 70px;
}

html {
    scroll-behavior: smooth;
    /* Sem isto, clicar num link de âncora rola o alvo para DEBAIXO do cabeçalho fixo. */
    scroll-padding-top: var(--altura-header);
}

/* Rede de segurança: qualquer mídia nova respeita a largura da tela mesmo sem classe própria,
   e palavra comprida (URL, e-mail) quebra em vez de empurrar a página para o lado. */
img,
svg,
video {
    max-width: 100%;
    height: auto;
}

body {
    overflow-wrap: break-word;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    background: var(--background);
    padding-top: var(--altura-header);
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    padding: 1rem 0;
}

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

.header-logo {
    display: flex;
    align-items: center;
}

.header-logo-img {
    height: 34px;
    width: auto;
    display: block;
}

.btn-header {
    padding: 0.625rem 1.25rem;
    font-size: 0.9375rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Turma Zero Badge */
.turma-zero-badge {
    display: inline-block;
    background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #F0FDF4 0%, #ECFDF5 100%);
    padding: 4rem 0;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.hero-notice {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.hero-mockup {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
}

/* Section Styling */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    color: var(--text-primary);
}

.section-lead {
    font-size: 1.125rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Problem Section */
.problem-section {
    background: var(--background-page);
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.problem-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-hairline);
    text-align: center;
}

.problem-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.problem-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.problem-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* How It Works Section */
.how-it-works-section {
    background: white;
}

.central-idea {
    background: var(--background-alt);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
    margin: 2rem auto 4rem;
    max-width: 900px;
}

.central-idea p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.steps-list {
    max-width: 1000px;
    margin: 0 auto;
}

.step-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2rem;
    align-items: center;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border-hairline);
}

.step-item:last-child {
    border-bottom: none;
}

.step-badge {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
}

.step-badge.platform {
    background: rgba(115, 213, 55, 0.18);
    color: var(--primary-dark);
}

.step-badge.whatsapp {
    background: rgba(37, 211, 102, 0.18);
    color: #075E54;
}

.step-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.step-mockup {
    width: 340px;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

/* Benefits Section */
.benefits-section {
    background: var(--background-page);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-hairline);
    display: grid;
    grid-template-columns: 2.5rem 1fr;
    grid-template-rows: auto 1fr;
    gap: 0.25rem 1rem;
    align-items: start;
}

.benefit-check {
    font-size: 1.75rem;
    color: var(--primary);
    font-weight: 800;
    grid-row: 1 / -1;
    align-self: center;
}

.benefit-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.benefit-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.9375rem;
    margin: 0;
}

/* Signup Section */
.signup-section {
    background: linear-gradient(135deg, #F0FDF4 0%, #ECFDF5 100%);
    padding: 5rem 0;
}

.signup-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
    background: white;
    border-radius: 24px;
    padding: 3rem;
    box-shadow: var(--shadow-xl);
}

.signup-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    letter-spacing: -1px;
    color: var(--text-primary);
}

.signup-description {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.signup-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.signup-benefit {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
}

.signup-benefit-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.signup-form-wrapper {
    background: var(--background-alt);
    padding: 2.5rem;
    border-radius: 16px;
    border: 2px solid var(--border);
}

.signup-form-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.signup-form-description {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* B2B Section (academias / White Label) — mesma estrutura do signup, com tom azul pra
   diferenciar do público de personal trainers (verde). */
.b2b-section {
    background: linear-gradient(135deg, #EFF6FF 0%, #EEF2FF 100%);
}

.b2b-badge {
    background: linear-gradient(135deg, var(--secondary) 0%, #2563EB 100%);
}

textarea.form-input {
    resize: vertical;
    min-height: 4.5rem;
}

.form-group {
    margin-bottom: 0;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.2s;
    font-family: inherit;
    background: white;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(115, 213, 55, 0.1);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    font-family: inherit;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    filter: brightness(1.04);
}

.btn-secondary {
    background: var(--background-alt);
    color: var(--text-primary);
    border: 2px solid var(--border);
}

.btn-secondary:hover {
    background: var(--border);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.0625rem;
}

.btn-block {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.form-notice {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-align: center;
    margin-top: 0.5rem;
}

.form-message {
    padding: 1rem;
    border-radius: 10px;
    font-weight: 500;
    text-align: center;
    margin-top: 1rem;
}

.form-message-error {
    background: #FEE2E2;
    color: #991B1B;
    border: 1px solid #FCA5A5;
}

.form-message-success {
    background: #D1FAE5;
    color: #065F46;
    border: 1px solid #6EE7B7;
}

/* Thank You Page */
.thankyou-wrapper {
    text-align: center;
    background: white;
    border-radius: 24px;
    padding: 4rem 3rem;
    box-shadow: var(--shadow-xl);
    max-width: 700px;
    margin: 0 auto;
}

.thankyou-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.thankyou-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.thankyou-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.thankyou-next-steps {
    background: var(--background-alt);
    padding: 2rem;
    border-radius: 12px;
    text-align: left;
    margin-bottom: 2rem;
}

.thankyou-next-steps h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.thankyou-next-steps ol {
    margin-left: 1.25rem;
    line-height: 2;
    color: var(--text-secondary);
}

.thankyou-next-steps li {
    margin-bottom: 0.5rem;
}

/* Header CTA group */
.header-cta-group {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

/* Izzy Section */
.izzy-section {
    background: white;
}

.izzy-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    background: linear-gradient(135deg, #F0FDF4 0%, #ECFDF5 100%);
    border-radius: 24px;
    padding: 3.5rem;
}

.izzy-badge {
    display: inline-block;
    background: white;
    border: 1px solid var(--border);
    color: var(--primary-dark);
    padding: 0.375rem 1rem;
    border-radius: 2rem;
    font-size: 0.8125rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.izzy-title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
}

.izzy-description {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.izzy-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    margin-bottom: 2rem;
}

.izzy-list li {
    color: var(--text-secondary);
    line-height: 1.6;
    padding-left: 1.5rem;
    position: relative;
}

.izzy-list li::before {
    content: "✨";
    position: absolute;
    left: 0;
}

.izzy-list strong {
    color: var(--text-primary);
}

.izzy-mockup {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

/* Pricing Section */
.pricing-section {
    background: var(--background-page);
}

.pricing-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.pricing-blurred {
    filter: blur(6px);
    user-select: none;
    pointer-events: none;
}

.pricing-card {
    background: white;
    border-radius: 16px;
    border: 1px solid var(--border-hairline);
    padding: 2rem;
}

.pricing-card-featured {
    border: 2px solid var(--primary);
}

.pricing-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.pricing-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.pricing-value span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.pricing-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.pricing-card li {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.pricing-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.pricing-overlay p {
    background: #DC2626;
    color: white;
    font-weight: 800;
    font-size: 1.375rem;
    padding: 1rem 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    text-align: center;
    transform: rotate(-3deg);
}

/* Signup CTA (sem formulário) */
.signup-wrapper-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.signup-wrapper-cta .signup-title {
    margin-bottom: 1rem;
}

.signup-wrapper-cta .signup-description {
    margin-bottom: 2rem;
}

.signup-wrapper-cta .signup-benefits {
    align-items: center;
    margin: 0 auto 2rem;
    width: fit-content;
}

.signup-wrapper-cta .form-notice {
    margin-top: 1rem;
}

/* Footer */
footer {
    background: var(--text-primary);
    color: white;
    padding: 2rem 0;
    text-align: center;
    font-size: 0.875rem;
}

footer p {
    margin: 0.25rem 0;
}

.footer-links {
    margin-top: 0.75rem !important;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
}

.footer-links a:hover {
    color: white;
    text-decoration: underline;
}

.footer-links span {
    color: rgba(255, 255, 255, 0.4);
    margin: 0 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 0;
        min-height: auto;
    }

    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1.125rem;
    }

    .hero-cta-group {
        flex-direction: column;
    }

    .hero-mockup {
        max-width: 100%;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-lead {
        font-size: 1rem;
    }

    .problems-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .step-item {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .step-mockup {
        width: 100%;
        max-width: 340px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .izzy-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 1.5rem;
    }

    .izzy-title {
        font-size: 1.75rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-overlay p {
        font-size: 1.125rem;
        padding: 0.875rem 1.5rem;
        margin: 0 1rem;
    }

    .signup-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 1.5rem;
    }

    .signup-title {
        font-size: 1.75rem;
    }

    .header-cta-group {
        gap: 0.5rem;
    }

    .header-cta-group .btn {
        padding: 0.5rem 0.875rem;
        font-size: 0.8125rem;
    }

    .btn-large {
        width: 100%;
    }

    /* O cabeçalho não pode crescer: a altura dele está reservada no padding-top do body, e se os
       rótulos dos botões quebrarem em duas linhas ele passa dos 70px e engole o topo do hero —
       era isto que fazia a landing "vir incompleta" no celular. */
    .header-cta-group .btn {
        white-space: nowrap;
    }

    .header-logo-img {
        height: 28px;
    }

    /* 5rem acima e abaixo de nove seções somam mais de 700px de espaço vazio no celular. */
    section {
        padding: 3.5rem 0;
    }

    .problem-card {
        padding: 2rem 1.5rem;
    }

    .central-idea {
        padding: 1.5rem;
        margin: 1.5rem auto 2.5rem;
    }

    .step-item {
        margin-bottom: 2.5rem;
        padding-bottom: 2.5rem;
    }
}

/* Celular de verdade. Até aqui o arquivo tinha um único breakpoint, em 768px: um iPhone SE de
   320px recebia o mesmo espaçamento e a mesma escala de tipos de um tablet, e o conteúdo ficava
   espremido numa coluna estreita com 2rem de padding de cada lado. */
@media (max-width: 480px) {
    :root {
        --altura-header: 60px;
    }

    .site-header {
        padding: 0.75rem 0;
    }

    /* Num iPhone SE sobram 288px entre as bordas do container. O logo tem proporção 5,27:1, então
       a 26px de altura ele sozinho come 137px, e com os dois botões inteiros a conta dava 323px:
       o flex espremia o logo e estourava os rótulos. Aqui o logo encolhe e "Fazer login" perde a
       moldura de botão — vira link, que é o peso certo para ele numa landing de captação. */
    .header-logo-img {
        height: 22px;
    }

    .header-cta-group {
        gap: 0.5rem;
    }

    .header-cta-group .btn {
        flex-shrink: 0;
        padding: 0.4375rem 0.6875rem;
        font-size: 0.75rem;
        border-radius: 9px;
    }

    .header-cta-group .btn-secondary {
        background: none;
        border: none;
        padding: 0.25rem 0;
        color: var(--text-secondary);
        text-decoration: underline;
        box-shadow: none;
    }

    .container {
        padding: 0 1rem;
    }

    section {
        padding: 3rem 0;
    }

    .hero-section {
        padding: 2rem 0;
    }

    .hero-title {
        font-size: 1.75rem;
        letter-spacing: -0.75px;
    }

    .hero-description {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
        letter-spacing: -0.5px;
    }

    .section-lead {
        font-size: 0.9375rem;
        margin-bottom: 2rem;
    }

    .problem-card {
        padding: 1.75rem 1.25rem;
    }

    .problem-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .benefit-card {
        padding: 1.5rem 1.25rem;
        grid-template-columns: 2rem 1fr;
        gap: 0.25rem 0.75rem;
    }

    .izzy-wrapper,
    .signup-wrapper {
        padding: 1.75rem 1.25rem;
        border-radius: 18px;
    }

    .izzy-title,
    .signup-title {
        font-size: 1.5rem;
    }

    .step-item {
        gap: 1rem;
        margin-bottom: 2rem;
        padding-bottom: 2rem;
    }

    .step-content h3 {
        font-size: 1.25rem;
    }

    .pricing-card {
        padding: 1.5rem 1.25rem;
    }

    /* A tarja é girada e fica por cima dos planos: se não encolher junto, escapa pelas laterais. */
    .pricing-overlay p {
        font-size: 1rem;
        padding: 0.75rem 1rem;
        margin: 0 0.75rem;
        border-radius: 12px;
    }

    .btn-large {
        padding: 0.875rem 1.25rem;
        font-size: 1rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-wrapper,
.signup-wrapper {
    animation: fadeInUp 0.6s ease-out;
}
