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

body {
    font-family: 'Albert Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #333;
}

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

/* Header */
header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    height: 60px;
}

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

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 3px;
}

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

.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;
    align-items: center;
}

ul .btn-primary {
    color: #ffffff !important;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #04b4f4;
}

.btn-primary {
    background: #04b4f4;
    color: white;
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s;
    cursor: pointer;
}

.btn-primary:hover {
    background: #449cdc;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #04b4f4 0%, #449cdc 100%);
    color: white;
    text-align: center;
    padding: 80px 20px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

/* Services */
.services {
    padding: 60px 20px;
    background: #f8f9fa;
}

.services h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #1a4270;
}

.services-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
}

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

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    background: #04b4f4;
    color: white;
}

.service-card img {
    width: 100%;
    border-radius: 10px;
    height: 220px;
    object-fit: cover;
    margin-bottom: 1rem;
    transition: transform 0.3s;
}

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

.service-card h3 {
    font-size: 1.5rem;
    margin-top: 1rem;
}

/* Why Choose Us */
.why-choose {
    padding: 60px 20px;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.why-content h2 {
    font-size: 2rem;
    color: #1a4270;
    margin-bottom: 1rem;
}

.why-image {
    background-image: url("https://itamaxdiagnosticos.com.br/wp-content/uploads/2025/04/RECEPCAO.png");
    background-size: cover;
    height: 400px;
    border-radius: 10px;
}

/* Differentials */
.differentials {
    padding: 60px 20px;
    background: #f8f9fa;
}

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

.differentials-image {
    background-image: url("https://itamaxdiagnosticos.com.br/wp-content/uploads/2025/04/IMG_2141-scaled.jpg");
    background-size: cover;
    background-position: center;
    height: 500px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.differentials-content h2 {
    font-size: 2rem;
    color: #1a4270;
    margin-bottom: 1rem;
}

.differentials-subtitle {
    color: #666;
    margin-bottom: 2rem;
}

.differentials-footer {
    text-align: center;
    color: #666;
    margin-top: 2rem;
}

.accordion {
    max-width: 100%;
    margin: 0;
}

.accordion-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.accordion-header {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    transition: background 0.3s;
}

.accordion-header:hover {
    background: #f8f9fa;
}

.accordion-header.active {
    background: #04b4f4;
    color: white;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1.5rem;
}

.accordion-content.active {
    max-height: 200px;
    padding: 1.5rem;
}

/* Video Section */
.video-section {
    padding: 60px 20px;
    background: #fff;
}

.video-wrapper {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.institutional-video {
    width: 100%;
    height: auto;
    display: block;
}

/* Stats */
.stats {
    padding: 60px 20px;
    background: url('https://itamaxdiagnosticos.com.br/wp-content/uploads/2025/03/Fundo.png');
    background-size: cover;
    background-repeat: no-repeat;
    color: white;
}

.stats .container {
    position: relative;
    z-index: 1;
}

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

.stat-item h3 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

/* Partners Section */
.partners {
    padding: 60px 20px;
    background: #fff;
}

.partners h2 {
    text-align: center;
    font-size: 2rem;
    color: #1a4270;
    margin-bottom: 3rem;
}

.partners-carousel {
    position: relative;
    overflow: hidden;
}

.swiper-wrapper {
    display: flex;
    transition: transform 0.5s ease;
}

.swiper-slide {
    flex-shrink: 0;
    width: 25%;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper-slide img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 100px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s;
}

.swiper-slide img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

.swiper-button-prev,
.swiper-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: #04b4f4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: #449cdc;
}

.swiper-button-prev {
    left: 10px;
}

.swiper-button-next {
    right: 10px;
}

.swiper-button-prev::after,
.swiper-button-next::after {
    content: '';
    width: 10px;
    height: 10px;
    border-top: 2px solid white;
    border-right: 2px solid white;
}

.swiper-button-prev::after {
    transform: rotate(-135deg);
    margin-left: 3px;
}

.swiper-button-next::after {
    transform: rotate(45deg);
    margin-right: 3px;
}

/* Responsive Partners */
@media (max-width: 1024px) {
    .swiper-slide {
        width: 33.33%;
    }
}

@media (max-width: 768px) {
    .swiper-slide {
        width: 50%;
    }
}

@media (max-width: 480px) {
    .swiper-slide {
        width: 100%;
    }
}

/* Blog Section */
.blog-section {
    padding: 60px 20px;
    background: #f8f9fa;
}

.blog-section h2 {
    text-align: center;
    font-size: 2rem;
    color: #1a4270;
    margin-bottom: 3rem;
}

.blog-carousel {
    position: relative;
    overflow: hidden;
    padding: 0 50px;
}

.blog-wrapper {
    display: flex;
    transition: transform 0.5s ease;
    gap: 35px;
}

.blog-slide {
    flex: 0 0 calc(33.333% - 23.33px);
    min-width: calc(33.333% - 23.33px);
}

.blog-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.blog-image {
    display: block;
    overflow: hidden;
    height: 250px;
}

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

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.blog-content h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #1a4270;
    line-height: 1.4;
}

.blog-content h3 a {
    color: #1a4270;
    text-decoration: none;
    transition: color 0.3s;
}

.blog-content h3 a:hover {
    color: #04b4f4;
}

.blog-btn {
    display: inline-block;
    background: #04b4f4;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s;
    align-self: flex-start;
    margin-top: auto;
}

.blog-btn:hover {
    background: #449cdc;
}

.blog-button-prev,
.blog-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: #04b4f4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s;
}

