/* GERAL */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

:root {
    --primary-color: #fff;
    --secondary-color: #f8f9fa;
    --accent-color: #8f12b5; /* Cor principal de destaque */
    --text-color: #2a2a2a;
    --border-color: #e5e7eb;
    --highlight: #8f12b5; /* Alias para a cor de destaque, mantendo a consistência */
}

body {
    background-color: var(--primary-color);
    color: var(--text-color);
    overflow-x: hidden;
    padding-top: 88px; /* Espaço para a navbar fixa */
}

button:hover {
    box-shadow: 0px 0px 8px var(--accent-color);
    transform: scale(1.05);
}

.interface { /* Classe para limitar largura e centralizar conteúdo em todas as seções */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

/* NAVBAR */
.navbar {
    padding: 1.5rem 5%;
    background-color: mistyrose;
    position: fixed;
    width: 100%;
    z-index: 1000;
    top: 0; /* Garante que a navbar fique no topo */
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-color);
    letter-spacing: -1px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--highlight);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Botão do Menu Hambúrguer (desktop: oculto) */
.hamburger-menu {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--accent-color);
    cursor: pointer;
    z-index: 1001;
}

/* Menu Hambúrguer (mobile: ativo) */
.nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: mistyrose;
    border-top: 1px solid var(--border-color);
    padding: 1rem 5%;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.3s ease-out forwards;
}

.nav-links.active a {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 100%;
}

.nav-links.active a:last-child {
    border-bottom: none;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}


/* HERO SECTION */
.hero {
    height: calc(100vh - 88px); /* Ajuste a altura para telas maiores, subtraindo o padding do body */
    background: linear-gradient(45deg, rgba(255, 228, 225, 0.658), rgba(255, 228, 225, 0.888)), url(img/bg.jpg) center/cover fixed;
    display: flex;
    align-items: center;
    padding: 0 10%;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    transform: translateY(50px);
    opacity: 0;
    animation: slideUp 1s forwards 0.5s;
    text-align: left;
}

@keyframes slideUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    line-height: 1.1;
    position: relative;
}

.hero-content h1 span {
    color: var(--highlight);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    max-width: 600px;
    line-height: 1.6;
}

.cta-container {
    display: flex;
    gap: 1.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.cta-button {
    padding: 1.2rem 2.5rem;
    background-color: var(--highlight);
    color: var(--primary-color);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
}

.cta-button.secondary {
    background-color: transparent;
    color: var(--highlight);
    border: 2px solid var(--highlight);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    color: var(--highlight);
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-30px);
    }
    60% {
        transform: translateY(-15px);
    }
}

                                                        /* WHY CHOOSE SECTION */
/* Estilos principais da seção */
.why-choose {
    padding: 8rem 0;
    background-color: var(--primary-color);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--accent-color);
}

.section-subtitle {
    color: #777474;
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* Modificações para o layout dos blocos */
.benefits-grid {
    display: flex; /* Permite que os itens fiquem lado a lado */
    overflow-x: auto; /* Adiciona rolagem horizontal se necessário */
    scroll-behavior: smooth; /* Deixa a rolagem mais suave */
    gap: 20px; /* Espaçamento entre os blocos */
    padding: 10px 0;
    -ms-overflow-style: none; /* Esconde a barra de rolagem no IE/Edge */
    scrollbar-width: none; /* Esconde a barra de rolagem no Firefox */
    justify-content: flex-start; /* Alinha os blocos ao início */
}

/* Esconde a barra de rolagem no Chrome/Safari */
.benefits-grid::-webkit-scrollbar {
    display: none;
}

/* Estilos de cada bloco individual */
.benefits-card {
    flex-shrink: 0; /* Impede que os blocos encolham */
    width: 500px; /* Define uma largura fixa para cada bloco (ajuste se precisar) */
    min-width: 200px;
    height: auto; /* A altura se adapta ao conteúdo */
    aspect-ratio: unset; /* Remove a proporção fixa */
    padding: 1.5rem;
    border-radius: 12px;
    background-color: rgb(251, 244, 244) ;
    border: 1px solid var(--border-color);
    transition: transform 0.3s;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Alinha o conteúdo ao topo do bloco */
    align-items: center;
}

.benefits-card:hover {
    transform: translateY(-5px);
}

/* Estilos dos elementos dentro do bloco */
.benefit-icon {
    width: 70px; /* Diminui o tamanho do ícone */
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 0;
    margin-bottom: 0.8rem; /* Ajusta o espaçamento */
}

.benefit-icon i {
    color: var(--highlight);
    font-size: 45px; /* Diminui o tamanho do ícone */
}

.benefits-card h3 {
    margin-top: 0.5rem;
    font-size: 1.5rem;
}

.benefits-card p {
    font-size: 1rem; /* Diminui o tamanho da fonte */
    line-height: 1.4;
    margin-top: 0.5rem;
}

/* Estilos gerais para a seção de marcas */
.marcas-section {
    padding: 40px 0;
    text-align: center;
    background-color: #ffffff; /* Fundo branco, se necessário */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-title {
    font-size: 2.2em;
    font-weight: 700;
    color: #222;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

/* Linha azul embaixo do título */
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #3f51b5; /* Cor azul */
    margin: 8px auto 0;
    border-radius: 2px;
}

/* Estilos do carrossel e das setas */
.marcas-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px; /* Espaço entre a seta e o wrapper dos logos */
    margin-top: 30px;
}

