/* ==========================================================================
   uGrowing Style Guide & CSS Code (Theme: Dark Modern Premium)
   ========================================================================== */

/* Custom CSS Variables */
:root {
    --color-primary: #c1ff72;
    --color-primary-rgb: 193, 255, 114;
    --color-primary-hover: #aeff4b;
    --color-secondary: #545454;
    --color-background: #080a0f;
    --color-background-rgb: 8, 10, 15;
    --color-surface: #10141e;
    --color-surface-hover: #161c2b;
    --color-border: #1e2638;
    --color-text: #e2e8f0;
    --color-text-muted: #8e9bb3;
    --color-white: #ffffff;
    --font-title: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Source Sans 3', sans-serif;
    --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: 0.25s ease;
    --shadow-premium: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(193, 255, 114, 0.2);
}

/* Global Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
.page-wrapper {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden !important;
    position: relative;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden !important;
    max-width: 100% !important;
    width: 100%;
}

body {
    background-color: var(--color-background);
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden !important;
    max-width: 100% !important;
    width: 100%;
}

/* Utility Layouts */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    align-items: center;
}

.section {
    padding: 100px 0;
    position: relative;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-title);
    color: var(--color-white);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
}

.text-glow {
    background: linear-gradient(135deg, #ffffff 30%, var(--color-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 40px rgba(193, 255, 114, 0.15);
}

/* Badges & Tags */
.section-tag {
    font-family: var(--font-title);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    display: inline-block;
    margin-bottom: 12px;
}

.tag-light {
    color: var(--color-background);
    background-color: var(--color-primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(8, 10, 15, 0.75);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    transition: var(--transition-fast);
}

.header.scrolled {
    padding: 10px 0;
    background-color: rgba(8, 10, 15, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.header-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

/* Mobile menu styles - ALWAYS ACTIVE */
.mobile-menu-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 6px;
}

.menu-btn-text {
    font-family: var(--font-title);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--transition-fast);
}

.mobile-menu-btn:hover .menu-btn-text {
    color: var(--color-primary);
}

.bar-wrapper {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.bar {
    width: 20px;
    height: 2px;
    background-color: var(--color-white);
    transition: var(--transition-fast);
}

.mobile-menu-btn:hover .bar {
    background-color: var(--color-primary);
}

.mobile-menu-btn.open .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.open .bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.open .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.nav {
    position: fixed;
    top: 0;
    right: -300px; /* Physically set it completely outside the viewport boundary */
    height: 100vh;
    width: 280px;
    background-color: var(--color-surface);
    border-left: 1px solid var(--color-border);
    padding: 100px 40px;
    transition: right 0.3s ease-in-out, visibility 0.3s ease-in-out;
    z-index: 1000;
    visibility: hidden; /* Hide to prevent horizontal overflow scrolling */
}

.nav.nav-active {
    right: 0;
    visibility: visible;
}

.nav-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
    list-style: none;
}

.nav-item {
    color: var(--color-text-muted);
    text-decoration: none;
    font-weight: 500;
    font-family: var(--font-title);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.nav-item:hover, .nav-item.active {
    color: var(--color-primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-family: var(--font-title);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-normal);
    text-align: center;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-background);
    border: 1px solid var(--color-primary);
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-white);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    background-color: var(--color-border);
    color: var(--color-primary);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.btn-outline:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.btn-block {
    display: block;
    width: 100%;
}



/* Hero Section */
.hero {
    min-height: 100vh;
    padding-top: 180px;
    padding-bottom: 100px;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 10;
    width: 100%;
}

.hero-content {
    max-width: 650px;
}

.badge-social-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(193, 255, 114, 0.1);
    color: var(--color-primary);
    font-size: 0.85rem;
    font-family: var(--font-title);
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 30px;
    border: 1px solid rgba(193, 255, 114, 0.2);
    margin-bottom: 24px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background-color: var(--color-primary);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px var(--color-primary);
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 24px;
    line-height: 1.15;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    max-width: 580px;
}

.hero-actions-group {
    display: flex;
    gap: 16px;
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary);
}

.stat-lbl {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* Blobs Background Animation */
.hero-blobs-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.25;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background-color: rgba(193, 255, 114, 0.4);
    top: -100px;
    right: -100px;
}

.blob-2 {
    width: 300px;
    height: 300px;
    background-color: rgba(84, 84, 84, 0.6);
    bottom: 50px;
    left: -100px;
}

/* Premium Dashboard Card Visual */
.visual-card-wrapper {
    position: relative;
    width: 100%;
}

.glow-card {
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    background: linear-gradient(135deg, rgba(193, 255, 114, 0.15) 0%, transparent 70%);
    border-radius: 16px;
    filter: blur(20px);
    z-index: 1;
}

