/* GLOBAL RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-neon: #00ffff; /* Ciano Neon */
    --secondary-neon: #ff00ff; /* Magenta Neon */
    --tertiary-neon: #ffff00; /* Amarelo Neon */
    --dark-bg-1: #0a0a0a;
    --dark-bg-2: #1a1a2e;
    --dark-bg-3: #16213e;
    --text-light: #ffffff;
    --text-muted: #cccccc;

    /* ADIÇÃO: variáveis de acessibilidade/UX */
    --focus-ring: #00ffff;
    --header-offset: 90px;
}

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--dark-bg-1) 0%, var(--dark-bg-2) 50%, var(--dark-bg-3) 100%);
    color: var(--text-light);
    line-height: 1.8;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Travar scroll quando menu mobile estiver aberto (JS adiciona a classe) */
body.menu-open,
body.no-scroll { overflow: hidden; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', 'Segoe UI', sans-serif;
    font-weight: 700;
}

/* Skip link (acessibilidade) */
.skip-link {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 10px 14px;
    background: var(--primary-neon);
    color: #000;
    border-radius: 6px;
    font-weight: 600;
    z-index: 10000;
    transform: translateY(-150%);
    transition: transform .2s ease;
}
.skip-link:focus,
.skip-link:focus-visible {
    transform: translateY(0);
    outline: 3px solid #000;
    outline-offset: 2px;
}

/* Focus visível padrão para elementos interativos */
:where(a, button, [role="button"], .dot, .nav-btn, .dashboard-btn, .cta-button, .portfolio-item, .service-card, .header-logo a):focus-visible {
    outline: 3px solid var(--focus-ring);
    outline-offset: 3px;
    border-radius: 8px;
}

/* Offsets de rolagem para âncoras com header sticky */
section[id] { scroll-margin-top: var(--header-offset); }

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float a {
    color: white;
    font-size: 24px;
    text-decoration: none;
}

/* Header/Navbar */
.main-header {
    background-color: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 999;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 255, 255, 0.1);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo img {
    max-width: 150px;
    height: auto;
    filter: drop-shadow(0 0 10px var(--primary-neon));
    transition: all 0.3s ease;
}

.header-logo img:hover {
    filter: drop-shadow(0 0 20px var(--primary-neon));
}

.main-nav .nav-links {
    list-style: none;
    display: flex; /* Padrão desktop: menu de links visível */
    gap: 30px;
    margin: 0; /* Limpeza de margem para menu desktop */
    padding: 0; /* Limpeza de padding para menu desktop */
}

.main-nav .nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    position: relative;
    transition: color 0.3s ease;
    padding: 5px 0;
}

.main-nav .nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-neon), var(--secondary-neon));
    transition: width 0.3s ease;
}

.main-nav .nav-links a:hover::after,
.main-nav .nav-links a.active::after {
    width: 100%;
}

.main-nav .nav-links a:hover {
    color: var(--primary-neon);
}

.menu-toggle {
    display: none; /* Padrão desktop: hambúrguer invisível */
    background: none;
    border: none;
    color: var(--primary-neon);
    font-size: 1.8rem;
    cursor: pointer;
    padding: 10px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(ellipse at center, rgba(0, 255, 255, 0.1) 0%, transparent 50%);
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23ffffff" stroke-width="0.1" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-logo-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.hero-animated-logo {
  display: block;
  max-width: 300px;
  height: auto;
  /* Usa variável CSS para a cor do glow, com fallback */
  filter: drop-shadow(0 0 30px var(--logo-glow-color, var(--primary-neon)));
  --logo-glow-color: var(--primary-neon);
  animation: logoFloat 4s ease-in-out infinite alternate, logoGlow 3s ease-in-out infinite alternate;
}

@keyframes logoFloat {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-50px); }
    100% { transform: translateY(0px); }
}

@keyframes logoGlow {
    0%, 100% {
        filter: drop-shadow(0 0 20px var(--logo-glow-color, var(--primary-neon))) brightness(1);
    }
    50% {
        filter: drop-shadow(0 0 35px var(--logo-glow-color, var(--primary-neon))) brightness(1.3);
    }
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 30px;
    background: linear-gradient(45deg, var(--primary-neon), var(--secondary-neon), var(--tertiary-neon));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
    line-height: 1.2;
}

.hero-content .highlight-text {
    color: var(--primary-neon);
    -webkit-text-fill-color: var(--primary-neon);
}

.typing-text {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    min-height: 250px;
    border-left: 3px solid var(--primary-neon);
    padding-left: 20px;
    animation: blink 1s infinite;
    font-weight: 300;
    line-height: 1.5;
    color: var(--text-muted);
    --typing-b-color: var(--primary-neon);
    --typing-i-color: var(--secondary-neon);
}

.typing-text b {
    color: var(--typing-b-color);
    font-weight: 700;
}
.typing-text i {
    color: var(--typing-i-color);
    font-style: italic;
}

@keyframes blink {
    0%, 50% { border-color: var(--primary-neon); }
    51%, 100% { border-color: transparent; }
}