.marcas-wrapper {
    display: flex;
    overflow-x: auto; /* Permite a rolagem horizontal */
    scroll-behavior: smooth;
    gap: 30px;
    -ms-overflow-style: none; /* Esconde a barra de rolagem no Internet Explorer e Edge */
    scrollbar-width: none; /* Esconde a barra de rolagem no Firefox */
    padding: 10px 0;
    justify-content: flex-start; /* Alinha os logos ao início por padrão */
}

/* Esconde a barra de rolagem para navegadores baseados em WebKit (Chrome, Safari) */
.marcas-wrapper::-webkit-scrollbar {
    display: none;
}

/* Estilos para cada logo */
.marcas-logo {
    flex-shrink: 0; /* Impede que os logos encolham */
    width: 160px; /* Largura fixa para cada logo */
    height: 80px; /* Altura fixa para cada logo */
    display: flex;
    align-items: center;
    justify-content: center;
}

.marcas-logo img {
    max-width: 100%;
    max-height: 100%;
    filter: grayscale(0%); /* Remove o efeito de escala de cinza, se existir */
    opacity: 1; /* Garante que a imagem esteja totalmente visível */
    transition: transform 0.3s ease;
}

/* Efeito de hover nos logos */
.marcas-logo img:hover {
    transform: scale(1.05);
}

/* Estilos das setas de navegação */
.carousel-arrow {
    background-color: #e0e0e0;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.5em;
    font-weight: bold;
    color: #555;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s, color 0.3s;
    flex-shrink: 0;
}

.carousel-arrow:hover {
    background-color: #d0d0d0;
    color: #333;
}

/* Media Queries para responsividade */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.8em;
    }

    .marcas-carousel {
        justify-content: space-between;
    }

    .marcas-wrapper {
        justify-content: flex-start;
        padding: 0;
    }
}

/* SECTION SOBRE */
section.sobre {
    padding: 8rem 0;
    background-color: var(--primary-color);
}

section.sobre .flex {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
    justify-content: center;
}

.sobre .img-sobre {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    text-align: center;
}

.sobre .img-sobre img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.sobre .txt-sobre {
    flex: 1;
    min-width: 300px;
    color: var(--text-color);
    text-align: left;
}

.sobre .txt-sobre h2 {
    font-size: 45px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.sobre .txt-sobre h2 span {
    color: var(--highlight);
    display: block;
}

.sobre .txt-sobre p {
    margin: 15px 0;
    text-align: justify;
    line-height: 1.6;
}

/* RODAPÉ */
footer.footer {
    background-color: mistyrose;
    color: var(--text-color);
    padding: 2rem 0; /* Padding reduzido para diminuir a altura do rodapé */
    font-size: 0.9rem;
    margin-top: 1rem; /* Margem reduzida */
}

.footer-main-content {
    display: flex;
    justify-content: center; /* Centraliza o conteúdo horizontalmente */
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 1rem; /* Margem reduzida */
}

.footer-section {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    text-align: center;
}

.footer-section h3 {
    color: var(--highlight);
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.footer-about p {
    line-height: 1.6;
    text-align: justify;
}

/* Estilos específicos para a seção de Links no rodapé */
.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: var(--highlight);
}

/* Removido o social-icons-container */

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
    color: var(--highlight);
    margin-top: 1rem; /* Margem reduzida */
}


/* CONSULTORIO PAGE */
.consultorio-page {
    padding: 10rem 0 5rem;
    background-color: var(--primary-color);
}

.consultorio-header {
    text-align: center;
    margin-bottom: 3rem;
}

