:root {
    /* Tema escuro (padrão) */
    --primary-color: #000000;
    --accent-color: #ff4500; /* Cor laranja da logo LEXPO */
    --accent-color-secondary: #ff6a00; /* Cor secundária para gradientes */
    --accent-color-hover: #e63e00; /* Laranja mais escuro para hover */
    --accent-color-alpha-30: rgba(255, 69, 0, 0.3);
    --portfolio-overlay-bg: rgba(0, 0, 0, 0.8);
    --text-color: #ffffff;
    --text-color-secondary: #aaaaaa;
    --text-color-tertiary: rgba(255, 255, 255, 0.5);
    --card-bg-color: rgba(255, 255, 255, 0.05);
    --card-border-color: rgba(150, 150, 150, 0.15);
    --header-bg-color: rgba(0, 0, 0, 0.75);
    --header-scrolled-bg-color: rgba(0, 0, 0, 0.9);
    --footer-bg-color: #111111;
    --footer-border-color: #333333;
    --footer-border-color-trans: rgba(51, 51, 51, 0);
    --cta-bg-color: rgba(255, 69, 0, 0.1);
    --feature-icon-bg: rgba(255, 69, 0, 0.1);
    --form-bg-color: rgba(255, 255, 255, 0.05);
    --form-border-color: rgba(255, 255, 255, 0.1);
    --social-icon-bg: rgba(255, 255, 255, 0.1);
    --icon-text-color: #ffffff;
    --btn-primary-text: #ffffff;
    --btn-secondary-bg: #ffffff;
    --btn-secondary-text: #000000;
    --pulse-shadow-start: rgba(171, 33, 0, 0.9); /* Atualizado para versão mais escura */
    --pulse-shadow-mid: rgba(171, 33, 0, 0);
    --pulse-shadow-end: rgba(171, 33, 0, 0);
    --mobile-menu-bg: rgba(0, 0, 0, 0.95);
    
    /* Cores com transparência para o fundo do hero */
    --primary-color-alpha-80: rgba(0, 0, 0, 0.8);
    --primary-color-alpha-40: rgba(0, 0, 0, 0.4);
    --primary-color-alpha-10: rgba(0, 0, 0, 0.1);
    --primary-color-alpha-0: rgba(0, 0, 0, 0);
    
    /* Variáveis comuns */
    --spacing-unit: 8px;
    --radius: 16px;
}

/* Tema claro */
:root.light-theme {
    --primary-color: #ffffff;
    --accent-color: #ff4500; /* Mantida a cor de destaque */
    --accent-color-secondary: #ff6a00; /* Cor secundária para gradientes */
    --accent-color-hover: #e63e00; /* Laranja mais escuro para hover */
    --accent-color-alpha-30: rgba(255, 69, 0, 0.3);
    --portfolio-overlay-bg: rgba(0, 0, 0, 0.7);
    --text-color: #333333;
    --text-color-secondary: #666666;
    --text-color-tertiary: rgba(51, 51, 51, 0.5);
    --card-bg-color: rgba(0, 0, 0, 0.03);
    --card-border-color: rgba(0, 0, 0, 0.1);
    --header-bg-color: rgba(255, 255, 255, 0.9);
    --header-scrolled-bg-color: rgba(255, 255, 255, 0.95);
    --footer-bg-color: #f5f5f5;
    --footer-border-color: #e0e0e0;
    --footer-border-color-trans: rgba(224, 224, 224, 0);
    --cta-bg-color: rgba(255, 69, 0, 0.05);
    --feature-icon-bg: rgba(255, 69, 0, 0.1);
    --form-bg-color: rgba(0, 0, 0, 0.02);
    --form-border-color: rgba(0, 0, 0, 0.08);
    --social-icon-bg: rgba(0, 0, 0, 0.05);
    --icon-text-color: #ffffff;
    --btn-primary-text: #ffffff;
    --btn-secondary-bg: #f0f0f0;
    --btn-secondary-text: #333333;
    --pulse-shadow-start: rgba(171, 33, 0, 0.7); /* Atualizado para versão mais escura */
    --pulse-shadow-mid: rgba(171, 33, 0, 0);
    --pulse-shadow-end: rgba(171, 33, 0, 0);
    --mobile-menu-bg: rgba(255, 255, 255, 0.95);
    
    /* Cores com transparência para o fundo do hero (tema claro) */
    --primary-color-alpha-80: rgba(255, 255, 255, 0.8);
    --primary-color-alpha-40: rgba(255, 255, 255, 0.4);
    --primary-color-alpha-10: rgba(255, 255, 255, 0.1);
    --primary-color-alpha-0: rgba(255, 255, 255, 0);
}

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

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

