/* ============================================================
   YOUCINE V2 — Design System Completo (Reescrito)
   Mobile-first • APK Download Site
   Classes casam EXATAMENTE com index.php
   ============================================================ */

/* Google Fonts carregado via <link> no HTML para performance mobile */

/* ============================================================
   1. RESET + BASE STYLES
   ============================================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.6;
    color: #000000;
    background-color: #FFFFFF;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Safe area para telas com notch (iPhone X+, Android) */
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
}

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

a {
    color: #cc3366;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #a32952;
}

ul,
ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Roboto Slab', 'Roboto', serif;
    font-weight: 700;
    line-height: 1.25;
    color: #000000;
}

h1 {
    font-size: 1.75rem;
}

h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

h3 {
    font-size: 1.15rem;
}

p {
    margin-bottom: 1rem;
    color: #54595F;
    line-height: 1.7;
}

/* --- Container --- */
.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Section spacing (mobile) --- */
section {
    padding: 60px 0;
}

/* --- Section headings --- */
.section-heading {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.section-heading-shadow {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 16px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.12);
}

.section-subtitle {
    text-align: center;
    color: #54595F;
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 1rem;
    line-height: 1.7;
}


/* ============================================================
   2. HEADER — Logo + Nav + Hamburger Mobile
   ============================================================ */
.header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

/* --- Logo --- */
.header__logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.header__logo img {
    height: 42px;
    width: auto;
    display: block;
}

/* --- Hamburger --- */
.nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1100;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.nav-toggle:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2.5px;
    background-color: #000000;
    border-radius: 2px;
    transition: transform 0.35s ease, opacity 0.25s ease;
    transform-origin: center;
}

/* Hamburger → X animation */
.nav-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.nav-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* --- Nav Menu (mobile: hidden, slides down) --- */
.nav-menu {
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    background-color: #FFFFFF;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    padding: 8px 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease, visibility 0.3s ease;
}

.nav-menu.open {
    max-height: 320px;
    opacity: 1;
    visibility: visible;
}

.nav-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.nav-list li a {
    display: block;
    padding: 14px 24px;
    font-size: 1rem;
    font-weight: 500;
    color: #54595F;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-list li a:hover {
    background-color: #f4f4f4;
    color: #000000;
}


/* ============================================================
   3. HERO — Shape SVG + Título + Mockup
   ============================================================ */
.hero {
    position: relative;
    background-color: #FFFFFF;
    padding: 40px 0 50px;
    overflow: hidden;
    text-align: center;
}

/* Shape decorativo SVG no topo */
.hero-shape {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 0;
    line-height: 0;
}

.hero-shape svg {
    width: 100%;
    height: auto;
    display: block;
}

/* Hero content - mobile: coluna, desktop: 2 colunas */
.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

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

.hero-title {
    font-family: 'Roboto Slab', serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #000000;
    line-height: 1.2;
}

.hero-subtitle {
    font-family: 'Roboto Slab', serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: #54595F;
    margin-bottom: 0;
}

.hero-description {
    font-size: 1rem;
    color: #54595F;
    max-width: 550px;
    line-height: 1.7;
    margin-bottom: 0;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 280px;
    width: 100%;
    height: auto;
    border-radius: 20px;
    filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.15));
}


/* ============================================================
   4. INFO BAR — 4 Cards em Grid
   ============================================================ */
