/* ==========================================================================
   Design System & Variáveis
   ========================================================================== */
:root {
    --color-bg: #ffffff;
    --color-primary: #0d3c26;       /* Verde escuro premium */
    --color-primary-hover: #1b5e3a; /* Verde mais claro para hover */
    --color-text-dark: #1a202c;     /* Cinza escuro para títulos */
    --color-text-body: #4a5568;     /* Cinza médio para textos gerais */
    --color-border: #e2e8f0;        /* Cinza claro para bordas */
    --color-accent-bg: #f8fafc;     /* Fundo muito suave para elementos secundários */
    
    --font-primary: 'Roboto', Arial, sans-serif;
    --transition-default: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-premium: 0 20px 40px -15px rgba(0, 0, 0, 0.12), 0 15px 25px -20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 25px 50px -12px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   Reset & Estilos Globais
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text-body);
    font-family: var(--font-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ==========================================================================
   Componentes Utilitários
   ========================================================================== */
.header-container, .hero-container, .features-container, .footer-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ==========================================================================
   Header (Cabeçalho)
   ========================================================================== */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

/* Logo "F" Circular */
.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background-color: var(--color-primary);
    border-radius: 50%;
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition-default);
    box-shadow: 0 4px 6px rgba(13, 60, 38, 0.15);
}

.logo:hover {
    background-color: var(--color-primary-hover);
    transform: scale(1.05);
}

/* Botão de Download */
.btn-download {
    display: inline-block;
    background-color: var(--color-primary);
    color: #ffffff;
    padding: 0.75rem 1.75rem;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 50px;
    transition: var(--transition-default);
    box-shadow: 0 4px 10px rgba(13, 60, 38, 0.1);
}

.btn-download:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(13, 60, 38, 0.2);
}

.btn-download:active {
    transform: translateY(0);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    min-height: calc(100vh - 80px); /* 100vh menos a altura do header */
    display: flex;
    align-items: center;
    padding: 4rem 0;
    background-color: var(--color-bg);
}

.hero-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
}

/* Colunas comuns */
.hero-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Coluna Esquerda: Headline */
.hero-left {
    flex: 1.2;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.25;
    color: var(--color-text-dark);
    letter-spacing: -0.025em;
    max-width: 400px;
}

/* Coluna Central: Mockup */
.hero-center {
    flex: 1.5;
    align-items: center;
}

.mockup-wrapper {
    position: relative;
    max-width: 320px;
    width: 100%;
}

.hero-mockup {
    width: 100%;
    height: auto;
    max-height: 65vh;
    object-fit: contain;
    border-radius: 36px; /* Ajusta-se ao formato do print */
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
    transition: var(--transition-default);
}

.hero-mockup:hover {
    transform: scale(1.02) translateY(-4px);
    filter: drop-shadow(0 25px 45px rgba(0, 0, 0, 0.2));
}

/* Coluna Direita: Recursos */
.hero-right {
    flex: 1.2;
}

.features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    max-width: 320px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1rem 1.25rem;
    background-color: var(--color-accent-bg);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    transition: var(--transition-default);
}

.feature-item:hover {
    transform: translateX(6px);
    background-color: #ffffff;
    border-color: var(--color-primary-hover);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.feature-emoji {
    font-size: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
}

.feature-text {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-text-dark);
}

/* ==========================================================================
   Features Section (Recursos)
   ========================================================================== */
.features {
    padding: 8rem 0;
    background-color: var(--color-bg);
}

.features-container {
    display: flex;
    flex-direction: column;
    gap: 8rem; /* Espaçamento entre cada linha de recurso */
}

.feature-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6rem;
}

/* Alternância de imagem/texto automática */
.feature-row:nth-child(even) {
    flex-direction: row-reverse;
}

.feature-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-image-col {
    align-items: center;
}

.feature-mockup-wrapper {
    position: relative;
    max-width: 280px;
    width: 100%;
}

.feature-mockup {
    width: 100%;
    height: auto;
    max-height: 55vh;
    object-fit: contain;
    border-radius: 36px;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.1));
    transition: var(--transition-default);
}

