: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 DA EMPRESA
========================================================= */

.brand-logo-link {
    display: flex;
    flex: 0 0 auto;

    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;

    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-button {
    display: none;
}


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

.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-ghost:hover {
    color: white;

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

    border-color:
        rgba(255, 255, 255, 0.40);
}

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


/* Botão principal começa azul */

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


/* WhatsApp começa transparente */

.hero-actions
.button-ghost {
    color: white;

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

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

    box-shadow: none;
}


/* Teclado */

.hero-actions:has(.button-ghost:focus-visible)
.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;
}

.hero-actions
.button-ghost:focus-visible {
    color: white;

    border-color: var(--brand-light);

    background:
        linear-gradient(
            135deg,
            var(--brand),
            var(--brand-dark)
        );

    box-shadow:
        0 14px 34px
        rgba(45, 32, 199, 0.30);
}


/* =========================================================
   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-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;

    letter-spacing: 0.08em;
}

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

    transition:
        color 0.25s ease;
}

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

    transition:
        color 0.25s ease;
}

.service-card h3 {
    margin-bottom: 11px;

    color: var(--ink);

    transition:
        color 0.25s ease;
}

.service-card p {
    margin-bottom: 10px;

    color: var(--text);

    font-size: 0.85rem;

    transition:
        color 0.25s ease,
        opacity 0.25s ease;
}

.service-arrow {
    margin-top: 10px;

    color: var(--brand);

    font-size: 1.3rem;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.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 p,
.service-card.service-primary:hover p {
    opacity: 0.78;
}

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

.service-card:hover .service-arrow,
.service-card.service-primary:hover .service-arrow {
    transform: translateX(5px);
}


/* =========================================================
   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:
        radial-gradient(
            circle at 75% 22%,
            rgba(63, 47, 206, 0.17),
            transparent 28%
        ),
        linear-gradient(
            145deg,
            #f0f0f6,
            #ddddea
        );
}

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

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

.portfolio-image .photo-tag {
    color: var(--brand);

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

    border-color:
        rgba(45, 32, 199, 0.14);
}

.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
========================================================= */

.process-grid {
    display: grid;

    grid-template-columns:
        repeat(6, 1fr);

    overflow: hidden;

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

    border-radius: var(--radius);

    background: white;
}

.process-grid article {
    min-height: 185px;

    padding: 23px 19px;

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

    transition:
        background 0.2s ease;
}

.process-grid article:last-child {
    border-right: 0;
}

