:root {
    --orange: #f36a21;
    --orange-dark: #df5915;

    --navy: #061b42;
    --blue: #07376d;
    --blue-light: #edf5fb;

    --text: #071b3d;
    --muted: #526178;

    --white: #ffffff;
    --light: #f7f9fc;

    --border: #e5e9ef;

    --radius: 18px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    color: var(--text);
    background: var(--white);
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1440px, calc(100% - 80px));
    margin: auto;
}


/* HEADER */

.header {
    background: rgba(255,255,255,.97);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    height: 104px;
    display: flex;
    align-items: center;
    gap: 32px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.cp-symbol {
    width: 70px;
    height: 70px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background:
        linear-gradient(145deg,#ff7b29,#f15b13);

    color: white;

    font-size: 22px;
    font-weight: 900;

    box-shadow:
        0 8px 24px rgba(243,106,33,.18);
}

.brand-name {
    padding-right: 24px;
    border-right: 1px solid #dfe4ea;
}

.brand-name strong,
.about-brand strong {
    display: block;

    font-size: 19px;
    letter-spacing: .02em;
}

.brand-name span,
.about-brand span {
    display: block;

    color: var(--orange);

    font-size: 19px;
    font-weight: 800;
}

.brand-name small,
.about-brand small {
    display: block;

    margin-top: 3px;

    color: var(--navy);
    font-size: 10px;
}


/* BILGICO */

.by-bilgico {
    display: flex;
    align-items: center;
    gap: 9px;

    color: #8c97a5;
}

.by-bilgico small {
    font-size: 10px;
}

.by-bilgico strong {
    color: #111;
    font-size: 25px;
    letter-spacing: -.04em;
}

.by-bilgico strong span {
    color: #aab1b9;
}


/* NAV */

.nav {
    margin-left: auto;

    display: flex;
    align-items: center;
    gap: 34px;

    font-size: 14px;
    font-weight: 600;
}

.nav a {
    padding: 39px 0 35px;
}

.nav a:hover,
.nav .active {
    color: var(--orange);
}

.nav .active {
    border-bottom: 2px solid var(--orange);
}


/* BUTTON */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    font-weight: 700;

    transition: .2s ease;
}

.btn-orange {
    padding: 14px 20px;

    color: white;

    background:
        linear-gradient(135deg,#ff761f,#f15c0d);

    box-shadow:
        0 10px 25px rgba(243,106,33,.18);
}

.btn-orange:hover {
    transform: translateY(-2px);
}

.btn-large {
    min-height: 52px;
    padding: 0 27px;
}

.btn-outline {
    border: 1.5px solid var(--navy);
    color: var(--navy);
    background: white;
}


/* HERO */

.hero {
    min-height: 570px;

    background:
        radial-gradient(
            circle at 75% 30%,
            rgba(60,152,220,.20),
            transparent 34%
        ),
        linear-gradient(
            100deg,
            #ffffff 0%,
            #f8fbfd 42%,
            #eaf4fb 100%
        );

    overflow: hidden;
}

.hero-grid {
    min-height: 570px;

    display: grid;
    grid-template-columns: .85fr 1.15fr;

    align-items: center;
}

.hero-content {
    padding: 60px 0;
    position: relative;
    z-index: 4;
}

.eyebrow {
    color: var(--orange);

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

    letter-spacing: .025em;
}

.hero h1 {
    margin-top: 17px;

    color: var(--navy);

    font-size: clamp(43px,4vw,65px);
    line-height: 1.05;

    letter-spacing: -.045em;
}

.hero h1 span {
    color: var(--orange);
}

.hero p {
    margin-top: 25px;

    max-width: 610px;

    color: #314765;

    font-size: 18px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;

    margin-top: 30px;
}


/* HERO VISUAL */

.hero-visual {
    height: 570px;

    position: relative;
}

.telecom-art {
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at center bottom,
            rgba(11,91,151,.45),
            transparent 46%
        ),
        linear-gradient(
            135deg,
            rgba(150,207,240,.25),
            rgba(3,45,88,.15)
        );
}

.telecom-art::after {
    content: "";

    position: absolute;

    width: 120%;
    height: 240px;

    bottom: -100px;
    left: -10%;

    border-radius: 50%;

    background:
        radial-gradient(
            ellipse,
            rgba(8,73,128,.45),
            transparent 65%
        );
}


/* TOWER */

.tower {
    position: absolute;

    left: 51%;
    bottom: 0;

    width: 160px;
    height: 470px;

    transform: translateX(-50%);
}

.tower-body {
    position: absolute;

    bottom: 0;
    left: 50%;

    width: 9px;
    height: 430px;

    background: var(--blue);

    transform: translateX(-50%);
}

.tower-body::before,
.tower-body::after {
    content: "";

    position: absolute;

    width: 5px;
    height: 440px;

    background: rgba(7,55,109,.8);
}

.tower-body::before {
    transform:
        rotate(10deg)
        translateX(-38px);
}

.tower-body::after {
    transform:
        rotate(-10deg)
        translateX(38px);
}

.tower-top {
    position: absolute;

    top: 30px;
    left: 50%;

    width: 110px;
    height: 150px;

    transform: translateX(-50%);

    border-left: 6px solid var(--blue);
    border-right: 6px solid var(--blue);
}


/* BENEFITS */

.benefits-card {
    position: absolute;

    right: 4%;
    top: 110px;

    width: 290px;

    padding: 17px 25px;

    border-radius: 20px;

    background: rgba(255,255,255,.88);

    backdrop-filter: blur(15px);

    box-shadow:
        0 20px 55px rgba(6,27,66,.13);
}

.benefit {
    display: flex;
    gap: 17px;
    align-items: center;

    padding: 15px 0;
}

.benefit > span {
    color: var(--orange);

    font-size: 25px;
}

.benefit strong,
.benefit small {
    display: block;
}

.benefit strong {
    font-size: 14px;
}

.benefit small {
    margin-top: 4px;

    color: #42536b;

    font-size: 12px;
}


/* SERVICES */

.services {
    background: white;

    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(5,1fr);
}

.service {
    min-height: 190px;

    padding: 30px 27px;

    text-align: center;

    border-right: 1px solid var(--border);
}

.service:last-child {
    border-right: 0;
}

.service-icon {
    width: 54px;
    height: 54px;

    margin: auto;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: #fff5ef;

    color: var(--orange);

    font-size: 20px;
    font-weight: 900;
}

.service h3 {
    margin-top: 15px;

    font-size: 16px;
}

.service p {
    margin-top: 10px;

    color: #3c4c63;

    font-size: 12px;
    line-height: 1.55;
}


/* ISP */

.isp-section {
    color: white;

    background:
        linear-gradient(
            110deg,
            #061b42,
            #07376d
        );
}

.isp-grid {
    min-height: 170px;

    display: grid;
    grid-template-columns: .8fr 1.2fr;

    align-items: center;

    gap: 55px;
}

.isp-title {
    display: flex;
    align-items: center;
    gap: 28px;
}

.antenna-icon {
    color: var(--orange);

    font-size: 55px;
}

.isp-title h2 {
    font-size: 24px;
    line-height: 1.4;
}

.isp-list {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 17px 45px;

    font-size: 13px;
}

.isp-list div::first-letter {
    color: var(--orange);
}


/* ABOUT / BILGICO */

.about {
    background:
        linear-gradient(
            90deg,
            #ffffff,
            #fbfcfd
        );
}

.about-grid {
    min-height: 185px;

    display: grid;
    grid-template-columns: 1fr 1.2fr .8fr;

    align-items: center;

    gap: 55px;
}

.about-brand {
    display: flex;
    align-items: center;
    gap: 18px;
}

.cp-symbol-large {
    width: 76px;
    height: 76px;
}

.about-text {
    padding: 0 55px;

    border-left: 1px solid #e0e5ea;
    border-right: 1px solid #e0e5ea;
}

.about-text p {
    color: #263b59;

    font-size: 14px;
    line-height: 1.65;
}


/*
   BilgiCo propositalmente mais suave.
   A CP continua protagonista.
*/

.bilgico-area {
    opacity: .82;
}

.bilgico-area small {
    color: #7e8894;

    font-size: 10px;
}

.bilgico-logo {
    margin-top: 7px;

    color: #16191d;

    font-size: 37px;
    font-weight: 900;

    letter-spacing: -.06em;
}

.bilgico-logo span {
    color: #aeb5bc;
}


/* CONTACT */

.contact {
    padding: 80px 0;

    background: var(--light);
}

.contact-box {
    padding: 55px 65px;

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

    gap: 50px;

    border-radius: 25px;

    background: white;

    box-shadow:
        0 15px 50px rgba(6,27,66,.08);
}

.contact h2 {
    max-width: 700px;

    margin-top: 12px;

    color: var(--navy);

    font-size: 36px;
    line-height: 1.1;
}

.contact p {
    max-width: 700px;

    margin-top: 15px;

    color: var(--muted);

    line-height: 1.6;
}


/* FOOTER */

footer {
    padding: 35px 0;

    background: #04142f;

    color: white;
}

.footer-inner {
    display: flex;
    justify-content: space-between;

    gap: 30px;

    font-size: 12px;
}

.footer-inner span {
    display: block;

    margin-top: 5px;

    color: #9dafc4;
}


/* RESPONSIVE */

@media (max-width: 1150px) {

    .nav {
        display: none;
    }

    .by-bilgico {
        margin-left: auto;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        height: 430px;
    }

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

    .isp-grid,
    .about-grid {
        grid-template-columns: 1fr;

        padding-top: 45px;
        padding-bottom: 45px;
    }

    .about-text {
        padding: 30px 0;

        border: 0;

        border-top: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
    }

}


@media (max-width: 700px) {

    .container {
        width: min(100% - 30px,1440px);
    }

    .header-inner {
        height: 82px;
    }

    .brand-name small,
    .by-bilgico,
    .header > .btn {
        display: none;
    }

    .cp-symbol {
        width: 52px;
        height: 52px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .services-grid,
    .isp-list {
        grid-template-columns: 1fr;
    }

    .service {
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .contact-box {
        padding: 35px 25px;

        flex-direction: column;

        align-items: flex-start;
    }

    .footer-inner {
        flex-direction: column;
    }

}


/* =========================================================
   LOGOS OFICIAIS
   ========================================================= */

.logo-cp {
    width: 70px;
    height: 70px;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    flex-shrink: 0;

    box-shadow:
        0 8px 24px rgba(243,106,33,.16);
}

.logo-cp-large {
    width: 78px;
    height: 78px;
}


/* BilgiCo no cabeçalho */

.by-bilgico {
    padding-left: 2px;
}

.by-bilgico img {
    display: block;
    width: 132px;
    height: auto;

    /*
       BilgiCo propositalmente suavizada.
       A Contabilidade do Provedor permanece protagonista.
    */
    opacity: .68;
    filter: saturate(.75);
    transition:
        opacity .2s ease,
        filter .2s ease;
}

.by-bilgico:hover img {
    opacity: .92;
    filter: saturate(1);
}


/* BilgiCo institucional */

.bilgico-area {
    opacity: 1;
}

.bilgico-logo-img {
    display: block;

    width: min(240px,100%);
    height: auto;

    margin-top: 10px;

    opacity: .62;
    filter:
        saturate(.7)
        contrast(.95);
}


/* Mobile */

@media (max-width: 700px) {

    .logo-cp {
        width: 52px;
        height: 52px;
    }

    .logo-cp-large {
        width: 70px;
        height: 70px;
    }

}


/* =========================================================
   HERO TECNOLOGIA / REDE
   substitui a torre antiga
   ========================================================= */

.telecom-art {
    position: absolute;
    inset: 0;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 72% 40%,
            rgba(27,136,211,.28),
            transparent 25%
        ),
        radial-gradient(
            circle at 42% 75%,
            rgba(243,106,33,.10),
            transparent 25%
        ),
        linear-gradient(
            135deg,
            #f6fbff 0%,
            #dceefa 48%,
            #9ec7e2 100%
        );
}


/* grade tecnológica */

.network-grid {
    position: absolute;
    inset: 0;

    opacity: .24;

    background-image:
        linear-gradient(
            rgba(255,255,255,.55) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.55) 1px,
            transparent 1px
        );

    background-size: 55px 55px;

    transform:
        perspective(600px)
        rotateX(55deg)
        scale(1.5);

    transform-origin: center bottom;
}


/* halos */

.network-glow {
    position: absolute;

    border-radius: 50%;

    filter: blur(2px);
}

.glow-1 {
    width: 440px;
    height: 440px;

    right: 10%;
    bottom: -190px;

    border: 1px solid rgba(255,255,255,.55);

    box-shadow:
        0 0 80px rgba(25,120,190,.22),
        inset 0 0 80px rgba(255,255,255,.18);
}

.glow-2 {
    width: 650px;
    height: 650px;

    right: -80px;
    bottom: -340px;

    border: 1px solid rgba(255,255,255,.28);
}


/* pontos de conexão */

.network-node {
    position: absolute;

    width: 11px;
    height: 11px;

    border-radius: 50%;

    background: #ffffff;

    box-shadow:
        0 0 0 5px rgba(255,255,255,.18),
        0 0 22px rgba(0,107,181,.75);
}

.node-1 {
    left: 21%;
    bottom: 27%;
}

.node-2 {
    left: 42%;
    bottom: 35%;
}

.node-3 {
    left: 60%;
    bottom: 23%;
}

.node-4 {
    right: 18%;
    bottom: 42%;
}

.node-5 {
    right: 7%;
    bottom: 20%;
}


/* linhas entre os nós */

.telecom-art::before {
    content: "";

    position: absolute;

    left: 17%;
    right: 4%;
    bottom: 27%;

    height: 2px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.82),
            rgba(0,112,190,.8),
            rgba(255,255,255,.75),
            transparent
        );

    transform: rotate(-3deg);

    box-shadow:
        0 0 14px rgba(0,119,204,.28);
}