/* Sections Base */
section {
    padding: 100px 0;
    position: relative;
}
section:nth-of-type(odd) {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(26, 26, 46, 0.8));
}
section:nth-of-type(even) {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.8), rgba(22, 33, 62, 0.8));
}

h2 {
    text-align: center;
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    margin-bottom: 60px;
    background: linear-gradient(45deg, var(--primary-neon), var(--secondary-neon));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    text-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}

/* Services Section */
.services h2 { margin-bottom: 80px; }

.carousel-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden; /* Corta cards fora da visualização */
}

.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 30px; 
}

/* AJUSTE: remover margens laterais para não somar com o gap e desalinhar o passo do carrossel */
.service-card {
    flex-shrink: 0;
    width: 870px; /* 870 + gap(30) = 900 (passo do JS) */
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1), rgba(255, 0, 255, 0.1));
    border: 2px solid rgba(0, 255, 255, 0.3);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    margin: 0; /* removido 0 15px */
    opacity: 0;
    transform: translateY(30px);
}

.service-card.active {
    opacity: 1;
    transform: translateY(0);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--primary-neon), var(--secondary-neon), var(--tertiary-neon), var(--primary-neon));
    background-size: 400% 400%;
    animation: gradientShift 4s ease infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.service-card:hover::before {
    opacity: 0.1;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.card-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    color: var(--primary-neon);
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--text-light);
}

.service-card ul {
    list-style: none;
    text-align: left;
    margin-top: 20px;
}

.service-card li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    padding-left: 30px;
    color: var(--text-muted);
}
.service-card li:last-child { border-bottom: none; }

.service-card li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--primary-neon);
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
    font-size: 0.8em;
    top: 12px;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.nav-btn {
    background: rgba(0, 255, 255, 0.2);
    border: 2px solid var(--primary-neon);
    color: var(--primary-neon);
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    z-index: 11;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
    background: rgba(0, 255, 255, 0.4);
    transform: scale(1.1);
    box-shadow: 0 0 15px var(--primary-neon);
}

.nav-btn:active { transform: scale(0.98); }

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.dot.active,
.dot[aria-selected="true"] {
    background: var(--primary-neon);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.8);
}

.dot:focus-visible {
    border-color: var(--primary-neon);
}

/* Benefits Section */
.benefits .section-intro {
    text-align: center;
    margin-bottom: 60px;
    font-size: 1.1rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-muted);
}

.benefits .section-intro p {
    margin-bottom: 20px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.benefit-block {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.05), rgba(255, 0, 255, 0.05));
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 15px;
    padding: 30px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.benefit-block.active {
    opacity: 1;
    transform: translateY(0);
}

.benefit-block:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 255, 255, 0.2);
    border-color: var(--primary-neon);
}

.benefit-icon {
    font-size: 3rem;
    color: var(--primary-neon);
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
}

.benefit-block h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-light);
}

.benefit-block ul {
    list-style: none;
    margin-top: auto;
}

.benefit-block li {
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
    color: var(--text-muted);
}

.benefit-block li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-neon);
    font-weight: bold;
}

.conclusion {
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1), rgba(255, 0, 255, 0.1));
    border-radius: 15px;
    padding: 40px;
    border: 2px solid rgba(0, 255, 255, 0.3);
    margin-top: 80px;
}

.conclusion h3 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 20px;
    color: var(--primary-neon);
}
.conclusion p {
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Dashboard Section */
.dashboard h2 { margin-bottom: 40px; }

.dashboard-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.dashboard-btn {
    background: transparent;
    border: 2px solid var(--primary-neon);
    color: var(--primary-neon);
    padding: 15px 30px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    font-weight: 600;
}

.dashboard-btn:hover,
.dashboard-btn.active,
.dashboard-controls [role="tab"][aria-selected="true"] {
    background: var(--primary-neon);
    color: var(--dark-bg-1);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.6);
}

.dashboard-content {
    position: relative;
    min-height: 300px;
}

.dashboard-panel {
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    justify-content: center;
    align-items: stretch;
}

.dashboard-panel.active {
    display: grid;
}

.metric-card {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1), rgba(255, 0, 255, 0.1));
    border: 2px solid rgba(0, 255, 255, 0.3);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    opacity: 0;
    transform: translateY(30px);
}

.metric-card.active {
    opacity: 1;
    transform: translateY(0);
}

.metric-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 255, 255, 0.3);
}

.metric-card h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--text-light);
}

.metric-value {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: bold;
    color: var(--primary-neon);
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
    margin-bottom: 10px;
}

.metric-comparison {
    font-size: 1rem;
    color: var(--text-muted);
    margin-top: auto;
}

/* Portfolio Section */
.portfolio h2 { margin-bottom: 30px; }

.portfolio-intro-text {
    text-align: center;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 60px auto;
    color: var(--text-muted);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
}

.portfolio-category h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
    color: var(--primary-neon);
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.portfolio-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.portfolio-item {
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1), rgba(255, 0, 255, 0.1));
    border: 2px solid rgba(0, 255, 255, 0.3);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    opacity: 0;
    transform: translateY(30px);
    min-height: 150px;
}

