:root {
    --brand: #2d20c7;
    --brand-hover: #21179e;
    --brand-dark: #18116d;
    --brand-deep: #0e0b38;
    --brand-light: #8178f2;
    --brand-soft: #efeeff;

    --ink: #111426;
    --text: #555b70;
    --muted: #7a8093;

    --white: #ffffff;
    --surface: #ffffff;
    --surface-soft: #f7f7fb;
    --border: #e5e6ef;

    --container: 1200px;

    --radius: 20px;
    --radius-large: 30px;

    --shadow:
        0 20px 55px
        rgba(20, 16, 73, 0.09);

    --shadow-large:
        0 30px 90px
        rgba(8, 6, 42, 0.23);
}

/* =========================================================
   RESET
========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    width: 100%;
    margin: 0;
    overflow-x: hidden;
    color: var(--ink);
    background: var(--white);
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img,
video,
svg,
iframe {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

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

h1,
h2,
h3 {
    color: var(--ink);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

h1 {
    font-size: clamp(3rem, 6vw, 5.6rem);
}

h2 {
    font-size: clamp(2.1rem, 4vw, 3.7rem);
}

h3 {
    font-size: 1.25rem;
}

p {
    color: var(--text);
}

a {
    color: inherit;
}

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

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

.skip-link {
    position: fixed;
    z-index: 9999;
    top: 10px;
    left: 10px;
    padding: 10px 16px;
    color: white;
    background: var(--brand);
    border-radius: 8px;
    transform: translateY(-200%);
}

.skip-link:focus {
    transform: none;
}

:focus-visible {
    outline: 3px solid rgba(65, 50, 220, 0.45);
    outline-offset: 4px;
}

/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: sticky;
    z-index: 1000;
    top: 0;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(18, 16, 55, 0.07);
    box-shadow: 0 4px 20px rgba(15, 12, 70, 0.025);
    backdrop-filter: blur(18px);
}

.header-inner {
    position: relative;
    display: flex;
    min-height: 96px;
    align-items: center;
    gap: 30px;
}

/* =========================================================
   LOGO / NOME
========================================================= */

.brand-logo-link {
    display: flex;
    flex: 0 1 auto;
    min-width: 0;
    align-items: center;
    gap: 16px;
    text-decoration: none;
}

.brand-logo {
    display: block;
    width: 76px;
    height: 76px;
    flex: 0 0 76px;
    object-fit: contain;
}

.brand-name {
    display: flex;
    min-width: 0;
    padding-left: 15px;
    flex-direction: column;
    border-left: 2px solid rgba(45, 32, 199, 0.18);
    line-height: 1.15;
}

.brand-name strong {
    color: var(--brand-dark);
    font-size: 1.08rem;
    font-weight: 900;
    letter-spacing: -0.025em;
    white-space: nowrap;
}

.brand-name small {
    margin-top: 6px;
    color: var(--brand);
    font-size: 0.72rem;
    font-weight: 650;
    letter-spacing: 0.015em;
    white-space: nowrap;
}

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

.main-menu {
    display: flex;
    margin-left: auto;
    align-items: center;
    gap: 25px;
}

.main-menu a {
    position: relative;
    color: #505568;
    font-size: 0.86rem;
    font-weight: 650;
    text-decoration: none;
    transition:
        color 0.2s ease,
        background 0.2s ease;
}

.main-menu a:hover,
.main-menu a[aria-current="page"] {
    color: var(--brand);
}

.main-menu .menu-contact {
    display: inline-flex;
    min-height: 45px;
    padding: 0 18px;
    align-items: center;
    color: white;
    background: var(--brand);
    border-radius: 11px;
    box-shadow: 0 8px 22px rgba(45, 32, 199, 0.17);
}

.main-menu .menu-contact:hover,
.main-menu .menu-contact[aria-current="page"] {
    color: white;
    background: var(--brand-hover);
}


/* =========================================================
   MENU DE SOLUÇÕES / MEGA MENU
========================================================= */

.menu-dropdown {
    position: relative;
}

.menu-dropdown-trigger {
    display: inline-flex;
    padding: 8px 0;
    align-items: center;
    gap: 8px;
    color: #505568;
    border: 0;
    background: transparent;
    font: inherit;
    font-size: 0.86rem;
    font-weight: 650;
    cursor: pointer;
    transition: color 0.2s ease;
}

.menu-dropdown-trigger:hover,
.menu-dropdown-trigger:focus-visible,
.menu-dropdown.is-current .menu-dropdown-trigger,
.menu-dropdown.is-open .menu-dropdown-trigger {
    color: var(--brand);
}

.menu-dropdown-trigger:focus-visible {
    outline: 3px solid rgba(45, 32, 199, 0.14);
    outline-offset: 5px;
    border-radius: 6px;
}

.menu-dropdown-chevron {
    width: 7px;
    height: 7px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.2s ease;
}

.menu-dropdown.is-open .menu-dropdown-chevron {
    transform: rotate(225deg) translate(-1px, -1px);
}

.menu-submenu {
    position: absolute;
    z-index: 120;
    top: calc(100% + 24px);
    left: 50%;
    width: min(780px, calc(100vw - 48px));
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, 10px);
    border: 1px solid rgba(17, 20, 38, 0.08);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.985);
    box-shadow: 0 24px 64px rgba(14, 11, 56, 0.16);
    transition:
        opacity 0.18s ease,
        visibility 0.18s ease,
        transform 0.18s ease;
}

.menu-submenu::before {
    content: "";
    position: absolute;
    right: 0;
    bottom: 100%;
    left: 0;
    height: 26px;
}

.menu-dropdown.is-open .menu-submenu,
.menu-dropdown:focus-within .menu-submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.menu-submenu-top {
    display: flex;
    padding: 4px 4px 16px;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    border-bottom: 1px solid #ededf4;
}

.menu-submenu-top > div {
    display: grid;
    gap: 4px;
}

.menu-submenu-eyebrow,
.menu-submenu-title {
    color: var(--brand);
    font-size: 0.64rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.menu-submenu-top strong {
    color: var(--ink);
    font-size: 0.96rem;
    line-height: 1.25;
}

.main-menu .menu-submenu-all {
    flex: 0 0 auto;
    padding: 8px 10px;
    color: var(--brand);
    border-radius: 9px;
    font-size: 0.76rem;
    font-weight: 800;
}

.main-menu .menu-submenu-all:hover {
    background: var(--brand-soft);
}

.menu-submenu-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.95fr 1fr;
    gap: 18px;
    padding-top: 18px;
}

.menu-submenu-group {
    display: grid;
    align-content: start;
    gap: 5px;
}

.menu-submenu-title {
    padding: 0 9px 5px;
    color: #7a7f92;
    font-size: 0.58rem;
}

.main-menu .menu-submenu-link {
    display: grid;
    padding: 10px 9px;
    gap: 3px;
    border: 0;
    border-radius: 11px;
    color: var(--ink);
    text-decoration: none;
    transition:
        background 0.18s ease,
        color 0.18s ease,
        transform 0.18s ease;
}

.main-menu .menu-submenu-link strong {
    color: inherit;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.25;
}

.main-menu .menu-submenu-link small {
    color: #73788b;
    font-size: 0.66rem;
    font-weight: 520;
    line-height: 1.35;
}

.main-menu .menu-submenu-link:hover,
.main-menu .menu-submenu-link[aria-current="page"] {
    color: var(--brand-dark);
    background: #f5f4ff;
    transform: translateY(-1px);
}


@media (hover: hover) and (pointer: fine) and (min-width: 1181px) {
    .menu-dropdown:hover .menu-submenu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translate(-50%, 0);
    }
}

.menu-button {
    display: none;
}

/* =========================================================
   BOTÕES
========================================================= */

.button {
    display: inline-flex;
    min-height: 54px;
    padding: 0 24px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--brand);
    border-radius: 12px;
    color: white;
    background: var(--brand);
    font-size: 0.9rem;
    font-weight: 750;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition:
        transform 0.25s ease,
        color 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.button:hover {
    color: white;
    background: var(--brand-hover);
    border-color: var(--brand-hover);
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(45, 32, 199, 0.20);
}

.button-ghost {
    color: white;
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.07);
}

.button-white {
    color: var(--brand-dark);
    border-color: white;
    background: white;
}

.button-white:hover {
    color: var(--brand);
    border-color: white;
    background: white;
}

.button-outline {
    color: var(--ink);
    border-color: var(--border);
    background: white;
}

