/* =====================================================
   RESET
===================================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f6f7f7;
    color: #13233b;
    overflow-x: hidden;
}

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

a {
    color: inherit;
}


/* =====================================================
   CONTAINER
===================================================== */

.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}


/* =====================================================
   HERO
===================================================== */

.hero-equipe {
    position: relative;

    /*
       Não usamos uma altura fixa pequena.
       O conteúdo determina a altura mínima.
    */
    min-height: 610px;

    background:
        linear-gradient(
            90deg,
            rgba(19, 35, 59, 0.96) 0%,
            rgba(19, 35, 59, 0.88) 45%,
            rgba(19, 35, 59, 0.55) 75%,
            rgba(19, 35, 59, 0.35) 100%
        ),
        url("../Imagens/teste1.png");

    background-size: cover;
    background-position: center;

    display: flex;
    align-items: center;

    overflow: hidden;
}


/* Conteúdo interno do Hero */

.hero-equipe-content {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 480px);
    align-items: center;
    gap: 70px;

    padding: 70px 0;
}


/* =====================================================
   TEXTO DO HERO
===================================================== */

.hero-text {
    max-width: 700px;
    color: #ffffff;

    position: relative;
    z-index: 2;
}

.hero-label {
    display: inline-block;

    color: #67cbbf;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 3px;

    margin-bottom: 22px;
}

.hero-text h1 {
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.08;

    font-weight: 700;

    margin-bottom: 28px;

    color: #ffffff;
}

.hero-text h1 strong {
    color: #67cbbf;
    font-weight: 800;
}

.hero-text p {
    max-width: 620px;

    font-size: 19px;
    line-height: 1.75;

    color: rgba(255, 255, 255, 0.86);

    margin-bottom: 32px;
}


/* =====================================================
   BOTÃO DO HERO
===================================================== */

.hero-button {
    display: inline-flex;
    align-items: center;
    gap: 14px;

    padding: 14px 22px;

    background: #67cbbf;
    color: #13233b;

    text-decoration: none;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 0.8px;

    border-radius: 50px;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.hero-button span {
    font-size: 18px;
    line-height: 1;
}

.hero-button:hover {
    background: #7bd8cd;

    transform: translateY(-2px);

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
}


/* =====================================================
   IMAGEM DO HERO
===================================================== */

.hero-image {
    position: relative;

    display: flex;
    justify-content: center;
    align-items: center;

    min-height: 360px;
}

.hero-image-box {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 430px;

    background: rgba(255, 255, 255, 0.96);

    border-radius: 24px;

    padding: 20px;

    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.22);
}

.hero-image-box img {
    width: 100%;
    height: 330px;

    object-fit: contain;

    border-radius: 16px;
}


/* Detalhe decorativo */

.hero-decoration {
    position: absolute;

    width: 230px;
    height: 230px;

    right: -15px;
    bottom: -25px;

    border-radius: 50%;

    background: rgba(103, 203, 191, 0.18);

    z-index: 1;
}


/* =====================================================
   INTRODUÇÃO
===================================================== */

.intro-equipe {
    background: #ffffff;

    padding: 85px 0;
}

.intro-grid {
    display: grid;

    grid-template-columns: 1.3fr 0.7fr;

    gap: 80px;

    align-items: center;
}

.intro-text {
    max-width: 720px;
}

.section-label {
    display: inline-block;

    color: #57a695;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 3px;

    margin-bottom: 18px;
}

.intro-text h2 {
    font-size: clamp(34px, 4vw, 48px);

    line-height: 1.15;

    color: #13233b;

    margin-bottom: 24px;
}

.intro-text p {
    color: #667085;

    font-size: 17px;

    line-height: 1.8;

    margin-bottom: 18px;

    max-width: 680px;
}


/* =====================================================
   DESTAQUE DA INTRODUÇÃO
===================================================== */

.intro-highlight {
    position: relative;

    background: #f1f8f7;

    border-radius: 22px;

    padding: 38px;

    border: 1px solid rgba(103, 203, 191, 0.25);
}

.highlight-icon {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #67cbbf;
    color: #ffffff;

    font-size: 28px;
    font-weight: 300;

    margin-bottom: 24px;
}

.intro-highlight h3 {
    font-size: 23px;

    color: #13233b;

    margin-bottom: 12px;
}

.intro-highlight p {
    color: #667085;

    font-size: 15px;

    line-height: 1.75;
}


/* =====================================================
   NOSSAS EQUIPES
===================================================== */

.equipes {
    background: #f6f7f7;

    padding: 90px 0;
}

.section-header {
    display: flex;

    justify-content: space-between;
    align-items: flex-end;

    gap: 50px;

    margin-bottom: 45px;
}

.section-header h2 {
    font-size: clamp(36px, 4vw, 52px);

    line-height: 1.1;

    color: #13233b;
}

.section-header > p {
    max-width: 430px;

    color: #667085;

    font-size: 16px;

    line-height: 1.7;
}


