/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: hsl(30, 15%, 20%);
    background-color: hsl(40, 20%, 97%);
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background-color: hsl(145, 40%, 25%);
    border-bottom: 1px solid hsla(145, 30%, 45%, 0.2);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 5rem;
}

.logo img {
    height: 3.5rem;
}

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

.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: white;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-hero {
    background-color: hsl(145, 30%, 45%);
    color: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.btn-hero:hover {
    background-color: hsl(145, 30%, 40%);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
}

.btn-outline {
    background-color: transparent;
    color: hsl(30, 15%, 20%);
    border: 2px solid hsl(40, 15%, 88%);
}

.btn-outline:hover {
    background-color: hsl(20, 45%, 70%);
    color: white;
    border-color: hsl(20, 45%, 70%);
}

.btn-full {
    width: 100%;
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, 
        hsla(40, 20%, 97%, 0.95), 
        hsla(40, 20%, 97%, 0.8), 
        hsla(40, 20%, 97%, 0.4));
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: 5rem 0;
}

.hero-text {
    max-width: 42rem;
}

.hero h1 {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.5rem;
    color: hsl(30, 10%, 45%);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Animations */
.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease-out 0.3s both;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1s ease-out 0.6s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* About Section */
.about {
    padding: 8rem 0;
    background: linear-gradient(to bottom, hsl(40, 20%, 97%), hsla(35, 25%, 85%, 0.3));
}

.about-content {
    max-width: 56rem;
    margin: 0 auto;
    text-align: center;
}
.about p {
    text-align: left;
}
.about h2 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.about-text {
    margin-bottom: 4rem;
}

.about-text p {
    font-size: 1.125rem;
    color: hsl(30, 10%, 45%);
    margin-bottom: 1.5rem;
}

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

.feature-card {
    background-color: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s;
}

.feature-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: hsl(30, 10%, 45%);
}

/* Services Section */
.services {
    padding: 8rem 0;
    background-color: hsl(40, 20%, 97%);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.25rem;
    color: hsl(30, 10%, 45%);
    max-width: 42rem;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    max-width: 75rem;
    margin: 0 auto;
}

