.header__toggle,
.header__mobile,
.header__mobile-call {
    display: none;
}


/* ==========================================
   MENU MOBILE - HAMBURGUER BASE
========================================== */

.header__toggle {
    display: none;

    width: 44px;
    height: 44px;

    padding: 0;
    margin: 0;

    border: 0;
    border-radius: 50%;

    background: transparent;

    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 5px;

    cursor: pointer;
}

.header__toggle span {
    display: block;

    width: 24px;
    height: 2px;

    background: var(--color-white);

    border-radius: 2px;

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}


/* ==========================================
   RESPONSIVE
========================================== */


/* ==========================================
   TABLET / HEADER COMPACTO
   <= 1300px
========================================== */

@media (max-width: 1300px) {

    .header__container {
        gap: 20px;
    }

    .header__nav {
        min-width: 0;
    }

    .header__menu {
        gap: 16px;
    }

    .header__menu a {
        font-size: 0.85rem;
    }

    .header__cta {
        margin-left: 0;
        min-width: 165px;
        min-height: 58px;
        padding: 8px 14px;
    }

    .header__cta-number {
        font-size: 0.88rem;
        gap: 6px;
    }

    .header__cta-text {
        font-size: 0.65rem;
    }
}


/* ==========================================
   TABLET
   <= 1024px
========================================== */

@media (max-width: 1024px) {

    :root {
        --section-spacing: 100px;
        --content-spacing: 70px;
    }

    .container {
        width: min(100% - 48px, var(--container-width));
    }


    /* ---------- HEADER ---------- */

    .header__container {
        gap: 24px;
    }

    .header__logo img {
        height: 54px;
    }

    .header__menu {
        gap: 13px;
    }

    .header__menu a {
        font-size: 0.8rem;
    }

    .header__cta {
        min-width: 155px;
        min-height: 56px;
        padding: 8px 12px;
    }


    /* ---------- HERO ---------- */

    .page-hero {
        height: 600px;
    }

    .page-hero__content {
        padding-top: 130px;
        padding-bottom: 70px;
    }


    /* ---------- GRIDS ---------- */

    .services-grid {
        gap: 70px 30px;
    }

    .planning-benefits {
        gap: 24px;
    }

    .process {
        gap: 25px;
    }

    .assistance-grid {
        gap: 40px;
    }

    /* ---------- VALORES ---------- */

.values {
    padding: 100px 0;
}

.values__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.value-card {
    padding: 38px 30px;
}

/* ---------- SERVIÇOS ---------- */

.services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.service {
    grid-template-columns: 1fr;
    gap: 0;
}

.service__image {
    height: 320px;
}

.service__content {
    padding: 36px;
}

.service-card__content {
    padding: 28px;
}

.service-card > img {
    height: 220px;
}

}

/* ==========================================
   SOBRE - DESKTOP
========================================== */

@media (min-width: 1101px) {

    .about-home__grid {
        column-gap: 80px;
    }

    .about-home__content h2 {
        text-align: left;
    }

}


/* ==========================================
   MOBILE HEADER
   <= 1100px
========================================== */

