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

:root {
    --primary: hsl(130, 100%, 21%);
    --primary-dark: hsl(130, 100%, 50%);
    --bg-hero: linear-gradient(135deg, hsl(0, 0%, 0%), hsl(130, 100%, 21%), hsl(130, 100%, 33%));
    --text-white: #ffffff;
    --text-gray: #a0aec0;
    --text-dark: #1a202c;
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --border-light: #e2e8f0;
    --font-main: 'Inter', sans-serif;
    --transition: all 0.3s ease;
    --container-width: 1200px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 15px;
}
.user-name {
    font-weight: 500;
    color: white;
}
#main-header.scrolled .user-name {
    font-weight: 500;
    color: var(--text-dark);
}

.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }
.w-full { width: 100%; }

/* BUTTONS */

.btn-login {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--primary);
    color: var(--text-white);
    border-radius: 50px;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

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

.btn-logout {
    border: none;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
    color: var(--text-white);
    background-color: var(--primary);
    cursor: pointer;
    transition: all 0.2s;
}

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

.btn-video {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-white);
    font-weight: 500;
}

.play-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

/* HEADER */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
}

#main-header.scrolled {
    left: 50%;
    width: 100%;
    transform: translateX(-50%);
    background-color: var(--bg-white);
    padding: 1px 0;
    margin: 0;
    box-shadow: 0 16px 50px rgba(0,0,0,0.08);
    border-bottom: 3px solid rgba(17, 42, 15, 0.432);
    border-radius: 0 0 15px 15px;
    transition: background-color 0.25s ease, padding 0.25s ease, box-shadow 0.25s ease;
}

#main-header.scrolled .logo {
    box-shadow: 0 5px 20px rgb(0, 0, 0);
    border-radius: 150px;
    padding: 8px 12px;
    background: hsl(130, 100%, 8%);
}

#main-header.scrolled .logo img {
    max-height: clamp(20px, 5vw, 35px);
}

.header-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 5px 16px;
}

.logo {
    margin-right: 0;
    flex: 0 0 auto;
    max-width: 240px;
}

.nav-pill {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex; /* Mobile first */
    justify-content: center;
    width: min(100%, 560px);
    max-width: 560px;
    min-width: 240px;
    flex: 0 0 auto;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-left: 0;
}

.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--text-white);
    transition: var(--transition);
}

#main-header.scrolled .mobile-menu-toggle span {
    background-color: var(--text-dark);
}

/* MOBILE MENU PANEL */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    transition: var(--transition);
}

.mobile-menu-overlay.active {
    right: 0;
}

.mobile-menu-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 300px;
    height: 100%;
    background: var(--bg-white);
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.mobile-menu-header .logo {
    color: var(--text-dark);
}

