:root {
    --navy-950: #071321;
    --navy-900: #0b1a2d;
    --navy-800: #142b45;
    --navy-700: #1d3c5d;
    --navy-600: #2a5280;
    --navy-300: #8fb3dc;
    --navy-200: #c4dbf0;
    --navy-100: #e8f2ff;
    --cyan: #00c2ff;
    --orange: #f7941d;
    --cyan-hover: #00a8e0;
    --amber: #ffb800;
    --white: #ffffff;
    --soft: #f5f9fc;
    --line: #d9e3ec;
    --ink: #0b1a2d;
    --muted: #526b84;
    --shadow: 0 26px 70px rgba(11, 26, 45, 0.12);
    --header-height: 78px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 18px);
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: "Work Sans", system-ui, sans-serif;
    line-height: 1.55;
}

body.modal-open {
    overflow: hidden;
}

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

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

button,
input,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

h1,
h2,
h3,
strong {
    font-family: "Archivo", system-ui, sans-serif;
}

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

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

.section {
    padding: 112px 0;
}

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

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

.skip-link {
    position: fixed;
    left: 16px;
    top: -80px;
    z-index: 1000;
    padding: 12px 16px;
    background: var(--cyan);
    color: var(--navy-950);
    font-weight: 700;
}

.skip-link:focus {
    top: 14px;
}

/* =========================================================
   CABEÇALHO
   ========================================================= */

.site-header {
    position: fixed;
    inset: 0 0 auto;
    height: var(--header-height);
    z-index: 100;
    border-bottom: 1px solid rgba(11, 26, 45, 0.12);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
}

.nav-wrap {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 24px;
}

.brand {
    width: 116px;
    flex: 0 0 auto;
}

.brand img {
    width: 100%;
    height: 58px;
    object-fit: contain;
}

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

.main-nav a {
    position: relative;

    padding: 10px 8px;

    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;

    transition:
        color 160ms ease,
        background 160ms ease;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -8px;
    height: 2px;
    background: var(--cyan);
    transition: right 160ms ease;
}
.main-nav a.active {
    background: rgba(0, 194, 255, 0.08);
    color: var(--navy-950);
}

.main-nav a.active::after {
    right: 0;
    background: var(--orange);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
    right: 0;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 11px;
    border: 1px solid var(--line);
    background: var(--white);
}

.menu-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--navy-900);
}

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

.button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 24px;
    border: 1px solid var(--cyan);
    border-radius: 0;
    background: var(--cyan);
    color: var(--navy-950);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.035em;
    text-transform: uppercase;
    transition:
        transform 160ms ease,
        background 160ms ease,
        border-color 160ms ease;
}

.button:hover {
    transform: translateY(-2px);
    background: var(--cyan-hover);
    border-color: var(--cyan-hover);
}

.button-small {
    min-height: 42px;
    padding: 10px 18px;
    font-size: 0.73rem;
}

.button-outline-light {
    color: var(--white);
    background: transparent;
    border-color: rgba(255, 255, 255, 0.8);
}

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

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

.hero {
    position: relative;
    display: flex;
    min-height: 720px;
    align-items: center;
    padding: calc(var(--header-height) + 82px) 0 86px;
    overflow: hidden;
    isolation: isolate;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -4;
    background-image:
        linear-gradient(
            90deg,
            rgba(7, 19, 33, 0.99) 0%,
            rgba(7, 19, 33, 0.96) 35%,
            rgba(7, 19, 33, 0.80) 58%,
            rgba(7, 19, 33, 0.56) 100%
        ),
        url("../img/hero-tecnologia.svg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    z-index: -1;
    height: 180px;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(7, 19, 33, 0.42)
    );
    pointer-events: none;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: -3;
    background:
        radial-gradient(
            circle at 82% 28%,
            rgba(0, 194, 255, 0.22),
            transparent 24%
        ),
        radial-gradient(
            circle at 72% 74%,
            rgba(23, 111, 171, 0.24),
            transparent 30%
        );
    pointer-events: none;
}

.hero-layout {
    position: relative;
    z-index: 1;
}

.hero-copy {
    width: min(850px, 100%);
    padding: 28px 0;
}

.eyebrow {
    display: inline-flex;
    margin-bottom: 24px;
    padding: 8px 12px;
    border: 1px solid currentColor;
    color: var(--navy-900);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.eyebrow-light {
    color: var(--cyan);
    background: rgba(7, 19, 33, 0.38);
    backdrop-filter: blur(5px);
}

.hero h1 {
    max-width: 860px;
    margin-bottom: 28px;
    font-size: clamp(3.4rem, 6vw, 6.25rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
    text-wrap: balance;
    text-shadow: 0 12px 34px rgba(0, 0, 0, 0.26);
}

.hero-copy > p {
    max-width: 710px;
    margin-bottom: 34px;
    color: #d2e3f2;
    font-size: clamp(1.05rem, 1.45vw, 1.28rem);
}

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

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    width: min(760px, 100%);
    margin-top: 46px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-metrics strong {
    display: block;
    color: var(--cyan);
    font-size: 2.15rem;
    line-height: 1;
}

.hero-metrics span {
    display: block;
    margin-top: 7px;
    color: #a9c5dd;
    font-size: 0.76rem;
}

/* =========================================================
   TÍTULOS DAS SEÇÕES
   ========================================================= */

.section-heading {
    max-width: 790px;
    margin-bottom: 62px;
}

.section-heading h2 {
    margin-bottom: 22px;
    font-size: clamp(2.6rem, 5vw, 4.7rem);
    line-height: 1.02;
    letter-spacing: -0.05em;
}

.section-heading p {
    max-width: 700px;
    margin-bottom: 0;
    color: var(--muted);
    font-size: 1.12rem;
}

/* =========================================================
   PILARES / RECURSOS
   ========================================================= */

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

.feature-card {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 470px;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--white);
    transition: transform 200ms ease, box-shadow 200ms ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.feature-top {
    display: flex;
    min-height: 78px;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
}

.card-tag {
    padding: 5px 8px;
    background: var(--navy-100);
    color: var(--navy-700);
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.feature-number {
    color: var(--orange);
    font-family: "Archivo", system-ui, sans-serif;
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1;
}

.feature-visual {
    display: flex;
    width: 100%;
    aspect-ratio: 2 / 1;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #f3f7fb;
}

.feature-visual img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: var(--white);
}

.feature-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 26px 24px 28px;
}

.feature-card h3 {
    margin-bottom: 12px;
    font-size: 1.55rem;
}

.feature-card p {
    margin-bottom: 0;
    color: var(--muted);
}

/* =========================================================
   NOSSA HISTÓRIA
   ========================================================= */

.about-section {
    position: relative;
    overflow: hidden;
    background: var(--white);
}

.about-layout {
    display: grid;
    grid-template-columns: 0.65fr 1.35fr;
    gap: 90px;
    align-items: center;
}

.about-number {
    position: relative;
    display: flex;
    min-height: 430px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.about-number::before {
    content: "";
    position: absolute;
    width: 310px;
    height: 310px;
    border: 1px solid rgba(0, 194, 255, 0.18);
    border-radius: 50%;
}

.about-number::after {
    content: "";
    position: absolute;
    width: 210px;
    height: 210px;
    border: 1px solid rgba(0, 194, 255, 0.11);
    border-radius: 50%;
}

.about-logo-mark {
    position: relative;
    z-index: 2;
    width: min(380px, 90%);
    max-width: 100%;
    opacity: 0.18;
    filter: saturate(1.05);
}

.about-content {
    max-width: 720px;
}

.about-content h2 {
    margin-bottom: 28px;
    font-size: clamp(2.5rem, 10.5vw, 3.4rem);
    line-height: 1.04;
    letter-spacing: -0.05em;
}

.about-title span {
    display: block;
    white-space: nowrap;
}

.about-content p {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.8;
}

.about-intro {
    color: var(--navy-800) !important;
    font-size: 1.28rem !important;
    font-weight: 600;
}

.about-pillars {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 34px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
}

.about-pillars span {
    padding: 9px 13px;
    border: 1px solid var(--line);
    background: var(--soft);
    color: var(--navy-700);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

/* =========================================================
   VANTAGENS
   ========================================================= */

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

.advantage-card {
    min-height: 380px;
    padding: 26px 22px;
    border: 1px solid var(--line);
    background: var(--white);
    transition:
        background 180ms ease,
        color 180ms ease,
        transform 180ms ease;
}

.advantage-card:hover {
    transform: translateY(-6px);
    background: var(--navy-900);
    color: var(--white);
}

.advantage-number {
    display: block;
    margin-bottom: 48px;
    color: var(--orange);
    font-family: "Archivo", system-ui, sans-serif;
    font-size: 2.6rem;
    font-weight: 900;
}

.advantage-card h3 {
    min-height: 58px;
    margin-bottom: 14px;
    font-size: 1.16rem;
}

.advantage-card p {
    min-height: 74px;
    color: var(--muted);
    font-size: 0.86rem;
}

.advantage-card:hover p,
.advantage-card:hover li {
    color: var(--navy-200);
}

.advantage-card ul {
    margin: 22px 0 0;
    padding: 20px 0 0;
    border-top: 1px solid var(--line);
    list-style: none;
}

.advantage-card li {
    position: relative;
    padding: 5px 0 5px 15px;
    color: var(--muted);
    font-size: 0.74rem;
}

.advantage-card li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--cyan);
}

.center-cta {
    margin-top: 54px;
    text-align: center;
}

.center-cta p {
    margin-bottom: 12px;
    color: var(--muted);
}

.text-link {
    display: inline-flex;
    gap: 10px;
    color: var(--navy-900);
    font-size: 0.83rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.text-link span {
    color: var(--cyan);
    transition: transform 160ms ease;
}

.text-link:hover span {
    transform: translateX(5px);
}

/* =========================================================
   FUNCIONALIDADES
   ========================================================= */

.functionality-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 22px;
}

.functionality-card {
    position: relative;
    display: flex;
    height: 100%;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--white);
    transition: transform 200ms ease, box-shadow 200ms ease;
}

