/* ==========================================================================
   CSS VARIÁVEIS E SETUP INICIAL
   ========================================================================== */

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

:root {
    /* Cores Primárias */
    --color-primary: #009952;
    /* Verde Dalla Studio */
    --color-primary-dark: #006d3a;
    /* Verde mais escuro para ênfase */
    --color-primary-light: #33ad74;

    /* Fundos */
    --bg-white: #FFFFFF;
    --bg-light: #ebf6f1;
    /* Verde bem claro para fundo de telas */
    --bg-card: #F4F7FE;
    --bg-dark-blue: #0A1930;

    /* Textos */
    --text-dark: #006d3a;
    /* Ajustado para o verde escuro como cor de ênfase (ou #0F172A se preferir preto) */
    --text-body: #475569;
    --text-light: #FFFFFF;
    --text-primary: #009952;

    /* Bordas e Sombras */
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --border-radius-pill: 50px;

    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    --shadow-glass: 0 8px 32px 0 rgba(0, 30, 100, 0.1);
}

/* ==========================================================================
   RESETS BÁSICOS
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-body);
    background-color: var(--bg-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

ul {
    list-style: none;
}

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

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   UTILITÁRIOS (BOTÕES)
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--border-radius-pill);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--bg-white);
    color: var(--color-primary);
}

.btn-primary:hover {
    background-color: #f1f5f9;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--text-light);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 24px 0;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-light);
    letter-spacing: -0.05em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-dark);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.text-cursive {
    font-family: 'Caveat', cursive;
    font-size: 1.15em;
    font-weight: 700;
    display: inline-block;
    transform: rotate(-2deg);
    /* Dá um charme extra de escrita à mão */
    color: #e2f5ec;
    /* Um tom super leve de verde para destacar sutilmente */
}

/* Criando o ícone do logo via CSS para simular o print */
.logo-icon {
    width: 24px;
    height: 24px;
    background-color: var(--text-light);
    border-radius: 50%;
    position: relative;
    overflow: hidden;
}

.logo-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    background-color: var(--color-primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-links a:hover {
    opacity: 0.8;
}

.chevron {
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-top: -4px;
    display: inline-block;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.btn-login {
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.95rem;
}

.btn-login:hover {
    opacity: 0.8;
}

.btn-cadastro {
    background-color: var(--bg-white);
    color: var(--color-primary);
    padding: 10px 24px;
    border-radius: var(--border-radius-pill);
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.btn-cadastro i {
    font-size: 1.15rem;
}

/* Botão do menu (só aparece no celular) */
.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: transparent;
    color: var(--text-light);
    font-size: 1.4rem;
    cursor: pointer;
}

.btn-cadastro:hover {
    background-color: #f1f5f9;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    background-color: var(--color-primary);
    /* Degradê discreto em tons vizinhos do verde da marca, deslizando devagar */
    background-image: linear-gradient(120deg,
            #007a44 0%,
            #009952 30%,
            #00a07a 55%,
            #009952 75%,
            #006d3a 100%);
    background-size: 250% 250%;
    animation: hero-degrade 22s ease-in-out infinite alternate;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 160px;
    /* Mais espaço pro header */
    padding-bottom: 80px;
    /* Reduzindo a altura extra no fundo */
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content {
    color: var(--text-light);
    max-width: 680px;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-light);
    letter-spacing: -0.03em;
}

.hero-content p {
    font-size: 1.25rem;
    line-height: 1.5;
    margin-bottom: 40px;
    opacity: 0.9;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    align-items: center;
}

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

.hero-image-wrapper img {
    border-radius: 20px;
    max-width: 90%;
    z-index: 1;
}

.hero-image-wrapper .hero-photo {
    width: 450px;
    height: 600px;
    object-fit: cover;
    object-position: 50% 50%;
    border-radius: 30px;
}

/* Tags Flutuantes (Glassmorphism) */
.glass-tag {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--text-light);
    padding: 12px 20px;
    border-radius: var(--border-radius-pill);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 2;
    box-shadow: var(--shadow-glass);
}

.glass-tag .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-size: 0.8rem;
}

.tag-top-left {
    top: 12%;
    left: -5%;
}

.tag-bottom-left {
    bottom: 12%;
    left: 2%;
}

.tag-right {
    top: 14%;
    right: -8%;
}

.tag-bottom-right {
    bottom: 17%;
    right: 0%;
}

/* Notebooks menores: o balão da direita não pode passar da borda da tela */
@media (max-width: 1400px) {
    .tag-right {
        right: -1%;
    }
}

/* Balões flutuando: cada um com duração e atraso próprios, pra não andarem juntos */
@keyframes flutuar {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(var(--flutuar-x, 0px), var(--flutuar-y, -14px));
    }
}

