@import url(reset.css);

/* =========================================================
   PÁGINA SOBRE NÓS — MOBILE
========================================================= */

@media (max-width: 1200px) {

    *,
    *::before,
    *::after {
        box-sizing: border-box;
    }

    html,
    body {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        background: #ffffff;
    }

    main {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
    }

    /* =========================================================
       1. HERO BANNER — "Sobre a NORÁX"
    ========================================================= */

    .principal {
        position: relative;
        width: 100%;
        height: 390px;
        margin: 72px 0 0 0;
        padding: 0;
        overflow: hidden;
        display: block;
    }

    .principal .img {
        position: relative;
        width: 100%;
        height: 100%;
        overflow: hidden;
    }

    .principal .img img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 20%;
        display: block;
    }

    .principal .img::after {
        content: "";
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(
            180deg,
            rgba(17, 34, 64, 0.05) 0%,
            rgba(17, 34, 64, 0.25) 35%,
            rgba(17, 34, 64, 0.78) 70%,
            rgba(17, 34, 64, 0.98) 100%
        );
        z-index: 1;
        pointer-events: none;
    }

    .principal .conteudo {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        z-index: 2;
        padding: 0 20px 26px 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        box-sizing: border-box;
    }

    .principal .conteudo h2 {
        margin: 0 0 10px 0;
        color: #ffffff;
        font-family: var(--fonte-principal, 'Montserrat', sans-serif);
        font-size: 1.65rem;
        font-weight: 700;
        line-height: 1.2;
        text-align: center;
        letter-spacing: -0.3px;
    }

    .principal .conteudo p {
        max-width: 330px;
        margin: 0 auto;
        color: #ffffff;
        font-family: var(--fonte-principal, 'Montserrat', sans-serif);
        font-size: 0.84rem;
        line-height: 1.45;
        font-weight: 400;
        text-align: center;
        opacity: 0.95;
    }

    /* =========================================================
       2. QUEM SOMOS
    ========================================================= */

    .somos {
        width: 100%;
        min-height: auto;
        padding: 38px 20px 42px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        background: #fbfbfb;
        box-sizing: border-box;
        overflow: hidden;
    }

    .somos .conteudo {
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .somos .conteudo h3 {
        margin: 0 0 14px 0;
        color: var(--corPrincipal, #112240);
        font-family: var(--fonte-principal, 'Montserrat', sans-serif);
        font-size: 1.35rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.2px;
        line-height: 1.2;
    }

    .somos .conteudo .somos-destaque,
    .somos .conteudo p span {
        display: block;
        margin: 0 0 16px 0;
        color: var(--corPrincipal, #112240);
        font-family: var(--fonte-principal, 'Montserrat', sans-serif);
        font-size: 1.05rem;
        font-weight: 700;
        line-height: 1.35;
    }

    .somos .conteudo p {
        margin: 0 0 18px 0;
        color: var(--corPrincipal, #112240);
        font-family: var(--fonte-principal, 'Montserrat', sans-serif);
        font-size: 0.92rem;
        line-height: 1.6;
        font-weight: 400;
        text-align: left;
    }

    .somos .conteudo p:last-child {
        margin-bottom: 0;
    }

    .somos .imagem {
        display: none;
    }

    /* =========================================================
       3. MISSÃO / VISÃO / VALORES (IMAGENS 1 & 2)
    ========================================================= */

    .misao {
        width: 100%;
        padding: 34px 20px 40px;
        background: #f4f6f8;
        box-sizing: border-box;
    }

    .misao .cards {
        display: flex;
        flex-direction: column;
        gap: 24px;
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin: 0;
    }

    /* Cards Brancos (MISSÃO e VISÃO — IMAGEM 1) */
    .misao .card {
        width: 100%;
        background: #f8fafc;
        border: 1px solid #edf1f5;
        border-radius: 16px;
        padding: 28px 22px 0 22px;
        box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
        box-sizing: border-box;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        min-height: unset;
    }

    .misao .card h4 {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        margin: 0 0 18px 0;
        color: var(--corPrincipal, #112240);
        font-family: var(--fonte-principal, 'Montserrat', sans-serif);
        font-size: 1.25rem;
        font-weight: 700;
        text-transform: uppercase;
        text-align: center;
    }

    .misao .card h4 img {
        max-height: 28px;
        width: auto;
        display: block;
    }

    .misao .card p {
        margin: 0 0 22px 0;
        color: var(--corPrincipal, #112240);
        font-family: var(--fonte-principal, 'Montserrat', sans-serif);
        font-size: 0.92rem;
        line-height: 1.65;
        text-align: left;
    }

    .misao .card footer {
        height: 28px;
        width: calc(100% + 44px);
        margin-left: -22px;
        margin-right: -22px;
        background-color: #d2d7dc;
        border-bottom-left-radius: 16px;
        border-bottom-right-radius: 16px;
        display: block;
    }

    /* Card Escuro (VALORES / VISÃO — IMAGEM 2) */
    .misao .card.card-dark {
        background-color: #112240;
        border: none;
        border-radius: 16px;
        padding: 30px 22px 34px 22px;
        box-shadow: 0 8px 24px rgba(17, 34, 64, 0.25);
    }

    .misao .card.card-dark footer {
        display: none !important;
    }

    .misao .card.card-dark h4 {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        margin: 0 0 24px 0;
        color: #ffffff;
        font-family: var(--fonte-principal, 'Montserrat', sans-serif);
        font-size: 1.25rem;
        font-weight: 700;
        text-transform: uppercase;
        text-align: center;
    }

    .misao .card.card-dark h4 .icone-globo {
        width: 22px;
        height: 22px;
        stroke: #ffffff;
        display: block;
        flex-shrink: 0;
    }

    .misao .card.card-dark p {
        margin: 0 0 18px 0;
        color: #ffffff;
        font-family: var(--fonte-principal, 'Montserrat', sans-serif);
        font-size: 0.86rem;
        line-height: 1.5;
        opacity: 0.95;
        text-align: left;
    }

    .misao .card.card-dark p:last-of-type {
        margin-bottom: 0;
    }

    .misao .card.card-dark p span {
        display: block;
        font-size: 1.02rem;
        font-weight: 700;
        color: #ffffff;
        margin-bottom: 5px;
        opacity: 1;
    }

    /* =========================================================
       4. CONHECIMENTO MULTIDISCIPLINAR (IMAGEM 3)
    ========================================================= */

    .conhecer {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: unset !important;
        padding: 40px 20px 48px 20px !important;
        background-color: #112240 !important;
        box-sizing: border-box !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        margin: 0 !important;
        overflow: visible !important;
        margin-bottom: 25px !important;
    }

    .conhecer .esquerdo {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: unset !important;
        padding: 0 !important;
        margin: 0 0 28px 0 !important;
        box-sizing: border-box !important;
        overflow: visible !important;
    }

    .conhecer .esquerdo h3 {
        color: #ffffff !important;
        font-family: var(--fonte-principal, 'Montserrat', sans-serif) !important;
        font-size: 1.25rem !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        line-height: 1.25 !important;
        margin: 0 0 16px 0 !important;
        padding: 0 !important;
        text-align: left !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Imagem da equipa com camada branca que termina antes da parte inferior */
    .conhecer .esquerdo .imagem {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        min-height: unset !important;
        margin: 0 0 20px 0 !important;
        padding: 8px 8px 0 8px !important;
        background: transparent !important;
        box-sizing: border-box !important;
        overflow: visible !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    .conhecer .esquerdo .imagem::before {
        content: "" !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 28px !important;
        background-color: #ffffff !important;
        border-radius: 4px !important;
        z-index: 0 !important;
        pointer-events: none !important;
    }

    .conhecer .esquerdo .imagem img {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        z-index: 1 !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        border-radius: 2px !important;
        object-fit: cover !important;
    }

    .conhecer .esquerdo p {
        color: #ffffff !important;
        font-family: var(--fonte-principal, 'Montserrat', sans-serif) !important;
        font-size: 0.85rem !important;
        line-height: 1.55 !important;
        margin: 0 !important;
        padding: 0 !important;
        text-align: left !important;
        width: 100% !important;
        max-width: 100% !important;
        opacity: 0.95 !important;
        box-sizing: border-box !important;
    }

    /* Card "Conhecimento que conecta" sobre camada branca que termina antes da parte inferior */
    .conhecer .direito {
        position: relative !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: unset !important;
        margin: 10px 0 0 0 !important;
        padding: 8px 8px 0 8px !important;
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        box-sizing: border-box !important;
        overflow: visible !important;
        clear: both !important;
        z-index: 1 !important;
    }

    .conhecer .direito::before {
        content: "" !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 50px !important;
        background-color: #ffffff !important;
        border-radius: 14px !important;
        border: none !important;
        z-index: 0 !important;
        pointer-events: none !important;
        width: auto !important;
        height: auto !important;
    }

    .conhecer .direito .card-conhecer {
        position: relative !important;
        z-index: 1 !important;
        width: 100% !important;
        height: auto !important;
        background-color: #1D3662 !important;
        border-radius: 10px !important;
        padding: 24px 18px 28px 18px !important;
        box-sizing: border-box !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25) !important;
        text-align: left !important;
    }

    .conhecer .direito h3,
    .conhecer .direito .card-conhecer h3 {
        color: #ffffff !important;
        font-family: var(--fonte-principal, 'Montserrat', sans-serif) !important;
        font-size: 1.05rem !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        line-height: 1.3 !important;
        margin: 0 0 12px 0 !important;
        padding: 0 !important;
        text-align: left !important;
    }

    .conhecer .direito p,
    .conhecer .direito .card-conhecer p {
        color: #ffffff !important;
        font-family: var(--fonte-principal, 'Montserrat', sans-serif) !important;
        font-size: 0.82rem !important;
        line-height: 1.5 !important;
        margin: 0 0 16px 0 !important;
        padding: 0 !important;
        opacity: 0.95 !important;
        text-align: left !important;
    }

    .conhecer .direito ul,
    .conhecer .direito .card-conhecer ul {
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        gap: 8px !important;
        text-align: left !important;
        align-items: flex-start !important;
    }

    .conhecer .direito ul li,
    .conhecer .direito .card-conhecer ul li {
        color: #ffffff !important;
        font-family: var(--fonte-principal, 'Montserrat', sans-serif) !important;
        font-size: 0.94rem !important;
        font-weight: 500 !important;
        line-height: 1.35 !important;
        padding-left: 16px !important;
        position: relative !important;
        text-align: left !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .conhecer .direito ul li::before,
    .conhecer .direito .card-conhecer ul li::before {
        content: "•" !important;
        position: absolute !important;
        left: 0 !important;
        color: #ffffff !important;
        font-size: 1.2rem !important;
        line-height: 1 !important;
        top: 1px !important;
    }

    /* =========================================================
       5. EXCELÊNCIA LOCAL. MENTALIDADE GLOBAL. (IMAGEM 4)
    ========================================================= */

    .global {
        position: relative !important;
        width: 100% !important;
        max-width: 100% !important;
        height: 390px !important;
        min-height: 390px !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        display: block !important;
        clear: both !important;
    }

    .global .img {
        position: relative !important;
        width: 100% !important;
        height: 100% !important;
        overflow: hidden !important;
    }

    .global .img img {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center center !important;
        display: block !important;
    }

    .global .img::after {
        content: "" !important;
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        pointer-events: none !important;
        z-index: 1 !important;
        background: linear-gradient(
            180deg,
            rgba(17, 34, 64, 0.25) 0%,
            rgba(17, 34, 64, 0.65) 45%,
            rgba(17, 34, 64, 0.96) 100%
        ) !important;
    }

    .global .conteudo {
        position: absolute !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 2 !important;
        padding: 0 20px 28px 20px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-end !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }

    .global .conteudo h2 {
        color: #ffffff !important;
        font-family: var(--fonte-principal, 'Montserrat', sans-serif) !important;
        font-size: 1.25rem !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        line-height: 1.25 !important;
        margin: 0 0 12px 0 !important;
        text-align: center !important;
        letter-spacing: 0.2px !important;
        width: 100% !important;
        white-space: normal !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    .global .conteudo p {
        color: #ffffff !important;
        font-family: var(--fonte-principal, 'Montserrat', sans-serif) !important;
        font-size: 0.82rem !important;
        line-height: 1.45 !important;
        text-align: center !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        opacity: 0.95 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }
}