.functionality-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.functionality-preview {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: zoom-in;
}

.functionality-preview:focus-visible {
    outline: 3px solid var(--cyan);
    outline-offset: -3px;
}

.product-shot,
.functionality-shot {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border: none;
    border-radius: 0;
    background: #f5f8fc;
}

.product-shot img,
.functionality-shot img {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: #f5f8fc;
}

.product-shot.image-error img {
    display: none;
}

.functionality-shot {
    padding: 10px;
    border-bottom: 1px solid var(--line);
    background: #edf3f8;
}

.functionality-shot img {
    background: var(--white);
    transition: transform 260ms ease;
}

.functionality-preview:hover img {
    transform: scale(1.02);
}

.functionality-hover {
    position: absolute;
    inset: 10px;
    z-index: 4;
    display: grid;
    place-items: center;
    background: rgba(7, 19, 33, 0.68);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
}

.functionality-hover span {
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.82);
    background: rgba(7, 19, 33, 0.52);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.functionality-preview:hover .functionality-hover,
.functionality-preview:focus-visible .functionality-hover {
    opacity: 1;
}

.shot-fallback {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
    color: var(--navy-600);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-align: center;
    text-transform: uppercase;
}

.functionality-content {
    position: relative;
    display: flex;
    min-height: 190px;
    flex: 1;
    flex-direction: column;
    padding: 28px;
}

.functionality-id {
    position: absolute;
    right: 22px;
    top: 20px;
    color: var(--orange);
    opacity: 0.72;
    font-family: "Archivo", system-ui, sans-serif;
    font-size: 2.6rem;
    font-weight: 900;
}

.functionality-content h3 {
    position: relative;
    max-width: 76%;
    margin-bottom: 13px;
    font-size: 1.28rem;
}

.functionality-content p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

/* Remove quadradinhos decorativos */
.functionality-card::before,
.functionality-card::after,
.functionality-card h3::before,
.functionality-card h3::after,
.functionality-shot::before,
.functionality-shot::after,
.product-shot::before,
.product-shot::after {
    content: none !important;
    display: none !important;
}

/* =========================================================
   DIFERENCIAIS
   ========================================================= */

.differential-section {
    padding: 112px 0;
}

.differential-layout {
    display: grid;
    grid-template-columns: 1.06fr 0.94fr;
    gap: 74px;
    align-items: center;
}

.differential-copy h2,
.contact-copy h2 {
    margin-bottom: 24px;
    font-size: clamp(2.8rem, 5vw, 4.8rem);
    line-height: 1.02;
    letter-spacing: -0.05em;
}

.differential-copy > p,
.contact-copy > p {
    max-width: 650px;
    color: var(--navy-200);
    font-size: 1.1rem;
}

.check-list {
    display: grid;
    gap: 18px;
    margin-top: 34px;
}

.check-list > div {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 12px;
    padding-left: 17px;
    border-left: 2px solid var(--cyan);
}

.check-list span {
    color: var(--cyan);
    font-weight: 800;
}

.check-list p {
    margin: 0;
    color: var(--navy-200);
}

.check-list strong {
    color: var(--white);
}

.family-card {
    display: flex;
    min-width: 0;
    padding: 38px;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(196, 219, 240, 0.34);
    background: linear-gradient(
        145deg,
        rgba(232, 242, 255, 0.98),
        rgba(196, 219, 240, 0.98)
    );
    color: var(--ink);
}

.card-tag-light {
    align-self: flex-start;
    background: var(--white);
}

.family-card h3 {
    margin-top: 26px;
    margin-bottom: 14px;
    font-size: clamp(2rem, 3vw, 2.75rem);
    line-height: 1.05;
}

.family-card > p {
    margin-bottom: 28px;
    color: var(--navy-700);
}

.differential-image {
    position: relative;
    display: block;
    width: 100%;
    margin-top: auto;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(42, 82, 128, 0.2);
    background: var(--white);
    box-shadow: 0 24px 48px rgba(42, 82, 128, 0.16);
    cursor: zoom-in;
}

.differential-image img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    background: #f5f8fb;
    transition: transform 260ms ease;
}

.differential-image:hover img {
    transform: scale(1.02);
}

.differential-image-hover {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(7, 19, 33, 0.68);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    opacity: 0;
    pointer-events: none;
    text-transform: uppercase;
    transition: opacity 180ms ease;
}

.differential-image:hover .differential-image-hover,
.differential-image:focus-visible .differential-image-hover {
    opacity: 1;
}

/* =========================================================
   APP DO ABATECH
   ========================================================= */

.app-section {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(
            135deg,
            #f8fbff 0%,
            #ffffff 55%,
            #f1f8fd 100%
        );
}

.app-layout {
    display: grid;
    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(380px, 0.85fr);
    gap: clamp(55px, 7vw, 110px);
    align-items: center;
}

/* TEXTO */

.app-copy {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 680px;
}

