﻿﻿/* css/style.css */

/* ------------------- */
/* 1. Variáveis de Cores e Fontes (da Identidade Visual Wissberg Studios) */
/* ------------------- */
:root {
    /* Cores da Logo da Wissberg Studios */
    --color-ws-blue-dark: #5A778D;
    /* Azul Ardósia / Petróleo (do texto da logo) */
    --color-ws-blue-light: #A5B9D2;
    /* Azul Claro Acinzentado (da forma da logo) */
    --color-ws-blue-light-hover: #8D9FB6;
    /* Tom mais escuro do azul claro para hover */

    /* Fundos */
    --color-ws-bg-light: #FFFFFF;
    /* Branco puro para fundo principal (body, cards) */
    --color-ws-bg-offwhite: #F7F9FC;
    /* Cinza muito claro, quase branco, com tom azulado suave (hero, diferenciadores item) */
    --color-ws-bg-section: #EEF3F8;
    /* Fundo levemente mais escuro para seções específicas, se necessário (ex: call-to-action) */

    /* Textos */
    --color-ws-text-dark: #2c3e50;
    /* Cinza escuro profundo para texto principal e títulos */
    --color-ws-text-gray: #7f8c8d;
    /* Cinza médio para texto secundário e parágrafos de destaque */
    --color-ws-text-light-gray: #B0B5BB;
    /* Cinza claro para texto muito secundário */
    --color-white: #FFFFFF;
    /* Branco puro */

    /* Bordas e Linhas */
    --color-light-gray-border: #dde1e6;
    /* Borda clara */

    /* Fontes */
    --font-primary-headings: 'Baskervville', serif;
    --font-secondary-body: 'Noto Sans JP', sans-serif;
}

/* ------------------- */
/* 2. Estilos Gerais (Reset e Estrutura Básica) */
/* ------------------- */
body {
    font-family: var(--font-secondary-body);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: var(--color-ws-bg-light);
    color: var(--color-ws-text-dark);
}

.container {
    width: 80%;
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
    padding: 0 20px;
}

/* ------------------- */
/* 3. Estilos do Header (Cabeçalho) */
/* ------------------- */
header {
    /* CORRIGIDO: Fundo semi-transparente para o modo Light */
    background-color: rgba(255, 255, 255, 0.8);
    color: var(--color-ws-text-dark);
    padding: 12px 0;
    min-height: 64px;
    border-bottom: 1px solid var(--color-light-gray-border);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    /* Para compatibilidade com Safari */
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* NOVO: Wrapper para o menu e o botão de tema */
.header-right-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    /* Espaço entre o menu e o botão de tema */
}

header a {
    color: var(--color-ws-blue-dark);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 16px;
    transition: color 0.3s ease;
}

header a:hover {
    color: var(--color-ws-blue-light);
}

/* Esconder o menu desktop por padrão em mobile */
.desktop-nav {
    display: block;
    /* Visível por padrão em desktop */
}

.desktop-nav ul {
    padding: 0;
    margin: 0;
    list-style: none;
    /* Adicione flex para garantir o alinhamento se houver outros elementos no nav */
    display: flex;
    gap: 15px;
    /* Define o espaçamento entre os itens do menu (substitui o padding no li) */
}

.desktop-nav li {
    display: inline;
    padding: 0;
    /* REMOVIDO: O espaçamento agora é controlado pelo 'gap' no ul */
}


#branding {
    margin-top: 0;
}

#logo {
    max-height: 60px;
    width: auto;
    display: block;
}

header #branding h1 {
    margin: 0;
    display: none;
}

/* Esconder o botão hambúrguer por padrão em desktop */
.hamburger {
    display: none;
    /* Escondido em desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: relative;
    z-index: 1001;
    /* Acima do menu overlay */
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--color-ws-blue-light);
    transition: all 0.3s ease-in-out;
    border-radius: 2px;
}

/* Animação do Hambúrguer para 'X' quando o menu está aberto */
.hamburger.open .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.open .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.open .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Estilos do Menu Mobile Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-ws-blue-dark);
    /* Fundo escuro do menu */
    z-index: 1000;
    /* AUMENTADO: Agora o overlay fica acima de quase tudo */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    /* Escondido à direita por padrão */
    transition: transform 0.3s ease-in-out;
}

.mobile-nav-overlay.open {
    transform: translateX(0);
    /* Mostra o menu */
}

.mobile-nav-overlay .mobile-nav-header {
    position: absolute;
    top: 20px;
    right: 20px;
}

.mobile-nav-overlay .close-btn {
    background: none;
    border: none;
    font-size: 40px;
    color: var(--color-white);
    cursor: pointer;
    transition: color 0.3s ease;
}

.mobile-nav-overlay .close-btn:hover {
    color: var(--color-ws-blue-light);
}

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

.mobile-nav-overlay li {
    margin: 20px 0;
}

