/* Adicione estes estilos ao seu arquivo main.css */

/* Page Header Styles */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');



/* CSS Variables */

:root {
    --primary-color: #2563eb;
    --secondary-color: #06b6d4;
    --accent-color: #f59e0b;
    --dark-color: #1e293b;
    --light-color: #ffffff;
    --gray-light: #f8fafc;
    --gray-medium: #64748b;
    --success-color: #10b981;
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
    --gradient-secondary: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    --shadow-light: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}



/* Reset and Base Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

html {
    font-size: 78.5%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: var(--dark-color);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {

    list-style: none;

}

a {
    text-decoration: none;
    color: inherit;
}

/*loading animation*/
/* CSS para a Tela de Loading Personalizada */

.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
    text-align: center;
    padding: 2rem;
}

.loading.hide {
    opacity: 0;
    pointer-events: none;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
    margin-bottom: 2rem;
}

/* Estilos dos títulos na tela de loading */
.loading h3 {
    font-size: 3rem;
    /* Maior de todos */
    font-weight: 700;
    color: white;
    margin: 0.5rem 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    animation: fadeInUp 1s ease 0.3s both;
}

.loading h2 {
    font-size: 2.2rem;
    /* Segundo maior */
    font-weight: 600;
    color: white;
    margin: 0.3rem 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    animation: fadeInUp 1s ease 0.5s both;
}

.loading h5 {
    font-size: 1.4rem;
    /* Menor, mas legível */
    font-weight: 400;
    color: white;
    margin: 0.3rem 0;
    opacity: 0.9;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    animation: fadeInUp 1s ease 0.7s both;
}

/* Animação do spinner */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Animação dos textos */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsivo para mobile */
@media (max-width: 768px) {
    .loading h3 {
        font-size: 2.5rem;
    }

    .loading h2 {
        font-size: 1.8rem;
    }

    .loading h5 {
        font-size: 1.2rem;
    }

    .spinner {
        width: 40px;
        height: 40px;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .loading h3 {
        font-size: 2rem;
    }

    .loading h2 {
        font-size: 1.5rem;
    }

    .loading h5 {
        font-size: 1rem;
    }

    .loading {
        padding: 1rem;
    }
}

/* Loading Animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading.hide {
    opacity: 0;
    pointer-events: none;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
    padding: 1rem 0;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-light);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem; /* espaço entre a imagem e o texto */
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

.Logoimg {
    height: 48px; /* tamanho do logotipo */
    width: auto;
    object-fit: contain;
}

/* Empilha os spans em coluna, mas com ordem invertida */
.logo-text {
    display: flex;
    flex-direction: column-reverse; /* Inverte a ordem dos spans */
    line-height: 1.1; /* reduz o espaço vertical */
}

/* Estilos dos textos */
.logo .name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
}

.logo .specialty {
    font-size: 0.85rem;
    color: var(--dark-gray);
}

/* Efeito hover */
.logo:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--dark-color);
    font-weight: 500;
    position: relative;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.nav-link:hover,

.nav-link.active {
    color: var(--primary-color);
    background: var(--gray-light);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark-color);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.nav-toggle.active span:nth-child(2) {

    opacity: 0;

}



.nav-toggle.active span:nth-child(3) {

    transform: rotate(45deg) translate(-5px, -6px);

}

.nav-container .specialty {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--dark-gray);

}


/*
         .logo .name {
        margin-bottom: 0; 
    }
    .logo .specialty {
        margin-top: 0;
    }
*/
/* Buttons */

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--light-color);
    color: var(--primary-color);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

.btn-full {
    width: 100%;
    justify-content: center;

}

.btn-whatsapp {
    background-color: #25D366;
    color: var(--light);
}

.btn-whatsapp:hover {
    background-color: #128C7E;
}


/* Hero Section */

.hero {
    padding: 15rem 0 8rem;
    /*min-height: 200vh;*/
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    padding: 50rem 0 8rem;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url('/img/ffffundo.png');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    opacity: 0.20;
    z-index: 0;
}