/* Impedir rolagem quando menu estiver aberto */
body.menu-open {
    overflow: hidden;
}

.container {
    width: 70%; /* Reduzido para 70% da largura total */
    max-width: 1000px; /* Também reduzido o tamanho máximo */
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
}

/* Header */
header {
    padding: 24px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s ease;
    background-color: var(--header-bg-color);
}

header.scrolled {
    background-color: var(--header-scrolled-bg-color);
    backdrop-filter: blur(10px);
}

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

.right-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.logo {
    position: relative;
}

.logo img {
    height: 36px; /* Aumentado levemente para melhor qualidade */
    object-fit: contain; /* Preserva a proporção original */
    width: auto; /* Garante que a largura se ajuste proporcionalmente */
}

.logo .dark-logo {
    display: block;
}

.logo .light-logo {
    display: none;
}

:root.light-theme .logo .dark-logo {
    display: none;
}

:root.light-theme .logo .light-logo {
    display: block;
}

/* Menu para desktop */
.desktop-nav {
    display: flex;
    margin-right: 20px; /* Aumentado de 10px para 20px */
}

.desktop-nav ul {
    display: flex;
    list-style: none;
    gap: 24px; /* Aumentado de 20px para 24px para espaçar mais os itens */
    align-items: center; /* Garantir alinhamento vertical central */
}

.desktop-nav li {
    position: relative;
    display: flex; /* Ajuda no alinhamento vertical */
    align-items: center; /* Centraliza verticalmente */
    height: 40px; /* Altura fixa para padronizar todos os itens */
}

.desktop-nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 6px 2px; /* Padding vertical e horizontal para aumentar área clicável */
    font-size: 14px;
    transition: color 0.3s ease;
    display: flex; /* Melhora o alinhamento */
    align-items: center; /* Centraliza verticalmente */
}

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

.desktop-nav a.active {
    border-bottom: 2px solid var(--accent-color);
}

/* Dropdown menus para desktop */
.has-submenu {
    position: relative;
}

.has-submenu .submenu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px); /* Centralizado horizontalmente em relação ao item pai */
    background-color: var(--header-scrolled-bg-color);
    min-width: 220px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    backdrop-filter: blur(10px);
    display: block;
    margin-top: 15px; /* Aumentado para afastar mais do menu principal */
    list-style: none;
}

.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.submenu li {
    display: block;
    width: 100%;
}

.submenu a {
    padding: 10px 20px;
    display: block;
    font-size: 13px;
    border-left: 2px solid transparent;
    transition: all 0.3s ease;
}

.submenu a:hover {
    background-color: rgba(255, 69, 0, 0.1);
    border-left: 2px solid var(--accent-color);
    transform: translateX(5px);
}

/* Dropdown menus para desktop (compatibilidade com código antigo) */
.has-dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: var(--header-scrolled-bg-color);
    min-width: 220px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    backdrop-filter: blur(10px);
    display: block;
    margin-top: 15px;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
    display: block;
    width: 100%;
}

.dropdown-menu a {
    padding: 10px 20px;
    display: block;
    font-size: 13px;
    border-left: 2px solid transparent;
    transition: all 0.3s ease;
}

.dropdown-menu a:hover {
    background-color: rgba(255, 69, 0, 0.1);
    border-left: 2px solid var(--accent-color);
    transform: translateX(5px);
}

/* Botão de alternância de tema */
.theme-toggle-wrapper {
    margin-left: 20px;
}

.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 20px;
    color: var(--text-color);
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    width: 30px;
    height: 24px;
}

