/* 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 {
    background: var(--color-ws-bg-light);
    color: var(--color-ws-text-dark);
    padding: 15px 0;
    min-height: 70px;
    border-bottom: 3px solid var(--color-ws-blue-light);
    display: flex;
    align-items: center;
}

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

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;
}

.desktop-nav li {
    display: inline;
    padding: 0 15px;
}

#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-dark);
    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ÃO 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ÃO 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-bg-offwhite); /* Fundo off-white */
    color: var(--color-ws-text-dark);
    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;
    transition: background-color 0.3s ease;
}

.hero-section:hover {
    background-color: var(--color-ws-bg-section); /* Um tom ligeiramente mais escuro no hover */
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: auto;
}

.hero-content h1 {
    font-size: 3.2em;
    margin-bottom: 15px;
    color: var(--color-ws-blue-dark); /* Título principal do hero com azul escuro da logo */
}

.hero-content .tagline {
    font-size: 1.6em;
    margin-bottom: 25px;
    font-weight: normal;
    color: var(--color-ws-blue-light); /* Tagline com azul claro da logo */
}

.hero-content p {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: var(--color-ws-text-gray); /* Parágrafo com cinza suave */
}

/* 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-light);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid var(--color-light-gray-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    cursor: pointer; /* Torna todo o card clicável */
}

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

.service-item h2 {
    margin-top: 0;
    font-size: 1.6em;
    text-align: center; /* NOVO: Centraliza o texto do título do serviço */
    min-height: 2.5em; /* OPTEI POR MIN-HEIGHT: Garantirá uma altura mínima para 1 ou 2 linhas de título, mantendo a consistência visual. Ajuste este valor se for preciso. */
    display: flex; /* Para centralizar verticalmente em caso de quebra de linha */
    align-items: center; /* Alinha o texto ao centro verticalmente dentro do min-height */
    justify-content: center; /* Centraliza horizontalmente o texto dentro do h2 */
}

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

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

.service-item p {
    font-size: 0.98em;
    line-height: 1.55;
    color: var(--color-ws-text-gray);
    text-align: center; /* NOVO: Centraliza o texto do parágrafo dentro do card */
}

/* 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-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 {
        flex-direction: row; /* Logo e hambúrguer na mesma linha */
        justify-content: space-between; /* Espaça logo e hambúrguer */
        align-items: center;
    }

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

    /* Mostrar o botão hambúrguer no mobile */
    .hamburger {
        display: block;
    }

    header #branding {
        width: auto;
        text-align: left;
        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);
    background-color: var(--color-white);
    box-sizing: border-box; /* Inclui padding e borda na largura total */
}

#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 */
}

#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;
}