/*
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 110%; //Alterado de 110% para 100% //
    height: 100%;// Alterado para cobrir melhor //
    background-image: url('/images/fundo/Fundo05DNA.avif');
    background-size: cover;// Melhor que 'contain' para fundos //
    background-position: center right;
    background-repeat: no-repeat;
    opacity: 0.20;
    z-index: -1;/ Melhor que 0 para ficar atrás do conteúdo // Removido o padding desnecessário /
}
*/
/*
        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 50%;
            height: 100%;
            background: url('banner-1-img.png');
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="30" cy="30" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="70" cy="20" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="80" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="90" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
            opacity: 0.3;
        } 
*/
.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    color: white;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    opacity: 0.8;
    line-height: 1.8;
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.8s both;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 1s ease 1s both;
}

.doctor-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
}

.doctor-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.doctor-avatar {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.doctor-imagem {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.doctor-info {
    text-align: center;
}

.doctor-info h1 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    color: white;
}

.doctor-info h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffcc00;
    font-weight: 500;
}

.doctor-info p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
}
.doctor-info h3 {
    color: white;
    margin-bottom: 0.5rem;
}
.crm {
    font-weight: bold;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    display: inline-block;
    margin-top: 1rem;
}


/* Animations */

@keyframes fadeInUp {

    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* Section Styles */

.section {
    padding: 5rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray-medium);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */

.about {
    background: var(--gray-light);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;

}

.about-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    /*height: 400px;*/
    /*width: 400px;
    max-width: 800px;
    /*max-height: 400px;*/
    /*overflow: hidden;*/
    
}

/*
        .about-image::before {
            content: '';
            position: absolute;
            top: 30px;
            left: 20px;
            right: 20px;
            bottom: 20px;
            background: var(--gradient-primary);
            border-radius: var(--border-radius);
            z-index: -1;
        }*/
.img1 {
    margin-bottom: 50%;
    display: block;
}

.about-img {
    height: 0px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
    box-shadow: var(--shadow-medium);

}

.user-md {
    width: 0px;
    height: 0px;


    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
}



.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}



.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-medium);
    margin-bottom: 2rem;
}



.stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}



.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}



.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}



.stat-label {
    color: var(--gray-medium);
    font-size: 0.9rem;
}



/* Services Section */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}



.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}



.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}



.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}



.service-title {

    font-size: 1.3rem;

    font-weight: 600;

    margin-bottom: 1rem;

    color: var(--dark-color);

}



.service-description {

    color: var(--gray-medium);

    line-height: 1.6;

}

