:root {
    --marsala: #7a1f2b;
    --marsala-dark: #5f1721;
    --marsala-light: #a83a4a;

    --black: #111214;
    --charcoal: #1c1f24;
    --gray-900: #272a30;
    --gray-700: #555b66;
    --gray-500: #8a9099;
    --gray-300: #d9dde3;
    --gray-200: #e8ebef;
    --gray-100: #f4f5f7;

    --white: #ffffff;

    --font: "Inter", Arial, Helvetica, sans-serif;

    --container: 1220px;

    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 30px;

    --shadow-sm: 0 12px 35px rgba(17, 18, 20, 0.06);
    --shadow-md: 0 20px 60px rgba(17, 18, 20, 0.1);
    --shadow-lg: 0 30px 90px rgba(17, 18, 20, 0.16);

    --transition: 0.3s ease;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font);
    background:
        radial-gradient(
            circle at top right,
            rgba(122, 31, 43, 0.08),
            transparent 34%
        ),
        var(--white);
    color: var(--black);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

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

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

button,
input,
textarea,
select {
    font: inherit;
}

h1,
h2,
h3,
h4,
p {
    margin-top: 0;
}

h1,
h2,
h3,
h4 {
    line-height: 1.1;
    letter-spacing: -0.035em;
}

h1 {
    font-size: clamp(2.8rem, 7vw, 6.2rem);
    font-weight: 800;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.8rem);
    font-weight: 750;
}

h3 {
    font-size: 1.25rem;
    font-weight: 700;
}

p {
    color: var(--gray-700);
    font-size: 1rem;
}

ul {
    padding-left: 1.3rem;
}

li {
    margin-bottom: 0.5rem;
}

.site-wrapper {
    min-height: 100vh;
}

.container {
    width: min(100% - 40px, var(--container));
    margin-inline: auto;
}

/* HEADER */

.topbar {
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 1px solid rgba(17, 18, 20, 0.05);
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition: var(--transition);
}

.topbar.scrolled {
    box-shadow: 0 8px 30px rgba(17, 18, 20, 0.06);
}

.nav-container {
    min-height: 78px;
    display: flex;
    align-items: center;
    gap: 34px;
}

.logo,
.footer-logo {
    display: inline-flex;
    align-items: center;
}

.logo img {
    width: 132px;
    max-height: 48px;
    object-fit: contain;
}

.main-nav {
    flex: 1;
}

.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.main-nav li {
    position: relative;
    margin: 0;
}

.main-nav > ul > li > a {
    display: block;
    padding: 27px 14px;
    color: var(--gray-900);
    font-size: 0.94rem;
    font-weight: 600;
    transition: var(--transition);
}

.main-nav > ul > li > a:hover {
    color: var(--marsala);
}

.dropdown:hover .mega-menu,
.dropdown:focus-within .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu {
    position: absolute;
    top: calc(100% - 8px);
    left: 50%;
    width: 280px;
    padding: 22px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 12px);
    transition: var(--transition);
}