.hero-image-wrapper .glass-tag {
    animation: flutuar 5s ease-in-out infinite;
    will-change: transform;
}

.hero-image-wrapper .tag-top-left {
    --flutuar-x: 6px;
    --flutuar-y: -14px;
    animation-duration: 5.2s;
}

.hero-image-wrapper .tag-right {
    --flutuar-x: -8px;
    --flutuar-y: 12px;
    animation-duration: 6.4s;
    animation-delay: -1.8s;
}

.hero-image-wrapper .tag-bottom-left {
    --flutuar-x: 8px;
    --flutuar-y: -10px;
    animation-duration: 5.8s;
    animation-delay: -3.1s;
}

.hero-image-wrapper .tag-bottom-right {
    --flutuar-x: -5px;
    --flutuar-y: -16px;
    animation-duration: 7s;
    animation-delay: -0.9s;
}

@keyframes hero-degrade {
    0% {
        background-position: 0% 30%;
    }
    100% {
        background-position: 100% 70%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-image-wrapper .glass-tag,
    .hero {
        animation: none;
    }
}

/* ==========================================================================
   INTEGRATION STRIP (FONTES DE DADOS)
   ========================================================================== */
.integration-strip {
    background-color: #F8FAFC;
    /* Cinza claro estilo Controlle */
    padding: 60px 0;
    border-bottom: 1px solid #e2e8f0;
}

.strip-title {
    text-align: center;
    color: var(--text-body);
    font-size: 1.15rem;
    font-weight: 500;
    margin-bottom: 40px;
}

.integration-grid {
    display: flex;
    justify-content: center;
    gap: 60px;
    align-items: center;
    flex-wrap: wrap;
}

.integration-item {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.1rem;
}

.integration-icon {
    width: 48px;
    height: 48px;
    background-color: var(--bg-light);
    color: var(--color-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: var(--shadow-sm);
}

.badge-sob-demanda {
    background-color: #f1f5f9;
    color: #64748b;
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 4px;
    margin-left: 8px;
    font-weight: 500;
    vertical-align: middle;
}

/* ==========================================================================
   FEATURES SECTION
   ========================================================================== */
.features {
    padding: 100px 0;
    background-color: var(--bg-white);
    border-bottom: 1px solid #e2e8f0;
}

.features-header {
    text-align: center;
    margin-bottom: 60px;
}

.features-header .overline {
    display: block;
    color: var(--color-primary);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.features-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-dark);
}

.features-layout {
    display: flex;
    gap: 60px;
    align-items: stretch;
}

.features-tabs {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 280px;
    flex-shrink: 0;
    padding-top: 20px;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 16px 20px;
    background: transparent;
    border: none;
    border-radius: var(--border-radius-md);
    text-align: left;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-body);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.tab-btn i {
    font-size: 1.35rem;
    color: #94a3b8;
    transition: color 0.3s ease;
}

.tab-btn:hover {
    background-color: #f8fafc;
}

.tab-btn.active {
    background-color: var(--bg-light);
    color: var(--color-primary);
}

.tab-btn.active i {
    color: var(--color-primary);
}

.features-content-area {
    flex: 1;
    background-color: #F8FAFC;
    border-radius: var(--border-radius-lg);
    padding: 40px;
    position: relative;
    min-height: 400px;
}

.tab-content {
    display: none;
    align-items: center;
    gap: 40px;
    animation: fadeIn 0.4s ease forwards;
}

.tab-content.active {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.tab-image {
    flex: 2;
    /* Aumenta bastante a proporção da imagem */
    display: flex;
    justify-content: center;
    width: 100%;
}

.tab-image img,
.tab-image video {
    width: 100%;
    max-width: 100%;
    /* Remove limite duro para preencher o flex */
    height: auto;
}

.tab-video {
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background-color: #f1f5f9;
}

.tab-overline .badge-sob-demanda {
    margin-left: 8px;
    letter-spacing: normal;
    text-transform: none;
}

.tab-text {
    flex: 1;
    /* Texto ocupa a parte menor */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 280px;
    /* Garante que o texto não esmague muito */
}

.tab-overline {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.tab-text h3 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.tab-text p {
    font-size: 1.05rem;
    color: var(--text-body);
    margin-bottom: 24px;
    line-height: 1.6;
}

.tab-link {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 1rem;
}

.tab-link:hover {
    text-decoration: underline;
}

.features-cta {
    text-align: center;
    margin-top: 80px;
}

/* Responsivo Features */
@media (max-width: 992px) {
    .features-layout {
        flex-direction: column;
        gap: 32px;
    }

    .features-tabs {
        width: 100%;
        flex-direction: row;
        overflow-x: auto;
        padding-top: 0;
        padding-bottom: 16px;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .features-tabs::-webkit-scrollbar {
        display: none;
    }

    .tab-btn {
        white-space: nowrap;
        width: auto;
    }

    .tab-content {
        flex-direction: column;
        text-align: center;
    }

    .tab-text {
        align-items: center;
    }
}

/* ==========================================
   WHY US SECTION
   ========================================== */
.why-us {
    padding: 100px 0;
    background-color: var(--bg-white);
    text-align: center;
}

.why-header {
    margin-bottom: 60px;
}

.why-header .overline-title {
    color: var(--color-primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.why-header h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-top: 16px;
}

.why-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    text-align: left;
}

.why-accordion {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.accordion-item {
    border-left: 3px solid transparent;
    padding-left: 24px;
    margin-bottom: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.accordion-item.active {
    border-left-color: var(--color-primary);
}

.accordion-header h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.accordion-item.active .accordion-header h3 {
    color: var(--color-primary);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease, margin 0.4s ease;
    opacity: 0;
}

.accordion-item.active .accordion-body {
    max-height: 200px;
    opacity: 1;
    margin-bottom: 16px;
}

.accordion-body p {
    color: var(--text-body);
    font-size: 1rem;
    line-height: 1.6;
    margin-top: 8px;
}

.why-images-wrapper {
    flex: 1;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.why-images-wrapper img {
    width: 100%;
    height: auto;
    display: none;
    transition: opacity 0.3s ease;
    opacity: 0;
    object-fit: cover;
    aspect-ratio: 4/3;
}

.why-images-wrapper img.active {
    display: block;
    opacity: 1;
}

.why-badges {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    margin-top: 60px;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.9rem;
    background: #f1f5f9;
    padding: 8px 16px;
    border-radius: 100px;
    border: 1px solid #e2e8f0;
}

.badge-item i {
    color: var(--color-primary);
    font-size: 1.2rem;
}

@media (max-width: 992px) {
    .why-layout {
        flex-direction: column;
    }
}

/* ==========================================
   TEAM SECTION
   ========================================== */
.team-section {
    padding: 100px 0 0 0;
    background-color: #F4F7FE;
    /* Light blue/gray matching the reference */
    text-align: center;
    overflow: hidden;
}

.team-header {
    margin-bottom: 20px;
}

.team-header .overline-title {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-primary);
    display: block;
    margin-bottom: 16px;
}

.team-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--bg-dark-blue);
    margin-bottom: 24px;
    line-height: 1.2;
}

.team-header p {
    font-size: 1.1rem;
    color: var(--text-body);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.team-image-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.team-main-image {
    max-width: 100%;
    height: auto;
    mix-blend-mode: multiply;
    /* Helps blend the white background generated image into the light background */
    margin-bottom: -5px;
    /* Removes bottom space */
}

/* Team Floating Tags */
.team-tag {
    position: absolute;
    background-color: var(--bg-white);
    color: var(--bg-dark-blue);
    padding: 10px 20px;
    border-radius: var(--border-radius-pill);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 0.85rem;
    box-shadow: var(--shadow-sm);
    z-index: 2;
    border: 1px solid #e2e8f0;
}

.team-tag .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: #f1f5f9;
    border-radius: 50%;
    color: var(--color-primary);
    font-size: 0.9rem;
}

.tag-suporte {
    top: 32%;
    left: -12%;
}

.tag-consultivo {
    bottom: 22%;
    left: -18%;
}

.tag-guiada {
    top: 28%;
    right: -12%;
}

.tag-parceria {
    bottom: 22%;
    right: -18%;
}

@media (max-width: 992px) {
    .team-tag {
        position: relative;
        top: auto;
        bottom: auto;
        left: auto;
        right: auto;
        margin: 10px auto;
        width: max-content;
    }
}

/* ==========================================
   IS IT FOR YOU SECTION
   ========================================== */
.is-it-for-you {
    padding: 100px 0;
    background-color: var(--bg-white);
}

.is-it-for-you .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.is-it-for-you .overline-title {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-primary);
    display: block;
    margin-bottom: 16px;
}

.is-it-for-you h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--bg-dark-blue);
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.audience-card {
    background: var(--bg-white);
    border: 1px solid #f1f5f9;
    border-radius: var(--border-radius-md);
    padding: 32px 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.audience-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.audience-icon {
    width: 56px;
    height: 56px;
    background-color: var(--bg-light);
    border: 1px solid #d5ece0;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    margin-bottom: 24px;
    font-size: 1.75rem;
}

.audience-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--bg-dark-blue);
    margin-bottom: 12px;
    line-height: 1.4;
}

.audience-card p {
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.5;
}

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

.audience-footer p {
    font-size: 1.05rem;
    color: var(--text-body);
    margin-bottom: 24px;
}

.btn-primary-solid {
    background-color: var(--color-primary);
    color: var(--text-light);
    border-radius: var(--border-radius-pill);
    padding: 14px 32px;
}

.btn-primary-solid:hover {
    background-color: var(--color-primary-dark);
    color: var(--text-light);
    transform: translateY(-2px);
}

@media (max-width: 992px) {
    .audience-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .audience-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   FAQ SECTION
   ========================================== */
.faq-section {
    padding: 100px 0;
    background-color: #F8FAFC;
}

.faq-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.faq-section .overline-title {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-primary);
    display: block;
    margin-bottom: 16px;
}

.faq-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--bg-dark-blue);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid #e2e8f0;
    border-radius: var(--border-radius-md);
    margin-bottom: 16px;
    overflow: hidden;
    background-color: var(--bg-white);
    transition: all 0.3s ease;
}

