/* Variáveis de Cores */
:root {
    --primary-blue: #00BFFF; /* Azul Ciano - mais claro */
    --secondary-blue: #87CEEB; /* Azul Céu - mais claro */
    --dark-blue: #0047AB; /* Azul Escuro - mais intenso */
    --black: #000000;
    --white: #FFFFFF;
    --light-gray: #F0F0F0; /* Branco Suave */
    --text-color: #333333;
    --heading-color: #1a1a1a;
    --gradient-hero: linear-gradient(135deg, var(--dark-blue) 0%, var(--black) 100%);
    --gradient-button: linear-gradient(45deg, var(--primary-blue), var(--secondary-blue));
}

/* Reset Básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    scroll-behavior: smooth;
    overflow-x: hidden; /* Evita rolagem horizontal em animações */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: var(--black);
    color: var(--white);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, padding 0.3s ease;
}

.header.scrolled {
    background-color: rgba(0, 0, 0, 0.9); /* Fundo semi-transparente ao rolar */
    padding: 10px 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header .logo img {
    height: 40px; /* Ajuste conforme o tamanho do seu logo */
    transition: transform 0.3s ease;
}

.header .logo img:hover {
    transform: scale(1.05);
}

.nav-menu ul {
    list-style: none;
    display: flex;
}

.nav-menu ul li {
    margin-left: 30px;
}

.nav-menu ul li a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: color 0.3s ease;
}

.nav-menu ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-blue);
    transition: width 0.3s ease;
}

.nav-menu ul li a:hover::after {
    width: 100%;
}

.nav-menu ul li a:hover {
    color: var(--primary-blue);
}