.mobile-menu-close {
    font-size: 30px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-nav-links li {
    margin-bottom: 20px;
}

.mobile-nav-links a {
    font-size: 18px;
    font-weight: 500;
}

.mobile-menu-footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* HERO SECTION */
.hero {
    min-height: 100vh;
    background: var(--bg-hero);
    padding-top: 150px;
    padding-bottom: 80px;
    display: flex;
    align-items: center;
    color: var(--text-white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Canvas de fundo animado */
#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    display: block;
    background: transparent;
    opacity: 0.95;
    mix-blend-mode: screen;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.tag {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: hsl(130, 100%, 50%);
    text-transform: uppercase;
    display: block;
    margin-bottom: 20px;
}

.hero-social-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin: 0 auto 24px;
    max-width: 260px;
}

.hero-social-icons .social-icon {
    width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
    border-radius: 50%;
    color: #ffffff;
    transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.hero-social-icons .social-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.18);
    opacity: 0.95;
}

.hero-social-icons .social-icon svg {
    width: 25px;
    height: 25px;
    fill: currentColor;
}

.hero-social-icons .social-icon.instagram {
    background-color: #E1306C;
    border-color: rgba(225,48,108,0.35);
}

.hero-social-icons .social-icon.whatsapp {
    background-color: #25D366;
    border-color: rgba(37,211,102,0.35);
}

.hero-social-icons .social-icon.linkedin {
    background-color: #0A66C2;
    border-color: rgba(10,102,194,0.35);
}

.hero-social-icons .social-icon.instagram:hover {
    background-color: #d92e61;
}

.hero-social-icons .social-icon.whatsapp:hover {
    background-color: #1ebf5b;
}

.hero-social-icons .social-icon.linkedin:hover {
    background-color: #0959b4;
}

/* Ajustes específicos para telas muito pequenas (até 375px) */
@media (max-width: 375px) {
    .hero h1 {
        font-size: clamp(2.5rem, 10vw, 36px);
    }

    .hero-word-wrapper {
        font-size: clamp(2rem, 8vw, 32px);
    }

    .section-title {
        font-size: 20px;
    }

    .btn-login,
    .btn-contact {
        padding: 10px 20px;
        font-size: 14px;
    }

    .mobile-menu-panel {
        width: 85%;
        max-width: 280px;
    }
}

@media (max-width: 640px) {
    .hero-social-icons {
        gap: 12px;
        max-width: 220px;
    }

    .hero-social-icons .social-icon {
        width: 40px;
        height: 40px;
    }
}

.hero h1 {
    display: block;
    width: 100%;
    font-size: 200px;
    font-weight: 700;
    line-height: 1.05;
    margin: 0 auto 20px;
    text-align: center;
}

.hero-word-wrapper {
    display: flex;
    justify-content: center;
    position: relative;
    overflow: visible;
    margin: 90px auto;
    width: 100%;
    font-size: clamp(6rem, 14vw, 300px);
    white-space: nowrap;
}

.hero-word {
    display: inline-block;
    color: #ffffff;
    text-shadow:
        0 0 1px rgba(0, 0, 0, 0.85),
        0 0 8px rgba(0, 255, 100, 0.28),
        0 0 18px rgba(0, 255, 120, 0.18),
        0 0 28px rgba(0, 255, 120, 0.12);
    transition: opacity 0.2s ease, transform 0.2s ease, color 0.2s ease;
    will-change: transform, opacity;
    animation: hero-glitch 2.8s infinite alternate-reverse;
}

.hero-word.is-morphing {
    opacity: 0.32;
    transform: scale(0.92);
}

@keyframes hero-glitch {
    0%, 40%, 100% {
        text-shadow:
            -2px 0 0 rgba(0, 243, 57, 0.85),
             2px 0 0 rgba(31, 134, 31, 0.75),
             0 0 18px rgba(0, 0, 0, 0.18);
        transform: translate(0, 0);
    }
    10% {
        text-shadow:
            -4px -1px 0 rgba(0, 243, 57, 0.85),
             4px 1px 0 rgba(31, 134, 31, 0.75),
             0 0 16px rgba(0, 0, 0, 0.18);
        transform: translate(-0.02em, -0.01em);
    }
    25% {
        text-shadow:
            -1px 2px 0 rgba(0, 243, 57, 0.85),
             1px -2px 0 rgba(31, 134, 31, 0.75),
             0 0 14px rgba(0, 0, 0, 0.18);
        transform: translate(0.015em, 0.03em);
    }
    55% {
        text-shadow:
            -3px 1px 0 rgba(0, 243, 57, 0.85),
             3px -1px 0 rgba(31, 134, 31, 0.75),
             0 0 20px rgba(0, 0, 0, 0.18);
        transform: translate(-0.01em, 0.02em);
    }
    75% {
        text-shadow:
            -2px -2px 0 rgba(0, 243, 57, 0.85),
             2px 2px 0 rgba(31, 134, 31, 0.75),
             0 0 15px rgba(0, 0, 0, 0.18);
        transform: translate(0.02em, -0.02em);
    }
}

.hero p {
    font-size: 16px;
    color: var(--text-gray);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btns {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.hero-social-proof {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 60px;
}

/* LOGO CAROUSEL */
.logo-carousel {
    width: 100%;
    overflow: hidden;
    margin-bottom: 60px;
    padding: 15px 0;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logo-track {
    display: flex;
    gap: 60px;
    width: max-content;
    animation: scroll 40s linear infinite;
}

.logo-item {
    font-weight: 800;
    font-size: clamp(16px, 4vw, 24px);
    color: var(--text-white);
    opacity: 0.4;
    letter-spacing: 1px;
    transition: var(--transition);
    white-space: nowrap;
}

.logo-item:hover {
    background-color: rgba(0, 0, 0, 0.534);
    align-items: center;
    justify-content: center;
    padding: 15px;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 40px)); }
}

/* MODAL LOGIN */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.534);
    align-items: center;
    justify-content: center;
}
.modal-content {
    background: #0a0a0a;
    padding: 1.5rem;
    border-radius: 20px;
    max-width: 400px;
    width: 100%;
    border: 1px solid hsl(130, 100%, 21%);
    position: relative;
}
.modal-close {
    position: absolute;
    top: 12px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #ccc;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-close:hover {
    color: hsl(130, 100%, 50%);
    display: flex;
    gap: 20px;
}
.form-group {
    margin-bottom: 1.2rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}
