@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;700&display=swap');

/* Cores */
:root {
    --dark-blue: #2d2d2d; /* Preto Grafite */
    --medium-blue: #3136fa; /* Azul Safira */
    --light-blue: #3171ff; /* Azul Aqua */
    --black: #2d2d2d; /* Preto Grafite */
    --white: #ffffff; /* Branco Full */
    --gray: #aaaaaa; /* Cinza para textos secundários */
    --accent-color: #3171ff; /* Azul Aqua para botões e destaques (WhatsApp) */
    --hero-radial-gradient-color: rgba(49, 113, 255, 0.15); /* Gradiente radial azul sutil */

    /* Novos tons de cinza */
    --gray-darker: #444444; /* Cinza mais escuro para fundos */
    --gray-medium: #666666; /* Cinza médio para bordas e textos */
    --gray-light: #999999; /* Cinza claro para detalhes */
}

/* Reset e Tipografia Básica */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: var(--white);
    background-color: var(--dark-blue);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
    overflow: hidden;
    padding: 40px 0;
}

h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 700;
}

p {
    margin-bottom: 15px;
    font-weight: 300;
    color: var(--gray);
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--light-blue);
    text-decoration: none;
}

/* Header */
header {
    background: var(--dark-blue);
    color: var(--white);
    padding: 1.5rem 0; /* Aumentar o padding vertical do header */
    border-bottom: none; /* Remover a borda inferior */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); /* Sombra sutil */
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0; /* Ajustar padding do container do header */
}

header .logo {
    height: 50px; /* Definir altura fixa para a nova logo */
    width: auto; /* Manter proporção */
    display: block;
    transition: transform 0.3s ease;
}

header .logo:hover {
    transform: scale(1.05);
}

header nav ul {
    list-style: none;
    display: flex;
}

header nav ul li {
    margin-left: 30px; /* Mais espaçamento */
}

header nav a {
    color: var(--white);
    font-weight: 500; /* Peso da fonte ajustado */
    font-size: 1.1rem;
    padding: 5px 0;
    position: relative;
}

header nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

header nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    background-color: var(--dark-blue);
    color: var(--white);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 80px 0;
    background: var(--dark-blue);
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px; /* Tamanho do brilho */
    height: 600px; /* Tamanho do brilho */
    background: radial-gradient(circle, var(--hero-radial-gradient-color) 0%, rgba(45, 45, 45, 0) 70%); /* Gradiente radial azul sutil */
    transform: translate(-50%, -50%);
    animation: pulseGlow 8s ease-in-out infinite alternate;
    z-index: 1; /* Garantir que fique atrás do conteúdo */
}

@keyframes pulseGlow {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.7; }
    50% { transform: translate(-50%, -50%) scale(1.05); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 0.7; }
}

.hero .hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    margin: auto;
    position: relative;
    z-index: 2; /* Garantir que o conteúdo fique acima do brilho */
    flex-wrap: wrap;
}

.hero .hero-text {
    flex: 1 1 40%; /* Permitir que ocupe no mínimo 40% do espaço, mas cresça se necessário */
    padding-right: 60px;
    max-width: 500px;
}

.hero h2 {
    font-size: 1.2rem; /* Subtítulo menor */
    color: var(--white); /* Alterado para branco */
    margin-bottom: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero h1 {
    font-size: 4.5rem; /* Título principal grande */
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.1;
}

.hero p {
    font-size: 1.1rem; /* Texto do corpo ajustado */
    margin-bottom: 15px;
    color: var(--gray);
    font-weight: 300;
}

.hero .hero-image {
    flex: 1 1 50%; /* Permitir que ocupe no mínimo 50% do espaço, mas cresça se necessário */
    display: flex;
    justify-content: flex-end;
    align-items: center;
    max-width: 600px; /* Limite máximo para o contêiner da imagem em desktop */
    min-width: 300px; /* Garantir um tamanho mínimo para a imagem */
}

.hero .hero-image img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    transform: translateY(0);
    filter: drop-shadow(0 0 50px rgba(0, 0, 0, 0.5));
}