.mobile-nav-overlay a {
    color: var(--color-white);
    font-size: 1.8em;
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-nav-overlay a:hover {
    color: var(--color-ws-blue-light);
}

/* ------------------- */
/* 4. Estilos do Main e Footer */
/* ------------------- */
main {
    padding: 20px 0;
}

footer {
    background: var(--color-ws-blue-dark);
    /* Fundo do footer com azul escuro da logo */
    color: var(--color-white);
    /* Texto branco no footer */
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

footer a {
    color: var(--color-ws-blue-light);
    /* Links no footer com azul claro da logo */
    text-decoration: none;
    transition: text-decoration 0.3s ease;
}

footer a:hover {
    text-decoration: underline;
}

/* ------------------- */
/* 5. Estilos de Navegação (Breadcrumbs e Ativos) */
/* ------------------- */
.breadcrumbs {
    padding: 10px 20px;
    font-size: 0.9em;
    color: var(--color-ws-text-gray);
    /* Texto cinza */
    background-color: var(--color-ws-bg-offwhite);
    /* Fundo off-white */
    border-bottom: 1px solid var(--color-light-gray-border);
    margin-bottom: 10px;
}

.breadcrumbs a {
    color: var(--color-ws-blue-dark);
    /* Links do breadcrumbs com azul escuro */
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumbs a:hover {
    color: var(--color-ws-blue-light);
    text-decoration: underline;
}

.current a {
    /* Para o item de menu ativo */
    color: var(--color-ws-blue-light) !important;
    /* !important para garantir que sobrescreve o header a */
    font-weight: bold;
}

/* ------------------- */
/* 6. Estilos de Títulos e Botões */
/* ------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary-headings);
    color: var(--color-ws-text-dark);
    /* Títulos com cor de texto principal */
    margin-bottom: 15px;
}

h1 {
    font-size: 2.8em;
}

h2 {
    font-size: 2.2em;
}

h3 {
    font-size: 1.8em;
}

h4 {
    font-size: 1.4em;
}

.button_1 {
    background-color: var(--color-ws-blue-light);
    color: var(--color-ws-text-dark);
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 16px;
    /* AUMENTADO O RAIO DA BORDA: 16px (era 5px) */
    display: inline-block;
    margin-top: 15px;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    /* Adicionado transform para transição */
    border: none;
    cursor: pointer;
    /* Indica que é clicável */
}

.button_1:hover {
    background-color: var(--color-ws-blue-light-hover);
    color: var(--color-white);
    transform: scale(1.05);
    /* AUMENTA O BOT�fO EM 5% NO HOVER */
}

.button_1:active {
    /* NOVO: Estágio de clique */
    transform: scale(0.98);
    /* DIMINUI LIGEIRAMENTE AO CLICAR */
    background-color: var(--color-ws-blue-dark);
    /* Pode mudar de cor para reforçar o clique */
}

.button_2 {
    background-color: transparent;
    color: var(--color-ws-blue-light);
    /* Cor do texto normal do botão */
    border: 2px solid var(--color-ws-blue-light);
    padding: 10px 23px;
    text-decoration: none;
    border-radius: 16px;
    /* AUMENTADO O RAIO DA BORDA: 16px (era 5px) */
    display: inline-block;
    margin-top: 15px;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
    /* Transição para todas as propriedades */
    cursor: pointer;
}

.button_2:hover {
    background-color: var(--color-ws-blue-light);
    color: var(--color-ws-text-dark);
    transform: scale(1.05);
    /* AUMENTA O BOT�fO EM 5% NO HOVER */
}

.button_2:active {
    /* NOVO: Estágio de clique */
    transform: scale(0.98);
    /* DIMINUI LIGEIRAMENTE AO CLICAR */
    background-color: transparent;
    /* Volta ao transparente ou muda ligeiramente */
    color: var(--color-ws-blue-dark);
    /* Altera a cor do texto para reforçar o clique */
    border-color: var(--color-ws-blue-dark);
    /* Borda mais escura */
}

/* ------------------- */
/* 7. Estilos Específicos de Seções do Site Principal (Home e Páginas de Serviço) */
/* ------------------- */

.placeholder-section {
    /* Estilo base para todas as seções de conteúdo */
    background: var(--color-ws-bg-light);
    /* Fundo branco */
    padding: 15px 40px 40px 40px;
    margin-bottom: 20px;
    border: 1px solid var(--color-light-gray-border);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.placeholder-section h1:first-child,
/* Alvo específico: o primeiro h1 dentro da seção */
.placeholder-section h2:first-child {
    /* Para outros títulos no início da seção */
    margin-top: 0;
    /* Remove a margem superior que pode estar a empurrar */
}

/* Hero Section (página inicial) */
.hero-section {
    background-color: var(--color-ws-blue-dark);
    background-image: url('/images/hero-background.webp');
    background-size: cover;
    color: var(--color-white);
    text-align: center;
    padding: 100px 20px;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 8px;
    margin-bottom: 30px;
    margin-top: 15px;
    overflow: hidden;
    /* Garante que a animação não "vaze" */
}

.pillars-section {
    text-align: center;
    /* Centraliza o h2 e outros textos */
    background-color: var(--color-ws-bg-offwhite);
    padding: 40px 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.pillars-section h2 {
    margin-top: 0;
    color: var(--color-ws-blue-dark);
}

/* Overlay semi-transparente */
.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(44, 62, 80, 0.6), rgba(44, 62, 80, 0.4));
    border-radius: 8px;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: auto;
    /* Animação de Splash (fade-in e para cima) */
    opacity: 0;
    transform: translateY(20px);
    animation: splash-in 1s ease-out 0.5s forwards;
    /* animação 'splash-in' de 1s, começa após 0.5s */
}

.hero-content h1 {
    font-size: 3.5em;
    /* Aumenta um pouco o tamanho, já que está sozinho */
    margin: 0;
    /* Remove margens extras */
    color: var(--color-white);
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    /* Sombra mais pronunciada para legibilidade */
}

/* Definição da Animação */
@keyframes splash-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Remover parágrafos do hero (já foram removidos do HTML, mas para garantir) */
.hero-section p {
    display: none;
}

/* Scroll Hint (seta para baixo) */
.scroll-hint {
    position: fixed;
    /* MUDAN�?A: Fixa ao viewport */
    bottom: 20px;
    /* Posição do fundo */
    left: 50%;
    transform: translateX(-50%);
    /* Centraliza horizontalmente */
    color: var(--color-ws-blue-dark);
    /* Cor da seta */
    cursor: pointer;
    animation: bounce 2s infinite;
    /* Animação de pulso */
    z-index: 100;
    /* Um z-index mais alto para que fique visível sobre outros elementos */
    opacity: 1;
    /* Por padrão visível */
    transition: opacity 0.5s ease-in-out;
    /* Transição para esconder/mostrar */
}

.scroll-hint.hidden {
    opacity: 0;
    pointer-events: none;
    /* Desabilita interações de mouse quando escondido */
}

.scroll-hint svg {
    display: block;
}

/* Animação para a seta de scroll */
@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Opcional: Para evitar que o hint apareça se o hero for muito pequeno (e.g., em telas muito pequenas) */
@media (max-height: 500px) {
    .scroll-hint {
        display: none;
    }
}

/* Seção de Diferenciais */
.differentiators-section {
    background-color: var(--color-ws-bg-light);
    text-align: center;
}

.differentiators-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.differentiator-item {
    background-color: var(--color-ws-bg-offwhite);
    /* Fundo off-white para itens */
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    text-align: center;
    border: 1px solid var(--color-light-gray-border);
    flex: 1 1 280px;
    max-width: 350px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.differentiator-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    background-color: var(--color-ws-bg-section);
    /* Fundo sutilmente mais escuro no hover */
}

.differentiator-item h3 {
    color: var(--color-ws-blue-dark);
    /* Título do diferencial com azul escuro da logo */
}

.differentiator-item p {
    color: var(--color-ws-text-gray);
}

/* Grid para lista de serviços (Services Overview) */
.services-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.service-item {
    background-color: var(--color-ws-bg-offwhite);
    /* Fundo off-white para o card */
    padding: 25px;
    border-radius: 16px;
    /* Bordas mais arredondadas */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    /* Sombra mais sutil */
    border: 1px solid var(--color-light-gray-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    display: flex;
    /* Para controlar o layout interno */
    flex-direction: column;
    /* Empilha os itens verticalmente */
    text-align: center;
    /* Alinha todo o texto ao centro */
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    border-color: var(--color-ws-blue-light);
    /* Borda de destaque no hover */
}

.service-item h2 {
    margin-top: 0;
    font-size: 1.6em;
    min-height: 2.5em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-item h2 a {
    color: var(--color-ws-blue-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.service-item:hover h2 a {
    color: var(--color-ws-blue-light);
    /* Muda a cor do título no hover do card */
}

.service-item p {
    font-size: 0.98em;
    line-height: 1.55;
    color: var(--color-ws-text-gray);
    flex-grow: 1;
    /* Faz o parágrafo ocupar o espaço disponível, empurrando os sub-serviços para baixo */
    margin-bottom: 25px;
    /* Espaço antes da lista de sub-serviços */
}

/* Nova formatação para a lista de sub-serviços */
.subservices {
    list-style: none;
    padding: 20px 0 0 0;
    /* Espaçamento superior e remove padding padrão */
    margin: 0;
    border-top: 1px solid var(--color-light-gray-border);
    /* Linha divisória */
    display: flex;
    flex-wrap: wrap;
    /* Permite que os itens quebrem para a próxima linha */
    justify-content: center;
    /* Centraliza os itens */
    gap: 10px;
    /* Espaçamento entre os itens */
}

.subservices a {
    display: inline-block;
    padding: 6px 12px;
    /* Padding interno das cápsulas */
    background-color: var(--color-ws-bg-section);
    /* Fundo cinza/azulado */
    border-radius: 999px;
    /* Bordas arredondadas para o formato de cápsula */
    font-size: 0.85em;
    /* Fonte menor para os sub-serviços */
    color: var(--color-ws-text-gray);
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.subservices a:hover {
    background-color: var(--color-ws-blue-light);
    color: var(--color-ws-text-dark);
    /* Texto escuro no hover */
}

/* 7.1 - Estilos para a Seção de Projetos CAD (index.html de projetos) */
.project-cad-section h2 {
    color: var(--color-ws-blue-dark);
}

.project-examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
    justify-content: center;
}

.project-cta {
    margin-top: 32px;
    text-align: center;
}

.project-cta .button_1 {
    display: inline-block;
    margin-top: 16px;
}

.project-example-item {
    background-color: var(--color-ws-bg-offwhite);
    /* Fundo off-white para itens de exemplo */
    border: 1px solid var(--color-light-gray-border);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding-bottom: 15px;
}

.project-example-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.project-example-item img {
    width: 100%;
    height: auto;
    /* Deixa a altura automática para não cortar imagens */
    object-fit: contain;
    /* Ajusta a imagem para caber inteira no espaço, adicionando barras se necessário */
    border-bottom: 1px solid var(--color-light-gray-border);
    margin-bottom: 15px;
    display: block;
    /* Garante que não haja espaço extra abaixo da imagem */
}

.project-example-item p {
    font-size: 0.95em;
    color: var(--color-ws-text-dark);
    padding: 0 15px;
    margin: 0;
}

.future-projects-section {
    text-align: center;
    background-color: var(--color-ws-bg-offwhite);
    /* Fundo off-white */
    padding: 50px;
}

.future-projects-section h2 {
    color: var(--color-ws-blue-dark);
}

.future-projects-section p {
    color: var(--color-ws-text-gray);
}

/*7.2 Estilos para a seção "Nossa Experiência em Números" */
.numbers-section {
    text-align: center;
    background-color: var(--color-ws-bg-offwhite);
    padding: 50px 20px;
    margin-bottom: 30px;
}

.numbers-section h2 {
    color: var(--color-ws-blue-dark);
    margin-bottom: 15px;
}

.numbers-section p {
    color: var(--color-ws-text-gray);
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.numbers-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.number-card {
    background-color: var(--color-ws-blue-dark);
    color: var(--color-white);
    padding: 25px;
    /* Reduzindo padding (era 30px) */
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--color-ws-blue-light);
    flex: 1 1 250px;
    /* Reduzindo flex-basis para card menor (era 300px) */
    max-width: 300px;
    /* Reduzindo max-width (era 400px) */
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.number-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    background-color: #4A6581;
}

/* REMOVIDO: .number-card h3 (não existe mais no HTML) */

.number-card .stat-value {
    font-family: var(--font-secondary-body);
    /* Noto Sans JP */
    font-size: 3em;
    /* Mantém o tamanho grande */
    color: var(--color-white);
    font-weight: bold;
    margin-bottom: 0;
    /* Removendo margem inferior para aproximar da descrição */
    display: flex;
    /* NOVO: Para alinhar número e unidade na mesma linha */
    align-items: baseline;
    /* Alinha o texto base da unidade com o número */
    justify-content: center;
    /* Centraliza o conteúdo dentro do stat-value */
    line-height: 1;
    /* Ajusta a linha para que não crie muito espaço vertical */
}

.number-card .stat-value span {
    /* O '+' ou outros caracteres */
    font-size: 0.8em;
    /* Deixa o '+' menor */
    vertical-align: middle;
    /* Alinha o '+' melhor */
    margin-right: 5px;
    /* Espaçamento entre '+' e o número */
}

.number-card .stat-unit {
    /* Estilo para a unidade (m², horas, projetos) que estará dentro de stat-value */
    font-size: 0.5em;
    /* Tamanho menor para a unidade */
    color: var(--color-white);
    margin-left: 5px;
    /* Espaçamento entre o número e a unidade */
    display: inline-block;
    /* Garante que fique na mesma linha */
    line-height: 1;
    /* Ajusta a linha */
    vertical-align: middle;
    /* Alinha verticalmente com o número */
    font-weight: normal;
    /* Garante que a unidade não seja bold como o número */
}

.number-card .stat-description {
    font-size: 0.9em;
    /* Reduzindo um pouco o tamanho */
    color: var(--color-white);
    line-height: 1.4;
    /* Ajustando a linha */
    margin-top: 15px;
    /* Espaço do número/unidade para a descrição */
}

/* 7.3 Estilos para a seção "Explore Nossos Outros Serviços" */
.other-services-section {
    background-color: var(--color-ws-bg-offwhite);
    /* Fundo suave para esta seção */
    padding: 30px 20px;
    text-align: center;
    margin-top: 10px;
    /* Espaço maior acima da seção */
}

.other-services-section h2 {
    color: var(--color-ws-blue-dark);
    /* Título com azul escuro */
    margin-bottom: 25px;
    margin-top: 0;
}

/* ------------------- */
/* 8. Estilos para Responsividade Básica (Mobile First) */
/* ------------------- */
@media (max-width: 768px) {
    .container {
        width: 95%;
        padding: 0 10px;
    }

    header {
        padding-top: 10px;
        min-height: 60px;
    }

    header .container {
        position: relative;
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }

    /* Esconder o menu desktop no mobile */
    .desktop-nav {
        display: none;
    }

    .header-right-nav {
        display: none;
    }

    /* Mostrar o botão hambúrguer no mobile */
    .hamburger {
        display: block;
        position: absolute;
        right: 30px;
        top: 50%;
        transform: translateY(-50%);
    }

    header #branding {
        width: auto;
        text-align: center;
        margin: 0 auto;
        margin-bottom: 0;
    }

    header #logo {
        max-height: 45px;
    }

    /* Botão de CTA no Hero Section (Mobile) */
    .hero-ctas {
        display: flex;
        flex-direction: column;
        gap: 15px;
        width: 100%;
        align-items: center;
    }

    .hero-ctas .button_1,
    .hero-ctas .button_2 {
        margin: 0;
        width: 80%;
        max-width: 300px;
    }

    .differentiators-grid,
    .services-list-grid {
        grid-template-columns: 1fr;
    }

    .placeholder-section {
        padding: 25px;
    }

    /* Ajustes específicos para mobile em páginas de serviço/projeto */
    .image-example img {
        height: auto;
    }

    .splatting-viewer iframe {
        height: 350px;
    }
}

/* ------------------- */
/* 9. Estilos Específicos para a Página "Sobre Nós" (Team Members) */
/* ------------------- */

.team-member {
    background-color: var(--color-ws-bg-offwhite);
    /* Fundo off-white para os cards de equipe */
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--color-light-gray-border);
}

.team-member .profile-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--color-ws-blue-light);
    /* Borda com azul claro da logo */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.team-member h3 {
    color: var(--color-ws-blue-dark);
    /* Título do membro da equipe com azul escuro */
    margin-top: 0;
    margin-bottom: 5px;
    font-size: 1.5em;
}

.team-member p {
    color: var(--color-ws-text-gray);
    font-size: 0.95em;
    line-height: 1.5;
    margin-bottom: 10px;
}

.team-member strong {
    color: var(--color-ws-text-dark);
}

@media (min-width: 769px) {
    .team-member {
        display: grid;
        grid-template-columns: 200px 1fr;
        gap: 30px;
        align-items: start;
        text-align: left;
    }

    .team-member .member-intro {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
        padding-top: 5px;
    }

    .team-member .member-details {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
    }

    .team-member h3 {
        margin-bottom: 10px;
    }

    .team-member .member-details p {
        margin-bottom: 15px;
    }
}

@media (max-width: 768px) {
    .team-member {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .team-member .member-intro,
    .team-member .member-details {
        width: 100%;
        text-align: center;
    }

    .team-member h3,
    .team-member p {
        text-align: center;
    }

    .team-member .member-intro p {
        margin-bottom: 10px;
    }
}

/* ------------------- */
/* 10. Estilos Específicos para a Página de Contato */
/* ------------------- */

#contact-info {
    margin-bottom: 30px;
}

#contact-info p {
    margin-bottom: 10px;
    font-size: 1.1em;
    color: var(--color-ws-text-dark);
}

#contact-info a {
    /* Links de telefone e email (se reativados no HTML) */
    color: var(--color-ws-blue-light);
    text-decoration: none;
    transition: text-decoration 0.3s ease;
}

