@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;600;700;800&display=swap');

/* ============================================================
   SEO-FRIENDLY LANDING PAGE — MCMV SP
   ============================================================ */

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f8fafc;
    color: #0f172a;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

video {
    display: block;
    max-width: 100%;
}

h1, h2, h3, h4 {
    font-family: 'Outfit', -apple-system, sans-serif;
    font-weight: 700;
    line-height: 1.25;
    color: #0f172a;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

ul, ol {
    list-style: none;
}

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

/* ===== ACCESSIBILITY ===== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    border-radius: 60px;
    font-weight: 600;
    font-size: 1rem;
    font-family: 'Outfit', sans-serif;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: #2563eb;
    color: #fff;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    background: #1d4ed8;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn-whatsapp {
    background: #25D366;
    color: #fff;
    border-color: #25D366;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: #1ebe57;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-lg {
    padding: 1.1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-outline {
    background: transparent;
    border: 2px solid #2563eb;
    color: #2563eb;
}

.btn-outline:hover {
    background: #2563eb;
    color: #fff;
}

/* ===== ACCENT COLOR ===== */
.accent {
    color: #2563eb;
}

/* ===== HEADER / NAVIGATION ===== */
header {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    max-width: 1140px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-img {
    height: 38px;
    width: auto;
}

/* ===== HERO ===== */
.hero {
    padding: 135px 0 80px;
    background: radial-gradient(ellipse at 80% 20%, rgba(37, 99, 235, 0.055) 0%, transparent 60%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
    align-items: center;
}

.hero-tag {
    display: inline-block;
    background: rgba(37, 99, 235, 0.08);
    color: #2563eb;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    padding: 0.4rem 1.1rem;
    border-radius: 50px;
    margin-bottom: 1.25rem;
}

.hero-text h1 {
    font-size: 3.1rem;
    margin-bottom: 1.25rem;
    color: #0f172a;
}

.hero-text p {
    font-size: 1.15rem;
    color: #475569;
    margin-bottom: 2rem;
    max-width: 530px;
    line-height: 1.75;
}

.hero-badges {
    display: flex;
    gap: 0.85rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: #166534;
    background: #dcfce7;
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
    white-space: nowrap;
}

/* vídeo hero */
.hero-video-wrap {
    position: relative;
    display: inline-block;
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.13);
    border: 1px solid rgba(0, 0, 0, 0.06);
    cursor: pointer;
}

.hero-media video {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    border-radius: 0;
    box-shadow: none;
    border: none;
}

/* Botão play */
.video-play-btn {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.video-play-btn::before {
    /* backdrop escuro sutil quando pausado */
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.18);
    transition: background 0.3s ease;
    border-radius: 0;
}

.hero-video-wrap.playing .video-play-btn::before {
    background: transparent;
}

.play-icon {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    font-size: 1.8rem;
    color: #2563eb;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    animation: playPulse 2.2s ease-in-out infinite;
    /* deslocamento visual do triângulo */
    padding-left: 5px;
}

.video-play-btn:hover .play-icon {
    transform: scale(1.12);
    background: #fff;
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.35);
    animation: none;
}

/* Quando tocando: esconde o ícone mas mantém hitarea para pausar */
.hero-video-wrap.playing .play-icon {
    opacity: 0;
    transform: scale(0.8);
    animation: none;
}

/* Quando hover sobre vídeo em play: mostra ícone de pause */
.hero-video-wrap.playing:hover .video-play-btn::before {
    background: rgba(0, 0, 0, 0.15);
}

.hero-video-wrap.playing:hover .play-icon {
    opacity: 1;
    transform: scale(1);
    padding-left: 0;
    font-size: 0;  /* Esconde o triângulo */
}

.hero-video-wrap.playing:hover .play-icon::after {
    content: '⏸';
    font-size: 1.8rem;
    line-height: 1;
}

@keyframes playPulse {
    0%   { box-shadow: 0 8px 32px rgba(0,0,0,0.25), 0 0 0 0 rgba(255,255,255,0.6); }
    60%  { box-shadow: 0 8px 32px rgba(0,0,0,0.25), 0 0 0 18px rgba(255,255,255,0); }
    100% { box-shadow: 0 8px 32px rgba(0,0,0,0.25), 0 0 0 0 rgba(255,255,255,0); }
}

/* ===== SECTION TITLES ===== */
.section-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 0.5rem;
}

