/* ============================= */
/* IMPORTS & VARIÁVEIS */
/* ============================= */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&family=Zalando+Sans+SemiExpanded:ital,wght@0,200..900;1,200..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&display=swap');


:root {
    --fundo: #ffffff;
    --cor-escura: #0D0D0D;
    --cor-principal: #007bff;
    --cor-secundaria: #f0872a;

    /* Fontes responsivas */
    --h1: clamp(1.8rem, 4vw, 2.6rem);
    --h2: clamp(1.6rem, 3vw, 2rem);
    --texto: clamp(0.95rem, 2.4vw, 1.1rem);
}

/* ============================= */
/* RESET */
/* ============================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background: var(--fundo);
    color: var(--cor-escura);
    line-height: 1.5;
}

/* ============================= */
/* HEADER */
/* ============================= */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 10%;
    background: var(--fundo);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 100;

    transition: background-color .30s ease, padding .30s ease, box-shadow .30s ease;
}

/* Regras de estado SCROLLED (aplica-se por padrão ao desktop) */
#header.scrolled {
    background-color: var(--cor-principal);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    padding: 12px 10%;
}

/* 🟢 LINKS E ÍCONES: BRANCO NO MODO SCROLLED (PARA DESKTOP) */
#header.scrolled nav ul li a,
#header.scrolled .drop-toggle,
#header.scrolled .drop-toggle i {
    color: #ffffff;
}

#header.scrolled nav ul li a:hover {
    color: #ccc;
}

/* ÍCONE DO TOGGLE BRANCO NO DESKTOP SCROLLED */
#header.scrolled .menu-toggle div {
    background-color: #ffffff;
}

/* FIM DAS REGRAS SCROLLED DESKTOP */


.logo {
    width: 250px;
    filter: brightness(0);
}

/* inverter o logo (se quiser branco) - mantém sua regra original */
#header.scrolled #logo {
    filter: brightness(0) invert(1);
}

/* MENU DESKTOP */
nav ul {
    display: flex;
    list-style: none;
    gap: 26px;
}

nav ul li a {
    text-decoration: none;
    color: var(--cor-escura);
    font-weight: 500;
    font-size: var(--texto);
    transition: .3s;
}

nav ul li a:hover {
    color: gray;
}

/* MENU MOBILE */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle div {
    width: 28px;
    height: 3px;
    background: var(--cor-escura);
    transition: .3s;
    border-radius: 2px;
}

.menu-toggle.active div:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active div:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active div:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ============================= */
/* HERO */
/* ============================= */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 70px 10%;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-text {
    max-width: 520px;
}

.hero-text h1 {
    font-size: var(--h1);
    /* Usando variável para responsividade */
    margin-bottom: 16px;
    line-height: 1.18;
    font-weight: 700;
    /* Adicionado peso para destaque */
}

.hero-text p {
    font-size: var(--texto);
    margin-bottom: 22px;
    color: #475569;
}

.hero-text button {
    padding: 14px 22px;
    border-radius: 10px;
    border: none;
    background: var(--cor-principal);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    font-size: 1.05rem;
    transition: .3s;
}

.hero-text button:hover {
    background: #1485fd;
}

/* MOCKUP */
.mock-box {
    width: clamp(240px, 40vw, 320px);
    height: clamp(340px, 50vw, 440px);
    background: linear-gradient(180deg, #e0f2fe, #fff);
    border-radius: 22px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}


/* ============================= */
/* FUNCIONALIDADES */
/* ============================= */
.funcionalidades {
    padding: 80px 10%;
    text-align: center;
    background: #007bff;
    color: white;
}

.func-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}

.func-item {
    background: #1485fd;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
    transition: .3s;
}

.func-item:hover {
    transform: translateY(-6px);
}

.funcionalidades p {
    padding-bottom: 25px;
    color: white;
    font-size: 1.1rem;
}

.fa-solid {
    color: white;
}

/* ============================= */
/* SOBRE - MELHORADO */
/* ============================= */
.sobre {
    background: #007bff;
    padding: 100px 10%;
    color: #ffffff;
}

.sobre .container {
    max-width: 1200px;
    margin: 0 auto;
}

.sobre-header {
    max-width: 720px;
    margin-bottom: 70px;
}

.sobre-header h2 {
    font-size: clamp(2rem, 4vw, 2.6rem);
    font-weight: 800;
    margin-bottom: 14px;
}

.sobre-header p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #ffffff;
}