.faq-item.active {
    border-color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.faq-header {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--bg-dark-blue);
    font-size: 1.05rem;
    transition: color 0.3s ease;
}

.faq-item.active .faq-header {
    color: var(--color-primary);
}

.faq-icon {
    font-size: 1.2rem;
    color: #94a3b8;
    transition: transform 0.3s ease, color 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--color-primary);
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 24px;
}

.faq-item.active .faq-body {
    max-height: 500px;
    /* Large enough to fit content */
    padding: 0 24px 24px 24px;
}

.faq-body p {
    color: var(--text-body);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================
   CTA SECTION
   ========================================== */
.cta-section {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.cta-box {
    background-color: var(--color-primary);
    border-radius: 24px;
    padding: 80px 40px;
    text-align: center;
    color: var(--text-light);
}

.cta-box h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 16px;
}

.cta-box p.cta-subtitle {
    font-size: 1.15rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-box .btn-white {
    background-color: var(--bg-white);
    color: var(--color-primary);
    padding: 16px 36px;
    border-radius: var(--border-radius-pill);
    font-size: 1.05rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-box .btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 24px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.cta-features span {
    display: flex;
    align-items: center;
    gap: 8px;
}

@media (max-width: 768px) {
    .cta-box {
        padding: 60px 20px;
    }

    .cta-box h2 {
        font-size: 2rem;
    }

    .cta-features {
        flex-direction: column;
        gap: 12px;
    }
}

/* ==========================================
   FOOTER E SCROLL SUAVE
   ========================================== */
html {
    scroll-behavior: smooth;
}

.footer {
    padding: 80px 0 40px;
    background-color: #F8FAFC;
    border-top: 1px solid #f1f5f9;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-column h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--bg-dark-blue);
    margin-bottom: 24px;
}

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

.footer-links li {
    margin-bottom: 16px;
}

.footer-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-body);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid #f1f5f9;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: var(--text-body);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--color-primary);
}

.footer-bottom p {
    color: var(--text-body);
    font-size: 0.9rem;
}

.footer-logo {
    height: 45px;
    width: auto;
}

/* Assinatura "Um software desenvolvido por Etiquetas Dalla" */
.footer-dev-by {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--text-body);
    font-size: 0.85rem;
    transition: opacity 0.3s ease;
}

