/* ========================================
   RESERVA DA MATA - ESTILOS GLOBAIS
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2d7a4a;
    --primary-dark: #1f5a35;
    --primary-light: #4a9a62;
    --accent-color: #e8a25d;
    --accent-dark: #d68f4a;
    --danger-color: #e74c3c;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --border-color: #e0e0e0;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    
    --transition: all 0.3s ease;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 20px rgba(0, 0, 0, 0.2);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

/* ========================================
   CONTAINER & GRID
   ======================================== */

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

/* ========================================
   BOTÕES
   ======================================== */

.btn-submit,
.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-body);
    text-decoration: none;
}

.btn-submit {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    width: 100%;
    box-shadow: var(--shadow-md);
    min-height: 56px;
}

.btn-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-cta {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
    color: var(--white);
    padding: 18px 50px;
    font-size: 18px;
    box-shadow: var(--shadow-lg);
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(232, 162, 93, 0.4);
}

.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ========================================
   HERO COM VÍDEO
   ======================================== */

.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.video-iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(45, 122, 74, 0.7),
        rgba(31, 90, 53, 0.8)
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: center;
    color: var(--white);
    animation: fadeInUp 1s ease-out;
}

.hero-text {
    animation: slideInDown 0.8s ease-out;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 60px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 300;
    margin-bottom: 30px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

.scarcity-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(232, 162, 93, 0.95);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
    animation: slideInUp 0.8s ease-out 0.2s both;
}

.badge-icon {
    font-size: 20px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   SEÇÃO BENEFÍCIOS
   ======================================== */

.benefits {
    padding: 80px 0;
    background: var(--white);
}

.benefits h2 {
    font-family: var(--font-heading);
    font-size: 48px;
    text-align: center;
    margin-bottom: 60px;
    color: var(--primary-color);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--bg-light);
    border-radius: 12px;
    transition: var(--transition);
    border: 2px solid transparent;
}

.benefit-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    background: var(--white);
}

.benefit-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: inline-block;
}

.benefit-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.benefit-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ========================================
   SEÇÃO URGÊNCIA (GATILHOS MENTAIS)
   ======================================== */

.urgency {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
}

.urgency-content {
    text-align: center;
}

.urgency h2 {
    font-family: var(--font-heading);
    font-size: 48px;
    margin-bottom: 60px;
    animation: pulse 2s ease-in-out infinite;
}

.urgency-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.urgency-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px 30px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.urgency-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.urgency-number {
    font-size: 40px;
    display: block;
    margin-bottom: 15px;
}

.urgency-item h3 {
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 700;
}

