@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

:root {
    --bg-black: #010101;
    --primary-green: #78DC77;
    --dark-green: #051107;
    --card-green: #152317;
    --text-white: #FFFFFF;
    --text-gray: #BECAAB;
    --light-green: #C9E8C9;
    --light-green-bg: #2A382B;
    --neon-green-bg: #78DC77;
}

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

body {
    background-color: var(--bg-black);
    color: var(--text-white);
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
    overflow-x: hidden;
}

/* Alert Bar */
.alert-bar {
    background-color: var(--neon-green-bg);
    color: #000000;
    text-align: center;
    padding: 10px 20px;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 0px 0px 40px 40px;
    border-bottom: 1px solid rgba(43,164,9,1);
}

/* Hero Section (Dobra 01) */
.hero {
    background-color: var(--dark-green);
    background-image: url("assets/DOBRA-01-DESKTOP.webp");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 80px 20px;
    min-height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-container {
    width: 100%;
    max-width: 1100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    color: #D7E7D4;
    margin-bottom: 25px;
    letter-spacing: -1.5px;
}

.hero-content h3 em {
    font-style: italic;
    font-weight: 700;
    color: var(--primary-green);
}

.hero-content p {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 30px;
}

.benefit-list {
    list-style: none;
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.benefit-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    color: #D7E7D4;
    background: rgba(17, 31, 19, 0.5);
    padding: 10px 20px;
    border-radius: 99px;
    border: 1px solid rgba(63, 74, 60, 0.3);
    backdrop-filter: blur(6px);
}

.benefit-list svg {
    flex-shrink: 0;
}

.hero-card {
    flex-shrink: 0;
    width: 100%;
    max-width: 440px;
    background-color: rgba(27, 36, 23, 0.4);
    border: 1px solid rgba(43, 164, 9, 1);
    border-radius: 32px;
    padding: 40px 30px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    text-align: center;
    align-self: flex-end;
    margin-bottom: 20px;
}

.price-old {
    font-size: 18px;
    text-decoration: line-through;
    color: var(--text-gray);
    margin-bottom: 5px;
}

.price-new {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 25px;
}

.btn-green {
    display: block;
    width: 100%;
    background-color: var(--primary-green);
    color: #000000;
    text-decoration: none;
    padding: 18px 30px;
    border-radius: 99px;
    font-weight: 700;
    font-size: 20px;
    text-align: center;
    transition: transform 0.2s ease, background-color 0.2s ease;
    box-shadow: 0px 5px 20px rgba(120, 220, 119, 0.2);
}

.btn-green:hover {
    background-color: #69c468;
    transform: translateY(-2px);
}

.card-note {
    font-size: 14px;
    color: var(--text-gray);
    margin-top: 15px;
}

/* Section: O Mercado Mudou (Dobra 02) */
.market {
    background-color: var(--dark-green);
    padding: 100px 20px;
}

.market-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}

.market-content {
    flex: 1;
    max-width: 500px;
}

.market-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 25px;
    line-height: 1.1;
}

.market-content p {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.6;
}

.market-cards {
    flex: 1;
    display: flex;
    gap: 20px;
    width: 100%;
}

.market-card {
    flex: 1;
    border-radius: 24px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 250px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-align: left;
}

.before-card {
    background-color: rgba(110, 73, 68, 0.45);
    border: 1px solid rgba(255, 137, 120, 0.25);
}

.after-card {
    background-color: rgba(21, 35, 23, 0.7);
    border: 1px solid rgba(120, 220, 119, 0.3);
}

.card-header {
    margin-bottom: 15px;
}

.card-status {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.05em;
    font-family: 'Inter', sans-serif;
}

.status-before {
    color: #FFA39E;
}

.status-after {
    color: #B7EB8F;
}

.card-quote {
    font-size: 16px;
    font-style: italic;
    line-height: 1.6;
    color: #F0F0F0;
    margin-bottom: 20px;
    flex-grow: 1;
    font-family: 'Inter', sans-serif;
}

.card-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
    margin-top: auto;
}

.card-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.before-card .card-avatar {
    border: 2px solid #FFA39E;
}

.after-card .card-avatar {
    border: 2px solid #78DC77;
}

.card-author-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.card-author-name {
    font-size: 14px;
    font-weight: 600;
    color: #FFFFFF;
}

.card-author-role {
    font-size: 11px;
    color: var(--text-gray);
}

/* Section: Com esses conteúdo você terá (Dobra 03) */
.features {
    background-color: #FCFCFC;
    color: #000000;
    padding: 100px 20px;
    text-align: center;
}

.features h2 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 60px;
}

