/* Base Styles */
:root {
    /* Tema claro (padrão) */
    --primary-color: #FFD600;
    --primary-hover: #E6C100;
    --primary-light: #FFE066;
    --primary-dark: #CCB000;

    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;

    --text-primary: #1a1a1a;
    --text-secondary: #4b5563;
    --text-tertiary: #6b7280;

    --accent-yellow: #FFD600;
    --accent-orange: #ff9800;
    --accent-blue: #0ea5e9;

    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-md: 0 8px 16px rgba(0, 0, 0, 0.09);

    --gradient: linear-gradient(135deg, #FFD600, #FFE066);
    --card-bg: rgba(255, 255, 255, 0.9);
    --card-border: rgba(0, 0, 0, 0.05);
}

/* Tema escuro */
[data-theme="dark"] {
    --primary-color: #FFD600;
    --primary-hover: #FFE066;
    --primary-light: #665200;
    --primary-dark: #FFDB5C;

    --bg-primary: #0f172a;
    /* Azul escuro profundo */
    --bg-secondary: #1e293b;
    /* Azul escuro médio */
    --bg-tertiary: #334155;
    /* Azul escuro claro */

    --text-primary: #f8fafc;
    /* Branco suave */
    --text-secondary: #e2e8f0;
    /* Cinza claro */
    --text-tertiary: #cbd5e1;
    /* Cinza médio */

    --accent-yellow: #FFD600;
    --accent-orange: #fb923c;
    --accent-blue: #38bdf8;

    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.4);
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 8px 16px rgba(0, 0, 0, 0.6);

    --gradient: linear-gradient(135deg, #FFD600, #B78E00);
    --card-bg: rgba(15, 23, 42, 0.95);
    /* Fundo dos cards mais escuro */
    --card-border: rgba(255, 255, 255, 0.1);

    --header-bg: rgba(15, 23, 42, 0.9);
    --mobile-menu-bg: #0F172A;
    --button-text: #0f172a;
    --input-bg: #1e293b;
    --input-border: #334155;
    --input-text: #f8fafc;

    --hero-gradient: linear-gradient(to bottom right,
            rgba(255, 214, 0, 0.05),
            rgba(15, 23, 42, 0.95),
            rgba(255, 214, 0, 0.02));

    --form-bg: rgba(30, 41, 59, 0.95);
    --form-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Favicon arredondado */
link[rel="icon"] {
    border-radius: 50%;
    overflow: hidden;
}

/* Estilo para favicon arredondado */
.favicon-rounded {
    border-radius: 50%;
    object-fit: cover;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.5;
    color: var(--text-primary);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--header-bg);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.25rem;
}

.logo-icon {
    color: #FED500;
    text-shadow: 0 0 10px #FED500, 0 0 20px #FED500;
    filter: brightness(1.2) contrast(1.1);
}

.nav-desktop {
    display: none;
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
        gap: 2rem;
    }
}

.nav-desktop a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.nav-desktop a:hover {
    color: var(--primary-color);
}

.nav-desktop a.active {
    color: var(--primary-color) !important;
    font-weight: bold;
    border-bottom: 2.5px solid var(--primary-color);
    background: rgba(254, 213, 0, 0.10);
    border-radius: 6px 6px 0 0;
    transition: background 0.2s, color 0.2s;
}

[data-theme="dark"] .nav-desktop a.active {
    color: var(--primary-color) !important;
    background: rgba(254, 213, 0, 0.15);
    border-bottom: 2.5px solid var(--primary-color);
}

.cta-button {
    display: none;
}

.cta-button a {
    color: white;
    text-decoration: none;
}

@media (min-width: 768px) {
    .cta-button {
        display: block;
        background: var(--primary-color);
        color: white;
        padding: 0.5rem 1rem;
        border-radius: 0.375rem;
        border: none;
        cursor: pointer;
        transition: background-color 0.2s;
    }

    .cta-button:hover {
        background: var(--primary-hover);
    }
}

.menu-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle i,
.menu-toggle svg {
    transition: color 0.2s, stroke 0.2s;
}

[data-theme="dark"] .menu-toggle i,
[data-theme="dark"] .menu-toggle svg {
    color: #fff !important;
    stroke: #fff !important;
    fill: none;
}

@media (min-width: 768px) {
    .menu-toggle {
        display: none;
    }
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--mobile-menu-bg);
    padding: 0;
    z-index: 2000;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    transform: translateZ(0);
    /* Força aceleração de hardware */
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1rem;
    transform: translateY(-20px);
    opacity: 0;
    transition: all 0.3s ease 0.1s;
}

