/* ==========================================================================
   MILAGRE EUCARÍSTICO - LANDING PAGE
   Paleta Azul Marial celeste (azul profundo, marfim, dourado sutil)
   ========================================================================== */

/* ==========================================================================
   CSS RESET & BASE
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Open Sans', 'Roboto', sans-serif;
    font-size: 1.125rem;
    line-height: 1.7;
    color: #333;
    background-color: #fdfbf7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ==========================================================================
   CSS VARIABLES
   ========================================================================== */

:root {
    /* Paleta Milagre Eucarístico — Azul Marial + Marfim + Dourado sutil */
    --blue: #1e3a6b;
    --blue-light: #2c528f;
    --blue-dark: #102244;
    --blue-deep: #0a162e;
    --gold: #c9a961;
    --gold-light: #c9a961;
    --gold-dark: #8f7838;
    --cream: #f7f4eb;
    --cream-dark: #ebe5d6;
    --ivory: #fbf9f2;

    /* CTA — dourado mostarda sólido (referência: estilo Missa Explicada) */
    --cta: #c9a227;
    --cta-dark: #a68521;
    --cta-deep: #8a6d1a;

    /* Aliases de compatibilidade — evita quebrar estilos internos */
    --wine: var(--blue);
    --wine-dark: var(--blue-dark);

    /* Cores de Texto */
    --text-dark: #2c2c2c;
    --text-medium: #4a4a4a;
    --text-light: #6b6b6b;
    --text-white: #ffffff;

    /* Tipografia */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Open Sans', 'Roboto', sans-serif;

    /* Tamanhos */
    --h1-size: 2.75rem;
    --h2-size: 2rem;
    --h3-size: 1.5rem;

    /* Espaçamentos */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 48px;
    --space-xl: 80px;

    /* Container */
    --container-width: 1100px;
}

/* ==========================================================================
   CONTAINER & LAYOUT
   ========================================================================== */

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.section-title {
    font-family: var(--font-heading);
    font-size: var(--h2-size);
    font-weight: 700;
    color: var(--wine);
    text-align: center;
    margin-bottom: var(--space-lg);
}

/* ==========================================================================
   BARRA DE URGÊNCIA
   ========================================================================== */

.urgency-bar {
    background: linear-gradient(90deg, var(--wine) 0%, var(--wine-dark) 100%);
    color: var(--text-white);
    text-align: center;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: 600;
    white-space: normal;
    word-wrap: break-word;
}

.urgency-icon {
    margin-right: 8px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
    background: linear-gradient(135deg, var(--cream) 0%, var(--cream-dark) 100%);
    padding: var(--space-xl) 0;
    text-align: center;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 1.1rem + 3.8vw, 3.625rem);
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: var(--space-md);
    padding: 0 var(--space-sm);
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
}

.hero-title .highlight {
    color: var(--wine);
    display: block;
    font-size: clamp(1.1rem, 0.7rem + 2.9vw, 2.85rem);
    font-weight: 600;
    margin-top: 12px;
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-medium);
    max-width: 700px;
    margin: -16px auto var(--space-lg);
    padding: 0 var(--space-sm);
    line-height: 1.7;
}

.hero-image {
    max-width: 700px;
    margin: 0 auto 0;
}

.mockup-img {
    width: 100%;
}

/* ==========================================================================
   BOTÃO CTA
   ========================================================================== */

.btn {
    display: inline-block;
    padding: 18px 40px;
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: var(--cta);
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(201, 162, 39, 0.4);
    border: 2px solid var(--cta-deep);
}

.btn-cta, .btn-cta-main, .btn-cta-final {
    width: 100%;
    max-width: 450px;
}