/* Quote Section vercao 1*/
.quote-section {
    background: var(--gradient-primary);
    color: white;
    text-align: center;
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.quote-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url('/img/miomas-uterinos-diagnostico-y-tratamiento.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
}

.quote-text {
    font-size: 1.8rem;
    font-style: italic;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
    line-height: 1.8;
}

.quote-text .fa-quote-left,
.quote-text .fa-quote-right {
    color: var(--secondary-color);
    margin: 0 10px;
    font-size: 1.5rem;
    opacity: 0.8;
}

.quote-author {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.author-role {
    display: block;
    font-size: 1rem;
    opacity: 0.7;
    margin-top: 5px;
}


/* Quote Section vercao 1*/
/*.quote-section {
   background: linear-gradient(135deg, rgba(26, 42, 108, 0.85), rgba(43, 88, 118, 0.9)),
        url('/images/fundo/miomas-uterinos-diagnostico-y-tratamiento.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

.quote-section {

    color: white;
    text-align: center;
}

.quote-text {
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.quote-text .fa-quote-left,

.quote-text .fa-quote-right {
    color: var(--secondary-color);
    margin: 0 10px;
}

.quote-author {
    font-size: 1.1rem;
    opacity: 0.9;
}
*/

/* Locations Section */
.locations {
    background: var(--gray-light);
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}



.location-card {

    background: white;

    border-radius: var(--border-radius);

    box-shadow: var(--shadow-light);

    overflow: hidden;

    transition: var(--transition);

}



.location-card:hover {

    transform: translateY(-3px);

    box-shadow: var(--shadow-medium);

}



.location-header {

    background: var(--gradient-primary);

    color: white;

    padding: 1.5rem;

    text-align: center;

}



.location-icon {

    font-size: 2rem;

    margin-bottom: 0.5rem;

}



.location-content {

    padding: 2rem;

}



.location-info {

    display: flex;

    align-items: center;

    margin-bottom: 1rem;

    gap: 1rem;

}



.location-info i {

    color: var(--primary-color);

    width: 20px;

}



.location-btn {

    width: 100%;

    margin-top: 1rem;

    justify-content: center;

}



/* Contact Section */

.contact {

    background: var(--gradient-primary);

    color: white;

}



.contact-container {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 4rem;

    align-items: center;

}



.contact-info h2 {

    color: white;

    margin-bottom: 1.5rem;

}



.contact-description {

    margin-bottom: 2rem;

    opacity: 0.9;

}



.contact-item {

    display: flex;

    align-items: center;

    gap: 1rem;

    margin-bottom: 1.5rem;

}



.contact-icon {

    width: 50px;

    height: 50px;

    background: rgba(255, 255, 255, 0.2);

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 1.2rem;

}



.contact-form {

    background: rgba(255, 255, 255, 0.1);

    backdrop-filter: blur(10px);

    padding: 2rem;

    border-radius: var(--border-radius);

    border: 1px solid rgba(255, 255, 255, 0.2);

}



.contact-form h3 {

    margin-bottom: 1.5rem;

}



.contact-form .form-input,

.contact-form .form-textarea {

    background: rgba(255, 255, 255, 0.9);

    border: none;

}



/* Forms */

.form-group {

    margin-bottom: 1.5rem;

}



.form-label {

    display: block;

    margin-bottom: 0.5rem;

    font-weight: 600;

    color: var(--dark-color);

}



.form-input {

    width: 100%;

    padding: 1rem;

    border: 2px solid var(--gray-light);

    border-radius: var(--border-radius);

    font-size: 1rem;

    transition: var(--transition);

}



.form-input:focus {

    outline: none;

    border-color: var(--primary-color);

    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);

}



.form-select {

    width: 100%;

    padding: 1rem;

    border: 2px solid var(--gray-light);

    border-radius: var(--border-radius);

    font-size: 1rem;

    background: white;

}



.form-textarea {

    width: 100%;

    padding: 1rem;

    border: 2px solid var(--gray-light);

    border-radius: var(--border-radius);

    font-size: 1rem;

    resize: vertical;

    min-height: 100px;

}



/* Footer */

.footer {

    background: var(--dark-color);

    color: white;

    padding: 3rem 0 1rem;

}



.footer-container {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));

    gap: 2rem;

    margin-bottom: 2rem;

}



.footer-section h3 {

    margin-bottom: 1rem;

    color: var(--secondary-color);

}



.footer-description {

    margin-bottom: 1rem;

    opacity: 0.8;

}



.footer-links {

    list-style: none;

}



.footer-links li {

    margin-bottom: 0.5rem;

}



.footer-links a {

    color: rgba(255, 255, 255, 0.8);

    text-decoration: none;

    transition: var(--transition);

}



.footer-links a:hover {

    color: var(--secondary-color);

}



.social-links {

    display: flex;

    gap: 1rem;

}



.social-link {

    width: 40px;

    height: 40px;

    background: var(--primary-color);

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    color: white;

    text-decoration: none;

    transition: var(--transition);

}



.social-link:hover {

    background: var(--secondary-color);

    transform: translateY(-2px);

}



.footer-bottom {

    text-align: center;

    padding-top: 2rem;

    border-top: 1px solid rgba(255, 255, 255, 0.1);

    color: rgba(255, 255, 255, 0.6);

}



/* Modal */

.modal {

    display: none;

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background: rgba(0, 0, 0, 0.5);

    backdrop-filter: blur(5px);

    z-index: 2000;

    animation: fadeIn 0.3s ease;

}



.modal.show {

    display: flex;

    align-items: center;

    justify-content: center;

}



.modal-content {

    background: white;

    border-radius: var(--border-radius);

    padding: 2rem;

    width: 90%;

    max-width: 500px;

    max-height: 90vh;

    overflow-y: auto;

    position: relative;

    animation: slideInUp 0.3s ease;

}



@keyframes fadeIn {

    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }

}