.btn-whatsapp {
    display: inline-block;
    background: var(--accent-color);
    color: var(--dark-blue); /* Cor do texto no botão */
    padding: 15px 35px;
    border-radius: 50px; /* Botão mais arredondado */
    font-size: 1.2rem;
    font-weight: 700;
    transition: background 0.3s ease, transform 0.3s ease;
    letter-spacing: 0.5px;
    box-shadow: 0 5px 15px rgba(0, 196, 154, 0.3);
}

.btn-whatsapp:hover {
    background: var(--light-blue); /* Mudar para light-blue no hover */
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 119, 182, 0.4);
}

/* Seções */
.section-dark, .section-light {
    background-color: var(--gray-darker); /* Unificar o fundo das seções */
    padding: 80px 0; /* Mais padding vertical */
    text-align: center;
    position: relative;
    overflow: hidden;
}

.section-dark h3, .section-light h3 {
    color: var(--white);
    font-size: 3rem; /* Tamanho maior */
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
}

.section-dark h3::after, .section-light h3::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -15px;
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.services-grid, .why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px; /* Mais espaçamento */
    margin-top: 40px;
}

.service-item, .why-choose-grid ul {
    background: var(--dark-blue); /* Fundo dos itens mais escuro */
    padding: 40px;
    border-radius: 12px; /* Mais arredondado */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4); /* Sombra mais pronunciada */
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-10px);
}

.service-item h4 {
    color: var(--accent-color);
    margin-bottom: 20px;
    font-size: 1.8rem; /* Tamanho ajustado */
    font-weight: 600;
}

.service-item p {
    color: var(--gray);
}

.why-choose-grid ul {
    list-style: none;
    text-align: left;
    padding: 0;
}

.why-choose-grid ul li {
    background: none; /* Remover ícone de fundo */
    padding-left: 0;
    margin-bottom: 15px;
    color: var(--white);
    font-weight: 400;
    display: flex;
    align-items: center;
}

.why-choose-grid ul li::before {
    content: '✔'; /* Novo ícone minimalista */
    color: var(--accent-color);
    margin-right: 15px;
    font-size: 1.2rem;
    font-weight: bold;
}