@media (hover: hover) and (pointer: fine) {
    .btn-primary:hover {
        background: var(--cta-dark);
        color: var(--text-white);
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(201, 162, 39, 0.5);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

/* ==========================================================================
   PROBLEM SECTION
   ========================================================================== */

.problem-section {
    padding: var(--space-xl) 0;
    background: var(--text-white);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    max-width: 800px;
    margin: 0 auto;
}

.problem-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: var(--cream);
    border-radius: 12px;
    border-left: 4px solid var(--wine);
}

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

.problem-item p {
    color: var(--text-medium);
    font-size: 1rem;
    margin: 0;
}

/* ==========================================================================
   PREVIEW SECTION (Carrossel de Mockup Interno)
   ========================================================================== */

.preview-section {
    padding: var(--space-xl) 0;
    background: var(--cream-dark);
}

.preview-section .container {
    max-width: 100%;
    padding: 0;
}

.carousel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    max-width: 100%;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.carousel-wrapper {
    flex: 1;
    max-width: 1800px;
    overflow: hidden;
    border-radius: 12px;
    cursor: grab;
}

.carousel-wrapper:active {
    cursor: grabbing;
}

.carousel-track {
    display: flex;
    transition: transform 0.4s ease;
    will-change: transform;
}

.carousel-slide {
    min-width: 100%;
    padding: 0 var(--space-sm);
    box-sizing: border-box;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    pointer-events: none;
    user-select: none;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: var(--space-md);
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--wine);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-dot:hover {
    background: var(--gold-light);
    border-color: var(--gold);
}

.carousel-dot.active {
    background: var(--wine);
    transform: scale(1.2);
}

.preview-cta {
    text-align: center;
    margin-top: var(--space-lg);
    padding: 0 var(--space-md);
}

.preview-cta .btn {
    display: inline-block;
    max-width: 400px;
    width: 100%;
}

.bonus-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: var(--space-lg);
    animation: bounce 2s infinite;
}

.bonus-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--wine);
    letter-spacing: 1px;
}

.bonus-arrow {
    font-size: 1.5rem;
    color: var(--gold);
    margin-top: 8px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* ==========================================================================
   SOLUTION SECTION
   ========================================================================== */

.solution-section {
    padding: var(--space-xl) 0;
    background: var(--cream);
    text-align: center;
}

.product-name {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--wine);
    margin-bottom: var(--space-sm);
    letter-spacing: 2px;
}

.solution-text {
    font-size: 1.15rem;
    color: var(--text-medium);
    max-width: 600px;
    margin: 0 auto var(--space-lg);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    max-width: 1100px;
    margin: 0 auto;
}

.benefit-item {
    background: var(--text-white);
    padding: var(--space-lg) var(--space-md);
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
    font-size: 1.75rem;
    color: var(--text-white);
}

.benefit-item h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--wine);
    margin-bottom: var(--space-xs);
}

.benefit-item p {
    font-size: 0.95rem;
    color: var(--text-medium);
    margin: 0;
    line-height: 1.5;
}

/* ==========================================================================
   LEARN SECTION
   ========================================================================== */

.learn-section {
    padding: 0 0 var(--space-xl);
    background: var(--cream);
}

.learn-section .section-title {
    font-size: 2rem;
    white-space: nowrap;
}

@media (max-width: 500px) {
    .learn-section .section-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 380px) {
    .learn-section .section-title {
        font-size: 1.3rem;
    }
}

.learn-list {
    max-width: 600px;
    margin: 0 auto;
    list-style: none;
    padding: 0;
}

.learn-list li {
    position: relative;
    padding: 10px 0 10px 28px;
    color: var(--text-medium);
    font-size: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.learn-list li:last-child {
    border-bottom: none;
}

.learn-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
}

.learn-list li strong {
    color: var(--wine);
}

/* ==========================================================================
   BONUS SECTION
   ========================================================================== */

.bonus-section {
    padding: var(--space-xl) 0;
    background: linear-gradient(135deg, var(--wine) 0%, var(--wine-dark) 100%);
    text-align: center;
}

.bonus-section .section-title {
    color: var(--text-white);
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
}

.bonus-section .section-title .highlight-gold {
    color: var(--gold-light);
    display: block;
    font-size: 4.5rem;
    font-weight: 800;
    margin-top: 8px;
    white-space: nowrap;
}

@media (max-width: 992px) {
    .bonus-section .section-title {
        font-size: 2.5rem;
    }

    .bonus-section .section-title .highlight-gold {
        font-size: 3.2rem;
    }
}