@keyframes slideInUp {

    from {

        opacity: 0;

        transform: translateY(50px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}



.modal-close {

    position: absolute;

    top: 1rem;

    right: 1rem;

    background: none;

    border: none;

    font-size: 1.5rem;

    cursor: pointer;

    color: var(--gray-medium);

}



.modal-title {

    margin-bottom: 1.5rem;

    color: var(--primary-color);

}



/* Success Message */

.success-message {

    background: var(--success-color);

    color: white;

    padding: 1rem;

    border-radius: var(--border-radius);

    margin-bottom: 1rem;

    display: none;

}



.success-message.show {

    display: block;

}



/* Scroll to Top */

.scroll-top {

    position: fixed;

    bottom: 2rem;

    right: 2rem;

    width: 50px;

    height: 50px;

    background: var(--primary-color);

    border: none;

    border-radius: 50%;

    color: white;

    font-size: 1.2rem;

    cursor: pointer;

    transition: var(--transition);

    transform: scale(0);

    z-index: 1000;

}



.scroll-top.show {

    transform: scale(1);

}



.scroll-top:hover {

    background: var(--secondary-color);

    transform: scale(1.1);

}



/* Animation for elements coming into view */

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}



.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}



/* Responsive Design */

@media (max-width: 768px) {

    .nav-menu {

        position: fixed;

        top: 100%;

        left: 0;

        width: 100%;

        background: rgba(255, 255, 255, 0.98);

        backdrop-filter: blur(10px);

        flex-direction: column;

        padding: 2rem;

        transition: var(--transition);

        transform: translateY(-100%);

        opacity: 0;

        visibility: hidden;

    }



    .nav-menu.active {

        transform: translateY(0);

        opacity: 1;

        visibility: visible;

    }



    .nav-toggle {

        display: flex;

    }



    .hero-container {

        grid-template-columns: 1fr;

        text-align: center;

        gap: 2rem;

    }



    .hero-title {

        font-size: 2.5rem;

    }



    .about-container,

    .contact-container {

        grid-template-columns: 1fr;

        gap: 2rem;

    }



    .locations-grid {

        grid-template-columns: 1fr;

    }



    .stats {

        grid-template-columns: 1fr;

    }



    .hero-buttons {

        justify-content: center;

    }



    .section-title {

        font-size: 2rem;

    }



    .modal-content {

        padding: 1.5rem;

        margin: 1rem;

    }

}



@media (max-width: 480px) {

    .hero-title {

        font-size: 2rem;

    }



    .btn {

        padding: 0.8rem 1.5rem;

        font-size: 0.9rem;

    }



    .service-card {

        padding: 2rem 1.5rem;

    }



    .location-content {

        padding: 1.5rem;

    }



    .contact-form {

        padding: 1.5rem;

    }

}

.page-header {
    padding: 12rem 0 4rem;
    background: var(--gradient-primary);
    color: white;
    text-align: center;
}

.page-header-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-header-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    opacity: 0.8;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    opacity: 0.8;
}

.breadcrumb i {
    font-size: 0.8rem;
}

/* About Page Specific Styles */
.about-page {
    background: white;
}

.about-page .about-img {
    height: 500px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.about-page .about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Education Timeline */
.education {
    background: var(--gray-light);
}

.education-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.education-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    height: 100%;
    width: 2px;
    background: var(--primary-color);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-medium);
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    max-width: 350px;
    margin: 0 2rem;
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.timeline-date {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.5rem;
}

/* Philosophy Section */
.philosophy {
    background: white;
}

.philosophy-container {
    max-width: 1000px;
    margin: 0 auto;
}

.philosophy-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--dark-color);
    text-align: center;
}

.philosophy-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--gray-medium);
    margin-bottom: 3rem;
    text-align: center;
}

.philosophy-principles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.principle-item {
    text-align: center;
    padding: 2rem;
    background: var(--gray-light);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.principle-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.principle-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: white;
}

.principle-item h4 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.principle-item p {
    color: var(--gray-medium);
    line-height: 1.6;
}

/* Service Detail Sections */
.service-detail {
    padding: 4rem 0;
}

.service-detail.alternate {
    background: var(--gray-light);
}

.service-detail-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.service-detail-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.service-detail-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-medium);
    margin-bottom: 2rem;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-item i {
    color: var(--success-color);
    font-size: 1.2rem;
}

.feature-item span {
    color: var(--dark-color);
    font-weight: 500;
}

.service-detail-image {
    display: flex;
    justify-content: center;
}
.service-img1 {
    width: 300px;
    height: 300px;
    background-image: url('/img/patologia.png');
    background-size: cover;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    box-shadow: var(--shadow-heavy);
}