.app-copy h2 {
    max-width: 650px;
    margin-bottom: 28px;
    font-size: clamp(3rem, 5vw, 5.2rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.app-copy p {
    max-width: 620px;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.8;
}

.app-intro {
    margin-bottom: 22px;
    color: var(--navy-900) !important;
    font-size: 1.18rem !important;
    font-weight: 700;
    line-height: 1.65 !important;
}

.app-description {
    margin-bottom: 0;
}

/* BOTÕES DAS LOJAS */

.app-store-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.app-store-button {
    display: grid;
    grid-template-columns: 46px minmax(110px, 1fr) auto;
    min-width: 235px;
    align-items: center;
    gap: 13px;
    padding: 12px 15px;
    border: 1px solid #d5e1eb;
    background: #ffffff;
    color: var(--navy-900);
    box-shadow: 0 10px 28px rgba(7, 19, 33, 0.04);
    transition:
        transform 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease,
        background 180ms ease;
}

.app-store-button:hover {
    transform: translateY(-4px);
    border-color: var(--cyan);
    background: #fbfdff;
    box-shadow: 0 16px 36px rgba(7, 19, 33, 0.09);
}

.store-logo {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 5px;
    background: var(--navy-950);
}

.store-logo svg {
    width: 25px;
    height: 25px;
}

.store-logo-apple {
    color: #ffffff;
}

.store-logo-apple svg {
    width: 27px;
    height: 27px;
}

.store-logo-google svg {
    width: 27px;
    height: 30px;
}

.store-button-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    line-height: 1.1;
}

.store-button-copy small {
    margin-bottom: 5px;
    color: var(--muted);
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.store-button-copy strong {
    color: var(--navy-900);
    font-size: 0.95rem;
    white-space: nowrap;
}

.store-arrow {
    color: var(--cyan);
    font-size: 1.2rem;
    font-weight: 800;
    transition: transform 180ms ease;
}

.app-store-button:hover .store-arrow {
    transform: translateX(4px);
}

.app-access-note {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 22px;
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 600;
}

.app-check {
    color: var(--cyan);
    font-size: 1rem;
    font-weight: 900;
}

/* CELULAR */

.app-visual {
    position: relative;
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: center;
}

.app-phone-background {
    position: relative;
    display: flex;
    width: min(460px, 100%);
    min-height: 600px;
    align-items: center;
    justify-content: center;
    padding: 30px;
    border: 1px solid rgba(42, 82, 128, 0.12);
    background:
        linear-gradient(
            145deg,
            #eaf5fd 0%,
            #ffffff 72%
        );
    box-shadow: 0 30px 75px rgba(11, 26, 45, 0.09);
}

.app-phone-background::before {
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    border: 1px solid rgba(0, 194, 255, 0.13);
    border-radius: 50%;
    pointer-events: none;
}

.app-phone-background::after {
    content: "";
    position: absolute;
    width: 240px;
    height: 240px;
    border: 1px solid rgba(0, 194, 255, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

.app-device-image {
    position: relative;
    z-index: 2;
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 650px;
    object-fit: contain;
    filter:
        drop-shadow(
            0 22px 32px
            rgba(7, 19, 33, 0.12)
        );
}

/* =========================================================
   DEPOIMENTOS
   ========================================================= */

/* =========================================================
   DEPOIMENTOS
   ========================================================= */

.testimonial-grid {
    display: grid;

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

    gap: 22px;
}


/* Cada card ocupa 2 das 6 colunas */

.testimonial-card {
    grid-column: span 2;

    display: flex;

    min-width: 0;
    min-height: 410px;

    flex-direction: column;

    padding: 32px;

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

    background: var(--white);

    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        border-color 180ms ease;
}


.testimonial-card:hover {
    transform: translateY(-6px);

    border-color:
        rgba(0, 194, 255, 0.35);

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


/* Centraliza os dois últimos cards */

.testimonial-card:nth-child(4) {
    grid-column: 2 / span 2;
}


.testimonial-card:nth-child(5) {
    grid-column: 4 / span 2;
}


/* PESSOA */

.testimonial-person {
    display: flex;

    gap: 15px;

    align-items: center;

    margin-bottom: 24px;
}


.testimonial-photo {
    width: 62px;
    height: 62px;

    flex: 0 0 auto;

    border: 2px solid var(--white);

    border-radius: 50%;

    object-fit: cover;

    box-shadow:
        0 0 0 1px var(--line);
}


.testimonial-person-info {
    display: flex;

    min-width: 0;

    flex-direction: column;
}


.testimonial-person-info strong {
    color: var(--navy-900);

    font-size: 1rem;
}


.testimonial-person-info span {
    margin-top: 3px;

    color: var(--muted);

    font-size: 0.73rem;

    line-height: 1.35;
}


/* ESTRELAS */

.stars {
    margin-bottom: 20px;

    color: var(--amber);

    font-size: 0.82rem;

    letter-spacing: 3px;
}


/* TEXTO */

.testimonial-card blockquote {
    flex: 1;

    margin: 0 0 28px;

    color: var(--navy-800);

    font-size: 1rem;

    font-style: italic;

    line-height: 1.75;
}


/* BOTÃO */

.testimonial-open {
    display: flex;

    width: 100%;

    align-items: center;

    justify-content: space-between;

    gap: 12px;

    padding: 16px 0 0;

    border: 0;

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

    background: transparent;

    color: var(--navy-900);

    font-size: 0.72rem;

    font-weight: 800;

    letter-spacing: 0.05em;

    text-align: left;

    text-transform: uppercase;
}


.testimonial-open span {
    color: var(--cyan);

    font-size: 1.2rem;

    transition:
        transform 180ms ease;
}


.testimonial-open:hover span {
    transform: translateX(5px);
}


/* =========================================================
   MODAL DOS DEPOIMENTOS
   ========================================================= */

.testimonial-modal[hidden] {
    display: none;
}


.testimonial-modal {
    position: fixed;

    inset: 0;

    z-index: 600;

    display: grid;

    place-items: center;

    padding: 24px;
}


.testimonial-modal-backdrop {
    position: absolute;

    inset: 0;

    border: 0;

    background:
        rgba(3, 10, 18, 0.88);
}


.testimonial-modal-dialog {
    position: relative;

    z-index: 2;

    width:
        min(
            720px,
            calc(100vw - 40px)
        );

    max-height: 90vh;

    overflow-y: auto;

    padding: 42px;

    background: var(--white);

    box-shadow:
        0 40px 100px
        rgba(0, 0, 0, 0.45);
}


.testimonial-modal-close {
    position: absolute;

    right: 16px;
    top: 16px;

    display: grid;

    width: 42px;
    height: 42px;

    place-items: center;

    border: 0;

    background: var(--cyan);

    color: var(--navy-950);

    font-size: 1.6rem;

    font-weight: 800;
}


/* CABEÇALHO DO MODAL */

.testimonial-modal-header {
    display: flex;

    gap: 18px;

    align-items: center;

    padding-right: 50px;

    padding-bottom: 28px;

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


.testimonial-modal-photo {
    width: 82px;
    height: 82px;

    flex: 0 0 auto;

    border-radius: 50%;

    object-fit: cover;

    box-shadow:
        0 0 0 1px var(--line);
}


.testimonial-modal-label {
    display: block;

    margin-bottom: 5px;

    color: var(--cyan);

    font-size: 0.65rem;

    font-weight: 800;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}


.testimonial-modal-header h3 {
    margin-bottom: 4px;

    color: var(--navy-900);

    font-size: 1.5rem;
}


.testimonial-modal-header p {
    margin: 0;

    color: var(--muted);

    font-size: 0.8rem;
}


/* TEXTO DO MODAL */

.testimonial-modal-body {
    position: relative;

    padding-top: 32px;
}


.testimonial-modal-quote-mark {
    position: absolute;

    left: -6px;
    top: 12px;

    color:
        rgba(0, 194, 255, 0.12);

    font-family: Georgia, serif;

    font-size: 8rem;

    line-height: 1;

    pointer-events: none;
}


.testimonial-modal-body p {
    position: relative;

    z-index: 2;

    margin: 0;

    color: var(--navy-700);

    font-size: 1rem;

    line-height: 1.85;
}

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

.contact-section {
    position: relative;
    overflow: hidden;
    padding: 112px 0;
    isolation: isolate;
    background-color: var(--navy-950);
}

.contact-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -3;
    background-image:
        linear-gradient(
            90deg,
            rgba(7, 19, 33, 0.99) 0%,
            rgba(7, 19, 33, 0.94) 42%,
            rgba(7, 19, 33, 0.72) 100%
        ),
        url("../img/hero-tecnologia.svg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.contact-background {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(
            circle at 86% 25%,
            rgba(0, 194, 255, 0.18),
            transparent 25%
        ),
        radial-gradient(
            circle at 72% 82%,
            rgba(42, 82, 128, 0.24),
            transparent 34%
        );
    pointer-events: none;
}

.contact-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 0.78fr 1.22fr;
    gap: 70px;
    align-items: start;
}

.contact-list {
    display: grid;
    gap: 13px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-link {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 15px;
    align-items: center;
    padding: 7px;
    border: 1px solid transparent;
    transition:
        transform 160ms ease,
        background 160ms ease,
        border-color 160ms ease;
}

.contact-link:hover {
    transform: translateX(4px);
    border-color: rgba(255, 255, 255, 0.13);
    background: rgba(255, 255, 255, 0.055);
}

.contact-icon {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border-radius: 12px;
    color: var(--navy-950);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}

.contact-icon svg {
    width: 25px;
    height: 25px;
}

.contact-icon-email {
    background: var(--cyan);
}

.contact-icon-whatsapp {
    color: var(--white);
    background: #25d366;
}

.contact-icon-location {
    background: var(--amber);
}

.contact-link small {
    display: block;
    color: var(--navy-300);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.contact-link strong {
    display: block;
    overflow-wrap: anywhere;
    color: var(--white);
    font-size: 0.93rem;
}

.form-panel {
    padding: 38px;
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--ink);
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.22);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-panel label {
    display: block;
    margin-bottom: 18px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.045em;
    text-transform: uppercase;
}

.form-panel input,
.form-panel textarea {
    display: block;
    width: 100%;
    margin-top: 8px;
    padding: 13px 14px;
    border: 1px solid #9ab0c4;
    border-radius: 0;
    outline: 0;
    background: var(--white);
    color: var(--ink);
    font-size: 0.94rem;
    text-transform: none;
    transition:
        border 150ms ease,
        box-shadow 150ms ease;
}

.form-panel textarea {
    resize: vertical;
}

.form-panel input:focus,
.form-panel textarea:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(0, 194, 255, 0.14);
}

.form-button {
    width: 100%;
    border: 0;
}

.honeypot {
    position: absolute;
    left: -9999px;
}

.alert {
    margin-bottom: 20px;
    padding: 13px 15px;
    border-left: 4px solid;
    font-size: 0.87rem;
}

.alert-success {
    border-color: #15966e;
    background: #e9f8f2;
    color: #0b6a4c;
}

.alert-error {
    border-color: #d84e4e;
    background: #fff0f0;
    color: #a52d2d;
}

/* =========================================================
   RODAPÉ
   ========================================================= */

.site-footer {
    padding: 66px 0 26px;
    background: var(--navy-800);
    color: var(--white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.7fr 0.7fr;
    gap: 60px;
    padding-bottom: 46px;
}

.footer-brand img {
    width: 145px;
    height: 82px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.92;
}

.footer-brand p {
    max-width: 470px;
    color: var(--navy-300);
}

.footer-grid > div:not(.footer-brand) {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.footer-grid strong {
    margin-bottom: 8px;
    color: var(--cyan);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-grid a {
    color: var(--navy-300);
    font-size: 0.86rem;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--navy-300);
    font-size: 0.74rem;
}

/* =========================================================
   MODAL
   ========================================================= */

.modal[hidden] {
    display: none;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 500;
    display: grid;
    place-items: center;
    padding: 24px;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(3, 10, 18, 0.88);
}

.modal-dialog {
    position: relative;
    z-index: 2;
    width: min(1500px, 96vw);
    max-height: 94vh;
    overflow: auto;
    background: var(--white);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.48);
}

.modal-close {
    position: absolute;
    right: 14px;
    top: 14px;
    z-index: 5;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 0;
    background: var(--cyan);
    color: var(--navy-950);
    font-size: 1.8rem;
    font-weight: 700;
}

.modal-image {
    display: flex;
    padding: 16px;
    align-items: center;
    justify-content: center;
    background: #edf3f8;
}

.modal-image img {
    width: 100%;
    height: auto;
    max-height: 76vh;
    object-fit: contain;
    background: var(--white);
}

.modal-copy {
    padding: 24px 32px 28px;
}

.modal-copy h3 {
    margin-bottom: 8px;
    font-size: 1.55rem;
}

.modal-copy p {
    margin: 0;
    color: var(--muted);
}

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

.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 80;
    display: grid;
    width: 56px;
    height: 56px;
    place-items: center;
    border: 2px solid var(--white);
    border-radius: 50%;
    background: #25d366;
    color: var(--white);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

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

/* =========================================================
   ANIMAÇÕES
   ========================================================= */

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition:
        opacity 600ms ease,
        transform 600ms ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}
/* JUSTIFICAR TEXTOS CORRIDOS */

.feature-card p,
.about-content p,
.advantage-card p,
.functionality-content p,
.differential-copy > p,
.family-card > p,
.app-copy p,
.testimonial-card blockquote,
.testimonial-modal-body p,
.contact-copy > p,
.footer-brand p {
    text-align: justify;
    text-justify: inter-word;
}

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

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* =========================================================
   TELAS MÉDIAS
   ========================================================= */

@media (max-width: 1180px) {
    .main-nav {
        gap: 13px;
    }

    .main-nav a {
        font-size: 0.72rem;
    }

    .nav-wrap {
        gap: 18px;
    }
}

@media (max-width: 1080px) {
    .advantage-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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


.testimonial-card,
.testimonial-card:nth-child(4),
.testimonial-card:nth-child(5) {
    grid-column: auto;
}


.testimonial-card:nth-child(5) {
    grid-column: 1 / -1;

    width:
        calc(50% - 11px);

    justify-self: center;
}

    .app-layout {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(340px, 0.8fr);
        gap: 48px;
    }

    .app-store-button {
        min-width: 220px;
    }
}

@media (max-width: 920px) {
    :root {
        --header-height: 70px;
    }

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

    .section {
        padding: 82px 0;
    }

    .brand {
        width: 98px;
    }

    .brand img {
        height: 50px;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .main-nav {
        position: fixed;
        inset: var(--header-height) 0 auto;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px 20px 24px;
        border-bottom: 1px solid var(--line);
        background: var(--white);
        box-shadow: 0 18px 38px rgba(11, 26, 45, 0.12);
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav a {
        padding: 13px 4px;
        border-bottom: 1px solid #edf2f6;
        font-size: 0.82rem;
    }

    .main-nav a::after {
        display: none;
    }

    .nav-cta {
        display: none;
    }

    .hero {
        min-height: 680px;
        padding-top: calc(var(--header-height) + 58px);
    }

    .hero h1 {
        font-size: clamp(3rem, 11vw, 4.6rem);
    }

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

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

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

    .about-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .about-number {
        min-height: 220px;
    }

    .about-logo-mark {
        width: min(280px, 80%);
    }

    .differential-layout,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-layout {
        gap: 46px;
    }

    .app-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .app-copy {
        max-width: 680px;
        margin-inline: auto;
    }

    .app-visual {
        order: initial;
        width: 100%;
    }

    .app-phone-background {
        width: min(430px, 90%);
        min-height: auto;
        margin-inline: auto;
    }

    .app-device-image {
        max-height: 580px;
    }

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

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

/* =========================================================
   CELULARES
   ========================================================= */

@media (max-width: 600px) {
    .container {
        width: min(100% - 22px, 540px);
    }

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


.testimonial-card,
.testimonial-card:nth-child(4),
.testimonial-card:nth-child(5) {
    grid-column: auto;

    width: 100%;
}


.testimonial-modal {
    padding: 12px;
}


.testimonial-modal-dialog {
    width: 100%;

    padding:
        30px
        22px;
}


.testimonial-modal-header {
    align-items: flex-start;

    padding-right: 38px;
}


.testimonial-modal-photo {
    width: 66px;
    height: 66px;
}


.testimonial-modal-header h3 {
    font-size: 1.2rem;
}

    .hero {
        min-height: auto;
        padding-bottom: 70px;
    }

    .hero::before,
    .contact-section::before {
        background-image:
            linear-gradient(
                rgba(7, 19, 33, 0.92),
                rgba(7, 19, 33, 0.96)
            ),
            url("../img/hero-tecnologia.svg");
        background-position: 70% center;
    }

    .hero h1 {
        font-size: clamp(2.65rem, 14vw, 3.7rem);
    }

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

    .hero-metrics {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 22px;
    }

    .hero-metrics > div {
        display: grid;
        grid-template-columns: max-content minmax(0, 1fr);
        column-gap: 24px;
        width: 100%;
        align-items: center;
        justify-content: start;
    }

    .hero-metrics strong {
        display: block;
        width: auto;
        min-width: 0;
        margin: 0;
        white-space: nowrap;
        font-size: 2.15rem;
        line-height: 1;
    }

    .hero-metrics span {
        display: block;
        min-width: 0;
        margin: 0;
        padding-left: 0;
        line-height: 1.35;
    }

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

    .section-heading h2,
    .differential-copy h2,
    .contact-copy h2 {
        font-size: clamp(2.45rem, 12vw, 3.45rem);
    }

    .advantage-grid,
    .functionality-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .advantage-card,
    .testimonial-card {
        min-height: auto;
    }

    .about-number {
        min-height: 180px;
    }

    .about-logo-mark {
        width: min(220px, 78%);
    }

    .about-content h2 {
        font-size: clamp(2.4rem, 12vw, 3.4rem);
    }

    .family-card {
        padding: 26px 20px;
    }

    .family-card h3 {
        font-size: 2rem;
    }

    .app-copy h2 {
        font-size: clamp(2.7rem, 13vw, 3.8rem);
    }

    .app-store-buttons {
        display: grid;
        grid-template-columns: 1fr;
        gap: 11px;
    }

    .app-store-button {
        width: 100%;
        min-width: 0;
    }

    .app-phone-background {
        width: 100%;
        padding: 20px;
    }

    .app-device-image {
        max-height: 520px;
    }

    .form-panel {
        padding: 24px 18px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-link {
        grid-template-columns: 50px minmax(0, 1fr);
        padding-inline: 0;
    }

    .contact-icon {
        width: 48px;
        height: 48px;
    }

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

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

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

    .modal {
        padding: 10px;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        right: 13px;
        bottom: 13px;
    }
}

.mobile-only-break {
    display: none;
}

/* =========================================================
   IDENTIDADE VISUAL ABATECH — INTEGRAÇÃO COM REDES SOCIAIS
   ========================================================= */

:root {
    --brand-blue: #078df0;
    --brand-blue-deep: #0768c9;
    --brand-orange: #ff8a00;
    --brand-orange-deep: #ed7300;
    --brand-ink: #0b2343;
    --brand-soft-blue: #eef8ff;
    --brand-soft-orange: #fff5e9;
}

.identity-heading span {
    color: var(--brand-blue);
}

.identity-heading-dark span {
    color: #43bfff;
}

/* HERO NOVO */
.brand-hero {
    position: relative;
    min-height: 760px;
    padding: calc(var(--header-height) + 72px) 0 92px;
    overflow: hidden;
    color: var(--brand-ink);
    background:
        radial-gradient(circle at 88% 18%, rgba(0, 153, 255, 0.14), transparent 24%),
        radial-gradient(circle at 8% 84%, rgba(255, 138, 0, 0.10), transparent 22%),
        linear-gradient(135deg, #ffffff 0%, #f7fbff 58%, #eef8ff 100%);
}

.brand-hero::before {
    content: "";
    position: absolute;
    width: 680px;
    height: 680px;
    right: -250px;
    top: 10px;
    border: 2px solid rgba(0, 151, 255, 0.16);
    border-radius: 50%;
    pointer-events: none;
}

.brand-hero::after {
    content: "";
    position: absolute;
    width: 620px;
    height: 620px;
    right: -215px;
    top: 42px;
    border: 14px solid transparent;
    border-right-color: rgba(255, 138, 0, 0.28);
    border-bottom-color: rgba(255, 138, 0, 0.18);
    border-radius: 50%;
    transform: rotate(-12deg);
    pointer-events: none;
}

.brand-hero-orbit {
    position: absolute;
    width: 520px;
    height: 520px;
    left: -355px;
    bottom: -300px;
    border: 10px solid transparent;
    border-top-color: rgba(0, 151, 255, 0.36);
    border-right-color: rgba(0, 151, 255, 0.12);
    border-radius: 50%;
    transform: rotate(20deg);
    pointer-events: none;
}

.brand-hero-pixels {
    position: absolute;
    left: 2.5vw;
    top: 145px;
    width: 112px;
    height: 112px;
    opacity: 0.34;
    background-image: radial-gradient(circle, var(--brand-blue) 0 3px, transparent 4px);
    background-size: 20px 20px;
    mask-image: linear-gradient(135deg, #000, transparent 78%);
    pointer-events: none;
}

.brand-hero-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(480px, 1.1fr);
    gap: clamp(52px, 7vw, 100px);
    align-items: center;
}

.brand-hero-copy {
    max-width: 650px;
}

.brand-eyebrow {
    color: var(--brand-blue-deep);
    border-color: rgba(7, 141, 240, 0.48);
    background: rgba(255, 255, 255, 0.8);
}

.brand-hero h1 {
    max-width: 720px;
    margin-bottom: 28px;
    color: var(--brand-ink);
    font-size: clamp(3.3rem, 5.7vw, 5.85rem);
    line-height: 0.96;
    letter-spacing: -0.06em;
    text-shadow: none;
}

.brand-hero h1 span {
    display: block;
    color: var(--brand-blue);
}

.brand-hero-copy > p {
    max-width: 640px;
    margin-bottom: 34px;
    color: #3f5872;
    font-size: clamp(1rem, 1.35vw, 1.2rem);
    line-height: 1.75;
}

.brand-primary-button,
.nav-cta,
.form-button,
.pain-cta {
    border-color: var(--brand-orange);
    border-radius: 999px;
    background: var(--brand-orange);
    color: #ffffff;
    box-shadow: 0 12px 30px rgba(255, 138, 0, 0.18);
}

.brand-primary-button:hover,
.nav-cta:hover,
.form-button:hover,
.pain-cta:hover {
    border-color: var(--brand-orange-deep);
    background: var(--brand-orange-deep);
}

.brand-secondary-button {
    border-color: rgba(11, 35, 67, 0.28);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--brand-ink);
}

.brand-secondary-button:hover {
    border-color: var(--brand-blue);
    background: #ffffff;
}

.brand-hero .hero-metrics {
    width: min(650px, 100%);
    border-top-color: rgba(11, 35, 67, 0.14);
}

.brand-hero .hero-metrics strong {
    color: var(--brand-blue);
}

.brand-hero .hero-metrics span {
    color: #5a7189;
}

.brand-hero-visual {
    position: relative;
    min-width: 0;
    padding: 55px 0 55px 42px;
}

.brand-device-frame {
    position: relative;
    z-index: 2;
    overflow: hidden;
    border: 1px solid rgba(11, 35, 67, 0.12);
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 32px 80px rgba(11, 35, 67, 0.18);
    transform: perspective(1200px) rotateY(-4deg) rotateX(1deg);
}

.brand-device-topbar {
    display: flex;
    gap: 7px;
    align-items: center;
    height: 38px;
    padding: 0 15px;
    border-bottom: 1px solid #e7eef5;
    background: #f7fafc;
}

.brand-device-topbar span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd7e3;
}

.brand-device-topbar span:nth-child(1) { background: var(--brand-blue); }
.brand-device-topbar span:nth-child(2) { background: var(--brand-orange); }

.brand-hero-screen {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    background: #f5f8fc;
}

.brand-float-card {
    position: absolute;
    z-index: 4;
    display: flex;
    min-width: 230px;
    gap: 12px;
    align-items: center;
    padding: 15px 17px;
    border: 1px solid rgba(11, 35, 67, 0.09);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 20px 48px rgba(11, 35, 67, 0.14);
    backdrop-filter: blur(10px);
}

.brand-float-card-one {
    left: 0;
    bottom: 5px;
}

.brand-float-card-two {
    right: -24px;
    top: 10px;
}

.brand-float-icon {
    display: grid;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    place-items: center;
    border-radius: 13px;
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 900;
}

.brand-float-blue { background: var(--brand-blue); }
.brand-float-orange { background: var(--brand-orange); }

.brand-float-card strong,
.brand-float-card small {
    display: block;
}

.brand-float-card strong {
    color: var(--brand-ink);
    font-size: 0.85rem;
}

.brand-float-card small {
    margin-top: 2px;
    color: var(--muted);
    font-size: 0.68rem;
}

/* PILARES / CARDS COM A NOVA LINGUAGEM */
.feature-card,
.advantage-card,
.functionality-card,
.testimonial-card {
    border-radius: 20px;
}

.feature-card,
.functionality-card,
.testimonial-card {
    overflow: hidden;
}

.feature-card:hover,
.functionality-card:hover,
.testimonial-card:hover {
    border-color: rgba(7, 141, 240, 0.28);
}

/* SEÇÃO DE DOR */
.pain-section {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(135deg, #ffffff 0%, #f8fbff 54%, #eef8ff 100%);
}

.pain-section::before {
    content: "";
    position: absolute;
    width: 660px;
    height: 660px;
    right: -420px;
    top: -210px;
    border: 2px solid rgba(7, 141, 240, 0.13);
    border-radius: 50%;
}

.pain-section::after {
    content: "";
    position: absolute;
    width: 530px;
    height: 530px;
    right: -320px;
    top: -145px;
    border: 10px solid transparent;
    border-left-color: rgba(255, 138, 0, 0.24);
    border-bottom-color: rgba(255, 138, 0, 0.12);
    border-radius: 50%;
    transform: rotate(14deg);
}

.pain-pixels {
    position: absolute;
    width: 120px;
    height: 120px;
    opacity: 0.22;
    background-image: radial-gradient(circle, var(--brand-blue) 0 3px, transparent 4px);
    background-size: 20px 20px;
    pointer-events: none;
}

.pain-pixels-left {
    left: 20px;
    top: 36px;
    mask-image: linear-gradient(135deg, #000, transparent 78%);
}

.pain-pixels-right {
    right: 22px;
    bottom: 22px;
    background-image: radial-gradient(circle, var(--brand-orange) 0 3px, transparent 4px);
    mask-image: linear-gradient(315deg, #000, transparent 78%);
}

.pain-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    gap: clamp(50px, 7vw, 100px);
    align-items: center;
}

.pain-copy h2 {
    max-width: 650px;
    margin-bottom: 26px;
    color: var(--brand-ink);
    font-size: clamp(3rem, 5.3vw, 5.3rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.pain-copy h2 span {
    display: block;
    color: var(--brand-blue);
    text-decoration-line: underline;
    text-decoration-color: var(--brand-orange);
    text-decoration-thickness: 5px;
    text-underline-offset: 10px;
}

.pain-copy > p {
    max-width: 600px;
    margin-bottom: 30px;
    color: #405873;
    font-size: 1.08rem;
    line-height: 1.75;
}

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

.pain-card {
    min-height: 210px;
    padding: 26px;
    border: 1px solid rgba(11, 35, 67, 0.10);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.91);
    box-shadow: 0 18px 46px rgba(11, 35, 67, 0.07);
}

.pain-icon {
    display: grid;
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
    place-items: center;
    border-radius: 15px;
    color: #ffffff;
    font-family: "Archivo", sans-serif;
    font-size: 1.35rem;
    font-weight: 900;
}

.pain-icon-blue { background: var(--brand-blue); }
.pain-icon-orange { background: var(--brand-orange); }

.pain-card h3 {
    margin-bottom: 10px;
    color: var(--brand-ink);
    font-size: 1.05rem;
    line-height: 1.25;
}

.pain-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.65;
}

/* FUNCIONALIDADES E DEPOIMENTOS */
#funcionalidades .section-heading,
#depoimentos .section-heading {
    position: relative;
}

#funcionalidades .section-heading::after,
#depoimentos .section-heading::after {
    content: "";
    display: block;
    width: 74px;
    height: 5px;
    margin-top: 26px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--brand-blue), var(--brand-orange));
}

.testimonial-card {
    position: relative;
}

.testimonial-card::before {
    content: "“";
    position: absolute;
    right: 22px;
    top: 10px;
    color: rgba(7, 141, 240, 0.10);
    font-family: Georgia, serif;
    font-size: 6rem;
    line-height: 1;
    pointer-events: none;
}

.testimonial-open {
    color: var(--brand-blue-deep);
}

.testimonial-open span {
    color: var(--brand-orange);
}

/* CONTATO */
.contact-section .form-panel {
    border-radius: 24px;
}

.contact-section .form-button {
    min-height: 56px;
}

/* RESPONSIVO */
@media (max-width: 1080px) {
    .brand-hero-layout,
    .pain-layout {
        grid-template-columns: 1fr;
    }

    .brand-hero-copy {
        max-width: 760px;
    }

    .brand-hero-visual {
        width: min(820px, 100%);
        margin-inline: auto;
    }
}

@media (max-width: 700px) {
    .brand-hero {
        min-height: auto;
        padding-top: calc(var(--header-height) + 54px);
        padding-bottom: 76px;
    }

    .brand-hero::before,
    .brand-hero::after {
        right: -490px;
    }

    .brand-hero-pixels {
        display: none;
    }

    .brand-hero-layout {
        gap: 42px;
    }

    .brand-hero h1 {
        font-size: clamp(2.8rem, 13vw, 4.1rem);
    }

    .brand-hero-copy > p {
        font-size: 1rem;
    }

    .brand-hero-visual {
        padding: 26px 0 72px;
    }

    .brand-device-frame {
        border-radius: 18px;
        transform: none;
    }

    .brand-float-card {
        min-width: 0;
        width: calc(50% - 5px);
        padding: 12px;
        border-radius: 15px;
    }

    .brand-float-card-one {
        left: 0;
        bottom: 6px;
    }

    .brand-float-card-two {
        right: 0;
        top: auto;
        bottom: 6px;
    }

    .brand-float-icon {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    .brand-float-card strong {
        font-size: 0.72rem;
    }

    .brand-float-card small {
        font-size: 0.58rem;
    }

    .pain-layout {
        gap: 36px;
    }

    .pain-copy h2 {
        font-size: clamp(2.65rem, 12vw, 4rem);
    }

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

    .pain-card {
        min-height: 0;
    }
}

@media (max-width: 600px) {
    .brand-hero .hero-metrics {
        display: grid;
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .brand-hero .hero-metrics > div {
        display: grid;
        grid-template-columns: 155px minmax(0, 1fr);
        column-gap: 18px;
        align-items: center;
        width: 100%;
    }

    .brand-hero .hero-metrics strong {
        width: 155px;
        margin: 0;
        white-space: nowrap;
        font-size: 2.15rem;
        line-height: 1;
    }

    .brand-hero .hero-metrics span {
        margin: 0;
        font-size: 0.9rem;
        line-height: 1.35;
    }

    .brand-float-card {
        position: relative;
        width: 100%;
        inset: auto;
        margin-top: 10px;
    }

    .brand-hero-visual {
        padding-bottom: 0;
    }

    .pain-copy h2 span {
        text-decoration-thickness: 3px;
        text-underline-offset: 7px;
    }
}
/* =========================================================
   REFINO DO HERO — IDENTIDADE VISUAL ABATECH / INSTAGRAM
   ========================================================= */

.brand-hero-refined {
    min-height: 720px;
    padding: calc(var(--header-height) + 64px) 0 78px;
    background:
        radial-gradient(circle at 84% 22%, rgba(7, 141, 240, 0.10), transparent 25%),
        radial-gradient(circle at 4% 86%, rgba(255, 138, 0, 0.08), transparent 20%),
        linear-gradient(135deg, #ffffff 0%, #fbfdff 48%, #eef8ff 100%);
}

.brand-hero-refined::before {
    width: 520px;
    height: 520px;
    right: -330px;
    top: 86px;
    border: 2px solid rgba(7, 141, 240, 0.13);
}

.brand-hero-refined::after {
    width: 440px;
    height: 440px;
    right: -275px;
    top: 126px;
    border-width: 9px;
    border-right-color: rgba(255, 138, 0, 0.27);
    border-bottom-color: rgba(255, 138, 0, 0.12);
}

.brand-hero-refined .brand-hero-orbit {
    width: 430px;
    height: 430px;
    left: -310px;
    bottom: -265px;
    border-width: 8px;
}

.brand-hero-refined .brand-hero-pixels {
    left: max(24px, 2vw);
    top: 132px;
    width: 96px;
    height: 96px;
    opacity: 0.24;
    background-size: 18px 18px;
}

.brand-hero-refined .brand-hero-layout {
    grid-template-columns: minmax(0, 0.88fr) minmax(500px, 1.12fr);
    gap: clamp(48px, 6vw, 86px);
}

.brand-hero-refined .brand-hero-copy {
    max-width: 640px;
}

.brand-hero-refined .brand-eyebrow {
    margin-bottom: 22px;
    padding: 8px 13px;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(11, 35, 67, 0.05);
}

.brand-hero-refined .brand-hero-title {
    margin-bottom: 26px;
    font-size: clamp(3.35rem, 5.25vw, 5.45rem);
    line-height: 0.94;
    letter-spacing: -0.058em;
}

.brand-hero-refined .brand-hero-title > span {
    display: block;
    width: fit-content;
}

.brand-hero-refined .brand-title-dark {
    color: var(--brand-ink);
}

.brand-hero-refined .brand-title-blue {
    color: var(--brand-blue);
}

.brand-hero-refined .brand-title-accent {
    position: relative;
    z-index: 1;
}

.brand-hero-refined .brand-title-accent::after {
    content: "";
    position: absolute;
    left: 3px;
    bottom: -8px;
    z-index: -1;
    width: 42%;
    height: 6px;
    border-radius: 999px;
    background: var(--brand-orange);
    transform: rotate(-1.5deg);
    opacity: 0.92;
}

.brand-hero-refined .brand-hero-copy > p {
    max-width: 590px;
    margin-bottom: 30px;
    color: #415b74;
    font-size: 1.05rem;
    line-height: 1.72;
}

.brand-hero-refined .hero-actions {
    gap: 12px;
}

.brand-hero-refined .brand-primary-button {
    min-height: 54px;
    padding-inline: 26px;
}

.brand-hero-refined .brand-secondary-button {
    min-height: 54px;
    padding-inline: 24px;
}

.brand-hero-refined .hero-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    width: min(620px, 100%);
    margin-top: 36px;
    padding-top: 22px;
}

.brand-hero-refined .hero-metrics > div {
    min-width: 0;
    padding: 0 20px;
}

.brand-hero-refined .hero-metrics > div:first-child {
    padding-left: 0;
}

.brand-hero-refined .hero-metrics > div + div {
    border-left: 1px solid rgba(11, 35, 67, 0.12);
}

.brand-hero-refined .hero-metrics strong {
    font-size: 1.95rem;
}

.brand-hero-refined .hero-metrics span {
    margin-top: 5px;
    font-size: 0.74rem;
}

.brand-hero-refined .brand-hero-visual {
    position: relative;
    padding: 70px 0 62px 24px;
}

.brand-hero-refined .brand-hero-visual::before,
.brand-hero-refined .brand-hero-visual::after {
    content: "";
    position: absolute;
    z-index: 0;
    border-radius: 28px;
    pointer-events: none;
}

.brand-hero-refined .brand-hero-visual::before {
    width: 118px;
    height: 118px;
    right: 54px;
    top: 4px;
    background: linear-gradient(145deg, #0aa0f6, #0879df);
    box-shadow: 0 18px 42px rgba(7, 141, 240, 0.17);
    transform: rotate(2deg);
}

.brand-hero-refined .brand-hero-visual::after {
    width: 92px;
    height: 92px;
    right: -4px;
    top: 48px;
    background: linear-gradient(145deg, #ff9c18, #ff7b00);
    box-shadow: 0 18px 42px rgba(255, 138, 0, 0.16);
    transform: rotate(-3deg);
}

.brand-hero-refined .brand-visual-label {
    position: absolute;
    right: 6px;
    top: 2px;
    z-index: 3;
    width: 160px;
    color: var(--brand-ink);
    font-size: 0.62rem;
    font-weight: 700;
    line-height: 1.55;
    letter-spacing: 0.16em;
    text-align: right;
    text-transform: uppercase;
    transform: translateY(132px);
}

.brand-hero-refined .brand-device-frame {
    z-index: 2;
    border-radius: 22px;
    box-shadow:
        0 34px 80px rgba(11, 35, 67, 0.16),
        0 0 0 8px rgba(255, 255, 255, 0.62);
    transform: none;
}

.brand-hero-refined .brand-device-topbar {
    height: 36px;
}

.brand-hero-refined .brand-float-card {
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
}

.brand-hero-refined .brand-float-card-one {
    left: -12px;
    bottom: 8px;
}

.brand-hero-refined .brand-float-card-two {
    right: -12px;
    top: 108px;
}

@media (max-width: 1080px) {
    .brand-hero-refined .brand-hero-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .brand-hero-refined .brand-hero-copy {
        max-width: 760px;
    }

    .brand-hero-refined .brand-hero-visual {
        width: min(820px, 100%);
        margin-inline: auto;
        padding-top: 56px;
    }
}

@media (max-width: 700px) {
    .brand-hero-refined {
        padding-top: calc(var(--header-height) + 44px);
        padding-bottom: 68px;
    }

    .brand-hero-refined::before,
    .brand-hero-refined::after {
        right: -390px;
    }

    .brand-hero-refined .brand-hero-title {
        font-size: clamp(2.65rem, 12.2vw, 3.9rem);
        line-height: 0.97;
    }

    .brand-hero-refined .brand-hero-title > span {
        width: auto;
    }

    .brand-hero-refined .brand-title-accent::after {
        bottom: -5px;
        height: 4px;
        width: 48%;
    }

    .brand-hero-refined .brand-hero-copy > p {
        font-size: 1rem;
    }

    .brand-hero-refined .brand-hero-visual {
        padding: 42px 0 0;
    }

    .brand-hero-refined .brand-hero-visual::before {
        width: 72px;
        height: 72px;
        right: 54px;
        top: 0;
        border-radius: 20px;
    }

    .brand-hero-refined .brand-hero-visual::after {
        width: 56px;
        height: 56px;
        right: 15px;
        top: 32px;
        border-radius: 17px;
    }

    .brand-hero-refined .brand-visual-label {
        display: none;
    }

    .brand-hero-refined .brand-float-card-one,
    .brand-hero-refined .brand-float-card-two {
        position: relative;
        inset: auto;
        width: 100%;
        margin-top: 10px;
    }
}

@media (max-width: 600px) {
    .brand-hero-refined .hero-metrics {
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 30px;
        padding-top: 20px;
    }

    .brand-hero-refined .hero-metrics > div {
        display: grid;
        grid-template-columns: 145px minmax(0, 1fr);
        column-gap: 18px;
        align-items: center;
        width: 100%;
        padding: 0;
        border-left: 0 !important;
    }

    .brand-hero-refined .hero-metrics strong {
        width: auto;
        margin: 0;
        white-space: nowrap;
        font-size: 2rem;
    }

    .brand-hero-refined .hero-metrics span {
        margin: 0;
        font-size: 0.9rem;
        line-height: 1.35;
    }
}
/* =========================================================
   AJUSTES MOBILE — REFINO 02/10/2026
   ========================================================= */
@media (max-width: 600px) {

    /* Mantém as descrições perfeitamente alinhadas
       e desloca apenas o número 4 para o fim da coluna numérica. */
    .brand-hero-refined .hero-metrics > div {
        grid-template-columns: 105px minmax(0, 1fr);
        column-gap: 18px;
    }

    .brand-hero-refined .hero-metrics > div:nth-child(2) strong {
        width: 100%;
        justify-self: stretch;
        text-align: right;
        padding-right: 0;
    }

    /* No mobile, "Mais clareza..." começa em uma nova linha. */
    .mobile-only-break {
        display: block;
    }

    /* Deixa os arcos decorativos da seção de dor bem mais discretos. */
    .pain-section::before {
        border-color: rgba(7, 141, 240, 0.055);
    }

    .pain-section::after {
        border-left-color: rgba(255, 138, 0, 0.075);
        border-bottom-color: rgba(255, 138, 0, 0.035);
    }

    /* Limpa a moldura do mockup no celular:
       remove as três bolinhas que estavam parecendo controles extras. */
    .brand-hero-refined .brand-device-topbar {
        height: 22px;
        padding: 0;
        background: rgba(247, 250, 252, 0.72);
    }

    .brand-hero-refined .brand-device-topbar span {
        display: none;
    }
}
/* =========================================================
   AJUSTE FINAL DE ALINHAMENTO DAS MÉTRICAS — MOBILE
   ========================================================= */
@media (max-width: 600px) {

    .brand-hero-refined .hero-metrics > div {
        display: grid !important;
        grid-template-columns: 120px minmax(0, 1fr) !important;
        column-gap: 18px !important;
        align-items: center !important;
        width: 100% !important;
        padding: 0 !important;
    }

    .brand-hero-refined .hero-metrics > div > strong {
        display: block !important;
        width: 120px !important;
        min-width: 120px !important;
        max-width: 120px !important;
        justify-self: start !important;
        margin: 0 !important;
        padding: 0 !important;
        text-align: left !important;
        white-space: nowrap !important;
    }

    .brand-hero-refined .hero-metrics .metric-four {
        width: 120px !important;
        min-width: 120px !important;
        max-width: 120px !important;
        justify-self: start !important;
        text-align: center !important;
        padding: 0 !important;
        transform: none !important;
    }

    .brand-hero-refined .hero-metrics > div > span {
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        text-align: left !important;
    }
}

/* =========================================================
   LGPD: CONSENTIMENTO DO FORMULÁRIO E BANNER DE COOKIES
   ========================================================= */

.form-panel .consent-field {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: normal;
    line-height: 1.5;
    text-transform: none;
}

.form-panel .consent-field input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    padding: 0;
    accent-color: var(--brand-blue);
}

.consent-field a {
    color: var(--brand-blue-deep);
    text-decoration: underline;
}

.footer-bottom {
    flex-wrap: wrap;
    align-items: center;
}

.cookie-settings-link {
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
    text-decoration: underline;
}

.cookie-banner {
    position: fixed;
    right: 20px;
    bottom: 20px;
    left: 20px;
    z-index: 120;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    max-width: 880px;
    margin: 0 auto;
    padding: 18px 22px;
    border-radius: 14px;
    background: var(--navy-900);
    box-shadow: 0 18px 50px rgba(7, 19, 33, 0.35);
    color: var(--navy-100);
    font-size: 0.86rem;
    line-height: 1.5;
}

.cookie-banner[hidden] {
    display: none;
}

.cookie-banner p {
    flex: 1 1 360px;
    margin: 0;
}

.cookie-banner a {
    color: var(--white);
    text-decoration: underline;
}

.cookie-banner-actions {
    display: flex;
    gap: 10px;
}

.cookie-banner button {
    padding: 10px 16px;
    border: 1px solid var(--navy-300);
    border-radius: 8px;
    background: transparent;
    color: var(--white);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.cookie-banner .cookie-accept {
    border-color: var(--brand-blue);
    background: var(--brand-blue);
}

@media (max-width: 640px) {
    .cookie-banner {
        right: 10px;
        bottom: 10px;
        left: 10px;
    }

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

    .cookie-banner button {
        flex: 1;
    }
}