.button-outline:hover {
    color: var(--brand);
    border-color: var(--brand);
    background: white;
}

.text-link {
    color: var(--brand);
    font-size: 0.9rem;
    font-weight: 750;
    text-decoration: none;
}

.text-link:hover {
    text-decoration: underline;
}

/* =========================================================
   HOME - BOTÕES HERO
========================================================= */

.hero-actions .button {
    transition:
        color 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.hero-actions .button:not(.button-ghost) {
    color: white;
    border-color: var(--brand);
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    box-shadow: 0 12px 30px rgba(45, 32, 199, 0.22);
}

.hero-actions .button-ghost {
    color: white;
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.07);
    box-shadow: none;
}

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

.hero {
    position: relative;
    overflow: hidden;
    padding: 78px 0 92px;
    background:
        radial-gradient(circle at 84% 20%, rgba(104, 90, 235, 0.38), transparent 32%),
        radial-gradient(circle at 25% 110%, rgba(70, 54, 208, 0.20), transparent 32%),
        linear-gradient(135deg, #090b21 0%, #141141 55%, #24158f 100%);
}

.hero::before {
    position: absolute;
    inset: 0;
    opacity: 0.035;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.7) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.7) 1px, transparent 1px);
    background-size: 65px 65px;
    content: "";
    pointer-events: none;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.94fr);
    align-items: center;
    gap: 75px;
}

.hero-eyebrow {
    display: inline-flex;
    margin-bottom: 25px;
    align-items: center;
    gap: 10px;
    color: #c7c2ff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hero-eyebrow span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #9388ff;
    box-shadow: 0 0 0 5px rgba(147, 136, 255, 0.12);
}

.hero h1 {
    max-width: 790px;
    margin-bottom: 27px;
    color: white;
}

.hero h1 strong {
    color: #aaa2ff;
    font-weight: inherit;
}

.hero-text {
    max-width: 660px;
    margin-bottom: 34px;
    color: #b5b8ca;
    font-size: 1.08rem;
}

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

.hero-benefits {
    display: flex;
    margin-top: 45px;
    flex-wrap: wrap;
}

.hero-benefits > div {
    min-width: 145px;
    margin-right: 24px;
    padding-right: 24px;
    border-right: 1px solid rgba(255, 255, 255, 0.13);
}

.hero-benefits > div:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: 0;
}

.hero-benefits strong,
.hero-benefits span {
    display: block;
}

.hero-benefits strong {
    color: white;
    font-size: 0.82rem;
}

.hero-benefits span {
    margin-top: 2px;
    color: #81869b;
    font-size: 0.72rem;
}

/* =========================================================
   FOTO PRINCIPAL
========================================================= */

.hero-media {
    position: relative;
}

.hero-brand-badge {
    position: absolute;
    z-index: 5;

    top: 22px;
    right: 22px;

    display: grid;

    width:
        clamp(
            86px,
            7vw,
            116px
        );

    aspect-ratio: 1;

    padding: 12px;

    place-items: center;

    border:
        1px solid
        rgba(17, 20, 38, 0.10);

    border-radius: 22px;

    background:
        #ffffff;

    box-shadow:
        0 18px 45px
        rgba(4, 3, 35, 0.24);
}

.hero-brand-badge img {
    width: 100%;
    height: 100%;

    object-fit: contain;
}

.hero-photo {
    position: relative;
    min-height: 570px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-large);
    background: rgba(255, 255, 255, 0.045);
    box-shadow: var(--shadow-large);
}

.hero-photo > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    padding: 30px;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 75% 22%, rgba(124, 108, 255, 0.24), transparent 28%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02));
    text-align: center;
}

.photo-placeholder::before {
    position: absolute;
    inset: 0;
    opacity: 0.09;
    background: linear-gradient(135deg, transparent 49.6%, rgba(255, 255, 255, 0.25) 50%, transparent 50.4%);
    content: "";
}

.photo-placeholder > div {
    position: relative;
    z-index: 2;
    max-width: 270px;
}

.photo-placeholder strong {
    display: block;
    margin-bottom: 9px;
    color: #c7c2ff;
    font-size: 0.74rem;
}

.photo-placeholder p {
    margin: 0;
    color: #9397aa;
    font-size: 0.78rem;
}

.photo-tag {
    position: absolute;
    z-index: 3;
    top: 20px;
    left: 20px;
    padding: 7px 10px;
    color: #d4d0ff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    background: rgba(11, 9, 48, 0.58);
    font-size: 0.61rem;
    font-weight: 850;
    letter-spacing: 0.1em;
}

.hero-location {
    position: absolute;
    right: -25px;
    bottom: 32px;
    min-width: 210px;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 20px 55px rgba(4, 3, 35, 0.28);
}

.hero-location span,
.hero-location strong {
    display: block;
}

.hero-location span {
    color: var(--muted);
    font-size: 0.67rem;
}

.hero-location strong {
    margin-top: 2px;
    color: var(--brand-dark);
    font-size: 0.9rem;
}

/* =========================================================
   POSICIONAMENTO
========================================================= */

.positioning {
    padding: 35px 0;
    border-bottom: 1px solid var(--border);
    background: white;
}

.positioning-grid {
    display: grid;
    grid-template-columns: 0.65fr 1.35fr;
    gap: 70px;
    align-items: center;
}

.positioning span {
    color: var(--brand);
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.positioning strong {
    max-width: 780px;
    color: var(--ink);
    font-size: clamp(1.12rem, 2vw, 1.55rem);
    line-height: 1.4;
}

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

.section {
    padding: 105px 0;
}

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

.eyebrow {
    margin-bottom: 16px;
    color: var(--brand);
    font-size: 0.7rem;
    font-weight: 850;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.eyebrow-light {
    color: #aaa2ff;
}

.section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.7fr);
    gap: 70px;
    align-items: end;
    margin-bottom: 50px;
}

.section-heading h2 {
    max-width: 730px;
    margin-bottom: 0;
}

.section-heading > p {
    margin-bottom: 3px;
}

/* =========================================================
   SOLUÇÕES
========================================================= */

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

.service-card,
.service-card.service-primary {
    position: relative;
    display: flex;
    min-height: 310px;
    padding: 27px;
    flex-direction: column;
    overflow: hidden;
    color: var(--ink);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: white;
    text-decoration: none;
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease,
        color 0.25s ease;
}

.service-index {
    margin-bottom: auto;
    color: var(--brand);
    font-size: 0.68rem;
    font-weight: 850;
}

.service-card small {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 0.63rem;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.service-card h3 {
    margin-bottom: 11px;
    color: var(--ink);
}

.service-card p {
    margin-bottom: 10px;
    color: var(--text);
    font-size: 0.85rem;
}

.service-arrow {
    margin-top: 10px;
    color: var(--brand);
    font-size: 1.3rem;
}

.service-card:hover,
.service-card.service-primary:hover {
    color: white;
    border-color: transparent;
    background: linear-gradient(145deg, var(--brand), var(--brand-dark));
    transform: translateY(-5px);
    box-shadow: 0 22px 55px rgba(45, 32, 199, 0.22);
}

.service-card:hover h3,
.service-card.service-primary:hover h3,
.service-card:hover p,
.service-card.service-primary:hover p {
    color: white;
}

.service-card:hover small,
.service-card.service-primary:hover small,
.service-card:hover .service-index,
.service-card.service-primary:hover .service-index,
.service-card:hover .service-arrow,
.service-card.service-primary:hover .service-arrow {
    color: #d3cfff;
}

/* =========================================================
   DIAGNÓSTICO
========================================================= */

.diagnostic-section {
    padding: 110px 0;
    background:
        radial-gradient(circle at 82% 20%, rgba(75, 58, 210, 0.27), transparent 31%),
        #090b20;
}

.diagnostic-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 100px;
}

.diagnostic-copy h2 {
    margin-bottom: 24px;
    color: white;
}

.diagnostic-copy > p:not(.eyebrow) {
    max-width: 590px;
    margin-bottom: 30px;
    color: #999daf;
}

.diagnostic-list {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: var(--radius-large);
    background: rgba(255, 255, 255, 0.025);
}

.diagnostic-list article {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 16px;
    padding: 23px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.diagnostic-list article:last-child {
    border-bottom: 0;
}

.diagnostic-list article > span {
    color: #9289ff;
    font-size: 0.68rem;
    font-weight: 850;
}

.diagnostic-list strong {
    color: white;
}

.diagnostic-list p {
    margin: 5px 0 0;
    color: #868b9e;
    font-size: 0.82rem;
}

/* =========================================================
   PORTFÓLIO
========================================================= */

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
}