.service-card {
    background-color: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.service-card:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.service-image {
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 16rem;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.service-content {
    padding: 2rem;
}

.service-content h3 {
    font-size: 1.875rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.service-content > p {
    color: hsl(30, 10%, 45%);
    margin-bottom: 1.5rem;
}

.service-content ul {
    list-style: none;
}

.service-content li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    color: hsl(30, 10%, 45%);
}

.service-content .check {
    color: hsl(145, 30%, 45%);
    margin-right: 0.5rem;
    font-weight: bold;
}

/* Contact Section */
.contact {
    padding: 8rem 0;
    background: linear-gradient(to bottom, hsla(35, 25%, 85%, 0.3), hsl(40, 20%, 97%));
}

.contact-content {
    max-width: 56rem;
    margin: 0 auto;
}

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

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

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.info-icon {
    background-color: hsla(145, 30%, 45%, 0.1);
    padding: 0.75rem;
    border-radius: 0.5rem;
    font-size: 1.5rem;
}

.info-item h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.info-item p {
    color: hsl(30, 10%, 45%);
}

.cta-card {
    background-color: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cta-card h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.cta-card > p {
    color: hsl(30, 10%, 45%);
    margin-bottom: 1.5rem;
}

.cta-note {
    font-size: 0.875rem;
    color: hsl(30, 10%, 45%);
    text-align: center;
    margin-top: 1rem;
}

/* Footer */
.footer {
    background-color: hsla(40, 20%, 92%, 0.3);
    border-top: 1px solid hsl(40, 15%, 88%);
    padding: 3rem 0;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: nowrap;
    flex-direction: column;
}

.footer-logo img {
    height: 3rem;
}

.footer-text {
    text-align: right;
}

.footer-text p {
    color: hsl(30, 10%, 45%);
}

.footer-text p:last-child {
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Modalities Section */
.modalities {
    padding: 5rem 0 8rem;
    background: linear-gradient(180deg, hsl(40, 20%, 97%) 0%, hsla(20, 45%, 70%, 0.1) 100%);
}

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

.modality-card {
    background-color: white;
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.modality-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
}

.modality-icon {
    width: 3.5rem;
    height: 3.5rem;
    background-color: hsla(145, 30%, 45%, 0.1);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.modality-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: hsl(30, 15%, 20%);
}

.modality-card p {
    color: hsl(30, 10%, 45%);
    line-height: 1.6;
}

.modalities-note {
    margin-top: 3rem;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.modalities-note p {
    font-size: 1.125rem;
    color: hsl(30, 10%, 45%);
    line-height: 1.8;
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 0;
    background: linear-gradient(135deg, hsl(40, 20%, 97%), hsl(40, 30%, 95%));
}

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

.testimonial-card {
    background: hsl(0, 0%, 100%);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.15);
}

.testimonial-rating {
    font-size: 1.25rem;
    line-height: 1;
}

.testimonial-text {
    color: hsl(40, 5%, 40%);
    line-height: 1.6;
    font-style: italic;
    flex: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid hsl(40, 20%, 90%);
}

.author-avatar {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, hsl(160, 60%, 85%), hsl(160, 50%, 75%));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    flex-shrink: 0;
}

.author-info h4 {
    margin: 0;
    color: hsl(40, 5%, 20%);
    font-size: 1rem;
    font-weight: 600;
}

.author-info p {
    margin: 0.25rem 0 0;
    color: hsl(40, 5%, 50%);
    font-size: 0.875rem;
}

/* Location Section */
.location {
    padding: 5rem 0 8rem;
    background-color: hsl(40, 20%, 97%);
}

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

.location-map {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    height: 400px;
}

.location-map iframe {
    border: 0;
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.location-item {
    background-color: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 1rem;
}

.location-icon {
    width: 3rem;
    height: 3rem;
    background-color: hsla(145, 30%, 45%, 0.1);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.location-item h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: hsl(30, 15%, 20%);
}

.location-item p {
    color: hsl(30, 10%, 45%);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    margin-top: 1rem;
    display: inline-flex;
}

/* Responsive */

/* Mobile Small (até 480px) */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .hero p {
        font-size: 1rem;
    }

    .hero-content {
        padding: 3rem 0;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .about,
    .services,
    .contact,
    .modalities,
    .testimonials,
    .location {
        padding: 4rem 0;
    }

    .section-header h2,
    .about h2 {
        font-size: 1.75rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    .feature-card,
    .modality-card,
    .testimonial-card {
        padding: 1.5rem;
    }

    .service-content {
        padding: 1.5rem;
    }

    .cta-card {
        padding: 1.5rem;
    }
}

/* Mobile (até 768px) */
@media (max-width: 768px) {
    .nav-content {
        height: 4rem;
    }

    .logo img {
        height: 2.5rem;
    }

    .nav-links {
        display: none;
    }

    .nav-content > .btn-hero {
        display: none;
    }
    .hero-text{
        margin: 0 8%;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.125rem;
    }

    .hero-overlay {
        background: linear-gradient(to bottom, 
            hsla(40, 20%, 97%, 0.95), 
            hsla(40, 20%, 97%, 0.85));
    }
    
    .about h2,
    .section-header h2 {
        font-size: 2rem;
    }

    .about,
    .services,
    .contact,
    .modalities,
    .testimonials,
    .location {
        padding: 5rem 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-image img {
        height: 12rem;
    }

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

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

    .location-map {
        height: 300px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-text {
        text-align: center;
    }
}

/* Tablet (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1.25rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
    }

    .modalities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

/* Desktop Small (1025px - 1280px) */
@media (min-width: 1025px) and (max-width: 1280px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .modalities-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}


/* Mobile Menu Styles */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.5rem;
    transition: opacity 0.3s;
}

.mobile-menu-btn:hover {
    opacity: 0.8;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 5rem;
    right: 0;
    width: 280px;
    max-width: 90vw;
    background-color: hsl(145, 40%, 25%);
    border-left: 1px solid hsla(145, 30%, 45%, 0.2);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.2);
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 40;
    height: calc(100vh - 5rem);
    overflow-y: auto;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem 1.5rem;
}

.mobile-menu-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 1.125rem;
    transition: color 0.3s;
    text-align: left;
}

.mobile-menu-link:hover {
    color: white;
}

/* Esconde nav-links e btn-cta-desktop no mobile */
@media (max-width: 767px) {
    .nav-links {
        display: none !important;
    }
    
    .btn-cta-desktop {
        display: none !important;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .mobile-menu {
        display: block;
        top: 0;
    }
}

/* Mostra nav-links e esconde mobile-menu-btn no desktop */
@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none !important;
    }
    
    .mobile-menu {
        display: none !important;
    }
    
    .nav-links {
        display: flex !important;
    }
    
    .btn-cta-desktop {
        display: inline-flex !important;
    }
}