/* ------------------- */
/* Reset & Variáveis   */
/* ------------------- */
:root {
    --primary-color: #bf0005;
    --secondary-color: #F8F1F4;
    --dark-color: #333;
    --text-color: #666;
    --light-color: #FFF;
    --font-family: 'Poppins', sans-serif;
}

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

body {
    font-family: var(--font-family);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-color);
}

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

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

.section-title {
    text-align: center;
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 40px;
    color: #bf0005;
font-family: Raleway;
font-size: 38.213px;
font-style: normal;
font-weight: 700;
line-height: 100%; /* 38.213px */
}

.section-title2 {
    color: #484747;
    font-family: Raleway;
    font-size: 38.213px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%;
}

.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
    display: flex;
width: 523px;
padding: 20px 8.591px;
justify-content: center;
align-items: center;
gap: 8.591px;
}

.btn-primary:hover {
    background-color: #870003;
}

/* ------------------- */
/* Header              */
/* ------------------- */
.header {
    background-color: #fff;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--dark-color);
}

.nav a {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-left: 20px;
}

/* ------------------- */
/* Seção Hero          */
/* ------------------- */
.hero {
    background-color: var(--light-color);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.hero-subtitle {
    color: var(--dark-color);
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    letter-spacing: 3px;
    font-weight: 500;
    margin-bottom: 15px;
}

.hero-heading {
    font-size: 38.213px;
    font-weight: 700;
    color: #333333;
    margin: 0 0 5px 0;
    line-height: 1.1;
    font-family: 'Raleway', sans-serif;
}

.hero-heading.accent {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 400;
}

.hero-description {
    font-size: 18px;
    color: #333333;
    margin-bottom: 15px;
    max-width: 480px;
    line-height: 1.5;
    font-weight: 400;
}

.hero-bio {
    font-size: 14px;
    color: #666666;
    margin-bottom: 30px;
    max-width: 480px;
    line-height: 1.5;
}

.hero-image {
    position: relative;
}

.hero-image img {
    max-height: 650px;
    object-fit: cover;
    object-position: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    padding: 15px 20px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    max-width: 280px;
}

/* ------------------- */
/* Seção Serviços      */
/* ------------------- */
.services {
    padding: 60px 0;
}

/* Estilos para o slider de serviços */
.services-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

.services-track {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 5px;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* Esconder scrollbar para Chrome, Safari e Opera */
.services-track::-webkit-scrollbar {
    display: none;
}

.services-nav {
    background: #fff;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    z-index: 2;
}

.services-nav:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* Manter o estilo original dos cards */
.service-card {
    background-color: #fff;
    border: 1px solid #eee;
    padding: 30px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    flex: 0 0 260px;
}

.service-card {
    background-color: #fff;
    border: 1px solid #eee;
    padding: 30px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.service-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-card h3 {
    color: var(--dark-color);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* ------------------- */
/* Ajustes Seção Sobre */
/* ------------------- */
.about {
    padding: 60px 0;
}

.about-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Background vermelho para a imagem */
.about-image {
    background-color: var(--primary-color);
    border-radius: 0;
    overflow: hidden;
    max-width: 425px;
    margin-bottom: 40px;
}

.about-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* Estilo do título */
.about-title {
    font-family: 'Raleway', sans-serif;
    font-size: 32px;
    font-weight: 400;
    color: #484747;
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-title-accent {
    color: var(--primary-color);
    font-weight: 700;
}

.about-description {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 30px;
    max-width: 600px;
}

.about-subtitle {
    font-family: 'Raleway', sans-serif;
    color: #333;
    font-size: 20px;
    font-weight: 700;
    margin: 30px 0 20px;
}

/* Lista de qualificações */
.credentials-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.credentials-list li {
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 1.5;
    color: #666;
    position: relative;
    padding-left: 5px;
}

.btn-consult {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 15px 30px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    margin-top: 20px;
    transition: background-color 0.3s;
}

.btn-consult:hover {
    background-color: #870003;
    color: white;
}

/* Responsivo */
@media (min-width: 768px) {
    .about-container {
        display: grid;
        grid-template-columns: 40% 1fr;
        align-items: stretch;
        gap: 50px;
    }
    
    .about-image {
        width: 100%;
        margin-bottom: 0;
        height: 100%;
        display: flex;
        align-self: stretch;
    }
    .about-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .about-text {
        width: 100%;
    }
}

/* ------------------- */
/* Seção Depoimentos   */
/* ------------------- */
.testimonials {
    padding: 60px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.testimonial-card {
    background-color: #f9f9f9;
    padding: 25px;
    border-left: 5px solid var(--primary-color);
    border-radius: 5px;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 15px;
}

.testimonial-card h4 {
    color: var(--dark-color);
    text-align: right;
}

/* ------------------- */
/* Seção Clínica       */
/* ------------------- */
.clinic {
    padding: 60px 0;
    background-color: var(--light-color);
}

.clinic-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.clinic-details h3 {
    font-family: 'Raleway', sans-serif;
    color: #333;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.clinic-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.clinic-list li {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.5;
    color: #666;
    display: flex;
    align-items: flex-start;
}

.clinic-list li i {
    color: var(--primary-color);
    margin-right: 10px;
    min-width: 20px;
    text-align: center;
    margin-top: 3px;
}

.clinic-image {
    margin-top: 20px;
}

.clinic-image img {
    border-radius: 8px;
    width: 100%;
    height: auto;
    max-width: 100%;
}

.clinic-logo {
    text-align: center;
    margin-top: 20px;
}

.clinic-logo img {
    display: block;
    margin: 0 auto;
}

/* ------------------- */
/* Footer              */
/* ------------------- */
.footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
}

.footer p {
    margin-bottom: 5px;
}

/* ------------------- */
/* Media Queries (Responsivo) */
/* ------------------- */

/* Telas Mobile (< 768px) */
@media (max-width: 767px) {
    .hero-text {
        text-align: center;
    }
    
    .hero-image {
        margin-top: 20px;
    }
    
    .btn-primary {
        display: block;
        margin: 0 auto 20px auto;
        width: 100%;
        max-width: 100%;
    }
    
    .btn-consult {
        display: block;
        margin: 20px auto 20px auto;
        width: 100%;
        max-width: 100%;
    }
    
    .about-text {
        text-align: center;
    }
    
    .clinic-details {
        text-align: center;
    }
    
    .clinic-list li {
        justify-content: center;
        text-align: left;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .clinic-image img {
        max-width: 10%;
        margin: 0 auto;
        display: block;
    }
}

/* Telas de Tablet (>= 768px) */
@media (min-width: 768px) {
    .section-title {
        font-size: 2.5rem;
    }

    .hero-text h1 {
        font-size: 2.8rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-container, .clinic-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        align-items: center;
    }

    .about-image, .clinic-image {
        margin-bottom: 0;
        margin-top: 0;
    }

    .about-image {
        order: 1; /* A imagem fica na esquerda */
    }
    
    .about-text {
        order: 2; /* O texto fica na direita */
    }

    .clinic-text {
        order: 1;
    }

    .clinic-image {
        order: 2;
    }

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

/* Telas de Desktop (>= 1024px) */
@media (min-width: 1024px) {
    .hero-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
        text-align: left;
    }
    
    .hero-image {
        order: 2;
        margin-top: 0;
    }

    .hero-text {
        order: 1;
    }
    
    .hero-text h1 {
        font-size: 3.2rem;
    }

    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}