.btn-cta-nav {
    background: var(--gradient-button);
    padding: 8px 15px;
    border-radius: 5px;
    color: var(--black) !important;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-cta-nav:hover {
    background: var(--primary-blue); /* Cor sólida no hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.hamburger-menu {
    display: none; /* Escondido por padrão em desktop */
    background: none;
    border: none;
    color: var(--white);
    font-size: 28px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.hamburger-menu:hover {
    transform: scale(1.1);
}

/* Hero Section */
.hero-section {
    background: var(--gradient-hero);
    color: var(--white);
    text-align: center;
    padding: 150px 20px 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    position: relative;
    overflow: hidden;
}

/* Estilo para o container das partículas */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1; /* Abaixo do conteúdo principal */
    background-color: transparent; /* O fundo real é o gradiente do hero-section */
}

.hero-section .container {
    position: relative;
    z-index: 2; /* Acima das partículas */
}

.hero-section h1 {
    font-size: 3.5em; /* Aumenta o tamanho */
    margin-bottom: 20px;
    font-weight: 800; /* Mais negrito */
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-section p {
    font-size: 1.4em; /* Aumenta o tamanho */
    margin-bottom: 40px;
    max-width: 800px; /* Aumenta a largura máxima */
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    opacity: 0.9;
}

.btn-primary {
    background: var(--gradient-button);
    color: var(--black);
    padding: 18px 35px; /* Aumenta o padding */
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.2em; /* Aumenta o tamanho da fonte */
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transform: skewX(-30deg);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

/* Seções Gerais */
section {
    padding: 100px 0; /* Aumenta o padding */
    text-align: center;
    position: relative;
    overflow: hidden;
}

section:nth-of-type(even) {
    background-color: var(--light-gray);
}

h2 {
    font-size: 3em; /* Aumenta o tamanho */
    color: var(--heading-color);
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
}

section .subtitle {
    font-size: 1.3em;
    color: var(--text-color);
    margin-bottom: 60px; /* Aumenta a margem */
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

/* Serviços Section */
.servicos-section {
    background-color: var(--white);
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.servico-item {
    background-color: var(--light-gray);
    padding: 35px; /* Aumenta o padding */
    border-radius: 15px; /* Mais arredondado */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08); /* Sombra mais pronunciada */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    text-align: left;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.servico-item:hover {
    transform: translateY(-15px) scale(1.02); /* Efeito de levitar mais acentuado */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    background-color: var(--white);
}

.servico-item .icon-servico {
    font-size: 3.5em; /* Aumenta o tamanho do ícone */
    color: var(--dark-blue);
    margin-bottom: 25px;
    display: block;
    transition: color 0.3s ease;
}

.servico-item:hover .icon-servico {
    color: var(--primary-blue);
}

.servico-item h3 {
    font-size: 1.6em; /* Aumenta o tamanho da fonte */
    color: var(--heading-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.servico-item p {
    font-size: 1.05em;
    color: var(--text-color);
    line-height: 1.7;
}

.destaque-tempo {
    font-size: 1.5em;
    font-weight: 700;
    margin-top: 80px; /* Aumenta a margem */
    color: var(--dark-blue);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

/* Depoimentos / Dores Section */
.depoimentos-section {
    background: var(--gradient-hero); /* Reutiliza o gradiente do hero */
    color: var(--white);
    position: relative;
}

/* Opcional: Manter um fundo sutil para a seção de depoimentos se desejar */
.depoimentos-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg width="100%" height="100%" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid-dark" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 L 0 10" fill="none" stroke="%23002060" stroke-width="0.1" /></pattern></defs><rect width="100%" height="100%" fill="url(%23grid-dark)" /></svg>') repeat;
    opacity: 0.2;
    z-index: 1;
    animation: backgroundPan 25s linear infinite reverse; /* Animação de fundo reversa */
}

.depoimentos-section .container {
    position: relative;
    z-index: 2;
}

.depoimentos-section h2 {
    color: var(--white);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.dores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.dor-item {
    background-color: rgba(255, 255, 255, 0.15); /* Mais visível */
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.dor-item:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.25);
}

.dor-item .icon-dor {
    font-size: 3.5em;
    color: var(--primary-blue);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.dor-item:hover .icon-dor {
    transform: scale(1.1);
}

.dor-item h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--white);
}

.dor-item p {
    font-size: 1.05em;
    opacity: 0.9;
}

.solucao-dores {
    font-size: 1.6em;
    font-weight: 700;
    margin-top: 80px;
    color: var(--primary-blue);
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
}

/* Sobre Section */
.sobre-section {
    background-color: var(--white);
}

.sobre-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 60px; /* Aumenta o espaçamento */
    margin-top: 50px;
    text-align: left;
}

.sobre-text {
    flex: 1;
    min-width: 300px;
}

.sobre-text h3 {
    font-size: 2em;
    color: var(--heading-color);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 800;
}

.sobre-text p {
    margin-bottom: 20px;
    font-size: 1.1em;
    line-height: 1.7;
}

.sobre-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.sobre-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease;
}

.sobre-image img:hover {
    transform: scale(1.03);
}

.btn-secondary {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-secondary:hover {
    background-color: var(--primary-blue);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: var(--white);
    border-radius: 50%; /* Usar 50% para garantir círculo perfeito */
    text-align: center;
    font-size: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Footer */
.footer {
    background-color: var(--black);
    color: var(--white);
    padding: 60px 0; /* Aumenta o padding */
    text-align: left;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px; /* Aumenta o espaçamento */
}

.footer-logo img {
    height: 45px; /* Aumenta o tamanho do logo */
    margin-bottom: 15px;
}

.footer-logo p {
    font-size: 0.95em;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links, .footer-social {
    flex: 1;
    min-width: 180px;
}

.footer-links h3, .footer-social h3 {
    font-size: 1.3em;
    margin-bottom: 20px;
    color: var(--primary-blue);
    font-weight: 700;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--primary-blue);
}

.footer-social a {
    color: var(--white);
    font-size: 2em; /* Aumenta o tamanho dos ícones */
    margin-right: 25px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-social a:hover {
    color: var(--primary-blue);
    transform: translateY(-3px);
}

/* Mobile Navigation (Hidden by default) */
.mobile-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 75%; /* Mais largo */
    max-width: 300px;
    height: 100%;
    background-color: var(--dark-blue);
    padding-top: 80px;
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.4);
    transition: left 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55); /* Efeito de mola */
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mobile-nav.active {
    left: 0;
}

.mobile-nav ul {
    list-style: none;
    width: 100%;
    text-align: center;
}

.mobile-nav ul li {
    margin-bottom: 30px; /* Mais espaçamento */
}

.mobile-nav ul li a {
    color: var(--white);
    text-decoration: none;
    font-size: 1.5em; /* Aumenta a fonte */
    font-weight: 700;
    display: block;
    padding: 12px 0;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.mobile-nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--primary-blue);
}

.close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 32px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.close-menu:hover {
    transform: rotate(90deg);
}

/* Overlay para quando o menu mobile estiver aberto */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Mais escuro */
    z-index: 998;
    display: none;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.overlay.active {
    display: block;
    opacity: 1;
}

/* Animações de entrada */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInAnimation 1s ease-out forwards;
}

.fade-in.delay-1 { animation-delay: 0.3s; }
.fade-in.delay-2 { animation-delay: 0.6s; }
.fade-in.delay-3 { animation-delay: 0.9s; }

@keyframes fadeInAnimation {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animações ao rolar */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.delay-3 { transition-delay: 0.3s; }


/* Responsividade (Mobile-first) */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hamburger-menu {
        display: block;
    }

    .hero-section {
        padding: 120px 20px 80px;
        min-height: 70vh;
    }

    .hero-section h1 {
        font-size: 2.8em;
    }

    .hero-section p {
        font-size: 1.2em;
    }

    h2 {
        font-size: 2.2em;
    }

    .servicos-grid, .dores-grid {
        grid-template-columns: 1fr;
    }

    .servico-item, .dor-item {
        padding: 25px;
    }

    .sobre-content {
        flex-direction: column;
        text-align: center;
    }

    .sobre-text, .sobre-image {
        min-width: unset;
        width: 100%;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links ul {
        padding-left: 0;
    }

    .footer-social a {
        margin: 0 10px;
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 2.2em;
    }

    .hero-section p {
        font-size: 1em;
    }

    .btn-primary, .btn-secondary {
        padding: 12px 25px;
        font-size: 1em;
    }

    h2 {
        font-size: 1.8em;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }

    .mobile-nav {
        width: 90%;
    }
}