.mobile-menu.active .mobile-menu-header {
    transform: translateY(0);
    opacity: 1;
}





.mobile-menu-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-color);
}

.mobile-menu-content {
    padding: 0 1rem 1rem 1rem;
    flex: 1;
}

.mobile-menu.active {
    left: 0;
}

/* Overlay para fechar o menu ao clicar fora */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    transform: translateX(-20px);
    opacity: 0;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin-bottom: 0.25rem;
}

.mobile-menu.active a {
    transform: translateX(0);
    opacity: 1;
}

/* Delay escalonado para cada link */
.mobile-menu a:nth-child(1) {
    transition-delay: 0.1s;
}

.mobile-menu a:nth-child(2) {
    transition-delay: 0.15s;
}

.mobile-menu a:nth-child(3) {
    transition-delay: 0.2s;
}

.mobile-menu a:nth-child(4) {
    transition-delay: 0.25s;
}

.mobile-menu a:nth-child(5) {
    transition-delay: 0.3s;
}

.mobile-menu a:nth-child(6) {
    transition-delay: 0.35s;
}

.mobile-menu a:nth-child(7) {
    transition-delay: 0.4s;
}

.mobile-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}


/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: var(--hero-gradient, linear-gradient(120deg, #f8fafc 0%, #0f172a 100%));
    padding: 0;
    text-align: center;
}

.hero .container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    gap: 2.2rem;
}

.hero-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    margin-top: 0;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #FFFFFF;
}

.hero p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    text-align: center;
}

.hero .social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
}

.hero .social-links a {
    color: var(--text-secondary);
    background: rgba(0, 0, 0, 0.04);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: color 0.2s, background 0.2s, transform 0.2s;
}

.hero .social-links a:hover {
    color: var(--primary-color);
    background: rgba(255, 214, 0, 0.12);
    transform: translateY(-3px) scale(1.08);
}

/* Estilo padrão do ícone do WhatsApp */
.whatsapp-icon {
    width: 24px;
    filter: brightness(0.2);
    /* Escurece o ícone no modo claro */
    transition: filter 0.3s ease;
}

/* Ajuste do ícone no modo escuro */
[data-theme="dark"] .whatsapp-icon {
    filter: brightness(10);
    /* Clareia o ícone no modo escuro */
}

/* Efeito hover para ambos os modos */
.social-links a:hover .whatsapp-icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* Ajuste do hover específico para cada modo */
[data-theme="dark"] .social-links a:hover .whatsapp-icon {
    filter: brightness(10) sepia(1) hue-rotate(70deg) saturate(5);
    /* Efeito esverdeado no hover */
}

.social-links a:hover .whatsapp-icon {
    filter: brightness(0.2) sepia(1) hue-rotate(70deg) saturate(5);
    /* Efeito esverdeado no hover */
}

/* About Section */
.about {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

.about-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

.about h2 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
    color: var(--text-primary);
}

.about h2::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 4rem;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.about p {
    color: var(--text-secondary);
    margin-bottom: 12px;
}

/* About Section Text Styling */
.about-intro {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.about-philosophy {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    padding-left: 1rem;
    border-left: 3px solid var(--primary-color);
}

.about-commitment {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.about-approach {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: var(--text-secondary);
    font-style: italic;
}

.apresentation-slogan {
    font-size: 14px;
    text-align: end;
    color: var(--text-secondary);
}



.skills-container {
    margin-top: 150px;
}

.skills-container h3 {
    margin-bottom: 42px;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 600;
}

.skills-grid ul {
    margin-top: 24px;
    display: flex;
    justify-content: center;
    gap: 100px;
    list-style: none;
}

.skills-grid ul li img {
    width: 54px;
}

.skills-grid ul li img {
    filter: grayscale(100%);
}

.skills-grid ul li img:hover {
    cursor: pointer;
    scale: 1.1;
    transition: 0.5s;
}

.skills-grid ul {
    margin-top: 24px;
    display: flex;
    justify-content: center;
    gap: 100px;
    list-style: none;
}

.skills-grid ul li img {
    width: 54px;
}

.skills-grid ul li img {
    filter: grayscale(100%);
}

.skills-grid ul li img:hover {
    cursor: pointer;
    scale: 1.1;
    transition: 0.5s;
}

@media (min-width: 844px) {
    .skills-container {
        margin-top: 32px;
        width: 100%;
    }
}

@media (min-width: 640px) {
    .skills-grid ul li {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
    }
}

@media (min-width: 844px) {
    .skills-grid ul li img {
        width: 38px;
    }
}

@media (max-width: 768px) {
    .skills-grid ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .skills-grid ul li {
        margin: 8px;
    }

    .skills-grid ul li img {
        width: 42px;
    }

    .skills-container {
        width: 100%;
    }
}

.skills {
    display: grid;
    gap: 2.5rem;
}

.skill {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: var(--card-bg);
    backdrop-filter: blur(8px);
    border: 1px solid var(--card-border);
    padding: 1.25rem;
    transition: all 0.3s ease;
}

.skill:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 0 1px var(--primary-color);
    border-color: var(--primary-color);
}

.skill-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background: var(--gradient);
    color: white;
    border-radius: 0.375rem;
    box-shadow: 0 4px 12px rgba(254, 213, 0, 0.2);
}