/* Cards */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    margin-bottom: 70px;
}

.card {
    background: #1485fd;
    padding: 34px 30px;
    border-radius: 22px;
    border: 1px solid;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 70px rgba(13, 109, 199, 0.45);
}

.card.destaque {
    border: 1px solid #ffffff;
    background: #0D0D0D;
}

.titulo-icone {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.titulo-icone i {
    font-size: 1.2rem;
    color: #ffffff;
}

.card h3 {
    font-size: 1.25rem;
    font-weight: 700;
}

.card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #ffffff;
}

/* Texto institucional */
.sobre-texto {
    max-width: 820px;
}

.sobre-texto p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #ffffff;
    margin-bottom: 16px;
}


/* ============================= */
/* FOOTER */
/* ============================= */
.footer {
    background: #007bff;
    color: #ffffff;
    padding: 70px 10% 30px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

/* Branding */
.footer-brand img {
    width: 180px;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #ffffff;
    max-width: 300px;
}

/* Links */
.footer-links h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #ffffff;
}

.footer-links ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: #ffffff;
}

/* Bottom */
.footer-bottom {
    border-top: 1px solid #1f1f1f;
    margin-top: 50px;
    padding-top: 20px;
    text-align: center;
    font-size: 0.85rem;
    color: #ffffff;
}

/* RESPONSIVO */
@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer {
        padding: 60px 7% 30px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-brand p {
        max-width: 100%;
    }
}


/* ============================= */
/* RESPONSIVIDADE */
/* ============================= */
@media (max-width: 900px) {
    .hero {
        padding: 50px 7%;
        text-align: center;
    }

    .hero-text button {
        width: 100%;
    }

    nav ul {
        gap: 18px;
    }
}

@media (max-width: 768px) {

    /* Menu */
    .menu-toggle {
        display: flex;
    }

    nav ul {
        display: none;
        flex-direction: column;
        background: #fff;
        position: absolute;
        top: 70px;
        right: 5%;
        width: 75%;
        padding: 26px;
        border-radius: 14px;
        box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
        gap: 20px;
    }

    nav ul.show {
        display: flex;
    }

    /* Hero */
    .hero {
        flex-direction: column;
        gap: 32px;
    }

    .mock-box {
        margin-top: 20px;
    }

    /* Features */
    .features {
        grid-template-columns: 1fr;
        padding: 50px 7%;
    }

    /* Contato */
    .conteudo-contato {
        flex-direction: column;
    }

    /* Funcionalidades */
    .func-grid {
        grid-template-columns: 1fr;
        padding: 50px 7%;
    }

    .logo {
        width: 180px;
    }

}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.7rem;
    }

    .mock-box {
        width: 220px;
        height: 320px;
    }

    nav ul {
        width: 85%;
        right: 7%;
    }
}


/* --- WhatsApp Icon + Bubble --- */
.whatsapp-wrapper {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1300;
}

.whatsapp-float {
    background: #25D366;
    color: #fff;
    font-size: 22px;
    border-radius: 50%;
    padding: 14px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    transition: transform 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-float:hover {
    transform: scale(1.08);
}

/* Balão animado */
.whatsapp-bubble {
    position: absolute;
    right: 70px;
    bottom: 8px;
    background: #ffffff;
    color: #111;
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.whatsapp-bubble.show {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================================= */
/* DROPDOWN / SUBMENU & CORES DO HEADER SCROLLED */
/* ========================================================= */

/* ----- ESTADO NORMAL (header branco) ----- */
.dropdown {
    position: relative;
    list-style: none;
    /* Garantindo que não tenha marcador de lista */
}

.drop-toggle {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: var(--cor-escura);
    transition: .25s;
}

.drop-toggle i {
    color: var(--cor-escura);
    transition: .25s;
}

.submenu {
    display: none;
    position: absolute;
    top: 42px;
    left: 0;
    background: #ffffff;
    padding: 14px 18px;
    border-radius: 12px;
    min-width: 200px;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.12);
    list-style: none;
    z-index: 900;
}

.submenu li {
    margin: 8px 0;
    list-style: none;
}

.submenu li a {
    color: var(--cor-escura);
    text-decoration: none;
    padding: 6px 0;
    display: block;
    transition: .25s;
}

.submenu li a:hover {
    color: gray;
}

.dropdown.open .submenu {
    display: block;
}

.dropdown.open .drop-toggle i {
    transform: rotate(180deg);
}

/* ----- MODO SCROLLED (header colorido) - Desktop (Regras já movidas acima) ----- */
#header.scrolled .drop-toggle {
    color: #ffffff;
}

#header.scrolled .drop-toggle i {
    color: #ffffff;
}

