:root {
    --primary-green: #00416b;
    --card-bg: #0071AD;
    --accent-gold: #ffd400;
    --text-white: #FFFFFF;
    --text-muted: #D1CCC7;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

body {
    background-color: var(--primary-green);
    color: var(--text-white);
    line-height: 1.6;
}

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

section {
    padding: 60px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

h2 {
    font-size: 2.2rem;
    color: var(--accent-gold);
    text-align: center;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.btn-cta {
    display: inline-block;
    background-color: var(--accent-gold);
    color: #00416b;
    padding: 15px 35px;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    text-align: center;
    transition: transform 0.2s;
    box-shadow: 0 4px 15px rgba(255, 212, 0, 0.3);
}

.btn-cta:hover {
    transform: scale(1.03);
}

/* HERO */
.hero {
    padding: 80px 0 40px 0;
}

.hero-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.hero-text {
    text-align: center;
    max-width: 800px;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.hero-cta .btn-cta {
    width: 100%;
    max-width: 360px;
}

.hero-text h1 {
    font-size: clamp(1.9rem, 4vw + 1rem, 2.8rem);
    font-weight: 800;
    margin: 0 auto 20px auto;
    line-height: 1.15;
    letter-spacing: -0.02em;
    text-wrap: balance;
    max-width: 22ch;
}

.hero-text h1 span {
    color: var(--accent-gold);
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

/* DESTAQUE "GRÁTIS" */
.hl-free {
    display: inline-block;
    color: var(--accent-gold);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background-color: rgba(255, 212, 0, 0.14);
    border: 1px solid rgba(255, 212, 0, 0.45);
    border-radius: 6px;
    padding: 1px 10px;
    white-space: nowrap;
}

.hero-banner {
    text-align: center;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.hero-banner picture,
.hero-banner img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

/* FAIXA DE NÚMEROS (PROVA SOCIAL) */
.hero-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 40px;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 22px 20px;
    background: linear-gradient(135deg, #003258 0%, #0071AD 100%);
    border: 1px solid rgba(255, 212, 0, 0.25);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.hero-stats .stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 120px;
}

.hero-stats .stat strong {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-gold);
    line-height: 1.1;
}

.hero-stats .stat span {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
}

@media (max-width: 480px) {
    .hero-stats {
        gap: 16px 12px;
        padding: 18px 12px;
    }

    .hero-stats .stat {
        flex: 1 1 40%;
        min-width: 0;
    }

    .hero-stats .stat strong {
        font-size: 1.6rem;
    }
}

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

.feature-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 8px;
    border-top: 4px solid var(--accent-gold);
    text-align: center;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--accent-gold);
}

/* SHOWCASE */
.showcase-row {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.showcase-row.reverse {
    flex-direction: row-reverse;
}

.showcase-text {
    flex: 1;
    min-width: 300px;
}

.showcase-text h3 {
    font-size: 1.8rem;
    color: var(--accent-gold);
    margin-bottom: 15px;
}

.showcase-img {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.showcase-img img {
    max-width: 260px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* DINÂMICA (#dinamica) — uniforme com #modulos: 3 colunas iguais */
#dinamica .features-grid {
    margin-bottom: 10px;
}

#dinamica .feature-card p {
    line-height: 1.7;
    text-wrap: pretty;
}

/* OFFLINE */
.offline-section {
    background-color: #003258;
    text-align: center;
}

.offline-section p {
    max-width: 700px;
    margin: 0 auto 20px auto;
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* PREÇOS */
.section-title-wrapper {
    text-align: center;
    margin-bottom: 40px;
}

.section-title-wrapper h2 {
    display: inline-block;
    background: linear-gradient(135deg, #003258 0%, #0071AD 100%);
    padding: 20px 50px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.4);
    margin-bottom: 0;
}

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

.price-card {
    background-color: var(--card-bg);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}

.price-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
}

.price-card.featured {
    border: 2px solid var(--accent-gold);
    box-shadow: 0 8px 35px rgba(255, 212, 0, 0.18);
}

@media (min-width: 900px) {
    .price-card.featured {
        transform: scale(1.04);
    }

    .price-card.featured:hover {
        transform: scale(1.04) translateY(-4px);
    }
}

.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-gold);
    color: #00416b;
    padding: 5px 15px;
    font-weight: bold;
    font-size: 0.8rem;
    border-radius: 20px;
    z-index: 1;
    white-space: nowrap;
    letter-spacing: 0.04em;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.price-header {
    background: linear-gradient(135deg, #003258 0%, #0071AD 100%);
    padding: 20px 15px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.price-card.featured .price-header {
    border-color: rgba(255, 212, 0, 0.2);
}

.price-card h3 {
    font-size: 1.6rem;
    margin-bottom: 5px;
}

.price-prefix {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
    margin: 5px 0 0;
}

.price-value {
    font-size: 2.3rem;
    font-weight: bold;
    color: var(--accent-gold);
    margin: 0;
    white-space: nowrap;
}

.price-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 8px;
}

.price-features {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}

.price-features li {
    margin-bottom: 12px;
    font-size: 0.95rem;
    padding-left: 24px;
    position: relative;
}

.price-features li::before {
    content: "\2713";
    color: var(--accent-gold);
    position: absolute;
    left: 0;
    top: 0;
}

.btn-price {
    width: 100%;
    padding: 12px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    text-decoration: none;
    display: inline-block;
}

.price-card.featured .btn-price {
    background-color: var(--accent-gold);
    color: #00416b;
}

.btn-cta:focus-visible {
    outline: 3px solid var(--text-white);
    outline-offset: 3px;
}

@media (max-width: 640px) {
    .price-card.featured {
        order: -1;
    }
}

/* CTA ABAIXO DOS PREÇOS */
.cta-buttons {
    text-align: center;
    margin-top: 50px;
}

/* CAIXA DE DESTAQUE: FOCO TOTAL */
.focus-box {
    max-width: 800px;
    margin: 50px auto 0 auto;
    padding: 30px 35px;
    background: linear-gradient(135deg, #003258 0%, #0071AD 100%);
    border: 1px solid rgba(255, 212, 0, 0.35);
    border-left: 5px solid var(--accent-gold);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.focus-box h3 {
    font-size: 1.4rem;
    color: var(--accent-gold);
    margin-bottom: 20px;
    text-align: center;
    line-height: 1.3;
}

.focus-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.focus-list li {
    position: relative;
    padding: 12px 0 12px 32px;
    font-size: 1rem;
    color: var(--text-white);
    line-height: 1.6;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.focus-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.focus-list li:first-child {
    padding-top: 0;
}

.focus-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 12px;
    color: var(--accent-gold);
    font-weight: bold;
    font-size: 1.1rem;
}

.focus-list li:first-child::before {
    top: 0;
}

.focus-list li strong {
    color: var(--accent-gold);
}

@media (max-width: 480px) {
    .focus-box {
        padding: 25px 20px;
    }

    .focus-box h3 {
        font-size: 1.2rem;
    }

    .focus-list li {
        font-size: 0.95rem;
    }
}

/* CARROSSEL */
.app-showcase-container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 30px;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.showcase-carousel,
.showcase-video {
    width: 100%;
    background: linear-gradient(135deg, #003258 0%, #0071AD 100%);
    border: 1px solid rgba(255, 212, 0, 0.25);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.showcase-carousel {
    max-width: 340px;
    margin: 0 auto;
}

.showcase-video {
    position: relative;
    max-width: 340px;
    margin: 0 auto;
    padding: 0;
    background-color: #00416b;
    overflow: hidden;
}

.showcase-video video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255, 212, 0, 0.95);
    color: #00416b;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.2s, opacity 0.2s;
    z-index: 2;
}

.video-play-btn svg {
    margin-left: 4px;
}

.video-play-btn .icon-play {
    display: block;
}

.video-play-btn .icon-pause {
    display: none;
}

.video-play-btn.playing .icon-play {
    display: none;
}

.video-play-btn.playing .icon-pause {
    display: block;
}

.video-play-btn.playing {
    opacity: 0;
    pointer-events: none;
}

.video-play-btn.playing:hover {
    opacity: 1;
    pointer-events: auto;
}

.showcase-video:hover .video-play-btn {
    opacity: 1;
}

.video-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.08);
}

.carousel-viewport {
    width: 100%;
    max-width: 300px;
    overflow: hidden;
    border-radius: 12px;
}

.carousel-viewport {
    flex: 1;
    max-width: 340px;
    overflow: hidden;
}

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

.carousel-slide {
    min-width: 100%;
    box-sizing: border-box;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.carousel-btn {
    background: var(--card-bg);
    color: var(--accent-gold);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s, border-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: var(--accent-gold);
    color: #00416b;
    border-color: var(--accent-gold);
}

.carousel-dots {
    text-align: center;
    margin-top: 20px;
}

.carousel-dots span {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 5px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: background 0.2s;
}

.carousel-dots span.active {
    background-color: var(--accent-gold);
}

@media (min-width: 768px) {
    .app-showcase-container {
        flex-direction: row;
        align-items: stretch;
        justify-content: center;
        gap: 30px;
        max-width: 800px;
    }

    .showcase-carousel,
    .showcase-video {
        flex: 1;
        max-width: 360px;
        min-height: 560px;
    }

    .showcase-carousel {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .carousel-viewport {
        max-width: 240px;
    }

    .video-play-btn {
        width: 56px;
        height: 56px;
    }

    .video-play-btn svg {
        width: 36px;
        height: 36px;
    }

    .showcase-carousel,
    .showcase-video {
        max-width: 280px;
        padding: 16px;
        min-height: auto;
    }

    .showcase-video {
        padding: 0;
    }
}

/* URGÊNCIA */
.urgency-note {
    text-align: center;
    margin-top: 30px;
    font-size: 0.95rem;
    color: var(--accent-gold);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--card-bg);
    border-radius: 8px;
    margin-bottom: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: border-color 0.2s;
}

.faq-item[open] {
    border-color: var(--accent-gold);
}

.faq-item summary {
    padding: 20px 25px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text-white);
}

.faq-item summary::after {
    content: "+";
    font-size: 1.4rem;
    color: var(--accent-gold);
    font-weight: bold;
    transition: transform 0.2s;
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item p {
    padding: 0 25px 20px 25px;
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

.faq-item strong {
    color: var(--accent-gold);
}

/* RODAPÉ */
footer {
    background-color: #003258;
    padding: 50px 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer .container {
    text-align: center;
}

footer nav {
    margin-bottom: 25px;
}

footer nav a {
    color: var(--accent-gold);
    text-decoration: none;
    margin: 0 15px;
    font-weight: 500;
}

footer nav a:not(:last-child)::after {
    content: "|";
    color: rgba(255, 255, 255, 0.2);
    margin-left: 15px;
}

.disclaimer {
    max-width: 800px;
    margin: 0 auto 25px auto;
    font-size: 0.8rem;
    line-height: 1.5;
    color: #D1CCC7;
}

.copyright {
    font-size: 0.85rem;
    color: #bdb4ab;
}

.copyright a {
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 500;
}

.copyright a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .hero-text p {
        font-size: 1.1rem;
    }

    h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .hero-text p {
        font-size: 1rem;
    }
}

/* PLACEHOLDERS DE MÍDIA (TODO-MIDIA: remover quando houver prints/vídeo oficiais) */
.media-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    border: 2px dashed rgba(255, 212, 0, 0.5);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.25);
    color: #f5f0e6;
    text-align: center;
    padding: 32px 20px;
}

.media-placeholder-icon {
    font-size: 2.2rem;
    line-height: 1;
}

.media-placeholder strong {
    font-size: 1.1rem;
}

.media-placeholder small {
    font-size: 0.8rem;
    color: #bdb4ab;
}

.slide-placeholder {
    aspect-ratio: 9 / 16;
    min-height: 420px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.video-placeholder {
    aspect-ratio: 9 / 16;
    min-height: 420px;
    border-radius: 16px;
}