.skill h3 {
    font-size: 1.125rem;
    font-weight: 500;
    margin-top: 12px;
}

.about-image img {
    margin-top: 20px;
    width: 100%;
    border-radius: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.about-office-image {
    max-width: 400px;
    width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
    border-radius: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .about-office-image {
        max-width: 260px;
    }
}

@media (max-width: 480px) {
    .about-office-image {
        max-width: 220px;
    }

    .about h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .about-intro,
    .about-philosophy,
    .about-commitment,
    .about-approach {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.2rem;
    }

    .about-philosophy {
        padding-left: 0.8rem;
        border-left-width: 2px;
    }
}

/* Visão, Missão e Valores Section */
.vmv-section {
    padding: 5rem 0;
    background: var(--bg-primary);
}

.vmv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.vmv-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.vmv-logo {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.vmv-logo:hover {
    transform: scale(1.05);
}

.vmv-content {
    padding-left: 2rem;
}

.vmv-item {
    margin-bottom: 2.5rem;
}

.vmv-item:last-child {
    margin-bottom: 0;
}

.vmv-item h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    position: relative;
}

.vmv-item h3::after {
    content: '';
    position: absolute;
    bottom: -0.25rem;
    left: 0;
    width: 3rem;
    height: 2px;
    background: var(--primary-color);
    border-radius: 1px;
}

.vmv-item p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.valores-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.valor-item {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    padding: 1rem;
    background: rgba(255, 214, 0, 0.05);
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
    transition: all 0.3s ease;
}

.valor-item:hover {
    background: rgba(255, 214, 0, 0.08);
    transform: translateX(5px);
}

.valor-item strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Dark mode adjustments for VMV */
[data-theme="dark"] .valor-item {
    background: rgba(255, 214, 0, 0.08);
}

[data-theme="dark"] .valor-item:hover {
    background: rgba(255, 214, 0, 0.12);
}

/* Responsive adjustments for VMV */
@media (max-width: 1024px) {
    .vmv-grid {
        gap: 3rem;
    }

    .vmv-content {
        padding-left: 1.5rem;
    }
}

@media (max-width: 768px) {
    .vmv-section {
        padding: 4rem 0;
    }

    .vmv-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .vmv-content {
        padding-left: 0;
        text-align: center;
    }

    .vmv-item h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .vmv-logo {
        max-width: 300px;
    }

    .valor-item {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .vmv-section {
        padding: 3rem 0;
    }

    .vmv-grid {
        gap: 2rem;
    }

    .vmv-item h3 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }

    .vmv-item p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .valor-item {
        font-size: 0.95rem;
        padding: 0.8rem;
        border-left-width: 2px;
    }

    .vmv-logo {
        max-width: 250px;
    }
}

/* Quem Somos Section */
.quem-somos-section {
    padding: 5rem 0;
    background: var(--bg-primary);
}

.quem-somos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.quem-somos-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.quem-somos-logo-circle {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #12141C 0%, #0A0C10 100%);
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 4px 20px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.quem-somos-logo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 100%;
}

.quem-somos-content {
    padding-right: 2rem;
}

.quem-somos-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
    position: relative;
}