.client-photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.client-photos-grid img {
    width: 100%;
    height: 250px; /* Altura fixa para as imagens */
    object-fit: cover; /* Recortar para preencher o espaço */
    border-radius: 10px; /* Cantos arredondados */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.client-photos-grid img:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Footer */
footer {
    background-color: var(--black);
    color: var(--gray);
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid var(--medium-blue); /* Borda mais sutil */
}

footer .logo-footer {
    height: 40px; /* Definir altura fixa para a logo no rodapé */
    width: auto; /* Manter proporção */
    display: block;
    margin: 0 auto 15px auto;
}

footer p {
    font-size: 0.85rem;
    color: var(--gray);
}

/* Responsividade */
@media (max-width: 992px) {
    .container {
        width: 95%; /* Aumenta a largura do container em telas menores para melhor uso do espaço */
        padding: 30px 0;
    }

    header .container {
        flex-direction: column;
        text-align: center;
        padding: 15px 0;
    }

    header .logo {
        height: 45px;
        margin-bottom: 15px;
    }

    header nav ul {
        margin-top: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }

    header nav ul li {
        margin: 5px 15px;
    }

    header nav a {
        font-size: 1rem;
    }

    .hero .hero-content {
        flex-direction: column;
        text-align: center;
        padding: 40px 0;
    }

    .hero .hero-text {
        flex: 1 1 100%;
        padding-right: 0;
        margin-bottom: 30px;
        max-width: 100%;
    }

    .hero h1 {
        font-size: 3.2rem;
        margin-bottom: 15px;
    }

    .hero h2 {
        font-size: 1.1rem;
        letter-spacing: 1.5px;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero .hero-image {
        flex: 1 1 80%;
        width: 80%;
        max-width: 400px;
        min-width: unset;
        justify-content: center;
        order: -1;
        margin-bottom: 20px;
    }

    .hero .hero-image img {
        max-width: 100%;
    }

    .btn-whatsapp {
        padding: 12px 30px;
        font-size: 1.1rem;
    }

    .section-dark, .section-light {
        padding: 60px 0;
    }

    .section-dark h3, .section-light h3 {
        font-size: 2.8rem;
        margin-bottom: 40px;
    }

    .services-grid, .why-choose-grid, .client-testimonials-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 30px;
    }

    .service-item, .why-choose-grid ul, .client-testimonial-item {
        padding: 30px;
    }

    .service-item h4 {
        font-size: 1.7rem;
    }

    .why-choose-grid ul li {
        font-size: 1rem;
    }

    .section-description {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .client-testimonial-item img {
        width: 100px;
        height: 100px;
        margin-bottom: 15px;
    }

    .client-testimonial-item p {
        font-size: 0.95rem;
    }

    #contato h2 {
        font-size: 2.5rem;
        margin-bottom: 25px;
    }

    #contato p {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    #contato .btn-whatsapp {
        margin-bottom: 30px;
    }

    .social-icon {
        font-size: 1.1rem;
    }

    .social-icon i {
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero h2 {
        font-size: 0.9rem;
    }

    .hero p {
        font-size: 0.9rem;
    }

    .section-dark h3, .section-light h3 {
        font-size: 2.2rem;
    }

    .service-item h4 {
        font-size: 1.5rem;
    }

    #contato h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero h2 {
        font-size: 0.8rem;
    }

    .hero p {
        font-size: 0.85rem;
    }

    .section-dark h3, .section-light h3 {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .section-dark h3::after, .section-light h3::after {
        bottom: -10px;
        width: 60px;
        height: 3px;
    }

    .service-item, .why-choose-grid ul, .client-testimonial-item {
        padding: 25px;
    }

    .service-item h4 {
        font-size: 1.3rem;
    }

    .why-choose-grid ul li {
        font-size: 0.9rem;
    }

    .client-testimonial-item img {
        width: 80px;
        height: 80px;
    }

    .client-testimonial-item p {
        font-size: 0.85rem;
    }

    #contato h2 {
        font-size: 1.8rem;
    }

    #contato p {
        font-size: 0.85rem;
    }

    .btn-whatsapp {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .social-icon {
        font-size: 1rem;
    }

    .social-icon i {
        font-size: 1.2rem;
    }
}

/* Scroll Reveal Animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    transition-delay: 0.1s; /* Pequeno atraso para cada seção */
}

.scroll-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

#contato h2 {
    font-size: 3rem;
    margin-bottom: 30px;
    color: var(--white);
}

#contato p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: var(--gray);
}

#contato .btn-whatsapp {
    margin-top: 20px;
    margin-bottom: 40px; /* Adicionar espaçamento abaixo do botão */
}

.social-links {
    margin-top: 20px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    color: var(--white);
    font-size: 1.2rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-icon i {
    margin-right: 10px;
    font-size: 1.5rem;
    color: var(--light-blue); /* Cor do ícone do Instagram */
}

.social-icon:hover {
    color: var(--light-blue);
}

/* Estilos para a seção de Clientes Satisfeitos */
.section-description {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.client-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.client-testimonial-item {
    background: var(--dark-blue);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.client-testimonial-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.client-testimonial-item img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid var(--accent-color);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
}

.client-testimonial-item p {
    font-style: italic;
    color: var(--white);
    font-size: 1rem;
    line-height: 1.6;
}

/* Responsividade para Clientes Satisfeitos */
@media (max-width: 768px) {
    .client-testimonials-grid {
        grid-template-columns: 1fr;
    }

    .section-description {
        font-size: 1rem;
    }

    .client-testimonial-item img {
        width: 100px;
        height: 100px;
    }
}