/* =========================================================================
   VARIÁVEIS & RESET GLOBAL (Paleta Light Mode)
   ========================================================================= */
:root {
  /* DESTAQUES (Contraste Tech para fundo claro) */
  --cyan: #00bfa5;           
  --cyan-hover: #00897b;      
  --cyan-glow: rgba(0, 191, 165, 0.08);

  /* FUNDOS (Tons claros e limpos) */
  --dark1: #f8fafc;          /* Fundo principal (Slate claro) */
  --dark2: #ffffff;          /* Fundo secundário (Branco puro para seções) */
  --dark3: #f1f5f9;          /* Fundo dos cards e elements internos */
  --dark4: #e2e8f0;          /* Hover dos cards */

  /* TEXTOS */
  --text: #0f172a;           /* Texto principal (Azul escuro quase preto) */
  --text-dim: #64748b;       /* Texto descritivo (Cinza azulado) */

  /* BORDAS */
  --border: rgba(0, 191, 165, 0.15);
  --border-bright: rgba(0, 191, 165, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: 'Inter', sans-serif;
    background-color: var(--dark1);
    color: var(--text);
}

body {
    overflow-x: hidden;
    background-color: var(--dark1);
}

/* =========================================================================
   COMPONENTES REUTILIZÁVEIS
   ========================================================================= */
.container {
    max-width: 1100px;
    margin: 0 auto;
}

.wide-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-tag {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    color: var(--cyan-hover);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
    color: var(--text);
}

.section-desc {
    color: var(--text-dim);
    font-size: 1.05rem;
    line-height: 1.6;
}

.center-header {
    text-align: center;
    margin-bottom: 4rem;
}

.btn-primary {
    display: inline-block;
    background-color: var(--cyan);
    color: var(--dark2);
    padding: 0.85rem 1.75rem;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.btn-primary:hover {
    background-color: var(--cyan-hover);
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--text);
    padding: 0.85rem 1.75rem;
    border: 1px solid var(--border-bright);
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background-color: var(--cyan-glow);
    border-color: var(--cyan);
}

/* =========================================================================
   BARRA DE NAVEGAÇÃO
   ========================================================================= */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border);
    background-color: var(--dark1);
    flex-wrap: wrap;
    gap: 1.5rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text);
    font-weight: 800;
    font-size: 1.25rem;
}

.nav-logo img {
    height: 40px;
    margin-right: 0.5rem;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 1.75rem;
    flex-wrap: wrap;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dim);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--text);
}

.nav-links .nav-cta {
    background-color: var(--cyan-glow);
    color: var(--cyan-hover);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    border: 1px solid var(--border-bright);
    font-weight: 600;
}

.nav-links .nav-cta:hover {
    background-color: var(--cyan);
    color: var(--dark2);
}

/* =========================================================================
   SELETOR DE IDIOMAS
   ========================================================================= */
.lang-dropdown-container {
    position: relative;
    display: inline-block;
}

.lang-text-btn {
    background: transparent;
    border: none;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dim);
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    gap: 4px;
    user-select: none;
}

.lang-text-btn:hover {
    color: var(--text);
}

.lang-text-btn .arrow-down {
    font-size: 0.55rem;
    color: var(--border-bright);
    transition: transform 0.2s ease;
}

.lang-dropdown-menu {
    display: none; 
    position: absolute;
    top: 100%;
    right: 50%;
    transform: translateX(50%);
    background-color: var(--dark2);
    border: 1px solid var(--border);
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
    min-width: 55px;
    z-index: 1000;
    padding: 2px 0;
    margin-top: 5px;
}

.lang-dropdown-container.show .lang-dropdown-menu {
    display: block;
}

.lang-dropdown-container.show .arrow-down {
    transform: rotate(180deg);
}

.dropdown-item {
    width: 100%;
    background: transparent;
    border: none;
    text-align: center;
    padding: 6px 0;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-dim);
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-item:hover {
    background-color: var(--dark3);
    color: var(--text);
}

.dropdown-item.active {
    color: var(--dark2);
    background-color: var(--cyan);
}

/* =========================================================================
   HERO SECTION
   ========================================================================= */
#home {
    position: relative;
    padding: 7rem 2rem 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
}

.orb1 {
    width: 400px;
    height: 400px;
    background-color: var(--cyan);
    top: -100px;
    right: -50px;
}

.orb2 {
    width: 300px;
    height: 300px;
    background-color: #3B82F6;
    bottom: -50px;
    left: -50px;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 3rem;
    width: 100%;
}

.hero-text-side {
    flex: 1 1 55%;
}

.hero-kicker {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    color: var(--cyan-hover);
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
    line-height: 1.4;
}