/* profundidade no rodapé do hero */

.telecom-art::after {
    content: "";

    position: absolute;

    left: -10%;
    right: -10%;
    bottom: -190px;

    height: 360px;

    border-radius: 50%;

    background:
        radial-gradient(
            ellipse,
            rgba(5,67,118,.42),
            rgba(15,111,173,.12) 45%,
            transparent 72%
        );
}


/* remove completamente a antena antiga */

.tower,
.tower-body,
.tower-top {
    display: none !important;
}


/* =========================================================
   HERO - FOTO OFICIAL TELECOM
   ========================================================= */

.hero {
    position: relative;
    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            #ffffff 0%,
            #ffffff 34%,
            rgba(255,255,255,.96) 42%,
            rgba(255,255,255,.70) 50%,
            rgba(255,255,255,.22) 61%,
            rgba(255,255,255,0) 72%
        ),
        url('/assets/img/hero-telecom.webp');

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}


/*
 * Desliga a arte CSS anterior.
 * Mantemos o HTML para não precisar reescrever a página.
 */

.telecom-art {
    display: none !important;
}


/*
 * Mantém conteúdo acima da fotografia
 */

.hero-grid {
    position: relative;
    z-index: 2;
}


/*
 * Texto ganha área limpa sobre o lado esquerdo.
 */

