/* ==========================================================
   ELDER ALVES ADVOCACIA
   PAGE-SOBRE.CSS
   ----------------------------------------------------------
   Página: Sobre o Advogado
========================================================== */


/* ==========================================================
   REMOVE PADRÕES DO GENERATEPRESS
========================================================== */

body.page-template-page-sobre .site-header,
body.page-template-page-sobre .main-navigation,
body.page-template-page-sobre .secondary-navigation,
body.page-template-page-sobre .inside-header,
body.page-template-page-sobre .site-branding,
body.page-template-page-sobre .site-logo,
body.page-template-page-sobre .site-description,
body.page-template-page-sobre .site-title,
body.page-template-page-sobre .page-header,
body.page-template-page-sobre .entry-header,
body.page-template-page-sobre .entry-title,
body.page-template-page-sobre .page-title {
    display: none !important;
}

body.page-template-page-sobre .site,
body.page-template-page-sobre #page,
body.page-template-page-sobre #content,
body.page-template-page-sobre .site-content,
body.page-template-page-sobre .content-area,
body.page-template-page-sobre .site-main,
body.page-template-page-sobre .inside-article,
body.page-template-page-sobre .entry-content,
body.page-template-page-sobre article,
body.page-template-page-sobre .page {
    width: 100% !important;
    max-width: 100% !important;
}

body.page-template-page-sobre .inside-article,
body.page-template-page-sobre .entry-content,
body.page-template-page-sobre .site-main,
body.page-template-page-sobre .content-area,
body.page-template-page-sobre #primary {
    margin: 0 !important;
    padding: 0 !important;
}

body.page-template-page-sobre .site-content,
body.page-template-page-sobre #content,
body.page-template-page-sobre .content-area,
body.page-template-page-sobre .site-main {
    background: transparent !important;
}

.ea-about-page {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    background: var(--white);
}


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

.ea-about-internal-hero {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 118px 0 0;
    background:
        linear-gradient(100deg, rgba(4, 15, 29, 0.96) 0%, rgba(5, 19, 34, 0.90) 42%, rgba(5, 19, 34, 0.78) 100%),
        url("../img/hero-bg.jpg");
    background-size: cover;
    background-position: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.ea-about-internal-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(2, 12, 24, 0.55) 0%, rgba(2, 12, 24, 0.22) 45%, rgba(2, 12, 24, 0.05) 100%);
    pointer-events: none;
    z-index: 1;
}

.ea-about-internal-hero::after {
    content: "";
    position: absolute;
    right: -180px;
    bottom: -180px;
    width: 520px;
    height: 520px;
    border-radius: 999px;
    background: rgba(198, 163, 106, 0.10);
    filter: blur(2px);
    z-index: 1;
    pointer-events: none;
}

.ea-about-internal-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 72px;
    align-items: end;
    min-height: 540px;
}

.ea-about-internal-image {
    position: relative;
    align-self: end;
    max-width: 560px;
}

.ea-about-internal-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5, 19, 34, 0.00) 56%, rgba(5, 19, 34, 0.32) 78%, rgba(5, 19, 34, 0.75) 100%);
    z-index: 2;
    pointer-events: none;
}

.ea-about-internal-image::after {
    content: "";
    position: absolute;
    left: 30px;
    right: 30px;
    bottom: -24px;
    height: 110px;
    background: radial-gradient(circle, rgba(198, 163, 106, 0.18), transparent 72%);
    filter: blur(18px);
    z-index: 0;
    pointer-events: none;
}