@media (max-width: 600px) {
    .bonus-section .section-title {
        font-size: 1.75rem;
    }

    .bonus-section .section-title .highlight-gold {
        font-size: 2.1rem;
    }
}

@media (max-width: 400px) {
    .bonus-section .section-title {
        font-size: 1.4rem;
    }

    .bonus-section .section-title .highlight-gold {
        font-size: 1.7rem;
    }
}

.bonus-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    max-width: 700px;
    margin: 0 auto;
}

.bonus-card-last {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: calc((100% - var(--space-md)) / 2);
    width: 100%;
    box-sizing: border-box;
}

.bonus-card {
    background: var(--text-white);
    border-radius: 12px;
    padding: var(--space-md);
    text-align: center;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.bonus-card:hover {
    transform: translateY(-5px);
}

.bonus-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #4CAF50 0%, #8BC34A 100%);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.bonus-image {
    width: 100%;
    max-width: 150px;
    height: auto;
    margin: var(--space-md) auto var(--space-sm);
    border-radius: 8px;
}

.bonus-card h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--wine);
    margin: 0 0 var(--space-xs);
    line-height: 1.3;
}

.bonus-desc {
    font-size: 0.8rem;
    color: var(--text-medium);
    margin: 0 0 var(--space-sm);
    line-height: 1.4;
}

.bonus-price {
    margin: 0;
    font-size: 0.85rem;
}

.bonus-price .strikethrough {
    color: var(--text-light);
    text-decoration: line-through;
    margin-right: 5px;
}

.bonus-free {
    background: linear-gradient(135deg, #4CAF50 0%, #8BC34A 100%);
    color: white;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
}

@media (max-width: 700px) {
    .bonus-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm);
    }

    .bonus-card {
        padding: var(--space-sm);
    }

    .bonus-card-last {
        max-width: calc((100% - var(--space-sm)) / 2);
    }
}

@media (max-width: 450px) {
    .bonus-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 100%;
        gap: 8px;
    }

    .bonus-card {
        padding: 8px;
    }

    .bonus-card-last {
        max-width: calc((100% - 8px) / 2);
    }

    .bonus-image {
        max-width: 80px;
    }

    .bonus-card h4 {
        font-size: 0.8rem;
    }

    .bonus-desc {
        font-size: 0.65rem;
    }

    .bonus-price {
        font-size: 0.7rem;
    }
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */

.testimonials-section {
    padding: var(--space-xl) 0;
    background: var(--cream-dark);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--text-white);
    padding: var(--space-md);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.testimonial-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto var(--space-sm);
}

.testimonial-stars {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

.testimonial-text {
    font-size: 1rem;
    color: var(--text-medium);
    font-style: italic;
    margin-bottom: var(--space-sm);
    line-height: 1.6;
}

.testimonial-author {
    font-size: 0.9rem;
    color: var(--wine);
    font-weight: 600;
}

/* ==========================================================================
   GUARANTEE SECTION
   ========================================================================== */

.guarantee-section {
    padding: var(--space-xl) 0;
    background: var(--cream);
}

.guarantee-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    background: var(--text-white);
    padding: var(--space-lg);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid var(--gold);
}

.guarantee-badge {
    display: block;
    width: 100%;
    max-width: 150px;
    height: auto;
    margin: 0 auto var(--space-md) auto;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

@media (max-width: 768px) {
    .guarantee-badge {
        max-width: 130px;
    }
}

@media (max-width: 480px) {
    .guarantee-badge {
        max-width: 110px;
    }
}

.guarantee-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--wine);
    margin-bottom: var(--space-sm);
}

.guarantee-description {
    font-size: 1rem;
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.guarantee-highlight {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gold-dark);
    margin: 0;
}

/* ==========================================================================
   OFFER SECTION
   ========================================================================== */

.offer-section {
    padding: var(--space-xl) 0;
    background: linear-gradient(135deg, var(--cream) 0%, var(--cream-dark) 100%);
}

.offer-section .section-title {
    margin-bottom: 8px;
}

.offer-timer {
    text-align: center;
    margin-bottom: var(--space-md);
}

.offer-timer .timer-display {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--wine);
    letter-spacing: 3px;
}