.features-grid {
    max-width: 1100px;
    margin: 0 auto 50px auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background-color: var(--card-green);
    border: 1px solid rgba(63, 74, 60, 0.2);
    border-radius: 32px;
    padding: 40px 30px;
    text-align: left;
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-card svg {
    margin-bottom: 10px;
}

.feature-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: #D7E7D4;
}

.feature-card p {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.5;
}

.features .btn-green {
    max-width: 400px;
    margin: 0 auto;
    background-color: var(--primary-green);
    color: #202020;
}

/* Section: Bio / Kaká Gomes (Dobra 04) */
.bio {
    background-color: var(--light-green-bg);
    padding: 100px 20px;
}

.bio-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}

.bio-content {
    flex: 1.2;
    max-width: 600px;
}

.bio-icon {
    width: 80px;
    height: auto;
    margin-bottom: 25px;
}

.bio-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    font-style: italic;
    color: var(--text-gray);
    margin-bottom: 5px;
    line-height: 1.2;
}

.bio-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 30px;
    line-height: 1.1;
}

.bio-content p {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 20px;
}

.bio-media {
    flex: 0.8;
    text-align: center;
    max-width: 400px;
}

.bio-media h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: #FFFFFF;
    margin-bottom: 20px;
}

.bio-media img {
    width: 100%;
    height: auto;
    border-radius: 32px;
    border: 1px solid rgba(120, 220, 119, 0.3);
    background-color: rgba(17, 31, 19, 1);
}

/* Section: Final Offer & Warranty (Dobra 05) */
.offer-section {
    background-color: var(--neon-green-bg);
    padding: 100px 20px;
    color: #000000;
}

.offer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}

.offer-box {
    flex: 1.1;
    background-color: rgba(9, 22, 11, 0.95);
    border: 1px solid rgba(120, 220, 119, 0.2);
    border-radius: 48px;
    padding: 50px 40px;
    color: #FFFFFF;
    box-shadow: 0px 10px 50px rgba(0, 0, 0, 0.3);
}

.offer-box h3 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 10px;
    line-height: 1.2;
}

