/* =========================
   VARIÁVEIS GLOBAIS
========================= */

:root {
    --cor-primaria: #168C95;
    --cor-secundaria: #D9F0EF;
    --cor-destaque: #0C6973;

    --cor-fundo: #FFFFFF;
    --cor-fundo-alternativo: #F4FAFA;

    --cor-texto: #24343A;
    --cor-texto-secundario: #66777C;

    --cor-header: #FFFFFF;
    --cor-texto-header: #24343A;

    --cor-botao: #168C95;
    --cor-texto-botao: #FFFFFF;
    --cor-hover: #0C6973;

    --cor-borda: #E1ECEC;

    --fonte-principal: "DM Sans", sans-serif;
    --fonte-titulos: "Manrope", sans-serif;

    --largura-container: 1200px;
    --altura-header: 90px;
}

/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--altura-header);
}

body {
    font-family: var(--fonte-principal);
    color: var(--cor-texto);
    background: var(--cor-fundo);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    cursor: pointer;
}

img {
    display: block;
    max-width: 100%;
}

.container {
    width: min(90%, var(--largura-container));
    margin: 0 auto;
}

/* =========================
   BOTÕES
========================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 14px 26px;

    border-radius: 10px;
    border: 2px solid transparent;

    font-size: 14px;
    font-weight: 700;

    transition: all 0.3s ease;
}

.btn-primary,
.btn-header {
    background: var(--cor-botao);
    color: var(--cor-texto-botao);
}

.btn-primary:hover,
.btn-header:hover {
    background: var(--cor-hover);
    transform: translateY(-2px);
}

.btn-outline {
    border-color: var(--cor-primaria);
    color: var(--cor-primaria);
    background: transparent;
}

.btn-outline:hover {
    background: var(--cor-secundaria);
}

/* =========================
   HEADER
========================= */

.header {
    width: 100%;
    height: var(--altura-header);

    position: sticky;
    top: 0;
    z-index: 1000;

    background: var(--cor-header);
    border-bottom: 1px solid var(--cor-borda);
}

.header-container {
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 12px;

    font-family: var(--fonte-titulos);
    font-size: 23px;
    font-weight: 800;

    color: var(--cor-texto-header);
    white-space: nowrap;
}

.logo-imagem {
    height: 65px;
    width: auto;
    max-width: 230px;
    object-fit: contain;
}

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav a {
    font-size: 14px;
    font-weight: 600;
    color: var(--cor-texto-header);

    transition: color 0.3s ease;
}

.nav a:hover {
    color: var(--cor-primaria);
}

.btn-header {
    white-space: nowrap;
}

.menu-toggle {
    display: none;

    width: 36px;
    border: none;
    background: transparent;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;

    margin: 6px 0;
    border-radius: 3px;

    background: var(--cor-texto-header);
}

/* =========================
   HERO
========================= */

.hero {
    position: relative;
    overflow: hidden;

    background: var(--cor-fundo-alternativo);

    padding: 45px 0;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;

    align-items: center;
    gap: 70px;
}

.hero-content {
    max-width: 590px;
}