.hero-title {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.hero-strike {
    text-decoration: line-through;
    opacity: 0.4;
}

.hero-title em {
    font-style: normal;
    color: var(--cyan-hover);
}

.hero-subtitle {
    color: var(--text-dim);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.hero-metrics {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 2.5rem;
}

.hero-metric {
    flex: 1;
}

.hm-val {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
}

.hm-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-top: 0.25rem;
}

.hm-divider {
    width: 1px;
    height: 40px;
    background-color: var(--border);
    margin: 0 1.5rem;
}

.hero-actions a {
    margin-right: 1rem;
}

.hero-terminal-side {
    flex: 1 1 45%;
    min-width: 320px;
}

.hero-terminal {
    background-color: #0f172a; 
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
    overflow: hidden;
}

.terminal-topbar {
    background-color: #1e293b;
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.terminal-dots span {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 6px;
}

.terminal-dots span:nth-child(1) { background-color: #ff5f56; }
.terminal-dots span:nth-child(2) { background-color: #ffbd2e; }
.terminal-dots span:nth-child(3) { background-color: #27c93f; }

.terminal-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: #94a3b8;
}

.terminal-body {
    padding: 1.5rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    line-height: 1.6;
}

.t-prompt { color: var(--cyan); margin-right: 0.5rem; }
.t-cmd { color: #f8fafc; }
.t-val { color: #c084fc; }
.t-arrow { color: #94a3b8; margin-left: 0.5rem; margin-right: 0.5rem;}
.t-key { color: #94a3b8; }
.t-ok { color: #34d399; }

.t-line { opacity: 0; transform: translateY(5px); animation: fadeInTerminal 0.3s forwards; }
.t-delay-1 { animation-delay: 0.4s; }
.t-delay-2 { animation-delay: 0.9s; }
.t-delay-3 { animation-delay: 1.4s; }
.t-delay-4 { animation-delay: 1.9s; }
.t-delay-5 { animation-delay: 2.4s; }

@keyframes fadeInTerminal {
    to { opacity: 1; transform: translateY(0); }
}

.t-cursor {
    display: inline-block;
    width: 8px;
    height: 15px;
    background-color: #f8fafc;
    vertical-align: middle;
    animation: blink 1s infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

/* =========================================================================
   SEÇÃO 1: SERVIÇOS
   ========================================================================= */
.services-section {
    padding: 6rem 2rem;
    background-color: var(--dark2);
    border-top: 1px solid var(--border);
}

.services-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem auto;
}

.services-grid-two {
    display: flex;
    gap: 0;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.service-card {
    flex: 1;
    background-color: var(--dark3);
    border: 1px solid var(--border);
    padding: 3rem;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
    background-color: var(--dark4);
    border-color: var(--border-bright);
}

.services-grid-two .service-card:first-child {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.services-grid-two .service-card:last-child {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    border-left: none;
}

.service-card-header {
    margin-bottom: 1.5rem;
}

.service-num {
    font-family: 'JetBrains Mono', monospace;
    color: var(--cyan-hover);
    font-size: 1.2rem;
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
}

.service-card .service-desc {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.service-features {
    list-style: none;
}

.service-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.5;
}

.service-features li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--cyan-hover);
    font-weight: bold;
}

.scope-alert-text {
    color: var(--text-dim);
    font-size: 0.85rem;
    text-align: center;
    margin-top: 3rem;
    font-family: 'JetBrains Mono', monospace;
    line-height: 1.6;
}

/* =========================================================================
   ESTILIZAÇÃO PREMIUM DE CASOS DE ESTUDO (PORTFÓLIO)
   ========================================================================= */
.premium-cases-section {
    padding: 10rem 2rem; 
    background-color: var(--dark1);
    border-top: 1px solid var(--border);
}

.cases-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8rem; 
    margin-top: 4rem;
}

.case-row {
    display: flex;
    align-items: center;
    gap: 4rem;
}

/* Mecanismo de simetria 50/50 em Desktop */
.case-row > div {
    flex: 1 1 50%;
    width: 100%;
}

.case-row.row-reverse {
    flex-direction: row-reverse;
}

.case-text-side {
    flex: 1;
}

.case-project-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    color: var(--text-dim);
    letter-spacing: 0.15em;
    display: block;
    margin-bottom: 0.5rem;
}

.case-project-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.case-project-desc {
    font-size: 1.05rem;
    color: var(--text-dim);
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* =========================================================================
   SISTEMA DE ILUSTRAÇÕES PARA IMAGENS REAIS (100% COMPLETAS SEM CORTAR)
   ========================================================================= */
.case-image-side {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--dark2) 0%, var(--dark3) 100%);
    height: 340px;            /* Altura base confortável para Desktop */
    width: 100%;
    box-sizing: border-box;
    padding: 15px;            /* Margem de respiro interna para a imagem */
}

/* Grid de linhas de fundo tecnológico */
.case-image-side::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.08;
    background-size: 20px 20px;
    pointer-events: none;
}

/* Força a imagem real a aparecer por completo dentro do quadro */
.case-image-side img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: fill;      /* GARANTE QUE A IMAGEM NUNCA SEJA CORTADA */
    border-radius: 6px;
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.06);
}

/* Remove terminantemente qualquer pseudo-elemento de texto antigo em qualquer classe */
.case-image-side::after,
.construction-img::after,
.missions-img::after,
.dating-img::after,
.ngo-img::after {
    display: none !important;
    content: "" !important;
}

/* Cores de destaque nas bordas para identidade visual */
.construction-img { 
    border-left: 4px solid var(--cyan); 
    background: radial-gradient(circle at 20% 30%, rgba(0, 191, 165, 0.12) 0%, transparent 70%), linear-gradient(135deg, var(--dark2) 0%, var(--dark3) 100%);
}
.missions-img { 
    border-left: 4px solid #3B82F6; 
    background: radial-gradient(circle at 80% 70%, rgba(59, 130, 246, 0.12) 0%, transparent 60%), linear-gradient(135deg, var(--dark2) 0%, var(--dark3) 100%);
}

/* O Bloco Antes/Depois */
.transformation-box {
    display: flex;
    gap: 2rem;
    background-color: var(--dark2);
    border: 1px solid var(--border);
    padding: 1.5rem;
    border-radius: 6px;
    margin-bottom: 2rem;
}

.t-before, .t-after {
    flex: 1;
}

.transformation-box strong {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 0.75rem;
}

.t-before strong { color: #ef4444; } 
.t-after strong { color: var(--cyan-hover); } 

.transformation-box ul {
    list-style: none;
}

.transformation-box li {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 0.4rem;
    color: var(--text);
}

.t-before li::before { content: "✕ "; color: #ef4444; }
.t-after li::before { content: "✓ "; color: var(--cyan-hover); }

/* =========================================================================
   SEÇÃO 2: PILARES TÉCNICOS
   ========================================================================= */
.pillars-section {
    background: var(--dark1); 
    border-top: 1px solid var(--border); 
    padding: 6rem 2rem;
}

.pillars-grid {
    display: flex;
    gap: 1.5rem;
    width: 100%;
}

.pillar-card {
    flex: 1;
    background: var(--dark2);
    border: 1px solid var(--border);
    padding: 2rem;
    border-radius: 8px;
    transition: border-color 0.2s ease;
}

.pillar-card:hover {
    border-color: var(--border-bright);
}

.pillar-tech-tag {
    color: var(--cyan-hover);
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.pillar-card-title {
    color: var(--text);
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.pillar-card-desc {
    color: var(--text-dim);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* =========================================================================
   SEÇÃO 3: OFERTA GRATUITA
   ========================================================================= */
.demo-section {
    padding: 6rem 2rem;
    background-color: var(--dark2);
    border-top: 1px solid var(--border);
}

.demo-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.demo-badge {
    display: inline-block;
    background-color: var(--cyan-glow);
    color: var(--cyan-hover);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    border: 1px solid var(--border-bright);
    margin-bottom: 1.5rem;
    font-weight: bold;
}

.demo-section .section-desc {
    margin: 0 auto 3rem auto;
    max-width: 800px;
}

.demo-grid {
    display: flex;
    gap: 1.5rem;
    width: 100%;
    text-align: left;
}

.demo-box {
    flex: 1;
    background-color: var(--dark3);
    border: 1px solid var(--border);
    padding: 2rem;
    border-radius: 6px;
}

.demo-box h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text);
    font-weight: 700;
}

.demo-box p {
    color: var(--text-dim);
    font-size: 0.9rem;
    line-height: 1.6;
}

.demo-action-btn {
    margin-top: 3rem;
}

/* =========================================================================
   SEÇÃO 4: CASOS DE USO
   ========================================================================= */
.segments-section {
    padding: 6rem 2rem; 
    background: var(--dark1); 
    border-bottom: 1px solid var(--border);
    border-top: 1px solid var(--border);
}

.segments-grid {
    display: flex;
    gap: 2rem;
    width: 100%;
}

.segment-item {
    flex: 1;
    border-left: 2px solid var(--cyan);
    padding-left: 1.5rem;
}

.segment-item-title {
    color: var(--text);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.segment-item-desc {
    color: var(--text-dim);
    font-size: 0.85rem;
    line-height: 1.5;
}

/* =========================================================================
   SEÇÃO 5: CRESCIMENTO E METODOLOGIA
   ========================================================================= */
#projetos {
    padding: 6rem 2rem;
    background-color: var(--dark2);
    border-bottom: 1px solid var(--border);
}

.growth-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.growth-header {
    margin-bottom: 4rem;
}

.growth-grid {
    display: flex;
    gap: 2rem;
    width: 100%;
}

.growth-card {
    flex: 1;
}

.growth-card-num {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark4); 
    line-height: 1;
    margin-bottom: 1rem;
}

.growth-card-tag {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: var(--cyan-hover);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.growth-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.growth-card-desc {
    color: var(--text-dim);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* =========================================================================
   SEÇÃO 6: PERGUNTAS FREQUENTES (FAQ)
   ========================================================================= */
.faq-section {
    padding: 6rem 2rem; 
    background: var(--dark1); 
    border-bottom: 1px solid var(--border);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-card {
    background: var(--dark2);
    padding: 1.5rem;
    border-radius: 6px;
    border: 1px solid var(--border);
    margin-bottom: 1.5rem;
}

.faq-question {
    color: var(--text);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
}

.faq-answer {
    color: var(--text-dim);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* =========================================================================
   SEÇÃO 7: CONTATO (CTA)
   ========================================================================= */
#contato {
    padding: 6rem 2rem;
    text-align: center;
    background-color: var(--dark2);
}

.cta-inner {
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.cta-title span {
    color: var(--cyan-hover);
}

.cta-desc {
    color: var(--text-dim);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

/* =========================================================================
   DISCLAIMER & FOOTER
   ========================================================================= */
.terms-disclaimer-section {
    background: var(--dark3); 
    border-top: 1px solid var(--border); 
    padding: 2rem; 
    text-align: center;
}

.disclaimer-text {
    color: var(--text-dim); 
    font-size: 0.75rem; 
    font-family: 'JetBrains Mono', monospace; 
    letter-spacing: 0.05em; 
    max-width: 900px; 
    margin: 0 auto; 
    line-height: 1.6;
}

footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem 1.5rem 2rem;
    border-top: 1px solid var(--border);
    background-color: var(--dark2);
    gap: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text);
    font-weight: 800;
}

.footer-logo img {
    height: 40px;
    margin-right: 0.5rem;
}

.footer-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-dim);
    font-size: 0.85rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--text);
}

.footer-projects {
    width: 100%;
    margin-top: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    line-height: 1.8;
}

.projects-title {
    color: var(--cyan-hover);
    font-weight: 600;
    margin-right: 0.5rem;
}

.footer-projects a {
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-block;
}

.footer-projects a:hover {
    color: var(--text);
}

.projects-sep {
    color: var(--border-bright);
    padding: 0 0.6rem;
}

footer .footer-copy {
    display: block;
    width: 100%;
    text-align: center;
    color: var(--text-dim);
    opacity: 0.7;
    font-size: 0.8rem;
    margin-top: 1rem;
    padding-right: 60px;
}

/* =========================================================================
   BOTÃO FLUTUANTE WHATSAPP
   ========================================================================= */
.wa-float {
    position: fixed;
    width: 56px;
    height: 56px;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 4px 15 rgba(15, 23, 42, 0.15);
    z-index: 100;
    transition: transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wa-float:hover {
    transform: scale(1.08);
}

.wa-float svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

/* =========================================================================
   RESPONSIVIDADE COMPLETA E LIMPA
   ========================================================================= */
@media (max-width: 1100px) {
    .case-row {
        gap: 2rem;
    }
    .case-image-side {
        height: 280px; /* Altura ajustada proporcionalmente */
    }
}

@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
    }
    .hero-text-side {
        width: 100%;
        padding-right: 0;
    }
    .hero-terminal-side {
        width: 100%;
    }
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .nav-links {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 1rem;
    }
    
    .nav-links li, .nav-links .nav-cta {
        width: 100%;
    }
    
    .nav-links .nav-cta {
        text-align: center;
        display: block;
    }

    .lang-dropdown-menu {
        position: relative;
        right: auto;
        transform: none;
        box-shadow: none;
        border: none;
        background: transparent;
        display: flex;
        gap: 15px;
        margin-top: 0.25rem;
        padding-left: 0;
    }

    .dropdown-item {
        width: auto;
        padding: 4px 8px;
        border-radius: 4px;
        background-color: var(--dark3);
    }

    .services-grid-two, .pillars-grid, .demo-grid, .segments-grid, .growth-grid {
        flex-direction: column;
        gap: 1.5rem;
    }

    .services-grid-two .service-card:first-child,
    .services-grid-two .service-card:last-child {
        border-radius: 8px !important;
        border: 1px solid var(--border) !important;
    }

    .cases-wrapper {
        gap: 4rem !important;
    }

    .case-row, .case-row.row-reverse {
        flex-direction: column !important;
        gap: 2rem !important;
    }

    /* ESSENCIAL: Garante o respiro da imagem e a visibilidade sem cortes em telemóveis */
    .case-image-side {
        height: 240px !important;
        padding: 10px !important;
    }

    .hero-metrics {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .hm-divider {
        display: none;
    }

    footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.75rem;
    }
}