/* =====================================================
   GRID DOS CARDS
===================================================== */

.equipes-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 22px;
}


/* =====================================================
   CARD DA EQUIPE
===================================================== */

.equipe-card {
    display: block;

    background: #ffffff;

    border-radius: 18px;

    overflow: hidden;

    text-decoration: none;

    border: 1px solid rgba(19, 35, 59, 0.06);

    box-shadow:
        0 8px 25px rgba(19, 35, 59, 0.055);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.equipe-card:hover {
    transform: translateY(-6px);

    border-color: rgba(103, 203, 191, 0.45);

    box-shadow:
        0 18px 40px rgba(19, 35, 59, 0.11);
}


/* =====================================================
   ÁREA DAS IMAGENS
===================================================== */

.equipe-image {
    width: 100%;
    height: 185px;

    display: flex;

    align-items: center;
    justify-content: center;

    overflow: hidden;

    background: #f3f7f7;

    padding: 0;
}


/*
   PRINCIPAL CORREÇÃO:

   contain faz a imagem inteira aparecer.
   Isso evita cortar cabeça, objetos, desenhos etc.
*/

.equipe-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center;

    transition: transform 0.35s ease;
}


/*
   Pequeno zoom apenas no hover,
   sem cortar a imagem.
*/

.equipe-card:hover .equipe-image img {
    transform: scale(1.04);
}


/* =====================================================
   FOTOS QUE SÃO FOTOGRAFIAS
===================================================== */

/*
   Fisioterapia e Hotelaria são arquivos fotográficos.
   Para elas usamos cover, mantendo o preenchimento
   visual do card.
*/

.equipe-image img[src$=".jpg"],
.equipe-image img[src$=".jpeg"],
.equipe-image img[src$=".jfif"] {
    object-fit: cover;
}


/* =====================================================
   INFORMAÇÕES DO CARD
===================================================== */

.equipe-info {
    padding: 20px 20px 22px;
}

.equipe-info h3 {
    color: #13233b;

    font-size: 17px;
    font-weight: 700;

    line-height: 1.3;

    margin-bottom: 10px;
}

.equipe-info span {
    display: inline-flex;
    align-items: center;

    color: #57a695;

    font-size: 12px;
    font-weight: 700;

    transition: color 0.25s ease;
}

.equipe-card:hover .equipe-info span {
    color: #16a99c;
}


/* =====================================================
   INTEGRAÇÃO
===================================================== */

.integracao {
    background: #ffffff;

    padding: 80px 0;
}

.integracao-box {
    position: relative;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 60px;

    background: #13233b;

    border-radius: 26px;

    padding: 55px 65px;

    overflow: hidden;
}

.integracao-content {
    max-width: 760px;

    position: relative;
    z-index: 2;
}

.integracao-content .section-label {
    color: #67cbbf;
}

.integracao-content h2 {
    color: #ffffff;

    font-size: clamp(32px, 4vw, 46px);

    line-height: 1.15;

    margin-bottom: 20px;
}

.integracao-content p {
    color: rgba(255, 255, 255, 0.78);

    font-size: 16px;

    line-height: 1.8;

    max-width: 700px;
}


/* =====================================================
   SÍMBOLO DA INTEGRAÇÃO
===================================================== */

.integracao-symbol {
    width: 125px;
    height: 125px;

    min-width: 125px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    border: 1px solid rgba(103, 203, 191, 0.4);

    background: rgba(103, 203, 191, 0.08);

    position: relative;
    z-index: 2;
}

.integracao-symbol span {
    color: #67cbbf;

    font-size: 60px;

    font-weight: 200;

    line-height: 1;
}


/* =====================================================
   FOOTER
===================================================== */

.footer {
    background: #13233b;

    color: #d1d5db;

    padding: 90px 0 0;

    font-size: 15px;
}

.footer-grid {
    display: grid;

    grid-template-columns: 1.2fr 1fr 1fr 1fr;

    gap: 60px;

    padding-bottom: 60px;
}

.footer-brand h3 {
    margin-top: 25px;

    font-size: 22px;

    line-height: 1.4;

    font-weight: 600;

    color: #ffffff;
}

.footer-logo {
    width: 220px;

    filter: brightness(0) invert(1);
}

.footer-contact {
    margin-top: 30px;
}

.footer-contact p {
    margin-bottom: 15px;

    font-size: 16px;

    color: #e5e7eb;

    display: flex;

    align-items: center;

    gap: 10px;
}

.footer-contact-icon {
    color: #16c2b6;

    flex-shrink: 0;
}

.socials {
    margin-top: 30px;

    display: flex;

    gap: 12px;
}

.socials a {
    width: 44px;
    height: 44px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.08);

    display: flex;

    justify-content: center;
    align-items: center;

    color: #ffffff;

    transition:
        all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    text-decoration: none;
}

.socials a:hover {
    background: #16c2b6;

    color: #13233b;

    transform: translateY(-3px);
}

