/* Estilos Gerais e Reset */
body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
}

h1 {
    font-size: 3em;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

h2 {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: #669933; /* Cor de destaque */
    border-radius: 2px;
}

h2 small { /* Estilo para o subtítulo "Divisão ClaryTech" */
    display: block;
    font-size: 0.5em;
    font-weight: 400;
    color: #FF8C00;
    margin-top: 5px;
}

/* Estilo para o link dentro do small (Divisão ClaryTech) */
.clarytech-link {
    color: #FF8C00; /* Cor laranja para o link */
    text-decoration: none; /* Sem sublinhado por padrão */
    font-weight: 600; /* Um pouco mais negrito */
    transition: color 0.3s ease;
}

.clarytech-link:hover {
    color: #FFFFFF; /* AGORA BRANCO ao passar o mouse */
    text-decoration: underline; /* Sublinhado ao passar o mouse */
}


h3 {
    font-size: 1.8em;
    color: #007bff; /* Cor de destaque para títulos de serviço/propósito */
}

p {
    font-size: 1.1em;
    margin-bottom: 15px;
}

a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.btn {
    display: inline-block;
    background-color: #FF8C00; /* Laranja */
    color: #fff;
    padding: 15px 30px;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: 600;
    transition: background-color 0.3s ease;
    margin-top: 30px;
}

.btn:hover {
    background-color:  #00008B; /* Azul ao passar o mouse */
    transform: translateY(-3px); /* Efeito de "levantar" */
    text-decoration: none;
}

/* Seção Hero */
.hero-section {
    position: relative;
    height: 100vh; /* Ocupa a altura total da viewport */
    background: url('https://www.btics.com.br/imagens/fundo1.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden; /* Garante que a imagem não transborde */
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Escurece a imagem para melhor legibilidade do texto */
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
    padding-top: 50px; /* Espaço para a logo */
}

.hero-logo {
    max-width: 250px; /* Tamanho da logo */
    height: auto;
    margin-bottom: 30px;
}

/* --- */
/* Seção de Atalhos */
.shortcuts-section {
    background-color: #fff; /* Branco */
    padding: 40px 0;
    text-align: center;
}

.shortcut-buttons {
    display: flex;
    justify-content: center;
    gap: 30px; /* Espaçamento entre os botões */
    flex-wrap: wrap; /* Para quebrar linha em telas menores */
}

.shortcut-btn {
    display: inline-block;
    background-color: #FF8C00; /* Laranja vibrante */
    color: #fff;
    padding: 15px 30px;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-decoration: none;
    font-size: 1.1em;
    white-space: nowrap; /* Evita que o texto do botão quebre linha */
}

.shortcut-btn:hover {
    background-color: #00008B; /* azul ao passar o mouse */
    transform: translateY(-3px); /* Efeito de "levantar" */
    text-decoration: none;
}

/* Seções Gerais */
.section {
    padding: 80px 0;
}

/* Cores de Fundo Alternadas */
.color-bg-1 { /* Para a seção "Sobre Nós" */
    background-color: #fff; /* Branco */
}

.color-bg-2 { /* Para a seção "Serviços" */
    background-color: #00008B; /* Azul */
    color: #fff; /* Texto branco para contraste */
}

.color-bg-2 h2,
.color-bg-2 h2::after,
.color-bg-2 h3 {
    color: #fff; /* Títulos brancos para contraste */
}

.color-bg-2 .service-item {
    background-color: rgba(255, 255, 255, 0.2); /* Fundo translúcido para itens de serviço */
    color: #fff;
}

.color-bg-2 .service-item h3 {
    color: #fff;
}


.color-bg-3 { /* Para a seção "Propósito" */
    background-color: #FF8C00; /* Laranja */
    color: #fff;
}

.color-bg-3 h2,
.color-bg-3 h2::after,
.color-bg-3 h3 {
    color: #fff;
}

.color-bg-3 .purpose-item {
    background-color: rgba(255, 255, 255, 0.2); /* Fundo translúcido para itens de propósito */
    color: #fff;
}

.color-bg-3 .purpose-item h3 {
    color: #fff;
}

.color-bg-4 { /* Para a seção "Contato" */
    background-color: #fff; /* Branco  */
}

/* Seção Sobre Nós */
.sobre-nos-section .content-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.sobre-nos-section .text-content {
    flex: 2;
    min-width: 300px;
}

.sobre-nos-section .image-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sobre-nos-section .image-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Seção Serviços */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-item {
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
}

.service-item h3 {
    margin-top: 0;
    margin-bottom: 15px;
}

.services-footer-text {
    text-align: center;
    margin-top: 40px;
    font-style: italic;
    color: inherit; /* Garante que a cor seja herdada da seção */
}

/* Seção Propósito (Missão, Visão, Valores) */
.purpose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.purpose-item {
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.purpose-item h3 {
    margin-top: 0;
    margin-bottom: 15px;
}

/* Seção Contato */
.contato-section {
    text-align: center;
}

.contact-info {
    margin-bottom: 30px;
}

.contact-info p {
    font-size: 1.2em;
    margin-bottom: 10px;
}

/* NOVO: Estilo para o logo da ClaryTech no contato, abaixo do h2 */
.clarytech-logo-contact {
    max-width: 100px; /* Ajuste o tamanho conforme a proporção com a frase "Entre em Contato" */
    height: auto;
    margin: -20px auto 40px auto; /* Centraliza, ajusta margem superior negativa para subir um pouco e margem inferior */
    display: block; /* Garante que ocupe sua própria linha */
}


/* NOVO: Estilo para o botão de contato, mantendo proporção da frase */
.contact-btn-alone {
    padding: 15px 30px; /* Mantém o padding base do .btn */
    font-size: 1.1em; /* Ajuste o tamanho da fonte se necessário para a proporção */
    text-transform: uppercase;
    font-weight: 600;
    border-radius: 5px;
    display: inline-block; /* Permite que o botão se ajuste ao texto */
    margin-top: 30px; /* Adiciona espaço acima do botão */
}


.contact-footer-text {
    margin-top: 30px;
    font-style: italic;
    color: #000;
}

/* Rodapé */
.footer {
    background-color: #00008b;
    color: #fff;
    padding: 30px 0;
    text-align: center;
    font-size: 0.9em;
}

.footer a {
    color: #bbb;
    margin: 0 10px;
}

.footer a:hover {
    color: #fff;
}

/* Responsividade Básica */
@media (max-width: 768px) {
    h1 {
        font-size: 2.2em;
    }

    h2 {
        font-size: 2em;
    }
    h2 small {
        font-size: 0.6em; /* Aumenta um pouco em telas menores */
    }

    .hero-logo {
        max-width: 180px;
    }

    .section {
        padding: 60px 0;
    }

    .sobre-nos-section .content-wrapper {
        flex-direction: column;
    }

    .sobre-nos-section .text-content,
    .sobre-nos-section .image-content {
        flex: none;
        width: 100%;
    }

    .services-grid,
    .purpose-grid {
        grid-template-columns: 1fr;
    }

    .shortcut-buttons {
        flex-direction: column; /* Empilha os botões verticalmente em telas menores */
        gap: 15px; /* Reduz o espaçamento quando empilhados */
    }
    .shortcut-btn {
        width: 80%; /* Ocupa mais largura em telas menores */
        margin: 0 auto; /* Centraliza o botão */
    }

    .clarytech-logo-contact {
        max-width: 100px; /* Reduz o tamanho do logo em telas menores */
        margin: -10px auto 30px auto; /* Ajusta margens para telas menores */
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8em;
    }

    .btn {
        padding: 12px 25px;
        font-size: 0.9em;
    }

    .contact-btn-alone {
        padding: 12px 20px; /* Ajusta padding para telas muito pequenas */
        font-size: 0.9em;
    }
}