/* IMPEDE O VAZAMENTO PARA OS LADOS */
html, body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Aplica o box-sizing em tudo para garantir cálculos corretos de largura */
*, *:before, *:after {
    box-sizing: inherit;
}

/* RESET DE ESTILOS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* VARIÁVEIS */
:root {
    --azul-escuro-bg: #081726;   /* Fundo escuro profundo */
    --azul-principal: #0073a8;   /* Azul para gradientes e títulos */
    --azul-secundario: #00a2e8;  /* Ciano vibrante */
    --azul-claro: #8ce1ff;       /* Tom claro dos brilhos */

    --verde: #74cb11;            /* Verde limão */

    --laranja: #f25835;          /* Laranja coral */
    --laranja-hover: #d94423;    /* Tom de hover do botão */

    --cinza-bg: #f4f7f9;
    --cinza-card: #ffffff;
    --cinza-texto: #333333;
}

/* BASE */
body {
    font-family: 'Poppins', sans-serif;
    color: var(--cinza-texto);
    background-color: var(--cinza-bg);
}

h1, h2, h3 {
    font-weight: 600;
}

h2 {
    color: var(--azul-principal);
}

h2::after {
    content: "";
    display: block;
    width: 50px;
    height: 4px;
    background: var(--verde);
    margin: 10px auto;
    border-radius: 5px;
}

p {
    font-weight: 300;
}

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

section {
    padding: 80px 0;
}