.ea-about-internal-image img {
    position: relative;
    z-index: 1;
    width: 100%;
    max-height: 540px;
    object-fit: cover;
    object-position: center top;
    display: block;
    border-radius: 0;
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.22);
    -webkit-mask-image: linear-gradient(to right, #000 0%, #000 78%, rgba(0,0,0,0.18) 94%, transparent 100%);
    mask-image: linear-gradient(to right, #000 0%, #000 78%, rgba(0,0,0,0.18) 94%, transparent 100%);
}

.ea-about-internal-content {
    max-width: 620px;
    padding-bottom: 62px;
}

.ea-about-internal-content > span {
    display: inline-block;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.82rem;
    line-height: 1.2;
    font-weight: 900;
    margin-bottom: 14px;
}

.ea-about-internal-content h1 {
    color: var(--white);
    font-size: clamp(3.4rem, 6vw, 5.2rem);
    line-height: 0.95;
    letter-spacing: -0.06em;
    margin-bottom: 10px;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
}

.ea-about-internal-content strong {
    display: block;
    color: var(--gold);
    font-size: 1.3rem;
    line-height: 1.3;
    margin-bottom: 26px;
}

.ea-about-internal-content p {
    max-width: 540px;
    color: rgba(255, 255, 255, 0.90);
    font-size: 1.18rem;
    line-height: 1.62;
    margin-bottom: 28px;
}

.ea-about-internal-content .ea-btn {
    min-width: 250px;
}


/* ==========================================================
   TRAJETÓRIA
========================================================== */

.ea-about-story {
    background: var(--white);
    padding: 92px 0;
}

.ea-about-story-grid {
    display: grid;
    grid-template-columns: 1fr 0.86fr;
    gap: 78px;
    align-items: center;
}

.ea-about-story-content > span {
    display: inline-block;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.78rem;
    font-weight: 900;
    margin-bottom: 12px;
}

.ea-about-story-content h2 {
    color: var(--primary);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    line-height: 1.08;
    letter-spacing: -0.045em;
    margin-bottom: 24px;
}

.ea-about-story-content p {
    color: #39465a;
    font-size: 1.03rem;
    line-height: 1.78;
    margin-bottom: 18px;
}

.ea-about-story-content p:last-child {
    margin-bottom: 0;
}

.ea-about-quote-card {
    min-height: 360px;
    padding: 52px;
    border-radius: 18px;
    border: 1px solid rgba(198, 163, 106, 0.42);
    background:
        radial-gradient(circle at 50% 0%, rgba(198, 163, 106, 0.08), transparent 34%),
        var(--white);
    box-shadow: 0 18px 46px rgba(5, 19, 34, 0.06);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.ea-about-quote-card blockquote {
    color: var(--primary);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.55rem, 2.8vw, 2.05rem);
    line-height: 1.42;
    text-align: center;
    font-style: italic;
    margin: 0;
}

.ea-quote-icon {
    color: var(--gold);
    font-family: Georgia, serif;
    font-size: 5rem;
    line-height: 0.7;
    opacity: 0.85;
}

.ea-quote-icon-bottom {
    align-self: flex-end;
}


/* ==========================================================
   DIFERENCIAIS
========================================================== */

.ea-about-differentials {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 70px 0 74px;
    background:
        radial-gradient(circle at 50% 0%, rgba(198, 163, 106, 0.08), transparent 32%),
        linear-gradient(180deg, #ffffff, #fbfaf7);
    border-top: 1px solid var(--ea-gray-100);
    border-bottom: 1px solid var(--ea-gray-100);
}

.ea-about-differentials .ea-section-heading {
    margin-bottom: 38px;
}

.ea-about-differentials .ea-section-heading span {
    display: block;
    text-align: center;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.78rem;
    font-weight: 900;
}

.ea-about-differentials .ea-section-heading h2,
.ea-about-differentials .ea-section-heading p {
    display: none;
}

.ea-differentials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    align-items: stretch;
}

.ea-differentials-grid article {
    text-align: center;
    padding: 0 38px;
    position: relative;
}

.ea-differentials-grid article:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 16px;
    right: 0;
    width: 1px;
    height: calc(100% - 32px);
    background: #e6dccf;
}

.ea-differentials-grid svg {
    width: 68px;
    height: 68px;
    color: var(--gold);
    display: block;
    margin: 0 auto 22px;
}