.form-group input {
    width: 100%;
    padding: 12px;
    background: #1a1a1a;
    border: 1px solid hsl(130, 100%, 21%);
    border-radius: 8px;
    color: #fff;
}
.login-message {
    margin-top: 1rem;
    font-size: 0.9rem;
    text-align: center;
}

.modal-content h2,
.modal-content label {
    color: #ffffff !important;
}

/* DASHBOARD MOCKUP */
.dashboard-mockup {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    background: #121827;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255,255,255,0.08);
    transform-origin: top center;
    transform: translateY(40px) scale(0.94);
    opacity: 0;
    transition: transform 0.45s ease, opacity 0.45s ease;
    will-change: transform, opacity;
}

.dashboard-mockup.visible {
    transform: translateY(0) scale(0.94);
    opacity: 1;
}

.dashboard-mockup.sticky {
    position: sticky;
    top: 100px;
    z-index: 20;
}

.dashboard-mockup.hidden {
    opacity: 0;
}

.chat-frame-header {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    padding: 15px 25px 15px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.chat-frame-header h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: #ffffff;
}

.chat-frame-header p {
    color: #cbd5e1;
    font-size: 14px;
    max-width: 450px;
}

.chat-status {
    font-size: 12px;
    color: #d1fae5;
    background: rgba(34,197,94,0.12);
    border: 1px solid rgba(34,197,94,0.2);
    border-radius: 999px;
    padding: 8px 14px;
    white-space: nowrap;
}

.mockup-body {
    display: flex;
    min-height: 460px;
}

.team-sidebar {
    width: 220px;
    background: #111827;
    border-right: 1px solid rgba(255,255,255,0.06);
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 22px;
}

.team-sidebar-header {
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
    font-weight: 700;
}

.team-user-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.team-user {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255,255,255,0.03);
    border: 1px solid transparent;
    color: #e2e8f0;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.team-user:hover,
.team-user.active {
    background: rgba(22,163,74,0.17);
    border-color: rgba(34,197,94,0.2);
    transform: translateX(1px);
}

.team-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.08);
    color: #ffffff;
    font-weight: 700;
}

.team-user strong {
    display: block;
    font-size: 14px;
    color: #ffffff;
}

.team-user small {
    display: block;
    color: #94a3b8;
    font-size: 12px;
}

.user-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #22c55e;
    margin-left: auto;
    box-shadow: 0 0 0 4px rgba(34,197,94,0.12);
}

.mockup-main {
    flex: 1;
    padding: 22px 26px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.chat-panel {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}

.chat-room-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 18px;
}

.chat-room-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
}

.chat-room-subtitle {
    color: #94a3b8;
    font-size: 13px;
    margin-top: 6px;
}

.chat-room-status {
    font-size: 12px;
    color: #d1fae5;
    background: rgba(30,64,175,0.12);
    border: 1px solid rgba(59,130,246,0.18);
    border-radius: 999px;
    padding: 8px 14px;
    white-space: nowrap;
}

.chat-messages {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
    flex: 1;
    overflow-y: auto;
    padding-right: 6px;
}

.chat-message {
    max-width: 80%;
    padding: 18px 20px;
    border-radius: 22px;
    color: #e2e8f0;
    line-height: 1.7;
    position: relative;
}

.chat-message.incoming {
    background: rgba(255,255,255,0.06);
    align-self: flex-start;
}

.chat-message.outgoing {
    background: rgba(22,163,74,0.18);
    align-self: flex-end;
}

