/* --- VARIÁVEIS DE COR --- */
:root {
    --bg-color: #050505;
    --bg-secondary: #0a0a0a;
    --bg-card: #151515;
    --text-light: #ffffff;
    --text-muted: #a0a0a0;
    --accent-color: #f6ad3c; 
    --accent-hover: #e0992a;
}

/* --- RESET E ESTILOS GERAIS --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

/* --- ANIMAÇÕES DE ROLAGEM (REVEAL) --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- CABEÇALHO DINÂMICO --- */
header {
    background-color: transparent; 
    padding: 25px 5%; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid transparent; 
    transition: all 0.4s ease; 
}

header.scrolled {
    padding: 10px 5%;
    background-color: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(10px); 
    border-bottom: 1px solid #222;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
}

.logo-container img {
    height: 110px; 
    transition: all 0.4s ease;
}

header.scrolled .logo-container img {
    height: 60px; 
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav ul li a {
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--accent-color);
}

.btn-agendar {
    background-color: var(--accent-color);
    color: var(--bg-color);
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(246, 173, 60, 0.2);
}

.btn-agendar:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(246, 173, 60, 0.4);
}

/* --- HERO SECTION COM MARCA D'ÁGUA --- */
.hero {
    position: relative;
    margin-top: 0;
    padding: 200px 5% 150px;
    text-align: center;
    background: radial-gradient(circle at center, #1a1a1a 0%, #050505 100%);
    border-bottom: 1px solid #111;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 700px;
    height: 100%;
    background-image: url('img/logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.05; 
    z-index: 0;
    pointer-events: none; 
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--text-light);
    font-weight: 700;
}

.hero h1 span {
    color: var(--accent-color);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 40px;
    font-weight: 300;
}

.hero .btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #25D366;
    color: #fff;
    padding: 15px 35px;
    font-size: 1.2rem;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.2);
}

.hero .btn-hero:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
}

/* --- SERVIÇOS --- */
.services {
    padding: 100px 5%;
    background-color: var(--bg-secondary);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title span {
    color: var(--accent-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background-color: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #222;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.service-card:hover {
    transform: translateY(-15px);
    border-color: var(--accent-color);
    box-shadow: 0 15px 40px rgba(246, 173, 60, 0.15);
}

.img-container {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.img-container::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, transparent, #151515);
}

.service-card:hover .img-container img {
    transform: scale(1.1);
}

.card-content {
    padding: 30px 25px;
    position: relative;
}

.card-content i {
    font-size: 2rem;
    color: var(--accent-color);
    position: absolute;
    top: -25px;
    right: 25px;
    background: var(--bg-card);
    padding: 10px;
    border-radius: 50%;
    border: 1px solid #222;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #fff;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --- CONTATO E MAPA --- */
.contact {
    padding: 100px 5%;
    background-color: var(--bg-color);
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-details {
    flex: 1;
    min-width: 300px;
    background: var(--bg-secondary);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #222;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-top: 5px;
}

.info-text strong {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #fff;
}

.info-text span {
    color: var(--text-muted);
    font-size: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    margin-top: 10px;
    color: var(--bg-color);
    background-color: var(--accent-color);
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 700;
    transition: all 0.3s;
}

.social-link:hover {
    background-color: var(--text-light);
    color: var(--bg-color);
    transform: translateY(-3px);
}

.map-container {
    flex: 1;
    min-width: 300px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #333;
    box-shadow: 0 15px 40px rgba(0,0,0,0.8);
    height: 400px;
}

footer {
    background-color: #020202;
    text-align: center;
    padding: 25px;
    font-size: 0.9rem;
    color: #555;
    border-top: 1px solid #111;
}

/* --- BOTÃO FLUTUANTE WHATSAPP --- */
.float-whatsapp {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 0px 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.float-whatsapp:hover {
    transform: scale(1.1);
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 768px) {
    nav ul {
        display: none;
    }
    .hero {
        padding: 180px 5% 100px;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .logo-container img {
        height: 80px; 
    }
    header.scrolled .logo-container img {
        height: 50px;
    }
    .contact-container {
        flex-direction: column;
    }
    .map-container {
        width: 100%;
        height: 300px;
    }
    .float-whatsapp {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 30px;
    }
}