.offer-box .subtitle {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.offer-box p {
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 30px;
}

.offer-box .price-old {
    font-size: 20px;
}

.offer-box .price-new {
    font-size: 48px;
}

.offer-box .btn-green {
    background-color: var(--primary-green);
    color: #0C0C0C;
    margin-bottom: 25px;
}

.offer-features {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    border: 1px solid rgba(63, 74, 60, 0.3);
    background-color: rgba(17, 31, 19, 0.5);
    padding: 12px 24px;
    border-radius: 99px;
}

.offer-features li {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #D7E7D4;
}

.warranty-box {
    flex: 0.9;
    max-width: 440px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.warranty-box img {
    width: 160px;
    height: auto;
    margin-bottom: 25px;
}

.warranty-box h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 700;
    color: #003910;
    line-height: 1.1;
    margin-bottom: 15px;
}

.warranty-box p {
    font-size: 16px;
    color: #003910;
    line-height: 1.5;
}

/* Section: FAQ (Dobra 06) */
.faq {
    background-color: rgba(17, 31, 19, 1);
    padding: 100px 20px;
}

.faq-container {
    max-width: 700px;
    margin: 0 auto;
}

.faq h2 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 700;
    color: #FFFFFF;
    text-align: center;
    margin-bottom: 40px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

details {
    background-color: #C9E8C9;
    color: #1B2417;
    border-radius: 10px;
    overflow: hidden;
    transition: background-color 0.2s ease;
}

details[open] {
    background-color: #B5E2B5;
}

summary {
    padding: 22px 25px;
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: '';
    display: inline-block;
    width: 10px;
    height: 6px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M0.84375 0H8.875%25C9.4375 0 9.71875 0.6875 9.3125 1.09375L5.3125 5.09375C5.0625 5.34375 4.65625 5.34375 4.40625 5.09375L0.40625 1.09375C0 0.6875 0.28125 0 0.84375 0Z' fill='%231B2417'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.2s ease;
}

details[open] summary::after {
    transform: rotate(180deg);
}

details p {
    padding: 0 25px 22px 25px;
    font-size: 16px;
    line-height: 1.6;
    color: #1B2417;
}

/* Footer */
.footer {
    background-color: var(--neon-green-bg);
    color: #000000;
    text-align: center;
    padding: 40px 20px;
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    border-top: 1px solid rgba(43,164,9,1);
}

.footer p {
    margin-top: 10px;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-container, .market-container, .bio-container, .offer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 50px;
    }

    .hero-card {
        align-self: center !important;
    }

    .hero-content, .market-content, .bio-content {
        max-width: 100%;
    }

    .hero-content h3, .market-content h3, .bio-content h2, .features h2, .faq h2 {
        font-size: 38px;
    }

    .benefit-list {
        justify-content: center;
        flex-wrap: wrap;
    }

    .market-cards {
        width: 100%;
        max-width: 600px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .bio-content h3 {
        font-size: 24px;
    }

    .bio-content h2 {
        font-size: 44px;
    }

    .bio-media {
        max-width: 100%;
        width: 100%;
    }

    .offer-box {
        width: 100%;
        max-width: 500px;
        padding: 30px 20px;
        border-radius: 0 0 32px 32px;
    }

    .offer-features {
        flex-wrap: wrap;
        padding: 10px;
    }
}

@media (max-width: 768px) {
    .hero {
        background-image: url("assets/dobra-01-mobile.webp");
        background-position: center top;
        padding: 250px 15px 60px 15px;
    }

    .hero-content h3 {
        font-size: 32px;
    }

    .benefit-list li {
        font-size: 14px;
        padding: 8px 16px;
    }

    .hero-card {
        padding: 30px 20px;
    }

    .price-new {
        font-size: 34px;
    }

    .btn-green {
        font-size: 17px;
        padding: 16px 20px;
    }

    .market {
        padding: 60px 15px;
    }

    .market-content h3 {
        font-size: 32px;
    }

    .market-cards {
        flex-direction: column;
    }

    .features {
        padding: 60px 15px;
    }

    .features h2 {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .bio {
        padding: 60px 15px;
    }

    .bio-content h2 {
        font-size: 32px;
    }

    .offer-section {
        padding: 60px 15px;
    }

    .warranty-box h2 {
        font-size: 28px;
    }

    .faq {
        padding: 60px 15px;
    }

    .faq h2 {
        font-size: 32px;
    }

    summary {
        font-size: 16px;
        padding: 16px 20px;
    }

    details p {
        font-size: 14px;
        padding: 0 20px 16px 20px;
    }
}

/* Custom styling for shifted hero-card */
.hero-content .hero-card {
    margin-top: 25px;
    margin-bottom: 25px;
}

@media (max-width: 1024px) {
    .hero-content .hero-card {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Modal de Checkout (Lead Capture) */
.checkout-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.checkout-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.checkout-modal-card {
    background-color: #0f1510;
    border: 1px solid rgba(43, 164, 9, 0.4);
    box-shadow: 0 0 30px rgba(43, 164, 9, 0.25);
    border-radius: 24px;
    width: 90%;
    max-width: 500px;
    padding: 25px;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    max-height: 95vh;
    overflow-y: auto;
}

.checkout-modal-overlay.active .checkout-modal-card {
    transform: scale(1);
}

.checkout-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--text-gray);
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease;
}

.checkout-modal-close:hover {
    color: #ffffff;
}

.checkout-modal-header {
    text-align: center;
    margin-bottom: 15px;
}

.checkout-modal-header h3 {
    font-family: var(--font-title);
    font-size: 24px;
    color: #ffffff;
    margin-bottom: 8px;
}

.checkout-modal-header p {
    font-size: 14px;
    color: var(--text-gray);
    margin: 0;
}

.checkout-form-group {
    margin-bottom: 12px;
}

.checkout-form-group label {
    display: block;
    font-family: var(--font-title);
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 8px;
}

.checkout-input {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px 14px;
    color: #ffffff;
    font-size: 15px;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.checkout-input:focus {
    outline: none;
    border-color: var(--primary-green);
    background-color: rgba(255, 255, 255, 0.08);
}

/* Option grid (pills) for radio inputs */
.checkout-options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.checkout-options-grid.three-cols {
    grid-template-columns: repeat(3, 1fr);
}

.checkout-option-pill {
    position: relative;
}

.checkout-option-pill input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkout-option-label {
    display: block;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 10px;
    color: var(--text-gray);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.checkout-option-pill input[type="radio"]:checked + .checkout-option-label {
    background-color: rgba(43, 164, 9, 0.15);
    border-color: var(--primary-green);
    color: #ffffff;
    font-weight: 500;
}

.checkout-option-label:hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.checkout-submit-btn {
    width: 100%;
    background-color: var(--primary-green);
    color: #000000;
    border: none;
    border-radius: 8px;
    padding: 14px;
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 10px;
}

.checkout-submit-btn:hover {
    background-color: #3fa409;
    box-shadow: 0 0 15px rgba(43, 164, 9, 0.4);
    transform: translateY(-1px);
}

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

.checkout-submit-btn:disabled {
    background-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.3);
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

/* Spinner inside button */
.btn-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-top-color: #000;
    border-radius: 50%;
    animation: btnSpin 0.8s linear infinite;
    vertical-align: middle;
    margin-left: 8px;
}

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