/* Ajuste para que o botão de tema tenha o mesmo tamanho do botão do menu em dispositivos móveis */
@media (max-width: 768px) {
    .theme-toggle {
        margin-left: 20px; /* Espaçamento de 20px entre os botões */
        width: 30px; /* Mesmo tamanho do botão do menu móvel */
        height: 24px; /* Mesmo tamanho do botão do menu móvel */
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

.theme-toggle:hover {
    transform: rotate(15deg);
}

.theme-toggle .light-icon {
    display: none;
}

.theme-toggle .dark-icon {
    display: block;
}

:root.light-theme .theme-toggle .light-icon {
    display: block;
}

:root.light-theme .theme-toggle .dark-icon {
    display: none;
}

/* Botão do menu móvel */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 2000;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-color);
    margin: 6px 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Menu móvel */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--mobile-menu-bg);
    z-index: 1500;
    transform: translateY(-100%);
    transition: transform 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.mobile-menu li {
    margin: 20px 0;
    position: relative;
}

.mobile-menu a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 24px;
    font-weight: 700;
    transition: color 0.3s ease;
}

.mobile-menu a:hover,
.mobile-menu a.active {
    color: var(--accent-color);
}

/* Dropdown menu para dispositivos móveis */
.mobile-submenu {
    display: none;
    padding-left: 20px;
    margin-top: 15px;
}

.mobile-menu .has-submenu.active .mobile-submenu {
    display: block;
    animation: fadeInDown 0.3s ease forwards;
}

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

.mobile-submenu li {
    margin: 12px 0;
}

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

/* Compatibilidade com código antigo */
.mobile-dropdown-menu {
    display: none;
    padding-left: 20px;
    margin-top: 15px;
}

.mobile-dropdown-menu.active {
    display: block;
    animation: fadeInDown 0.3s ease forwards;
}

.mobile-dropdown-menu li {
    margin: 12px 0;
}

.mobile-dropdown-menu a {
    font-size: 18px;
    font-weight: 500;
}

.mobile-dropdown-toggle .fa-chevron-down {
    font-size: 14px;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.mobile-dropdown-toggle.active .fa-chevron-down {
    transform: rotate(180deg);
}

/* Animação do botão quando menu está aberto */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Hero Section */
.hero {
    padding-top: 240px; /* Aumentado para 240px (100px a mais que o original) */
    padding-bottom: 100px; /* Mantido em 100px */
    position: relative;
    overflow: hidden;
    height: 90vh; /* Define uma altura que não ocupa toda a tela */
    display: flex;
    align-items: center;
}

.hero-background {
    position: absolute;
    top: 80px; /* Posicionado logo abaixo do menu */
    right: 150px; /* Posicionado 150px para dentro a partir da direita */
    width: 60%; /* Reduzido em 20% (de 75% para 60%) */
    height: calc(100% - 80px); /* Ajustando a altura para considerar a posição top */
    z-index: 0; /* Reduzido o z-index para ficar abaixo do menu (z-index: 1000) */
    display: flex;
    justify-content: flex-end; /* Alinha a imagem à direita */
    opacity: 0;
    animation: fadeIn 1.5s ease forwards;
    animation-delay: 0.5s;
    overflow: hidden;
    transform-origin: center center;
    transition: transform 0.05s ease-out, opacity 0.05s ease-out;
    will-change: transform, opacity;
    border-radius: 0; /* Removido o arredondamento */
    margin-right: 0; /* Removida a margem, usando right para posicionar */
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: -40%; /* Estendido ainda mais para a esquerda para melhor integração com o texto */
    width: 140%; /* Ampliado para compensar o deslocamento para a esquerda */
    height: 100%;
    background: linear-gradient(to right, 
        var(--primary-color) 0%, 
        var(--primary-color-alpha-80) 25%, 
        var(--primary-color-alpha-40) 50%, 
        var(--primary-color-alpha-10) 75%, 
        var(--primary-color-alpha-0) 100%);
    z-index: 2;
}

.hero-background img {
    width: auto; /* Permitir que a largura seja calculada automaticamente */
    height: 100%; /* Preenche a altura do container */
    object-fit: contain; /* Garante que a imagem não seja cortada */
    object-position: center right; /* Alinhado à direita para mostrar a parte mais importante da imagem */
    opacity: 0.8; /* Aumentado para melhor visualização */
    transform-origin: center center;
    will-change: transform;
    max-width: 100%; /* Limitando a largura máxima */
}

.hero-content {
    margin-top:150px;
    position: relative;
    z-index: 2;
    max-width: 800px;
    width: 65%; /* Limitando a largura do conteúdo para dar espaço à imagem */
    transform-origin: left center;
    transition: transform 0.05s ease-out, opacity 0.05s ease-out;
    will-change: transform, opacity;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes scaleUp {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.1);
    }
}