.hero-content {
    position: relative;
    z-index: 5;
}


/*
 * Card de benefícios flutuando sobre a fotografia.
 */

.hero-visual {
    position: relative;
    background: transparent;
}

.benefits-card {
    z-index: 10;

    background: rgba(255,255,255,.88);

    border: 1px solid rgba(255,255,255,.65);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    box-shadow:
        0 20px 60px rgba(6,27,66,.16);
}


/* MOBILE */

@media (max-width: 1150px) {

    .hero {
        background-position: 62% center;
    }

}


@media (max-width: 700px) {

    .hero {
        background:
            linear-gradient(
                180deg,
                rgba(255,255,255,.98) 0%,
                rgba(255,255,255,.94) 42%,
                rgba(255,255,255,.45) 68%,
                rgba(255,255,255,.15) 100%
            ),
            url('/assets/img/hero-telecom.webp');

        background-size: cover;
        background-position: 63% center;
    }

    .hero-content {
        padding-top: 45px;
        padding-bottom: 35px;
    }

}

/* =========================================================
   REFINAMENTO HERO V2
   ========================================================= */

.hero,
.hero-grid {
    min-height: 540px;
}

.hero {
    background:
        linear-gradient(
            90deg,
            #ffffff 0%,
            #ffffff 31%,
            rgba(255,255,255,.97) 38%,
            rgba(255,255,255,.82) 45%,
            rgba(255,255,255,.40) 53%,
            rgba(255,255,255,.10) 61%,
            rgba(255,255,255,0) 69%
        ),
        url('/assets/img/hero-telecom.webp');

    background-size: cover;
    background-position: center 48%;
}

.hero-content {
    padding: 52px 0;
}