/* HEADER / NAVEGAÇÃO */
.header {
    background: linear-gradient(90deg, var(--azul-escuro-bg), var(--azul-principal));
    padding: 60px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.header.scrolled {
    padding: 8px 0;
    background: rgba(8, 23, 38, 0.95);
    backdrop-filter: blur(10px);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo span {
    color: white;
    font-weight: 600;
}

.logo-icon {
    font-size: 28px;
}

.logo img {
    height: 200px;
    transition: all 0.3s ease;
    width: auto;
    display: block;
}

.header.scrolled .logo img {
    height: 150px;
}

.logo h1 {
    font-size: 22px;
    color: white;
}

/* MENU DE NAVEGAÇÃO */
.nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav a {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: white;
    text-decoration: none;
    transition: 0.3s;
    position: relative;
    padding-bottom: 5px;
}

.nav a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    left: 0;
    bottom: 0;
    background: var(--laranja);
    transition: 0.3s;
}

.header.scrolled .nav a {
    font-size: 13px;
}

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

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

/* SEÇÃO HERO (INICIAL) */
.hero {
    background: linear-gradient(135deg, var(--azul-escuro-bg), var(--azul-principal));
    color: white;
    text-align: center;
    padding: 100px 0;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 40px;
}

.hero-buttons {
    margin-bottom: 50px;
}

.btn {
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: var(--laranja);
    color: white;
    box-shadow: 0 5px 15px rgba(242, 88, 53, 0.4);
}

.btn-primary:hover {
    background: var(--laranja-hover);
    box-shadow: 0 5px 20px rgba(116, 203, 17, 0.4);
    transform: translateY(-3px);
}

.btn-secondary {
    color: var(--laranja);
}

/* CARD DE ESTATÍSTICAS */
.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat {
    background: rgba(255,255,255,0.1);
    padding: 25px;
    border-radius: 8px;
}

.stat-number {
    font-size: 36px;
    color: var(--laranja);
    font-weight: bold;
}

.stat-label {
    font-size: 14px;
}

/* SEÇÃO DE SERVIÇOS */
.servicos {
    background: white;
}

.servicos h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.servico-card {
    background: var(--cinza-card);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.servico-card:hover {
    transform: translateY(-6px);
    border-bottom: 4px solid var(--verde);
}

.servico-icon {
    color: var(--verde);
    font-size: 40px;
    margin-bottom: 15px;
}

.servico-card h3 {
    margin-bottom: 10px;
}

.servico-card p {
    font-size: 14px;
    color: #666;
}

/* GALERIA DE ANTES E DEPOIS*/
.galeria {
    text-align: center;
}

.galeria-grid-empilhada {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    max-width: 450px; 
    margin: 0 auto;
}

.galeria-item {
    width: 100%;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    overflow: hidden;
}

.galeria-item img {
    width: 100%;       
    height: auto;      
    display: block;    
}

/* SEÇÃO SOBRE */
.sobre-conteudo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.sobre-lista {
    list-style: none;
}

.sobre-lista li {
    margin-bottom: 10px;
    color: var(--cinza-texto);
}

.sobre-lista li::before {
    content: "✔";
    color: var(--verde);
    margin-right: 8px;
}

.sobre-cards {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sobre-card {
    background: white;
    padding: 20px;
    border-left: 4px solid var(--laranja);
    border-radius: 8px;
}

/* SEÇÃO DE DEPOIMENTOS */
.depoimentos {
    text-align: center;
}

.depoimentos-subtitulo {
    margin-bottom: 40px;
    color: #666;
}

.depoimentos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.depoimento-card {
    background: white;
    padding: 25px;
    border-left: 5px solid var(--laranja);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.stars {
    color: var(--laranja);
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.depoimento-texto {
    font-style: italic;
    margin-bottom: 15px;
}

.depoimento-autor span {
    display: block;
    font-size: 13px;
    color: #777;
}

/* CARD DO GOOGLE E BOTÃO DE COMENTÁRIOS */
.google-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-left: 5px solid #4285f4; 
}

.google-logo {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
    font-family: Arial, sans-serif;
}

.google-logo span:nth-child(1) { color: #4285f4; }
.google-logo span:nth-child(2) { color: #ea4335; }
.google-logo span:nth-child(3) { color: #fbbc05; }
.google-logo span:nth-child(4) { color: #4285f4; }
.google-logo span:nth-child(5) { color: #34a853; }
.google-logo span:nth-child(6) { color: #ea4335; }

.google-rating-text {
    font-weight: 600;
    color: #555;
    margin: 5px 0 15px;
}

.btn-google {
    display: inline-block;
    background-color: #4285f4;
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(66, 133, 244, 0.3);
}

.btn-google:hover {
    background-color: #2b6cb0;
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(66, 133, 244, 0.4);
}

/* CONTATO */
.contato {
    text-align: center;
}

.contato-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contato-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contato-form input,
.contato-form textarea {
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.contato-form input:focus,
.contato-form textarea:focus {
    border-color: var(--azul-principal);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 115, 168, 0.2);
}

.contato-info {
    background: rgb(255, 255, 255);
    padding: 25px;
    border-radius: 8px;
}

.contato-destaque {
    margin-top: 20px;
    background: rgba(116, 203, 17, 0.15);
    border-left: 4px solid var(--verde);
}

/* RODAPÉ (FOOTER) */
.footer {
    background: linear-gradient(135deg, var(--azul-escuro-bg), var(--azul-principal));
    color: white;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding: 60px 20px;
    text-align: center;
}

.footer a {
    color: #ccc;
}

.footer a:hover {
    color: var(--laranja);
}

.footer-bottom {
    text-align: center;
    padding: 20px;
    font-size: 13px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
}

.footer-links h4 {
    margin-bottom: 15px;
}

.footer-links a {
    text-decoration: none;
    border-bottom: 2px solid transparent;
    padding-bottom: 2px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    border-bottom: 2px solid var(--laranja);
    color: var(--laranja);
    transform: translateX(5px);
}

.footer-content div {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer p {
    color: #bbb;
    font-size: 14px;
    line-height: 1.6;
}

.footer-links a::before {
    content: "•";
    color: var(--verde);
    margin-right: 6px;
    opacity: 0.7;
}

/* ESTILO DO BOTÃO FLUTUANTE DO WHATSAPP */
.whatsapp-float {
    position: fixed;
    bottom: 25px;            /* Distância do fundo da tela */
    right: 25px;             /* Distância da direita da tela */
    width: 60px;
    height: 60px;
    background-color: #25d366; /* Verde oficial do WhatsApp */
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 9999;           /* Garante que fique por cima de tudo */
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Tamanho do ícone dentro da bolinha */
.whatsapp-icon {
    width: 35px;
    height: 35px;
}

/* Efeito ao passar o mouse (no computador) */
.whatsapp-float:hover {
    transform: scale(1.1); /* Aumenta levemente o tamanho */
    background-color: #20ba5a;
}

/*DESIGN RESPONSIVO PARA CELULAR (Telas até 768px) */
@media (max-width: 768px) {

    /* Ajuste da bolinha do WhatsApp em telas menores */
    .whatsapp-float {
        width: 50px !important;
        height: 50px !important;
        bottom: 20px !important;
        right: 20px !important;
    }
    
    .whatsapp-icon {
        width: 28px !important;
        height: 28px !important;
    }
}

    /* 1. HEADER (TOPO AZUL) & LOGO */
    .header {
        background-color: #003049 !important; /* Fundo azul escuro */
        background-image: none !important;
        position: relative !important;
        width: 100% !important;
    }

    .header .container {
        flex-direction: column !important;
        align-items: center !important;
        padding: 15px 10px !important;
        width: 100% !important;
        gap: 10px !important;
    }

    .logo {
        margin-right: 0 !important;
    }

    .logo img {
        height: 70px !important;    /* Controla a altura no celular */
        width: auto !important;
        max-width: 90% !important;  /* Trava para não quebrar o layout */
        object-fit: contain !important;
    }

    .nav {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 15px !important;
    }

    .nav a {
        color: #ffffff !important;   /* Texto do menu branco */
        font-size: 14px !important;
    }

    /* 2. CARTÕES DE ESTATÍSTICAS (HOME) */
    .stats,
    .estatisticas,
    .stats-grid,
    .hero-stats {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
        padding: 0 15px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .stat-card,
    .stat-item,
    .card {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 20px 15px !important;
    }

    .stat-card h3,
    .stat-number,
    .number {
        font-size: 32px !important;
    }

    /* 3. PÁGINA DE CONTATO */
    .contato-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
        width: 100% !important;
        padding: 0 15px !important;
        box-sizing: border-box !important;
    }

    .contato-form {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
    }

    .contato-form input,
    .contato-form textarea {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        font-size: 16px !important; /* Previne zoom automático no iOS */
    }

    .contato-form button {
        width: 100% !important;
        padding: 14px !important;
    }

    .contato-info {
        width: 100% !important;
        box-sizing: border-box !important;
        text-align: center !important;
    }

    .contato-info p {
        word-break: break-word !important;
    }


/* ROLAGEM SUAVE */
html {
    scroll-behavior: smooth;
}