.service-img2 {
    width: 300px;
    height: 300px;
    background-image: url('/img/prenatal1_resized_720.jpg');
    background-size: cover;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    box-shadow: var(--shadow-heavy);
}

.service-img3 {
    width: 300px;
    height: 300px;
    background-image: url('/img/fertilidade.jpg');
    background-size: 453px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    box-shadow: var(--shadow-heavy);
}

.service-img4 {
     width: 300px;
    height: 300px;
    background-image: url('/img/PLANEJAMENTO-FAMILIAR-2.jpg');
    background-size: cover; /* Mudança: de 453px para cover */
    background-position: center; /* Adicionado para centralizar a imagem */
    background-repeat: no-repeat; /* Evita repetição da imagem */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    box-shadow: var(--shadow-heavy);
}

.service-img5 {
    width: 300px;
    height: 300px;
    background-image: url('/img/Exame-preventivo-ginecologico.jpg');
    background-size: cover;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    box-shadow: var(--shadow-heavy);
}

.service-img6 {
    width: 300px;
    height: 300px;
    background-image: url('/img/gine2.jpg');
    background-size: 440px;
    background-repeat: no-repeat;
    background-position: left center; /* Move a imagem para a esquerda */
    /* Ou use valores específicos como: */
    /* background-position: 20% center; */ 
    /* background-position: -30px center; */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    box-shadow: var(--shadow-heavy);
}
.service-img7 {
    width: 300px;
    height: 300px;
    background-image: url('/img/meno.jpg');
    background-size: cover;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    box-shadow: var(--shadow-heavy);
}


/* Service Links */
.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    margin-top: 1rem;
    transition: var(--transition);
}

.service-link:hover {
    gap: 1rem;
    color: var(--secondary-color);
}

.service-link i {
    transition: var(--transition);
}

/* Procedures Section */
.procedures {
    background: var(--gray-light);
}

.procedures-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.procedure-item {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.procedure-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.procedure-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
}

.procedure-item h4 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.procedure-item p {
    color: var(--gray-medium);
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    background: var(--gradient-primary);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Design for New Pages */
@media (max-width: 768px) {
    .page-header-content h1 {
        font-size: 2.5rem;
    }

    .education-timeline::before {
        left: 30px;
    }

    .timeline-item {
        flex-direction: row !important;
        margin-left: 60px;
    }

    .timeline-item:nth-child(even) {
        flex-direction: row !important;
    }

    .timeline-content {
        margin-left: 2rem;
        margin-right: 0;
    }

    .service-detail-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-detail.alternate .service-detail-container {
        grid-template-columns: 1fr;
    }

    .philosophy-principles {
        grid-template-columns: 1fr;
    }

    .procedures-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 10rem 0 3rem;
    }

    .page-header-content h1 {
        font-size: 2rem;
    }

    .timeline-content {
        padding: 1.5rem;
    }

    .service-img {
        width: 200px;
        height: 200px;
        font-size: 3rem;
    }

    .philosophy-text {
        font-size: 1.1rem;
    }
}

.services-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-preview-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-preview-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.services-cta {
    text-align: center;
    margin-top: 2rem;
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

/* About Preview Section */
.about-preview {
    background: var(--gray-light);
}

.about-preview-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-preview-image {
    position: relative;
}

.about-preview-img {
    height: 500px;
    width: 80%;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.about-preview-img img {
    width: 150%;
    height:  108%;
    object-fit: container;
}

.about-preview-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.about-preview-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-medium);
    margin-bottom: 2rem;
}

.preview-highlights {
    margin-bottom: 2rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
}

.highlight-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    width: 20px;
}

.highlight-item span {
    color: var(--dark-color);
    font-weight: 500;
}

.about-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Responsive Design for New Sections */
@media (max-width: 768px) {
    .services-preview-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-preview-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .about-preview-content h2 {
        font-size: 2rem;
    }

    .about-cta {
        justify-content: center;
    }

    .btn-large {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .service-preview-card {
        padding: 2rem 1.5rem;
    }

    .about-preview-img {
        height: 300px;
    }

    .about-cta {
        flex-direction: column;
        align-items: center;
    }

    .preview-highlights {
        text-align: left;
    }
}