.ea-differentials-grid svg path,
.ea-differentials-grid svg circle {
    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ea-differentials-grid h3 {
    color: var(--primary);
    font-size: 1.18rem;
    line-height: 1.22;
    font-weight: 900;
    margin-bottom: 12px;
    text-align: center;
}

.ea-differentials-grid p {
    color: #39465a;
    font-size: 0.96rem;
    line-height: 1.55;
    max-width: 240px;
    margin: 0 auto;
    text-align: center;
}


/* ==========================================================
   ÁREAS NA PÁGINA SOBRE
========================================================== */

.ea-about-areas {
    background:
        linear-gradient(180deg, var(--white), var(--ea-gray-50));
}

.ea-about-areas .ea-section-heading {
    margin-bottom: 44px;
}

.ea-about-areas .ea-area-image img,
.ea-about-areas .ea-area-card > img {
    height: 142px;
}

.ea-about-areas .ea-area-icon-main {
    top: 114px;
}


/* ==========================================================
   CTA FINAL SOBRE
========================================================== */

.ea-about-final-cta {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 46px 0;
    background:
        linear-gradient(90deg, rgba(5, 19, 34, 0.96), rgba(5, 19, 34, 0.84)),
        url("../img/hero-bg.jpg");
    background-size: cover;
    background-position: center;
    color: var(--white);
}

.ea-about-final-grid {
    display: grid;
    grid-template-columns: 86px 1fr auto;
    gap: 28px;
    align-items: center;
}

.ea-about-final-icon {
    width: 74px;
    height: 74px;
    border-radius: 14px;
    border: 1px solid rgba(198, 163, 106, 0.62);
    color: var(--gold);
    display: grid;
    place-items: center;
}

.ea-about-final-icon svg {
    width: 42px;
    height: 42px;
}

.ea-about-final-icon svg path {
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ea-about-final-content h2 {
    color: var(--white);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
    margin-bottom: 10px;
}

.ea-about-final-content p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1rem;
    line-height: 1.55;
    max-width: 680px;
}

.ea-about-final-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ea-about-final-actions .ea-btn {
    min-width: 210px;
}


/* ==========================================================
   RESPONSIVO
========================================================== */

@media (max-width: 1100px) {
    .ea-about-internal-hero {
        padding: 112px 0 0;
    }

    .ea-about-internal-grid,
    .ea-about-story-grid {
        grid-template-columns: 1fr;
        gap: 52px;
        min-height: auto;
    }

    .ea-about-internal-image {
        max-width: 620px;
        margin: 0 auto;
        order: 2;
    }

    .ea-about-internal-image::before {
        background:
            linear-gradient(180deg, rgba(5, 19, 34, 0.00) 62%, rgba(5, 19, 34, 0.25) 82%, rgba(5, 19, 34, 0.70) 100%);
    }

    .ea-about-internal-image img {
        max-height: none;
        -webkit-mask-image: none;
        mask-image: none;
    }

    .ea-about-internal-content {
        order: 1;
        max-width: 760px;
        padding-bottom: 24px;
    }

    .ea-differentials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 42px 0;
    }

    .ea-differentials-grid article:nth-child(2)::after {
        display: none;
    }

    .ea-differentials-grid article:nth-child(1),
    .ea-differentials-grid article:nth-child(2) {
        padding-bottom: 34px;
    }

    .ea-differentials-grid article:nth-child(1)::before,
    .ea-differentials-grid article:nth-child(2)::before {
        content: "";
        position: absolute;
        left: 34px;
        right: 34px;
        bottom: 0;
        height: 1px;
        background: #e6dccf;
    }

    .ea-about-final-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .ea-about-final-icon {
        margin: 0 auto;
    }

    .ea-about-final-content p {
        margin: 0 auto;
    }

    .ea-about-final-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .ea-about-internal-hero {
        padding: 104px 0 0;
    }

    .ea-about-internal-grid {
        gap: 34px;
    }

    .ea-about-internal-content {
        padding-bottom: 40px;
    }

    .ea-about-internal-content h1 {
        font-size: clamp(2.9rem, 13vw, 4rem);
    }

    .ea-about-internal-content strong {
        font-size: 1.08rem;
    }

    .ea-about-internal-content p {
        font-size: 1.05rem;
        line-height: 1.6;
    }

    .ea-about-internal-image {
        max-width: 100%;
    }

    .ea-about-story {
        padding: 74px 0;
    }

    .ea-about-story-grid {
        gap: 36px;
    }

    .ea-about-story-content h2 {
        font-size: clamp(2rem, 9vw, 2.7rem);
    }

    .ea-about-story-content p {
        font-size: 1rem;
        line-height: 1.76;
    }

    .ea-about-quote-card {
        min-height: auto;
        padding: 34px 28px;
    }

    .ea-about-differentials {
        padding: 58px 0;
    }

    .ea-differentials-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .ea-differentials-grid article {
        padding: 0 0 30px;
        margin-bottom: 30px;
    }

    .ea-differentials-grid article::after,
    .ea-differentials-grid article::before {
        display: none !important;
    }

    .ea-differentials-grid article:not(:last-child) {
        border-bottom: 1px solid #e6dccf;
    }

    .ea-differentials-grid svg {
        width: 60px;
        height: 60px;
    }

    .ea-about-final-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .ea-about-final-actions .ea-btn {
        width: 100%;
    }
}