.hero-tag {
    display: inline-block;

    padding: 8px 16px;
    margin-bottom: 25px;

    background: var(--cor-secundaria);
    color: var(--cor-destaque);

    border-radius: 30px;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.hero-content h1 {
    font-family: var(--fonte-titulos);
    font-size: clamp(36px, 4vw, 58px);
    font-weight: 800;

    line-height: 1.15;
    letter-spacing: -1.5px;

    margin-bottom: 25px;
}

.hero-content p {
    font-size: 17px;
    color: var(--cor-texto-secundario);

    max-width: 500px;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

/* =========================
   IMAGEM HERO
========================= */

.hero-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;

    border-radius: 24px;
    overflow: hidden;
}

.hero-image {
    display: block;
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}

/* =========================
   RESPONSIVIDADE
========================= */

@media (max-width: 1050px) {

    .nav {
        gap: 18px;
    }

    .header-logo {
        font-size: 20px;
    }

    .hero-container {
        gap: 40px;
    }

}

@media (max-width: 900px) {

    :root {
        --altura-header: 70px;
    }

    .header .btn-header {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .nav {
        display: none;

        position: absolute;
        top: 100%;
        left: 0;

        width: 100%;

        flex-direction: column;
        align-items: stretch;
        gap: 0;

        background: var(--cor-header);
        border-bottom: 1px solid var(--cor-borda);

        padding: 15px 5%;
    }

    .nav.active {
        display: flex;
    }

    .nav a {
        padding: 14px 0;
    }

    .hero {
        padding: 45px 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .hero-content {
        max-width: 700px;
    }

    .hero-image-wrapper {
        height: 420px;
    }

}

@media (max-width: 600px) {

    .header-logo {
        font-size: 19px;
    }

    .logo-imagem {
        height: 45px;
    }

    .hero {
        padding: 40px 0;
    }

    .hero-content h1 {
        font-size: 36px;
        letter-spacing: -1px;
    }

    .hero-content p {
        font-size: 15px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-image-wrapper {
        height: 320px;
        border-radius: 18px;
    }

}

/* =========================
   SOBRE A CLÍNICA
========================= */

.sobre {
    padding: 110px 0;
    background: var(--cor-fundo);
}

.sobre-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
}

.sobre-imagem {
    height: 560px;
    border-radius: 24px;
    overflow: hidden;
    background: var(--cor-secundaria);
}

.sobre-imagem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-tag {
    display: inline-block;
    margin-bottom: 20px;
    color: var(--cor-primaria);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.sobre-conteudo h2 {
    font-family: var(--fonte-titulos);
    font-size: clamp(30px, 3.5vw, 46px);
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: 25px;
}

.sobre-conteudo > p {
    color: var(--cor-texto-secundario);
    font-size: 16px;
    margin-bottom: 35px;
}

.sobre-diferenciais {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 35px;
}

.diferencial {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.diferencial-icone {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;

    width: 34px;
    height: 34px;
    border-radius: 50%;

    background: var(--cor-secundaria);
    color: var(--cor-destaque);
    font-weight: 800;
}

.diferencial h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.diferencial p {
    color: var(--cor-texto-secundario);
    font-size: 14px;
}

/* RESPONSIVIDADE */

@media (max-width: 900px) {

    .sobre {
        padding: 75px 0;
    }

    .sobre-container {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .sobre-imagem {
        height: 420px;
    }

}

@media (max-width: 600px) {

    .sobre {
        padding: 60px 0;
    }

    .sobre-imagem {
        height: 320px;
        border-radius: 18px;
    }

    .sobre-conteudo h2 {
        font-size: 32px;
    }

}

/* =========================
   TRATAMENTOS
========================= */

.tratamentos {
    padding: 100px 0;
    background: var(--cor-fundo-alternativo);
}

.section-header {
    max-width: 700px;
    margin: 0 auto 55px;
    text-align: center;
}

.section-header h2 {
    font-family: var(--fonte-titulos);
    font-size: clamp(30px, 3.5vw, 44px);
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.section-header p {
    font-size: 16px;
    color: var(--cor-texto-secundario);
}

.tratamentos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.tratamento-card {
    background: var(--cor-fundo);
    border: 1px solid var(--cor-borda);
    border-radius: 18px;

    padding: 35px 30px;

    transition: transform 0.3s ease,
                box-shadow 0.3s ease,
                border-color 0.3s ease;
}

.tratamento-card:hover {
    transform: translateY(-6px);
    border-color: var(--cor-primaria);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
}

.tratamento-icone {
    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--cor-secundaria);
    color: var(--cor-destaque);

    border-radius: 14px;
    margin-bottom: 25px;
}

.tratamento-icone svg {
    width: 29px;
    height: 29px;
    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tratamento-card h3 {
    font-family: var(--fonte-titulos);
    font-size: 19px;
    margin-bottom: 12px;
}

.tratamento-card p {
    font-size: 14px;
    color: var(--cor-texto-secundario);
    line-height: 1.7;
}

.tratamentos-footer {
    margin-top: 50px;
    text-align: center;
}

.tratamentos-footer p {
    margin-bottom: 20px;
    color: var(--cor-texto-secundario);
}

/* RESPONSIVIDADE */

@media (max-width: 900px) {

    .tratamentos {
        padding: 75px 0;
    }

    .tratamentos-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 600px) {

    .tratamentos {
        padding: 60px 0;
    }

    .tratamentos-grid {
        grid-template-columns: 1fr;
    }

    .tratamento-card {
        padding: 28px 25px;
    }

    .section-header {
        margin-bottom: 35px;
    }

}

/* =========================
   NOSSA EQUIPE
========================= */

.equipe {
    padding: 100px 0;
    background: var(--cor-fundo);
}

.equipe-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 35px;
    max-width: 950px;
    margin: 0 auto;
}

.profissional-card {
    overflow: hidden;
    border-radius: 20px;
    background: var(--cor-fundo-alternativo);
    border: 1px solid var(--cor-borda);
    transition: transform 0.3s ease,
                box-shadow 0.3s ease;
}

.profissional-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.07);
}

.profissional-imagem {
    width: 100%;
    height: 360px;
    overflow: hidden;
    background: var(--cor-secundaria);
}

.profissional-imagem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    transition: transform 0.4s ease;
}

.profissional-card:hover .profissional-imagem img {
    transform: scale(1.04);
}

.profissional-info {
    padding: 28px 30px;
}

.profissional-info h3 {
    font-family: var(--fonte-titulos);
    font-size: 21px;
    margin-bottom: 8px;
}

.profissional-especialidade {
    display: block;
    color: var(--cor-primaria);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
}

.profissional-registro {
    color: var(--cor-texto-secundario);
    font-size: 13px;
}

/* RESPONSIVIDADE */

@media (max-width: 900px) {

    .equipe {
        padding: 75px 0;
    }

    .equipe-grid {
        gap: 20px;
    }

    .profissional-imagem {
        height: 300px;
    }

}

@media (max-width: 600px) {

    .equipe {
        padding: 60px 0;
    }

    .equipe-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
    }

    .profissional-imagem {
        height: 340px;
    }

    .profissional-info {
        padding: 24px;
    }

}

/* =========================
   CONTATO
========================= */

.contato {
    padding: 100px 0;
    background: var(--cor-fundo-alternativo);
}

.contato-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
    align-items: stretch;
}

.contato-informacoes {
    padding: 40px;
    background: var(--cor-fundo);
    border: 1px solid var(--cor-borda);
    border-radius: 20px;
}

.contato-informacoes h3 {
    font-family: var(--fonte-titulos);
    font-size: 25px;
    margin-bottom: 15px;
}

.contato-descricao {
    color: var(--cor-texto-secundario);
    margin-bottom: 35px;
    font-size: 15px;
}

.contato-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 26px;
}