.subtitle {
    color: var(--text-color-secondary);
    font-size: 16px;
    font-weight: 500;
    margin-bottom: var(--spacing-unit);
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.2s;
}

h1 {
    font-size: 48px; /* Reduzido de 64px para 48px (25% menor) */
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px; /* Reduzido de 24px */
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.4s;
}

.highlight {
    color: var(--accent-color);
    position: relative;
}

/* Removido o efeito de sublinhado */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

p.lead {
    font-size: 16px; /* Reduzido de 20px */
    margin-bottom: 30px; /* Reduzido de 40px */
    max-width: 500px; /* Reduzido de 600px */
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.6s;
}

/* Buttons */
.buttons {
    display: flex;
    gap: 16px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.8s;
}

.btn {
    display: inline-block;
    padding: 12px 24px; /* Reduzido de 16px 32px */
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px; /* Reduzido o tamanho da fonte */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-primary:hover {
    background-color: #8c1a00; /* Versão ainda mais escura para hover */
}

.btn-primary {
    background-color: #ab2100; /* Versão mais escura do laranja para melhor contraste */
    color: var(--btn-primary-text);
}

.btn-secondary {
    background-color: var(--btn-secondary-bg);
    color: var(--btn-secondary-text);
}

/* Por que escolher a LEXPO */
.why-choose-us {
    padding: 100px 0;
    background-color: var(--primary-color);
}

.why-choose-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-choose-content {
    padding-right: 30px;
}

.accent-line {
    width: 50px;
    height: 4px;
    background-color: var(--accent-color);
    margin-bottom: 20px;
}

.why-choose-content h2 {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 30px;
    text-transform: uppercase;
    line-height: 1.2;
}

.why-choose-content .description {
    font-size: 16px;
    color: var(--text-color-secondary);
    line-height: 1.6;
    margin-bottom: 30px;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.feature-card {
    background-color: var(--card-bg-color);
    border-radius: var(--radius);
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    border: 1px solid var(--card-border-color);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--feature-icon-bg);
    border-radius: 50%;
    color: var(--accent-color);
    font-size: 20px;
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-color-secondary);
    line-height: 1.5;
}

/* Services */
.services {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

h2 {
    font-size: 36px; /* Reduzido de 48px */
    font-weight: 900;
    margin-bottom: 14px; /* Reduzido de 16px */
    text-transform: uppercase;
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-color-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--card-bg-color);
    border-radius: var(--radius);
    padding: 32px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: var(--text-color);
    display: block;
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.service-icon {
    margin-bottom: 20px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-color-secondary));
    border-radius: 50%;
    color: var(--icon-text-color);
    font-size: 24px;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
    line-height: 1.2;
    color: var(--heading-color);
}

.service-link {
    display: inline-flex;
    align-items: center;
    color: var(--accent-color);
    font-weight: 600;
    margin-top: 15px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.service-link i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.service-card:hover .service-link {
    color: var(--accent-color-hover);
}

.service-card:hover .service-link i {
    transform: translateX(5px);
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background-color: var(--cta-bg-color);
    text-align: center;
}

.cta h2 {
    margin-bottom: 30px;
}

.cta p {
    max-width: 600px;
    margin: 0 auto 40px;
    color: var(--text-color-secondary);
}

/* Modern Footer */
.modern-footer {
    background-color: var(--footer-bg-color);
    position: relative;
    overflow: hidden;
    font-size: 15px;
}

.footer-top {
    padding: 80px 0 60px;
    position: relative;
}

.footer-top::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, var(--footer-border-color-trans), var(--footer-border-color), var(--footer-border-color-trans));
}

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

/* Footer Brand Section */
.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-brand h5 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-color);
    position: relative;
    padding-bottom: 10px;
}

.footer-brand h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent-color);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-item i {
    color: var(--accent-color);
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.contact-item a, 
.contact-item span {
    color: var(--text-color-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--accent-color);
}

/* Footer Navigation */
.footer-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.footer-nav-column h5 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-color);
    position: relative;
    padding-bottom: 10px;
}