.info-bar {
    padding: 30px 0;
    background-color: #f9f9f9;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.info-card {
    background: linear-gradient(135deg, #FFFFFF 0%, #f8fbff 100%);
    border-radius: 12px;
    padding: 20px 16px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover,
.info-card:active {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.info-icon {
    display: block;
    font-size: 2rem;
    margin-bottom: 8px;
    line-height: 1;
}

.info-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #54595F;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.info-value {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    color: #000000;
}

.info-value-highlight {
    color: #4AB85A;
    font-size: 1.15rem;
}

.info-value-live {
    color: #e74c3c;
    font-size: 1.15rem;
}

.info-card-live {
    position: relative;
}

.info-card-live::after {
    content: '';
    position: absolute;
    top: 12px;
    right: 12px;
    width: 8px;
    height: 8px;
    background: #e74c3c;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}


/* ============================================================
   5. DOWNLOAD BUTTONS — Grid de botões secundários
   ============================================================ */
.download-buttons {
    padding: 50px 0;
    text-align: center;
    background-color: #f9f9f9;
}

.download-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    max-width: 600px;
    margin: 20px auto 0;
}


/* ============================================================
   6. TWO-COL — Layout reutilizável (About, How-to, Security, etc.)
   ============================================================ */
.two-col {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.col-text {
    flex: 1;
}

.col-text h2 {
    margin-bottom: 16px;
}

.col-text p {
    color: #54595F;
    line-height: 1.7;
    margin-bottom: 12px;
}

/* Listas dentro de col-text */
.col-text ul,
.col-text ol {
    margin-top: 8px;
    margin-bottom: 16px;
    padding-left: 0;
}

.col-text ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
    color: #54595F;
    font-size: 0.95rem;
    line-height: 1.7;
}

.col-text ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 1px;
    color: #61CE70;
    font-weight: 700;
    font-size: 1rem;
}

.col-text ol {
    counter-reset: ol-counter;
}

.col-text ol li {
    counter-increment: ol-counter;
    position: relative;
    padding-left: 32px;
    margin-bottom: 10px;
    color: #54595F;
    font-size: 0.95rem;
    line-height: 1.7;
}

.col-text ol li::before {
    content: counter(ol-counter) '.';
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 700;
    color: #6EC1E4;
    font-size: 1rem;
}

.col-image {
    flex: 1;
    text-align: center;
}

.col-image img {
    max-width: 100%;
    margin: 0 auto;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* Imagem com border-radius */
.img-rounded {
    border-radius: 30px;
}

/* Imagem com borda rosa */
.img-bordered {
    border: 3px solid #F98989;
}


/* ============================================================
   7. FEATURES — Grid de cards
   ============================================================ */
.features {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.feature-card {
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 24px 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border-left: 4px solid transparent;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover,
.feature-card:active {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-left-color: #6EC1E4;
}

.feature-card h3 {
    font-size: 1.05rem;
    margin-bottom: 10px;
    color: #000000;
    line-height: 1.4;
}

.feature-card p {
    font-size: 0.95rem;
    color: #54595F;
    margin-bottom: 0;
    line-height: 1.7;
}


/* ============================================================
   8. UPDATES — Grid de cards com novidades
   ============================================================ */
.updates {
    padding: 60px 0;
}

.updates-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.update-card {
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 24px 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border-left: 4px solid #6EC1E4;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.update-card:hover,
.update-card:active {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.update-card h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
    color: #000000;
    line-height: 1.4;
}

.update-card p {
    font-size: 0.95rem;
    color: #54595F;
    margin-bottom: 0;
    line-height: 1.7;
}


/* ============================================================
   9. FAQ — Accordion com Details/Summary + SVG icons
   ============================================================ */
.faq {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    background-color: #FFFFFF;
    border: 1px solid #d5d8dc;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.faq-item[open] {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

/* Summary / Question */
.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.2s ease;
}

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

.faq-question::marker {
    display: none;
    content: '';
}

.faq-question:hover {
    background-color: #fafafa;
}

.faq-question h3 {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: #000000;
    margin-bottom: 0;
    flex: 1;
    padding-right: 12px;
}

/* FAQ Icon — mostra + quando fechado, − quando aberto */
.faq-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.faq-icon svg {
    fill: #54595F;
    transition: transform 0.3s ease;
}

/* Quando fechado: mostra +, esconde − */
.faq-item .icon-plus {
    display: block;
}

.faq-item .icon-minus {
    display: none;
}

/* Quando aberto: mostra −, esconde + */
.faq-item[open] .icon-plus {
    display: none;
}

.faq-item[open] .icon-minus {
    display: block;
}

/* FAQ Answer — animação suave */
.faq-answer {
    padding: 0 20px 16px;
    font-size: 0.95rem;
    color: #54595F;
    line-height: 1.7;
    animation: faqFadeIn 0.3s ease;
}

.faq-answer p {
    margin-bottom: 8px;
}

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

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


/* ============================================================
   10. DOWNLOAD CTA — Botão Grande Centralizado
   ============================================================ */
.download-cta {
    padding: 60px 0;
    text-align: center;
    background-color: #f9f9f9;
}

.download-cta h2 {
    margin-bottom: 12px;
}

.download-cta p {
    margin-bottom: 24px;
    color: #54595F;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}


/* ============================================================
   11. SOCIAL SECTION — Ícones Redondos
   ============================================================ */
.social-section {
    padding: 40px 0;
    text-align: center;
}

.social-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    text-decoration: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-icon svg {
    width: 22px;
    height: 22px;
    fill: #FFFFFF;
}

.social-icon:hover {
    transform: scale(1.15);
    opacity: 0.9;
}

.social-facebook {
    background-color: #3b5998;
}

.social-twitter {
    background-color: #1da1f2;
}

.social-youtube {
    background-color: #cd201f;
}

.social-pinterest {
    background-color: #bd081c;
}


/* ============================================================
   12. FOOTER — Logo, Nav, Copyright
   ============================================================ */
.footer {
    background-color: #222222;
    color: #cccccc;
    padding: 40px 0 24px;
    /* Safe area para phones com gesture bar */
    padding-bottom: max(24px, env(safe-area-inset-bottom));
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
}

.footer-branding {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-branding a {
    display: inline-block;
    text-decoration: none;
}

.footer-branding img {
    height: 36px;
    width: auto;
    display: block;
    filter: brightness(1.1);
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 20px;
}

.footer-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 20px;
}

.footer-nav a {
    font-size: 0.9rem;
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease, text-decoration-color 0.3s ease;
}

.footer-nav a:hover {
    color: #FFFFFF;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.5);
}

.footer-copyright {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    text-align: center;
}

.footer-copyright p {
    font-size: 0.85rem;
    color: #888888;
    margin-bottom: 0;
}


/* ============================================================
   13. BOTÃO DOWNLOAD — Verde (#61CE70), texto BRANCO
   ============================================================ */
.btn-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #61CE70;
    color: #FFFFFF;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 14px rgba(97, 206, 112, 0.35);
    min-height: 48px;
}

.btn-download svg {
    fill: currentColor;
    flex-shrink: 0;
}

.btn-download:hover {
    background-color: #52b860;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(97, 206, 112, 0.45);
}

.btn-download:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(97, 206, 112, 0.3);
}

/* Hero button variant — mobile: full width, destaque maximo */
.btn-hero {
    font-size: 1.15rem;
    padding: 18px 32px;
    width: 100%;
    max-width: 340px;
    min-height: 56px;
    border-radius: 12px;
}

/* Large button variant — mobile: full width */
.btn-large {
    font-size: 1.15rem;
    padding: 18px 40px;
    width: 100%;
    max-width: 400px;
    min-height: 56px;
    border-radius: 12px;
}


/* ============================================================
   14. BOTÃO SECUNDÁRIO — Roxo (#8D6EE4), texto BRANCO
   ============================================================ */
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #8D6EE4;
    color: #FFFFFF;
    font-family: 'Roboto', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 14px 20px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 14px rgba(141, 110, 228, 0.3);
    min-height: 48px;
    width: 100%;
}

.btn-secondary svg {
    fill: currentColor;
    flex-shrink: 0;
}

.btn-secondary:hover {
    background-color: #7b5cd4;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(141, 110, 228, 0.4);
}

.btn-secondary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(141, 110, 228, 0.25);
}


/* ============================================================
   15. SCROLL ANIMATIONS — Fade In Up
   ============================================================ */
/* Animacao de scroll — so oculta se JS estiver ativo */
.js .animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    /* Seguranca: se JS nao adicionar .animated em 3s, mostra mesmo assim */
    animation: fadeInFallback 0.6s ease-out 3s forwards;
}

.js .animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
    animation: none;
}