#contact-info a:hover {
    text-decoration: underline;
}

#location-map {
    margin-top: 30px;
}

#location-map iframe {
    width: 100%;
    height: 450px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--color-light-gray-border);
}

@media (max-width: 768px) {
    #location-map iframe {
        height: 300px;
    }
}

/* ------------------- */
/* 10.1 Estilos Específicos Formulário de Contato */
/* ------------------- */

#contact-form {
    background-color: var(--color-ws-bg-offwhite);
    /* Fundo suave para o formulário */
    padding: 30px;
    margin-top: 30px;
    margin-bottom: 30px;
    /* Adiciona espaço abaixo do formulário */
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--color-light-gray-border);
}

#contact-form h2 {
    color: var(--color-ws-blue-dark);
    /* Título do formulário com azul escuro */
    text-align: center;
    margin-bottom: 25px;
}

#contact-form form div {
    margin-bottom: 15px;
    /* Espaço entre os grupos de label/input */
}

#contact-form label {
    display: block;
    /* Garante que a label fique em sua própria linha */
    margin-bottom: 8px;
    /* Espaço entre label e input */
    font-weight: bold;
    color: var(--color-ws-text-dark);
    font-size: 0.95em;
}

#contact-form input[type="text"],
#contact-form input[type="email"],
#contact-form textarea {
    width: 100%;
    /* Inputs e textarea ocupam a largura total */
    padding: 10px;
    border: 1px solid var(--color-light-gray-border);
    border-radius: 4px;
    font-family: var(--font-secondary-body);
    /* Mantém a fonte do corpo */
    font-size: 1em;
    color: var(--color-ws-text-dark);
    /* Fundo consistente em claro/escuro (usa a cor de bloco/section do tema) */
    background-color: var(--color-ws-bg-offwhite);
    box-sizing: border-box;
    /* Inclui padding e borda na largura total */
}