.mega-menu h3 {
    margin-bottom: 12px;
    color: var(--marsala);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.mega-menu a {
    display: block;
    padding: 11px 12px;
    border-radius: 10px;
    color: var(--gray-900);
    font-size: 0.92rem;
    font-weight: 550;
    transition: var(--transition);
}

.mega-menu a:hover {
    padding-left: 16px;
    background: var(--gray-100);
    color: var(--marsala);
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 700;
    transition: var(--transition);
}

.btn-primary {
    background: var(--marsala);
    color: var(--white);
    box-shadow: 0 12px 30px rgba(122, 31, 43, 0.2);
}

.btn-primary:hover {
    background: var(--marsala-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    border-color: var(--gray-300);
    background: var(--white);
    color: var(--black);
}

.btn-secondary:hover {
    border-color: var(--marsala);
    color: var(--marsala);
    transform: translateY(-2px);
}

/* HERO */

.hero {
    position: relative;
    overflow: hidden;
    padding: 110px 0 90px;
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(10px);
}

.hero::before {
    width: 520px;
    height: 520px;
    top: -220px;
    right: -140px;
    background: radial-gradient(
        circle,
        rgba(122, 31, 43, 0.18),
        transparent 68%
    );
}

.hero::after {
    width: 430px;
    height: 430px;
    bottom: -250px;
    left: -180px;
    background: radial-gradient(
        circle,
        rgba(17, 18, 20, 0.08),
        transparent 68%
    );
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 60px;
}

.hero-copy {
    max-width: 750px;
}

.tag {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    margin-bottom: 24px;
    padding: 0 14px;
    border: 1px solid rgba(122, 31, 43, 0.16);
    border-radius: 999px;
    background: rgba(122, 31, 43, 0.06);
    color: var(--marsala);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.hero h1 {
    max-width: 900px;
    margin-bottom: 26px;
}

.hero h1 strong {
    color: var(--marsala);
}

.hero p {
    max-width: 680px;
    margin-bottom: 34px;
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-visual {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 520px;
}

.hero-visual::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(122, 31, 43, 0.12);
    clip-path: polygon(
        25% 6%,
        75% 6%,
        100% 50%,
        75% 94%,
        25% 94%,
        0 50%
    );
    background: linear-gradient(
        145deg,
        rgba(122, 31, 43, 0.08),
        rgba(255, 255, 255, 0.25)
    );
}

.hero-visual img {
    position: relative;
    z-index: 1;
    width: min(100%, 420px);
    animation: floating 5s ease-in-out infinite;
}

@keyframes floating {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-14px);
    }
}

/* SECTIONS */

.section {
    padding: 96px 0;
}

.section-soft {
    background: var(--gray-100);
}

.section-dark {
    background: var(--black);
    color: var(--white);
}

.section-dark p {
    color: rgba(255, 255, 255, 0.68);
}

.section-header {
    max-width: 760px;
    margin-bottom: 48px;
}

.section-header.center {
    margin-inline: auto;
    text-align: center;
}

.section-header p {
    font-size: 1.08rem;
}

/* CARDS */

.cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.card {
    position: relative;
    overflow: hidden;
    padding: 30px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.card::after {
    content: "";
    position: absolute;
    width: 130px;
    height: 130px;
    right: -70px;
    bottom: -70px;
    border-radius: 50%;
    background: rgba(122, 31, 43, 0.06);
    transition: var(--transition);
}

.card:hover {
    border-color: rgba(122, 31, 43, 0.3);
    box-shadow: var(--shadow-md);
    transform: translateY(-7px);
}

.card:hover::after {
    transform: scale(1.5);
}

.card h3 {
    margin-bottom: 12px;
}

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

.card-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin-bottom: 22px;
    border-radius: 14px;
    background: rgba(122, 31, 43, 0.08);
    color: var(--marsala);
    font-size: 1.25rem;
    font-weight: 800;
}

/* THREE PILLARS */

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.pillar-card {
    min-height: 390px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 36px;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.pillar-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.pillar-number {
    color: var(--marsala);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.pillar-card h3 {
    margin: 20px 0 14px;
    font-size: 2rem;
}

.pillar-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--marsala);
    font-weight: 750;
}

/* KOD ECOSYSTEM */

.kod-panel {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
    padding: 56px;
    border-radius: var(--radius-lg);
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.04),
            rgba(255, 255, 255, 0.01)
        ),
        var(--charcoal);
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.kod-panel p {
    color: rgba(255, 255, 255, 0.68);
}

.kod-orbit {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 500px;
}

.kod-core {
    position: relative;
    z-index: 2;
    width: 190px;
    height: 190px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    clip-path: polygon(
        25% 6%,
        75% 6%,
        100% 50%,
        75% 94%,
        25% 94%,
        0 50%
    );
    background: linear-gradient(
        145deg,
        var(--marsala),
        var(--marsala-dark)
    );
    box-shadow: 0 0 80px rgba(122, 31, 43, 0.35);
    font-size: 2rem;
    font-weight: 800;
}

.kod-item {
    position: absolute;
    min-width: 120px;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.88rem;
    font-weight: 650;
}

.kod-item:nth-child(2) {
    top: 5%;
}

.kod-item:nth-child(3) {
    right: 2%;
    top: 28%;
}

.kod-item:nth-child(4) {
    right: 10%;
    bottom: 13%;
}

.kod-item:nth-child(5) {
    bottom: 2%;
}

.kod-item:nth-child(6) {
    left: 10%;
    bottom: 13%;
}

.kod-item:nth-child(7) {
    left: 2%;
    top: 28%;
}

/* PAGE HERO */

.page-hero {
    padding: 105px 0 75px;
    border-bottom: 1px solid var(--gray-200);
    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(122, 31, 43, 0.13),
            transparent 32%
        ),
        var(--gray-100);
}

.page-hero h1 {
    max-width: 880px;
    margin-bottom: 20px;
    font-size: clamp(2.5rem, 5vw, 4.8rem);
}

.page-hero p {
    max-width: 760px;
    font-size: 1.12rem;
}

/* TABLE */