.portfolio-card {
    grid-column: span 5;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: white;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.portfolio-card:hover {
    transform: translateY(-4px);
    border-color: rgba(45, 32, 199, 0.22);
    box-shadow: var(--shadow);
}

.portfolio-big,
.portfolio-wide {
    grid-column: span 7;
}

.portfolio-image {
    position: relative;
    min-height: 350px;
    overflow: hidden;
    background: linear-gradient(145deg, #ececf5, #dcddeb);
}

.portfolio-big .portfolio-image {
    min-height: 450px;
}

.portfolio-wide .portfolio-image {
    min-height: 320px;
}

.portfolio-image > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.portfolio-card:hover .portfolio-image > img {
    transform: scale(1.025);
}

.portfolio-image .photo-placeholder {
    background: linear-gradient(145deg, #f0f0f6, #ddddea);
}

.portfolio-image .photo-placeholder strong {
    color: var(--brand);
}

.portfolio-image .photo-placeholder p {
    color: #74798b;
}

.portfolio-info {
    padding: 22px 23px;
}

.portfolio-info span {
    display: block;
    margin-bottom: 5px;
    color: var(--brand);
    font-size: 0.63rem;
    font-weight: 850;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.portfolio-info h3 {
    margin: 0;
    font-size: 1.08rem;
}

.portfolio-bottom {
    display: flex;
    margin-top: 28px;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.portfolio-bottom span {
    color: var(--muted);
    font-size: 0.79rem;
}

/* =========================================================
   AMBIENTES
========================================================= */

.environment-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 90px;
}

.environment-grid h2 {
    margin-bottom: 22px;
}

.environment-grid > div:first-child > p:not(.eyebrow) {
    max-width: 560px;
}

.environment-tags,
.environment-list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.environment-list {
    margin-top: 24px;
}

.environment-tags span,
.environment-list span {
    padding: 12px 16px;
    color: #4e5366;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: white;
    font-size: 0.79rem;
    transition:
        color 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}

.environment-tags span:hover,
.environment-list span:hover {
    color: var(--brand);
    border-color: rgba(45, 32, 199, 0.25);
    background: var(--brand-soft);
    transform: translateY(-2px);
}

/* =========================================================
   PROCESSO - SETAS PARA DIREITA
========================================================= */

.process-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.process-grid article {
    position: relative;
    min-width: 0;
    min-height: 205px;
    padding: 27px 38px 25px 25px;
    overflow: hidden;
    border: 0;
    background: linear-gradient(145deg, #ffffff, #f7f7fc);
    clip-path: polygon(0 0, calc(100% - 25px) 0, 100% 50%, calc(100% - 25px) 100%, 0 100%);
    filter: drop-shadow(0 10px 16px rgba(20, 16, 73, 0.07));
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        filter 0.25s ease;
}

.process-grid article > span {
    display: grid;
    width: 38px;
    height: 38px;
    margin-bottom: 31px;
    place-items: center;
    color: var(--brand);
    border: 1px solid rgba(45, 32, 199, 0.10);
    border-radius: 50%;
    background: var(--brand-soft);
    font-size: 0.68rem;
    font-weight: 900;
}

.process-grid strong {
    display: block;
    color: var(--ink);
    font-size: 0.88rem;
    line-height: 1.3;
}

.process-grid p {
    margin: 7px 0 0;
    color: var(--text);
    font-size: 0.72rem;
    line-height: 1.5;
}

.process-grid article:last-child {
    background: linear-gradient(145deg, #f8f7ff, #efeeff);
}

.process-grid article:hover {
    background: linear-gradient(145deg, var(--brand), var(--brand-dark));
    transform: translateY(-4px);
    filter: drop-shadow(0 18px 25px rgba(45, 32, 199, 0.20));
}

.process-grid article:hover > span {
    color: white;
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.13);
}

.process-grid article:hover strong {
    color: white;
}

.process-grid article:hover p {
    color: rgba(255, 255, 255, 0.75);
}

/* =========================================================
   ÁREA DA MARCA
========================================================= */

.brand-showcase-section {
    padding: 100px 0;
    background:
        radial-gradient(circle at 20% 40%, rgba(89, 72, 225, 0.23), transparent 30%),
        linear-gradient(135deg, #11102e, #1c146a);
}

.brand-showcase-grid {
    display: grid;
    grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
    align-items: center;
    gap: 90px;
}

.brand-showcase-logo {
    display: grid;
    min-height: 390px;
    place-items: center;
    border: 1px solid rgba(17, 20, 38, 0.10);
    border-radius: var(--radius-large);
    background: #ffffff;
    box-shadow:
        0 20px 50px
        rgba(4, 3, 35, 0.18);
}

.brand-showcase-logo img {
    width: min(78%, 350px);
    height: auto;
}

.brand-showcase-grid h2 {
    margin-bottom: 22px;
    color: white;
}

.brand-showcase-grid > div:last-child > p:not(.eyebrow) {
    max-width: 620px;
    margin-bottom: 29px;
    color: #aaaebe;
}

/* =========================================================
   CONTATO / PRÓXIMO PASSO
========================================================= */

.contact-section {
    padding: 82px 0;
    background: var(--surface-soft);
}

.contact-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 70px;
}

.contact-grid h2 {
    max-width: 750px;
    margin-bottom: 15px;
}

.contact-grid p:not(.eyebrow) {
    max-width: 650px;
    margin-bottom: 0;
}

.contact-actions {
    display: flex;
    flex-shrink: 0;
    flex-direction: column;
    gap: 10px;
}

.contact-actions .button:first-child {
    color: white;
    border-color: var(--brand);
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
}

.contact-actions .button:nth-child(2) {
    color: var(--brand);
    border-color: rgba(45, 32, 199, 0.18);
    background: white;
}

/* =========================================================
   PÁGINAS INTERNAS
========================================================= */

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 95px 0 85px;
    background:
        radial-gradient(circle at 84% 15%, rgba(100, 82, 235, 0.33), transparent 30%),
        linear-gradient(135deg, #090b21, #181250);
}

.page-hero-content {
    max-width: 900px;
}

.page-hero .eyebrow {
    color: #aaa2ff;
}

.page-hero h1 {
    max-width: 900px;
    margin-bottom: 24px;
    color: white;
}

.page-intro {
    max-width: 760px;
    color: #afb2c3;
    font-size: 1.06rem;
}

.content-page-grid,
.contact-page-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 75px;
    align-items: start;
}

.feature-list {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: white;
}

.feature-item {
    display: flex;
    min-height: 62px;
    padding: 15px 18px;
    align-items: center;
    gap: 14px;
    color: #505568;
    border-bottom: 1px solid var(--border);
    font-size: 0.86rem;
}

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

.feature-check {
    display: grid;
    width: 29px;
    height: 29px;
    flex: 0 0 29px;
    place-items: center;
    color: var(--brand);
    background: var(--brand-soft);
    border-radius: 9px;
    font-size: 0.73rem;
    font-weight: 900;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 13px;
}

.related-grid a {
    display: flex;
    min-height: 75px;
    padding: 19px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: white;
    color: var(--ink);
    font-size: 0.85rem;
    font-weight: 750;
    text-decoration: none;
}

.related-grid a:hover {
    color: var(--brand);
    border-color: rgba(45, 32, 199, 0.30);
}



/* =========================================================
   MÍDIA / IMAGEM DE SOLUÇÃO
========================================================= */

.page-media-section {
    padding: 80px 0;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f8f8fc 100%
        );

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

.page-media-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.25fr)
        minmax(320px, 0.75fr);

    align-items: center;

    gap: 70px;
}

.page-media-visual {
    position: relative;

    min-height: 420px;

    overflow: hidden;

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

    border-radius: var(--radius-large);

    background:
        linear-gradient(
            145deg,
            #efeff8,
            #ddddeb
        );

    box-shadow: var(--shadow);
}

.page-media-visual > img {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.page-media-placeholder {
    position: absolute;

    inset: 0;

    display: flex;

    padding: 42px;

    flex-direction: column;

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

    text-align: center;

    background:
        radial-gradient(
            circle at 72% 22%,
            rgba(129, 120, 242, 0.24),
            transparent 30%
        ),
        linear-gradient(
            145deg,
            #f6f5ff,
            #e9e7fb
        );
}

.page-media-placeholder span {
    margin-bottom: 12px;

    color: var(--brand);

    font-size: 0.67rem;
    font-weight: 850;

    letter-spacing: 0.12em;

    text-transform: uppercase;
}

.page-media-placeholder strong {
    margin-bottom: 10px;

    color: var(--brand-dark);

    font-size:
        clamp(
            1.3rem,
            2vw,
            1.75rem
        );
}

.page-media-placeholder p {
    max-width: 430px;

    margin: 0;

    color: var(--text);

    font-size: 0.84rem;
}

.page-media-placeholder b {
    color: var(--brand-dark);
}

.page-media-copy h2 {
    margin-bottom: 22px;
}

.page-media-copy > p:not(.eyebrow) {
    max-width: 560px;

    margin-bottom: 0;
}


/* =========================================================
   CTA INTERNO
========================================================= */

.internal-cta {
    padding: 75px 0;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
}

.internal-cta-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.internal-cta h2 {
    color: white;
}

.internal-cta .eyebrow {
    color: #d1cdff;
}

.internal-cta p:not(.eyebrow) {
    color: #d2cfeb;
}


.internal-cta-actions {
    display: flex;

    flex-wrap: wrap;

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

    gap: 12px;
}

.internal-cta-actions .button-ghost {
    color: white;

    border-color:
        rgba(255, 255, 255, 0.32);

    background:
        rgba(255, 255, 255, 0.08);
}

@media (hover: hover) and (pointer: fine) {

    .internal-cta-actions .button-ghost:hover {
        color: var(--brand-dark);

        border-color: white;
        background: white;
    }
}

/* =========================================================
   CONTATO INTERNO
========================================================= */

.contact-page-card {
    position: relative;
    overflow: hidden;
    padding: 34px;
    border: 1px solid rgba(45, 32, 199, 0.12);
    border-radius: var(--radius-large);
    background: linear-gradient(180deg, #ffffff 0%, #fafaff 100%);
    box-shadow: 0 24px 65px rgba(20, 16, 73, 0.10);
}

.contact-page-card::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--brand), var(--brand-light));
    content: "";
}

.contact-page-card h2 {
    margin-bottom: 8px;
    color: var(--brand-dark);
}

.contact-page-card > p {
    display: inline-flex;
    margin-bottom: 22px;
    padding: 7px 12px;
    color: var(--brand);
    border: 1px solid rgba(45, 32, 199, 0.12);
    border-radius: 999px;
    background: var(--brand-soft);
    font-size: 0.76rem;
    font-weight: 700;
}

.contact-option {
    position: relative;
    display: flex;
    min-height: 78px;
    margin-top: 11px;
    padding: 16px 19px;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    color: var(--ink);
    border: 1px solid var(--border);
    border-radius: 15px;
    background: white;
    text-decoration: none;
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease;
}

.contact-option span {
    color: var(--brand);
    font-size: 0.68rem;
    font-weight: 850;
    text-transform: uppercase;
}

.contact-option strong {
    color: var(--ink);
    font-size: 0.91rem;
    font-weight: 750;
}

.contact-option:hover {
    border-color: transparent;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    transform: translateY(-3px);
}

.contact-option:hover span {
    color: #cfcaff;
}

.contact-option:hover strong {
    color: white;
}

.contact-note {
    margin-top: 24px;
    padding: 20px;
    border-radius: 15px;
    background: var(--brand-soft);
}

.contact-note strong {
    color: var(--brand-dark);
}

.contact-note p {
    margin: 6px 0 0;
    font-size: 0.81rem;
}

/* =========================================================
   PROJETOS
========================================================= */

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 17px;
}