#header.scrolled .submenu {
    background: #ffffff;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.18);
}

#header.scrolled .submenu li a {
    color: var(--cor-escura);
}

#header.scrolled .submenu li a:hover {
    color: gray;
}


/* ======================================= */
/* DIVISOR CURVADO ENTRE SECTIONS (Última Versão) */
/* ======================================= */

/* --- Divisor Esquerdo (entra pela esquerda) --- */
.divisor-curvo {
    position: relative;
    width: 100%;
    height: 80px;
    overflow: hidden;
}

.divisor-curvo::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 280px;
    height: 100%;
    background: var(--cor-secundaria);
    /* cor da próxima section (roxo do contato/hero) */
    border-bottom-right-radius: 50px;
    /* curva */
}


/* --- Divisor Direito (entra pela direita) --- */
.divisor-direito {
    position: relative;
    width: 100%;
    height: 80px;
    overflow: hidden;
}

.divisor-direito::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 280px;
    height: 100%;
    background: var(--cor-secundaria);
    /* Corrigido para a cor da próxima seção, que é 'sobre' */
    border-top-left-radius: 50px;
    /* curva invertida */
}


/* ============================= */
/* RESPONSIVIDADE */
/* ============================= */
@media (max-width: 900px) {
    .hero {
        padding: 50px 7%;
        text-align: center;
    }

    .hero-text button {
        width: 100%;
    }

    nav ul {
        gap: 18px;
    }
}

@media (max-width: 768px) {

    /* 🔴 LINKS: PRETO FORÇADO NO MOBILE (Independente do estado scrolled) */
    /* Para garantir a visibilidade sobre o fundo branco do menu flutuante. */
    #header nav ul li a,
    #header.scrolled nav ul li a {
        color: var(--cor-escura) !important;
    }

    /* Garante que o hover também seja em tom escuro */
    #header nav ul li a:hover,
    #header.scrolled nav ul li a:hover {
        color: gray !important;
    }

    /* Força o ícone de drop-down e links para escuro no mobile */
    .drop-toggle,
    .drop-toggle i {
        color: var(--cor-escura) !important;
    }

    /* ⚪ ÍCONE DO MENU TOGGLE: BRANCO QUANDO SCROLLED NO MOBILE */
    /* Cor padrão do ícone (quando o header está branco) */
    .menu-toggle div {
        background-color: var(--cor-escura);
    }

    #header.scrolled .menu-toggle div {
        /* Força a cor BRANCA quando o header está roxo (scrolled) no mobile */
        background-color: #ffffff !important;
    }

    /* Regras específicas para o submenu (dropdown) no mobile */
    .submenu,
    #header.scrolled .submenu {
        background: transparent;
        /* Garante que o dropdown não tenha fundo (usa o fundo do nav) */
        box-shadow: none;
        /* Remove a sombra */
    }

    .submenu li a,
    #header.scrolled .submenu li a {
        color: var(--cor-escura) !important;
        /* Links do submenu mobile sempre escuros */
    }

    /* FIM DA CORREÇÃO MOBILE */


    /* Menu */
    .menu-toggle {
        display: flex;
    }

    nav ul {
        display: none;
        flex-direction: column;
        background: #fff;
        position: absolute;
        top: 70px;
        right: 5%;
        width: 75%;
        padding: 26px;
        border-radius: 14px;
        box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
        gap: 20px;
    }

    nav ul.show {
        display: flex;
    }

    /* Dropdown no Mobile */
    .submenu {
        top: 0;
        position: relative;
        background: transparent;
        box-shadow: none;
        padding: 10px 0 10px 20px;
        margin-top: 5px;
        min-width: unset;
    }

    /* Hero */
    .hero {
        flex-direction: column;
        gap: 32px;
    }

    .mock-box {
        margin-top: 20px;
    }

    /* Contato */
    .contato {
        padding: 50px 6%;
    }

    .conteudo-contato {
        flex-direction: column;
        gap: 30px;
    }

    .form-contato button {
        width: 100%;
    }

    /* Funcionalidades */
    .func-grid {
        grid-template-columns: 1fr;
    }

    .funcionalidades {
        padding: 50px 7%;
    }

    .logo {
        width: 150px;
    }
}