.blog-button-prev:hover,
.blog-button-next:hover {
    background: #449cdc;
}

.blog-button-prev {
    left: 0;
}

.blog-button-next {
    right: 0;
}

.blog-button-prev::after,
.blog-button-next::after {
    content: '';
    width: 10px;
    height: 10px;
    border-top: 2px solid white;
    border-right: 2px solid white;
}

.blog-button-prev::after {
    transform: rotate(-135deg);
    margin-left: 3px;
}

.blog-button-next::after {
    transform: rotate(45deg);
    margin-right: 3px;
}

/* Responsive Blog */
@media (max-width: 1024px) {
    .blog-slide {
        flex: 0 0 calc(50% - 17.5px);
        min-width: calc(50% - 17.5px);
    }
}

@media (max-width: 768px) {
    .blog-carousel {
        padding: 0 40px;
    }
    
    .blog-slide {
        flex: 0 0 100%;
        min-width: 100%;
    }
    
    .blog-wrapper {
        gap: 20px;
    }
}

/* Footer */
footer {
    background: #e1e8ed;
    color: #333;
    padding: 40px 20px 20px;
}

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

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

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

.footer-section a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #04b4f4;
}

.footer-logo {
    width: 138px;
    height: auto;
    margin-bottom: 1.5rem;
}

.footer-mini-map {
    margin: 10px 0;
}

.footer-mini-map iframe {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

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

.footer-social a {
    display: inline-block;
    transition: transform 0.3s;
}

.footer-social a:hover {
    transform: scale(1.2);
}

.footer-social svg {
    fill: #333;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-section {
        text-align: center;
    }
    
    .footer-logo {
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
    
    .footer-section ul {
        padding: 0;
    }
    
    .footer-mini-map iframe {
        height: 150px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 999;
    text-decoration: none;
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background: #fff;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        padding: 80px 30px 30px;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
        transition: left 0.3s ease;
        gap: 0;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .nav-links a {
        display: block;
        padding: 15px 0;
        width: 100%;
    }
    
    .nav-links .btn-primary {
        margin-top: 20px;
        display: inline-block;
        text-align: center;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .differentials-grid {
        grid-template-columns: 1fr;
    }
    
    .differentials-image {
        height: 300px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
}