.hero h1 {
    max-width: 650px;
}

.hero p {
    max-width: 600px;
}


/* reposiciona área visual */

.hero-visual {
    height: 540px;
}


/* card mais elegante e mais à direita */

.benefits-card {
    top: 105px;
    right: 2%;

    width: 285px;

    padding: 18px 25px;

    border-radius: 19px;

    background: rgba(255,255,255,.90);

    box-shadow:
        0 20px 50px rgba(6,27,66,.15);
}

.benefit {
    padding: 13px 0;
}


/* serviços mais compactos */

.service {
    min-height: 175px;
    padding-top: 25px;
    padding-bottom: 25px;
}


/* pequenas melhorias de tipografia */

.hero h1 {
    font-weight: 800;
}

.hero p {
    color: #2e4563;
}



/* =========================================================
   SEÇÕES INSTITUCIONAIS
   ========================================================= */

.section-heading {
    max-width: 820px;
    margin-bottom: 50px;
}

.section-kicker {
    display: inline-block;

    margin-bottom: 14px;

    color: var(--orange);

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

    letter-spacing: .08em;
}

.section-kicker.light {
    color: #ff9d6b;
}

.section-heading h2,
.method-intro h2,
.ecosystem-copy h2 {
    color: var(--navy);

    font-size: clamp(34px,3.2vw,50px);
    line-height: 1.08;

    letter-spacing: -.04em;
}

.section-heading p,
.method-intro p,
.ecosystem-copy p {
    margin-top: 20px;

    color: var(--muted);

    font-size: 16px;
    line-height: 1.7;
}


/* =========================================================
   ESPECIALISTAS
   ========================================================= */

.specialists {
    padding: 95px 0;

    background: #ffffff;
}

.specialists-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);

    gap: 18px;
}

.specialist-card {
    position: relative;

    min-height: 270px;

    padding: 30px;

    border: 1px solid var(--border);
    border-radius: 20px;

    background:
        linear-gradient(
            160deg,
            #ffffff,
            #f8fafc
        );

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.specialist-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 20px 50px rgba(6,27,66,.08);
}

.card-number {
    color: var(--orange);

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

.specialist-card h3 {
    margin-top: 35px;

    color: var(--navy);

    font-size: 21px;
}

.specialist-card p {
    margin-top: 14px;

    color: #58687a;

    font-size: 14px;
    line-height: 1.7;
}


/* =========================================================
   NUMEROS
   ========================================================= */

.numbers {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);

    background: #f8fafc;
}

.numbers-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
}

.number-item {
    min-height: 150px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 25px 40px;

    border-right: 1px solid var(--border);
}

.number-item:last-child {
    border-right: 0;
}

.number-item strong {
    color: var(--navy);

    font-size: 34px;
    letter-spacing: -.04em;
}

.number-item span {
    margin-top: 7px;

    color: #718093;

    font-size: 13px;
}


/* =========================================================
   METODO
   ========================================================= */

.method {
    padding: 100px 0;

    background: white;
}

.method-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;

    gap: 80px;
}

.method-intro p {
    max-width: 570px;
}

.method-steps {
    border-top: 1px solid var(--border);
}

.method-step {
    display: grid;
    grid-template-columns: 55px 1fr;

    gap: 25px;

    padding: 24px 0;

    border-bottom: 1px solid var(--border);
}

.method-step > span {
    color: var(--orange);

    font-size: 13px;
    font-weight: 800;
}

.method-step h3 {
    color: var(--navy);

    font-size: 18px;
}

.method-step p {
    margin-top: 7px;

    color: var(--muted);

    font-size: 14px;
    line-height: 1.55;
}


/* =========================================================
   REFORMA TRIBUTARIA
   ========================================================= */

.tax-reform {
    padding: 90px 0;

    color: white;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(25,110,180,.35),
            transparent 35%
        ),
        linear-gradient(
            120deg,
            #03142f,
            #07386c
        );
}

.tax-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 90px;
    align-items: center;
}

.tax-copy h2 {
    max-width: 680px;

    font-size: clamp(38px,3.5vw,55px);
    line-height: 1.05;

    letter-spacing: -.045em;
}

.tax-copy p {
    max-width: 650px;

    margin-top: 22px;

    color: #cbd8e6;

    line-height: 1.7;
}

.tax-copy .btn {
    margin-top: 30px;
}

.tax-panel {
    padding: 15px 35px;

    border: 1px solid rgba(255,255,255,.12);
    border-radius: 24px;

    background:
        rgba(255,255,255,.06);

    backdrop-filter: blur(8px);
}

.tax-item {
    display: grid;
    grid-template-columns: 48px 1fr;

    gap: 18px;

    padding: 21px 0;

    border-bottom:
        1px solid rgba(255,255,255,.10);
}

.tax-item:last-child {
    border-bottom: 0;
}

.tax-item > span {
    color: var(--orange);

    font-size: 13px;
    font-weight: 800;
}

.tax-item strong,
.tax-item small {
    display: block;
}

.tax-item strong {
    font-size: 16px;
}

.tax-item small {
    margin-top: 6px;

    color: #b7c7d7;

    font-size: 13px;
    line-height: 1.5;
}


/* =========================================================
   ECOSSISTEMA BILGICO
   ========================================================= */

.ecosystem {
    padding: 90px 0;

    background:
        linear-gradient(
            90deg,
            #ffffff,
            #f6f8fa
        );
}

.ecosystem-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;

    gap: 80px;
    align-items: center;
}

.ecosystem-copy p {
    max-width: 700px;
}

.ecosystem-logo {
    min-height: 230px;

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

    padding: 45px;

    border-radius: 24px;

    background: white;

    box-shadow:
        0 15px 45px rgba(6,27,66,.07);
}

