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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Navegação */
nav {
    background: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 100px;
    width: auto;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.logo-img:hover {
    opacity: 0.9;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background: #009739;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: #009739;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
    background: rgba(0, 151, 57, 0.1);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 250px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    margin-top: 0.5rem;
    list-style: none;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    border-bottom: 1px solid #eee;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu a {
    color: #009739;
    padding: 0.8rem 1.2rem;
    display: block;
    transition: all 0.3s ease;
}

.dropdown-menu a:hover {
    background: #f5f5f5;
    color: #006b28;
}

/* Hero Section */
.hero {
    position: relative;
    background-image: url('oficial.jpg');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: white;
    padding: 120px 20px 80px;
    text-align: center;
    overflow: hidden;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 151, 57, 0.05) 0%, rgba(0, 107, 40, 0.05) 100%);
    pointer-events: none;
    z-index: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.3) 100%);
    pointer-events: none;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 10px 25px;
    border-radius: 50px;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: fadeInDown 0.8s ease;
}

.hero-badge i {
    font-size: 1.2em;
    color: #fff;
}

.hero-badge span {
    font-weight: 600;
    font-size: 0.95em;
    letter-spacing: 0.5px;
}

.hero-content h1 {
    font-size: 3.5em;
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-subtitle {
    font-size: 1.4em;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    font-weight: 400;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1em;
    font-weight: 500;
}

.hero-feature-item i {
    color: #4ade80;
    font-size: 1.2em;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    cursor: pointer;
    z-index: 2;
}

.hero-scroll i {
    font-size: 2em;
    color: rgba(255, 255, 255, 0.7);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {

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

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Botões */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button i {
    position: relative;
    z-index: 1;
}

.cta-button.primary {
    background: white;
    color: #009739;
}

.cta-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.cta-button.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-button.secondary:hover {
    background: white;
    color: #009739;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Seções */
section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

section h2 {
    text-align: center;
    font-size: 2.8em;
    margin-bottom: 1rem;
    color: #1a1a1a;
    font-weight: 800;
    position: relative;
    padding-bottom: 1rem;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #009739, #00b347);
    border-radius: 2px;
}

.services {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    padding: 80px 20px;
}

/* Grid de Serviços */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #009739, #00b347);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 45px rgba(0, 151, 57, 0.2);
    border-color: rgba(0, 151, 57, 0.2);
}

.service-card h3 {
    color: #009739;
    margin-bottom: 1rem;
    font-size: 1.6em;
    font-weight: 700;
}

.service-card p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05em;
}

.service-card a {
    color: #009739;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.service-card a:hover {
    gap: 12px;
    color: #00b347;
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.feature {
    background: white;
    text-align: center;
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 151, 57, 0.1);
    position: relative;
    overflow: hidden;
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #009739, #00b347);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature:hover::before {
    transform: scaleX(1);
}

.feature:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(0, 151, 57, 0.15);
    border-color: #009739;
}

.feature-icon {
    font-size: 3em;
    color: #009739;
    margin-bottom: 1.5rem;
    display: block;
}

.feature h3 {
    color: #009739;
    margin-bottom: 1rem;
    font-size: 1.5em;
    font-weight: 700;
}

.feature p {
    color: #666;
    line-height: 1.8;
    font-size: 1.05em;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #009739 0%, #006b28 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.page-header.hero-style {
    position: relative;
    background: linear-gradient(135deg, #009739 0%, #006b28 100%);
    padding: 120px 20px 80px;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.page-header.hero-style::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.page-header h1 {
    font-size: 3em;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.page-header p {
    font-size: 1.2em;
    position: relative;
    z-index: 1;
}

/* Sobre Video Hero */
/* Sobre Video Hero */
/* Sobre Hero */
/* Sobre Hero */
/* Sobre Hero */
.sobre-hero {
    position: relative;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sobre-hero .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('fachada.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 0;
    will-change: opacity;
}

.sobre-hero .hero-overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.8));
    z-index: 1;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.sobre-hero .hero-content {
    z-index: 2;
    position: relative;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
    width: 100%;
}

.sobre-hero::before {
    display: none;
}

/* Exam List */
.exam-list {
    max-width: 800px;
    margin: 0 auto;
}

.exam-list ul {
    list-style: none;
}

.exam-list li {
    padding: 1rem;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.exam-list li:hover {
    background: #f5f5f5;
    padding-left: 1.5rem;
}

.exam-list li:before {
    content: "✓ ";
    color: #009739;
    font-weight: bold;
    margin-right: 10px;
}

/* Service Detail Claymorphism Grid */
.services-detailed {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    padding: 4rem 20px;
}

.service-detail {
    background: #f8f9fa; /* Clay Base */
    padding: 2.5rem 2rem;
    border-radius: 30px; /* Pillow-like rounded corners */
    border: none;
    /* Soft Double shadow for Claymorphism: External Dropped + Internal Highlights */
    box-shadow: 
        15px 15px 30px rgba(0, 151, 57, 0.08),
        -15px -15px 30px rgba(255, 255, 255, 1),
        inset -8px -8px 16px rgba(0, 151, 57, 0.04),
        inset 8px 8px 16px rgba(255, 255, 255, 1);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden; /* Prevent content overflowing boundaries */
}

.service-detail:hover {
    transform: translateY(-8px);
    /* Darker shadows on hover for deep 3D effect */
    box-shadow: 
        20px 20px 40px rgba(0, 151, 57, 0.12),
        -20px -20px 40px rgba(255, 255, 255, 1),
        inset -8px -8px 16px rgba(0, 151, 57, 0.02),
        inset 8px 8px 16px rgba(255, 255, 255, 1);
}

.service-detail h2 {
    color: #009739;
    margin-bottom: 1rem;
    text-align: left;
    font-size: 0.62em;
    font-weight: 800;
    line-height: 1.3;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.service-detail p {
    color: #555;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    flex-grow: 1; /* Pushes the button downwards */
    word-break: break-word; /* Fixes text overflow */
}

/* Button overrides: Green by default, glass effect on hover */
.service-detail .btn-modern-card {
    align-self: flex-start;
    background: #009739; /* Brand green */
    color: #ffffff; /* White text */
    padding: 12px 24px;
    border-radius: 16px;
    font-weight: bold;
    box-shadow: 
        0 8px 20px rgba(0, 151, 57, 0.3),
        inset 1px 1px 3px rgba(255, 255, 255, 0.3);
    border: 1px solid #009739;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 2;
}

.service-detail .btn-modern-card:hover {
    transform: translateY(-3px);
    /* Glassmorphism Effect */
    background: rgba(0, 151, 57, 0.1); /* Very transparent green */
    color: #009739; /* Text turns dark green */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 151, 57, 0.4);
    box-shadow: 0 10px 30px rgba(0, 151, 57, 0.15);
}

.service-detail .btn-modern-card::before {
    display: none; /* Removes any conflicting older button styles */
}

.service-link {
    color: #009739;
    text-decoration: none;
    font-weight: bold;
}

/* About Content */
.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text h2 {
    color: #009739;
    margin-top: 2rem;
    margin-bottom: 1rem;
    text-align: left;
    font-size: 1.8em;
}

.about-text ul {
    margin-left: 2rem;
    margin-top: 1rem;
}

.about-text li {
    margin-bottom: 0.5rem;
}

/* Team */
.team {
    background: #f9f9f9;
    padding: 60px 20px;
    margin-top: 3rem;
}

.team h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.team>p {
    text-align: center;
    margin-bottom: 3rem;
    color: #666;
}

.team-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.team-feature {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.team-feature h3 {
    color: #009739;
    margin-bottom: 1rem;
}

/* Clinic Image Section */
.clinic-image {
    background: #f9f9f9;
    padding: 60px 20px;
    margin-top: 3rem;
}

.image-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.clinic-facade {
    width: 100%;
    max-width: 1000px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.clinic-facade:hover {
    transform: scale(1.02);
}

.image-caption {
    margin-top: 1.5rem;
}

.image-caption p {
    font-size: 1.1em;
    color: #666;
    font-style: italic;
}

/* Medical Director Section */
.medical-director {
    padding: 60px 20px;
    background: white;
}

.director-container {
    max-width: 1000px;
    margin: 0 auto;
}

.director-container h2 {
    text-align: center;
    color: #009739;
    font-size: 2.5em;
    margin-bottom: 3rem;
}

.director-card {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    background: #f9f9f9;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    align-items: center;
}

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

.director-image img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 50%;
    border: 5px solid #009739;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.director-image img:hover {
    transform: scale(1.05);
}

.director-info {
    text-align: left;
}

.director-info h3 {
    color: #009739;
    font-size: 2em;
    margin-bottom: 0.5rem;
}

.director-crm {
    color: #666;
    font-size: 1.1em;
    margin-bottom: 0.3rem;
    font-weight: 500;
}

.director-specialty {
    color: #009739;
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.director-description {
    margin-top: 1.5rem;
}

.director-description p {
    color: #555;
    font-size: 1.1em;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .clinic-facade {
        border-radius: 10px;
    }

    .director-card {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }

    .director-image img {
        max-width: 250px;
    }

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

    .director-info h3 {
        font-size: 1.6em;
    }

    .director-specialty {
        font-size: 1.1em;
    }

    .director-description p {
        font-size: 1em;
    }

    .director-container h2 {
        font-size: 2em;
    }
}

/* Contact */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.contact-card h3 {
    color: #009739;
    margin-bottom: 1rem;
}

.contact-card p {
    margin-bottom: 0.5rem;
}

a.contact-card {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

a.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 151, 57, 0.2);
    border: 1px solid rgba(0, 151, 57, 0.2);
}

a.contact-card .fa-whatsapp {
    font-size: 2.5em;
    color: #25D366;
    margin-bottom: 1rem;
    display: block;
}

.map-container {
    margin-top: 3rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: none;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #009739 0%, #006b28 100%);
    color: white;
    padding: 100px 20px;
    text-align: center;
    margin-top: 3rem;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-section h2 {
    color: white;
    margin-bottom: 1rem;
    font-size: 2.8em;
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.cta-section p {
    font-size: 1.3em;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .cta-button {
    position: relative;
    z-index: 1;
    background: white;
    color: #009739;
    padding: 18px 45px;
    font-size: 1.1em;
}

.cta-section .cta-button:hover {
    background: #f8f9fa;
    transform: translateY(-3px);
}

/* About Preview */
.about-preview {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.about-preview::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 151, 57, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.about-preview h2 {
    text-align: center;
    font-size: 2.8em;
    margin-bottom: 1rem;
    color: #1a1a1a;
    font-weight: 800;
    position: relative;
    padding-bottom: 1rem;
}

.about-preview h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #009739, #00b347);
    border-radius: 2px;
}

/* Specialty Grid */
.specialty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.specialty-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.specialty-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.specialty-icon {
    font-size: 3em;
    margin-bottom: 1rem;
}

.specialty-card h3 {
    color: #009739;
    margin-bottom: 1rem;
}

.specialty-card p {
    color: #666;
    margin-bottom: 1rem;
}

.specialty-card ul {
    list-style: none;
}

.specialty-card li {
    padding: 0.3rem 0;
    color: #666;
}

.specialty-card li:before {
    content: "• ";
    color: #009739;
    font-weight: bold;
    margin-right: 5px;
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 20px 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: #009739;
}

.footer-section p {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
}

/* Cards de Exames de Endoscopia */
.endoscopy-exams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0 3rem;
}

.endoscopy-exam-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 151, 57, 0.15);
    border-radius: 25px;
    padding: 2.5rem 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    transition: transform 0.4s cubic-bezier(0.2, 0, 0.2, 1), box-shadow 0.4s ease, border-color 0.4s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    z-index: 1;
}

.endoscopy-exam-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #009739, #00c853);
    border-radius: 25px 25px 0 0;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.endoscopy-exam-card:hover::before {
    opacity: 1;
}

.endoscopy-exam-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 151, 57, 0.15);
    border-color: rgba(0, 151, 57, 0.3);
    z-index: 2;
}

.endoscopy-exam-card .exam-details {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(46, 125, 50, 0.1);
    font-size: 0.9rem;
    color: #555;
}

.endoscopy-exam-card .exam-details strong {
    color: #2e7d32;
}

.exam-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(0, 151, 57, 0.1), rgba(0, 200, 83, 0.1));
    border: 1px solid rgba(0, 151, 57, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--cemede-green);
    box-shadow: inset 0 2px 10px rgba(0, 151, 57, 0.05);
    transition: transform 0.3s ease, background 0.3s ease;
}

.endoscopy-exam-card:hover .exam-icon {
    background: linear-gradient(135deg, #009739, #00c853);
    color: white;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 20px rgba(0, 151, 57, 0.3);
}

.endoscopy-exam-card h3 {
    color: #009739;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    text-align: center;
}

.endoscopy-exam-card p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: center;
}

.exam-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 1rem;
    border-top: 2px solid #f0f0f0;
}

.price-label {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 0.3rem;
}

.price-value {
    font-size: 1.8rem;
    font-weight: bold;
    color: #009739;
}

/* Cards de Preparação */
.preparation-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0 3rem;
}