.offer-card {
    max-width: 500px;
    margin: 0 auto;
    background: var(--text-white);
    border-radius: 20px;
    padding: var(--space-lg);
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.15);
    text-align: center;
    position: relative;
    border: 3px solid var(--gold);
}

.offer-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--wine);
    color: var(--text-white);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.offer-mockup {
    max-width: 350px;
    margin: 0 auto 0;
}

.offer-mockup img {
    width: 100%;
    height: auto;
}

.offer-name {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--wine);
    /* era -10px: compensava a moldura transparente do mockup antigo. A imagem
       foi cortada no bounding box, entao a margem negativa virou cola. */
    margin-top: var(--space-sm);
    margin-bottom: var(--space-xs);
}

.offer-subtitle {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: var(--space-md);
}

.offer-includes {
    text-align: left;
    max-width: 320px;
    margin: 0 auto var(--space-md);
}

.offer-includes p {
    padding: 8px 0;
    color: var(--text-medium);
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.offer-includes p:last-child {
    border-bottom: none;
}

.price-box {
    margin: var(--space-md) 0;
}

.price-original {
    font-size: 1rem;
    color: var(--text-light);
}

.strikethrough {
    text-decoration: line-through;
}

.price-current {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: #2e7d32;
    line-height: 1;
    margin: var(--space-xs) 0;
}

.price-installments {
    font-size: 0.9rem;
    color: var(--text-light);
}

.guarantee-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    margin: var(--space-md) 0;
    padding: var(--space-sm);
    background: rgba(30, 58, 107, 0.05);
    border-radius: 10px;
}

.guarantee-icon {
    font-size: 2rem;
}

.guarantee-text {
    text-align: left;
}

.guarantee-text strong {
    font-size: 0.95rem;
    color: var(--wine);
    display: block;
}

.guarantee-text p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
}

.security-text {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: var(--space-md);
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */

.faq-section {
    padding: var(--space-xl) 0;
    background: var(--text-white);
}

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

.faq-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: left;
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--gold);
    transition: transform 0.3s ease;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding-bottom: var(--space-md);
}

.faq-answer p {
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ==========================================================================
   FINAL CTA SECTION
   ========================================================================== */

.final-cta-section {
    padding: var(--space-xl) 0;
    background: linear-gradient(135deg, var(--wine) 0%, var(--wine-dark) 100%);
    text-align: center;
}

.final-title {
    font-family: var(--font-heading);
    font-size: var(--h2-size);
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: var(--space-sm);
}

.final-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-lg);
}

.timer-box {
    margin-bottom: var(--space-lg);
}

.timer-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-sm);
}

.timer-display {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--gold-light);
    letter-spacing: 3px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    animation: timer-pulse 1s infinite;
}

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

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
    background: #2d1518;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    padding: 2.5rem 1rem;
}

.footer-container {
    max-width: 672px;
    margin: 0 auto;
}

.footer-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.footer-icon {
    font-size: 1.5rem;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
    margin: 0;
}