.process-grid article > span {
    display: block;

    margin-bottom: 42px;

    color: var(--brand);

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

.process-grid strong {
    display: block;

    color: var(--ink);

    font-size: 0.88rem;
}

.process-grid p {
    margin: 4px 0 0;

    font-size: 0.72rem;
}

.process-grid article:hover {
    background: var(--brand-soft);
}


/* =========================================================
   Á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(255, 255, 255, 0.10);

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

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

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

    height: auto;

    filter:
        drop-shadow(
            0 22px 40px
            rgba(0, 0, 0, 0.20)
        );
}

.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 HOME
========================================================= */

.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 {
    transition:
        color 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


/* Primeiro botão começa azul */

.contact-actions
.button:first-child {
    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.20);
}


/* Segundo botão começa claro */

.contact-actions
.button:nth-child(2) {
    color: var(--brand);

    border-color:
        rgba(45, 32, 199, 0.18);

    background: white;

    box-shadow: none;
}


/* Teclado */

.contact-actions:has(
    .button:nth-child(2):focus-visible
)
.button:first-child {
    color: var(--brand);

    border-color:
        rgba(45, 32, 199, 0.18);

    background: white;

    box-shadow: none;

    transform: none;
}

.contact-actions
.button:nth-child(2):focus-visible {
    color: white;

    border-color: var(--brand);

    background:
        linear-gradient(
            135deg,
            var(--brand),
            var(--brand-dark)
        );

    box-shadow:
        0 14px 34px
        rgba(45, 32, 199, 0.25);
}


/* =========================================================
   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;

    transition:
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.related-grid a:hover {
    color: var(--brand);

    border-color:
        rgba(45, 32, 199, 0.30);

    transform: translateY(-2px);
}


/* =========================================================
   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;
}


/* =========================================================
   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);

    font-size:
        clamp(
            1.6rem,
            3vw,
            2.15rem
        );
}

.contact-page-card > p {
    display: inline-flex;

    margin-bottom: 22px;

    padding: 7px 12px;

    align-items: center;

    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;

    box-shadow:
        0 5px 18px
        rgba(20, 16, 73, 0.025);

    transition:
        transform 0.25s ease,
        color 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.contact-option::before {
    position: absolute;

    top: 15px;
    bottom: 15px;
    left: 0;

    width: 3px;

    border-radius:
        0 5px 5px 0;

    background: var(--brand);

    content: "";

    transition:
        width 0.25s ease,
        background 0.25s ease;
}

.contact-option span {
    position: relative;
    z-index: 2;

    display: block;

    margin-bottom: 4px;

    color: var(--brand);

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

    letter-spacing: 0.08em;

    text-transform: uppercase;

    transition:
        color 0.25s ease;
}

.contact-option strong {
    position: relative;
    z-index: 2;

    display: block;

    color: var(--ink);

    font-size: 0.91rem;
    font-weight: 750;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.contact-option:hover {
    color: white;

    border-color: transparent;

    background:
        linear-gradient(
            135deg,
            var(--brand),
            var(--brand-dark)
        );

    transform: translateY(-3px);

    box-shadow:
        0 18px 38px
        rgba(45, 32, 199, 0.22);
}

.contact-option:hover::before {
    width: 5px;

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

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

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

    transform: translateX(3px);
}

.contact-note {
    position: relative;

    margin-top: 24px;

    padding: 20px;

    border:
        1px solid
        rgba(45, 32, 199, 0.08);

    border-radius: 15px;

    background:
        linear-gradient(
            135deg,
            var(--brand-soft),
            #f8f8ff
        );
}

.contact-note strong {
    display: block;

    margin-bottom: 6px;

    color: var(--brand-dark);

    font-size: 0.86rem;
}

.contact-note p {
    margin: 0;

    color: var(--text);

    font-size: 0.81rem;
}

.contact-option:focus-visible {
    outline:
        3px solid
        rgba(45, 32, 199, 0.30);

    outline-offset: 3px;
}


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

.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-block;

    text-decoration: none;
}

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

    object-fit: contain;
}

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

    letter-spacing: 0.1em;

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


/* =========================================================
   DESKTOP - HOVERS
========================================================= */

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

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

    .hero-actions
    .button-ghost:hover {
        color: white;

        border-color: var(--brand-light);

        background:
            linear-gradient(
                135deg,
                var(--brand),
                var(--brand-dark)
            );

        box-shadow:
            0 14px 34px
            rgba(45, 32, 199, 0.30);

        transform: translateY(-2px);
    }

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

    .hero-actions
    .button:not(.button-ghost):hover {
        color: white;

        border-color: var(--brand-hover);

        background:
            linear-gradient(
                135deg,
                var(--brand-hover),
                var(--brand-dark)
            );

        box-shadow:
            0 16px 36px
            rgba(45, 32, 199, 0.32);

        transform: translateY(-2px);
    }


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

    .contact-actions
    .button:nth-child(2):hover {
        color: white;

        border-color: var(--brand);

        background:
            linear-gradient(
                135deg,
                var(--brand),
                var(--brand-dark)
            );

        box-shadow:
            0 14px 34px
            rgba(45, 32, 199, 0.25);

        transform: translateY(-2px);
    }

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

        transform: none;
    }

    .contact-actions
    .button:first-child:hover {
        color: white;

        border-color: var(--brand-hover);

        background:
            linear-gradient(
                135deg,
                var(--brand-hover),
                var(--brand-dark)
            );

        box-shadow:
            0 15px 35px
            rgba(45, 32, 199, 0.28);

        transform: translateY(-2px);
    }


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

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

        border-color: transparent;

        background:
            linear-gradient(
                145deg,
                var(--brand),
                var(--brand-dark)
            );
    }

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


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

    .contact-option:hover {
        color: white;

        border-color: transparent;

        background:
            linear-gradient(
                135deg,
                var(--brand),
                var(--brand-dark)
            );

        transform: translateY(-3px);

        box-shadow:
            0 18px 38px
            rgba(45, 32, 199, 0.22);
    }

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

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


/* =========================================================
   TABLET / NOTEBOOK MENOR
========================================================= */

@media (max-width: 1050px) {

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

    .brand-logo {
        width: 68px;
        height: 68px;

        flex-basis: 68px;
    }

    .brand-name {
        padding-left: 11px;
    }

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

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

    .main-menu {
        gap: 13px;
    }

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

    .main-menu .menu-contact {
        padding: 0 14px;
    }

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

        gap: 55px;
    }

    .hero-media {
        max-width: 780px;
    }

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

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

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

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

    .process-grid article {
        border-bottom:
            1px solid var(--border);
    }

    .process-grid
    article:nth-child(3n) {
        border-right: 0;
    }

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


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