.urgency-item p {
    font-size: 16px;
    line-height: 1.8;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* COUNTDOWN */

.countdown {
    background: rgba(0, 0, 0, 0.2);
    padding: 40px;
    border-radius: 12px;
    margin-top: 40px;
}

.countdown-label {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.countdown-timer {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 20px;
    justify-content: center;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px 15px;
    border-radius: 8px;
    font-weight: 600;
}

.countdown-value {
    font-size: 28px;
    font-weight: 700;
    font-family: 'Courier New', monospace;
}

.countdown-item .countdown-label {
    font-size: 12px;
    margin: 0;
    text-transform: uppercase;
}

/* ========================================
   SEÇÃO DEPOIMENTOS
   ======================================== */

.testimonials {
    padding: 80px 0;
    background: var(--bg-light);
}

.testimonials h2 {
    font-family: var(--font-heading);
    font-size: 48px;
    text-align: center;
    margin-bottom: 60px;
    color: var(--primary-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border-top: 4px solid var(--accent-color);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.stars {
    font-size: 18px;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.testimonial-card p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.testimonial-author strong {
    color: var(--primary-color);
    font-weight: 700;
}

.testimonial-author span {
    font-size: 14px;
    color: var(--text-light);
}

/* ========================================
   SEÇÃO CTA PRÉ-FORMULÁRIO
   ======================================== */

.cta-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    font-family: var(--font-heading);
    font-size: 42px;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-highlight {
    background: rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 8px;
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
}

/* ========================================
   SEÇÃO FORMULÁRIO
   ======================================== */

.form-section {
    padding: 80px 0;
    background: var(--white);
}

.form-wrapper {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    background: var(--bg-light);
    padding: 50px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border-top: 4px solid var(--primary-color);
}

.form-wrapper h2 {
    font-family: var(--font-heading);
    font-size: 36px;
    text-align: center;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.form-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 40px;
    font-size: 16px;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 16px;
    transition: var(--transition);
    background: var(--white);
    color: var(--text-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(45, 122, 74, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

.phone-input-group {
    display: flex;
    align-items: center;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: var(--white);
    overflow: hidden;
    transition: var(--transition);
}

.phone-input-group:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(45, 122, 74, 0.1);
}

.ddi-prefix {
    padding: 0 12px;
    background: #f5f5f5;
    border-right: 2px solid var(--border-color);
    font-weight: 600;
    color: var(--primary-color);
    white-space: nowrap;
    user-select: none;
}

.phone-input-group input {
    flex: 1;
    border: none !important;
    border-radius: 0 !important;
    padding: 14px 16px !important;
    box-shadow: none !important;
}

.phone-input-group input:focus {
    box-shadow: none !important;
}

.form-group.checkbox {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
}

.form-group.checkbox input {
    width: 20px;
    height: 20px;
    cursor: pointer;
    margin: 0;
}

.form-group.checkbox label {
    margin: 0;
    cursor: pointer;
    font-size: 14px;
    text-transform: none;
    letter-spacing: normal;
    font-weight: 500;
}

.form-group.form-radio {
    grid-column: 1 / -1;
}

.form-group.form-radio label:first-of-type {
    display: block;
    margin-bottom: 15px;
}

.radio-group {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-dark);
    text-transform: none;
    letter-spacing: normal;
}

.radio-label input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-color);
    margin: 0;
}

.form-notice {
    text-align: center;
    font-size: 13px;
    color: var(--text-light);
    margin-top: 15px;
}

.btn-submit-large {
    height: 56px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    margin-top: 20px !important;
}

.alert {
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
}

.alert-error {
    background: #fee;
    color: var(--danger-color);
    border: 1px solid var(--danger-color);
}

.alert-success {
    background: #efe;
    color: var(--success-color);
    border: 1px solid var(--success-color);
}

/* ========================================
   SEÇÃO CTA FINAL
   ======================================== */

.final-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: var(--white);
    text-align: center;
}

.final-cta h2 {
    font-family: var(--font-heading);
    font-size: 42px;
    margin-bottom: 20px;
}

.final-cta p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.95;
}

/* ========================================
   RODAPÉ
   ======================================== */

.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.footer-section p {
    color: #ccc;
    line-height: 1.8;
    font-size: 14px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section a {
    color: #ccc;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: #999;
    font-size: 14px;
}

/* ========================================
   RESPONSIVIDADE
   ======================================== */

@media (max-width: 768px) {
    .hero-title {
        font-size: 40px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .benefits h2,
    .urgency h2,
    .testimonials h2,
    .cta-section h2,
    .final-cta h2 {
        font-size: 32px;
    }

    .benefits-grid,
    .urgency-grid,
    .testimonials-grid {
        gap: 20px;
    }

    .countdown-timer {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-wrapper {
        padding: 30px 20px;
    }

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

    .btn-submit,
    .btn-cta {
        padding: 14px 30px;
        font-size: 15px;
    }

    .countdown-value {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .scarcity-badge {
        flex-direction: column;
        font-size: 14px;
    }

    .benefits h2,
    .urgency h2,
    .testimonials h2,
    .cta-section h2,
    .final-cta h2 {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .benefits-grid,
    .urgency-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .countdown-timer {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .form-wrapper {
        padding: 20px 15px;
    }

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

    .radio-group {
        flex-direction: column;
        gap: 12px;
    }

    .form-group label {
        font-size: 12px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 14px;
        font-size: 15px;
    }

    .countdown-value {
        font-size: 20px;
    }

    .urgency-item {
        padding: 25px 20px;
    }

    .benefit-card {
        padding: 25px 20px;
    }

    .testimonial-card {
        padding: 25px 20px;
    }
}