.footer-subtitle {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding-top: 1.5rem;
    margin-top: 2rem;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.footer-disclaimer {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    max-width: 448px;
    margin: 0 auto;
    line-height: 1.5;
}

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

@media (max-width: 992px) {
    .carousel-wrapper {
        max-width: 90%;
    }

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

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

@media (max-width: 768px) {
    :root {
        --h1-size: 2rem;
        --h2-size: 1.65rem;
    }

    .hero {
        padding: var(--space-lg) 0;
    }

    .hero-title {
        line-height: 1.25;
        padding: 0 var(--space-xs);
    }

    .hero-title .highlight {
        margin-top: 8px;
    }

    .hero-subtitle {
        font-size: 1.15rem;
        margin: -12px auto var(--space-md);
        padding: 0 var(--space-xs);
    }

    .hero-image {
        max-width: 500px;
        padding: 0 var(--space-sm);
    }

    .carousel-wrapper {
        max-width: 95%;
    }

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

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

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

    .product-name {
        font-size: 2.25rem;
    }

    .price-current {
        font-size: 3.5rem;
    }

    .timer-display {
        font-size: 2.5rem;
    }

    .offer-card {
        padding: var(--space-md);
    }
}

@media (max-width: 600px) {
    .hero-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    :root {
        --h1-size: 1.65rem;
        --h2-size: 1.5rem;
    }

    .hero {
        padding: var(--space-md) 0 var(--space-lg);
    }

    .hero-title {
        line-height: 1.3;
        padding: 0 var(--space-xs);
        margin-bottom: var(--space-sm);
    }

    .hero-title .highlight {
        margin-top: 6px;
    }

    .urgency-bar {
        font-size: 0.85rem;
        padding: 10px 15px;
        line-height: 1.4;
    }

    .hero-image {
        max-width: 100%;
        margin: 0 auto;
        padding: 0;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin: -8px auto var(--space-md);
        padding: 0;
        line-height: 1.6;
    }

    .btn-cta, .btn-cta-main, .btn-cta-final {
        max-width: 100%;
        padding: 16px 24px;
        font-size: 0.95rem;
    }

    .carousel-wrapper {
        max-width: 100%;
    }

    .carousel-slide {
        padding: 0 4px;
    }

    .btn {
        padding: 16px 30px;
        font-size: 1rem;
    }

    .guarantee-box {
        flex-direction: column;
        text-align: center;
    }

    .guarantee-text {
        text-align: center;
    }

    .security-badges {
        flex-direction: column;
    }

    .security-badges span {
        width: 100%;
        max-width: 200px;
    }
}

/* ==========================================================================
   PRIMEIRA TELA — a imagem ABSORVE o espaco livre em vez de ter altura fixa.
   Assim ela fica o maior possivel, nao sobra vazio e tudo cabe em 1 tela.
   ========================================================================== */
.hero {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 52px);
    min-height: calc(100svh - 52px);
    padding: var(--space-xs) 0 var(--space-sm);
}

.hero > .container {
    flex: 1;
    display: flex;
    flex-direction: column;
    /* conteudo encostado no topo: o que sobrar de altura fica embaixo, como
       respiro antes da proxima secao, em vez de virar buraco no meio. */
    justify-content: flex-start;
    gap: var(--space-xs);
}


/* o gap cuida do espacamento: zera as margens que criavam os vazios */
.hero-title,
.hero-subtitle {
    margin: 0 auto;
}

/* subtitulo: tamanho FLUIDO (escala junto com a tela, sem breakpoint) e
   mais presenca, para nao se perder entre o titulo e a imagem. */
.hero-subtitle {
    font-size: clamp(1.02rem, 0.95rem + 0.85vw, 1.2rem);
    line-height: 1.45;
    color: var(--text-dark);
    font-weight: 500;
    /* 48ch: a faixa que fecha em 3 linhas vai de 42 a 56 chars; 48 fica no meio,
       entao variacao de renderizacao nao vira 2 nem 4 linhas.
       Sem padding proprio: aproveita toda a largura do container, que ja
       tem 20px de margem lateral. */
    max-width: 48ch;
    padding-left: 0;
    padding-right: 0;
    /* fica colado na imagem acima e afastado do botao abaixo:
       o gap do container da o espaco de cima; o respiro de baixo agora e o
       margin-top fixo do proprio botao */
    margin-top: 0;
    margin-bottom: 0;
}

.hero-image {
    /* NAO cresce: a imagem e limitada pela LARGURA, entao crescer a caixa so
       criava um vazio dentro dela. flex-shrink continua ligado para que em
       telas baixas (celular deitado) a imagem diminua em vez de estourar. */
    flex: 0 1 auto;
    min-height: 0;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mockup-img {
    display: block;
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
}

.hero .btn-cta {
    margin: 0 auto;
    flex: 0 0 auto;
}

@media (max-width: 768px) {
    .hero { min-height: calc(100vh - 56px); min-height: calc(100svh - 56px); }
    .hero-image { max-width: 100%; }
}

@media (max-width: 480px) {
    .hero { min-height: calc(100vh - 60px); min-height: calc(100svh - 60px); }
    .hero > .container { gap: 6px; }
}

/* telas baixas: celular deitado / notebook curto */
@media (max-height: 700px) {
    .hero-title { font-size: clamp(1.15rem, 1rem + 2.6vw, 2.1rem); }
    .hero > .container { gap: 4px; }
}

/* ==========================================================================
   BOTOES CTA — cabem em 1 linha: menos padding lateral, mais largura util,
   sem letter-spacing e fonte fluida.
   ========================================================================== */
.btn-cta,
.btn-cta-main,
.btn-cta-final {
    max-width: 500px;
    padding-top: 24px;
    padding-bottom: 24px;
    padding-left: 28px;
    padding-right: 28px;
    letter-spacing: 0;
    font-size: clamp(0.82rem, 0.75rem + 0.7vw, 1.25rem);
    line-height: 1.25;
}

@media (max-width: 400px) {
    .btn-cta,
    .btn-cta-main,
    .btn-cta-final {
        padding-left: 18px;
        padding-right: 18px;
    }
}

/* Botao acompanha a largura do TEXTO em vez de esticar ate 500px.
   min-width garante area de toque confortavel quando o texto e curto. */
.btn-cta,
.btn-cta-main,
.btn-cta-final {
    width: fit-content;
    min-width: min(300px, 100%);
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   DISTRIBUICAO DA FOLGA DA PRIMEIRA TELA
   Em flexbox, margin auto absorve o espaco livre no ponto onde e aplicada.
   Usando dois pontos, a folga e repartida em duas metades iguais:

       titulo            <- encostado no topo
         [ folga / 2 ]
       imagem
       subtitulo         <- continua colado na imagem (sem folga entre eles)
         [ folga / 2 ]
       botao             <- encostado na base

   Assim nao sobra buraco nem no meio nem so no rodape, e a hierarquia que
   voce pediu (texto junto da imagem, longe do botao) e preservada.
   ========================================================================== */
.hero-image {
    /* volta a crescer, mas agora DIVIDINDO a folga com o espaco abaixo do
       botao (peso 1 para cada). align-items: flex-end mantem a imagem
       encostada no subtitulo. */
    flex: 1 1 auto;
    margin-top: 0;
    margin-bottom: 0;
    align-items: flex-end;
}

/* espaco flexivel DEPOIS do botao: e para ca que vai a metade da folga que
   antes ficava acima dele. E o que faz o botao subir. */
.hero > .container::after {
    content: '';
    flex: 1 1 auto;
    min-height: 0;
}

/* margin-bottom: auto entra como um TERCEIRO ponto de absorcao. A folga passa
   a se dividir em tres em vez de duas, entao a parte que ficava acima do botao
   encolhe e ele sobe, sem mexer no resto do bloco. O respiro acima dele continua
   sendo o maior dos tres (soma o margin-bottom do subtitulo), entao nao cola. */
.hero .btn-cta {
    /* respiro FIXO acima do botao: nao cresce junto com a tela, entao o botao
       fica sempre logo abaixo do texto em vez de flutuar. */
    margin-top: 12px;
    margin-bottom: 0;
}

/* ==========================================================================
   BOTAO DE COMPRA DO CARD DE OFERTA — maior e verde

   Verde #2e7d32: exatamente o mesmo do preco logo acima, para o card fechar
   numa cor so em vez de misturar dourado com verde.

   Ele vive DENTRO do .offer-card, que tem 24px (mobile) / 48px (desktop) de
   padding proprio. Por isso o padding lateral do botao cai para 16px: com
   width 100% o texto ja fica centralizado, e os 24px economizados de cada
   lado sao o que permite a fonte crescer sem quebrar linha.
   ========================================================================== */
.btn-cta-main {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding-top: 32px;
    padding-bottom: 32px;
    padding-left: 16px;
    padding-right: 16px;
    font-size: clamp(0.85rem, 0.75rem + 0.72vw, 1.35rem);
}

.btn-primary.btn-cta-main {
    background: #2e7d32;
    border-color: #1b5e20;
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.45);
}

@media (hover: hover) and (pointer: fine) {
    .btn-primary.btn-cta-main:hover {
        background: #256428;
        box-shadow: 0 8px 26px rgba(46, 125, 50, 0.55);
    }
}