.quem-somos-text h2::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 4rem;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.quem-somos-intro {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.quem-somos-vision-box {
    margin-bottom: 1.8rem;
    padding-left: 1rem;
    border-left: 4px solid var(--primary-color);
}

.quem-somos-vision {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 0;
    color: var(--text-secondary);
}

.quem-somos-values {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.8rem;
    color: var(--text-secondary);
}

.quem-somos-commitment {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 0;
    color: var(--text-secondary);
    font-style: italic;
    font-weight: 500;
}

/* Dark mode adjustments for quem somos */
[data-theme="dark"] .quem-somos-vision {
    background: rgba(255, 214, 0, 0.08);
}

/* Responsive adjustments for quem somos */
@media (max-width: 1024px) {
    .quem-somos-grid {
        gap: 3rem;
    }

    .quem-somos-content {
        padding-left: 1.5rem;
    }
}

@media (max-width: 768px) {
    .quem-somos-section {
        padding: 4rem 0;
    }

    .quem-somos-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .quem-somos-content {
        padding-left: 0;
        text-align: center;
    }

    .quem-somos-text h2 {
        font-size: 2rem;
        margin-bottom: 2.5rem;
    }

    .quem-somos-text h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .quem-somos-intro {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    .quem-somos-vision,
    .quem-somos-values,
    .quem-somos-commitment {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .quem-somos-vision {
        padding: 1.2rem;
        border-left-width: 3px;
    }

    .quem-somos-image-container {
        max-width: 90%;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .quem-somos-section {
        padding: 3rem 0;
    }

    .quem-somos-grid {
        gap: 2rem;
    }

    .quem-somos-text h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .quem-somos-intro {
        font-size: 1rem;
        line-height: 1.6;
    }

    .quem-somos-vision,
    .quem-somos-values,
    .quem-somos-commitment {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1.2rem;
    }

    .quem-somos-vision {
        padding: 1rem;
        border-left-width: 2px;
    }

    .quem-somos-image-container {
        max-width: 95%;
    }
}

/* Sala Dev & Quem Somos Section */
.sala-dev-quem-somos-section {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

.sala-dev-quem-somos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.sala-dev-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.sala-dev-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.sala-dev-image:hover {
    transform: scale(1.02);
}

.quem-somos-content {
    padding-left: 2rem;
}

.quem-somos-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2.5rem;
    position: relative;
}

.quem-somos-text h2::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 4rem;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.quem-somos-intro {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.quem-somos-vision {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    padding: 1.2rem;
    background: rgba(255, 214, 0, 0.05);
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
}

.quem-somos-values {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.quem-somos-commitment {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
    color: var(--text-secondary);
    font-style: italic;
    font-weight: 500;
}

/* Dark mode adjustments */
[data-theme="dark"] .quem-somos-vision {
    background: rgba(255, 214, 0, 0.08);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .sala-dev-quem-somos-grid {
        gap: 3rem;
    }

    .quem-somos-content {
        padding-left: 1.5rem;
    }
}

@media (max-width: 768px) {
    .sala-dev-quem-somos-section {
        padding: 4rem 0;
    }

    .sala-dev-quem-somos-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .quem-somos-content {
        padding-left: 0;
        text-align: center;
    }

    .quem-somos-text h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .quem-somos-text h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .sala-dev-image-container {
        max-width: 90%;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .sala-dev-quem-somos-section {
        padding: 3rem 0;
    }

    .sala-dev-quem-somos-grid {
        gap: 2rem;
    }

    .quem-somos-text h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .quem-somos-intro,
    .quem-somos-vision,
    .quem-somos-values,
    .quem-somos-commitment {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 1.2rem;
    }

    .quem-somos-vision {
        padding: 1rem;
        border-left-width: 2px;
    }

    .sala-dev-image-container {
        max-width: 95%;
    }
}

/* Projects Section */
.projects {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.filter-btn {
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    border: none;
    background: white;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
}

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

.projects-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 0.5rem;
    margin-top: 0.5rem;
}

@media (min-width: 640px) {
    .projects-grid {
        grid-template-columns: repeat(2, minmax(180px, 1fr));
        gap: 0.5rem;
    }
}

@media (min-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(3, minmax(180px, 1fr));
        gap: 0.5rem;
    }
}

.project-card {
    background: var(--card-bg);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 0.2rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    max-width: 540px;
    width: 100%;
    padding: 0.5rem;
    margin: 0 auto;
}

.project-card img {
    width: 100%;
    height: 90px;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 0.15rem;
    display: block;
}

.project-content {
    padding: 0.5rem 0 0 0;
}

.project-content h3 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
    color: var(--text-primary);
}

.project-content p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.project-link:hover {
    color: var(--text-primary);
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

.contact-grid {
    display: grid;
    gap: 2rem;
}

.contact-info {
    margin-top: 30px;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 3fr 2fr;
    }
}

.contact-form {
    background: var(--form-bg);
    border-color: var(--form-border);
    box-shadow: var(--shadow-md);
    padding: 2rem;
    border-radius: 0.5rem;
    animation: fadeIn 0.6s ease-out forwards;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--form-border);
    border-radius: 0.375rem;
    background: var(--bg-secondary);
    transition: all 0.3s ease;
    color: var(--text-primary);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(254, 213, 0, 0.15);
    transform: translateY(-2px);
}

.submit-button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--gradient);
    color: var(--button-text);
    padding: 0.75rem;
    border: none;
    border-radius: 0.375rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(254, 213, 0, 0.2);
}

.submit-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.button-loader {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hidden {
    display: none;
}

.contact-info {
    display: grid;
    gap: 2rem;
}

.info-item {
    display: flex;
    gap: 1rem;
}

.info-item i {
    color: var(--primary-color);
}

.info-item h3 {
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.info-item p {
    color: var(--text-secondary);
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    color: white;
    padding: 3rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 2rem 0;
}

.footer-logo {
    color: #333333;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.25rem;
}

.footer-logo i {
    color: #FED500;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.footer-social a {
    color: #4A4A4A;
    background: rgba(0, 0, 0, 0.04);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: color 0.2s, background 0.2s, transform 0.2s;
}

.footer-social a:hover {
    color: var(--primary-color);
    background: rgba(255, 214, 0, 0.12);
    transform: translateY(-3px) scale(1.08);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #FFD600;
    color: #9ca3af;
}

/* Animations */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.animate-spin {
    animation: spin 1s linear infinite;
}

/* Skills Section */
.skills-section {
    padding: 5rem 0;
    background: var(--bg-primary);
}

.skills-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
}

.skills {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.skill {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--card-bg);
    backdrop-filter: blur(8px);
    border: 1px solid var(--card-border);
    border-radius: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.skill:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.skill.active {
    background: var(--gradient);
    border-color: transparent;
    transform: translateX(10px);
}

.skill.active .skill-content h3,
.skill.active .skill-content p,
.skill.active .skill-icon {
    color: var(--button-text);
}

.skill-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 3.5rem;
    height: 3.5rem;
    background: var(--gradient);
    color: white;
    border-radius: 0.8rem;
    box-shadow: 0 4px 12px rgba(254, 213, 0, 0.2);
}

.skill-content {
    flex: 1;
}

.skill-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.skill-preview {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Skill Details */
.skill-detail {
    display: none;
    padding: 2rem;
    background: var(--card-bg);
    backdrop-filter: blur(8px);
    border: 1px solid var(--card-border);
    border-radius: 1.5rem;
    box-shadow: var(--shadow-md);
    animation: fadeIn 0.3s ease-out;
}

.skill-detail.active {
    display: block;
}

.detail-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.detail-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background: var(--gradient);
    color: white;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(254, 213, 0, 0.2);
}

.detail-header h4 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
}

.detail-intro {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.detail-sections {
    display: grid;
    gap: 2rem;
}

.detail-section {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid var(--card-border);
}

.detail-section h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.detail-section ul {
    list-style: none;
    padding: 0;
}

.detail-section ul li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    color: var(--text-secondary);
}

.detail-section ul li::before {
    content: "→";
    color: var(--primary-color);
    font-weight: bold;
}

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

    .skill-details {
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .skill {
        padding: 1.25rem;
    }

    .detail-header {
        flex-direction: column;
        text-align: center;
    }

    .detail-sections {
        grid-template-columns: 1fr;
    }
}

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

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

/* Responsividade */
@media (max-width: 768px) {
    .skills {
        width: 100%;
    }

    .skills-section .container {
        justify-content: center;
    }

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

    .project-card img {
        height: 12rem;
    }
}

/* Adicione um toggle para o tema escuro no header */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    background: var(--bg-tertiary);
}

/* Atualize/adicione estas classes para melhor contraste no modo escuro */
[data-theme="dark"] .header {
    background: var(--header-bg);
}

[data-theme="dark"] .mobile-menu {
    background: var(--mobile-menu-bg);
}

[data-theme="dark"] .skill.active {
    background: var(--gradient);
}

[data-theme="dark"] .skill.active h3,
[data-theme="dark"] .skill.active p {
    color: var(--button-text);
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea {
    background: var(--bg-secondary);
    border-color: var(--form-border);
    color: var(--text-primary);
}

[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group textarea:focus {
    background: var(--bg-tertiary);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(254, 213, 0, 0.15);
}

[data-theme="dark"] .project-card {
    background: var(--card-bg);
}

[data-theme="dark"] .filter-btn {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
}

[data-theme="dark"] .filter-btn.active {
    background: var(--primary-color);
    color: var(--button-text);
}

[data-theme="dark"] .footer {
    background: var(--bg-secondary);
}

[data-theme="dark"] .footer-logo {
    color: #FFFFFF;
}

[data-theme="dark"] .footer-logo i {
    color: #FED500;
}

[data-theme="dark"] .footer-social a {
    color: var(--text-secondary);
}

[data-theme="dark"] .footer-bottom {
    color: var(--text-tertiary);
}

/* Ajustes para melhor visibilidade dos ícones no modo escuro */
[data-theme="dark"] .skill-icon,
[data-theme="dark"] .detail-icon {
    box-shadow: 0 4px 12px rgba(255, 214, 0, 0.3);
}

/* Ajuste do contraste para textos sobre fundos claros no modo escuro */
[data-theme="dark"] .primary-button,
[data-theme="dark"] .submit-button,
[data-theme="dark"] .skill.active {
    color: var(--button-text);
}

/* Melhoria na legibilidade dos cards no modo escuro */
[data-theme="dark"] .skill-detail {
    background: var(--card-bg);
}

[data-theme="dark"] .detail-section {
    background: var(--bg-secondary);
}

/* Ajuste nas cores de hover para melhor feedback visual */
[data-theme="dark"] .nav-desktop a:hover,
[data-theme="dark"] .footer-social a:hover {
    color: var(--primary-color);
}

/* Melhorar visibilidade dos inputs no modo escuro */
[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 214, 0, 0.2);
}

/* Ajuste no contraste dos botões no modo escuro */
[data-theme="dark"] .cta-button,
[data-theme="dark"] .submit-button {
    background: var(--gradient);
    color: var(--button-text);
}

/* Melhore a visibilidade do placeholder no modo escuro */
[data-theme="dark"] .form-group input::placeholder,
[data-theme="dark"] .form-group textarea::placeholder {
    color: var(--text-tertiary);
}

/* Animações para as seções */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Classes para elementos invisíveis */
.fade-up,
.fade-left,
.fade-right,
.scale-in {
    opacity: 0;
}

/* Classes para elementos animados */
.fade-up.animate {
    animation: fadeInUp 0.6s ease-out forwards;
}

.fade-left.animate {
    animation: fadeInLeft 0.6s ease-out forwards;
}

.fade-right.animate {
    animation: fadeInRight 0.6s ease-out forwards;
}

.scale-in.animate {
    animation: scaleIn 0.6s ease-out forwards;
}

/* Delay nas animações */
.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

/* estilos de projeto seguem padrão de .project-card - sem regras específicas para filtered-card */

/* Serviços Section Moderno */
.services-section {
    padding: 5rem 0;
    background: var(--bg-primary);
}

.services-title {
    text-align: center;
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 2.5rem;
    color: var(--text-primary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 2rem 1.5rem 1.5rem 1.5rem;
    }

    .service-benefits li {
        font-size: 0.9rem;
        margin-bottom: 0.6rem;
    }
}

@media (max-width: 480px) {
    .service-card {
        padding: 1.5rem 1rem 1rem 1rem;
    }

    .service-benefits {
        margin-top: 0.5rem;
    }

    .service-benefits li {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }
}

.service-card {
    background: var(--card-bg);
    border-radius: 1.25rem;
    box-shadow: var(--shadow);
    padding: 2.5rem 2rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid var(--card-border);
    position: relative;
}

.service-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    width: 100%;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 32px rgba(254, 213, 0, 0.13);
    border-color: var(--primary-color);
}

.service-icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F6E05E;
    color: white;
    border-radius: 0.75rem;
    font-size: 1.5rem;
    margin-right: 1rem;
    box-shadow: 0 2px 8px rgba(246, 224, 94, 0.3);
    flex-shrink: 0;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0;
    color: var(--text-primary);
    flex: 1;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    width: 100%;
}