.table {
    width: 100%;
    margin-top: 30px;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.table th,
.table td {
    padding: 18px 20px;
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}

.table th {
    background: var(--charcoal);
    color: var(--white);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.table tr:last-child td {
    border-bottom: 0;
}

.table tbody tr:hover {
    background: var(--gray-100);
}

/* FORM */

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full {
    grid-column: 1 / -1;
}

.form-group label {
    color: var(--gray-900);
    font-size: 0.88rem;
    font-weight: 700;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px 16px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    background: var(--white);
    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--marsala);
    box-shadow: 0 0 0 4px rgba(122, 31, 43, 0.08);
}

/* FOOTER */

.site-footer {
    margin-top: 50px;
    padding: 76px 0 28px;
    background: var(--black);
    color: var(--white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr repeat(4, 1fr);
    gap: 42px;
}

.footer-brand {
    max-width: 330px;
}

.footer-logo img {
    width: 145px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.58);
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-column h3 {
    margin-bottom: 8px;
    color: var(--white);
    font-size: 0.92rem;
    letter-spacing: 0;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.88rem;
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--white);
    transform: translateX(3px);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: 58px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.82rem;
}

.footer-legal a:hover {
    color: var(--white);
}

/* ANIMATIONS */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE */

@media (max-width: 1080px) {
    .main-nav {
        display: none;
    }

    .nav-container {
        justify-content: space-between;
    }

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

    .hero-copy {
        max-width: 850px;
    }

    .hero-visual {
        min-height: 410px;
    }

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

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

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    .container {
        width: min(100% - 28px, var(--container));
    }

    .topbar .btn-primary {
        display: none;
    }

    .nav-container {
        min-height: 68px;
    }

    .logo img {
        width: 118px;
    }

    .hero {
        padding: 78px 0 62px;
    }

    .hero-grid {
        gap: 30px;
    }

    .hero-visual {
        min-height: 320px;
    }

    .hero-visual::before {
        width: 280px;
        height: 280px;
    }

    .hero-visual img {
        width: 280px;
    }

    .section {
        padding: 68px 0;
    }

    .pillars-grid,
    .cards,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .kod-panel {
        padding: 30px 22px;
    }

    .kod-orbit {
        min-height: 410px;
        transform: scale(0.88);
    }

    .table {
        display: block;
        overflow-x: auto;
    }

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

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 520px) {
    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn-primary,
    .hero-actions .btn-secondary {
        width: 100%;
    }

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

    .footer-brand {
        grid-column: auto;
    }

    .card,
    .pillar-card {
        padding: 24px;
    }
}

/* AJUSTE DOS CARDS NO BLOCO ESCURO DA HOME */

.kod-panel .cards {
    grid-template-columns: 1fr;
    gap: 14px;
}

.kod-panel .card {
    padding: 22px 24px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.07);
    box-shadow: none;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.kod-panel .card::after {
    display: none;
}

.kod-panel .card:hover {
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.11);
    box-shadow: none;
    transform: translateX(6px);
}

.kod-panel .card h3 {
    margin-bottom: 7px;
    color: #ffffff;
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.25;
}

.kod-panel .card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.92rem;
    font-weight: 400;
    line-height: 1.55;
}


/* TAGS EM SEÇÕES ESCURAS */

.section-dark .tag,
.kod-panel .tag{
    color:#ffffff;
    font-weight:800;
    border:1px solid rgba(255,255,255,.18);
    background:rgba(255,255,255,.08);
    letter-spacing:.12em;
}


/* PRODUTOS DO ECOSSISTEMA KOD */

.kod-products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 34px;
}

.section-dark .kod-products-grid .card {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.07);
    box-shadow: none;
}

.section-dark .kod-products-grid .card:hover {
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.11);
}

.section-dark .kod-products-grid .card h3 {
    color: #ffffff;
    font-weight: 750;
}

.section-dark .kod-products-grid .card p {
    color: rgba(255, 255, 255, 0.68);
}