.project-placeholder {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: white;
}

.project-image {
    display: grid;
    min-height: 230px;
    place-items: center;
    padding: 25px;
    color: var(--brand);
    background: linear-gradient(145deg, #f0eff8, #dfdfed);
    font-size: 0.7rem;
    font-weight: 800;
    text-align: center;
}

.project-placeholder h2 {
    padding: 22px 22px 0;
    margin-bottom: 9px;
    font-size: 1.2rem;
}

.project-placeholder p {
    padding: 0 22px 23px;
    margin: 0;
    font-size: 0.84rem;
}

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

.site-footer {
    padding: 65px 0 25px;
    background: #070813;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 55px;
}

.footer-logo-link {
    display: inline-grid;
    place-items: center;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 18px;
    background: #ffffff;
    box-shadow:
        0 14px 34px
        rgba(0, 0, 0, 0.24);
    text-decoration: none;
}

.footer-logo {
    display: block;
    width: 145px;
    height: auto;
}

.footer-company p {
    max-width: 310px;
    margin-top: 18px;
    margin-bottom: 15px;
    color: #808497;
    font-size: 0.8rem;
}

.footer-company small {
    color: #666a7b;
    font-size: 0.7rem;
}

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

.footer-links > strong {
    margin-bottom: 7px;
    color: white;
    font-size: 0.7rem;
    text-transform: uppercase;
}

.footer-links a,
.footer-links span {
    color: #85899b;
    font-size: 0.78rem;
    text-decoration: none;
}

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

.footer-bottom {
    margin-top: 48px;
    padding-top: 22px;
    color: #616577;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 0.68rem;
}

/* =========================================================
   HOVER DESKTOP
========================================================= */

@media (hover: hover) and (pointer: fine) {
    .hero-actions .button-ghost:hover {
        color: white;
        border-color: var(--brand-light);
        background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    }

    .hero-actions:has(.button-ghost:hover) .button:not(.button-ghost) {
        color: white;
        border-color: rgba(255, 255, 255, 0.28);
        background: rgba(255, 255, 255, 0.07);
        box-shadow: none;
        transform: none;
    }

    .contact-actions .button:nth-child(2):hover {
        color: white;
        border-color: var(--brand);
        background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    }

    .contact-actions:has(.button:nth-child(2):hover) .button:first-child {
        color: var(--brand);
        border-color: rgba(45, 32, 199, 0.18);
        background: white;
        box-shadow: none;
    }
}

/* =========================================================
   RESPONSIVIDADE DESKTOP / MONITORES
   1280 / 1366 / 1440 / 1600 / 1920 / 2560+
========================================================= */

@media (min-width: 1280px) {
    :root {
        --container: 1220px;
    }

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

    .hero {
        padding: 86px 0 104px;
    }

    .hero-grid {
        gap: 82px;
    }

    .hero-photo {
        min-height: 590px;
    }

    .section {
        padding: 112px 0;
    }

    .diagnostic-section {
        padding: 118px 0;
    }

    .brand-showcase-section {
        padding: 108px 0;
    }
}

@media (min-width: 1366px) {
    :root {
        --container: 1280px;
    }

    .hero-grid {
        grid-template-columns: minmax(0, 1.04fr) minmax(390px, 0.96fr);
        gap: 88px;
    }

    .hero-photo {
        min-height: 610px;
    }

    .section-heading {
        gap: 78px;
    }

    .services-grid {
        gap: 16px;
    }

    .portfolio-grid {
        gap: 18px;
    }

    .content-page-grid,
    .contact-page-grid {
        gap: 82px;
    }
}

@media (min-width: 1440px) {
    :root {
        --container: 1320px;
    }

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

    .main-menu {
        gap: 28px;
    }

    .hero {
        padding: 92px 0 112px;
    }

    .hero-grid {
        gap: 92px;
    }

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

    .hero-text {
        max-width: 700px;
    }

    .hero-photo {
        min-height: 630px;
    }

    .section-heading {
        gap: 85px;
    }

    .section-heading h2 {
        max-width: 780px;
    }

    .service-card,
    .service-card.service-primary {
        min-height: 320px;
        padding: 29px;
    }

    .diagnostic-grid {
        gap: 110px;
    }

    .environment-grid,
    .brand-showcase-grid {
        gap: 100px;
    }

    .footer-grid {
        gap: 62px;
    }
}

@media (min-width: 1600px) {
    :root {
        --container: 1440px;
    }

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

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

    .brand-logo {
        width: 80px;
        height: 80px;
        flex-basis: 80px;
    }

    .brand-name strong {
        font-size: 1.12rem;
    }

    .main-menu a {
        font-size: 0.89rem;
    }

    .hero {
        padding: 100px 0 122px;
    }

    .hero-grid {
        gap: 100px;
    }

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

    .hero-text {
        max-width: 740px;
        font-size: 1.12rem;
    }

    .hero-photo {
        min-height: 660px;
    }

    .hero-location {
        right: -18px;
        bottom: 38px;
    }

    .positioning-grid {
        gap: 82px;
    }

    .section {
        padding: 122px 0;
    }

    .diagnostic-section {
        padding: 128px 0;
    }

    .brand-showcase-section {
        padding: 118px 0;
    }

    .section-heading {
        gap: 92px;
        margin-bottom: 56px;
    }

    .section-heading h2 {
        max-width: 830px;
    }

    .section-heading > p {
        max-width: 62ch;
    }

    .services-grid {
        gap: 18px;
    }

    .service-card,
    .service-card.service-primary {
        min-height: 330px;
        padding: 31px;
    }

    .service-card p {
        font-size: 0.89rem;
    }

    .diagnostic-grid {
        gap: 120px;
    }

    .portfolio-grid {
        gap: 20px;
    }

    .portfolio-image {
        min-height: 370px;
    }

    .portfolio-big .portfolio-image {
        min-height: 475px;
    }

    .portfolio-wide .portfolio-image {
        min-height: 345px;
    }

    .environment-grid,
    .brand-showcase-grid {
        gap: 110px;
    }

    .brand-showcase-logo {
        min-height: 420px;
    }

    .process-grid {
        gap: 10px;
    }

    .process-grid article {
        min-height: 215px;
    }

    .page-hero {
        padding: 108px 0 96px;
    }

    .page-hero-content,
    .page-hero h1 {
        max-width: 1020px;
    }

    .page-intro {
        max-width: 820px;
        font-size: 1.1rem;
    }

    .content-page-grid,
    .contact-page-grid {
        gap: 92px;
    }

    .page-media-grid {
        gap: 90px;
    }

    .page-media-visual {
        min-height: 470px;
    }

    .related-grid {
        gap: 16px;
    }

    .footer-grid {
        gap: 70px;
    }
}

@media (min-width: 1920px) {
    :root {
        --container: 1520px;
    }

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

    .hero {
        padding: 108px 0 132px;
    }

    .hero-grid {
        gap: 112px;
    }

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

    .hero-text {
        max-width: 770px;
        font-size: 1.15rem;
    }

    .hero-photo {
        min-height: 690px;
    }

    .hero-benefits {
        margin-top: 50px;
    }

    .section {
        padding: 128px 0;
    }

    .diagnostic-section {
        padding: 136px 0;
    }

    .brand-showcase-section {
        padding: 126px 0;
    }

    .section-heading {
        gap: 100px;
        margin-bottom: 60px;
    }

    .section-heading h2 {
        max-width: 860px;
    }

    .service-card,
    .service-card.service-primary {
        min-height: 335px;
        padding: 32px;
    }

    .diagnostic-grid {
        gap: 128px;
    }

    .portfolio-image {
        min-height: 385px;
    }

    .portfolio-big .portfolio-image {
        min-height: 495px;
    }

    .portfolio-wide .portfolio-image {
        min-height: 360px;
    }

    .environment-grid,
    .brand-showcase-grid {
        gap: 120px;
    }

    .brand-showcase-logo {
        min-height: 440px;
    }

    .contact-grid {
        gap: 90px;
    }

    .page-hero {
        padding: 116px 0 104px;
    }

    .page-hero-content,
    .page-hero h1 {
        max-width: 1080px;
    }

    .content-page-grid,
    .contact-page-grid {
        gap: 100px;
    }

    .footer-grid {
        gap: 78px;
    }
}

@media (min-width: 2560px) {
    :root {
        --container: 1680px;
    }

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

    .hero {
        padding: 118px 0 142px;
    }

    .hero-grid {
        gap: 124px;
    }

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

    .hero-text {
        max-width: 800px;
    }

    .hero-photo {
        min-height: 720px;
    }

    .section-heading {
        gap: 110px;
    }

    .services-grid {
        gap: 20px;
    }

    .service-card,
    .service-card.service-primary {
        min-height: 345px;
        padding: 34px;
    }

    .portfolio-grid {
        gap: 22px;
    }

    .diagnostic-grid,
    .environment-grid,
    .brand-showcase-grid {
        gap: 132px;
    }

    .content-page-grid,
    .contact-page-grid {
        gap: 112px;
    }

    .footer-grid {
        gap: 86px;
    }
}




/* =========================================================
   MEGA MENU EM NOTEBOOK / TABLET / CELULAR
========================================================= */

@media (max-width: 1180px) {

    .menu-dropdown {
        width: 100%;
    }

    .menu-dropdown-trigger {
        width: 100%;
        padding: 14px 5px;
        justify-content: space-between;
        border-bottom: 1px solid #eeeef4;
        font-size: 0.9rem;
        text-align: left;
    }

    .menu-submenu {
        position: static;
        display: none;
        width: 100%;
        padding: 14px 10px 16px;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
        border: 0;
        border-bottom: 1px solid #eeeef4;
        border-radius: 0;
        background: #f8f8fc;
        box-shadow: none;
        transition: none;
    }

    .menu-submenu::before {
        display: none;
    }

    .menu-dropdown.is-open .menu-submenu {
        display: block;
        transform: none;
    }

    .menu-dropdown:focus-within .menu-submenu {
        transform: none;
    }

    .menu-submenu-top {
        padding: 2px 2px 13px;
        align-items: center;
    }

    .main-menu .menu-submenu-all {
        padding: 7px 8px;
        border-bottom: 0;
    }

    .menu-submenu-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
        padding-top: 14px;
    }

    .main-menu .menu-submenu-link {
        padding: 9px 8px;
        border-bottom: 0;
    }
}