.visual-card {
    position: relative;
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow-premium);
    z-index: 2;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 20px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.red { background-color: #ff5f56; }
.dot.yellow { background-color: #ffbd2e; }
.dot.green { background-color: #27c93f; }

.card-title {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-left: 8px;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
}

.chart-subtitle {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.chart-value {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-white);
}

.trend {
    font-size: 0.9rem;
    color: var(--color-primary);
    font-weight: 600;
    margin-left: 10px;
}

.chart-logo-box {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 8px;
    border-radius: 8px;
    border: 1px solid var(--color-border);
}

.chart-logo {
    height: 24px;
    width: auto;
}

.bar-chart {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    height: 120px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 8px;
}

.bar-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 25%;
    cursor: pointer;
}

.bar-tooltip {
    position: absolute;
    top: -32px;
    background-color: var(--color-surface);
    border: 1px solid var(--color-primary);
    color: var(--color-white);
    font-family: var(--font-title);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(5px);
    transition: var(--transition-fast);
    white-space: nowrap;
    pointer-events: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

.bar-container:hover .bar-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.bar {
    width: 32px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    transition: height 1s ease-in-out;
}

.bar.active {
    background: linear-gradient(to top, var(--color-primary) 0%, rgba(193, 255, 114, 0.5) 100%);
    box-shadow: 0 0 15px rgba(193, 255, 114, 0.3);
}

.bar-label {
    margin-top: 8px;
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

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

.campaign-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 10px 16px;
}

.camp-plat {
    font-size: 0.85rem;
    font-weight: 600;
}

.camp-plat.google { color: #4285F4; }
.camp-plat.meta { color: #1877F2; }

.camp-metric {
    font-size: 0.85rem;
    color: var(--color-white);
}

.camp-status {
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 600;
}

.camp-status.active {
    background-color: rgba(39, 201, 63, 0.1);
    color: #27c93f;
}

/* General Section Header */
.section-header {
    margin-bottom: 60px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 16px auto 0;
}

/* Sobre Nós Section */
.sobre-section {
    background-color: rgba(255, 255, 255, 0.01);
}

.sobre-visual {
    display: flex;
    justify-content: center;
}

.sobre-img-box {
    position: relative;
    width: 320px;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-backdrop {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px dashed var(--color-border);
    border-radius: 50%;
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.sobre-logo-big {
    width: 60%;
    height: auto;
    z-index: 2;
    filter: drop-shadow(0 0 15px rgba(193, 255, 114, 0.2));
}

.overlay-badge {
    position: absolute;
    bottom: 0px;
    right: 0px;
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 12px 20px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-premium);
    z-index: 3;
}

.overlay-badge .number {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-primary);
}

.overlay-badge .text {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.sobre-text {
    margin-bottom: 20px;
    color: var(--color-text-muted);
}

.sobre-text.highlight {
    font-size: 1.15rem;
    color: var(--color-white);
    font-weight: 500;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 30px;
}

.pillar-card {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 20px;
}

.pillar-icon {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.pillar-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.pillar-card p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* Serviços Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 40px;
    transition: var(--transition-normal);
}

.service-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.service-icon-box {
    width: 60px;
    height: 60px;
    background-color: rgba(193, 255, 114, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--color-primary);
}

.service-svg {
    width: 32px;
    height: 32px;
}

.service-card-title {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.service-card-desc {
    color: var(--color-text-muted);
    margin-bottom: 24px;
}

.service-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-bullets li {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    position: relative;
    padding-left: 20px;
}

.service-bullets li::before {
    content: "→";
    color: var(--color-primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Diferenciais Section */
.table-wrapper {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    box-shadow: var(--shadow-premium);
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    background-color: var(--color-surface);
    font-family: var(--font-body);
}

.compare-table th, .compare-table td {
    padding: 24px 30px;
    border-bottom: 1px solid var(--color-border);
}

.compare-table th {
    background-color: rgba(0, 0, 0, 0.2);
    font-family: var(--font-title);
    font-weight: 700;
    color: var(--color-white);
}

.table-logo {
    height: 52px;
    width: auto;
    object-fit: contain;
    vertical-align: middle;
}

.col-ugrowing {
    width: 40%;
}

.highlight-cell {
    background-color: rgba(193, 255, 114, 0.02);
    color: var(--color-white);
    font-weight: 600;
}

.compare-table tr:hover td {
    background-color: rgba(255, 255, 255, 0.01);
}

.compare-table tr:hover .highlight-cell {
    background-color: rgba(193, 255, 114, 0.04);
}

.feature-name {
    font-weight: 600;
    color: var(--color-white);
}

/* Social Impact Section */
.social-box {
    position: relative;
    background: linear-gradient(135deg, var(--color-surface) 0%, rgba(8, 10, 15, 1) 100%);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    padding: 60px;
    overflow: hidden;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.glow-social {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background-color: rgba(193, 255, 114, 0.1);
    border-radius: 50%;
    filter: blur(100px);
    z-index: 1;
}

.social-content-wrapper {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.social-box h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.social-box p {
    color: var(--color-text-muted);
    font-size: 1.15rem;
    margin-bottom: 20px;
}

.social-quote {
    font-style: italic;
    color: var(--color-primary) !important;
    border-left: 3px solid var(--color-primary);
    padding-left: 20px;
    margin: 30px 0;
}

.social-stats {
    grid-column: 1 / -1; /* Spans 100% across all columns of social-box grid */
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
    box-sizing: border-box;
}

#livesImpactedValue {
    color: var(--color-primary);
    font-weight: 800;
    font-size: 1.2rem;
    display: inline-block;
    margin-right: 4px;
}

.social-stat-card {
    background-color: rgba(18, 23, 34, 0.6);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 20px 24px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: var(--transition-normal);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
}

.social-stat-card:hover {
    border-color: rgba(193, 255, 114, 0.3);
    transform: translateY(-3px);
    background-color: rgba(18, 23, 34, 0.85);
}

.social-stat-card.highlight-card {
    border-color: rgba(193, 255, 114, 0.3);
    background: linear-gradient(135deg, rgba(18, 23, 34, 0.8) 0%, rgba(193, 255, 114, 0.05) 100%);
}

.social-stat-card .icon {
    font-size: 1.8rem;
    line-height: 1;
}

.social-stat-card h4 {
    font-size: 1.05rem;
    margin-bottom: 6px;
    color: var(--color-white);
}

.social-stat-card p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin: 0;
    line-height: 1.5;
}

/* Social Photo Box */
.social-photo-box {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.social-photo-frame {
    width: 100%;
    max-width: 420px;
    aspect-ratio: 4 / 3; /* Keep the original moldura aspect ratio! */
    border: 2px solid var(--color-border);
    border-radius: 16px;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.2);
    box-shadow: var(--shadow-premium);
}

.social-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.social-photo-placeholder {
    width: 100%;
    max-width: 420px;
    aspect-ratio: 4 / 3;
    background-color: rgba(0, 0, 0, 0.2);
    border: 2px dashed var(--color-border);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: var(--color-text-muted);
    transition: var(--transition-fast);
    padding: 24px;
    text-align: center;
}

.social-photo-placeholder:hover {
    border-color: var(--color-primary);
    color: var(--color-white);
    background-color: rgba(193, 255, 114, 0.01);
}

.photo-icon {
    font-size: 3rem;
}

.photo-text {
    font-family: var(--font-title);
    font-size: 0.95rem;
    font-weight: 600;
}

/* Diagnóstico & Briefing Form */
.diagnostico-section {
    background-color: rgba(255, 255, 255, 0.01);
    overflow: hidden;
}

.diagnostico-info {
    max-width: 500px;
}

.info-bullets {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-bullet {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.bullet-check {
    width: 24px;
    height: 24px;
    background-color: rgba(193, 255, 114, 0.1);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.info-bullet p {
    color: var(--color-text-muted);
    margin: 0;
}

.diagnostico-form-wrapper {
    position: relative;
}

.glow-form {
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 102%;
    height: 102%;
    background: radial-gradient(circle at bottom right, rgba(193, 255, 114, 0.1), transparent 60%);
    border-radius: 20px;
    z-index: 1;
}

.form-card {
    position: relative;
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-premium);
    z-index: 2;
}

.form-title {
    font-size: 1.6rem;
    margin-bottom: 30px;
}

.briefing-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-family: var(--font-title);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-white);
}

.form-group input, .form-group select {
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 10px rgba(193, 255, 114, 0.1);
}

/* Interactive Chips/Buttons for Segment */
.segment-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chip-btn {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
    padding: 8px 16px;
    border-radius: 20px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.chip-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-white);
}

.chip-btn.active {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-background);
    font-weight: 600;
    box-shadow: var(--shadow-glow);
}

/* Form Success State styling */
.form-success-message {
    text-align: center;
    padding: 20px 0;
}

.form-success-message.hidden {
    display: none;
}

.success-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.form-success-message h4 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--color-primary);
}

.form-success-message p {
    color: var(--color-text-muted);
    margin-bottom: 30px;
}

/* Footer styling */
.footer {
    background-color: #05060a;
    border-top: 1px solid var(--color-border);
    padding-top: 80px;
}

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

.footer-brand {
    max-width: 350px;
}

.footer-logo {
    height: 32px;
    margin-bottom: 24px;
}

.footer-desc {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.footer-cnpj {
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

.footer-links h4 {
    font-size: 1rem;
    margin-bottom: 24px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

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

.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding: 30px 0;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* Mobile responsive menu */
.nav-active {
    transform: translateX(0%) !important;
}

/* Scroll reveal initial states */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Animations for fade in */
.fade-in {
    opacity: 1;
    transform: none;
}

/* Modal Área do Cliente */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(8, 10, 15, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: opacity 0.3s ease;
}

.modal-overlay.hidden, .hidden {
    display: none !important;
    opacity: 0;
    pointer-events: none;
}

.modal-card {
    position: relative;
    background: linear-gradient(135deg, var(--color-surface) 0%, rgba(14, 18, 26, 0.95) 100%);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--color-text-muted);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.modal-close:hover {
    color: var(--color-primary);
}

.modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.modal-logo {
    height: 48px;
    width: auto;
    margin-bottom: 16px;
}

.modal-header h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--color-white);
}

.modal-header p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.modal-footer-links {
    margin-top: 20px;
    text-align: center;
}

.demo-portal-link {
    color: var(--color-primary);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition-fast);
}

.demo-portal-link:hover {
    text-decoration: underline;
}

/* ==========================================================================
   Media Queries (Responsive Layouts)
   ========================================================================== */

@media (max-width: 1024px) {
    h2 {
        font-size: 2.2rem;
    }
    
    .grid-2 {
        gap: 40px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-content {
        max-width: 100%;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions-group {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .section {
        padding: 60px 0;
    }
    
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .header-actions {
        display: none; /* Hide actions in menu line, focus on toggle */
    }
    
    /* Responsive Header Sizes */
    .header-container {
        height: 64px;
    }
    
    .logo-img {
        height: 32px;
    }
    
    .hero {
        padding-top: 110px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .sobre-visual {
        order: 2;
    }
    
    .sobre-img-box {
        width: 240px;
        height: 240px;
    }
    
    .pillars-grid {
        grid-template-columns: 1fr;
    }
    
    .social-box {
        display: flex !important;
        flex-direction: column !important;
        padding: 24px 16px !important;
        gap: 30px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .social-photo-box {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .social-photo-frame {
        width: 100% !important;
        max-width: 100% !important;
        aspect-ratio: 4 / 3 !important;
        box-sizing: border-box !important;
    }
    
    .social-box h2 {
        font-size: 1.8rem;
    }
    
    .social-stats {
        grid-template-columns: 1fr;
    }
    
    .form-card {
        padding: 24px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .lang-selector-wrapper {
        margin-left: auto;
        margin-right: 12px;
    }
    
    /* Responsive Content Alignments */
    .hero-stats {
        flex-direction: row;
        justify-content: center;
        gap: 20px;
        width: 100%;
        margin-top: 20px;
        flex-wrap: wrap; /* allow wrapping on small devices */
    }
    
    .stat-item {
        align-items: center;
    }
    
    .sobre-content {
        text-align: center;
    }
    
    .service-card {
        padding: 30px 20px;
        text-align: center;
    }
    
    .service-icon-box {
        margin-left: auto;
        margin-right: auto;
    }
    
    .service-bullets {
        align-items: center;
    }
    
    .service-bullets li {
        text-align: center;
    }
}

/* Region Badge Style (Top Right Diagonal of Logo, No Overlap & Shifter Offset) */
.region-badge {
    position: absolute;
    top: -4px;
    right: 0px; /* Kept safely inside the logo link bounds */
    font-size: 0.45rem; /* Slightly smaller font */
    font-weight: 800;
    color: var(--color-primary);
    border: 1px solid rgba(193, 255, 114, 0.2);
    background-color: rgba(8, 10, 15, 0.9); /* Solid dark background to read clearly */
    padding: 0.5px 3px; /* Tighter padding */
    border-radius: 3px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    z-index: 10;
    opacity: 0.85;
    pointer-events: none;
    transition: var(--transition-fast);
}

.logo-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    margin-right: 15px;
}

/* Language Selector Dropdown Style */
.lang-selector-wrapper {
    display: flex;
    align-items: center;
}

.lang-select {
    background-color: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
    font-family: var(--font-title);
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    outline: none;
    transition: var(--transition-fast);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238e9bb3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 10px;
    padding-right: 24px; /* Space for the custom dropdown arrow */
}

.lang-select:hover {
    color: var(--color-white);
    border-color: var(--color-primary);
}

.lang-select option {
    background-color: var(--color-surface);
    color: var(--color-text);
}

/* Nav Link Special - Area do Cliente */
.nav-item.client-area-link {
    border: 1px solid rgba(193, 255, 114, 0.2);
    background-color: rgba(193, 255, 114, 0.03);
    color: var(--color-primary) !important;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 600;
    transition: var(--transition-fast);
}

.nav-item.client-area-link:hover {
    border-color: var(--color-primary);
    background-color: rgba(193, 255, 114, 0.08);
    box-shadow: 0 0 10px rgba(193, 255, 114, 0.1);
}