@media (max-width: 600px) {
    .whatsapp-bubble {
        font-size: 0.8rem;
        right: 60px;
        bottom: 6px;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.7rem;
    }

    .mock-box {
        width: 220px;
        height: 320px;
    }

    nav ul {
        width: 85%;
        right: 7%;
    }
}

/* ================================
   SECTION BASE
================================ */
.pricing {
    padding: 96px 24px;
    background: linear-gradient(180deg,
            #ffffff 0%,
            #f5f5f5 100%);
    font-family: 'Space Grotesk', Arial, Helvetica, sans-serif
}

/* ================================
   HEADER
================================ */
.pricing-header {
    max-width: 640px;
    margin: 0 auto 64px;
    text-align: center;
}

.pricing-header h2 {
    font-size: clamp(2rem, 4vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #000000;
    margin-bottom: 12px;
}

.pricing-header p {
    font-size: 1.05rem;
    color: #444444;
    line-height: 1.6;
}

/* ================================
   GRID
================================ */
.pricing-cards {
    max-width: 1150px;
    margin: 0 auto;
    display: grid;
    gap: 32px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* ================================
   CARD BASE
================================ */
.pricing-card {
    position: relative;
    background: #ffffff;
    border-radius: 24px;
    padding: 44px 36px;
    border: 1px solid #e5e5e5;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.06),
        0 2px 6px rgba(0, 0, 0, 0.04);
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.12),
        0 16px 32px rgba(0, 0, 0, 0.08);
    border-color: #000000;
}

/* ================================
   CONTENT
================================ */
.pricing-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 16px;
}

.price {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #000000;
    margin-bottom: 8px;
}

.price span {
    font-size: 1rem;
    font-weight: 500;
    color: #555555;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 32px 0 40px;
}

.pricing-card ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: #333333;
    margin-bottom: 14px;
}

.pricing-card ul li::before {
    content: "✓";
    font-weight: 700;
    color: #000000;
}

/* ================================
   BUTTON
================================ */
.pricing-card button {
    width: 100%;
    padding: 16px 0;
    border-radius: 14px;
    background: #007bff;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease;
}

.pricing-card button:hover {
    background: #ffffff;
    color: #007bff;
    transform: translateY(-2px);
}

/* ================================
   FEATURED PLAN
================================ */
.pricing-card.featured {
    background: #007bff;
    color: #f5f5f5;
    border: none;
    transform: scale(1.06);

}

.pricing-card.featured h3,
.pricing-card.featured .price {
    color: #ffffff;
}

.pricing-card.featured .price span {
    color: #cccccc;
}

.pricing-card.featured ul li {
    color: #e5e5e5;
}

.pricing-card.featured ul li::before {
    color: #ffffff;
}

.pricing-card.featured button {
    background: #ffffff;
    color: #000000;
    border: none;
}

.pricing-card.featured button:hover {
    background: #e5e5e5;
    box-shadow: 0 14px 40px rgba(255, 255, 255, 0.35);
}

/* ================================
   BADGE
================================ */
.badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #e67e22;
    color: #ffffff;
    padding: 6px 18px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 999px;
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 640px) {
    .pricing {
        padding: 72px 16px;
    }

    .pricing-card.featured {
        transform: scale(1);
    }
}


/* ============================= */
/* PARA QUEM É O SISTEMA */
/* ============================= */
.publico-alvo {
    padding: 100px 10%;
    background: #ffffff;
}

.publico-alvo .container {
    max-width: 1200px;
    margin: 0 auto;
}

.publico-header {
    max-width: 700px;
    margin-bottom: 70px;
}

.publico-header h2 {
    font-size: clamp(2rem, 4vw, 2.6rem);
    font-weight: 800;
    margin-bottom: 14px;
    color: #000;
}

.publico-header p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #444;
}

/* Grid */
.publico-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
}

.publico-card {
    background: #ffffff;
    padding: 36px 28px;
    border-radius: 22px;
    border: 1px solid #e5e5e5;
    text-align: left;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}


.publico-card i {
    font-size: 1.6rem;
    margin-bottom: 18px;
    color: #000;
}

.publico-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #000;
}

.publico-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #333;
}

/* RESPONSIVO */
@media (max-width: 768px) {
    .publico-alvo {
        padding: 80px 7%;
    }
}



/* ============================= */
/* COMO FUNCIONA */
/* ============================= */
.como-funciona {
    padding: 90px 10%;
    background: #ffffff;
    text-align: center;
}