@media (max-width: 700px) {

    .menu-submenu-top {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .menu-submenu-grid {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .menu-submenu-group {
        gap: 3px;
    }

    .menu-submenu-title {
        padding-top: 5px;
    }
}

/* =========================================================
   MENU RESPONSIVO - NOTEBOOKS E TELAS ESTREITAS
========================================================= */

@media (min-width: 851px) and (max-width: 1180px) {

    .menu-button {
        display: flex;

        width: 46px;
        height: 46px;

        margin-left: auto;

        padding: 11px;

        flex: 0 0 46px;

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

        flex-direction: column;

        gap: 5px;

        border: 0;

        border-radius: 10px;

        background: transparent;

        cursor: pointer;
    }

    .menu-button > span {
        display: block;

        width: 23px;
        height: 2px;

        background: var(--ink);

        border-radius: 3px;
    }

    .main-menu {
        position: absolute;
        z-index: 100;

        top: 96px;

        right: -24px;
        left: -24px;

        display: none;

        margin: 0;

        padding:
            12px 24px 22px;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        background: white;

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

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

        box-shadow:
            0 24px 45px
            rgba(19, 15, 70, 0.13);
    }

    .main-menu.is-open {
        display: flex;
    }

    .main-menu a {
        display: block;

        padding: 14px 5px;

        border-bottom:
            1px solid #eeeef4;

        font-size: 0.9rem;
    }

    .main-menu .menu-contact {
        display: flex;

        margin-top: 8px;

        justify-content: center;

        border-bottom: 0;
    }
}


/* =========================================================
   NOTEBOOK
========================================================= */

@media (max-width: 1050px) {
    .brand-logo {
        width: 68px;
        height: 68px;
        flex-basis: 68px;
    }

    .brand-name strong {
        font-size: 1.15rem;
    }

    .brand-name small {
        font-size: 0.64rem;
    }

    .main-menu {
        gap: 13px;
    }

    .main-menu a {
        font-size: 0.81rem;
    }

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

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

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

    .process-grid article {
        min-height: 190px;
    }

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

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

@media (max-width: 850px) {
    .header-inner {
        min-height: 78px;
        gap: 16px;
    }

    .brand-logo {
        width: 60px;
        height: 60px;
        flex-basis: 60px;
    }

    .brand-name {
        padding-left: 0;
    }

    .brand-name strong {
        font-size: 1.08rem;
    }

    .brand-name small {
        display: block;
        font-size: 0.62rem;
    }

    .menu-button {
        display: flex;
        width: 46px;
        height: 46px;
        margin-left: auto;
        padding: 11px;
        flex: 0 0 46px;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 5px;
        border: 0;
        border-radius: 10px;
        background: transparent;
        cursor: pointer;
    }

    .menu-button > span {
        display: block;
        width: 23px;
        height: 2px;
        background: var(--ink);
        border-radius: 3px;
    }

    .main-menu {
        position: absolute;
        z-index: 100;
        top: 78px;
        right: -24px;
        left: -24px;
        display: none;
        margin: 0;
        padding: 12px 24px 22px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: white;
        border-top: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
        box-shadow: 0 24px 45px rgba(19, 15, 70, 0.13);
    }

    .main-menu.is-open {
        display: flex;
    }

    .main-menu a {
        display: block;
        padding: 14px 5px;
        border-bottom: 1px solid #eeeef4;
        font-size: 0.9rem;
    }

    .main-menu .menu-contact {
        display: flex;
        margin-top: 8px;
        justify-content: center;
        border-bottom: 0;
    }

    .section-heading,
    .positioning-grid,
    .diagnostic-grid,
    .environment-grid,
    .brand-showcase-grid,
    .content-page-grid,
    .contact-page-grid {
        grid-template-columns: 1fr;
        gap: 38px;
    }

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

    .internal-cta-grid,
    .contact-grid {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* =========================================================
   CELULAR
========================================================= */

@media (max-width: 600px) {
    .container {
        width: calc(100% - 28px);
    }

    .header-inner {
        min-height: 70px;
        gap: 10px;
    }

    .brand-logo-link {
        gap: 8px;
    }

    .brand-logo {
        width: 52px;
        height: 52px;
        flex-basis: 52px;
    }

    .brand-name {
        display: flex;
        padding-left: 8px;
        border-left: 2px solid rgba(45, 32, 199, 0.16);
    }

    .brand-name strong {
        display: block;
        color: var(--brand-dark);
        font-size: 0.84rem;
        font-weight: 900;
        letter-spacing: -0.025em;
        white-space: nowrap;
    }

    .brand-name small {
        display: none;
    }

    .menu-button {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
        padding: 10px;
    }

    .main-menu {
        top: 70px;
        right: -14px;
        left: -14px;
        padding: 12px 14px 20px;
    }

    .hero {
        padding: 56px 0 68px;
    }

    .hero h1 {
        font-size: clamp(2.4rem, 11.5vw, 3.55rem);
    }

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

    .hero-actions .button {
        width: 100%;
    }

    .hero-photo {
        min-height: 390px;
    }

    .hero-brand-badge {
        top: 14px;
        right: 14px;

        width: 76px;

        padding: 9px;

        border-radius: 16px;
    }

    .page-media-section {
        padding: 58px 0;
    }

    .page-media-visual {
        min-height: 300px;
    }

    .page-media-placeholder {
        padding: 26px 20px;
    }

    .section,
    .diagnostic-section,
    .brand-showcase-section {
        padding: 72px 0;
    }

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

    .service-card,
    .service-card.service-primary {
        min-height: 245px;
        padding: 22px;
    }

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

    .portfolio-card,
    .portfolio-big,
    .portfolio-wide {
        grid-column: auto;
    }

    .process-grid {
        grid-template-columns: 1fr;
        gap: 11px;
    }

    .process-grid article {
        min-height: 150px;
        padding: 21px 42px 21px 21px;
        clip-path: polygon(0 0, calc(100% - 25px) 0, 100% 50%, calc(100% - 25px) 100%, 0 100%);
    }

    .process-grid article > span {
        width: 34px;
        height: 34px;
        margin-bottom: 13px;
    }

    .process-grid strong {
        font-size: 0.9rem;
    }

    .process-grid p {
        max-width: 92%;
        font-size: 0.75rem;
    }

    .contact-actions {
        width: 100%;
    }

    .contact-actions .button {
        width: 100%;
    }


    .internal-cta-actions {
        width: 100%;

        flex-direction: column;
    }

    .internal-cta-actions .button {
        width: 100%;
    }

    .related-grid,
    .project-grid {
        grid-template-columns: 1fr;
    }

    .contact-page-card {
        padding: 23px 18px;
    }

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

    .footer-logo {
        width: 125px;
    }
}

/* =========================================================
   CELULARES MUITO PEQUENOS
========================================================= */

@media (max-width: 380px) {
    .header-inner {
        gap: 7px;
    }

    .brand-logo-link {
        gap: 6px;
    }

    .brand-logo {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
    }

    .brand-name {
        display: flex;
        padding-left: 6px;
    }

    .brand-name strong {
        display: block;
        font-size: 0.74rem;
        white-space: nowrap;
    }

    .brand-name small {
        display: none;
    }

    .menu-button {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .hero-photo {
        min-height: 340px;
    }

    .process-grid article {
        padding: 19px 40px 19px 18px;
    }
}

/* =========================================================
   TELAS EXTREMAMENTE ESTREITAS
========================================================= */

@media (max-width: 330px) {
    .brand-logo {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }

    .brand-name {
        padding-left: 0;
    }

    .brand-name strong {
        font-size: 0.84rem;
    }

    .menu-button {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }
}

/* =========================================================
   ACESSIBILIDADE
========================================================= */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}


/* =========================================================
   CTA FLUTUANTE - SOLICITAR VISITA TÉCNICA
========================================================= */

.floating-visit-cta {
    position: fixed;
    z-index: 900;

    right:
        max(
            20px,
            env(safe-area-inset-right)
        );

    bottom:
        max(
            20px,
            env(safe-area-inset-bottom)
        );

    display: inline-flex;

    min-height: 50px;

    padding:
        0 17px 0 19px;

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

    gap: 11px;

    color: white;

    border:
        1px solid
        rgba(255, 255, 255, 0.16);

    border-radius: 999px;

    background:
        rgba(33, 23, 158, 0.96);

    box-shadow:
        0 12px 30px
        rgba(14, 11, 56, 0.22);

    backdrop-filter: blur(10px);

    font-size: 0.82rem;
    font-weight: 800;

    letter-spacing: -0.01em;

    line-height: 1;

    text-decoration: none;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.floating-visit-cta-arrow {
    display: grid;

    width: 26px;
    height: 26px;

    flex: 0 0 26px;

    place-items: center;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.13);

    font-size: 0.95rem;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.floating-visit-cta:focus-visible {
    outline:
        3px solid
        rgba(129, 120, 242, 0.42);

    outline-offset: 4px;
}

@media (hover: hover) and (pointer: fine) {

    .floating-visit-cta:hover {
        color: white;

        background:
            var(--brand);

        box-shadow:
            0 16px 36px
            rgba(14, 11, 56, 0.28);

        transform:
            translateY(-2px);
    }

    .floating-visit-cta:hover
    .floating-visit-cta-arrow {
        background:
            rgba(255, 255, 255, 0.20);

        transform:
            translateX(2px);
    }
}


/*
 * Em telas menores o botão continua visível,
 * porém mais compacto para não cobrir conteúdo.
 */
@media (max-width: 600px) {

    .floating-visit-cta {
        right:
            max(
                12px,
                env(safe-area-inset-right)
            );

        bottom:
            max(
                12px,
                env(safe-area-inset-bottom)
            );

        min-height: 46px;

        max-width:
            calc(100vw - 24px);

        padding:
            0 13px 0 15px;

        gap: 9px;

        font-size: 0.76rem;

        box-shadow:
            0 10px 24px
            rgba(14, 11, 56, 0.20);
    }

    .floating-visit-cta-arrow {
        width: 24px;
        height: 24px;

        flex-basis: 24px;
    }
}


/*
 * Em telas muito estreitas reduz apenas o texto,
 * preservando uma área de toque confortável.
 */
@media (max-width: 380px) {

    .floating-visit-cta {
        font-size: 0.72rem;
    }
}


/*
 * Respeita usuários que preferem menos animações.
 */
@media (prefers-reduced-motion: reduce) {

    .floating-visit-cta,
    .floating-visit-cta-arrow {
        transition: none;
    }
}

/* Ajuste do logo no rodape em telas pequenas */
@media (max-width: 600px) {
    .footer-logo-link {
        padding: 10px;
        border-radius: 16px;
    }

    .footer-logo {
        width: 132px;
    }
}

/* =========================================================
   PROBLEMAS / DORES OPERACIONAIS
========================================================= */

.problem-section {
    background: var(--white);
}

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

.problem-card {
    min-height: 205px;
    padding: 25px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 14px 36px rgba(20, 16, 73, 0.06);
    transition:
        color 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.problem-card > span {
    display: inline-grid;
    width: 34px;
    height: 34px;
    margin-bottom: 24px;
    place-items: center;
    color: var(--brand);
    border-radius: 10px;
    background: var(--brand-soft);
    font-size: 0.66rem;
    font-weight: 900;
}

.problem-card h3 {
    margin-bottom: 10px;
    color: var(--ink);
    font-size: 1rem;
    line-height: 1.35;
}

.problem-card p {
    margin: 0;
    color: var(--text);
    font-size: 0.8rem;
    line-height: 1.65;
}

.problem-card:hover {
    color: white;
    border-color: transparent;
    background: linear-gradient(145deg, var(--brand), var(--brand-dark));
    transform: translateY(-5px);
    box-shadow: 0 22px 55px rgba(45, 32, 199, 0.22);
}

.problem-card:hover h3,
.problem-card:hover p {
    color: white;
}

.problem-card:hover > span {
    color: white;
    background: rgba(255, 255, 255, 0.14);
}

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

.problem-grid-compact .problem-card {
    min-height: 160px;
}

/* =========================================================
   TK SMART ACCESS - DESTAQUE HOME
========================================================= */

.smart-access-home {
    padding: 96px 0;
    background:
        radial-gradient(circle at 85% 15%, rgba(129, 120, 242, 0.26), transparent 31%),
        linear-gradient(135deg, #0d0b31, #1d166e);
}

.smart-access-home-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: 78px;
}

.smart-access-home-copy h2 {
    max-width: 650px;
    margin-bottom: 20px;
    color: white;
}

.smart-access-home-copy > p:not(.eyebrow) {
    max-width: 620px;
    margin-bottom: 25px;
    color: #b9bbca;
}

.text-link-light {
    color: #d4d0ff;
}

.text-link-light:hover {
    color: white;
}

.smart-access-home-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.smart-access-home-points > div {
    min-height: 150px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.06);
}

.smart-access-home-points strong {
    display: block;
    margin-bottom: 8px;
    color: white;
    font-size: 0.9rem;
}

.smart-access-home-points span {
    color: #afb2c3;
    font-size: 0.78rem;
    line-height: 1.6;
}

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

.faq-layout {
    display: grid;
    grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
    align-items: start;
    gap: 80px;
}

.faq-heading {
    position: sticky;
    top: 120px;
}

.faq-heading h2 {
    margin-bottom: 16px;
}

.faq-heading > p:not(.eyebrow) {
    max-width: 440px;
    margin-bottom: 0;
}

.faq-list {
    display: grid;
    gap: 10px;
}

.faq-list details {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: white;
}

.faq-list summary {
    position: relative;
    padding: 20px 54px 20px 20px;
    color: var(--ink);
    cursor: pointer;
    font-size: 0.86rem;
    font-weight: 800;
    line-height: 1.45;
    list-style: none;
}

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

.faq-list summary::after {
    position: absolute;
    top: 50%;
    right: 20px;
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    color: var(--brand);
    border-radius: 50%;
    background: var(--brand-soft);
    content: "+";
    transform: translateY(-50%);
}

.faq-list details[open] summary::after {
    content: "−";
}

.faq-list details p {
    max-width: 760px;
    margin: 0;
    padding: 0 20px 21px;
    color: var(--text);
    font-size: 0.8rem;
    line-height: 1.7;
}

/* =========================================================
   PROJETOS REAIS - PÁGINA DE PROJETOS
========================================================= */

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

.project-real-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-large);
    background: white;
    box-shadow: 0 18px 45px rgba(20, 16, 73, 0.07);
}

.project-real-image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--surface-soft);
}

.project-real-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-real-copy {
    padding: 24px;
}

.project-real-copy > span {
    display: block;
    margin-bottom: 8px;
    color: var(--brand);
    font-size: 0.68rem;
    font-weight: 850;
    text-transform: uppercase;
}

.project-real-copy h2 {
    margin-bottom: 10px;
    font-size: 1.15rem;
}

.project-real-copy p {
    margin: 0;
    font-size: 0.8rem;
}

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

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

    .smart-access-home-grid,
    .faq-layout {
        gap: 46px;
    }
}

@media (max-width: 850px) {
    .smart-access-home-grid,
    .faq-layout {
        grid-template-columns: 1fr;
    }

    .faq-heading {
        position: static;
    }
}

@media (max-width: 600px) {
    .problem-grid,
    .problem-grid-compact,
    .smart-access-home-points,
    .project-grid-real {
        grid-template-columns: 1fr;
    }

    .problem-card {
        min-height: auto;
        padding: 21px;
    }

    .problem-grid-compact .problem-card {
        min-height: auto;
    }

    .smart-access-home {
        padding: 70px 0;
    }

    .smart-access-home-points > div {
        min-height: auto;
    }

    .faq-list summary {
        padding: 18px 50px 18px 17px;
    }

    .faq-list details p {
        padding: 0 17px 19px;
    }
}

/* =========================================================
   FALLBACK PROFISSIONAL DO HERO
========================================================= */

.hero-fallback {
    display: flex;
    width: 100%;
    min-height: 100%;
    padding: clamp(28px, 4vw, 52px);
    flex-direction: column;
    justify-content: flex-end;
    background:
        radial-gradient(circle at 80% 20%, rgba(129, 120, 242, 0.28), transparent 32%),
        linear-gradient(145deg, #0f0c3d, #21179e);
}

.hero-fallback-kicker {
    margin-bottom: 12px;
    color: #c6c1ff;
    font-size: 0.7rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-fallback > strong {
    max-width: 560px;
    color: white;
    font-size: clamp(1.45rem, 2.3vw, 2.45rem);
    line-height: 1.08;
}

.hero-fallback-tags {
    display: flex;
    margin-top: 28px;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-fallback-tags span {
    padding: 8px 11px;
    color: #e6e4ff;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    font-size: 0.68rem;
    font-weight: 700;
}


/* =========================================================
   MENU SOLUÇÕES - ESTADO NEUTRO + HOVER AZUL
========================================================= */

/*
 * Nenhum item do submenu deve permanecer destacado
 * apenas por ser o primeiro da lista.
 */
.solutions-dropdown a,
.solutions-menu a,
.menu-solutions-panel a,
.submenu-solutions a,
[data-solutions-menu] a {
    color: var(--ink);
    background: transparent;
    box-shadow: none;
}

/*
 * Remove qualquer destaque automático aplicado ao
 * primeiro item do submenu.
 */
.solutions-dropdown a:first-child,
.solutions-menu a:first-child,
.menu-solutions-panel a:first-child,
.submenu-solutions a:first-child,
[data-solutions-menu] a:first-child {
    color: var(--ink);
    background: transparent;
    box-shadow: none;
}

/*
 * Hover e foco seguem o padrão azul do site.
 */
.solutions-dropdown a:hover,
.solutions-dropdown a:focus-visible,
.solutions-menu a:hover,
.solutions-menu a:focus-visible,
.menu-solutions-panel a:hover,
.menu-solutions-panel a:focus-visible,
.submenu-solutions a:hover,
.submenu-solutions a:focus-visible,
[data-solutions-menu] a:hover,
[data-solutions-menu] a:focus-visible {
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            var(--brand),
            var(--brand-dark)
        );
    box-shadow:
        0 10px 24px
        rgba(45, 32, 199, 0.18);
    transform: translateY(-1px);
}

/*
 * Caso a página atual esteja dentro de Soluções,
 * não mantém o item azul de forma permanente.
 * O destaque acontece somente por interação.
 */
.solutions-dropdown a[aria-current="page"],
.solutions-menu a[aria-current="page"],
.menu-solutions-panel a[aria-current="page"],
.submenu-solutions a[aria-current="page"],
[data-solutions-menu] a[aria-current="page"] {
    color: var(--ink);
    background: transparent;
    box-shadow: none;
}

.solutions-dropdown a[aria-current="page"]:hover,
.solutions-dropdown a[aria-current="page"]:focus-visible,
.solutions-menu a[aria-current="page"]:hover,
.solutions-menu a[aria-current="page"]:focus-visible,
.menu-solutions-panel a[aria-current="page"]:hover,
.menu-solutions-panel a[aria-current="page"]:focus-visible,
.submenu-solutions a[aria-current="page"]:hover,
.submenu-solutions a[aria-current="page"]:focus-visible,
[data-solutions-menu] a[aria-current="page"]:hover,
[data-solutions-menu] a[aria-current="page"]:focus-visible {
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            var(--brand),
            var(--brand-dark)
        );
}

/* =========================================================
   MENU SOLUÇÕES - TODOS OS ITENS NEUTROS EM REPOUSO
========================================================= */

.main-menu .menu-submenu-link,
.main-menu .menu-submenu-link[aria-current="page"] {
    color: var(--ink);
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    transform: none;
}

.main-menu .menu-submenu-link small,
.main-menu .menu-submenu-link[aria-current="page"] small {
    color: #73788b;
}

.main-menu .menu-submenu-link:hover,
.main-menu .menu-submenu-link:focus-visible,
.main-menu .menu-submenu-link[aria-current="page"]:hover,
.main-menu .menu-submenu-link[aria-current="page"]:focus-visible {
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            var(--brand),
            var(--brand-dark)
        );
    border-color: transparent;
    box-shadow:
        0 10px 24px
        rgba(45, 32, 199, 0.18);
    transform: translateY(-1px);
}

.main-menu .menu-submenu-link:hover small,
.main-menu .menu-submenu-link:focus-visible small,
.main-menu .menu-submenu-link[aria-current="page"]:hover small,
.main-menu .menu-submenu-link[aria-current="page"]:focus-visible small {
    color: rgba(255, 255, 255, 0.82);
}



/* =========================================================
   V11 - CONTEÚDO ESTRATÉGICO / MODERNIZAÇÃO
========================================================= */

.operation-section {
    background: #ffffff;
}

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

.operation-card {
    position: relative;
    min-height: 210px;
    padding: 26px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--white);
    box-shadow: 0 12px 30px rgba(14, 11, 56, 0.06);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease,
        color 0.2s ease;
}