#contact-form input::placeholder,
#contact-form textarea::placeholder {
    color: rgba(127, 140, 141, 0.9);
    /* cinza suave; no dark, as vars já clareiam o texto base */
}

#contact-form input:focus,
#contact-form textarea:focus {
    border-color: var(--color-ws-blue-light);
    /* Borda azul ao focar */
    outline: none;
    /* Remove outline padrão do navegador */
    box-shadow: 0 0 0 2px rgba(165, 185, 210, 0.3);
    /* Sombra suave ao focar */
}

#contact-form textarea {
    resize: vertical;
    /* Permite redimensionar verticalmente, mas não horizontalmente */
    min-height: 100px;
    /* Altura mínima para o textarea */
}

/* Ajustes específicos para dark theme (bordas um pouco mais escuras) */
html[data-theme="dark"] #contact-form input[type="text"],
html[data-theme="dark"] #contact-form input[type="email"],
html[data-theme="dark"] #contact-form textarea {
    border-color: #233044;
    /* combina com o restante das bordas no dark */
}

/* Evita “autofill” branco no Chrome */
input:-webkit-autofill,
textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px var(--color-ws-bg-offwhite) inset;
    -webkit-text-fill-color: var(--color-ws-text-dark);
    transition: background-color 9999s ease-in-out 0s;
}

#contact-form button[type="submit"] {
    display: block;
    /* O botão ocupa a largura total */
    width: 100%;
    margin-top: 25px;
    /* Mais espaço acima do botão */
    font-size: 1.1em;
    /* Fonte maior para o botão */
}

/* ------------------- */
/* 11. Estilos Específicos para a Galeria de Clientes (clients/manuel-fragoso) */
/* ------------------- */

.client-header {
    background: var(--color-ws-blue-dark);
    /* Fundo do header do cliente com azul escuro da logo */
    border-bottom: 3px solid var(--color-ws-blue-light);
    /* Linha de destaque com azul claro */
}