.ecosystem-logo small {
    margin-bottom: 20px;

    color: #8a949f;

    font-size: 11px;
}

.ecosystem-logo img {
    width: min(320px,90%);

    opacity: .72;
    filter: saturate(.8);
}


/* =========================================================
   FAQ
   ========================================================= */

.faq {
    padding: 95px 0;

    background: #f8fafc;
}

.faq-heading {
    max-width: 900px;
}

.faq-list {
    max-width: 970px;
}

.faq details {
    padding: 24px 0;

    border-bottom: 1px solid var(--border);
}

.faq summary {
    cursor: pointer;

    list-style: none;

    color: var(--navy);

    font-size: 18px;
    font-weight: 700;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    content: "+";

    float: right;

    color: var(--orange);

    font-size: 24px;
    font-weight: 500;
}

.faq details[open] summary::after {
    content: "–";
}

.faq details p {
    max-width: 780px;

    margin-top: 15px;

    color: var(--muted);

    line-height: 1.65;
}


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

.final-cta {
    padding: 70px 0;

    background: white;
}

.final-cta-box {
    min-height: 250px;

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

    gap: 50px;

    padding: 50px 60px;

    border-radius: 28px;

    color: white;

    background:
        linear-gradient(
            120deg,
            #f46921,
            #e9570e
        );

    box-shadow:
        0 22px 60px rgba(243,106,33,.22);
}

.final-cta-box span {
    font-size: 12px;
    font-weight: 800;

    letter-spacing: .07em;
}

.final-cta-box h2 {
    max-width: 780px;

    margin-top: 10px;

    font-size: clamp(30px,3vw,45px);
    line-height: 1.07;

    letter-spacing: -.04em;
}

.final-cta-button {
    min-width: 220px;

    padding: 17px 25px;

    color: var(--navy);

    background: white;
}


/* =========================================================
   RESPONSIVO NOVAS SECOES
   ========================================================= */

@media (max-width: 1050px) {

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

    .method-grid,
    .tax-grid,
    .ecosystem-grid {
        grid-template-columns: 1fr;
    }

    .number-item:nth-child(2) {
        border-right: 0;
    }

    .number-item {
        border-bottom: 1px solid var(--border);
    }

}


@media (max-width: 650px) {

    .specialists,
    .method,
    .tax-reform,
    .ecosystem,
    .faq {
        padding: 65px 0;
    }

    .specialists-grid,
    .numbers-grid {
        grid-template-columns: 1fr;
    }

    .number-item {
        border-right: 0;
    }

    .specialist-card {
        min-height: auto;
    }

    .tax-panel {
        padding: 10px 22px;
    }

    .final-cta-box {
        flex-direction: column;
        align-items: flex-start;

        padding: 38px 27px;
    }

}


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

.footer-main {
    padding: 70px 0 25px;

    color: #b5c2d0;

    background:
        linear-gradient(
            135deg,
            #031126,
            #061b42
        );
}

.footer-grid {
    display: grid;

    grid-template-columns:
        1.45fr
        .8fr
        .9fr
        .8fr;

    gap: 65px;
}

.footer-brand-column {
    max-width: 370px;
}

.footer-cp {
    display: flex;
    align-items: center;

    gap: 14px;
}

.footer-cp img {
    width: 62px;
    height: 62px;

    object-fit: cover;

    border-radius: 50%;
}

.footer-cp strong,
.footer-cp span {
    display: block;
}

.footer-cp strong {
    color: white;

    font-size: 18px;
}

.footer-cp span {
    color: var(--orange);

    font-size: 18px;
    font-weight: 800;
}

.footer-brand-column > p {
    margin-top: 22px;

    max-width: 330px;

    color: #99aabd;

    font-size: 13px;
    line-height: 1.7;
}


/* BilgiCo propositalmente discreta */

.footer-bilgico {
    margin-top: 28px;
}

.footer-bilgico small {
    display: block;

    margin-bottom: 10px;

    color: #708398;

    font-size: 10px;
}

.footer-bilgico img {
    width: 150px;
    height: auto;

    opacity: .58;

    filter:
        brightness(1.6)
        grayscale(.25);
}


/* links */

.footer-column h3 {
    margin-bottom: 22px;

    color: white;

    font-size: 13px;
}

.footer-column a {
    display: block;

    margin: 12px 0;

    color: #98aabd;

    font-size: 12px;

    transition:
        color .2s ease,
        transform .2s ease;
}

.footer-column a:hover {
    color: white;

    transform: translateX(3px);
}


/* rodape inferior */

.footer-bottom {
    margin-top: 55px;

    padding-top: 23px;

    display: flex;
    justify-content: space-between;

    border-top:
        1px solid rgba(255,255,255,.08);

    color: #708398;

    font-size: 11px;
}


/* mobile */

@media (max-width: 900px) {

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

}


@media (max-width: 600px) {

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

        gap: 38px;
    }

    .footer-bottom {
        flex-direction: column;

        gap: 8px;
    }

}

/* =========================================================
   WHATSAPP FLUTUANTE
   ========================================================= */