.preparation-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 151, 57, 0.1);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.04);
    transition: transform 0.4s cubic-bezier(0.2, 0, 0.2, 1), box-shadow 0.4s ease, border-color 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.preparation-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #009739, #00c853);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.preparation-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 151, 57, 0.12);
    border-color: rgba(0, 151, 57, 0.25);
}

.preparation-card:hover::after {
    opacity: 1;
}

.prep-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 151, 57, 0.05);
    border: 1px solid rgba(0, 151, 57, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--cemede-green);
    transition: all 0.3s ease;
}

.preparation-card:hover .prep-icon {
    background: var(--cemede-green);
    color: white;
    transform: rotateY(180deg);
}

.preparation-card h4 {
    color: #009739;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.preparation-card p {
    color: #555;
    line-height: 1.5;
    margin: 0;
}

/* Botão Voltar ao Topo */
.scroll-to-top {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #009739 0%, #006b28 100%);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(0, 151, 57, 0.4);
    z-index: 9999;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 151, 57, 0.6);
}

.scroll-to-top:active {
    transform: scale(0.95);
}

/* Botão Flutuante de WhatsApp */
/* Botão Flutuante de WhatsApp Moderno */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #009739 0%, #00b347 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0, 151, 57, 0.4);
    z-index: 9999;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    z-index: -1;
    animation: pulse-green 2s infinite;
    opacity: 0.7;
}