@media (max-width: 1100px) {


    /* ======================================
       HEADER CONTAINER
    ====================================== */

    .header__container {
        height: var(--header-height);

        position: relative;

        /*
         * IMPORTANTE:
         * coloca todo o header acima do menu mobile.
         */
        z-index: 2000;

        display: flex;

        align-items: center;
        justify-content: center;

        gap: 0;
    }


    /* ======================================
       LOGO CENTRADO
    ====================================== */

    .header__logo {
        position: absolute;

        left: 50%;
        top: 50%;

        transform: translate(-50%, -50%);

        margin: 0;

        z-index: 2001;
    }

    .header__logo img {
        height: 50px;
        width: auto;

        display: block;
    }


    /* ======================================
       ESCONDER DESKTOP
    ====================================== */

    .header__nav,
    .header__cta {
        display: none;
    }


    /* ======================================
       HAMBURGER
    ====================================== */

    .header__toggle {
        display: flex !important;

        position: fixed !important;

        top: calc(var(--header-height) / 2) !important;
        right: 16px !important;
        left: auto !important;
        bottom: auto !important;

        transform: translateY(-50%) !important;

        width: 46px;
        height: 46px;

        margin: 0 !important;
        padding: 0 !important;

        border: 0;
        border-radius: 50%;

        background: rgba(255, 255, 255, 0.08);

        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 5px;

        cursor: pointer;

        z-index: 1300 !important;
    }

    .header__toggle:hover {
        background: rgba(255, 255, 255, 0.14);
    }

    .header__toggle span {
        display: block;

        width: 21px;
        height: 2px;

        margin: 0;

        border-radius: 999px;

        background: var(--color-white);

        opacity: 1;

        transition:
            transform 0.25s ease,
            opacity 0.2s ease;
    }


    /* ======================================
       HAMBURGER ABERTO
    ====================================== */

    .header.menu-open .header__toggle {
        background: rgba(255, 255, 255, 0.12);
    }

    .header.menu-open .header__toggle span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .header.menu-open .header__toggle span:nth-child(2) {
        opacity: 0;
    }

    .header.menu-open .header__toggle span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }


    /* ======================================
       MENU MOBILE
    ====================================== */

    .header__mobile {
        position: fixed;

        top: var(--header-height);
        left: 0;

        width: min(360px, 85vw);
        height: calc(100vh - var(--header-height));

        /*
         * Fica abaixo do header.
         */
        z-index: 1000;

        display: block;

        padding: 20px;

        background: #1c1c1c;

        border-right: 1px solid rgba(255, 255, 255, 0.12);

        box-shadow:
            12px 0 30px rgba(0, 0, 0, 0.25);

        transform: translateX(-100%);

        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        overflow-y: auto;

        transition:
            transform 0.3s ease,
            opacity 0.3s ease,
            visibility 0.3s ease;
    }

    .header.menu-open .header__mobile {
        transform: translateX(0);

        opacity: 1;

        visibility: visible;

        pointer-events: auto;
    }


    /* ======================================
       MENU MOBILE LISTA
    ====================================== */

    .header__mobile-menu {
        list-style: none;

        margin: 0;
        padding: 0;
    }

    .header__mobile-menu li {
        margin: 0;

        border-bottom:
            1px solid
            rgba(255, 255, 255, 0.10);
    }

    .header__mobile-menu li:last-child {
        border-bottom: 0;
    }

    .header__mobile-menu a {
        display: block;

        padding: 17px 10px;

        color: var(--color-white);

        font-family: var(--font-body);

        font-size: 1rem;

        font-weight: 500;

        text-decoration: none;

        transition:
            color 0.2s ease,
            padding-left 0.2s ease,
            background-color 0.2s ease;
    }

    .header__mobile-menu a:hover,
    .header__mobile-menu a:focus-visible {
        color: var(--color-primary);

        padding-left: 18px;

        background:
            rgba(255, 255, 255, 0.04);
    }


/* ==========================================
   BOTÃO 24H FLUTUANTE
========================================== */

.header__mobile-call {
    position: fixed;

    top: 25%;
    right: 0;

    transform: translateY(-50%);

    width: 66px;
    height: 66px;

    display: flex;

    align-items: center;
    justify-content: center;
    flex-direction: column;

    gap: 3px;

    border-radius: 16px 0 0 16px;

    background: linear-gradient(
        180deg,
        #dcb858 0%,
        #c0993e 100%
    );

    color: var(--color-dark);

    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.25);

    z-index: 1100;

    text-decoration: none;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        filter 0.25s ease;
}


/* ---------- HOVER ---------- */

.header__mobile-call:hover {
    background: linear-gradient(
        180deg,
        #ecd071 0%,
        #d4ad4d 100%
    );

    box-shadow:
        0 10px 28px rgba(0, 0, 0, 0.35);

    filter: brightness(1.05);
}


.header__mobile-call .icon {
    width: 21px;
    height: 21px;
}