@keyframes fadeInFallback {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sem JS: elementos sempre visiveis */
.no-js .animate-on-scroll {
    opacity: 1;
    transform: none;
}


/* ============================================================
   16. SEÇÕES ESPECÍFICAS — about, app-section, how-to, etc.
   ============================================================ */

/* About */
.about {
    padding: 60px 0;
}

/* App Section (usa .two-col.reverse) */
.app-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

/* How-to */
.how-to {
    padding: 60px 0;
}

/* Security */
.security {
    padding: 60px 0;
    background-color: #f9f9f9;
}

/* Advantages */
.advantages {
    padding: 60px 0;
}

/* Tips (usa .two-col.reverse) */
.tips {
    padding: 60px 0;
    background-color: #f9f9f9;
}


/* ============================================================
   17. UTILIDADES
   ============================================================ */
.text-center {
    text-align: center;
}

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

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

.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;
}


/* ============================================================
   ACESSIBILIDADE — Reduced Motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .animate-on-scroll {
        opacity: 1;
        transform: none;
    }
}


/* ============================================================
   MEDIA QUERIES
   ============================================================ */

/* --- Telas muito pequenas (< 360px) --- */
@media (max-width: 359px) {
    .download-grid {
        grid-template-columns: 1fr;
    }
    .info-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .hero-title {
        font-size: 1.5rem;
    }
    .btn-hero {
        max-width: 100%;
        padding: 16px 20px;
    }
}