.footer-nav-column h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-nav-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav-column li {
    margin-bottom: 10px;
}

.footer-nav-column a {
    color: var(--text-color-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-nav-column a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.footer-nav-column a:hover {
    color: var(--accent-color);
    transform: translateX(3px);
}

.footer-nav-column a:hover::after {
    width: 100%;
}

/* Footer Newsletter */
.footer-newsletter {
    display: flex;
    flex-direction: column;
}

.footer-newsletter h5 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-color);
    position: relative;
    padding-bottom: 10px;
}

.footer-newsletter h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-newsletter p {
    color: var(--text-color-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.newsletter-form {
    margin-bottom: 30px;
}

.form-group {
    display: flex;
    gap: 0;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--form-border-color);
    transition: all 0.3s ease;
    padding: 10px;
    border-radius: var(--radius);
}

.form-group:focus-within {
    box-shadow: 0 0 0 2px var(--accent-color-alpha-30);
    border-color: var(--accent-color);
}

.form-group input {
    flex: 1;
    background-color: var(--form-bg-color);
    border: none;
    padding: 12px 20px;
    font-size: 14px;
    color: var(--text-color);
    outline: none;
}

.form-group input::placeholder {
    color: var(--text-color-tertiary);
}

.btn-newsletter {
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 12px 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-newsletter:hover {
    background-color: var(--accent-color-hover);
}

/* Social Media */
.social-media h5 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color);
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--social-icon-bg);
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 16px;
}

.social-icons a:hover {
    background-color: var(--accent-color);
    color: white;
    transform: translateY(-3px);
}

/* Footer Bottom */
.footer-bottom {
    padding: 20px 0;
    font-size: 14px;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    color: var(--text-color-secondary);
}

.legal-links {
    display: flex;
    gap: 24px;
}

.legal-links a {
    color: var(--text-color-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.legal-links a:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: var(--text-color-tertiary);
}

.legal-links a:hover {
    color: var(--accent-color);
}

/* Efeito de pulsação para botões */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 var(--pulse-shadow-start);
    }
    70% {
        box-shadow: 0 0 0 20px var(--pulse-shadow-mid);
    }
    100% {
        box-shadow: 0 0 0 0 var(--pulse-shadow-end);
    }
}

.pulse-effect {
    animation: pulse 1.5s infinite;
    position: relative;
    overflow: visible;
}

.pulse-effect:hover {
    animation: none;
}