.contato-icone {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;

    width: 44px;
    height: 44px;

    border-radius: 12px;
    background: var(--cor-secundaria);
    color: var(--cor-destaque);
    font-size: 22px;
}

.contato-item h4 {
    font-size: 15px;
    margin-bottom: 4px;
}

.contato-item p {
    color: var(--cor-texto-secundario);
    font-size: 14px;
    overflow-wrap: anywhere;
}

.contato-informacoes .btn {
    margin-top: 10px;
}

.contato-mapa {
    min-height: 500px;
    border-radius: 20px;
    overflow: hidden;
    background: var(--cor-secundaria);
    border: 1px solid var(--cor-borda);
}

.contato-mapa iframe {
    width: 100%;
    height: 100%;
    min-height: 500px;
    border: none;
}

/* RESPONSIVIDADE */

@media (max-width: 900px) {

    .contato {
        padding: 75px 0;
    }

    .contato-container {
        grid-template-columns: 1fr;
    }

    .contato-mapa,
    .contato-mapa iframe {
        min-height: 350px;
    }

}

@media (max-width: 600px) {

    .contato {
        padding: 60px 0;
    }

    .contato-informacoes {
        padding: 28px 22px;
    }

    .contato-informacoes h3 {
        font-size: 22px;
    }

    .contato-informacoes .btn {
        width: 100%;
    }

}

/* =========================
   FOOTER
========================= */