.section-dark .kod-products-grid .card-icon {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

@media (max-width: 900px) {
    .kod-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .kod-products-grid {
        grid-template-columns: 1fr;
    }
}


/* CORREÇÃO DOS CARDS "COMO TRABALHAMOS" */

.section-dark .technology-benefits-grid .card {
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: #202329;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.section-dark .technology-benefits-grid .card:hover {
    border-color: rgba(255, 255, 255, 0.20);
    background: #292d34;
    transform: translateY(-6px);
}

.section-dark .technology-benefits-grid .card h3 {
    color: #ffffff;
    font-weight: 750;
}

.section-dark .technology-benefits-grid .card p {
    color: rgba(255, 255, 255, 0.76);
}

.section-dark .technology-benefits-grid .card-icon {
    background: #ffffff;
    color: var(--marsala);
    font-weight: 800;
}


/* ========================================
   BILGICO - CONTABILIDADE
======================================== */

.accounting-pillars {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.accounting-brands {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.accounting-brand {
    position: relative;
    min-height: 590px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 35px;
    padding: 48px;
    overflow: hidden;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: var(--shadow-md);
}

.accounting-brand::after {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    right: -160px;
    top: -160px;
    border-radius: 50%;
    background: rgba(122, 31, 43, .08);
    pointer-events: none;
}

.accounting-brand-label {
    color: var(--marsala);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.accounting-brand h2 {
    margin-bottom: 18px;
}

.accounting-lead {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--gray-900);
}

.brand-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px;
}

.brand-features span {
    padding: 8px 13px;
    border: 1px solid var(--gray-200);
    border-radius: 999px;
    background: var(--gray-100);
    color: var(--gray-700);
    font-size: .78rem;
    font-weight: 650;
}

.accounting-brand-dark {
    border-color: #292d34;
    background: var(--charcoal);
    color: #ffffff;
}

.accounting-brand-dark::after {
    background: rgba(122, 31, 43, .25);
}

.accounting-brand-dark h2 {
    color: #ffffff;
}

.accounting-brand-dark p {
    color: rgba(255,255,255,.68);
}

.accounting-brand-dark .accounting-lead {
    color: #ffffff;
}

.accounting-brand-dark .tag {
    color: #ffffff;
    border-color: rgba(255,255,255,.15);
    background: rgba(255,255,255,.08);
}

.accounting-brand-dark .accounting-brand-label {
    color: rgba(255,255,255,.6);
}

.accounting-brand-dark .brand-features span {
    border-color: rgba(255,255,255,.12);
    background: rgba(255,255,255,.07);
    color: rgba(255,255,255,.75);
}

.accounting-tech {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    align-items: center;
    gap: 70px;
}

.accounting-tech h2 {
    color: #ffffff;
}

.accounting-tech p {
    color: rgba(255,255,255,.68);
    font-size: 1.05rem;
}

.accounting-tech-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 14px;
}

.accounting-tech-list > div {
    padding: 24px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 18px;
    background: #202329;
}

.accounting-tech-list strong,
.accounting-tech-list span {
    display: block;
}

.accounting-tech-list strong {
    margin-bottom: 6px;
    color: #ffffff;
    font-size: 1.05rem;
}

.accounting-tech-list span {
    color: rgba(255,255,255,.62);
    font-size: .88rem;
}

@media (max-width: 960px) {

    .accounting-pillars {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .accounting-brands,
    .accounting-tech {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 600px) {

    .accounting-pillars,
    .accounting-tech-list {
        grid-template-columns: 1fr;
    }

    .accounting-brand {
        min-height: auto;
        padding: 30px 24px;
    }

}

/* ========================================
   BILGICO - EDUCACAO
======================================== */

.education-pillars {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.education-brands {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.education-brand {
    position: relative;
    min-height: 610px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 36px;
    overflow: hidden;
    padding: 48px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: var(--shadow-md);
}

.education-brand::after {
    content: "";
    position: absolute;
    width: 340px;
    height: 340px;
    right: -175px;
    top: -175px;
    border-radius: 50%;
    background: rgba(122, 31, 43, .08);
    pointer-events: none;
}

.education-brand-kicker {
    color: var(--marsala);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.education-brand h2 {
    margin-bottom: 18px;
}

.education-lead {
    color: var(--gray-900);
    font-size: 1.2rem;
    font-weight: 500;
}

.education-brand-dark {
    border-color: #292d34;
    background: var(--charcoal);
    color: #ffffff;
}

.education-brand-dark::after {
    background: rgba(122, 31, 43, .25);
}

.education-brand-dark h2,
.education-brand-dark .education-lead {
    color: #ffffff;
}

.education-brand-dark p {
    color: rgba(255, 255, 255, .68);
}

.education-brand-dark .tag {
    color: #ffffff;
    border-color: rgba(255, 255, 255, .15);
    background: rgba(255, 255, 255, .08);
}

.education-brand-dark .education-brand-kicker {
    color: rgba(255, 255, 255, .6);
}

.education-brand-dark .brand-features span {
    border-color: rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .07);
    color: rgba(255, 255, 255, .75);
}

.education-flow {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    align-items: center;
    gap: 70px;
}

.education-flow h2 {
    color: #ffffff;
}

.education-flow > div:first-child p {
    color: rgba(255, 255, 255, .68);
    font-size: 1.05rem;
}

.education-flow-steps {
    display: grid;
    gap: 14px;
}

.education-flow-steps > div {
    position: relative;
    padding: 24px 24px 24px 74px;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 18px;
    background: #202329;
}

.education-flow-steps span {
    position: absolute;
    top: 24px;
    left: 24px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #ffffff;
    color: var(--marsala);
    font-size: .78rem;
    font-weight: 800;
}

.education-flow-steps strong {
    display: block;
    margin-bottom: 6px;
    color: #ffffff;
    font-size: 1.02rem;
}

.education-flow-steps p {
    margin: 0;
    color: rgba(255, 255, 255, .65);
    font-size: .88rem;
}

@media (max-width: 960px) {

    .education-pillars {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .education-brands,
    .education-flow {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 600px) {

    .education-pillars {
        grid-template-columns: 1fr;
    }

    .education-brand {
        min-height: auto;
        padding: 30px 24px;
    }

}

/* ========================================
   BILGICO - SOBRE
======================================== */

.about-intro {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.about-intro p {
    font-size: 1.08rem;
}

.about-values {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.section-dark .about-values .card {
    border-color: rgba(255,255,255,.10);
    background: #202329;
    box-shadow: none;
}

.section-dark .about-values .card h3 {
    color: #ffffff;
}

.section-dark .about-values .card p {
    color: rgba(255,255,255,.70);
}

.section-dark .about-values .card-icon {
    background: #ffffff;
    color: var(--marsala);
}

.companies-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.company-card {
    padding: 26px;
    border: 1px solid var(--gray-200);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.company-card h3 {
    margin-bottom: 10px;
    font-size: 1rem;
    line-height: 1.35;
    letter-spacing: -0.015em;
}

.company-card p {
    margin: 0;
    font-size: .85rem;
}

@media (max-width: 960px) {

    .about-intro {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-values,
    .companies-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 600px) {

    .about-values,
    .companies-grid {
        grid-template-columns: 1fr;
    }

}

/* AJUSTE DOS CODIGOS DOS BLOCOS KOD */

.kod-platform-code {
    padding: 12px;
    text-align: center;
    font-size: 1.05rem;
    line-height: 1.05;
    letter-spacing: .04em;
    text-transform: uppercase;
}


/* KOD - PLATAFORMAS SEM SIGLAS LATERAIS */

.kod-platform {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 52px 58px;
}

.kod-platform-content {
    max-width: 900px;
}

.kod-platform-content h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin-bottom: 14px;
}

.kod-platform-lead {
    max-width: 720px;
    font-size: 1.18rem;
}

@media (max-width: 600px) {
    .kod-platform {
        padding: 32px 24px;
    }
}


/* ========================================
   BILGICO - MENU MINIMALISTA
======================================== */

.main-nav > ul {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-nav > ul > li {
    position: relative;
}

.main-nav > ul > li > a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 12px;

    color: var(--gray-700);
    font-size: .88rem;
    font-weight: 650;

    border-radius: 10px;

    transition: var(--transition);
}

.main-nav > ul > li > a:hover {
    color: var(--marsala);
    background: rgba(122, 31, 43, .05);
}


/* SETA */

.nav-chevron {
    position: relative;
    top: -1px;

    color: var(--gray-400);
    font-size: .85rem;

    transition: transform .2s ease;
}

.nav-dropdown:hover .nav-chevron {
    transform: rotate(180deg);
}


/* DROPDOWN */

.nav-dropdown-menu {
    position: absolute;

    top: calc(100% + 12px);
    left: 0;

    width: 290px;

    padding: 10px;

    visibility: hidden;
    opacity: 0;

    transform: translateY(8px);

    border: 1px solid rgba(20, 20, 20, .08);
    border-radius: 16px;

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

    box-shadow:
        0 20px 50px rgba(0, 0, 0, .10),
        0 4px 12px rgba(0, 0, 0, .04);

    transition:
        opacity .18s ease,
        transform .18s ease,
        visibility .18s ease;

    z-index: 1000;
}


/* ponte invisível entre menu e dropdown */

.nav-dropdown-menu::before {
    content: "";

    position: absolute;

    top: -14px;
    left: 0;

    width: 100%;
    height: 14px;
}


.nav-dropdown:hover > .nav-dropdown-menu {
    visibility: visible;
    opacity: 1;

    transform: translateY(0);
}


/* ITENS */

.nav-dropdown-menu > a {
    display: block;

    padding: 11px 13px;

    border-radius: 10px;

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

.nav-dropdown-menu > a:hover {
    background: #f5f5f6;
    transform: translateX(2px);
}

.nav-dropdown-menu strong,
.nav-dropdown-menu span {
    display: block;
}

.nav-dropdown-menu strong {
    margin-bottom: 2px;

    color: #17191d;

    font-size: .84rem;
    font-weight: 720;
}

.nav-dropdown-menu span {
    color: #858991;

    font-size: .69rem;
    font-weight: 450;
}


/* PRIMEIRO ITEM KOD */

.nav-dropdown-menu .nav-featured {
    padding: 14px;

    background:
        linear-gradient(
            135deg,
            rgba(122, 31, 43, .08),
            rgba(122, 31, 43, .025)
        );
}

.nav-dropdown-menu .nav-featured strong {
    color: var(--marsala);

    font-size: .9rem;
}

.nav-dropdown-menu .nav-featured span {
    color: var(--gray-600);
}


/* DIVISOR */

.nav-divider {
    height: 1px;

    margin: 7px 8px;

    background: var(--gray-200);
}


/* VER TODOS */

.nav-dropdown-menu .nav-view-all {
    margin-top: 2px;

    color: var(--marsala);

    font-size: .74rem;
    font-weight: 750;
}

.nav-dropdown-menu .nav-view-all:hover {
    color: var(--marsala);
}


/* DROPDOWNS CONTABILIDADE / EDUCACAO */

.nav-dropdown-small {
    width: 285px;
}


/* CTA */

.nav-cta {
    white-space: nowrap;
}


/* REMOVE ESTILOS DO MEGA MENU ANTIGO */

.mega-menu,
.mega-menu-wide {
    display: none !important;
}


/* RESPONSIVO */

@media (max-width: 1100px) {

    .main-nav > ul {
        gap: 1px;
    }

    .main-nav > ul > li > a {
        padding-left: 8px;
        padding-right: 8px;

        font-size: .82rem;
    }

}


/* ========================================
   BILGICO - MENU MOBILE
======================================== */

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

@media (max-width: 1080px) {

    .main-nav,
    .nav-cta {
        display: none;
    }

    .nav-container {
        min-height: 70px;
    }

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

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

        gap: 5px;

        padding: 0;

        border: 1px solid var(--gray-200);
        border-radius: 13px;

        background: #ffffff;

        cursor: pointer;

        transition: var(--transition);
    }

    .mobile-menu-toggle:hover {
        border-color: rgba(122, 31, 43, .25);
        background: var(--gray-100);
    }

    .mobile-menu-toggle span {
        width: 19px;
        height: 2px;

        display: block;

        border-radius: 999px;

        background: var(--black);

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

    .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);
    }


    /* PAINEL */

    .mobile-menu {
        position: fixed;

        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;

        z-index: 998;

        display: block;

        visibility: hidden;
        opacity: 0;

        overflow-y: auto;

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

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

        transform: translateY(-10px);

        transition:
            opacity .22s ease,
            transform .22s ease,
            visibility .22s ease;
    }

    .mobile-menu.active {
        visibility: visible;
        opacity: 1;

        transform: translateY(0);
    }

    .mobile-menu-inner {
        width: min(100% - 28px, 720px);

        margin: 0 auto;

        padding: 24px 0 50px;
    }


    /* LINKS */

    .mobile-menu-group,
    .mobile-menu-link {
        border-bottom: 1px solid var(--gray-200);
    }

    .mobile-submenu-toggle,
    .mobile-menu-link {
        width: 100%;

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

        padding: 18px 4px;

        border: 0;

        background: transparent;

        color: var(--black);

        font-size: 1.05rem;
        font-weight: 700;

        text-align: left;

        cursor: pointer;
    }

    .mobile-submenu-toggle > span:last-child {
        color: var(--marsala);

        font-size: 1.4rem;
        font-weight: 400;

        transition: transform .2s ease;
    }

    .mobile-menu-group.active
    .mobile-submenu-toggle > span:last-child {
        transform: rotate(45deg);
    }


    /* SUBMENU */

    .mobile-submenu {
        max-height: 0;

        overflow: hidden;

        opacity: 0;

        transition:
            max-height .35s ease,
            opacity .25s ease;
    }

    .mobile-menu-group.active .mobile-submenu {
        max-height: 650px;

        padding-bottom: 14px;

        opacity: 1;
    }

    .mobile-submenu a {
        display: block;

        margin: 2px 0;

        padding: 10px 12px;

        border-radius: 10px;

        color: var(--gray-700);

        font-size: .92rem;
        font-weight: 550;

        transition: var(--transition);
    }

    .mobile-submenu a:hover {
        padding-left: 17px;

        background: var(--gray-100);

        color: var(--marsala);
    }


    /* CTA */

    .mobile-menu-cta {
        width: 100%;

        margin-top: 28px;

        min-height: 52px;
    }

}

@media (max-width: 600px) {

    .mobile-menu {
        top: 68px;
    }

    .mobile-menu-inner {
        padding-top: 16px;
    }

    .mobile-submenu-toggle,
    .mobile-menu-link {
        padding-top: 16px;
        padding-bottom: 16px;
    }

}


/* ========================================
   CORRECAO MENU MOBILE - BILGICO
======================================== */

@media (max-width: 1080px) {

    .topbar {
        position: sticky;
        top: 0;
        z-index: 5000;
        overflow: visible;
    }

    .mobile-menu {
        position: absolute;

        top: 100%;
        left: 0;
        right: 0;

        width: 100%;
        height: calc(100vh - 70px);
        max-height: calc(100vh - 70px);

        z-index: 4999;

        display: block;

        visibility: hidden;
        opacity: 0;

        overflow-x: hidden;
        overflow-y: auto;

        background: #ffffff;

        transform: translateY(-8px);

        pointer-events: none;

        transition:
            opacity .2s ease,
            transform .2s ease,
            visibility .2s ease;

        -webkit-overflow-scrolling: touch;
    }

    .mobile-menu.active {
        visibility: visible;
        opacity: 1;

        transform: translateY(0);

        pointer-events: auto;
    }

    .mobile-menu-inner {
        width: min(100% - 28px, 720px);

        margin: 0 auto;

        padding: 22px 0 80px;
    }

    body.menu-open {
        overflow: hidden;
    }

}

@media (max-width: 600px) {

    .mobile-menu {
        height: calc(100vh - 68px);
        max-height: calc(100vh - 68px);
    }

}


/* ========================================
   BILGICO - FOOTER FINAL
======================================== */

.site-footer {
    margin-top: 0;
    padding: 82px 0 28px;
    background: #111214;
    color: #ffffff;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.6fr repeat(4, 1fr);
    gap: 46px;
}

.footer-brand {
    max-width: 330px;
}

.footer-logo {
    display: inline-flex;
    margin-bottom: 22px;
}

.footer-logo img {
    width: 150px;
    filter: brightness(0) invert(1);
}

.footer-brand > p {
    max-width: 290px;
    margin-bottom: 28px;
    color: rgba(255,255,255,.58);
    font-size: .92rem;
    line-height: 1.65;
}

.footer-contact {
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,.10);
}

.footer-contact span,
.footer-contact a {
    display: block;
}

.footer-contact span {
    margin-bottom: 5px;
    color: rgba(255,255,255,.40);
    font-size: .68rem;
    font-weight: 750;
    letter-spacing: .10em;
    text-transform: uppercase;
}

.footer-contact a {
    color: #ffffff;
    font-size: .9rem;
    font-weight: 650;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
}

.footer-column h3 {
    margin: 0 0 10px;
    color: #ffffff;
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .03em;
}

.footer-column a {
    color: rgba(255,255,255,.52);
    font-size: .82rem;
    line-height: 1.45;
    transition:
        color .2s ease,
        transform .2s ease;
}

.footer-column a:hover {
    color: #ffffff;
    transform: translateX(3px);
}

.footer-separator {
    height: 1px;
    margin-top: 58px;
    background: rgba(255,255,255,.10);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding-top: 24px;
}

.footer-bottom-copy {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 20px;
}

.footer-bottom-copy p,
.footer-bottom-copy span {
    margin: 0;
    color: rgba(255,255,255,.42);
    font-size: .76rem;
}

.footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
}

.footer-bottom-links a {
    color: rgba(255,255,255,.45);
    font-size: .76rem;
    transition: color .2s ease;
}

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

.footer-top-link {
    color: rgba(255,255,255,.68) !important;
    font-weight: 650;
}

@media (max-width: 1050px) {

    .footer-main {
        grid-template-columns: repeat(3, minmax(0,1fr));
    }

    .footer-brand {
        grid-column: 1 / -1;
        max-width: 500px;
    }

}

@media (max-width: 700px) {

    .site-footer {
        padding-top: 62px;
    }

    .footer-main {
        grid-template-columns: repeat(2, minmax(0,1fr));
        gap: 34px 26px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

}

@media (max-width: 480px) {

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

    .footer-brand {
        grid-column: auto;
    }

}

/* ========================================
   BILGICO - COOKIES / LGPD
======================================== */

.cookie-banner {
    position: fixed;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 9999;

    visibility: hidden;
    opacity: 0;

    transform: translateY(20px);

    pointer-events: none;

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

.cookie-banner.active {
    visibility: visible;
    opacity: 1;

    transform: translateY(0);

    pointer-events: auto;
}

.cookie-banner-inner {
    width: min(100%, 1080px);

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

    gap: 38px;

    margin: 0 auto;
    padding: 22px 24px;

    border: 1px solid rgba(255,255,255,.10);
    border-radius: 20px;

    background: #17191d;

    box-shadow:
        0 24px 70px rgba(0,0,0,.24),
        0 5px 20px rgba(0,0,0,.12);
}

.cookie-content {
    max-width: 690px;
}

.cookie-label {
    display: block;

    margin-bottom: 5px;

    color: rgba(255,255,255,.45);

    font-size: .65rem;
    font-weight: 800;

    letter-spacing: .12em;
    text-transform: uppercase;
}

.cookie-content > strong {
    display: block;

    margin-bottom: 5px;

    color: #ffffff;

    font-size: .95rem;
    font-weight: 750;
}

.cookie-content p {
    margin: 0;

    color: rgba(255,255,255,.62);

    font-size: .78rem;
    line-height: 1.55;
}

.cookie-content p a {
    color: #ffffff;
    font-weight: 650;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cookie-actions {
    display: flex;
    align-items: center;
    gap: 9px;

    flex-shrink: 0;
}

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

    padding: 0 17px;

    border-radius: 11px;

    font-family: inherit;
    font-size: .76rem;
    font-weight: 700;

    cursor: pointer;

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

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

.cookie-btn-secondary {
    border: 1px solid rgba(255,255,255,.16);

    background: transparent;

    color: rgba(255,255,255,.76);
}

.cookie-btn-secondary:hover {
    border-color: rgba(255,255,255,.28);
    background: rgba(255,255,255,.06);
    color: #ffffff;
}

.cookie-btn-primary {
    border: 1px solid var(--marsala);

    background: var(--marsala);

    color: #ffffff;
}

.cookie-btn-primary:hover {
    background: var(--marsala-dark);
    border-color: var(--marsala-dark);
}

@media (max-width: 760px) {

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

    .cookie-banner-inner {
        align-items: stretch;
        flex-direction: column;

        gap: 18px;

        padding: 20px;

        border-radius: 18px;
    }

    .cookie-actions {
        width: 100%;
    }

    .cookie-btn {
        flex: 1;
    }

}

@media (max-width: 430px) {

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

    .cookie-btn {
        width: 100%;
        min-height: 46px;
    }

}

/* ========================================
   BILGICO - WHATSAPP
======================================== */

.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9000;

    width: 58px;
    height: 58px;

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

    border-radius: 50%;

    background: #25D366;
    color: #ffffff;

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

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

.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.04);

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

.whatsapp-float svg {
    width: 31px;
    height: 31px;

    fill: currentColor;
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;

    width: max-content;

    padding: 8px 12px;

    border-radius: 9px;

    background: #17191d;
    color: #ffffff;

    font-size: .75rem;
    font-weight: 650;

    opacity: 0;
    visibility: hidden;

    transform: translateX(5px);

    pointer-events: none;

    transition:
        opacity .2s ease,
        visibility .2s ease,
        transform .2s ease;
}

.whatsapp-tooltip::after {
    content: '';

    position: absolute;
    top: 50%;
    right: -5px;

    width: 10px;
    height: 10px;

    background: #17191d;

    transform:
        translateY(-50%)
        rotate(45deg);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;

    transform: translateX(0);
}


/* Quando o banner LGPD estiver aberto */

body:has(.cookie-banner.active) .whatsapp-float {
    bottom: 150px;
}


@media (max-width: 760px) {

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

        width: 54px;
        height: 54px;
    }

    .whatsapp-float svg {
        width: 29px;
        height: 29px;
    }

    .whatsapp-tooltip {
        display: none;
    }

    body:has(.cookie-banner.active) .whatsapp-float {
        bottom: 230px;
    }

}

@media (max-width: 430px) {

    body:has(.cookie-banner.active) .whatsapp-float {
        display: none;
    }

}

/* ========================================
   FIX DEFINITIVO - WHATSAPP FLOAT
======================================== */

a.whatsapp-float {
    position: fixed !important;
    right: 24px !important;
    bottom: 24px !important;
    left: auto !important;
    top: auto !important;

    width: 58px !important;
    min-width: 58px !important;
    max-width: 58px !important;

    height: 58px !important;
    min-height: 58px !important;
    max-height: 58px !important;

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

    padding: 0 !important;
    margin: 0 !important;

    border: 0 !important;
    border-radius: 50% !important;

    background: #25D366 !important;

    overflow: visible !important;

    z-index: 9998 !important;

    box-sizing: border-box !important;
}

a.whatsapp-float > svg {
    position: static !important;

    display: block !important;

    width: 30px !important;
    min-width: 30px !important;
    max-width: 30px !important;

    height: 30px !important;
    min-height: 30px !important;
    max-height: 30px !important;

    margin: 0 !important;
    padding: 0 !important;

    transform: none !important;

    overflow: hidden !important;

    flex: 0 0 30px !important;
}

a.whatsapp-float > svg path {
    fill: #ffffff !important;
    stroke: none !important;
}

@media (max-width: 760px) {

    a.whatsapp-float {
        right: 16px !important;
        bottom: 16px !important;

        width: 54px !important;
        min-width: 54px !important;
        max-width: 54px !important;

        height: 54px !important;
        min-height: 54px !important;
        max-height: 54px !important;
    }

    a.whatsapp-float > svg {
        width: 28px !important;
        min-width: 28px !important;
        max-width: 28px !important;

        height: 28px !important;
        min-height: 28px !important;
        max-height: 28px !important;

        flex-basis: 28px !important;
    }

}