.feature-mockup:hover {
    transform: translateY(-5px);
    filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.15));
}

.feature-text-col {
    padding: 0 1rem;
}

.feature-row-title {
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--color-text-dark);
    line-height: 1.3;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.feature-row-desc {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--color-text-body);
    max-width: 480px;
}

/* ==========================================================================
   CTA Section (Call to Action)
   ========================================================================== */
.cta {
    padding: 6rem 0;
    background-color: var(--color-bg);
    text-align: center;
}

.cta-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    background-color: var(--color-primary);
    border-radius: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    box-shadow: 0 20px 40px rgba(13, 60, 38, 0.15);
    color: #ffffff;
    transition: var(--transition-default);
}

.cta-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 25px 45px rgba(13, 60, 38, 0.22);
}

.cta-title {
    font-size: 2.4rem;
    font-weight: 600;
    line-height: 1.3;
    max-width: 550px;
    letter-spacing: -0.02em;
}

.btn-cta {
    background-color: #ffffff;
    color: var(--color-primary);
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.btn-cta:hover {
    background-color: var(--color-accent-bg);
    color: var(--color-primary-hover);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-3px) scale(1.02);
}

.btn-cta:active {
    transform: translateY(0) scale(1);
}

.cta-subtext {
    font-size: 1.05rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ==========================================================================
   Footer Section (Rodapé)
   ========================================================================== */
.footer {
    background-color: var(--color-accent-bg);
    border-top: 1px solid var(--color-border);
    padding: 3rem 0;
}

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

.footer-copy {
    font-size: 0.95rem;
    color: var(--color-text-body);
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: #ffffff;
    color: var(--color-text-body);
    border: 1px solid var(--color-border);
    transition: var(--transition-default);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.social-link:hover {
    background-color: var(--color-primary);
    color: #ffffff;
    border-color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(13, 60, 38, 0.12);
}

.social-link svg {
    transition: transform 0.3s ease;
}

.social-link:hover svg {
    transform: scale(1.1);
}

/* ==========================================================================
   Media Queries (Responsividade)
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-container {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    /* Hero Responsivo */
    .hero {
        padding: 2.5rem 0;
        min-height: auto;
    }
    
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 3.5rem;
    }
    
    .hero-col {
        align-items: center;
        width: 100%;
    }
    
    .hero-left {
        order: 1; /* Headline no topo */
    }
    
    .hero-title {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .hero-center {
        order: 2; /* Mockup no meio */
    }
    
    .mockup-wrapper {
        max-width: 280px;
    }
    
    .hero-mockup {
        max-height: 50vh;
    }
    
    .hero-right {
        order: 3; /* Recursos abaixo */
    }
    
    .features-list {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .feature-item:hover {
        transform: translateY(-3px); /* Hover vertical em telas menores */
    }

    /* Features Responsivo */
    .features {
        padding: 4rem 0;
    }

    .features-container {
        gap: 5rem;
    }

    .feature-row,
    .feature-row:nth-child(even) {
        flex-direction: column !important;
        text-align: center;
        gap: 2.5rem;
    }

    .feature-col {
        align-items: center;
        width: 100%;
    }

    .feature-mockup-wrapper {
        max-width: 240px;
    }

    .feature-mockup {
        max-height: 45vh;
    }

    .feature-row-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .feature-row-desc {
        font-size: 1rem;
        margin: 0 auto;
        max-width: 450px;
    }

    /* CTA Responsivo */
    .cta {
        padding: 4rem 0 2rem;
    }

    .cta-container {
        padding: 3rem 1.5rem;
        border-radius: 24px;
        gap: 1.5rem;
    }

    .cta-title {
        font-size: 1.8rem;
    }

    .btn-cta {
        padding: 0.9rem 2rem;
        font-size: 1rem;
        width: 100%;
        max-width: 280px;
    }

    /* Footer Responsivo */
    .footer {
        padding: 2.5rem 0;
    }

    .footer-container {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}