@keyframes pulse-green {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }

    70% {
        transform: scale(1.5);
        opacity: 0;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 151, 57, 0.5);
}

.whatsapp-float i {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Media Queries para Responsividade */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 80px 20px 20px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        overflow-y: auto;
        gap: 0;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid #eee;
    }

    .nav-links a {
        display: block;
        padding: 1rem;
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        margin-top: 0;
        background: #f9f9f9;
        display: none;
        animation: slideDown 0.3s ease;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown>a {
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .dropdown>a::after {
        content: '▼';
        font-size: 0.8em;
        margin-left: 5px;
        transition: transform 0.3s ease;
    }

    .dropdown.active>a::after {
        transform: rotate(180deg);
    }

    .logo-img {
        height: 120px;
    }

    .scroll-to-top {
        width: 50px;
        height: 50px;
        font-size: 20px;
        bottom: 75px;
        right: 15px;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 25px;
        bottom: 15px;
        right: 15px;
    }

    .hero {
        min-height: 70vh;
        padding: 80px 20px 60px;
    }

    .hero-content h1 {
        font-size: 2.5em;
    }

    .hero-subtitle {
        font-size: 1.2em;
    }

    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cta-button {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .page-header h1 {
        font-size: 2em;
    }

    section h2 {
        font-size: 1.8em;
    }

    .dropdown-menu {
        position: static;
        display: none;
        margin-top: 0.5rem;
    }

    .dropdown:hover .dropdown-menu {
        display: block;
    }

    .hero-video {
        opacity: 0.2;
    }

    .endoscopy-exams-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .preparation-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .endoscopy-exam-card {
        padding: 1.5rem;
    }

    .exam-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }

    .endoscopy-exam-card h3 {
        font-size: 1.2rem;
    }

    .price-value {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        width: 45px;
        height: 45px;
        font-size: 20px;
        bottom: 10px;
        right: 10px;
    }

    .hero {
        min-height: 60vh;
        padding: 60px 15px 40px;
        background-attachment: scroll; /* Fixes iOS Safari 'grey box' bug with fixed backgrounds */
        background-position: center center;
    }

    .hero-bg {
        background-attachment: scroll !important;
        background-position: center top !important;
    }

    .hero-content h1 {
        font-size: 2em;
    }

    .hero-subtitle {
        font-size: 1.1em;
    }

    .hero-badge {
        padding: 8px 20px;
        font-size: 0.9em;
    }

    .hero-feature-item {
        font-size: 0.9em;
    }

    .cta-button {
        padding: 14px 28px;
        font-size: 1em;
    }

    .hero-video {
        opacity: 0.15;
    }
}

/* Vídeo Institucional */
.video-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    text-align: center;
}

.video-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    background: #000;
}