.operation-card > span {
    display: inline-grid;
    width: 38px;
    height: 38px;
    margin-bottom: 34px;
    place-items: center;
    border-radius: 12px;
    color: var(--brand);
    background: var(--brand-soft);
    font-size: 0.7rem;
    font-weight: 900;
}

.operation-card h3 {
    margin: 0 0 10px;
    transition: color 0.2s ease;
}

.operation-card p {
    margin: 0;
    color: var(--muted);
    transition: color 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
    .operation-card:hover {
        color: #ffffff;
        border-color: transparent;
        background:
            linear-gradient(
                145deg,
                var(--brand),
                var(--brand-dark)
            );
        box-shadow: 0 20px 45px rgba(45, 32, 199, 0.20);
        transform: translateY(-4px);
    }

    .operation-card:hover > span {
        color: #ffffff;
        background: rgba(255, 255, 255, 0.14);
    }

    .operation-card:hover h3,
    .operation-card:hover p {
        color: #ffffff;
    }
}

.modernization-home {
    background: var(--surface-soft);
}

.modernization-home-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(46px, 7vw, 96px);
}

.modernization-home-copy {
    max-width: 590px;
}

.modernization-home-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.modernization-home-list > div {
    min-height: 170px;
    padding: 22px;
    border: 1px solid rgba(45, 32, 199, 0.10);
    border-radius: 18px;
    background: #ffffff;
}

