/* --- VARIÁVEIS E CONFIGURAÇÕES GERAIS --- */
:root {
    /* Paleta: Azul Royal (Confiança), Turquesa (Saúde), Branco e Cinza */
    --primary-blue: #0056b3;
    --dark-blue: #003366;
    --accent-cyan: #00c4cc;
    --light-bg: #f8fbfd;
    --white: #ffffff;
    --text-dark: #333333;
    --text-gray: #666666;

    --shadow: 0 10px 30px rgba(0, 86, 179, 0.1);
    --card-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    --radius: 10px;
    --gradient: linear-gradient(135deg, var(--primary-blue), var(--accent-cyan));
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    text-decoration: none;
    list-style: none;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--dark-blue);
}

/* --- UTILITÁRIOS --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

/* Títulos de Seção */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 50%;
    height: 4px;
    background: var(--accent-cyan);
    margin: 10px auto 0;
    border-radius: 2px;
}

.section-header p {
    color: var(--text-gray);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Botões */
.btn {
    display: inline-block;
    padding: 14px 40px;
    background: var(--gradient);
    color: var(--white);
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 196, 204, 0.3);
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 196, 204, 0.4);
    filter: brightness(1.1);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    box-shadow: none;
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-blue);
}

/* --- HEADER --- */
header {
    background: var(--white);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
}

.logo span {
    color: var(--accent-cyan);
}

.logo i {
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover {
    color: var(--accent-cyan);
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary-blue);
}

/* --- HERO SECTION --- */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7)), 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;
    position: relative;
    padding-top: 80px;
}

/* Elemento gráfico lateral */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: var(--primary-blue);
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
    opacity: 0.9;
    z-index: 1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero-content {
    padding-right: 50px;
    animation: slideRight 1s ease-out;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--dark-blue);
}

.hero h1 span {
    color: var(--accent-cyan);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 35px;
    color: var(--text-gray);
}

.hero-img-box {
    display: flex;
    justify-content: center;
    animation: slideLeft 1s ease-out;
}

.hero-img-box img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: -20px 20px 0 rgba(0, 196, 204, 0.2);
    border: 5px solid var(--white);
}

/* --- INFO BAR --- */
.info-bar-container {
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.info-bar {
    background: var(--white);
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    padding: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.info-icon {
    width: 60px;
    height: 60px;
    background: var(--light-bg);
    color: var(--accent-cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s;
}

.info-item:hover .info-icon {
    background: var(--accent-cyan);
    color: var(--white);
}

.info-text h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.info-text p {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin: 0;
}

/* --- SERVIÇOS --- */
.services {
    background-color: var(--light-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    text-align: center;
    border-bottom: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--accent-cyan);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: #eefbff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary-blue);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-gray);
}

/* --- SOBRE --- */
.about {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-img {
    position: relative;
}

.about-img img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.about-img::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    background: var(--accent-cyan);
    /* Pontos decorativos simulados */
    mask-image: radial-gradient(#000 2px, transparent 2px);
    mask-size: 20px 20px;
    z-index: -1;
    opacity: 0.5;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
}

.about-content p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: var(--text-gray);
}

.check-list {
    margin-top: 20px;
}

.check-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    font-weight: 600;
    color: var(--dark-blue);
}

.check-list i {
    color: var(--accent-cyan);
    margin-right: 15px;
    background: #eefbff;
    padding: 5px;
    border-radius: 50%;
}

/* --- LOCALIZAÇÃO & CONTATO --- */
.contact {
    background: linear-gradient(rgba(0, 51, 102, 0.95), rgba(0, 51, 102, 0.95)), url('https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?q=80&w=2053&auto=format&fit=crop');
    background-size: cover;
    background-attachment: fixed;
    color: var(--white);
}

.contact h2 {
    color: var(--white);
}

.contact p {
    color: #d0e1f9;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.contact-info {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-item {
    display: flex;
    margin-bottom: 30px;
    align-items: flex-start;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--accent-cyan);
    margin-right: 20px;
    margin-top: 5px;
}

.contact-item h5 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    font-family: 'Poppins', sans-serif;
}

.map-wrapper {
    height: 400px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border: 5px solid rgba(255, 255, 255, 0.1);
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* --- FOOTER --- */
footer {
    background: #002244;
    color: #8da2b5;
    padding: 60px 0 20px;
    text-align: center;
    font-size: 0.9rem;
}

.footer-logo {
    font-size: 1.8rem;
    color: var(--white);
    font-weight: 700;
    margin-bottom: 10px;
    display: inline-block;
    font-family: 'Poppins', sans-serif;
}

.footer-logo span {
    color: var(--accent-cyan);
}

.footer-cnpj {
    font-family: monospace;
    color: #6a859c;
    margin-bottom: 30px;
    display: block;
}

.social-icons a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
    transition: all 0.3s;
}

.social-icons a:hover {
    background: var(--accent-cyan);
    transform: translateY(-3px);
}

.copyright {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- WHATSAPP FIXO --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 2000;
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 992px) {
    .hero::before {
        width: 100%;
        height: 40%;
        top: auto;
        bottom: 0;
        clip-path: none;
        opacity: 0.05;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 50px;
    }

    .hero-img-box {
        display: none;
    }

    /* Ocultar imagem no tablet/mobile para focar no texto */

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-img {
        order: -1;
        margin-bottom: 30px;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .navbar .nav-links {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        align-items: center;
        padding: 30px 0;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
        transform: translateY(-150%);
        transition: transform 0.4s ease;
    }

    .navbar .nav-links.active {
        transform: translateY(0);
    }

    .hamburger {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .section-padding {
        padding: 60px 0;
    }
}

/* Animações */
@keyframes slideRight {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideLeft {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}