/* --- RESET E VARIÁVEIS --- */
:root {
    /* Paleta Vibrante LIVEDENT */
    --primary: #0061ff;
    /* Azul Elétrico */
    --secondary: #60efff;
    /* Ciano Brilhante */
    --accent: #ff007a;
    /* Rosa choque para detalhes sutis (botões hover) */
    --dark: #1a1a2e;
    --text: #333333;
    --text-light: #f4f4f4;
    --bg-light: #f0f2f5;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.95);
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
    --shadow-soft: 0 10px 40px rgba(0, 97, 255, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    text-decoration: none;
    list-style: none;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    /* Fonte moderna geométrica */
    color: var(--text);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

/* --- TIPOGRAFIA & UTILITÁRIOS --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 90px 0;
}

h1,
h2,
h3 {
    font-weight: 700;
    line-height: 1.2;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    background: -webkit-linear-gradient(var(--primary), #0044b3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title p {
    max-width: 600px;
    margin: 0 auto;
    color: #666;
}

.btn {
    display: inline-block;
    padding: 14px 35px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 97, 255, 0.3);
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    border: none;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 97, 255, 0.5);
    background: #0056e0;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--white);
    box-shadow: none;
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

/* --- HEADER (Glassmorphism) --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: 0.3s;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    color: var(--primary);
    font-size: 2rem;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    transition: 0.3s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -5px;
    left: 0;
    background: var(--gradient);
    transition: width 0.3s;
    border-radius: 2px;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    font-size: 1.8rem;
    color: var(--primary);
    cursor: pointer;
}

/* --- HERO SECTION --- */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, rgba(0, 97, 255, 0.9), rgba(96, 239, 255, 0.8)), url('https://images.unsplash.com/photo-1629909613654-28e377c37b09?q=80&w=2068&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Alinhado à esquerda */
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}

.hero-content {
    color: var(--white);
    max-width: 650px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-left: 5%;
    /* Deslocado do centro */
    animation: slideRight 1s ease-out;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
    font-weight: 300;
}

/* --- DIFERENCIAIS (Cards Overlay) --- */
.features-container {
    margin-top: -80px;
    position: relative;
    z-index: 10;
    margin-bottom: 80px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-box {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 5px solid var(--primary);
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 97, 255, 0.2);
}

.feature-box i {
    font-size: 2.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.feature-box h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--dark);
}

/* --- SOBRE (Lado a Lado) --- */
.about {
    background: var(--white);
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-img {
    position: relative;
}

.about-img img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
}

/* Elemento decorativo */
.about-img::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    background: var(--gradient);
    border-radius: 20px;
    z-index: -1;
    opacity: 0.3;
}

.about-text h4 {
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.about-text h2 {
    font-size: 2.2rem;
    margin-bottom: 25px;
    color: var(--dark);
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.stat-item {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.stat-item h3 {
    font-size: 2rem;
    color: var(--primary);
}

/* --- SERVIÇOS (Grid Estiloso) --- */
.services {
    background: var(--bg-light);
    position: relative;
}

/* Padrão de fundo */
.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(#0061ff 0.5px, transparent 0.5px);
    background-size: 20px 20px;
    opacity: 0.05;
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
}

.card-img {
    height: 180px;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.service-card:hover .card-img img {
    transform: scale(1.1);
}

.card-content {
    padding: 25px;
    flex-grow: 1;
}

.card-content h3 {
    margin-bottom: 10px;
    color: var(--dark);
}

.card-icon {
    position: absolute;
    top: 150px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0, 97, 255, 0.3);
}

/* --- LOCALIZAÇÃO & CONTATO --- */
.location-section {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
}

.contact-info {
    background: var(--dark);
    color: var(--white);
    padding: 80px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info h2 {
    margin-bottom: 40px;
    font-size: 2rem;
}

.info-row {
    display: flex;
    margin-bottom: 35px;
    align-items: flex-start;
}

.info-row i {
    color: var(--secondary);
    font-size: 1.5rem;
    margin-right: 20px;
    margin-top: 5px;
}

.info-row h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--secondary);
}

.info-row p {
    color: #ccc;
    line-height: 1.6;
}

.map-container {
    height: 100%;
    min-height: 500px;
    position: relative;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: contrast(1.1) saturate(1.1);
}

/* --- FOOTER --- */
footer {
    background: #0b0b14;
    color: #888;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: inline-block;
}

.footer-logo span {
    color: var(--primary);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #888;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.copyright {
    text-align: center;
    border-top: 1px solid #222;
    padding-top: 20px;
    font-size: 0.85rem;
}

/* --- BOTÃO FLUTUANTE --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #1ebc57;
}

/* --- ANIMAÇÕES --- */
@keyframes slideRight {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }

    .hero-content {
        margin-left: 0;
        text-align: center;
    }

    .hero {
        justify-content: center;
        clip-path: none;
    }

    .about-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-img::after {
        display: none;
    }

    .location-section {
        grid-template-columns: 1fr;
    }

    .map-container {
        height: 400px;
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 30px 0;
        text-align: center;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: 0.4s ease;
        z-index: 999;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .hamburger {
        display: block;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .section-padding {
        padding: 60px 0;
    }

    .contact-info {
        padding: 40px 20px;
    }
}