/* Responsive */
@media (max-width: 992px) {
    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .why-choose-content {
        padding-right: 0;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    /* Hero modificado para mobile com imagem abaixo do texto */
    .hero {
        height: auto;
        flex-direction: column;
        padding-top: 200px;
        padding-bottom: 50px;
    }
    
    .hero-background {
        position: relative;
        width: 100%;
        opacity: 1; /* Opacidade total para maior clareza */
        height: 325px; /* Aumentado em 30% (de 250px para 325px) */
        top: 0;
        left: 0;
        right: 0;
        margin: 40px auto 0;
        order: 2;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: visible;
    }
    
    .hero-background::before {
        display: none; /* Remover o gradiente em dispositivos móveis */
    }
    
    .hero-background img {
        transform: none !important; /* Remover qualquer transformação */
        transition: none !important; /* Remover qualquer transição */
        object-fit: contain;
        max-height: 100%;
        max-width: 95%; /* Aumentado de 90% para 95% */
        margin: 0 auto;
    }
    
    .hero-content {
        text-align: center;
        margin: 0 auto;
        width: 100%;
        order: 1;
    }
    
    .hero-content h1 {
        font-size: 32px; /* Reduzido significativamente para mobile */
        line-height: 1.2; /* Melhor espaçamento entre linhas */
    }
    
    .hero-content p.lead {
        font-size: 14px; /* Reduzido para mobile */
        margin-left: auto;
        margin-right: auto;
        max-width: 400px; /* Limitando largura no mobile */
    }
    
    .hero-content .buttons {
        flex-direction: column;
        align-items: center;
    }
    
    h2 {
        font-size: 28px; /* Reduzido para mobile */
    }
    
    .why-choose-content h2 {
        font-size: 32px; /* Menor em dispositivos móveis */
    }
    
    .features-grid {
        grid-template-columns: 1fr; /* Uma coluna em dispositivos móveis */
    }
    
    .feature-card {
        padding: 20px;
    }
    
    .feature-card h3 {
        font-size: 16px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    /* Footer responsivo em mobile */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .footer-top {
        padding: 60px 0 40px;
    }
    
    .legal-links {
        flex-direction: column;
        gap: 15px;
    }
    
    .legal-links a:not(:last-child)::after {
        display: none;
    }
}

/* Breakpoint adicional para celulares menores */
@media (max-width: 480px) {
    h1, .hero-content h1 {
        font-size: 24px; /* Ainda menor para celulares pequenos */
    }
    
    h2 {
        font-size: 22px;
    }
    
    .why-choose-content h2 {
        font-size: 24px; /* Ainda menor para celulares pequenos */
    }
    
    .feature-card h3 {
        font-size: 14px;
    }
    
    .accent-line {
        width: 30px;
        height: 3px;
    }
    
    .why-choose-us {
        padding: 60px 0;
    }
    
    .hero {
        padding-top: 180px; /* Reduzido para melhor ajuste em telas pequenas */
        padding-bottom: 60px;
    }
    
    .hero-background {
        height: 260px; /* Aumentado em 30% (de 200px para 260px) para telas pequenas */
    }
    
    .container {
        width: 90%; /* Aumentar um pouco para telas bem pequenas */
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 13px;
        white-space: nowrap; /* Evitar quebra de linha no texto */
    }
    
    .hero-content p.lead {
        font-size: 13px;
        max-width: 300px;
    }
}
/* Portfolio Carousel */
.portfolio-carousel {
    padding: 80px 0;
    position: relative;
}

.portfolio-swiper {
    width: 100%;
    padding-bottom: 50px;
}

.portfolio-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    height: 0;
    padding-bottom: 56.25%; /* Aspect ratio 16:9 */
}

.portfolio-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background-color: var(--portfolio-overlay-bg);
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-overlay h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

.portfolio-overlay p {
    font-size: 14px;
    opacity: 0.9;
}

.swiper-pagination {
    bottom: 0;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--accent-color);
}

.swiper-pagination-bullet {
    background: var(--text-color-secondary);
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    background: var(--accent-color);
    opacity: 1;
}

/* ==========================================================================
   6.5. Página de Serviço Website On Demand - Novo Layout
   ========================================================================== */

/* Hero Section */
.service-hero {
    background-color: var(--card-bg-color);
    padding: 3rem 0;
    margin-bottom: 4rem;
    text-align: center;
    border-radius: 0 0 1rem 1rem;
}

.service-hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.service-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    font-weight: 800;
    text-transform: uppercase;
}

.service-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--accent-color);
    font-weight: 500;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

.performance-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.performance-badge img {
    width: 100px;
    height: auto;
}

.performance-badge span {
    font-size: 0.9rem;
    color: var(--text-color-secondary);
}

/* About Section */
.service-about {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-color);
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

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

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

/* Features Section */
.service-features-section {
    margin-bottom: 4rem;
    background-color: var(--card-bg-color);
    padding: 4rem 0;
    border-radius: 1rem;
}

.features-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    text-align: center;
    transition: transform 0.3s ease;
    padding: 1.5rem;
    border-radius: 0.5rem;
}

.feature-item:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.05);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--text-color);
}

.feature-item p {
    font-size: 1rem;
    color: var(--text-color-secondary);
}

/* Comparison Section */
.comparison-section {
    margin-bottom: 4rem;
}