.video-institutional {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 151, 57, 0.1), rgba(0, 107, 40, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-container:hover .video-overlay {
    opacity: 1;
}

.play-button {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.play-button:hover {
    transform: scale(1.1);
    background: white;
}

.play-button i {
    font-size: 30px;
    color: #009739;
    margin-left: 5px;
}

.video-title {
    font-size: 2.5em;
    color: #333;
    margin-bottom: 2rem;
    text-align: center;
}

.video-description {
    font-size: 1.2em;
    color: #666;
    margin-bottom: 3rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsividade para vídeo */
@media (max-width: 768px) {
    .video-section {
        padding: 40px 15px;
    }

    .video-container {
        border-radius: 10px;
    }

    .video-institutional {
        border-radius: 10px;
    }

    .play-button {
        width: 60px;
        height: 60px;
    }

    .play-button i {
        font-size: 24px;
    }

    .video-title {
        font-size: 2em;
    }

    .video-description {
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        width: 45px;
        height: 45px;
        font-size: 20px;
        bottom: 10px;
        right: 10px;
    }

    .nav-container {
        padding: 0 10px;
    }

    section {
        padding: 40px 15px;
    }

    .hero {
        padding: 60px 15px;
    }

    .page-header {
        padding: 60px 15px;
    }
}

/* ========================================
   IMPLANTARE - ESTÉTICA CAPILAR
   ======================================== */

.implantare-logo {
    color: #009739;
    font-size: 1.8em;
    font-weight: 700;
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.implantare-hero {
    background: linear-gradient(135deg, #009739 0%, #00b347 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.hero-text {
    max-width: 900px;
    margin: 0 auto;
}

.hero-text h2 {
    font-size: 2.5em;
    margin-bottom: 1rem;
}

.hero-text p {
    font-size: 1.2em;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn-primary,
.btn-secondary {
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background: white;
    color: #009739;
}

.btn-primary:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #009739;
    transform: translateY(-2px);
}

.services-grid {
    padding: 80px 20px;
    background: #f9f9f9;
}

.services-grid .container {
    max-width: 1200px;
    margin: 0 auto;
}

.services-grid h2 {
    text-align: center;
    font-size: 2.5em;
    color: #009739;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2em;
    color: #666;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.services-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.service-card {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 151, 57, 0.1);
    transition: all 0.4s ease;
    text-align: center;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 15px 40px rgba(0, 151, 57, 0.2);
    border-color: #009739;
}

.service-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #009739 0%, #00b347 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.2em;
    color: white;
    box-shadow: 0 5px 15px rgba(0, 151, 57, 0.3);
}

.service-card h3 {
    color: #009739;
    font-size: 1.6em;
    margin-bottom: 1rem;
    font-weight: 700;
}

.service-card p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05em;
}

.service-link {
    color: #009739;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-size: 1.1em;
    padding: 10px 20px;
    border-radius: 25px;
    background: rgba(0, 151, 57, 0.05);
}

.service-link:hover {
    gap: 15px;
    background: rgba(0, 151, 57, 0.1);
}

.why-implantare {
    padding: 80px 20px;
    background: white;
}

.why-implantare h2 {
    text-align: center;
    font-size: 2.5em;
    color: #009739;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-item {
    text-align: center;
    padding: 2rem;
}

.feature-item i {
    font-size: 3em;
    color: #009739;
    margin-bottom: 1rem;
}

.feature-item h3 {
    color: #333;
    font-size: 1.3em;
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: #666;
    line-height: 1.6;
}

.cta-section {
    background: linear-gradient(135deg, #009739 0%, #00b347 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5em;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2em;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary-large,
.btn-whatsapp-large {
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2em;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary-large {
    background: #009739;
    color: white;
}

.btn-primary-large:hover {
    background: #00b347;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.btn-whatsapp-large {
    background: #009739;
    color: white;
}

.btn-whatsapp-large:hover {
    background: #00b347;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.implantare-footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 20px 20px;
}

.implantare-footer .footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 2rem;
}

.implantare-footer .footer-section h3 {
    color: #009739;
    margin-bottom: 1rem;
    font-size: 1.3em;
}

.implantare-footer .footer-section p {
    margin-bottom: 0.5rem;
    color: #ccc;
}

.implantare-footer .footer-section ul {
    list-style: none;
}

.implantare-footer .footer-section ul li {
    margin-bottom: 0.5rem;
}

.implantare-footer .footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.implantare-footer .footer-section ul li a:hover {
    color: #009739;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #009739;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #00b347;
    transform: translateY(-3px);
}

.implantare-footer .footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #999;
}

.service-detail {
    background: white;
    padding: 80px 20px;
    margin-bottom: 0;
}

.service-detail .container {
    max-width: 1200px;
    margin: 0 auto;
}

.service-detail h2 {
    color: #009739;
    margin-bottom: 1.5rem;
    text-align: left;
    font-size: 2.5em;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.service-detail h2:first-of-type {
    font-size: 3em;
    text-align: center;
    margin-bottom: 2rem;
}

.service-detail h2:first-of-type::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #009739 0%, #00b347 100%);
    margin: 20px auto 0;
    border-radius: 2px;
}

.service-detail p {
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.1em;
}

.service-detail ul {
    margin-left: 2rem;
    margin-bottom: 2rem;
}

.service-detail ul li {
    color: #555;
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin: 3rem 0;
}

.advantage-item {
    text-align: center;
    padding: 2.5rem;
    background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
    border-radius: 20px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-8px);
    border-color: #009739;
    box-shadow: 0 10px 30px rgba(0, 151, 57, 0.15);
}

.advantage-item i {
    font-size: 3em;
    color: #009739;
    margin-bottom: 1.5rem;
    display: block;
}

.advantage-item h3 {
    color: #333;
    font-size: 1.3em;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.advantage-item p {
    color: #666;
    font-size: 1em;
    line-height: 1.6;
}

.cta-box {
    background: linear-gradient(135deg, #009739 0%, #00b347 100%);
    color: white;
    padding: 4rem;
    border-radius: 25px;
    text-align: center;
    margin-top: 4rem;
    box-shadow: 0 10px 40px rgba(0, 151, 57, 0.3);
}

.cta-box h3 {
    font-size: 2.5em;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-box p {
    font-size: 1.3em;
    margin-bottom: 2.5rem;
    color: white !important;
}

.btn-whatsapp {
    background: #009739;
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 1rem;
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    background: #00b347;
    transform: translateY(-2px);
}

.results-content {
    padding: 60px 20px;
}

.results-intro {
    max-width: 900px;
    margin: 0 auto 4rem;
    text-align: center;
}

.results-intro h2 {
    color: #009739;
    font-size: 2.5em;
    margin-bottom: 1rem;
}

.results-intro p {
    font-size: 1.1em;
    color: #666;
    line-height: 1.8;
}

.results-categories {
    max-width: 1200px;
    margin: 0 auto 4rem;
}

.results-categories h2 {
    text-align: center;
    color: #009739;
    font-size: 2em;
    margin-bottom: 2rem;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.category-card {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.category-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #009739 0%, #00b347 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.8em;
    color: white;
}

.category-card h3 {
    color: #009739;
    font-size: 1.3em;
    margin-bottom: 0.5rem;
}

.category-card p {
    color: #666;
    line-height: 1.6;
}

.timeline-modern {
    padding: 60px 0;
}

.timeline-title {
    text-align: center;
    color: #009739;
    font-size: 3em;
    margin-bottom: 3rem;
    font-weight: 700;
}

.timeline-image-container {
    max-width: 500px;
    margin: 0 auto 4rem;
    padding: 0 20px;
}

.timeline-results-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-results-image:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 151, 57, 0.25);
}

.timeline-cta {
    background: linear-gradient(135deg, #009739 0%, #00b347 100%);
    border-radius: 30px;
    padding: 4rem;
    text-align: center;
    box-shadow: 0 15px 50px rgba(0, 151, 57, 0.3);
    position: relative;
    overflow: hidden;
}

.timeline-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

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

.timeline-cta h3 {
    color: white;
    font-size: 2.5em;
    margin-bottom: 1rem;
    font-weight: 700;
}

.timeline-cta p {
    color: white;
    font-size: 1.3em;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.btn-timeline {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: white;
    color: #009739;
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2em;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-timeline:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    background: #f0f0f0;
}

.testimonials {
    max-width: 1400px;
    margin: 0 auto 4rem;
    padding: 4rem 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.testimonials h2 {
    text-align: center;
    color: #009739;
    font-size: 2.8em;
    margin-bottom: 3.5rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 1rem;
}

.testimonials h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #009739, #00b347);
    border-radius: 2px;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 0 20px;
}

.testimonial-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 5em;
    color: rgba(0, 151, 57, 0.05);
    font-family: Georgia, serif;
    line-height: 1;
    font-weight: bold;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 45px rgba(0, 151, 57, 0.2);
    border-color: rgba(0, 151, 57, 0.3);
}

.testimonial-stars {
    color: #FFD700;
    font-size: 1.4em;
    margin-bottom: 1.5rem;
    display: flex;
    gap: 5px;
}

.testimonial-stars i {
    filter: drop-shadow(0 2px 3px rgba(255, 215, 0, 0.3));
}

.testimonial-card p {
    color: #555;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.05em;
    position: relative;
    z-index: 1;
    flex-grow: 1;
}

.testimonial-card h4 {
    color: #009739;
    font-size: 1.3em;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.testimonial-card span {
    color: #888;
    font-size: 0.95em;
    display: block;
    font-weight: 500;
}

.results-cta {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem;
    background: #f9f9f9;
    border-radius: 15px;
}

.results-cta h2 {
    color: #009739;
    font-size: 2em;
    margin-bottom: 1rem;
}

.results-cta p {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 2rem;
}

.contact-section {
    padding: 60px 20px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info-side h2 {
    color: #009739;
    font-size: 2em;
    margin-bottom: 1rem;
}

.contact-info-side>p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: #f9f9f9;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.info-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #009739 0%, #00b347 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3em;
    flex-shrink: 0;
}

.info-content h3 {
    color: #009739;
    font-size: 1.1em;
    margin-bottom: 0.5rem;
}

.info-content p {
    color: #666;
    margin-bottom: 0.3rem;
}

.whatsapp-link,
.social-link {
    color: #009739;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
}

.whatsapp-link:hover,
.social-link:hover {
    color: #00b347;
}

.contact-form-side h2 {
    color: #009739;
    font-size: 2em;
    margin-bottom: 1.5rem;
}

.contact-form {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 15px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: #333;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1em;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #009739;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #009739 0%, #00b347 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 151, 57, 0.3);
}

.quick-contact {
    text-align: center;
    margin-top: 2rem;
}

.quick-contact p {
    color: #666;
    margin-bottom: 1rem;
}

.btn-whatsapp-full {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: #009739;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-whatsapp-full:hover {
    background: #00b347;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .implantare-logo-img {
        height: 70px;
        margin-bottom: 20px;
    }

    .implantare-hero {
        padding: 40px 20px;
    }

    .hero-text h2 {
        font-size: 2em;
    }

    .hero-text p {
        font-size: 1em;
    }

    .hero-content h1 {
        font-size: 2.5em;
    }

    .hero-content h2 {
        font-size: 1.5em;
    }

    .hero-content p {
        font-size: 1.1em;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

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

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

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

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .timeline-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .timeline-title {
        font-size: 1.8em;
        padding: 0 10px;
    }

    .timeline-image-container {
        max-width: 100%;
        padding: 0 15px;
        margin: 0 auto 2.5rem;
    }

    .timeline-results-image {
        max-width: 100%;
        width: 100%;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    }

    .timeline-results-image:hover {
        transform: scale(1.01);
    }

    .timeline-subtitle {
        font-size: 1.1em;
        margin-bottom: 2.5rem;
    }

    .timeline-image {
        height: 200px;
    }

    .timeline-info {
        padding: 1.5rem;
    }

    .timeline-info h3 {
        font-size: 1.4em;
    }

    .timeline-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .timeline-cta {
        padding: 2.5rem 1.5rem;
    }

    .timeline-cta h3 {
        font-size: 1.8em;
    }

    .timeline-cta p {
        font-size: 1.1em;
    }

    .btn-timeline {
        width: 100%;
        justify-content: center;
        padding: 15px 30px;
        font-size: 1.1em;
    }

    .testimonials {
        padding: 3rem 15px;
    }

    .testimonials h2 {
        font-size: 2.2em;
        margin-bottom: 2.5rem;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 10px;
    }

    .testimonial-card {
        padding: 2rem 1.5rem;
    }

    .testimonial-card::before {
        font-size: 3.5em;
        top: 10px;
        right: 15px;
    }

    .testimonial-stars {
        font-size: 1.2em;
        margin-bottom: 1.2rem;
    }

    .testimonial-card p {
        font-size: 1em;
        margin-bottom: 1.5rem;
    }

    .testimonial-card h4 {
        font-size: 1.15em;
    }

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

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary-large,
    .btn-whatsapp-large {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        width: 45px;
        height: 45px;
        font-size: 20px;
        bottom: 10px;
        right: 10px;
    }

    .nav-container {
        padding: 0 10px;
    }

    section {
        padding: 40px 15px;
    }

    .hero {
        padding: 60px 15px;
    }

    .page-header {
        padding: 60px 15px;
    }
}

/* Responsive Styles for Homepage Sections */
@media (max-width: 768px) {
    .about-preview {
        padding: 60px 15px;
    }

    .about-preview h2 {
        font-size: 2.2em;
        margin-bottom: 0.8rem;
    }

    .features {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 3rem;
    }

    .feature {
        padding: 2.5rem 1.5rem;
    }

    .feature h3 {
        font-size: 1.3em;
    }

    .feature p {
        font-size: 1em;
    }



    .cta-section {
        padding: 60px 15px;
    }

    .cta-section h2 {
        font-size: 2.2em;
    }

    .cta-section p {
        font-size: 1.1em;
        margin-bottom: 2rem;
    }

    .services {
        padding: 60px 15px;
    }

    .services h2 {
        font-size: 2.2em;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 3rem;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    .service-card h3 {
        font-size: 1.4em;
    }
}

/* Main section styles handled by .page-header.hero-style */



/* Modern Button for Service Cards */
.btn-modern-card {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, #009739 0%, #00b347 100%);
    color: white !important;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 151, 57, 0.2);
    border: none;
    cursor: pointer;
    text-align: center;
    margin-top: 15px;
    position: relative;
    overflow: hidden;
}

.btn-modern-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-modern-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 151, 57, 0.3);
    background: linear-gradient(135deg, #00b347 0%, #009739 100%);
}

.btn-modern-card:hover::before {
    opacity: 1;
}

.btn-modern-card:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 151, 57, 0.2);
}

/* Services Page Hero Specific Styles */
.servicos-hero {
    position: relative;
    overflow: hidden;
    min-height: 400px;
    /* Ensure sufficient height for services header */
}

.servicos-hero .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('fachada.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 0;
    will-change: opacity;
}

.servicos-hero .hero-overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.8));
    z-index: 1;
}

.servicos-hero .hero-content {
    z-index: 2;
    position: relative;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
}

.servicos-hero::before {
    display: none;
    /* Hide default gradient */
}

/* Adjust card layout to accommodate the button */
.endoscopy-exam-card,
.service-card,
.service-detail {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    /* Center content including button */
    padding-bottom: 25px;
    /* Ensure space at bottom */
}


/* Checkups Page Hero Specific Styles */
.checkups-hero {
    position: relative;
    overflow: hidden;
    min-height: 70vh;
    /* Increased height to show more of the image */
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkups-hero .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('checkupshero.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 0;
    will-change: opacity;
}

.checkups-hero .hero-overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
    z-index: 1;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.checkups-hero .hero-content {
    z-index: 2;
    position: relative;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
    width: 100%;
}

.checkups-hero::before {
    display: none;
    /* Hide default gradient */
}

/* Especialidades Page Hero Specific Styles */
.especialidades-hero {
    position: relative;
    overflow: hidden;
    min-height: 70vh;
    /* Increased height to show more of the image */
    display: flex;
    align-items: center;
    justify-content: center;
}

.especialidades-hero .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('especialidades.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 0;
    will-change: opacity;
}

.especialidades-hero .hero-overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
    z-index: 1;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.especialidades-hero .hero-content {
    z-index: 2;
    position: relative;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
    width: 100%;
}

.especialidades-hero::before {
    display: none;
    /* Hide default gradient */
}

/* Contato Page Hero Specific Styles */
.contato-hero {
    position: relative;
    overflow: hidden;
    min-height: 70vh;
    /* Increased height to show more of the image */
    display: flex;
    align-items: center;
    justify-content: center;
}

.contato-hero .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('contato.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 0;
    will-change: opacity;
}

.contato-hero .hero-overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
    z-index: 1;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.contato-hero .hero-content {
    z-index: 2;
    position: relative;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
    width: 100%;
}

.contato-hero::before {
    display: none;
    /* Hide default gradient */
}

/* Ensure paragraph has some margin before button */
.endoscopy-exam-card p,
.service-card p,
.service-detail p {
    margin-bottom: 15px;
}

/* Modern About Page Styles */

/* General About Section */

/* Timeline Section */

/* Mission & Vision Section */

/* Checkup Accordion Layout - Antigravity Modern Style */
.checkup-accordion {
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    align-items: start; /* Prevents stretching to match expanded neighbors height */
}

.checkup-item {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid rgba(0, 151, 57, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.checkup-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 151, 57, 0.1);
}

.checkup-header {
    background: linear-gradient(135deg, #009739 0%, #00b347 100%);
    color: white;
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.checkup-header:hover {
    background: linear-gradient(135deg, #007a2e 0%, #009739 100%);
}

.checkup-header h3 {
    margin: 0;
    font-size: 1.25em;
    font-weight: 600;
}

.checkup-toggle {
    font-size: 1.5em;
    color: white;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.checkup-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1), padding 0.4s ease;
    padding: 0 25px;
    background: #fafafa;
    box-shadow: inset 0 5px 10px rgba(0,0,0,0.02);
    border-top: 1px solid transparent;
}

.checkup-content.active {
    max-height: 2000px;
    padding: 25px;
    border-top: 1px solid rgba(0, 151, 57, 0.1);
    transition: max-height 0.5s ease-in-out, padding 0.4s ease;
}

.checkup-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.checkup-content li {
    padding: 8px 16px;
    background: rgba(0, 151, 57, 0.08);
    border: 1px solid rgba(0, 151, 57, 0.15);
    border-radius: 50px;
    font-size: 0.9rem;
    color: #009739;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.2s ease;
    cursor: default;
}

.checkup-content li:hover {
    background: #009739;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 151, 57, 0.2);
}

.checkup-content li::before {
    font-family: "Font Awesome 6 Free";
    content: "\f00c";
    font-weight: 900;
    color: inherit;
    margin-right: 8px;
    font-size: 0.85em;
    opacity: 0.8;
}

.checkup-content p {
    padding: 20px 25px 0;
    margin: 0;
    color: #555;
    font-weight: 600;
}

/* Values Section */
.values-section {
    padding: 80px 20px;
    background: #f4fcf6;
    /* Very light green tint */
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.value-card {
    background: white;
    padding: 35px 25px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border-bottom: 4px solid transparent;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    border-bottom-color: #009739;
}

.value-card i {
    font-size: 2.5em;
    color: #009739;
    /* Brand Green */
    margin-bottom: 20px;
    display: block;
}

.value-card h3 {
    color: #333;
    font-size: 1.2em;
    font-weight: 700;
    margin-bottom: 15px;
}

.value-card p {
    color: #666;
    font-size: 0.95em;
    line-height: 1.6;
}

/* Medical Director Override */
.medical-director {
    background: white;
    /* Clean white backdrop */
    padding: 80px 20px;
}

.director-card {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    /* Softer shadow */
    border: none;
}

/* Responsive Styles */
@media (max-width: 900px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {


    /* Cards Mobile */

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

    .about-intro h2,
    .section-title {
        font-size: 2em;
    }
}

/* Checkup Icons - Sprites from icones-optimized.png */
.checkup-header-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.checkup-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    /* Prevent shrinking */
    background-image: url('icones-optimized.png');
    background-size: 500% 400%;
    /* 5 columns, 4 rows = 20 slots */
    background-repeat: no-repeat;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    background-color: white;
    /* Fallback/Contrast */
}

/* Sprite Positions (Assuming 5x4 Grid) */
/* Row 1 */
.icon-ist {
    background-position: 0 0;
}

.icon-homem18 {
    background-position: 25% 0;
}

.icon-transicao {
    background-position: 50% 0;
}

.icon-mulher45 {
    background-position: 75% 0;
}

.icon-vegetariano {
    background-position: 100% 0;
}

/* Row 2 */
.icon-rins {
    background-position: 0 33.33%;
}

.icon-tireoide {
    background-position: 25% 33.33%;
}

.icon-nutricao {
    background-position: 50% 33.33%;
}

.icon-melhoridade {
    background-position: 75% 33.33%;
}

.icon-mulher {
    background-position: 100% 33.33%;
}

/* Row 3 */
.icon-osteoporose {
    background-position: 0 66.66%;
}

.icon-prenatal {
    background-position: 25% 66.66%;
}

.icon-jovens {
    background-position: 50% 66.66%;
}

.icon-hipertensao {
    background-position: 75% 66.66%;
}

.icon-figado {
    background-position: 100% 66.66%;
}

/* Row 4 */
.icon-esportes {
    background-position: 0 100%;
}

.icon-empresarial {
    background-position: 25% 100%;
}

.icon-crianca {
    background-position: 50% 100%;
}

.icon-coracao {
    background-position: 75% 100%;
}

/* One slot remaining/unused */

/* Antigravity Design System - Ultrasound Card */
:root {
    --cemede-green: #009739;
    --cemede-green-rgb: 0, 151, 57;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}

.antigravity-highlight {
    padding: 100px 20px;
    background: radial-gradient(circle at center, #ffffff 0%, #f4fcf6 100%);
    overflow: hidden;
}

.antigravity-container {
    max-width: 1200px;
    margin: 0 auto;
    perspective: 2000px;
}

.antigravity-card {
    position: relative;
    width: 100%;
    height: 600px;
    border-radius: 40px;
    background: #000;
    overflow: hidden;
    transform-style: preserve-3d;
    box-shadow: 0 40px 100px rgba(0, 151, 57, 0.15);
    will-change: transform;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 80px;
}

.card-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.card-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: transform 1.2s cubic-bezier(0.2, 0, 0.2, 1);
}

.antigravity-card:hover .card-bg-img {
    transform: scale(1.1);
}

.card-glass-overlay {
    position: relative;
    z-index: 5;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 35px;
    padding: 50px;
    max-width: 550px;
    transform: translateZ(60px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.card-badge {
    display: inline-block;
    background: var(--cemede-green);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.85em;
    font-weight: 700;
    margin-bottom: 25px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.card-title {
    font-size: 3.5em;
    color: #fff;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    text-align: left !important;
}

.card-description {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.2em;
    line-height: 1.7;
    margin-bottom: 40px;
    font-weight: 400;
}

/* Antigravity Button */
.antigravity-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: #fff;
    color: var(--cemede-green);
    padding: 18px 40px;
    border-radius: 60px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.1em;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border: 2px solid transparent;
}

.antigravity-btn:hover {
    background: var(--cemede-green);
    color: #fff;
    transform: translateY(-5px) translateZ(30px);
    box-shadow: 0 20px 40px rgba(0, 151, 57, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

.antigravity-btn i {
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.antigravity-btn:hover i {
    transform: translateX(8px);
}

/* Floating Orbs */
.floating-orb {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 2;
    pointer-events: none;
}

.orb-1 {
    top: -150px;
    right: -100px;
    background: rgba(var(--cemede-green-rgb), 0.4);
    animation: orbFloat 10s infinite alternate ease-in-out;
}

.orb-2 {
    bottom: -200px;
    left: 10%;
    background: rgba(255, 255, 255, 0.15);
    animation: orbFloat 15s infinite alternate-reverse ease-in-out;
}

@keyframes orbFloat {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(50px) scale(1.2); }
}

/* Responsive */
@media (max-width: 900px) {
    .antigravity-card {
        height: auto;
        min-height: 650px;
        padding: 50px 30px;
        justify-content: center;
        text-align: center;
        border-radius: 30px;
    }
    
    .card-title {
        font-size: 2.8em;
        text-align: center !important;
    }
    
    .card-glass-overlay {
        padding: 40px 25px;
        max-width: 100%;
        transform: translateZ(40px);
    }

    .card-description {
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .card-title {
        font-size: 2.2em; /* Prevents long words like Ultrassonografia from blowing past the margin */
        word-wrap: break-word; /* Allows ultra-long words to break gracefully if needed */
        line-height: 1.1;
    }
}


/* Antigravity Mini Card (Homepage Grid) */
.antigravity-card-mini {
    position: relative;
    height: 480px;
    border-radius: 30px;
    background: #000;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
    box-shadow: 0 20px 40px rgba(0, 151, 57, 0.1);
    will-change: transform;
    cursor: pointer;
    transition: box-shadow 0.4s ease;
}

.card-mini-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.card-mini-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: transform 1.2s cubic-bezier(0.2, 0, 0.2, 1);
}

.antigravity-card-mini:hover .card-mini-bg-img {
    transform: scale(1.15);
}

.card-mini-glass-overlay {
    position: absolute;
    bottom: 25px;
    left: 20px;
    right: 20px;
    z-index: 5;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 30px;
    transform: translateZ(40px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.card-mini-badge {
    display: inline-block;
    background: var(--cemede-green);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.75em;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.card-mini-title {
    font-size: 2em;
    color: #fff;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.1;
    text-align: left !important;
}

.card-mini-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1em;
    line-height: 1.5;
    margin-bottom: 25px;
}

.card-mini-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.95em;
    transition: all 0.3s ease;
}

.card-mini-link i {
    transition: transform 0.3s ease;
}

.card-mini-link:hover {
    color: #fff;
}

.card-mini-link:hover i {
    transform: translateX(5px);
}

.antigravity-card-mini:hover {
    box-shadow: 0 30px 60px rgba(0, 151, 57, 0.3);
}

@media (max-width: 768px) {
    .antigravity-card-mini {
        height: 420px;
    }
    
    .card-mini-title {
        font-size: 1.8em;
    }
}

/* Antigravity Service Backgrounds */
.card-mini-img-ultrassonografia { content: url('ultrassonografia-especial.png'); }
.card-mini-img-endoscopia { content: url('endoscopia-especial.png'); }
.card-mini-img-tomografia { content: url('tomografia-especial.png'); }
.card-mini-img-ressonancia { content: url('ressonancia-especial.png'); }
.card-mini-img-raiox { content: url('raio-x-especial.png'); }
.card-mini-img-laboratorio { content: url('laboratorio-especial.png'); }
.card-mini-img-ocupacional { content: url('medicina-ocupacional-especial.png'); }
.card-mini-img-checkups { content: url('checkups-especial.png'); }
.card-mini-img-especialidades { content: url('especialidades-especial.png'); }
.card-mini-img-implantare { content: url('implantare-especial.png'); }


/* About Page - Feature Image Section */
.about-image-section {
    padding: 60px 20px 80px;
    background: #fff;
    display: flex;
    justify-content: center;
    position: relative;
}

.image-container {
    max-width: 1200px;
    width: 100%;
    position: relative;
    z-index: 10;
}

.professional-image {
    width: 100%;
    height: auto;
    border-radius: 30px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.12);
    display: block;
    transition: transform 0.6s cubic-bezier(0.2, 0, 0.2, 1), box-shadow 0.6s ease;
}

.professional-image:hover {
    transform: translateY(-10px) scale(1.005);
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.18);
}

@media (max-width: 768px) {
    .image-container {
        max-width: 100%;
    }
    
    .professional-image {
        border-radius: 15px;
    }
    
    .about-image-section {
        padding-bottom: 40px;
    }
}

/* =========================================
   Info Board Institucional (Antigravity Style)
========================================= */
.info-board-section {
    padding: 100px 0 50px;
    background: #fdfdfd;
    position: relative;
    overflow: hidden;
}

.antigravity-info-board {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(0, 151, 57, 0.15);
    border-radius: 40px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.08);
    position: relative;
    padding: 60px;
    height: auto !important;
    display: block !important;
    transition: transform 0.6s cubic-bezier(0.2, 0, 0.2, 1), box-shadow 0.6s ease;
}

.antigravity-info-board:hover {
    box-shadow: 0 50px 100px rgba(0, 151, 57, 0.15);
}

.info-board-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(0, 151, 57, 0.03) 0%, rgba(255,255,255,0) 70%);
    pointer-events: none;
    z-index: 1;
    border-radius: inherit;
    overflow: hidden;
}

.info-board-content {
    position: relative;
    z-index: 10;
}

.info-board-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 900px;
    margin-inline: auto;
}

.info-board-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--cemede-green), #00b34a);
    color: white;
    padding: 8px 24px;
    border-radius: 30px;
    font-size: 0.9em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    box-shadow: 0 10px 20px rgba(0, 151, 57, 0.2);
}

.info-board-purpose {
    font-size: 1.3em;
    color: #4a5568;
    line-height: 1.8;
    font-weight: 400;
}

.info-board-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.info-board-column {
    background: rgba(255, 255, 255, 0.5);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
}

.info-board-column:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.8);
}