.service-benefits li {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.service-benefits li:last-child {
    margin-bottom: 0;
}

.service-benefits li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.25rem;
    width: 0.5rem;
    height: 0.5rem;
    background: #F6E05E;
    border-radius: 50%;
}

[data-theme="dark"] .service-card {
    background: var(--bg-secondary);
    border-color: var(--card-border);
}

[data-theme="dark"] .service-card h3 {
    color: var(--primary-color);
}

/* Modal de Detalhes do Serviço */
.service-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    transition: opacity 0.3s;
}

.service-modal.hidden {
    display: none;
}

.service-modal-content {
    background: var(--bg-secondary);
    color: var(--text-primary);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
    border-radius: 1.5rem;
    padding: 2.5rem 2rem 2rem 2rem;
    max-width: 420px;
    width: 90vw;
    text-align: center;
    position: relative;
    animation: fadeInUp 0.4s;
}

.service-modal-close {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--primary-color);
    cursor: pointer;
    transition: color 0.2s;
}

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

.service-modal-icon {
    width: 4.5rem;
    height: 4.5rem;
    margin: 0 auto 1.2rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    color: white;
    border-radius: 1rem;
    font-size: 2.5rem;
    box-shadow: 0 2px 8px rgba(254, 213, 0, 0.13);
}