/* --- Tablet (≥ 768px) --- */
@media (min-width: 768px) {

    /* Tipografia */
    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.35rem;
    }

    .section-heading,
    .section-heading-shadow {
        font-size: 1.75rem;
    }

    /* Container */
    .container {
        padding: 0 24px;
    }

    /* Section spacing */
    section {
        padding: 80px 0;
    }

    /* Hero */
    .hero {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1.15rem;
    }

    .hero-image img {
        max-width: 320px;
    }

    /* Botoes: auto width no tablet+ */
    .btn-hero {
        width: auto;
        max-width: none;
    }
    .btn-large {
        width: auto;
        max-width: none;
    }

    /* Info Bar — 4 colunas (7 cards: 4 + 3) */
    .info-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }

    .info-icon {
        font-size: 2.2rem;
    }

    /* Download buttons — 4 em linha */
    .download-grid {
        grid-template-columns: repeat(4, 1fr);
        max-width: 800px;
    }

    .btn-secondary {
        font-size: 0.9rem;
        padding: 12px 16px;
    }

    /* Two-col — 2 colunas */
    .two-col {
        flex-direction: row;
        gap: 40px;
        align-items: center;
    }

    /* Reverse: imagem à esquerda, texto à direita no desktop */
    .two-col.reverse {
        flex-direction: row-reverse;
    }

    /* Features — 2 colunas */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* Updates — 2 colunas */
    .updates-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* FAQ */
    .faq-question {
        padding: 18px 24px;
    }

    .faq-answer {
        padding: 0 24px 18px;
    }
}