.comparison-table-container {
    max-width: 900px;
    margin: 0 auto;
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.comparison-table th {
    background-color: var(--accent-color);
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 1.2rem;
    text-align: left;
}

.comparison-table td {
    padding: 1.2rem;
    border-bottom: 1px solid var(--card-border-color);
    font-size: 1.05rem;
    color: var(--text-color-secondary);
}

.comparison-table tr:nth-child(odd) td {
    background-color: var(--card-bg-color);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table i.fas.fa-check-circle {
    color: #0CCE6B;
    margin-right: 0.5rem;
}

.comparison-table i.fas.fa-times-circle {
    color: #ff4d4d;
    margin-right: 0.5rem;
}

/* Benefits Section */
.benefits-section {
    margin-bottom: 4rem;
}

.benefits-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    background-color: var(--card-bg-color);
    border-radius: 1rem;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

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

.benefit-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.benefit-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.benefit-card p {
    font-size: 1rem;
    color: var(--text-color-secondary);
    line-height: 1.6;
}

/* Process Section */
.process-section {
    margin-bottom: 4rem;
    padding: 4rem 0;
    background-color: var(--card-bg-color);
    border-radius: 1rem;
}

.process-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 3rem;
    position: relative;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.process-step {
    flex: 1 1 220px;
    max-width: 280px;
    margin: 0 1rem 2rem;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--accent-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 2;
}

.step-content {
    text-align: left;
}

.step-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.step-content p {
    font-size: 1rem;
    color: var(--text-color-secondary);
}

/* Performance Section */
.performance-section {
    margin-bottom: 4rem;
}

.performance-content {
    display: flex;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    gap: 3rem;
    padding: 0 1.5rem;
}

.performance-text {
    flex: 1;
}

.performance-text h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

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

.performance-image {
    flex: 0 0 auto;
    text-align: center;
}

.performance-image .pagespeed-badge {
    width: 180px;
    height: auto;
}

/* Final CTA */
.final-cta {
    background-color: var(--cta-bg-color);
    padding: 4rem 2rem;
    text-align: center;
    border-radius: 1rem;
    margin-bottom: 4rem;
}

.final-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.final-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-color-secondary);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.final-cta .btn {
    font-size: 1.2rem;
    padding: 1rem 2.5rem;
}

/* Media queries para a página de serviço */
@media (max-width: 991px) {
    .service-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .performance-content {
        flex-direction: column;
        text-align: center;
    }
    
    .performance-image {
        order: -1;
        margin-bottom: 2rem;
    }
    
    .final-cta h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .service-title {
        font-size: 2rem;
    }
    
    .service-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .feature-item,
    .benefit-card {
        padding: 1.5rem 1rem;
    }
    
    .features-container {
        grid-template-columns: 1fr;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 1rem 0.8rem;
        font-size: 0.95rem;
    }
    
    .final-cta {
        padding: 3rem 1.5rem;
    }
    
    .final-cta h2 {
        font-size: 1.8rem;
    }
    
    .final-cta p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .service-title {
        font-size: 1.8rem;
    }
    
    .service-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.8rem 0.5rem;
        font-size: 0.85rem;
    }
    
    .benefit-icon,
    .feature-icon {
        font-size: 2rem;
    }
    
    .benefit-card h3,
    .feature-item h3,
    .step-content h3 {
        font-size: 1.2rem;
    }
    
    .final-cta h2 {
        font-size: 1.6rem;
    }
    
    .final-cta p {
        font-size: 1rem;
    }
    
    .final-cta .btn {
        font-size: 1.1rem;
        padding: 0.8rem 1.5rem;
    }
}

/* Estilos para a página de Cidades Atendidas */
.estado-selector {
    margin: 2rem 0;
}