.client-header #branding #logo {
    max-height: 50px;
    /* Logo um pouco menor no header do cliente */
}

.client-header .client-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    margin: 0;
    /* Remover margem padrão do ul */
    padding: 0;
    /* Remover padding padrão do ul */
    list-style: none;
}

.client-header .client-nav li {
    display: inline-block;
    padding: 0 10px;
}

.client-header .client-nav a {
    color: var(--color-white);
    /* Links brancos no header escuro */
    text-transform: none;
    /* Sem uppercase */
    font-size: 0.95em;
    transition: color 0.3s ease;
}

.client-header .client-nav a:hover {
    color: var(--color-ws-blue-light);
    /* Hover com azul claro */
}

.client-header .client-nav .current a {
    color: var(--color-ws-blue-light) !important;
    /* Item ativo com azul claro */
    font-weight: bold;
}

.client-footer {
    background: var(--color-ws-blue-dark);
    /* Fundo do footer do cliente com azul escuro */
    color: var(--color-white);
    padding: 15px;
    margin-top: 20px;
    font-size: 0.8em;
    text-align: center;
}

.client-gallery-intro {
    text-align: center;
    background-color: var(--color-ws-bg-offwhite);
    /* Fundo off-white para introdução da galeria */
    padding: 50px;
    margin-bottom: 30px;
}

.client-gallery-intro h1 {
    color: var(--color-ws-blue-dark);
    /* Título principal com azul escuro */
    font-size: 2.5em;
}

.client-gallery-intro p {
    color: var(--color-ws-text-gray);
    /* Parágrafo com cinza suave */
    max-width: 800px;
    margin: 15px auto;
}

.client-monument-grid {
    text-align: center;
    /* Centraliza o título "Explore os Monumentos" */
}

.monument-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
    justify-content: center;
    /* Centraliza itens se a última linha for incompleta */
}

.monument-card {
    background-color: var(--color-ws-bg-light);
    /* Fundo branco para o card */
    border: 1px solid var(--color-light-gray-border);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.monument-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.monument-card a {
    text-decoration: none;
    color: inherit;
    display: block;
    padding-bottom: 20px;
}

.monument-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid var(--color-light-gray-border);
    margin-bottom: 15px;
}

.monument-card h3 {
    color: var(--color-ws-blue-dark);
    /* Título do card com azul escuro */
    font-size: 1.3em;
    margin-top: 0;
    margin-bottom: 5px;
    padding: 0 15px;
}

.monument-card p {
    color: var(--color-ws-text-gray);
    font-size: 0.9em;
    padding: 0 15px;
}