.como-funciona h2 {
    font-size: clamp(2rem, 4vw, 2.6rem);
    font-weight: 800;
    margin-bottom: 12px;
    color: #0D0D0D;
}

.como-funciona .subtitle {
    max-width: 640px;
    margin: 0 auto 60px;
    font-size: 1.05rem;
    color: #444;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.step {
    background: #ffffff;
    border-radius: 22px;
    padding: 36px 28px;
    border: 1px solid #e5e5e5;
    box-shadow:
        0 10px 28px rgba(0, 0, 0, 0.06),
        0 4px 10px rgba(0, 0, 0, 0.04);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}


.step-number {
    display: inline-block;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #ffffff;
    background: #007bff;
    padding: 10px 16px;
    border-radius: 999px;
    margin-bottom: 18px;
}

.step h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #000000;
}

.step p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #333333;
}

/* RESPONSIVO */
@media (max-width: 768px) {
    .como-funciona {
        padding: 70px 7%;
    }
}





/* Adicione ao final do seu style.css */

@media (max-width: 768px) {
    /* Esconde a seção Funcionalidades e os divisores vizinhos a ela */
    section#funcionalidades,
    .hero + .divisor-direito,
    #funcionalidades + .divisor-curvo {
        display: none;
    }

    /* Configuração dos Carrosséis */
    .publico-carousel-wrapper, .steps-carousel-wrapper {
        overflow: hidden;
        width: 100%;
        touch-action: pan-y;
    }

    .publico-grid, .steps {
        display: flex;
        flex-wrap: nowrap;
        transition: transform 0.4s ease-out;
        gap: 0;
    }

    .publico-card, .step {
        flex: 0 0 100%;
        max-width: 100%;
        margin: 0;
    }

    /* Estilo dos Indicadores (Pontinhos) */
    .carousel-indicators {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-top: 20px;
    }

    .dot {
        width: 10px;
        height: 10px;
        background-color: #ccc;
        border-radius: 50%;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .dot.active {
        background-color: var(--cor-principal);
        width: 25px;
        border-radius: 5px;
    }
}

/* Esconde indicadores no Desktop */
@media (min-width: 769px) {
    .carousel-indicators {
        display: none;
    }
}



@media (max-width: 768px) {
    /* Esconde a seção de funcionalidades */
    .funcionalidades, #funcionalidades { 
        display: none !important; 
    }

    .publico-carousel-wrapper {
        overflow: hidden;
        width: 100%;
        touch-action: pan-y; /* Permite scroll vertical da página, mas captura o horizontal */
    }

    .publico-grid {
        display: flex !important;
        flex-wrap: nowrap;
        transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        gap: 0 !important;
    }

    .publico-card {
        flex: 0 0 100%;
        padding: 40px 20px;
    }

    .carousel-indicators {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-top: 20px;
    }

    .dot {
        width: 10px;
        height: 10px;
        background: #ccc;
        border-radius: 50%;
        transition: 0.3s;
    }

    .dot.active {
        background: var(--cor-principal);
        width: 25px;
        border-radius: 5px;
    }
}

@media (min-width: 769px) {
    .carousel-indicators { display: none; }
}



/* sistema para o .step */
@media (max-width: 768px) {
    /* Esconde funcionalidades conforme pedido anteriormente */
    .funcionalidades, #funcionalidades { 
        display: none !important; 
    }

    /* Configuração do Carrossel de Steps */
    .steps-carousel-wrapper {
        overflow: hidden;
        width: 100%;
        touch-action: pan-y;
        padding: 20px 0;
    }

    .steps {
        display: flex !important; /* Muda de grid para flex no mobile */
        flex-wrap: nowrap;
        transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        gap: 0 !important;
    }

    .step {
        flex: 0 0 100%; /* Cada passo ocupa a tela toda */
        margin: 0;
        border: none;
    }

    /* Indicadores */
    .carousel-indicators {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-top: 15px;
    }

    .dot {
        width: 10px;
        height: 10px;
        background: #ccc;
        border-radius: 50%;
        cursor: pointer;
        transition: 0.3s;
    }

    .dot.active {
        background: var(--cor-principal);
        width: 25px;
        border-radius: 5px;
    }
}

/* Garante que os indicadores não apareçam no Desktop */
@media (min-width: 769px) {
    #stepsIndicators { display: none; }
}

@media (min-width: 769px) {
    #stepsIndicators, #carouselIndicators { 
        display: none; 
    }
}