.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.tab-button {
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.tab-button:hover {
    background-color: var(--primary-color);
    color: white;
}

.tab-button.active {
    background-color: var(--primary-color);
    color: white;
}

.tab-content {
    width: 100%;
}

.tab-pane {
    display: none;
}

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

.cidade-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.cidade-card {
    display: block;
    text-decoration: none;
    color: var(--text-color);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.cidade-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.cidade-inner {
    padding: 1.5rem;
}

.cidade-card h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
}

.cidade-card .regiao {
    color: var(--muted-color);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.cidade-card .saiba-mais {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.9rem;
    position: relative;
}

.cidade-card .saiba-mais:after {
    content: "→";
    display: inline-block;
    margin-left: 0.3rem;
    transition: transform 0.3s ease;
}

.cidade-card:hover .saiba-mais:after {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .tabs {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .tab-button {
        width: 100%;
        text-align: left;
    }
    
    .cidade-grid {
        grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Estilos para a busca de cidades */
.search-filter {
    margin-bottom: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.search-container {
    display: flex;
    flex: 1;
    max-width: 500px;
}

.search-container input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-right: none;
    font-size: 0.95rem;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.search-container input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.search-container .clear-btn {
    padding: 0.75rem 1rem;
    background-color: var(--border-color);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.search-container .clear-btn:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.result-count {
    font-size: 0.9rem;
    color: var(--muted-color);
    margin: 0;
}

@media (max-width: 768px) {
    .search-filter {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-container {
        max-width: 100%;
    }
}

/* Cidades Atendidas - Tabs */
.cidades-section {
    padding: 60px 0;
}

.section-intro {
    text-align: center;
    margin-bottom: 40px;
}

.section-intro h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.nav-tabs {
    display: flex;
    list-style: none;
    border-bottom: 1px solid var(--card-border-color);
    margin-bottom: 30px;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
}

.tab-item {
    margin-bottom: -1px;
}

.tab-link {
    display: inline-block;
    padding: 12px 20px;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.tab-link:hover {
    color: var(--accent-color);
}

.tab-link.active {
    color: var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
}

.tab-contents {
    margin-top: 30px;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

/* Pesquisa de cidades */
.search-container {
    display: flex;
    margin-bottom: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.search-input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid var(--form-border-color);
    background-color: var(--form-bg-color);
    color: var(--text-color);
    font-size: 14px;
    border-radius: 4px;
    margin-right: 10px;
}

.search-input:focus {
    border-color: var(--accent-color);
    outline: none;
}

.search-clear-btn {
    padding: 0 15px;
    background-color: var(--card-bg-color);
    border: 1px solid var(--form-border-color);
    color: var(--text-color);
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.search-clear-btn:hover {
    background-color: var(--form-border-color);
}

.cidade-count {
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-color-secondary);
    font-size: 14px;
}

/* Grid de cidades */
.cidade-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.cidade-card {
    display: block;
    text-decoration: none;
    color: var(--text-color);
    background-color: var(--card-bg-color);
    border: 1px solid var(--card-border-color);
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
    height: 100%;
}

.cidade-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-color);
}

.cidade-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.cidade-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-color);
}

.cidade-card .regiao {
    font-size: 14px;
    color: var(--text-color-secondary);
    margin-bottom: auto;
}

.cidade-card .saiba-mais {
    margin-top: 15px;
    color: var(--accent-color);
    font-size: 14px;
    font-weight: 500;
}

/* Responsividade */
@media (max-width: 768px) {
    .nav-tabs {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
    }
    
    .tab-link {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .cidade-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .cidade-card {
        padding: 15px;
    }
    
    .cidade-card h3 {
        font-size: 16px;
    }
}

/* Portfolio tag styling - mais visíveis e destacadas */
.portfolio-tags {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    justify-content: center !important;
    margin-top: 15px !important;
    padding: 5px 0 !important;
}

.portfolio-tag {
    font-size: 12px !important;
    background-color: rgba(255, 69, 0, 0.8) !important;
    color: white !important;
    padding: 6px 14px !important;
    border-radius: 20px !important;
    display: inline-block !important;
    font-weight: 500 !important;
    border: none !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15) !important;
}

.theme-dark .portfolio-tag {
    background-color: rgba(255, 69, 0, 0.9) !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

/* Estilos para conteúdo local de cidades */
.local-content-section {
    padding: 80px 0;
    background-color: var(--primary-color);
}

.local-content {
    max-width: 1000px;
    margin: 100px auto 0;
}

.local-content h2 {
    font-size: 32px;
    margin-bottom: 30px;
    color: var(--text-color);
    position: relative;
    text-align: center;
}

.local-content h2:after {
    content: '';
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.local-content h3 {
    font-size: 24px;
    margin: 35px 0 20px;
    color: var(--accent-color);
}

.local-content p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--text-color);
}

.local-content-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin: 40px 0;
}

.local-example {
    background-color: var(--card-bg-color);
    border: 1px solid var(--card-border-color);
    border-radius: 10px;
    padding: 30px;
    margin: 40px 0;
}

.local-example h3 {
    margin-top: 0;
}

.cta-box {
    background-color: var(--cta-bg-color);
    border: 1px solid var(--card-border-color);
    border-radius: 10px;
    padding: 30px;
    margin: 40px 0;
    text-align: center;
}

.cta-box h3 {
    margin-top: 0;
}

.cta-box .btn {
    margin-top: 20px;
}

@media (max-width: 768px) {
    .local-content-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .local-content h2 {
        font-size: 28px;
    }
    
    .local-content h3 {
        font-size: 22px;
    }
}