/* PÁGINAS INDIVIDUAIS DE MONUMENTO */
.splatting-viewer {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.splatting-viewer iframe {
    width: 100%;
    height: 550px;
    display: block;
    margin: 0 auto;
    border: none;
}

.monument-detail .monument-text p {
    font-size: 1.05em;
    line-height: 1.6;
    color: var(--color-ws-text-dark);
    margin-bottom: 15px;
}

/* ------------------- */
/* 12. Responsividade para a Galeria de Clientes */
/* ------------------- */
@media (max-width: 768px) {
    .client-header .client-nav ul {
        justify-content: center;
    }

    .client-header .client-nav li {
        padding: 5px 8px;
    }

    .monument-card img {
        height: 180px;
    }

    .splatting-viewer iframe {
        height: 350px;
    }
}

/* ------------------- */
/* 13. Estilos Lightbox (Modal de Ampliação de Imagem) */
/* ------------------- */
.lightbox-modal {
    display: none;
    /* Escondido por padrão */
    position: fixed;
    /* Fica por cima de tudo */
    z-index: 10000;
    /* Garante que fique no topo (alto z-index) */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    /* Permite scroll se a imagem for muito grande */
    background-color: rgba(0, 0, 0, 0.9);
    /* Fundo preto semi-transparente */
    box-sizing: border-box;
    padding-top: 50px;
    /* Espaço do topo */
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    /* Largura máxima da imagem no modal */
    max-height: 90vh;
    /* Altura máxima da imagem no modal */
    text-align: center;
    /* Centraliza a imagem */
    position: relative;
    /* Para posicionar o botão de fechar */
}

.lightbox-img {
    width: auto;
    height: auto;
    max-width: 100%;
    /* Ajusta a imagem para caber na largura da tela */
    max-height: 80vh;
    /* Ajusta a imagem para caber na altura da tela (vh = viewport height) */
    object-fit: contain;
    /* Garante que a imagem não seja cortada no modal */
    display: block;
    margin: 0 auto;
}

.lightbox-close {
    position: absolute;
    top: -35px;
    /* Posição acima da imagem */
    right: -10px;
    /* Posição à direita */
    color: var(--color-white);
    /* Cor branca para o 'x' */
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 10001;

    /* Garante que o botão de fechar fique acima de tudo */
    /* Para mobile, pode ser melhor centralizar o 'x' */
    @media (max-width: 768px) {
        top: 10px;
        right: 10px;
        font-size: 30px;
    }
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: var(--color-ws-blue-light);
    /* Cor de hover */
    text-decoration: none;
    cursor: pointer;
}

/* =================== */
/* 14. Modern Tweaks + Dark Mode */
/* =================== */

/* Aliases para compatibilidade de clientes */
:root {
    --color-primary-brand: var(--color-ws-blue-dark);
    --color-primary-light: var(--color-ws-bg-offwhite);
    --color-dark-text: var(--color-ws-text-dark);
    --color-gray-text: var(--color-ws-text-gray);
    --color-meteorite: #7C4DFF;
}

/* Tipografia fluida para títulos (sobrescreve tamanhos anteriores) */
h1 {
    font-size: clamp(2rem, 2.5vw + 1rem, 3rem);
}

h2 {
    font-size: clamp(1.6rem, 1.8vw + 0.6rem, 2.2rem);
}

h3 {
    font-size: clamp(1.25rem, 1.2vw + 0.5rem, 1.6rem);
}

h4 {
    font-size: clamp(1.1rem, 0.8vw + 0.4rem, 1.4rem);
}

/* Foco visível consistente */
:focus-visible {
    outline: 2px solid var(--color-ws-blue-light);
    outline-offset: 2px;
}

/* Header mais leve e sticky (override) */
header {
    border-bottom: 1px solid var(--color-light-gray-border);
    padding: 12px 0;
    min-height: 64px;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(6px);
}

header a {
    color: var(--color-ws-text-dark);
}

/* Botão de Dark Mode */
.theme-toggle {
    margin-left: 12px;
    border: 1px solid var(--color-light-gray-border);
    background: transparent;
    color: var(--color-ws-text-dark);
    padding: 8px 12px;
    border-radius: 999px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.theme-toggle:hover {
    background-color: var(--color-ws-bg-offwhite);
}

.theme-toggle .icon {
    line-height: 1;
}

/* Esconde o botão de tema */
.theme-toggle {
    display: none !important;
}

/* Dark theme variables + componentes */
html[data-theme="dark"] {
    color-scheme: dark;
    --color-ws-bg-light: #0b1220;
    --color-ws-bg-offwhite: #0f172a;
    --color-ws-bg-section: #111827;
    --color-ws-text-dark: #e5e7eb;
    --color-ws-text-gray: #cbd5e1;
    --color-light-gray-border: #334155;
    --color-ws-blue-light: #93c5fd;
    --color-ws-blue-light-hover: #60a5fa;
}

html[data-theme="dark"] body { background-color: var(--color-ws-bg-light); }
html[data-theme="dark"] header a { color: var(--color-ws-text-dark); }
html[data-theme="dark"] .mobile-nav-overlay { background-color: rgba(2, 6, 23, 0.95); }
html[data-theme="dark"] footer { background: #0f172a; color: #e5e7eb; }
html[data-theme="dark"] footer a { color: #93c5fd; }
html[data-theme="dark"] .placeholder-section { box-shadow: 0 4px 14px rgba(0,0,0,0.35); }
html[data-theme="dark"] .service-item:hover { background-color: #0b1220; }
html[data-theme="dark"] .differentiator-item { background-color: #0b1220; }
html[data-theme="dark"] .hero-content h1 { color: var(--color-ws-text-dark); }
html[data-theme="dark"] .service-faq details {
    background-color: var(--color-ws-bg-section);
    border: 1px solid var(--color-light-gray-border);
    box-shadow: 0 12px 28px rgba(0,0,0,0.45);
}

html[data-theme="dark"] .service-faq summary {
    color: var(--color-ws-text-dark);
}

html[data-theme="dark"] .service-faq summary:hover,
html[data-theme="dark"] .service-faq summary:focus-visible {
    color: var(--color-ws-blue-light);
    box-shadow: 0 0 0 3px rgba(147, 197, 253, 0.35);
    border-radius: 8px;
    background-color: rgba(147, 197, 253, 0.14);
}

html[data-theme="dark"] .service-faq details:focus-within {
    border-color: var(--color-ws-blue-light);
    box-shadow: 0 20px 48px rgba(8, 47, 73, 0.5);
}

html[data-theme="dark"] .service-faq details p {
    color: var(--color-ws-text-gray);
}

/* Mobile overlay mais legível no claro também */
.mobile-nav-overlay {
    background-color: rgba(2, 6, 23, 0.9);
}

.mobile-nav-overlay a {
    color: var(--color-white);
}

/* Reduz movimento quando preferido pelo utilizador */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }

    .scroll-hint {
        display: none !important;
    }
}

/* style.css - Seção de Ícones de Serviço (Unificada) */

.service-item .service-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 12px;
    border-radius: 12px;
    background-color: var(--color-ws-blue-dark);
    /* A COR DE FUNDO AGORA É A COR DO ÍCONE */

    /* Propriedades da máscara */
    -webkit-mask-size: 50%;
    /* Tamanho do ícone (50% de 56px = 28px) */
    mask-size: 50%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;

    transition: background-color 0.3s ease;
    /* Transição suave para dark mode */
}

/* Define a imagem de máscara para cada ícone específico */
.service-icon.icon-visit {
    -webkit-mask-image: url('/icons/service-visit.svg');
    mask-image: url('/icons/service-visit.svg');
}

.service-icon.icon-capture {
    -webkit-mask-image: url('/icons/service-capture.svg');
    mask-image: url('/icons/service-capture.svg');
}

.service-icon.icon-docs {
    -webkit-mask-image: url('/icons/service-docs.svg');
    mask-image: url('/icons/service-doc.svg');
}

/* Estilos do ícone para o Dark Mode */
html[data-theme="dark"] .service-item .service-icon {
    background-color: var(--color-ws-blue-light);
    /* MUDA A COR DE FUNDO, QUE É A COR DO ÍCONE */
}

/* 7.2 - Página Visita Virtual */
.service-layout>section {
    margin-bottom: 72px;
}

.service-hero {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: flex-start;
}

.service-hero h1 {
    font-size: 2.4rem;
    margin-bottom: 16px;
}


.hero-subhead {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--color-ws-text-gray);
}

.subhead-max {
    max-width: 65ch;
}

.hero-ctas {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}


.hero-media picture {
    display: block;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.hero-media {
    max-height: 450px;
    /* NOVO: Limita a altura máxima do contêiner do vídeo/imagem */
    display: flex;
    /* NOVO: Para centralizar o conteúdo */
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* Garante que o conteúdo não vaze */
    border-radius: 12px;
}

.hero-media video,
.hero-media img {
    width: auto;
    /* Deixa a largura automática */
    height: 100%;
    /* Faz o vídeo/imagem preencher a altura máxima do contêiner */
    max-width: 100%;
    /* Garante que não ultrapasse a largura do contêiner */
    object-fit: cover;
    /* Recorta para preencher o espaço sem distorcer */
    border-radius: 12px;
}

.hero-caption {
    margin-top: 12px;
    font-size: 0.85rem;
    color: var(--color-ws-text-gray);
}

.hero-metrics ul {
    list-style: none;
    margin: 0;
    padding: 24px 0;
    display: grid;
    gap: 24px;
    border-top: 1px solid var(--color-light-gray-border);
    border-bottom: 1px solid var(--color-light-gray-border);
}

.hero-metrics li {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-ws-blue-dark);
}

.metric-label {
    font-size: 0.95rem;
    color: var(--color-ws-text-gray);
}

.service-subnav {
    border-top: none;
    /* REMOVIDO: Borda superior */
    border-bottom: none;
    /* REMOVIDO: Borda inferior */
    padding: 24px 0 0 0;
    /* AJUSTADO: Apenas padding superior, sem padding inferior */
    text-align: left;
    /* Alinha os botões à esquerda (pois está dentro de .hero-copy) */
}

.service-subnav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0;
    padding: 0;
    justify-content: flex-start;
    /* Alinha a lista de links à esquerda */
}

.service-subnav a {
    display: inline-block;
    padding: 10px 18px;
    border: 1px solid var(--color-light-gray-border);
    border-radius: 999px;
    text-decoration: none;
    color: var(--color-ws-blue-dark);
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.service-subnav a:hover,
.service-subnav a:focus {
    background-color: var(--color-ws-blue-light);
    color: var(--color-ws-text-dark);
    outline: none;
    transform: translateY(-2px);
}


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

.proof-line {
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0;
}


.proof-intro {
    font-weight: 600;
    margin-bottom: 16px;
}

.proof-bullets {
    display: flex;
    flex-direction: column;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.service-benefits h2,
.service-how h2,
.service-deliverables h2,
.service-segments h2,
.service-gallery h2,
.service-faq h2,
.service-final-cta h2 {
    margin-bottom: 24px;
}

.benefits-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 20px;
}

.benefits-grid li {
    background: var(--color-ws-bg-offwhite);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 20px 45px rgba(15, 34, 65, 0.07);
}

.benefit-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-ws-blue-light), var(--color-ws-blue-dark));
}

