/* =========================================
   CSS Reset & Base Styles
========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette */
    --clr-yellow: #ffe250;
    /* Elegant brand yellow */
    --clr-yellow-light: #f4e8a1;
    /* Lighter yellow for accents */
    --clr-white: #FFFFFF;
    --clr-bg-cream: #f5f2eb;
    /* Warm, smooth background */
    --clr-bg-beige: #ebe5d8;
    /* Slightly darker background for contrast */
    --clr-text-main: #3a3a3a;
    /* Elegant dark gray */
    --clr-text-light: #6b6b6b;
    /* Lighter text for secondary info */
    --clr-btn-green: #4da360;
    /* Sophisticated soft green for WhatsApp */
    --clr-btn-green-hover: #4da360;
    --clr-btn-dark: #3a3a3a;
    /* Dark location button matching text */

    /* Typography */
    --font-main: 'Outfit', sans-serif;

    /* Layout Variables */
    --container-width: 1000px;
    --border-radius-lg: 24px;
    --border-radius-md: 16px;
    --border-radius-btn: 30px;
    --transition-speed: 0.3s;
    --shadow-soft: 0px 10px 30px rgba(0, 0, 0, 0.05);
}

body {
    font-family: var(--font-main);
    background-color: var(--clr-bg-cream);
    color: var(--clr-text-main);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================
   Typography
========================================= */
h1,
h2,
h3 {
    font-weight: 600;
    line-height: 1.2;
}

/* =========================================
   Animations
========================================= */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.slide-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-up.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* =========================================
   Buttons
========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    font-size: 1.125rem;
    font-weight: 500;
    border-radius: var(--border-radius-btn);
    transition: all var(--transition-speed);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.btn svg {
    width: 22px;
    height: 22px;
    margin-right: 12px;
    fill: currentColor;
}

.btn-whatsapp {
    background-color: var(--clr-btn-green);
    color: var(--clr-white);
}

.btn-whatsapp:hover,
.btn-whatsapp:focus {
    background-color: var(--clr-btn-green-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(125, 163, 124, 0.3);
}

.btn-location {
    background: #3c10ff;
    /* amarelo */
    color: #ffffff;
    border-radius: 50px;
    transition: 0.3s;
    font-weight: 500;
}

.btn-location:hover,
.btn-location:focus {
    background-color: var(--clr-yellow);
    color: var(--clr-text-main);
    transform: translateY(-2px);
}

/* =========================================
   Header
========================================= */
.top-bar {
    background-color: var(--clr-yellow);
    /* Solid smooth yellow */
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: none;
    box-shadow: none;
}

.top-bar-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
}

.header-logo {
    max-height: 64px;
    /* Visivel sem exagero */
    width: auto;
    object-fit: contain;
}

.header-title {
    font-size: 2.5rem;
    letter-spacing: 1.5px;
    color: #ffffff;
    /* White text */
    font-weight: 500;
    /* Medium weight */
    margin: 0;
}

.header-title span {
    font-weight: 600;
    /* Semi-bold */
    color: #ffffff;
}

/* =========================================
   Hero Section
========================================= */
.hero-section {
    padding: 80px 0 60px;
}

.hero-title {
    font-size: 3.7rem;
    color: var(--clr-text-main);
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--clr-text-light);
    max-width: 700px;
    margin: 0 auto 40px;
    font-weight: 400;
}

.main-cta {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.03);
    }

    100% {
        transform: scale(1);
    }
}

/* =========================================
   Gallery Section
========================================= */
.gallery-section {
    padding: 20px 0 60px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);

}

.gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.05);

}

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

.gallery-item:hover .gallery-img {
    transform: scale(1.05);
}

/* =========================================
   Services Section
========================================= */
.services-section {
    padding: 60px 0 20px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.service-card {
    background-color: var(--clr-white);
    padding: 24px 16px;
    border-radius: var(--border-radius-md);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    /* Lighter default shadow */
    text-align: center;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed), border-color var(--transition-speed);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.02);
    text-decoration: none;
    /* Strip out anchor underline */
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    /* Clean elegant elevation */
    border-color: var(--clr-yellow);
}

.service-card>i {
    font-size: 2.2rem;
    color: var(--clr-yellow);
    margin-bottom: 16px;
    transition: color var(--transition-speed), transform var(--transition-speed);
}

.service-card:hover>i {
    transform: scale(1.1);
    /* Subtle playful interaction */
}

.service-card span {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--clr-text-main);
    transition: color 0.3s;
}

.services-title {
    font-size: 2.8rem;
    margin-bottom: 30px;
}

.cta-spacing {
    margin-top: 50px;
}

/* =========================================
   Benefits Section
========================================= */
.benefits-section {
    padding: 40px 0;
}

.benefits-card {
    background-color: var(--clr-white);
    padding: 60px 50px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-soft);
    position: relative;
    border-top: 5px solid var(--clr-yellow);
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 20px;
    color: var(--clr-text-main);
}

.section-subtitle {
    margin-bottom: 40px;
    font-size: 1.15rem;
    color: var(--clr-text-light);
}

.benefits-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 850px;
    margin: 0 auto;
}

.benefits-list li {
    display: flex;
    align-items: center;
    font-size: 1.15rem;
    background: var(--clr-bg-beige);
    padding: 16px 24px;
    border-radius: 12px;
    transition: transform var(--transition-speed);
}

.benefits-list li:hover {
    transform: translateX(5px);
    background: var(--clr-white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--clr-yellow-light);
}

.icon-check-wrapper {
    background-color: var(--clr-yellow);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    flex-shrink: 0;
}

.icon-check {
    fill: var(--clr-white);
    width: 16px;
    height: 16px;
}

.icon-check-fa {
    color: var(--clr-white);
    font-size: 1rem;
}

/* =========================================
   Clinic Section
========================================= */
.clinic-section {
    padding: 40px 0 60px;
}

.address-block {
    margin-top: 24px;
    font-size: 1.1rem;
    color: var(--clr-text-light);
    background-color: var(--clr-bg-beige);
    padding: 20px;
    border-radius: var(--border-radius-md);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* =========================================
   Footer / Final CTA
========================================= */
.footer-cta {
    background-color: var(--clr-white);
    padding: 80px 0 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.final-cta {
    margin-bottom: 60px;
}

.copyright {
    font-size: 0.9rem;
    color: var(--clr-text-light);
    opacity: 0.7;
}

/* =========================================
   Media Queries (Responsive Design)
========================================= */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

    .services-title {
        font-size: 2.2rem;
    }

    .top-bar-container {
        flex-direction: column;
        justify-content: center;
        gap: 12px;
    }

    .header-logo {
        max-height: 55px;
    }

    .header-title {
        font-size: 1.25rem;
        text-align: center;
    }

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

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

    .gallery-item {
        aspect-ratio: 16/10;
    }

    .benefits-grid,
    .benefits-list {
        grid-template-columns: 1fr;
    }

    .benefits-card {
        padding: 40px 20px;
    }

    .benefits-list li {
        font-size: 1.05rem;
    }

    .btn {
        width: 100%;
        max-width: 350px;
    }
}