.footer-dev-by:hover {
    opacity: 0.75;
}

.footer-dev-by img {
    height: 26px;
    width: auto;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-dev-by {
        flex-direction: column;
        gap: 8px;
    }
}

/* ==========================================
   MOBILE & RESPONSIVO GERAL
   ========================================== */
@media (max-width: 768px) {

    /* Header Fixes */
    .header {
        padding: 16px 0;
    }

    .header .container {
        flex-wrap: wrap;
    }

    /* Menu: escondido até tocar no botão ☰ */
    .nav-links {
        display: none;
        order: 3;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin-top: 16px;
        padding: 8px 0;
        background-color: var(--color-primary-dark);
        border-radius: var(--border-radius-md);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
    }

    .header.menu-aberto .nav-links {
        display: flex;
    }

    .nav-links a {
        padding: 14px 20px;
        font-size: 1rem;
    }

    .nav-links a + a {
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }

    .menu-toggle {
        display: inline-flex;
    }

    .nav-actions {
        gap: 10px;
    }

    .btn-cadastro {
        font-size: 0.85rem;
        padding: 8px 14px;
    }

    .hero-image-wrapper .hero-photo {
        width: 100%;
        max-width: 420px;
        height: auto;
        aspect-ratio: 3 / 4;
    }

    .header .logo img {
        height: 44px !important;
    }

    /* Hero */
    .hero-container {
        display: flex;
        flex-direction: column;
        text-align: center;
        padding-top: 80px;
        /* Add padding so header doesn't overlap */
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 16px;
    }

    .hero-image-wrapper .glass-tag {
        display: none !important;
        /* Hide glass tags on mobile to clean up */
    }

    /* Features */
    .features-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 10px;
        justify-content: flex-start;
    }

    .tab-btn {
        white-space: nowrap;
    }

    .features-layout {
        flex-direction: column;
    }

    /* Why Us / Accordion */
    .why-layout {
        flex-direction: column;
    }

    .why-images-wrapper {
        width: 100%;
    }

    /* Team Section Tags */
    .team-section {
        overflow: hidden;
    }

    .team-image-wrapper .glass-tag {
        position: relative;
        top: auto !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        margin: 10px auto;
        max-width: 250px;
        justify-content: center;
    }

    .team-image-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Integrações */
    .integration-grid {
        gap: 20px;
    }

    .integration-item {
        width: 100%;
        justify-content: flex-start;
    }
}

@media (max-width: 520px) {

    /* Telas estreitas: botão do WhatsApp só com o ícone */
    .btn-cadastro .btn-label {
        display: none;
    }

    .btn-cadastro {
        width: 42px;
        height: 42px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }

    .btn-cadastro i {
        font-size: 1.35rem;
    }
}