.benefits-grid h3 {
    font-size: 1rem;
    margin: 0;
}

.service-how {
    background-color: var(--color-ws-bg-offwhite);
    border-radius: 16px;
    padding: 32px 28px;
}

.how-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.how-note {
    font-size: 0.95rem;
    color: var(--color-ws-text-gray);
}

.how-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 20px;
}

.how-steps li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    font-size: 1rem;
    line-height: 1.5;
}

.step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    background-color: var(--color-ws-blue-light);
    color: var(--color-ws-text-dark);
    flex-shrink: 0;
}

.service-deliverables {
    background-color: var(--color-ws-bg-section);
    border-radius: 16px;
    padding: 32px 28px;
}

.deliverables-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 16px;
}

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

.segments-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: 1fr;
}

.segment-card {
    background: #0f172a;
    border: 1px solid rgba(147, 197, 253, 0.25);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
    color: #e5e7eb;
    box-shadow: 0 20px 45px rgba(8, 15, 35, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.segment-card:hover,
.segment-card:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 26px 54px rgba(8, 18, 40, 0.45);
    border-color: rgba(147, 197, 253, 0.35);
}

.segment-media,
.segment-card .media {
    border-radius: 12px;
    overflow: hidden;
}

.segment-media picture,
.segment-media img,
.segment-card .media picture,
.segment-card .media img {
    width: 100%;
    display: block;
}

.segment-media img,
.segment-card .media img {
    height: 210px;
    object-fit: cover;
}

.segment-label {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #93c5fd;
}

.segment-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.segment-content h3 {
    margin: 0;
    font-size: 1.3rem;
    color: #f8fafc;
    font-weight: 700;
}

.segment-content p {
    margin: 0;
    color: rgba(226, 232, 240, 0.86);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: calc(1.6em * 2);
}

.segment-card-link {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-decoration: none;
    color: inherit;
    border-radius: 12px;
    transition: color 0.2s ease;
    flex: 1;
}

.segment-card-link:focus-visible {
    outline: 3px solid var(--color-ws-blue-light);
    outline-offset: 4px;
}

.segment-card-link:hover .segment-link-helper,
.segment-card-link:focus-visible .segment-link-helper {
    color: var(--color-ws-blue-light);
}

.segment-link-helper {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #93c5fd;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.segment-link-helper::after {
    content: '↗';
    font-size: 0.9em;
}

.segment-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: auto;
    padding-top: 4px;
}

.segment-card .button_2:focus-visible {
    outline: 3px solid var(--color-ws-blue-light);
    outline-offset: 3px;
}
html[data-theme="light"] .segments-grid .segment-card {
    background: var(--color-ws-bg-light);
    color: var(--color-ws-text-dark);
    border: 1px solid rgba(15, 34, 65, 0.08);
    box-shadow: 0 18px 40px rgba(15,34,65,0.08);
}

html[data-theme="light"] .segments-grid .segment-card:hover,
html[data-theme="light"] .segments-grid .segment-card:focus-within {
    border-color: rgba(90, 119, 141, 0.25);
    box-shadow: 0 24px 52px rgba(15,34,65,0.12);
}

html[data-theme="light"] .segments-grid .segment-label,
html[data-theme="light"] .segments-grid .segment-link-helper {
    color: var(--color-ws-blue-dark);
}

html[data-theme="light"] .segments-grid .segment-content h3 {
    color: var(--color-ws-text-dark);
}

html[data-theme="light"] .segments-grid .segment-content p {
    color: var(--color-ws-text-gray);
}

html[data-theme="dark"] .segments-grid .segment-content p {
    color: rgba(226, 232, 240, 0.86);
}
.service-gallery .gallery-grid {
    display: grid;
    gap: 18px;
}