.section-sub {
    text-align: center;
    color: #64748b;
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* ===== MCMV INTRO ===== */
.mcmv-intro {
    padding: 5rem 0;
    background: #fff;
}

.mcmv-intro h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.mcmv-intro p {
    max-width: 760px;
    margin: 0 auto 1rem;
    color: #475569;
    font-size: 1.05rem;
    text-align: center;
}

.mcmv-badges {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.mcmv-badge {
    background: #eff6ff;
    color: #1e40af;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    border: 1px solid rgba(37, 99, 235, 0.15);
}

/* ===== COMO FUNCIONA ===== */
.steps {
    padding: 5rem 0;
    background: #f8fafc;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.step-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 2rem 1.25rem;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.12);
}

.step-num {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    background: #2563eb;
    color: #fff;
    font-weight: 800;
    font-size: 1.15rem;
    border-radius: 50%;
    margin-bottom: 1rem;
    font-family: 'Outfit', sans-serif;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.step-card h3 {
    font-size: 1.02rem;
    margin-bottom: 0.5rem;
}

.step-card p {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.55;
}

/* ===== EMPREENDIMENTOS — CARDS ===== */
.products {
    padding: 5rem 0;
}

.products .container {
    max-width: 1140px;
}

.products .section-title {
    margin-bottom: 0.4rem;
}

/* Breadcrumb inline */
.crumb-list {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    color: #94a3b8;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.crumb-list a {
    color: #64748b;
}

.crumb-list a:hover {
    color: #2563eb;
}

.crumb-sep {
    color: #cbd5e1;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.75rem;
}

.product-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 22px rgba(0, 0, 0, 0.055);
    border: 1px solid #e2e8f0;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 44px rgba(37, 99, 235, 0.14);
}

.product-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-img img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #f59e0b;
    color: #fff;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 0.3rem 0.85rem;
    border-radius: 50px;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.product-body {
    padding: 1.5rem 1.5rem 1.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-body h3 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    color: #0f172a;
}

.product-title-link {
    transition: color 0.2s ease;
}

.product-title-link:hover {
    color: #2563eb;
}

.product-location {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.product-desc {
    font-size: 0.86rem;
    color: #475569;
    margin-bottom: 1.1rem;
    background: #f1f5f9;
    padding: 0.55rem 0.9rem;
    border-radius: 12px;
    display: inline-block;
}

.product-price {
    margin-bottom: 1.1rem;
    margin-top: auto;
}

.p-label {
    display: block;
    font-size: 0.77rem;
    color: #94a3b8;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.p-value {
    font-size: 1.65rem;
    font-weight: 800;
    color: #2563eb;
    font-family: 'Outfit', sans-serif;
}

.product-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.product-row .btn {
    flex: 1 1 auto;
    font-size: 0.84rem;
    padding: 0.65rem 0.85rem;
    text-align: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    white-space: nowrap;
    min-width: 0;
}

.product-row .btn-outline {
    font-size: 0.78rem;
}

.back-to-list {
    display: inline-block;
    margin-top: 0.85rem;
    font-size: 0.8rem;
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.back-to-list:hover {
    color: #2563eb;
}

/* CTA button dentro products */
.products-cta {
    text-align: center;
    margin-top: 2.5rem;
}

/* ===== BENEFITS (compra na planta) ===== */
.benefits {
    padding: 5rem 0;
    background: #fff;
}

.benefits .section-title {
    margin-bottom: 2.5rem;
}

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

.benefit-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
}

.benefit-icon {
    font-size: 2.2rem;
    display: block;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.6rem;
}

.benefit-card p {
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.65;
}

/* ===== CTA FINAL ===== */
.cta {
    padding: 5rem 0;
}

.cta-inner {
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
    border-radius: 32px;
    padding: 4.5rem 3rem;
    text-align: center;
    box-shadow: 0 24px 64px rgba(37, 99, 235, 0.28);
    position: relative;
    overflow: hidden;
}

.cta-inner::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50%;
    pointer-events: none;
}

.cta-inner::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -40px;
    width: 240px;
    height: 240px;
    background: rgba(255, 255, 255, 0.035);
    border-radius: 50%;
    pointer-events: none;
}

.cta-inner h2 {
    color: #fff;
    font-size: 2.3rem;
    margin-bottom: 1rem;
    position: relative;
}

.cta-inner p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    line-height: 1.7;
}

