/* Reset e Configurações Gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4a7c59;
    --secondary-color: #f4a261;
    --accent-color: #e76f51;
    --accent-color-dark: #c45a3f;
    --text-dark: #2d3436;
    --text-light: #636e72;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --transition: all 0.4s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--bg-light);
    padding-top: 122px; 
    transition: padding-top 0.4s ease;
}

body.scrolled {
    padding-top: 65px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.1rem 0;
    transition: var(--transition);
}

.logo img {
    height: 120px;
    width: auto;
    transition: var(--transition);
    background-color: transparent;
}
.logo img:hover {
    transform: scale(1.05);
}

.navbar.navbar-scrolled .nav-wrapper {
    padding: 0.05rem 0;
}

.navbar.navbar-scrolled .logo img {
    height: 60px;
}

.navbar.navbar-scrolled:hover .nav-wrapper {
    padding: 0.1rem 0;
}

.navbar.navbar-scrolled:hover .logo img {
    height: 120px;
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

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

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(74, 124, 89, 0.8), rgba(244, 162, 97, 0.7)), 
                url('images/hero-dog.jpg') center/cover no-repeat fixed;
    color: var(--bg-white);
    text-align: center;
    padding: 0;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 300;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 2.5rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--bg-white);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background: #d35f41;
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-lg);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-3d {
    border-bottom: 5px solid var(--accent-color-dark);
    transition: all 0.15s ease-out;
}

.btn-3d:hover {
    transform: translateY(-5px);
    border-bottom-width: 8px;
}

.btn-3d:active {
    transform: translateY(-1px);
    border-bottom-width: 5px;
    box-shadow: var(--shadow);
}

/* Mission Section */
.mission {
    background: var(--primary-color);
    color: var(--bg-white);
    padding: 4rem 0;
    text-align: center;
}

.mission-text {
    font-size: 1.5rem;
    font-weight: 300;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
    font-style: italic;
}

/* Section Styles */
section {
    padding: 6rem 0;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.section-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 4rem;
    line-height: 1.8;
}

/* How It Works Section */
.how-it-works {
    background: var(--bg-white);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.cta-section {
    text-align: center;
    margin-top: 4rem;
}

.step-card, .benefit-card, .feature-card {
    background: var(--bg-white);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    transform-style: preserve-3d;
}

.step-card:hover, .benefit-card:hover, .feature-card:hover {
    transform: perspective(1000px) rotateY(5deg) translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.step-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.step-icon, .benefit-icon, .feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.step-title, .benefit-title, .feature-title {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.step-description {
    color: var(--text-light);
    line-height: 1.6;
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.benefit-card {
    padding: 2rem;
}

.benefit-title {
    font-size: 1.1rem;
}

/* Seção Sobre Mim */
.about-me {
    background: var(--bg-white);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-top: 4rem;
}

.about-image {
    flex: 1;
    max-width: 350px;
}

.about-image img {
    width: 100%;
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
}

.about-text {
    flex: 2;
}

.about-text h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--primary-color);
}

.about-text h4 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 1rem;
}


/* Nossos Pacientes */
.patients {
    background: var(--bg-light);
}

.patients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 400px)); 
    justify-content: center;
    gap: 2.5rem;
    margin-top: 4rem;
}

.patient-card {
    background: var(--bg-white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

.patient-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.patient-photos {
    display: flex;
    gap: 0.25rem;
}

.patient-photos.single .photo-container {
    flex-basis: 100%;
}

.photo-container {
    position: relative;
    flex: 1;
}

.photo-container img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

.photo-label {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 500;
}

.patient-info {
    padding: 1.5rem;
}

.patient-info h3 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.patient-summary {
    font-style: italic;
    color: var(--text-light);
    border-left: 3px solid var(--secondary-color);
    padding-left: 1rem;
    margin: 1rem 0 1.5rem;
}

.patient-info h4 {
    margin-top: 1rem;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.1rem;
}

.patient-info p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.status-badge {
    position: absolute;
    top: 15px;
    right: -10px;
    background: var(--secondary-color);
    color: var(--bg-white);
    padding: 8px 20px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.status-badge::before {
    content: '';
    position: absolute;
    top: 100%;
    right: 0;
    border-top: 10px solid #c17d45;
    border-left: 10px solid transparent;
}


/* Custom Menus Section */
.custom-menus {
    background: var(--bg-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    padding: 2rem;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--bg-white);
    text-align: center;
}

.contact .section-title {
    color: var(--bg-white);
}

.contact-intro {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.contact-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--bg-white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.footer-section p, .footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--secondary-color);
}

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

.social-links a {
    font-size: 1.5rem;
}

.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);
}

/* ESTILOS DO MODAL REMOVIDOS */

/* Botão Voltar ao Topo */
.back-to-top-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
    z-index: 999;
}

.back-to-top-btn.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

/* Animações */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle { display: flex; }
    .nav-wrapper { padding: 0.5rem 0; }
    .nav-menu {
        position: fixed;
        top: 122px; 
        left: -100%;
        flex-direction: column;
        background: var(--bg-white);
        width: 100%;
        height: calc(100vh - 122px);
        padding: 2rem;
        box-shadow: var(--shadow);
        transition: var(--transition);
        gap: 1.5rem;
    }
    
    .navbar.navbar-scrolled .nav-menu {
        top: 65px;
        height: calc(100vh - 65px);
    }
    .navbar.navbar-scrolled:hover .nav-menu {
        top: 122px;
    }

    .nav-menu.active { left: 0; }
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.2rem; }
    .section-title { font-size: 2.2rem; }
    .mission-text { font-size: 1.2rem; }