.service-gallery .project-image-link {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 32px rgba(15,34,65,0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-gallery .project-image-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 36px rgba(15,34,65,0.16);
}

.service-gallery .project-image-link:focus-visible {
    outline: 3px solid var(--color-ws-blue-light);
    outline-offset: 4px;
}

.service-gallery img {
    width: 100%;
    display: block;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.gallery-note {
    margin-top: 18px;
    color: var(--color-ws-text-gray);
    text-align: center;
}








.service-faq .faq-list {
    display: grid;
    gap: 16px;
}

.service-faq details {
    border: 1px solid var(--color-light-gray-border);
    border-radius: 12px;
    padding: 18px 20px;
    background-color: var(--color-white);
    box-shadow: 0 15px 32px rgba(15,34,65,0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.service-faq summary {
    cursor: pointer;
    font-weight: 600;
    list-style: none;
    padding: 10px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.service-faq summary:hover {
    color: var(--color-ws-blue-dark);
    background-color: rgba(76, 195, 255, 0.12);
}

.service-faq summary:focus-visible {
    outline: none;
    color: var(--color-ws-blue-dark);
    box-shadow: 0 0 0 3px rgba(90, 119, 141, 0.35);
    border-radius: 8px;
    background-color: rgba(76, 195, 255, 0.12);
}

.service-faq details:focus-within {
    border-color: var(--color-ws-blue-light);
    box-shadow: 0 18px 40px rgba(15,34,65,0.12);
}

.service-faq summary::-webkit-details-marker {
    display: none;
}

.service-faq details[open] summary {
    color: var(--color-ws-blue-dark);
}

.service-faq details p {
    margin: 12px 0 0;
    color: var(--color-ws-text-gray);
}
.service-final-cta {
    text-align: center;
    background: linear-gradient(130deg, rgba(8, 64, 144, 0.08), rgba(76, 195, 255, 0.12));
    border-radius: 18px;
    padding: 48px 28px;
}

.service-final-cta p {
    font-size: 1.1rem;
    color: var(--color-ws-text-gray);
    margin-bottom: 24px;
}

.final-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    /* ADICIONAR a propriedade abaixo para centralizar */
    justify-content: center;
}

@media (min-width: 640px) {
    .hero-ctas {
        flex-direction: row;
    }

    .hero-metrics ul {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .proof-bullets {
        flex-direction: row;
        justify-content: center;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .how-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .deliverables-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .segments-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .final-cta-buttons {
        flex-direction: row;
    }
}

@media (min-width: 992px) {
    .service-hero {
        display: grid;
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
        align-items: center;
    }

    .hero-metrics ul {
        border-radius: 16px;
        padding: 28px 36px;
        background-color: var(--color-white);
        box-shadow: 0 18px 40px rgba(15, 34, 65, 0.08);
    }

    .service-proof {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .benefits-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .how-steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .segments-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.page-obrigado .placeholder-section {
    max-width: 960px;
    margin: 40px auto;
    text-align: center;
}

.page-obrigado .actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 18px;
}

@media (max-width: 640px) {
    .page-obrigado .actions {
        flex-direction: column;
    }

    .page-obrigado .actions .button_1,
    .page-obrigado .actions .button_2 {
        width: 100%;
    }
}

/* ------------------- */
/* ESTILOS PARA SUB-SERVIÇOS EM COLUNAS */
/* ------------------- */
.subservice-block {
    padding: 60px 0;
    /* Espaçamento vertical entre os blocos de sub-serviço */
    border-bottom: 1px solid var(--color-light-gray-border);
}

.subservice-block:last-of-type {
    border-bottom: none;
    /* Remove a borda do último bloco */
}

.subservice-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Duas colunas de tamanho igual */
    gap: 40px;
    /* Espaçamento entre as colunas */
    align-items: center;
    /* Alinha o conteúdo verticalmente ao centro */
}

/* Layout alternado: Texto-Imagem, depois Imagem-Texto */
/* O seletor :nth-of-type(even) seleciona o segundo, quarto, etc. bloco de sub-serviço */
.subservice-block:nth-of-type(even) .subservice-content-grid {
    grid-template-areas: "media text";
    /* Imagem na esquerda, texto na direita */
}

.subservice-block:nth-of-type(odd) .subservice-content-grid {
    grid-template-areas: "text media";
    /* Texto na esquerda, imagem na direita */
}

.subservice-text {
    grid-area: text;
    /* Associa este div à área 'text' do grid */
}

.subservice-media {
    grid-area: media;
    /* Associa este div à área 'media' do grid */
}

.subservice-text h2 {
    margin-top: 0;
}

/* Grid para as múltiplas imagens */
.subservice-image-grid {
    display: grid;
    gap: 15px;
}

/* Layout para quando há apenas uma imagem grande na grelha de mídia */
.subservice-image-grid.layout-single img {
    width: 100%;
    height: auto;
    /* Altura automática para manter a proporção */
    object-fit: contain;
    /* Garante que a imagem inteira seja visível */
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Layout Padrão (2x2, se tiver 4 fotos) */
.subservice-image-grid.layout-a {
    grid-template-columns: 1fr 1fr;
}

.subservice-image-grid.layout-a img {
    width: 100%;
    height: 180px;
    /* Altura para as imagens menores */
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Layout Alternativo (1 grande, 2 pequenas) */
.subservice-image-grid.layout-b {
    grid-template-columns: 2fr 1fr;
    /* Coluna da esquerda é 2x maior que a da direita */
    grid-template-rows: auto auto;
    /* Duas linhas */
    grid-template-areas:
        "main-img thumb-1"
        "main-img thumb-2";
}

.subservice-image-grid.layout-b img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.subservice-image-grid.layout-b img:nth-child(1) {
    grid-area: main-img;
    height: 415px;
    /* Altura da imagem principal (2x 200px + 15px gap) */
}

.subservice-image-grid.layout-b img:nth-child(2) {
    grid-area: thumb-1;
    height: 200px;
    /* Altura das miniaturas */
}

.subservice-image-grid.layout-b img:nth-child(3) {
    grid-area: thumb-2;
    height: 200px;
    /* Altura das miniaturas */
}

/* Responsividade para o layout de colunas */
@media (max-width: 992px) {

    .subservice-content-grid,
    .subservice-block:nth-of-type(even) .subservice-content-grid,
    .subservice-block:nth-of-type(odd) .subservice-content-grid {
        grid-template-columns: 1fr;
        /* Uma coluna em telas menores */
        grid-template-areas:
            "text"
            "media";
        /* Texto sempre em cima, mídia sempre em baixo */
        gap: 30px;
    }
}

.page-links .links-page-main {
    padding: 80px 0 60px;
}

.links-card__inner {
    max-width: 720px;
    margin: 0 auto;
    padding: 48px 16px;
    text-align: center;
}

.links-card__logo {
    width: 104px;
    height: auto;
    border-radius: 16px;
    margin: 0 auto 12px;
    display: block;
}

.links-card__title {
    margin: 8px 0 6px;
}

.links-card__subtitle {
    margin: 0 0 20px;
    font-size: 1rem;
    color: var(--color-ws-text-gray);
}

.links-list {
    display: grid;
    gap: 12px;
    margin: 24px 0;
}

.links-list__link {
    display: block;
    padding: 14px 18px;
    border: 1px solid var(--color-light-gray-border);
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    color: var(--color-ws-text-dark);
    background-color: var(--color-ws-bg-light);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.links-list__link:hover,
.links-list__link:focus {
    border-color: var(--color-ws-blue-light);
    box-shadow: 0 6px 16px rgba(90, 119, 141, 0.12);
    transform: translateY(-2px);
}

.links-card__location,
.links-card__meta {
    margin: 20px 0 6px;
    font-size: 0.75rem;
    opacity: 0.75;
}

.links-card__meta {
    margin-bottom: 0;
}

.links-card__meta a {
    color: inherit;
    text-decoration: none;
}

.links-card__meta a:hover,
.links-card__meta a:focus {
    text-decoration: underline;
}

@media (max-width: 640px) {
    .links-card__inner {
        padding: 36px 12px;
    }

    .links-list__link {
        padding: 12px 16px;
    }
}

/* Correção para o Zig-Zag Layout */
.subservice-text .benefits-grid {
    grid-template-columns: 1fr !important;
    /* Força 1 coluna */
    gap: 10px;
    margin-top: 20px;
}

.subservice-text .benefits-grid li {
    /* Reset de estilos antigos */
    box-shadow: none;

    /* Novo Visual Moderno / Glassmorphism */
    background: rgba(255, 255, 255, 0.03);
    /* Quase transparente para Dark Mode */
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 12px;
    padding: 16px 20px;
    transition: all 0.3s ease;

    /* Alinhamento */
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Efeito Hover para interatividade */
.subservice-text .benefits-grid li:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--color-ws-blue-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Ajuste de tipografia interna */
.subservice-text .benefits-grid li h3,
.subservice-text .benefits-grid li strong {
    color: var(--color-ws-blue-light);
    /* Destaque na cor da marca */
    font-size: 1rem;
    margin: 0;
}

.subservice-text .benefits-grid li p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
    line-height: 1.4;
    color: inherit;
}

/* Ajuste para Light Mode */
html:not([data-theme="dark"]) .subservice-text .benefits-grid li {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

html:not([data-theme="dark"]) .subservice-text .benefits-grid li:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: var(--color-ws-blue-light);
}