/* --- Desktop (≥ 1025px) --- */
@media (min-width: 1025px) {

    /* Tipografia */
    h1 {
        font-size: 2.75rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .section-heading,
    .section-heading-shadow {
        font-size: 2rem;
    }

    /* Container */
    .container {
        padding: 0 30px;
    }

    /* Section spacing */
    section {
        padding: 100px 0;
    }

    /* Header — desktop nav visível, hamburger escondido */
    .nav-menu {
        position: static;
        max-height: none;
        opacity: 1;
        visibility: visible;
        background: none;
        border: none;
        box-shadow: none;
        padding: 0;
        overflow: visible;
    }

    .nav-list {
        flex-direction: row;
        align-items: center;
        gap: 28px;
    }

    .nav-list li a {
        display: inline-block;
        padding: 6px 0;
        font-size: 0.95rem;
        font-weight: 500;
        color: #54595F;
        position: relative;
        background-color: transparent;
    }

    .nav-list li a::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background-color: #6EC1E4;
        transition: width 0.3s ease;
    }

    .nav-list li a:hover {
        color: #000000;
        background-color: transparent;
    }

    .nav-list li a:hover::after {
        width: 100%;
    }

    .nav-toggle {
        display: none;
    }

    /* Hero — 2 colunas */
    .hero {
        padding: 80px 0;
        text-align: left;
    }

    .hero-content {
        flex-direction: row;
        align-items: center;
        gap: 50px;
    }

    .hero-text {
        flex: 1;
        align-items: flex-start;
        text-align: left;
    }

    .hero-title {
        font-size: 2.75rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-image {
        flex: 0 0 auto;
    }

    .hero-image img {
        max-width: 350px;
    }

    /* Two-col — gap maior */
    .two-col {
        gap: 50px;
    }

    /* Features — gap maior */
    .features-grid {
        gap: 24px;
    }

    .feature-card {
        padding: 28px 24px;
    }

    /* Updates — 3 colunas */
    .updates-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }

    /* Download CTA */
    .download-cta .btn-download {
        font-size: 1.25rem;
        padding: 20px 48px;
    }

    /* Social icons */
    .social-icon {
        width: 48px;
        height: 48px;
    }

    .social-icon svg {
        width: 24px;
        height: 24px;
    }

    /* Footer — row layout */
    .footer-inner {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
        gap: 20px;
    }

    .footer-nav {
        gap: 8px 28px;
    }

    .footer-nav ul {
        gap: 8px 28px;
    }

    .footer-copyright {
        text-align: center;
    }
}


/* --- Desktop large (≥ 1140px) --- */
@media (min-width: 1140px) {

    .container {
        padding: 0 15px;
    }
}


/* --- Prefers reduced motion --- */
@media (prefers-reduced-motion: reduce) {

    .animate-on-scroll {
        opacity: 1;
        transform: none;
        transition: none;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}


/* --- Print --- */
@media print {

    .header,
    .footer,
    .social-icons,
    .social-section,
    .btn-download,
    .btn-secondary,
    .nav-toggle,
    .hero-shape,
    .download-buttons,
    .download-cta {
        display: none !important;
    }

    body {
        color: #000000;
        background: #FFFFFF;
    }

    a {
        color: #000000;
        text-decoration: underline;
    }

    section {
        padding: 20px 0;
    }
}


/* ============================================================
   TOAST DE DOWNLOAD — feedback pos-clique, some sozinho
   ============================================================ */
.download-toast {
    position: fixed;
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    left: 50%;
    transform: translateX(-50%) translateY(120px);
    z-index: 9999;
    width: calc(100% - 32px);
    max-width: 420px;
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.2), opacity 0.3s ease;
    pointer-events: none;
}

.download-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.download-toast-inner {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #1f2937;
    color: #ffffff;
    border-left: 4px solid #61CE70;
    border-radius: 12px;
    padding: 14px 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    font-family: 'Roboto', sans-serif;
}

.download-toast-icon {
    font-size: 1.4rem;
    color: #61CE70;
    line-height: 1;
    margin-top: 2px;
}

.download-toast-text strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 3px;
}

.download-toast-text span {
    display: block;
    font-size: 0.8rem;
    color: #d1d5db;
    line-height: 1.45;
}