.consultorio-header h1 {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.consultorio-header h2 {
    font-size: 1.8rem;
    color: var(--text-color);
    font-weight: 400;
}

.consultorio-info-grid {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: center;
}

.consultorio-text {
    flex: 2;
    min-width: 320px;
    line-height: 1.7;
    font-size: 1.1rem;
    color: #555;
}

.consultorio-text p {
    margin-bottom: 1rem;
}

.consultorio-text h3 {
    font-size: 1.6rem;
    color: var(--accent-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.consultorio-text ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.consultorio-text ul li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.consultorio-text ul li::before {
    content: '\f041';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--highlight);
    position: absolute;
    left: 0;
    top: 0;
}

.consultorio-text .mapa-link {
    color: var(--highlight);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid var(--highlight);
    padding-bottom: 2px;
    transition: all 0.3s ease;
}

.consultorio-text .mapa-link:hover {
    color: var(--accent-color);
    border-color: var(--accent-color);
}


.consultorio-image-card {
    flex: 1;
    min-width: 300px;
    max-width: 450px;
    background-color: var(--secondary-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.consultorio-image-card img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.consultorio-image-card .card-details {
    padding: 1.5rem;
    text-align: center;
    color: var(--text-color);
}

.consultorio-image-card .building-name {
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.consultorio-image-card .address,
.consultorio-image-card .city-zip {
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.consultorio-image-card .cta-button {
    margin-top: 1.5rem;
    width: 100%;
}


/* MEDIA QUERIES PARA RESPONSIVIDADE */

/* Para telas menores que 992px (desktops menores, laptops) */
@media (max-width: 992px) {
    .hero {
        height: calc(100vh - 88px);
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }
    .hero-content p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2.2rem;
    }
    .section-subtitle {
        font-size: 1rem;
    }

    .benefits-card {
        padding: 1.2rem;
    }

    .consultorio-header h1 {
        font-size: 2.5rem;
    }
    .consultorio-header h2 {
        font-size: 1.5rem;
    }
    .consultorio-text {
        font-size: 1rem;
    }
    .consultorio-text h3 {
        font-size: 1.4rem;
    }
}

/* Para telas menores que 768px (tablets em modo retrato, celulares maiores) */
@media (max-width: 768px) {
    body {
        padding-top: 66px; /* Ajuste para navbar em telas menores */
    }

    .hero {
        height: calc(100vh - 66px); /* Ajuste a altura para telas menores */
        padding: 0 5%;
        text-align: center;
    }

    .navbar {
        padding: 1rem 3%;
    }

    .nav-links {
        display: none;
    }

    .hamburger-menu {
        display: block;
    }

    .logo {
        font-size: 1.5rem;
    }

    .hero-content {
        max-width: 100%;
        padding-top: 5rem;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .cta-container {
        flex-direction: column;
        gap: 1rem;
        justify-content: center;
    }

    .cta-button {
        width: 100%;
        padding: 1rem 2rem;
        font-size: 1rem;
        justify-content: center;
    }

    .scroll-indicator {
        bottom: 1rem;
    }

    .why-choose {
        padding: 4rem 0;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .benefits-card {
        padding: 1.5rem;
        aspect-ratio: unset;
        height: auto;
    }

    .benefits-card h3 {
        font-size: 1.2rem;
    }

    .benefits-card p {
        font-size: 0.85rem;
    }

    /* Ajustes para a seção 'sobre' em telas menores */
    section.sobre {
        padding: 4rem 0;
    }

    section.sobre .flex {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .sobre .img-sobre {
        min-width: unset;
        width: 100%;
        max-width: 400px;
        margin-bottom: 1rem;
    }
    .sobre .img-sobre img {
        margin: 0 auto;
    }

    .sobre .txt-sobre {
        min-width: unset;
        width: 100%;
        text-align: center;
    }

    .sobre .txt-sobre h2 {
        font-size: 2.5rem;
        line-height: 1.3;
    }

    .sobre .txt-sobre h2 span {
        display: block;
    }

    .sobre .txt-sobre p {
        text-align: center;
    }

    /* Rodapé em telas menores */
    footer.footer {
        padding: 1.5rem 0;
    }

    .footer-main-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }

    .footer-section {
        min-width: unset;
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .footer-links ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem 1rem;
    }

    .footer-links ul li {
        margin-bottom: 0;
    }

    .footer-bottom {
        margin-top: 1rem;
    }

    .consultorio-page {
        padding: 8rem 0 4rem;
    }

    .consultorio-info-grid {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .consultorio-text,
    .consultorio-image-card {
        min-width: unset;
        width: 100%;
        max-width: 500px;
    }

    .consultorio-header h1 {
        font-size: 2rem;
    }
    .consultorio-header h2 {
        font-size: 1.2rem;
    }
    .consultorio-text {
        text-align: center;
    }
    .consultorio-text p {
        text-align: center;
    }
    .consultorio-text ul {
        text-align: left;
        padding-left: 20px;
        margin: 0 auto 1.5rem;
        max-width: fit-content;
    }
    .consultorio-text ul li::before {
        left: 0;
    }
    .consultorio-text .mapa-link {
        display: inline-block;
    }

    .consultorio-image-card .card-details {
        padding: 1rem;
    }
    .consultorio-image-card .building-name {
        font-size: 1.1rem;
    }
    .consultorio-image-card .address,
    .consultorio-image-card .city-zip {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0.8rem 2%;
    }

    .logo {
        font-size: 1.3rem;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
    }

    .benefits-card {
        padding: 1rem;
    }

    .benefit-icon i {
        font-size: 50px;
    }

    .sobre .txt-sobre h2 {
        font-size: 2rem;
    }

    .footer-section h3 {
        font-size: 1.1rem;
    }
    .footer-about p {
        font-size: 0.85rem;
    }
    .footer-links ul li a {
        font-size: 0.9rem;
    }
    .footer-bottom {
        font-size: 0.7rem;
    }

    .consultorio-page {
        padding: 7rem 0 3rem;
    }
    .consultorio-header h1 {
        font-size: 1.8rem;
    }
    .consultorio-header h2 {
        font-size: 1rem;
    }
    .consultorio-text {
        font-size: 0.9rem;
    }
    .consultorio-text h3 {
        font-size: 1.2rem;
    }
    .consultorio-image-card .card-details {
        padding: 0.8rem;
    }
}