/* Reset e Variáveis */
:root {
    --color-primary: #0066CC;
    --color-secondary: #00A3E0;
    --color-dark: #1A1A1A;
    --color-gray: #666666;
    --color-light-gray: #F5F5F5;
    --color-white: #FFFFFF;
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    color: var(--color-dark);
    line-height: 1.6;
    background: var(--color-white);
    overflow-x: hidden;
}

/* Canvas de Neve - Fixo em toda página */
#snow-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    /* Mais transparente */
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 100;
    transition: var(--transition);
    /* transform: translateY(-100%); Removed to make visible start */
}

/* .header.visible removed */

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

.logo img {
    height: 40px;
}

.nav {
    display: flex;
    gap: 32px;
}

.nav a {
    color: var(--color-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.btn-header {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.btn-header:hover {
    background: var(--color-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* background: linear-gradient... removido, agora via style inline/css */
    z-index: 2;
    position: relative;
    /* Garantir posicionamento do overlay */
}

/* Canvas removido, substituído por overlay */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    /* Aumentado para 0.7 para melhor leitura */
    z-index: 1;
}

#hero-canvas {
    display: none;
    /* Garantir que suma se ainda existir */
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--color-white);
    max-width: 800px;
    padding: 0 24px;
}

.hero-title {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -1px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    /* Sombra forte */
}

.hero-subtitle {
    font-size: clamp(18px, 2.5vw, 24px);
    margin-bottom: 40px;
    opacity: 1;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
    /* Sombra forte */
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 16px 32px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    display: inline-block;
}

.btn-primary {
    background: var(--color-white);
    color: var(--color-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--color-primary);
    /* Sólido igual ao primary */
    color: var(--color-white);
    color: var(--color-white);
    border: 2px solid var(--color-white);
}

.btn-secondary:hover {
    background: var(--color-white);
    color: var(--color-primary);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--color-white);
    z-index: 3;
}

.scroll-indicator span {
    display: block;
    font-size: 14px;
    margin-bottom: 8px;
    opacity: 0.8;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-left: 2px solid var(--color-white);
    border-bottom: 2px solid var(--color-white);
    transform: rotate(-45deg);
    margin: 0 auto;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: rotate(-45deg) translateY(0);
    }

    40% {
        transform: rotate(-45deg) translateY(10px);
    }

    60% {
        transform: rotate(-45deg) translateY(5px);
    }
}

/* Sections */
.section {
    position: relative;
    padding: 100px 0;
    z-index: 2;
    background: var(--color-white);
}

.section:nth-child(even) {
    background: var(--color-light-gray);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    color: var(--color-primary);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.section-header h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    color: var(--color-dark);
}

/* Quem Somos */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.content-text .lead {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 24px;
    color: var(--color-dark);
}

.content-text p {
    color: var(--color-gray);
    margin-bottom: 16px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 40px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.stat-label {
    display: block;
    font-size: 14px;
    color: var(--color-gray);
}

.content-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

/* Serviços */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.service-card {
    background: var(--color-white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    font-size: 48px;
    margin-bottom: 24px;
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--color-dark);
}

.service-card p {
    color: var(--color-gray);
    margin-bottom: 24px;
}

.service-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--color-secondary);
}

/* Processo */
.processo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-bottom: 64px;
}

.processo-step {
    text-align: center;
    padding: 32px;
}

.step-number {
    display: inline-block;
    width: 60px;
    height: 60px;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 50%;
    font-size: 24px;
    font-weight: 700;
    line-height: 60px;
    margin-bottom: 24px;
}

.processo-step h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.processo-step p {
    color: var(--color-gray);
}

.processo-image {
    text-align: center;
}

.processo-image img {
    max-width: 600px;
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

/* Depoimentos */
.depoimentos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.depoimento-card {
    background: var(--color-white);
    padding: 32px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.rating {
    color: #FFB800;
    font-size: 20px;
    margin-bottom: 16px;
}

.depoimento-text {
    color: var(--color-gray);
    margin-bottom: 24px;
    font-style: italic;
}

.depoimento-autor strong {
    display: block;
    color: var(--color-dark);
    margin-bottom: 4px;
}

.depoimento-autor span {
    font-size: 14px;
    color: var(--color-gray);
}

/* Contato */
.contato-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 64px;
}

.contato-info h3 {
    font-size: 24px;
    margin-bottom: 32px;
}

.info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.info-icon {
    font-size: 24px;
}

.info-item strong {
    display: block;
    margin-bottom: 4px;
}

.info-item a {
    color: var(--color-primary);
    text-decoration: none;
}

.info-item a:hover {
    text-decoration: underline;
}

.contato-form {
    background: var(--color-white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 24px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid #E0E0E0;
    border-radius: 4px;
    font-family: var(--font-primary);
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.btn-submit {
    width: 100%;
    padding: 16px;
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover {
    background: var(--color-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Footer */
.footer {
    background: var(--color-dark);
    color: var(--color-white);
    padding: 40px 0;
    text-align: center;
    position: relative;
    z-index: 2;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--color-white);
    text-decoration: none;
    font-size: 14px;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
}

/* Responsivo */
@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .content-grid,
    .contato-grid,
    .processo-grid {
        grid-template-columns: 1fr;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .hero-cta {
        flex-direction: column;
        padding: 0 20px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }

    .header .container {
        justify-content: space-between;
    }

    .btn-header {
        font-size: 12px;
        padding: 10px 16px;
    }
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transition: transform 0.3s ease;
    /* animation: pulse 2s infinite; Removido para simplificar */
    text-decoration: none;
}

.whatsapp-btn:hover {
    animation: none;
    transform: scale(1.1);
}

.whatsapp-btn svg {
    width: 32px;
    height: 32px;
    fill: white;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Redes Sociais no Footer */
.footer-social {
    display: flex;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.footer-social a {
    color: var(--color-light);
    font-size: 1.5rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

.footer-social a:hover {
    color: var(--color-white);
    background: var(--color-primary);
    transform: translateY(-3px);
}

/* 3D Image Effect */
.content-image,
.processo-image {
    perspective: 1000px;
}

.content-image img,
.processo-image img {
    transition: transform 0.1s;
    transform-style: preserve-3d;
    box-shadow: var(--shadow-lg);
}