.socials svg {
    transition: transform 0.3s;
}

.socials a:hover svg {
    transform: scale(1.1);
}


/* =====================================================
   COLUNAS DO FOOTER
===================================================== */

.footer-column {
    display: flex;

    flex-direction: column;
}

.footer-column h4 {
    font-size: 16px;

    text-transform: uppercase;

    letter-spacing: 1px;

    margin-bottom: 20px;

    color: #16c2b6;

    font-weight: 700;
}

.footer-column a {
    text-decoration: none;

    color: #9ca3af;

    margin-bottom: 12px;

    font-size: 15px;

    transition:
        color 0.25s ease,
        padding-left 0.25s ease;

    line-height: 1.4;
}

.footer-column a:hover {
    color: #ffffff;

    padding-left: 2px;
}

.space-top {
    margin-top: 35px;
}


/* =====================================================
   FOOTER BOTTOM
===================================================== */

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);

    padding: 30px 0;

    margin-top: 20px;

    color: #9ca3af;

    font-size: 14px;
}

.footer-bottom-flex {
    display: flex;

    justify-content: space-between;

    align-items: center;

    flex-wrap: wrap;

    gap: 20px;
}

.footer-bottom-links {
    display: flex;

    gap: 25px;
}

.footer-bottom-links a {
    color: #9ca3af;

    text-decoration: none;

    transition: color 0.25s ease;
}

.footer-bottom-links a:hover {
    color: #ffffff;
}


/* =====================================================
   TABLETS
===================================================== */

@media (max-width: 1200px) {

    .hero-equipe-content {
        grid-template-columns: 1fr 380px;

        gap: 40px;
    }

    .hero-text h1 {
        font-size: 52px;
    }

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

    .footer-grid {
        grid-template-columns: 1.2fr 1fr 1fr;
    }
}


/* =====================================================
   TABLETS / TELAS MENORES
===================================================== */

@media (max-width: 950px) {

    .hero-equipe {
        min-height: auto;
    }

    .hero-equipe-content {
        grid-template-columns: 1fr;

        padding: 75px 0;
    }

    .hero-text {
        max-width: 800px;
    }

    .hero-image {
        max-width: 480px;

        margin: 0 auto;

        width: 100%;

        min-height: auto;
    }

    .hero-image-box {
        max-width: 430px;
    }

    .intro-grid {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .intro-highlight {
        max-width: 600px;
    }

    .section-header {
        align-items: flex-start;

        flex-direction: column;

        gap: 15px;
    }

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

    .integracao-box {
        padding: 45px;
    }

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

        gap: 45px;
    }
}


/* =====================================================
   CELULAR
===================================================== */

@media (max-width: 650px) {

    .container {
        width: 88%;
    }


    /* HERO */

    .hero-equipe-content {
        width: 88%;

        padding: 55px 0 60px;

        gap: 40px;
    }

    .hero-label {
        font-size: 11px;

        letter-spacing: 2px;

        margin-bottom: 16px;
    }

    .hero-text h1 {
        font-size: 39px;

        line-height: 1.1;

        margin-bottom: 22px;
    }

    .hero-text p {
        font-size: 16px;

        line-height: 1.65;

        margin-bottom: 25px;
    }

    .hero-button {
        padding: 13px 19px;

        font-size: 10px;
    }

    .hero-image-box {
        padding: 14px;

        border-radius: 18px;
    }

    .hero-image-box img {
        height: 250px;
    }


    /* INTRO */

    .intro-equipe {
        padding: 65px 0;
    }

    .intro-text h2 {
        font-size: 34px;
    }

    .intro-text p {
        font-size: 15px;
    }

    .intro-highlight {
        padding: 30px;
    }


    /* EQUIPES */

    .equipes {
        padding: 65px 0;
    }

    .section-header h2 {
        font-size: 36px;
    }

    .section-header > p {
        font-size: 15px;
    }

    .equipes-grid {
        grid-template-columns: 1fr;

        gap: 18px;
    }

    .equipe-image {
        height: 200px;
    }

    .equipe-info {
        padding: 18px 20px 20px;
    }


    /* INTEGRAÇÃO */

    .integracao {
        padding: 60px 0;
    }

    .integracao-box {
        flex-direction: column;

        align-items: flex-start;

        padding: 38px 28px;

        border-radius: 22px;
    }

    .integracao-content h2 {
        font-size: 32px;
    }

    .integracao-symbol {
        width: 85px;
        height: 85px;

        min-width: 85px;
    }

    .integracao-symbol span {
        font-size: 42px;
    }
}


/* =====================================================
   CELULARES MUITO PEQUENOS
===================================================== */

@media (max-width: 400px) {

    .hero-text h1 {
        font-size: 34px;
    }

    .hero-button {
        font-size: 9px;

        padding: 12px 16px;
    }

    .hero-image-box img {
        height: 220px;
    }

    .integracao-content h2 {
        font-size: 29px;
    }
}