.cta-btn {
    background: #25D366;
    border-color: #25D366;
    box-shadow: 0 4px 24px rgba(37, 211, 102, 0.45);
    position: relative;
}

.cta-btn:hover {
    background: #1ebe57;
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.55);
}

/* ===== FAQ ===== */
.faq {
    padding: 5rem 0;
    background: #f8fafc;
}

.faq .section-title {
    margin-bottom: 2.5rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 820px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem 1.75rem;
    transition: box-shadow 0.2s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07);
}

.faq-item h3 {
    font-size: 1.02rem;
    margin-bottom: 0.6rem;
    color: #0f172a;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.faq-item h3::before {
    content: '❓';
    font-size: 1rem;
}

.faq-answer {
    color: #475569;
    font-size: 0.92rem;
    line-height: 1.75;
    padding-top: 0.25rem;
}

.faq-answer p {
    margin-bottom: 0.75rem;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer strong {
    color: #1e40af;
    font-weight: 600;
}

/* ===== FOOTER ===== */
footer {
    background: #0f172a;
    padding: 3.5rem 0 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.55);
}

footer a {
    color: inherit;
}

footer a:hover {
    color: rgba(255, 255, 255, 0.85);
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
    margin-bottom: 0.6rem;
    font-family: 'Outfit', sans-serif;
}

.footer-brand span {
    color: #f59e0b;
}

footer p {
    margin-bottom: 0.4rem;
}

.footer-contact {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.92rem;
    margin: 0.6rem 0;
}

.footer-copy {
    font-size: 0.78rem;
    opacity: 0.35;
    margin-top: 1.5rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-text h1 {
        font-size: 2.5rem;
    }
    .hero-text p {
        max-width: 100%;
    }
    .hero-badges {
        justify-content: center;
    }
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .cta-inner h2 {
        font-size: 1.9rem;
    }
    .cta-inner p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 125px 0 60px;
    }
    .hero-text h1 {
        font-size: 2.1rem;
    }
    .steps-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }
    .product-grid {
        grid-template-columns: 1fr;
    }
    .benefits-grid {
        grid-template-columns: 1fr;
        max-width: 460px;
        margin: 0 auto;
    }
    .cta-inner {
        padding: 3rem 1.75rem;
        border-radius: 24px;
    }
    .cta-inner h2 {
        font-size: 1.7rem;
    }
    .faq-item {
        padding: 1.25rem 1.25rem;
    }

    header {
        top: 0.6rem;
        width: 96%;
        max-width: 480px;
    }

    .header-inner {
        height: 60px;
    }

    .logo-img {
        height: 32px;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.75rem;
    }
    .hero-text p {
        font-size: 1rem;
    }
    .badge {
        font-size: 0.82rem;
        padding: 0.35rem 0.75rem;
    }
    .hero {
        padding: 115px 0 50px;
    }
    .section-title {
        font-size: 1.75rem;
    }
    .btn-lg {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    footer {
        padding: 2.5rem 0 1.5rem;
    }
    .footer-brand {
        font-size: 1.3rem;
    }
}

/* ===== SMOOTH SCROLL OFFSET FOR FIXED HEADER ===== */
section[id] {
    scroll-margin-top: 95px;
}