.header__mobile-call span {
    font-family: var(--font-body);
    font-size: 0.62rem;
    font-weight: 700;
    line-height: 1;
    }

/* ==========================================
   HERO HOMEPAGE - RESPONSIVE
========================================== */

/* ---------- TABLET ---------- */

    .hero {
        min-height: calc(100vh - var(--header-height));
        background-position: center center;
    }

    .hero__overlay {
        min-height: calc(100vh - var(--header-height));

        background: linear-gradient(
            90deg,
            rgba(30, 30, 32, 0.92) 0%,
            rgba(30, 30, 32, 0.78) 55%,
            rgba(30, 30, 32, 0.45) 100%
        );
    }

    .hero__content {
        max-width: 720px;
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .hero h1 {
        max-width: 680px;
        margin-bottom: 24px;
    }

    .hero__text {
        max-width: 620px;
        margin-bottom: 34px;
        font-size: 1.08rem;
        line-height: 1.75;
    }

    .hero__buttons {
        gap: 18px;
    }
    
}




/* ==========================================
   MOBILE PEQUENO
   <= 690px
========================================== */

@media (max-width: 690px) {

    .container {
        width:
            min(
                100% - 32px,
                var(--container-width)
            );
    }


    /* ---------- HEADER ---------- */

    .header__logo img {
        height: 45px;
    }

    .header__toggle {
        width: 44px;
        height: 44px;
        right: 12px !important;
    }


    /* ---------- BOTÃO FLUTUANTE ---------- */

    .header__mobile-call {
        width: 66px;
        height: 66px;
    }

    .header__mobile-call .icon {
        width: 22px;
        height: 22px;
    }

    .header__mobile-call span {
        font-size: 0.65rem;
    }


    /* ---------- MENU ---------- */

    .header__mobile-menu {
        padding-left: 18px;
        padding-right: 18px;
    }


    /* ---------- HERO ---------- */

    .page-hero {
        height: 520px;
    }

    .page-hero__content {
        padding-top: 110px;
        padding-bottom: 50px;
    }

/* ---------- MOBILE ---------- */

.hero {
    min-height: calc(100svh - var(--header-height));
}

.hero__overlay {
    min-height: calc(100svh - var(--header-height));
    align-items: flex-start;
}

.hero__content {
    max-width: 100%;
    padding-top: 85px;
    padding-bottom: 55px;
}

.hero__eyebrow {
    margin-bottom: 16px;
    font-size: 0.78rem;
    letter-spacing: 1.5px;
}

.hero h1 {
    max-width: 100%;
    margin-bottom: 20px;
}

.hero__text {
    max-width: 100%;
    margin-bottom: 30px;
    font-size: 0.98rem;
    line-height: 1.7;
}

.hero__buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 12px;
}

.hero__buttons .btn {
    width: auto;
    min-width: 0;
}

/* ---------- VALORES ---------- */

.values {
    padding: 80px 0;
}

.values .container {
    max-width: 100%;
}

.values__grid {
    grid-template-columns: 1fr;
    gap: 18px;
}

.value-card {
    padding: 32px 26px;
}

.value-card__icon {
    margin-bottom: 20px;
}

.value-card__icon img {
    width: 42px;
    height: 42px;
}

.value-card h3 {
    padding-bottom: 14px;
    margin-bottom: 16px;
}

.value-card p {
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ---------- SERVIÇOS ---------- */

.services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
}

.service {
    grid-template-columns: 1fr;
    gap: 0;
    border-radius: 16px;
}

.service__image {
    height: 240px;
}

.service__content {
    padding: 28px 24px 30px;
}

.service__content h3 {
    margin-bottom: 20px;
    padding-bottom: 15px;
}

.service__content p,
.service-card p {
    font-size: 0.95rem;
    line-height: 1.7;
}

.service__link {
    margin-top: 24px;
}

.services-subheading {
    margin: 42px auto 22px;
}

.services-subheading p {
    line-height: 1.7;
}

.service-card {
    border-radius: 16px;
}