.portfolio-item.active {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-item:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 255, 255, 0.3);
    border-color: var(--primary-neon);
}

.placeholder {
    color: var(--text-muted);
    font-size: 1.1rem;
    text-align: center;
    padding: 15px;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(26, 26, 46, 0.9));
}
.contact h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
}
.contact p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: var(--text-muted);
}

.cta-button {
    background: linear-gradient(45deg, var(--primary-neon), var(--secondary-neon));
    border: none;
    color: var(--dark-bg-1);
    font-size: 1.5rem;
    font-weight: bold;
    padding: 20px 50px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.4);
    will-change: transform, box-shadow;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 255, 255, 0.6);
    background: linear-gradient(45deg, var(--secondary-neon), var(--primary-neon));
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--dark-bg-1), var(--dark-bg-2));
    padding: 60px 0 20px;
    border-top: 2px solid rgba(0, 255, 255, 0.3);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-about {
    align-items: flex-start;
}

.footer-about p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: 15px;
}

.footer-logo img {
    max-width: 180px;
    height: auto;
    filter: drop-shadow(0 0 15px rgba(0, 255, 255, 0.5));
}

.footer-col h4 {
    font-size: 1.3rem;
    color: var(--primary-neon);
    margin-bottom: 25px;
    position: relative;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    height: 2px;
    width: 50px;
    background: linear-gradient(90deg, var(--primary-neon), var(--secondary-neon));
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1rem;
}

.footer-links a:hover {
    color: var(--primary-neon);
    padding-left: 5px;
}

.footer-contacts .contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-muted);
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer-contacts .contact-item:hover {
    color: var(--primary-neon);
}

.footer-contacts .contact-item i {
    font-size: 1.2rem;
    color: var(--primary-neon);
}

.footer-contacts .contact-item a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-contacts .contact-item a:hover {
    color: var(--primary-neon);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    font-size: 0.9rem;
}


/* Responsive Design */

/* --- MOBILE & TABLET (até 767px de largura) --- */
@media (max-width: 767px) {
    :root { --header-offset: 110px; }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }
    .hero-logo-wrapper { order: -1; }
    .hero-animated-logo { max-width: 250px; }

    /* Regras do MENU para Mobile/Tablet */
    .main-nav { position: relative; }
    .main-nav .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(10, 10, 10, 0.95);
        padding: 20px 0;
        border-top: 1px solid rgba(0, 255, 255, 0.1);
        z-index: 998;
    }
    .main-nav .nav-links.active {
        display: flex;
    }
    .main-nav .nav-links li {
        text-align: center;
        margin: 10px 0;
    }
    .menu-toggle {
        display: block;
    }

    /* Carrossel em mobile */
    .carousel-container { padding-inline: 0; }
    .service-card {
        width: 100%;
        margin-inline: 0;
    }

    /* Outras regras de layout e tipografia para mobile/tablet */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }
    .typing-text { min-height: 200px; font-size: 1rem; }
    .service-card { padding: 30px; }
    .benefit-block, .metric-card { padding: 25px; }
    .dashboard-controls { flex-direction: column; }
    .cta-button { font-size: 1.2rem; padding: 15px 30px; }
    .whatsapp-float { width: 50px; height: 50px; bottom: 20px; right: 20px; }
    .whatsapp-float a { font-size: 20px; }
    .portfolio-items { grid-template-columns: 1fr; }
    .portfolio-category h3 { font-size: 1.5rem; }

    .carousel-nav { display: none; } /* Esconde as setas em mobile, mantendo swipe */
    .footer-content { grid-template-columns: 1fr; text-align: center; }
    .footer-col { align-items: center; }
    .footer-col h4::after { left: 50%; transform: translateX(-50%); }
}

/* --- MOBILE PEQUENO (até 479px de largura) --- */
@media (max-width: 479px) {
    .container { padding: 0 15px; }
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.6rem; }
    .typing-text { min-height: 180px; font-size: 0.9rem; }
    .cta-button { font-size: 1rem; padding: 12px 25px; }
}

/* --- DESKTOP (a partir de 768px de largura) --- */
@media (min-width: 1200px) {
    .hero-animated-logo { max-width: 350px; }
}
@media (min-width: 1366px) {
    .hero-animated-logo { max-width: 400px; }
}
@media (min-width: 1920px) {
    .hero-animated-logo { max-width: 480px; }
}
@media (min-width: 2560px) {
    .hero-animated-logo { max-width: 550px; }
}
@media (min-width: 3840px) {
    .hero-animated-logo { max-width: 700px; }
}

/* Fallback quando backdrop-filter não é suportado */
@supports not ((backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px))) {
    .main-header,
    .service-card,
    .benefit-block,
    .metric-card,
    .conclusion {
        background-color: rgba(255,255,255,0.05);
    }
}

/* Redução de motion para acessibilidade */
@media (prefers-reduced-motion: reduce) {
    * { 
        animation: none !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}