.chat-message .chat-label {
    display: block;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 700;
    color: #f8fafc;
}

.chat-footer {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.chat-footer input {
    flex: 1;
    min-width: 0;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
    color: #f8fafc;
    outline: none;
}

.chat-footer input::placeholder {
    color: rgba(226,232,240,0.6);
}

.chat-footer button {
    padding: 16px 24px;
    border-radius: 18px;
    border: none;
    background: rgba(22,163,74,0.95);
    color: #ffffff;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.chat-footer button:hover {
    transform: translateY(-1px);
}

/* Hero Section Mobile */
@media (max-width: 767px) {
    .hero {
        padding-top: 120px;
        padding-bottom: 60px;
        min-height: auto;
    }

    .hero h1 {
        font-size: clamp(3rem, 12vw, 48px);
        line-height: 1.1;
        margin: 0 auto 15px;
    }

    .hero-word-wrapper {
        margin: 40px auto;
        font-size: clamp(2.5rem, 10vw, 42px);
    }

    .hero p {
        font-size: 14px;
        padding: 0 15px;
        margin-bottom: 20px;
    }

    .hero-btns {
        display: flex;
        justify-content: center;
        margin-top: 20px;
    }

    .btn-video {
        font-size: 14px;
        padding: 12px 20px;
    }

    .play-icon {
        width: 32px;
        height: 32px;
        font-size: 10px;
    }

    /* Dashboard Mockup Mobile */
    .dashboard-mockup {
        margin: 30px 10px;
        transform: scale(0.95);
        transform-origin: top center;
    }

    .dashboard-mockup.sticky {
        position: relative;
        top: auto;
        transform: none;
    }
}

/* Seções Gerais Mobile */
@media (max-width: 767px) {
    section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 30px;
        padding: 0 15px;
    }

    /* Pillars Mobile */
    .pillar-card {
        padding: 25px;
    }

    .pillar-icon {
        width: 50px;
        height: 50px;
    }

    .pillar-card h3 {
        font-size: 18px;
    }

    .pillar-card p {
        font-size: 14px;
    }

    /* Tabs Mobile */
    .tabs-header {
        gap: 10px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

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

    .tab-btn {
        padding: 12px 16px;
        font-size: 14px;
    }

    .tab-grid {
        gap: 25px;
    }

    .tab-text h3 {
        font-size: 20px;
    }

    .tab-text p {
        font-size: 14px;
    }

    /* Cases Mobile */
    .case-img img {
        height: 180px;
    }

    .case-content {
        padding: 20px;
    }

    .case-quote {
        font-size: 16px;
    }

    .metrics-bar {
        padding: 25px 15px;
    }

    .metric-value {
        font-size: 28px;
    }

    .metric-label {
        font-size: 12px;
    }

    /* Resources Mobile */
    .resource-card {
        padding: 20px;
    }

    .resource-icon {
        font-size: 28px;
    }

    .resource-card h4 {
        font-size: 16px;
    }

    .resource-card p {
        font-size: 13px;
    }

    /* Blog Mobile */
    .blog-card {
        padding: 20px;
    }

    .blog-card h3 {
        font-size: 16px;
    }

    /* FAQ Mobile */
    .accordion-header {
        padding: 15px;
        font-size: 14px;
    }

    .accordion-body {
        padding: 0 15px 15px;
        font-size: 14px;
    }

    /* CTA Final Mobile */
    .cta-final h2 {
        font-size: 24px;
        padding: 0 15px;
    }

    .cta-final p {
        padding: 0 15px;
        font-size: 14px;
    }

    .btn-large {
        padding: 15px 30px;
        font-size: 16px;
        width: 100%;
        max-width: 300px;
    }

    /* Footer Mobile */
    .main-footer {
        padding: 50px 0 30px;
    }

    .footer-brand .logo {
        text-align: center;
        display: block;
    }

    .footer-brand p {
        text-align: center;
        font-size: 13px;
    }

    .social-links {
        justify-content: center;
    }

    .footer-col h4 {
        font-size: 16px;
    }

    .footer-col ul a {
        font-size: 13px;
    }

    .footer-badges {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 900px) {
    .header-container {
        flex-wrap: wrap;
        justify-content: center;
    }

    .logo {
        max-width: 200px;
    }

    .nav-pill {
        position: static;
        transform: none;
        width: 100%;
        margin: 12px 0;
        min-width: 0;
        max-width: 100%;
    }

    .nav-links {
        width: auto;
        justify-content: center;
        flex-wrap: wrap;
        gap: 16px;
    }

    .header-actions {
        width: 100%;
        justify-content: center;
        gap: 12px;
    }

    .mockup-body {
        flex-direction: column;
        min-height: auto;
    }

    .team-sidebar {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        padding: 18px;
    }

    .team-user {
        flex: 1 1 45%;
        max-width: 48%;
    }

    .dashboard-mockup.sticky {
        position: relative;
        top: auto;
    }
}

@media (max-width: 640px) {
    .dashboard-mockup {
        margin: 0 12px;
        transform-origin: center top;
    }

    .chat-frame-header {
        flex-direction: column;
        gap: 12px;
    }

    .team-sidebar {
        padding: 14px;
        gap: 10px;
    }

    .team-user {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .chat-room-header {
        flex-direction: column;
        align-items: stretch;
    }

    .chat-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .chat-footer button {
        width: 100%;
    }
}
/* SECTION COMMONS */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 50px;
}

/* PILLARS */
.pillars-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.pillar-card {
    padding: 40px;
    border-radius: 16px;
    background: var(--bg-white);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: var(--transition);
    border: 1px solid var(--border-light);
}

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

.pillar-icon {
    width: 60px;
    height: 60px;
    background: #ebf4ff;
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.pillar-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.pillar-card p {
    color: #4a5568;
    margin-bottom: 25px;
}

.cta-link {
    color: var(--primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.pillar-img {
    height: 150px;
    background: #f7fafc;
    border-radius: 8px;
    margin-top: 30px;
}

/* TABS SECTION */
.tabs-section {
    background: var(--bg-white);
}

.tabs-header {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 40px;
    padding-bottom: 5px;
}

.tab-btn {
    background: none;
    border: none;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 600;
    color: #718096;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
}

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

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary);
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-pane.active {
    display: block;
}

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

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

.tab-text h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.tab-text p {
    margin-bottom: 30px;
    color: #4a5568;
}

.tab-image img {
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* CASES SECTION */
.cases {
    background: var(--bg-light);
}

.cases-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 60px;
}

.case-card {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.case-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.case-content {
    padding: 30px;
}

.case-logo {
    font-weight: 700;
    color: #718096;
    margin-bottom: 20px;
}

.case-quote {
    font-size: 18px;
    font-style: italic;
    margin-bottom: 25px;
}

.case-author strong {
    display: block;
    font-size: 16px;
}

.case-author span {
    font-size: 14px;
    color: #718096;
}

.metrics-bar {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.metric-value {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
}

.metric-label {
    font-size: 14px;
    color: #718096;
}

/* RESOURCES GRID */
.resources-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.resource-card {
    padding: 30px;
    background: var(--bg-white);
    border-radius: 12px;
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.resource-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transform: translateY(-5px);
}

.resource-icon {
    font-size: 32px;
    margin-bottom: 15px;
}

.resource-card h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.resource-card p {
    font-size: 14px;
    color: #718096;
}

/* BLOG SECTION */
.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.blog-card {
    padding: 30px;
    background: var(--bg-white);
    border-radius: 12px;
    border: 1px solid var(--border-light);
}

.blog-tag {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
    display: block;
}

.blog-card h3 {
    font-size: 20px;
    margin-bottom: 20px;
}

.blog-date {
    font-size: 14px;
    color: #a0aec0;
}

/* FAQ SECTION */
.faq {
    background: var(--bg-light);
}

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

.accordion-item {
    background: var(--bg-white);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.accordion-header {
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}

.accordion-icon {
    font-size: 20px;
    transition: var(--transition);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 20px;
}

.accordion-item.active .accordion-body {
    padding: 0 20px 20px;
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

/* CTA FINAL */
.cta-final {
    background: var(--bg-hero);
    color: var(--text-white);
    text-align: center;
}

.cta-final h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-final p {
    color: var(--text-gray);
    margin-bottom: 40px;
}

.btn-large {
    padding: 18px 45px;
    font-size: 18px;
}

/* FOOTER */
.main-footer {
    background: #0f172a;
    color: var(--text-white);
    padding: 80px 0 40px;
}

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

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand p {
    color: #94a3b8;
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.footer-col h4 {
    margin-bottom: 25px;
    font-size: 18px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul a {
    color: #94a3b8;
}

.footer-col ul a:hover {
    color: var(--text-white);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    color: #64748b;
    font-size: 14px;
}

.footer-badges {
    display: flex;
    gap: 20px;
}

/* RESPONSIVE DESKTOP (1024px+) */
@media (min-width: 1024px) {
    .hero h1 { font-size: 56px; }
    .hero p { 
        font-size: 13px;
        margin-bottom: 25px;
     }
    .hero-btns { flex-direction: row; justify-content: center; }
    
    .mobile-menu-toggle { display: none; }
    
    .nav-pill {
        display: flex;
        flex: 1 1 auto;
        justify-content: center;
        background: rgba(255,255,255,0.1);
        border: 1px solid rgba(255,255,255,0.2);
        border-radius: 50px;
        padding: 5px 10px;
        margin: 0 20px;
    }
    
    #main-header.scrolled .nav-pill {
        background: rgba(0,0,0,0.03);
        border: 1px solid rgba(0,0,0,0.05);
    }
    
    .nav-links {
        display: flex;
        align-items: center;
        justify-content: space-around;
        width: 100%;
        gap: 10px;
    }
    
    .nav-links li {
        position: relative;
    }
    
    .nav-links a {
        padding: 10px 7px;
        font-size: 14px;
        font-weight: 500;
        color: var(--text-white);
    }
    
    #main-header.scrolled .nav-links a {
        color: var(--text-dark);
    }
    
    .chevron { font-size: 10px; margin-left: 4px; }
    
    /* DROPDOWN */
    .dropdown-content {
        position: absolute;
        top: 100%;
        left: 0;
        background: var(--bg-white);
        min-width: 200px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        border-radius: 8px;
        padding: 10px 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: var(--transition);
    }
    
    .dropdown:hover .dropdown-content {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .dropdown-content a {
        color: var(--text-dark) !important;
        display: block;
        padding: 10px 20px;
    }
    
    .dropdown-content a:hover {
        background: var(--bg-light);
        color: var(--primary) !important;
    }

    .pillars-grid { grid-template-columns: repeat(3, 1fr); }
    .tab-grid { grid-template-columns: 1fr 1fr; }
    .cases-grid { grid-template-columns: 1fr 1fr; }
    .metrics-bar { flex-direction: row; justify-content: space-between; text-align: left; }
    .resources-grid { grid-template-columns: repeat(3, 1fr); }
    .blog-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr 1fr; }
    .footer-bottom { flex-direction: row; justify-content: space-between; }
}

/* Ajustes Tablet */
    .hero h1 { font-size: clamp(48px, 8vw, 72px); }
    .hero-word-wrapper { font-size: clamp(42px, 7vw, 64px); }
    .section-title { font-size: 28px; }

    .tab-grid { grid-template-columns: 1fr 1fr; }
    .cases-grid { grid-template-columns: 1fr 1fr; }

/* TABLET (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .pillars-grid { grid-template-columns: repeat(2, 1fr); }
    .resources-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .cases-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Melhorias de toque para mobile */
@media (hover: none) and (pointer: coarse) {
    /* Aumentar áreas de toque */
    .nav-links a,
    .tab-btn,
    .accordion-header,
    .btn-login,
    .btn-contact,
    .btn-video,
    .resource-card,
    .blog-card,
    .case-card {
        min-height: 44px;
    }

    /* Remover hover effects em dispositivos touch */
    .pillar-card:hover,
    .resource-card:hover,
    .blog-card:hover {
        transform: none;
    }

    /* Melhorar feedback visual */
    .btn-login:active,
    .btn-contact:active,
    .tab-btn:active {
        opacity: 0.7;
    }
}

/* Prevenir zoom acidental em inputs no iOS */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    input[type="email"],
    input[type="password"],
    input[type="text"],
    select,
    textarea {
        font-size: 16px !important;
    }
}