/* ===== LAZY-LOAD FADE-IN ===== */
.lazy-img {
    opacity: 0;
    transition: opacity 0.4s ease;
}

.lazy-img.loaded {
    opacity: 1;
}

/* ===== MODAL ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.92);
    justify-content: center;
    align-items: center;
    padding: 1rem;
    animation: modalFadeIn 0.25s ease;
}

.modal.open {
    display: flex;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.modal-content {
    position: relative;
    color: #fff;
    width: 100%;
    max-width: 860px;
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.modal-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0.25rem;
}

.modal-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 80%;
}

.modal-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: bold;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    transition: background 0.2s ease, transform 0.25s ease;
    flex-shrink: 0;
    user-select: none;
    line-height: 1;
}

.modal-close:hover {
    background: rgba(255,255,255,0.2);
    color: #fff;
    transform: rotate(90deg);
}

.modal-carousel {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(0,0,0,0.4);
    touch-action: pan-y;
}

.modal-slides {
    display: flex;
    overflow: hidden;
    width: 100%;
}

.modal-slide {
    min-width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 72vh;
}

.modal-slide img {
    width: 100%;
    max-height: 72vh;
    border-radius: 0;
    object-fit: contain;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
}

.modal-prev,
.modal-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.55);
    color: white;
    font-size: 1.5rem;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.2s ease, transform 0.2s ease;
    z-index: 10;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.modal-prev {
    left: 0.75rem;
}

.modal-next {
    right: 0.75rem;
}

.modal-prev:hover,
.modal-next:hover {
    background: rgba(37, 99, 235, 0.75);
    transform: translateY(-50%) scale(1.08);
}

.modal-prev:active,
.modal-next:active {
    transform: translateY(-50%) scale(0.95);
}

.modal-footer {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.modal-caption {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.55);
    text-align: center;
}

.modal-dots {
    display: flex;
    gap: 6px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 200px;
}

.modal-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    border: none;
    padding: 0;
    flex-shrink: 0;
}

.modal-dot.active {
    background: #fff;
    transform: scale(1.25);
}

@media (max-width: 600px) {
    .modal-prev { left: 0.3rem; }
    .modal-next { right: 0.3rem; }
    .modal-prev, .modal-next {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }
    .modal-slide, .modal-slide img {
        max-height: 60vh;
    }
}

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===== BOTÃO TOUR VIRTUAL ===== */
.btn-tour {
    background: transparent;
    border: 2px solid #2563eb;
    color: #2563eb;
    font-size: 0.78rem;
    flex: 1 1 auto;
    white-space: nowrap;
}

.btn-tour:hover {
    background: #2563eb;
    color: #fff;
}

.tour-row {
    margin-top: 0.1rem;
}

/* ===== MODAL TOUR VIRTUAL ===== */
.tour-modal {
    display: none;
    position: fixed;
    z-index: 3000;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
    padding: 0.75rem;
    animation: modalFadeIn 0.25s ease;
}

.tour-modal.open {
    display: flex;
}

.tour-modal-content {
    width: 100%;
    max-width: 1100px;
    height: 90vh;
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    overflow: hidden;
    background: #0f172a;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
}

.tour-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.25rem;
    background: #1e293b;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.tour-modal-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 85%;
}

.tour-modal-close {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s ease, transform 0.25s ease;
    line-height: 1;
}

.tour-modal-close:hover {
    background: rgba(225, 29, 72, 0.7);
    color: #fff;
    transform: rotate(90deg);
}

.tour-modal-body {
    position: relative;
    flex: 1;
    overflow: hidden;
}

.tour-iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Spinner de carregamento */
.tour-loading {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    font-family: 'Outfit', sans-serif;
    background: #0f172a;
    z-index: 2;
    transition: opacity 0.4s ease;
}

.tour-loading.hidden {
    opacity: 0;
    pointer-events: none;
}