.modernization-home-list span {
    display: block;
    margin-bottom: 28px;
    color: var(--brand);
    font-size: 0.68rem;
    font-weight: 900;
}

.modernization-home-list strong {
    display: block;
    margin-bottom: 7px;
    color: var(--ink);
}

.modernization-home-list p {
    margin: 0;
    color: var(--muted);
    font-size: 0.83rem;
}

.cyber-awareness-section {
    padding: clamp(62px, 8vw, 100px) 0;
    color: #ffffff;
    background:
        radial-gradient(
            circle at 12% 15%,
            rgba(129, 120, 242, 0.22),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            var(--brand-deep),
            #090727
        );
}

.cyber-awareness-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: start;
    gap: clamp(44px, 8vw, 110px);
}

.cyber-awareness-grid h2 {
    max-width: 560px;
    color: #ffffff;
}

.cyber-awareness-grid p {
    max-width: 690px;
    color: #c9cad7;
}

.ecosystem-section {
    background:
        linear-gradient(
            180deg,
            #ffffff,
            var(--surface-soft)
        );
}

.ecosystem-heading {
    margin-bottom: 34px;
}

.ecosystem-layout {
    display: grid;
    grid-template-columns: minmax(250px, 0.75fr) minmax(0, 1.25fr);
    align-items: stretch;
    gap: 18px;
}