.footer {
    padding: 75px 0 25px;
    background: var(--cor-texto);
    color: var(--cor-fundo);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 45px;
    padding-bottom: 55px;
}

.footer-col h3 {
    font-family: var(--fonte-titulos);
    font-size: 24px;
    margin-bottom: 20px;
}

.footer-col h4 {
    font-size: 16px;
    margin-bottom: 22px;
}

.footer-col p,
.footer-col nav a {
    display: block;
    font-size: 14px;
    line-height: 1.9;
    opacity: 0.8;
}

.footer-col nav a {
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.footer-col nav a:hover {
    color: var(--cor-secundaria);
}

.footer-whatsapp {
    display: inline-block;
    margin-top: 20px;
    padding: 11px 18px;

    background: var(--cor-botao);
    color: var(--cor-texto-botao);

    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;

    transition: background 0.3s ease;
}

.footer-whatsapp:hover {
    background: var(--cor-hover);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;

    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-bottom p {
    font-size: 12px;
    opacity: 0.7;
}

/* =========================
   WHATSAPP FLUTUANTE
========================= */

.whatsapp-flutuante {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 999;

    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #25D366;
    color: #FFFFFF;

    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);

    transition: transform 0.3s ease;
}

.whatsapp-flutuante:hover {
    transform: scale(1.1);
}

.whatsapp-flutuante svg {
    width: 31px;
    height: 31px;
}

/* =========================
   RESPONSIVIDADE FOOTER
========================= */

@media (max-width: 900px) {

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }

}

@media (max-width: 600px) {

    .footer {
        padding-top: 55px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .whatsapp-flutuante {
        width: 52px;
        height: 52px;
        bottom: 20px;
        right: 20px;
    }

}

/* =========================
   HEADER MOBILE
   NAVEGAÇÃO SEM HAMBÚRGUER
========================= */

@media (max-width: 900px) {

    :root {
        --altura-header: 110px;
    }

    .header {
        height: auto;
        min-height: var(--altura-header);
    }

    .header-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 12px;
        padding: 12px 0;
    }

    .header-logo {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .nav {
        display: flex;
        position: static;
        width: 100%;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 20px;

        padding: 8px 0;
        margin: 0;

        background: transparent;
        border: none;
        box-shadow: none;

        overflow-x: auto;
        white-space: nowrap;
        scrollbar-width: none;
    }

    .nav::-webkit-scrollbar {
        display: none;
    }

    .nav a {
        display: inline-block;
        flex-shrink: 0;
        font-size: 12px;
        padding: 5px 0;
    }

    .menu-toggle,
    .btn-header {
        display: none;
    }

}

@media (max-width: 600px) {

    .header-container {
        padding: 10px 0;
    }

    .nav {
        gap: 16px;
    }

    .nav a {
        font-size: 11px;
    }

}

/* =========================
   AJUSTES FINAIS DO HEADER MOBILE
========================= */

@media (max-width: 900px) {

    .header-container {
        gap: 8px;
        padding: 10px 0;
    }

    .nav {
        justify-content: center;
        gap: 14px;
        padding: 8px 0;
    }

    .nav a {
        font-size: 12px;
        line-height: 1.4;
        text-align: center;
    }

    .btn-header {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        max-width: 240px;
        margin: 2px auto 0;
        padding: 10px 16px;
        font-size: 12px;
    }

}

@media (max-width: 600px) {

    .nav {
        gap: 12px;
    }

    .nav a {
        font-size: 11px;
    }

}

/* =========================
   WHATSAPP FLUTUANTE
========================= */

.whatsapp-flutuante {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 56px;
    height: 56px;
    border-radius: 50%;

    background-color: #25D366;
    color: #FFFFFF;

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.whatsapp-flutuante svg {
    width: 30px;
    height: 30px;
}

@media (max-width: 600px) {
    .whatsapp-flutuante {
        bottom: 16px;
        right: 16px;
        width: 50px;
        height: 50px;
    }

    .whatsapp-flutuante svg {
        width: 27px;
        height: 27px;
    }
}
@media (max-width: 600px) {

    .hero-image-wrapper {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
        border-radius: 16px;
        overflow: hidden;
    }

    .hero-image {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center;
    }

}