.tour-spinner {
    width: 42px;
    height: 42px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: #e11d48;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

@media (max-width: 600px) {
    .tour-modal-content {
        height: 95vh;
        border-radius: 12px;
    }
    .tour-modal {
        padding: 0.35rem;
    }
}

/* ===== FESTA JUNINA - HIGHLIGHT CARD ===== */
.festa-junina-highlight {
    position: relative;
    border: 3px solid transparent;
    background-image: linear-gradient(#fff, #fff), linear-gradient(135deg, #f97316, #ef4444, #eab308);
    background-origin: border-box;
    background-clip: content-box, border-box;
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.25);
    animation: glow-pulse 3s infinite alternate ease-in-out;
}

.festa-junina-highlight::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20' preserveAspectRatio='none'%3E%3Cpolygon points='0,0 20,0 10,20' fill='%23ef4444'/%3E%3Cpolygon points='20,0 40,0 30,20' fill='%23eab308'/%3E%3Cpolygon points='40,0 60,0 50,20' fill='%23f97316'/%3E%3Cpolygon points='60,0 80,0 70,20' fill='%233b82f6'/%3E%3Cpolygon points='80,0 100,0 90,20' fill='%2322c55e'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-size: 80px 16px;
    z-index: 10;
}

.festa-junina-highlight:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(249, 115, 22, 0.4);
}

.festa-junina-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, #ff7a00, #dc2626);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.35rem 0.9rem;
    border-radius: 50px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(220, 38, 38, 0.4);
    z-index: 5;
    animation: float-tag 2s infinite alternate ease-in-out;
}

.festa-junina-countdown {
    background: linear-gradient(135deg, #3b1702, #210c01);
    border: 1px dashed #f97316;
    border-radius: 14px;
    padding: 0.75rem;
    margin-bottom: 1.25rem;
    text-align: center;
    color: #fff;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.3);
}

.festa-junina-countdown .countdown-label {
    font-size: 0.72rem;
    font-weight: 800;
    color: #fdba74;
    letter-spacing: 1px;
    margin-bottom: 0.25rem;
}

.festa-junina-countdown .countdown-values {
    display: flex;
    justify-content: center;
    gap: 0.65rem;
    font-family: 'Outfit', sans-serif;
}

.festa-junina-countdown .time-block {
    font-size: 0.95rem;
    font-weight: 500;
    color: #fed7aa;
}

.festa-junina-countdown .time-block strong {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    margin-right: 1px;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 0 4px rgba(249, 115, 22, 0.6);
}

.festa-junina-countdown .countdown-expired {
    color: #facc15;
    font-weight: 700;
    font-size: 0.95rem;
}

@keyframes glow-pulse {
    from { box-shadow: 0 10px 30px rgba(249, 115, 22, 0.2); }
    to { box-shadow: 0 10px 30px rgba(249, 115, 22, 0.4); }
}

@keyframes float-tag {
    from { transform: translateY(0); }
    to { transform: translateY(-4px); }
}

/* ===== BOTÃO PULSANTE DO MENU ===== */
.btn-pulse {
    background: linear-gradient(135deg, #f97316 0%, #ef4444 100%);
    color: #fff !important;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
    animation: menu-pulse 1.8s infinite;
    font-size: 0.9rem;
    padding: 0.65rem 1.3rem;
}
.btn-pulse:hover {
    background: linear-gradient(135deg, #ea580c 0%, #dc2626 100%);
    box-shadow: 0 6px 18px rgba(239, 68, 68, 0.5);
    transform: translateY(-2px);
    animation: none;
}
@keyframes menu-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

/* ===== ESTILOS DA PÁGINA DE ANÁLISE ===== */
.analise-hero {
    padding: 140px 0 40px;
    background: radial-gradient(ellipse at 50% 0%, rgba(249, 115, 22, 0.05) 0%, transparent 60%);
    text-align: center;
}
.analise-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}
.analise-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-bottom: 5rem;
}
@media (min-width: 992px) {
    .analise-grid {
        grid-template-columns: 1.1fr 0.9fr;
    }
}
.analise-card {
    background: #fff;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}
.form-section-title {
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #eff6ff;
    color: #1e3a8a;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.form-group {
    margin-bottom: 1.25rem;
}
.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 0.5rem;
}
.form-control {
    width: 100%;
    padding: 0.8rem 1.1rem;
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
    background-color: #f8fafc;
}
.form-control:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
    background-color: #fff;
}
.earners-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}
.earner-row {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr auto;
    gap: 0.75rem;
    align-items: end;
    background: #f8fafc;
    padding: 1rem;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    position: relative;
}
.btn-remove {
    background: #fee2e2;
    color: #ef4444;
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background 0.2s, color 0.2s;
}
.btn-remove:hover {
    background: #ef4444;
    color: #fff;
}
.btn-add {
    background: #eff6ff;
    color: #2563eb;
    border: 1.5px dashed #2563eb;
    border-radius: 12px;
    padding: 0.75rem;
    width: 100%;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.btn-add:hover {
    background: #dbeafe;
}
.vitrine-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.vitrine-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s, box-shadow 0.2s;
}
@media (min-width: 576px) {
    .vitrine-card {
        grid-template-columns: 140px 1fr;
    }
}
.vitrine-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}
.vitrine-img {
    height: 140px;
    position: relative;
}
.vitrine-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.vitrine-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.vitrine-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}
.vitrine-meta {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 0.5rem;
}
.vitrine-price-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.vitrine-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: #2563eb;
    font-family: 'Outfit', sans-serif;
}
.vitrine-subsidy {
    font-size: 0.85rem;
    font-weight: 600;
    color: #16a34a;
    background: #dcfce7;
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
}