.ecosystem-center {
    display: flex;
    min-height: 330px;
    padding: 34px;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: 24px;
    color: #ffffff;
    background:
        radial-gradient(
            circle at 75% 18%,
            rgba(129, 120, 242, 0.44),
            transparent 32%
        ),
        linear-gradient(
            145deg,
            var(--brand-deep),
            var(--brand)
        );
    box-shadow: 0 22px 50px rgba(14, 11, 56, 0.18);
}

.ecosystem-center > span {
    margin-bottom: auto;
    color: #c7c2ff;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ecosystem-center strong {
    display: block;
    margin-bottom: 10px;
    font-size: clamp(1.6rem, 3vw, 2.5rem);
}

.ecosystem-center p {
    max-width: 360px;
    margin: 0;
    color: #dedff0;
}

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

.ecosystem-item {
    display: grid;
    min-height: 156px;
    padding: 22px;
    grid-template-columns: 30px 1fr;
    align-items: start;
    gap: 12px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #ffffff;
}

.ecosystem-item > span {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 9px;
    color: var(--brand);
    background: var(--brand-soft);
    font-size: 0.84rem;
    font-weight: 900;
}

.ecosystem-item h3 {
    margin: 1px 0 7px;
    font-size: 1rem;
}

.ecosystem-item p {
    margin: 0;
    color: var(--muted);
    font-size: 0.80rem;
}

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

    .modernization-home-grid,
    .cyber-awareness-grid,
    .ecosystem-layout {
        grid-template-columns: 1fr;
    }

    .ecosystem-center {
        min-height: 280px;
    }
}

@media (max-width: 600px) {
    .operation-grid,
    .modernization-home-list,
    .ecosystem-items {
        grid-template-columns: 1fr;
    }

    .operation-card {
        min-height: auto;
        padding: 22px 18px;
    }

    .operation-card > span {
        margin-bottom: 24px;
    }

    .modernization-home-list > div {
        min-height: auto;
        padding: 20px 18px;
    }

    .ecosystem-center {
        min-height: 250px;
        padding: 26px 22px;
    }

    .ecosystem-item {
        min-height: auto;
        padding: 19px 17px;
    }
}


/* =========================================================
   V12 - ESPAÇOS PROFISSIONAIS PARA FOTOGRAFIAS
========================================================= */

.portfolio-photo-placeholder,
.project-photo-placeholder {
    width: 100%;
    height: 100%;
    min-height: inherit;
    display: flex;
    padding: 28px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    background:
        radial-gradient(
            circle at 76% 20%,
            rgba(129, 120, 242, 0.22),
            transparent 30%
        ),
        linear-gradient(
            145deg,
            #f8f7ff,
            #e9e7fb
        );
}

.portfolio-photo-placeholder strong,
.project-photo-placeholder strong {
    color: var(--brand-dark);
    font-size: 0.82rem;
    font-weight: 850;
}

.portfolio-photo-placeholder small,
.project-photo-placeholder small {
    max-width: 260px;
    color: var(--text);
    font-size: 0.7rem;
    line-height: 1.45;
}

.photo-slot-mark {
    position: relative;
    display: block;
    width: 48px;
    height: 38px;
    margin-bottom: 7px;
    border: 2px solid rgba(45, 32, 199, 0.28);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.66);
}

.photo-slot-mark::before {
    position: absolute;
    top: 8px;
    right: 9px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(45, 32, 199, 0.42);
    content: "";
}

.photo-slot-mark::after {
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 7px;
    height: 13px;
    clip-path: polygon(0 100%, 38% 24%, 55% 58%, 70% 38%, 100% 100%);
    background: rgba(45, 32, 199, 0.26);
    content: "";
}

.project-real-image {
    position: relative;
}

.project-real-image .project-photo-placeholder {
    aspect-ratio: 16 / 10;
}

.portfolio-image .portfolio-photo-placeholder {
    position: absolute;
    inset: 0;
}

.page-media-placeholder {
    user-select: none;
}

@media (max-width: 600px) {
    .portfolio-photo-placeholder,
    .project-photo-placeholder {
        padding: 22px 18px;
    }

    .photo-slot-mark {
        width: 44px;
        height: 35px;
    }
}