.info-board-column-title {
    font-size: 1.6em;
    color: #1a1a1a;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 700;
}

.info-board-column-title i {
    color: var(--cemede-green);
    font-size: 1.2em;
}

.info-board-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-board-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 18px;
    font-size: 1.1em;
    color: #4a5568;
    line-height: 1.4;
}

.info-board-list li i {
    color: var(--cemede-green);
    font-size: 1.1em;
    margin-top: 4px;
}

.info-board-footer {
    display: flex;
    justify-content: center;
    border-top: 1px solid rgba(0, 151, 57, 0.1);
    padding-top: 40px;
}

.info-board-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #1a1a1a;
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    font-size: 1.2em;
    font-weight: 700;
    transition: all 0.3s ease;
}

.info-board-cta i {
    color: var(--cemede-green);
}

.info-board-cta:hover {
    background: var(--cemede-green);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 151, 57, 0.3);
}

.info-board-cta:hover i {
    color: white;
}

@media (max-width: 992px) {
    .info-board-grid {
        grid-template-columns: 1fr;
    }
    
    .antigravity-info-board {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .antigravity-info-board {
        padding: 30px 20px;
        border-radius: 20px;
    }
    
    .info-board-purpose {
        font-size: 1.1em;
    }
    
    .info-board-column {
        padding: 25px;
    }
    
    .info-board-cta {
        font-size: 1em;
        width: 100%;
        justify-content: center;
    }
}

/* =========================================
   Mobile Unit Section (Antigravity Style)
========================================= */
.mobile-unit-section {
    padding: 100px 0;
    background: #fdfdfd;
    position: relative;
    overflow: hidden;
}

.mobile-unit-container {
    display: flex;
    flex-direction: column;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.mobile-unit-content {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 151, 57, 0.1);
    border-radius: 30px;
    padding: 50px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 10;
    width: 100%;
}

.mobile-unit-badge {
    display: inline-block;
    background: var(--cemede-green);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.mobile-unit-content h2 {
    font-size: 2.5em;
    color: #1a1a1a;
    line-height: 1.2;
    margin-bottom: 30px;
    font-weight: 300;
}

.mobile-unit-content h2 strong {
    color: var(--cemede-green);
    font-weight: 800;
}

.mobile-unit-features {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}

.mobile-unit-features li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.1em;
    color: #4a5568;
    line-height: 1.5;
}

.mobile-unit-features i {
    color: var(--cemede-green);
    font-size: 1.4em;
    margin-top: 3px;
}

.mobile-unit-footer-text {
    border-top: 1px solid rgba(0, 151, 57, 0.2);
    padding-top: 25px;
}

.mobile-unit-footer-text p {
    color: var(--cemede-green);
    font-size: 1.3em;
    margin: 0;
}

.mobile-unit-image-wrapper {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15);
    background: #fdfdfd;
    width: 100%;
}

.mobile-unit-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 30px;
    pointer-events: none;
}

.mobile-unit-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 151, 57, 0.2) 0%, rgba(0,0,0,0) 50%, rgba(255,255,255,0.1) 100%);
    border-radius: 30px;
    pointer-events: none;
    z-index: 2;
}

.feature-mockup-wrapper {
    position: relative;
    border-radius: 30px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15);
    background: transparent;
    width: 100%;
    margin: 0 auto;
    display: block; /* Strict block layout prevents weird flex heights */
    overflow: hidden; /* Prevents pseudo element ghost heights */
    line-height: 0; /* Prevents ghost gaps in mobile browsers */
}

.feature-mockup-wrapper img {
    width: 100%;
    height: auto; /* Scales down exactly proportionate */
    display: block;
    border-radius: 30px;
}

@media (max-width: 1024px) {
    .mobile-unit-container {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .mobile-unit-content {
        padding: 30px;
    }

    .mobile-unit-content h2 {
        font-size: 1.8em;
    }
}