.service-card > img {
    height: 210px;
}

.service-card__content {
    padding: 26px 24px 28px;
}

.service-card__link {
    margin-top: 24px;
}

.section-actions {
    margin-top: 50px;
}

/* ---------- QUOTE ---------- */

.quote {
    padding: 90px 0;
}

.quote__content {
    max-width: 100%;
    padding: 0 18px;
}

.quote__mark {
    top: -38px;
    left: 0;
    font-size: 110px;
}

.quote__content p {
    font-size: 1.65rem;
    line-height: 1.45;
}

/* ---------- ORIENTAÇÃO ---------- */

.guidance {
    padding: 90px 0;
}

.guidance__grid {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 50px;
}

.guidance-card__image {
    height: 200px;
}

.guidance-card h3 {
    margin: 30px 28px 20px;
    padding-bottom: 15px;
}

.guidance-card p {
    margin: 0 28px;
    line-height: 1.7;
}

.guidance-card__list {
    gap: 12px;
    margin: 26px 28px;
}

.guidance-card__list li {
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}

.guidance-card__list li::before {
    margin-top: 7px;
}

.guidance-card__link {
    margin: 0 28px 30px;
}

    /* ---------- LINKS CENTRADOS ---------- */

.about-home__link,
.service__link,
.service-card__link,
.guidance-card__link {
    display: flex;
    justify-content: center;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

/* ---------- SOBRE - PÁGINA INICIAL ---------- */


.about-home {
    padding: 90px 0 70px;
}

/* ---------- SOBRE — MOBILE ---------- */

.about-home__grid {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* 3 — CONTEÚDO */
.about-home__content {
    display: flex;
    flex-direction: column;
    order: 3;
}

/* Tag no início da secção */
.about-home__content .section-tag {
    display: block;
    order: -2;
    margin-bottom: 20px;
    text-align: center;
}

/* Separador */
.about-home__content .section-divider {
    margin-top: 18px;
    margin-left: auto;
    margin-right: auto;
}

/* Título */
.about-home__content h2 {
    margin: 0 0 24px;
    text-align: center;
}

/* 2 — FOTO */
.about-home__image {
    width: 100%;
    order: 2;
    margin-bottom: 48px;
}

/* 1 — VERDADEIRA MISSÃO + SEPARADOR */
.about-home__mobile-heading {
    display: block;
    order: 1;
    width: 100%;
    margin-top: 0px;
    margin-bottom: 28px;
    text-align: center;
}

/* Tag mobile */
.about-home__mobile-heading .section-tag {
    display: block;
    margin-bottom: 18px;
    text-align: center;
}

/* Separador mobile */
.about-home__mobile-heading .section-divider {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

/* Esconder a tag que pertence ao desktop */
.about-home__content > .section-tag {
    display: none;
}

}

/* ---------- FOTO ---------- */

.about-home__image {
    width: 100%;
}

.about-home__image img {
    max-width: 100%;
}

/* Frame */
.about-home__frame {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}

.about-home__frame img {
    width: 100%;
    height: auto;
    margin-top: 8px;
}

/* ---------- TEXTO ---------- */

/* Título */
.about-home__content h2 {
    order: 0;
    margin: 0 0 24px;
}

.about-home__content p {
    margin-bottom: 28px;
    line-height: 1.7;
}

/* ---------- LISTA ---------- */

.about-home__list {
    gap: 13px;
    margin-bottom: 34px;
}

.about-home__list li {
    align-items: flex-start;
    gap: 11px;
    line-height: 1.5;
}

.about-home__list li::before {
    margin-top: 7px;
    flex-shrink: 0;
}

/* ---------- PREVENIR OVERFLOW HORIZONTAL ---------- */

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

.footer,
.footer__top,
.footer__bottom,
.footer__column,
.footer__brand {
    max-width: 100%;
}

.footer__column li,
.footer__column li span,
.footer__column li a {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.footer__column a {
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* ==========================================
   MOBILE MUITO PEQUENO
   <= 480px
========================================== */

@media (max-width: 480px) {

    .container {
        width: calc(100% - 28px);
    }


    /* ---------- HEADER ---------- */

    .header__logo img {
        height: 40px;
    }

    .header__toggle {
        width: 42px;
        height: 42px;
        right: 8px !important;
    }

    .header__toggle span {
        width: 20px;
    }


    /* ---------- BOTÃO ---------- */

    .header__mobile-call {
        width: 62px;
        height: 62px;
    }

    .header__mobile-call .icon {
        width: 20px;
        height: 20px;
    }

    .header__mobile-call span {
        font-size: 0.6rem;
    }


    /* ---------- MENU ---------- */

    .header__mobile-menu {
        padding:
            14px
            16px
            24px;
    }

    .header__mobile-menu a {
        padding: 14px 4px;

        font-size: 0.92rem;
    }

    /* ---------- MOBILE PEQUENO ---------- */

    .hero {
        min-height: calc(100svh - var(--header-height));
    }

    .hero__overlay {
        min-height: calc(100svh - var(--header-height));

        background: linear-gradient(
            90deg,
            rgba(30, 30, 32, 0.95) 0%,
            rgba(30, 30, 32, 0.88) 70%,
            rgba(30, 30, 32, 0.72) 100%
        );
    }

    .hero__content {
        padding-top: 85px;
        padding-bottom: 65px;
    }

    .hero__eyebrow {
        font-size: 0.72rem;
        letter-spacing: 1.2px;
    }

    .hero h1 {
        margin-bottom: 18px;
    }

    .hero__text {
        font-size: 0.94rem;
        line-height: 1.65;
        margin-bottom: 26px;
    }

    .hero__buttons {
        gap: 10px;
        flex-direction: column;
        align-items: flex-start;
    }

    .hero__buttons .btn {
    width: auto;
}

/* ---------- VALORES ---------- */

.values {
    padding: 70px 0;
}

.value-card {
    padding: 28px 22px;
}

.value-card__icon img {
    width: 40px;
    height: 40px;
}

.value-card p {
    font-size: 0.92rem;
}

/* ---------- SERVIÇOS ---------- */

.service__image {
    height: 210px;
}

.service__content {
    padding: 24px 20px 26px;
}

.service__content p,
.service-card p {
    font-size: 0.92rem;
}

.service-card > img {
    height: 190px;
}

.service-card__content {
    padding: 24px 20px 26px;
}

.services-subheading {
    margin-top: 36px;
}

.section-actions {
    margin-top: 42px;
}

/* ---------- QUOTE ---------- */

.quote {
    padding: 75px 0;
}

.quote__content {
    padding: 0 12px;
}

.quote__mark {
    top: -32px;
    font-size: 90px;
}

.quote__content p {
    font-size: 1.45rem;
    line-height: 1.5;
}

/* ---------- ORIENTAÇÃO ---------- */

.guidance {
    padding: 75px 0;
}

.guidance__grid {
    gap: 22px;
    margin-top: 40px;
}

.guidance-card__image {
    height: 175px;
}

.guidance-card h3 {
    margin: 26px 22px 18px;
}

.guidance-card p {
    margin: 0 22px;
    line-height: 1.65;
}

.guidance-card__list {
    margin: 24px 22px;
}

.guidance-card__link {
    margin: 0 22px 26px;
}

/* ---------- SOBRE - PÁGINA INICIAL ---------- */

.about-home {
    padding: 75px 0 60px;
}

.about-home__grid {
    gap: 42px;
}

/* ---------- FOTO ---------- */

.about-home__frame {
    max-width: 340px;
    border-radius: 20px;
}

.about-home__frame img {
    margin-top: 6px;
}

/* ---------- TEXTO ---------- */

.about-home__content h2 {
    margin: 16px 0 20px;
}

.about-home__content p {
    margin-bottom: 24px;
    line-height: 1.65;
}

/* ---------- LISTA ---------- */

.about-home__list {
    gap: 12px;
    margin-bottom: 30px;
}

}