.service-modal-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-modal-description {
    color: var(--text-secondary);
    font-size: 1.08rem;
    margin-bottom: 1.2rem;
}

.service-modal-list {
    text-align: left;
    margin: 0 auto;
    max-width: 320px;
    color: var(--text-secondary);
    font-size: 1rem;
    padding-left: 1.2rem;
}

.service-modal-list li {
    margin-bottom: 0.7rem;
    position: relative;
}

.service-modal-list li::before {
    content: '→';
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

@media (max-width: 600px) {
    .service-modal-content {
        padding: 1.2rem 0.5rem 1.2rem 0.5rem;
        max-width: 98vw;
    }
}

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 0;
    background: #FFFFFF;
}

[data-theme="dark"] .testimonials-section {
    background: #0F172A;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    /* garante que o card ocupe toda a altura disponível na grid */
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.testimonial-content {
    position: relative;
    z-index: 2;
    /* organiza conteúdo do card em coluna e empurra o autor para o fim */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1 1 auto;
}

.quote-icon {
    position: absolute;
    top: -1rem;
    left: -1rem;
    width: 3rem;
    height: 3rem;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.1;
}

.quote-icon i {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--text-primary);
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    /* deixar o texto crescer e o autor fixo na base do card */
    margin-bottom: 1.25rem;
    font-style: italic;
    position: relative;
    flex: 1 1 auto;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 3.5rem;
    height: 3.5rem;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.author-avatar i {
    width: 1.8rem;
    height: 1.8rem;
    color: var(--text-primary);
}

.author-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.author-info p {
    font-size: 0.9rem;
    color: var(--text-tertiary);
    margin: 0;
}

/* Dark mode adjustments for testimonials */
[data-theme="dark"] .testimonial-card {
    background: #1a1a1a;
    border-color: #333;
}

[data-theme="dark"] .testimonial-text {
    color: #e0e0e0;
}

[data-theme="dark"] .author-info h4 {
    color: #ffffff;
}

[data-theme="dark"] .author-info p {
    color: #b0b0b0;
}



/* Dark mode header - sempre branco, independente do scroll */
[data-theme="dark"] .header {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

[data-theme="dark"] .logo {
    color: #FFFFFF !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5), 0 0 8px rgba(255, 255, 255, 0.3);
}

[data-theme="dark"] .nav-desktop a {
    color: #ffffff !important;
}

[data-theme="dark"] .nav-desktop a:hover {
    color: var(--primary-color) !important;
}

[data-theme="dark"] .nav-desktop a.active {
    color: var(--primary-color) !important;
}

[data-theme="dark"] .menu-toggle i {
    color: #ffffff !important;
}

[data-theme="dark"] .theme-toggle {
    color: #ffffff !important;
}

/* Dark mode header scrolled - mantém as mesmas cores */
[data-theme="dark"] .header.scrolled .logo {
    color: #ffffff !important;
}

[data-theme="dark"] .header.scrolled .nav-desktop a {
    color: #ffffff !important;
}

[data-theme="dark"] .header.scrolled .nav-desktop a:hover {
    color: var(--primary-color) !important;
}

[data-theme="dark"] .header.scrolled .menu-toggle i {
    color: #ffffff !important;
}

[data-theme="dark"] .header.scrolled .theme-toggle {
    color: #ffffff !important;
}

/* Responsive adjustments for testimonials */
@media (max-width: 768px) {
    .testimonials-section {
        padding: 3rem 0;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 2rem;
    }

    .testimonial-card {
        padding: 2rem;
    }

    .testimonial-text {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .author-avatar {
        width: 3rem;
        height: 3rem;
    }

    .author-avatar i {
        width: 1.5rem;
        height: 1.5rem;
    }

    /* Dark mode mobile header adjustments */
    [data-theme="dark"] .mobile-menu {
        background: #0F172A !important;
        backdrop-filter: blur(10px);
    }

    [data-theme="dark"] .mobile-menu a {
        color: #ffffff !important;
    }

    [data-theme="dark"] .mobile-menu a:hover {
        color: var(--primary-color) !important;
        background: rgba(255, 255, 255, 0.1);
    }

    [data-theme="dark"] .mobile-menu-header {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }





    [data-theme="dark"] .mobile-menu-close {
        color: #ffffff !important;
    }

    [data-theme="dark"] .mobile-menu-close:hover {
        background: rgba(255, 255, 255, 0.1);
        color: var(--primary-color) !important;
    }
}

@media (max-width: 480px) {
    .testimonial-card {
        padding: 1.5rem;
    }

    .testimonial-text {
        font-size: 0.95rem;
    }

    .author-info h4 {
        font-size: 1rem;
    }

    .author-info p {
        font-size: 0.85rem;
    }
}

.whatsapp-float {
    position: fixed;
    right: 2.2rem;
    bottom: 2.2rem;
    z-index: 3000;
    background: #25d366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
    font-size: 2rem;
    transition: background 0.2s, transform 0.2s;
    animation: whatsapp-pulse 1.6s infinite;
}

.whatsapp-float:hover {
    background: #1ebe5d;
    color: #fff;
    transform: scale(1.08) translateY(-3px);
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (max-width: 600px) {
    .whatsapp-float {
        right: 1rem;
        bottom: 1rem;
        width: 48px;
        height: 48px;
        font-size: 1.4rem;
    }
}

/* Estilos para modo light - Header */
body:not([data-theme="dark"]) .header {
    background: var(--header-bg);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

body:not([data-theme="dark"]) .logo {
    color: #fff;
}

body:not([data-theme="dark"]) .nav-desktop a {
    color: #fff;
}

body:not([data-theme="dark"]) .nav-desktop a:hover {
    color: var(--primary-color);
}

body:not([data-theme="dark"]) .nav-desktop a.active {
    color: var(--primary-color) !important;
    background: rgba(254, 213, 0, 0.10);
}

body:not([data-theme="dark"]) .theme-toggle {
    color: #fff;
}

/* Header escuro quando sair do hero (modo light) */
body:not([data-theme="dark"]) .header.scrolled .logo {
    color: #111;
}

body:not([data-theme="dark"]) .header.scrolled .nav-desktop a {
    color: #444;
}

body:not([data-theme="dark"]) .header.scrolled .nav-desktop a:hover {
    color: var(--primary-color);
}

body:not([data-theme="dark"]) .header.scrolled .theme-toggle {
    color: #111;
}

/* Mobile menu no modo light - cinza claro com textos pretos */
@media (max-width: 768px) {
    body:not([data-theme="dark"]) .mobile-menu {
        background: #F8FAFC;
        backdrop-filter: blur(10px);
    }

    body:not([data-theme="dark"]) .mobile-menu a {
        color: #111;
    }

    body:not([data-theme="dark"]) .mobile-menu a:hover {
        color: var(--primary-color);
        background: rgba(0, 0, 0, 0.05);
    }

    body:not([data-theme="dark"]) .mobile-menu-header {
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }





    body:not([data-theme="dark"]) .mobile-menu-close {
        color: #111;
    }

    body:not([data-theme="dark"]) .mobile-menu-close:hover {
        background: rgba(0, 0, 0, 0.05);
        color: var(--primary-color);
    }

    /* Ícone do menu mobile no modo light - branco no hero, preto fora do hero */
    body:not([data-theme="dark"]) .menu-toggle i,
    body:not([data-theme="dark"]) .menu-toggle svg {
        color: #fff !important;
        fill: #fff !important;
    }

    body:not([data-theme="dark"]) .header.scrolled .menu-toggle i,
    body:not([data-theme="dark"]) .header.scrolled .menu-toggle svg {
        color: #111 !important;
        fill: #111 !important;
    }
}