.whatsapp-float {
    position: fixed;

    right: 24px;
    bottom: 24px;

    z-index: 999;

    min-width: 150px;
    height: 54px;

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

    padding: 0 22px;

    border-radius: 999px;

    color: #ffffff;

    background: #25d366;

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

    box-shadow:
        0 12px 35px rgba(0,0,0,.18);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.whatsapp-float::before {
    content: "●";

    margin-right: 9px;

    color: #ffffff;

    font-size: 15px;
}

.whatsapp-float:hover {
    transform: translateY(-3px);

    box-shadow:
        0 16px 40px rgba(0,0,0,.22);
}

@media (max-width: 600px) {

    .whatsapp-float {
        right: 15px;
        bottom: 15px;

        min-width: 54px;
        width: 54px;

        padding: 0;
    }

    .whatsapp-float span {
        display: none;
    }

    .whatsapp-float::before {
        margin-right: 0;
    }

}


/* =========================================================
   MOBILE MENU
   ========================================================= */

.mobile-menu-toggle {
    display: none;

    width: 46px;
    height: 46px;

    padding: 0;

    border: 0;
    border-radius: 12px;

    background: #f4f7fa;

    cursor: pointer;

    align-items: center;
    justify-content: center;
    flex-direction: column;

    gap: 5px;

    position: relative;
    z-index: 1002;
}

.mobile-menu-toggle span {
    display: block;

    width: 21px;
    height: 2px;

    border-radius: 10px;

    background: var(--navy);

    transition:
        transform .25s ease,
        opacity .25s ease;
}


/* X quando aberto */

.mobile-menu-toggle.active span:nth-child(1) {
    transform:
        translateY(7px)
        rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform:
        translateY(-7px)
        rotate(-45deg);
}


/* overlay */

.mobile-menu-overlay {
    display: none;

    position: fixed;
    inset: 0;

    z-index: 998;

    background: rgba(3,17,38,.45);

    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.mobile-menu-overlay.active {
    display: block;
}


/* trava rolagem */

body.menu-open {
    overflow: hidden;
}


/* =========================================================
   TABLET / MOBILE
   ========================================================= */

@media (max-width: 1150px) {

    .header-inner {
        position: relative;
    }

    .mobile-menu-toggle {
        display: flex;

        margin-left: auto;
    }


    /* menu lateral */

    .nav {
        display: flex !important;

        position: fixed;

        top: 0;
        right: 0;

        z-index: 1001;

        width: min(360px, 88vw);
        height: 100vh;

        padding:
            105px
            28px
            35px;

        flex-direction: column;
        align-items: stretch;

        gap: 0;

        background: #ffffff;

        box-shadow:
            -20px 0 60px rgba(6,27,66,.18);

        transform: translateX(105%);

        transition:
            transform .28s ease;
    }

    .nav.mobile-open {
        transform: translateX(0);
    }


    /* links */

    .nav a {
        display: flex;

        align-items: center;

        min-height: 58px;

        padding: 0 8px;

        border-bottom:
            1px solid #edf0f4;

        color: var(--navy);

        font-size: 16px;
        font-weight: 700;
    }

    .nav a:hover,
    .nav .active {
        color: var(--orange);
    }

    .nav .active {
        border-bottom:
            1px solid #edf0f4;
    }


    /* BilgiCo fica visível até tablet */

    .by-bilgico {
        margin-left: auto;
        margin-right: 6px;
    }


    /* botão desktop de contato */

    .header-inner > .btn {
        display: none;
    }

}


/* =========================================================
   MOBILE PEQUENO
   ========================================================= */

@media (max-width: 700px) {

    .header {
        position: sticky;
        top: 0;
    }

    .header-inner {
        height: 76px;

        gap: 10px;
    }


    /* logo */

    .brand {
        min-width: 0;

        gap: 10px;
    }

    .logo-cp {
        width: 48px;
        height: 48px;

        flex-shrink: 0;
    }

    .brand-name {
        padding-right: 0;

        border-right: 0;
    }

    .brand-name strong {
        font-size: 14px;
        line-height: 1.05;
    }

    .brand-name span {
        font-size: 14px;
        line-height: 1.05;
    }

    .brand-name small {
        display: none;
    }


    /* BilgiCo some no celular pequeno */

    .by-bilgico {
        display: none;
    }


    /* hamburger */

    .mobile-menu-toggle {
        width: 44px;
        height: 44px;

        margin-left: auto;

        flex-shrink: 0;
    }


    /* menu */

    .nav {
        width: min(330px, 90vw);

        padding-top: 90px;
    }


    /* hero */

    .hero,
    .hero-grid {
        min-height: auto;
    }

    .hero-content {
        padding:
            48px
            0
            40px;
    }

    .hero h1 {
        font-size: clamp(38px,11vw,48px);
        line-height: 1.02;
    }

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

    .hero-buttons {
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }


    /* card do hero */

    .hero-visual {
        height: 390px;
    }

    .benefits-card {
        top: 65px;
        right: 50%;

        width: calc(100% - 30px);

        transform: translateX(50%);
    }


    /* cards de serviços */

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service {
        min-height: auto;

        padding:
            28px
            22px;
    }


    /* títulos gerais */

    .section-heading h2,
    .method-intro h2,
    .ecosystem-copy h2 {
        font-size: 34px;
    }


    /* grids */

    .specialists-grid,
    .numbers-grid,
    .challenge-grid,
    .impact-grid,
    .pt-analysis-grid,
    .seo-service-grid,
    .tax-actions-grid,
    .pt-related-grid {
        grid-template-columns: 1fr;
    }


    /* CTA */

    .contact-box,
    .final-cta-box,
    .seo-cta-box,
    .tax-cta-box,
    .pt-cta-box {
        padding:
            35px
            24px;
    }


    /* footer */

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

        gap: 35px;
    }

}


/* =========================================================
   EXTRA PEQUENO
   ========================================================= */

@media (max-width: 420px) {

    .container {
        width:
            min(
                calc(100% - 24px),
                1440px
            );
    }

    .brand-name strong,
    .brand-name span {
        font-size: 12px;
    }

    .logo-cp {
        width: 44px;
        height: 44px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .mobile-menu-toggle {
        width: 42px;
        height: 42px;
    }

}


/* =========================================================
   MOBILE MENU - REFINAMENTO DE FOCO
   ========================================================= */

@media (max-width: 1150px) {

    .mobile-menu-overlay {
        background: rgba(2, 12, 30, .72);

        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
    }


    .nav {
        width: min(380px, 92vw);

        padding:
            96px
            24px
            30px;

        background: #ffffff;

        border-left:
            1px solid rgba(6, 27, 66, .08);

        box-shadow:
            -25px 0 70px rgba(0, 0, 0, .28);
    }


    /* faixa superior interna */

    .nav::before {
        content: "NAVEGAÇÃO";

        position: absolute;

        top: 32px;
        left: 28px;

        color: #8491a1;

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

        letter-spacing: .12em;
    }


    /* links */

    .nav a {
        position: relative;

        min-height: 62px;

        display: flex;
        align-items: center;

        padding:
            0
            18px;

        margin-bottom: 8px;

        border: 0;
        border-radius: 12px;

        color: var(--navy);

        background: transparent;

        font-size: 16px;
        font-weight: 750;

        transition:
            background .2s ease,
            color .2s ease,
            transform .2s ease;
    }


    .nav a:hover {
        color: var(--orange);

        background: #fff5ef;

        transform: translateX(3px);
    }


    /* item ativo */

    .nav a.active,
    .nav .active {
        color: #ffffff;

        background:
            linear-gradient(
                135deg,
                #f36a21,
                #e85a13
            );

        box-shadow:
            0 10px 25px rgba(243, 106, 33, .22);
    }


    .nav a.active::after,
    .nav .active::after {
        content: "";

        position: absolute;

        right: 16px;

        width: 7px;
        height: 7px;

        border-radius: 50%;

        background: #ffffff;
    }


    /* divisor visual no fim */

    .nav::after {
        content: "Contabilidade especializada para provedores de internet";

        display: block;

        margin-top: 22px;

        padding:
            22px
            18px
            0;

        border-top:
            1px solid #edf0f4;

        color: #8a96a5;

        font-size: 11px;
        line-height: 1.5;
    }


    /* hamburger mais evidente */

    .mobile-menu-toggle {
        background: #061b42;

        box-shadow:
            0 8px 24px rgba(6, 27, 66, .16);
    }


    .mobile-menu-toggle span {
        background: #ffffff;
    }


    .mobile-menu-toggle.active {
        background: var(--orange);
    }

}


@media (max-width: 700px) {

    .nav {
        width: min(340px, 92vw);

        padding-top: 90px;
    }

    .nav::before {
        top: 30px;
        left: 24px;
    }

    .nav a {
        min-height: 58px;

        font-size: 15px;
    }

}


/* =========================================================
   MOBILE NAV V4
   ========================================================= */

.mobile-menu-toggle {
    display: none;
}

.mobile-menu-overlay {
    display: none;
}


@media (max-width: 1150px) {

    /* BOTAO */

    .mobile-menu-toggle {
        display: flex !important;

        position: relative;
        z-index: 10002;

        width: 46px;
        height: 46px;

        margin-left: auto;
        padding: 0;

        flex-direction: column;
        align-items: center;
        justify-content: center;

        gap: 5px;

        flex-shrink: 0;

        border: 0;
        border-radius: 12px;

        background: #061b42;

        cursor: pointer;

        box-shadow:
            0 8px 24px rgba(6,27,66,.18);
    }


    .mobile-menu-toggle span {
        display: block;

        width: 21px;
        height: 2px;

        margin: 0;

        background: #ffffff;

        border-radius: 20px;

        transition: .25s ease;
    }


    .mobile-menu-toggle.active {
        background: #f36a21;
    }


    .mobile-menu-toggle.active span:nth-child(1) {
        transform:
            translateY(7px)
            rotate(45deg);
    }


    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }


    .mobile-menu-toggle.active span:nth-child(3) {
        transform:
            translateY(-7px)
            rotate(-45deg);
    }


    /* OVERLAY */

    .mobile-menu-overlay {
        display: block !important;

        position: fixed;

        inset: 0;

        z-index: 9998;

        background:
            rgba(2,12,30,.70);

        opacity: 0;

        visibility: hidden;

        pointer-events: none;

        transition:
            opacity .25s ease,
            visibility .25s ease;
    }


    .mobile-menu-overlay.active {
        opacity: 1;

        visibility: visible;

        pointer-events: auto;
    }


    /* MENU */

    .header .nav {
        display: flex !important;

        position: fixed !important;

        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        left: auto !important;

        z-index: 10000 !important;

        width: min(380px, 90vw) !important;
        height: 100dvh !important;

        margin: 0 !important;

        padding:
            100px
            24px
            35px !important;

        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;

        gap: 7px !important;

        background: #ffffff !important;

        box-shadow:
            -20px 0 60px rgba(0,0,0,.25);

        overflow-y: auto;

        transform:
            translate3d(105%,0,0) !important;

        visibility: hidden;

        transition:
            transform .28s ease,
            visibility .28s ease;
    }


    .header .nav.mobile-open {
        transform:
            translate3d(0,0,0) !important;

        visibility: visible;
    }


    /* TITULO */

    .header .nav::before {
        content: "MENU";

        position: absolute;

        top: 35px;
        left: 28px;

        color: #8996a6;

        font-size: 11px;
        font-weight: 900;

        letter-spacing: .16em;
    }


    /* LINKS */

    .header .nav a {
        display: flex !important;

        width: 100%;

        min-height: 58px;

        margin: 0 !important;

        padding:
            0
            18px !important;

        align-items: center;

        border: 0 !important;
        border-radius: 12px;

        color: #061b42 !important;

        background: #f7f9fc;

        font-size: 15px;
        font-weight: 750;

        text-decoration: none;

        transition: .18s ease;
    }


    .header .nav a:hover {
        color: #f36a21 !important;

        background: #fff3eb;

        transform:
            translateX(3px);
    }


    .header .nav a.active {
        color: #ffffff !important;

        background:
            linear-gradient(
                135deg,
                #f36a21,
                #e85a13
            );

        box-shadow:
            0 10px 25px
            rgba(243,106,33,.22);
    }


    /* BODY */

    body.menu-open {
        overflow: hidden !important;
        touch-action: none;
    }


    /* BOTAO DESKTOP */

    .header-inner > .btn {
        display: none;
    }

}


@media (max-width: 700px) {

    .header-inner {
        min-height: 74px;
    }


    .header .nav {
        width: min(340px, 92vw) !important;

        padding:
            90px
            20px
            30px !important;
    }


    .header .nav::before {
        top: 30px;
        left: 24px;
    }


    .by-bilgico {
        display: none;
    }


    .brand-name small {
        display: none;
    }

}

/* =========================================================
   FIX MOBILE MENU - STACKING CONTEXT
   ========================================================= */

@media (max-width: 1150px) {

    /* O header inteiro precisa ficar acima do overlay */
    .header {
        z-index: 10000 !important;
    }

    .header-inner {
        position: relative !important;
        z-index: 10002 !important;
    }

    /* Overlay abaixo do header/menu */
    .mobile-menu-overlay {
        z-index: 9990 !important;
    }

    /* Menu acima de absolutamente tudo */
    .header .nav {
        z-index: 10005 !important;
    }

    /* Botao X acima do painel */
    .mobile-menu-toggle {
        position: relative !important;
        z-index: 10010 !important;
    }

    /* Quando aberto */
    .header .nav.mobile-open {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;

        transform: translate3d(0,0,0) !important;
    }

}


/* =========================================================
   LINKS LEGAIS
   ========================================================= */

.footer-legal {
    width: min(1440px, calc(100% - 80px));
    margin: 38px auto 0;

    padding-top: 20px;

    display: flex;
    gap: 22px;
    flex-wrap: wrap;

    border-top: 1px solid rgba(255,255,255,.08);
}

.footer-legal a {
    color: #8293a6;
    font-size: 11px;
    text-decoration: none;
}

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

@media(max-width:700px) {

    .footer-legal {
        width: min(100% - 30px, 1440px);
        gap: 15px;
    }

}


/* =========================================================
   BILGICO COOKIE CONSENT
   ========================================================= */

.cookie-consent[hidden] {
    display: none !important;
}

.cookie-consent {
    position: fixed;

    left: 24px;
    right: 24px;
    bottom: 24px;

    z-index: 20000;

    opacity: 0;

    transform: translateY(25px);

    transition:
        opacity .3s ease,
        transform .3s ease;

    pointer-events: none;
}

.cookie-consent.cookie-visible {
    opacity: 1;

    transform: translateY(0);

    pointer-events: auto;
}

.cookie-consent-inner {
    width: min(1180px, 100%);

    margin: 0 auto;

    padding: 20px 22px;

    display: grid;

    grid-template-columns:
        48px
        minmax(0,1fr)
        auto;

    align-items: center;

    gap: 18px;

    background: #ffffff;

    border:
        1px solid rgba(6,27,66,.09);

    border-radius: 18px;

    box-shadow:
        0 22px 70px rgba(2,15,38,.22);
}

.cookie-consent-icon {
    width: 48px;
    height: 48px;

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

    border-radius: 14px;

    background: #fff1e8;

    color: #f36a21;

    font-size: 14px;
    font-weight: 900;
}

.cookie-consent-copy strong {
    display: block;

    margin-bottom: 5px;

    color: #061b42;

    font-size: 15px;
}

.cookie-consent-copy p {
    max-width: 700px;

    margin: 0;

    color: #687789;

    font-size: 12px;
    line-height: 1.55;
}

.cookie-consent-copy a {
    color: #f36a21;

    font-weight: 700;

    text-decoration: none;
}

.cookie-consent-copy a:hover {
    text-decoration: underline;
}

.cookie-consent-actions {
    display: flex;

    align-items: center;

    gap: 10px;
}

.cookie-btn {
    min-height: 44px;

    padding: 0 18px;

    border-radius: 11px;

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

    cursor: pointer;

    white-space: nowrap;

    transition:
        transform .18s ease,
        background .18s ease;
}

.cookie-btn:hover {
    transform: translateY(-1px);
}

.cookie-btn-essential {
    border:
        1px solid #d8dee7;

    background: #ffffff;

    color: #061b42;
}

.cookie-btn-essential:hover {
    background: #f6f8fa;
}

.cookie-btn-accept {
    border:
        1px solid #f36a21;

    background: #f36a21;

    color: #ffffff;

    box-shadow:
        0 8px 20px rgba(243,106,33,.20);
}

.cookie-btn-accept:hover {
    background: #e95c14;
}


/* MOBILE */

@media (max-width: 800px) {

    .cookie-consent {
        left: 12px;
        right: 12px;
        bottom: 12px;
    }

    .cookie-consent-inner {
        padding: 18px;

        grid-template-columns: 1fr;

        gap: 13px;

        border-radius: 17px;
    }

    .cookie-consent-icon {
        width: 42px;
        height: 42px;
    }

    .cookie-consent-copy strong {
        font-size: 15px;
    }

    .cookie-consent-copy p {
        font-size: 12px;
    }

    .cookie-consent-actions {
        width: 100%;
    }

    .cookie-btn {
        flex: 1;

        padding:
            0
            12px;
    }

}

@media (max-width: 430px) {

    .cookie-consent-actions {
        flex-direction: column-reverse;
    }

    .cookie-btn {
        width: 100%;
    }

}