/* Spinner de cálculo */
.spinner-container {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.85);
    z-index: 2000;
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #fff;
    text-align: center;
    padding: 2rem;
}
.spinner-ring {
    width: 70px;
    height: 70px;
    border: 5px solid rgba(255, 255, 255, 0.1);
    border-top-color: #f97316;
    border-radius: 50%;
    animation: spin 1s infinite linear;
    margin-bottom: 1.5rem;
}
.spinner-text {
    font-size: 1.25rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.spinner-step {
    font-size: 0.9rem;
    color: #94a3b8;
    height: 20px;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Resultados */
.results-wrapper {
    display: none;
    animation: fadeInUp 0.5s forwards ease-out;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.results-title-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0.75rem;
}
.result-gauge-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background: #f8fafc;
    border-radius: 16px;
    padding: 1.25rem;
    border: 1px solid #e2e8f0;
    margin-top: 0.75rem;
}
.result-gauge-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.result-gauge-bar-outer {
    width: 100%;
    height: 12px;
    background: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}
.result-gauge-bar-inner {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #10b981);
    border-radius: 10px;
    width: 0%;
    transition: width 1s ease-in-out;
}
.result-percent-value {
    font-size: 1.3rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    color: #10b981;
}
.badge-match {
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
}
.badge-match-high { background: #dcfce7; color: #166534; }
.badge-match-med { background: #fef9c3; color: #854d0e; }
.badge-match-low { background: #fee2e2; color: #991b1b; }

.result-calc-details {
    margin-top: 1rem;
    background: #eff6ff;
    border-radius: 14px;
    padding: 1rem;
    font-size: 0.88rem;
    color: #1e3a8a;
    border: 1px solid rgba(37, 99, 235, 0.1);
}
.result-calc-details p {
    margin-bottom: 0.35rem;
}
.result-calc-details p:last-child {
    margin-bottom: 0;
}
.result-action-row {
    margin-top: 1rem;
    display: flex;
}
.result-action-row .btn {
    width: 100%;
}

/* Responsividade do Header com novos botões */
@media (max-width: 576px) {
    header nav {
        display: flex;
        gap: 0.35rem;
    }
    header nav .btn {
        padding: 0.45rem 0.75rem !important;
        font-size: 0.78rem !important;
    }
}
@media (max-width: 400px) {
    header nav #menu-analise {
        font-size: 0.72rem !important;
        padding: 0.4rem 0.55rem !important;
    }
    header nav .header-wa {
        display: none !important;
    }
}