@media (max-width: 850px) {

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

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

    .brand-logo {
        width: 60px;
        height: 60px;

        flex-basis: 60px;
    }

    .brand-name {
        padding-left: 11px;
    }

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

    .brand-name small {
        display: block;

        margin-top: 4px;

        font-size: 0.62rem;
    }

    .menu-button {
        display: flex;

        width: 46px;
        height: 46px;

        margin-left: auto;

        padding: 11px;

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

        flex-direction: column;

        gap: 5px;

        color: var(--ink);

        border: 0;

        border-radius: 10px;

        background: transparent;

        cursor: pointer;
    }

    .menu-button > span {
        display: block;

        width: 23px;
        height: 2px;

        background: currentColor;

        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 a:last-child {
        border-bottom: 0;
    }

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

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

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

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

        flex-direction: column;
    }
}


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

@media (max-width: 600px) {

    .container {
        width:
            calc(100% - 28px);
    }


    /* HEADER */

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

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

    .brand-logo {
        width: 54px;
        height: 54px;

        flex-basis: 54px;
    }

    .brand-name {
        padding-left: 9px;
    }

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

    .brand-name small {
        display: none;
    }

    .main-menu {
        top: 70px;

        right: -14px;
        left: -14px;

        padding-right: 14px;
        padding-left: 14px;
    }


    /* HERO */

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

    .hero-grid {
        gap: 42px;
    }

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

    .hero-text {
        font-size: 0.97rem;
    }

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

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

    .hero-benefits {
        gap: 18px;
    }

    .hero-benefits > div {
        min-width: 0;

        margin: 0;
        padding: 0;

        border: 0;
    }

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

    .hero-location {
        right: 14px;
        bottom: 14px;

        min-width: 175px;
    }


    /* POSICIONAMENTO */

    .positioning {
        padding: 30px 0;
    }


    /* SEÇÕES */

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

    .section-heading {
        margin-bottom: 35px;
    }

    .section-heading h2,
    .diagnostic-copy h2,
    .environment-grid h2,
    .brand-showcase-grid h2,
    .contact-grid h2 {
        font-size:
            clamp(
                1.95rem,
                9vw,
                2.7rem
            );
    }


    /* SOLUÇÕES */

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

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

        padding: 22px;

        color: var(--ink);

        background: white;

        border-color: var(--border);
    }

    .service-card h3,
    .service-card.service-primary h3 {
        color: var(--ink);
    }

    .service-card p,
    .service-card.service-primary p {
        color: var(--text);

        opacity: 1;
    }

    .service-card small,
    .service-card.service-primary small {
        color: var(--muted);
    }

    .service-card .service-index,
    .service-card.service-primary .service-index,
    .service-card .service-arrow,
    .service-card.service-primary .service-arrow {
        color: var(--brand);
    }


    /* PORTFÓLIO */

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

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

    .portfolio-image,
    .portfolio-big .portfolio-image,
    .portfolio-wide .portfolio-image {
        min-height: 300px;
    }

    .portfolio-bottom {
        align-items: flex-start;

        flex-direction: column;
    }


    /* PROCESSO */

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

    .process-grid article,
    .process-grid article:nth-child(3n) {
        min-height: auto;

        border-right: 0;

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

    .process-grid article:last-child {
        border-bottom: 0;
    }

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


    /* MARCA */

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

    .brand-showcase-logo img {
        width:
            min(
                76%,
                270px
            );
    }


    /* PRÓXIMO PASSO */

    .contact-actions {
        width: 100%;
    }

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


    /* CONTATO INTERNO */

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

    .contact-page-card h2 {
        font-size: 1.55rem;
    }

    .contact-option {
        min-height: 74px;

        padding:
            15px 16px 15px 19px;
    }

    .contact-option strong {
        overflow-wrap: anywhere;

        font-size: 0.86rem;
    }

    .contact-option:active {
        color: white;

        border-color: transparent;

        background:
            linear-gradient(
                135deg,
                var(--brand),
                var(--brand-dark)
            );
    }

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

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


    /* PÁGINAS INTERNAS */

    .page-hero {
        padding: 65px 0;
    }

    .page-hero h1 {
        font-size:
            clamp(
                2.15rem,
                10vw,
                3.2rem
            );
    }


    /* FOOTER */

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

        gap: 35px;
    }

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


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

@media (max-width: 380px) {

    .brand-name {
        display: none;
    }

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

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

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


/* =========================================================
   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;
    }
}
