/* ============================================================
   FORALL BRASIL
   CSS PRINCIPAL
============================================================ */


/* ============================================================
   VARIÁVEIS
============================================================ */

:root {
    --teal: #17a5b5;
    --teal-deep: #087e8d;

    --ink: #10171b;
    --ink-soft: #26343a;

    --steel: #627982;

    --mist: #eaf0f1;
    --paper: #f7f7f3;
    --white: #ffffff;

    --line:
        rgba(16, 23, 27, 0.12);

    --shadow-soft:
        0 20px 60px
        rgba(12, 28, 34, 0.10);

    --shadow:
        0 30px 90px
        rgba(12, 28, 34, 0.16);

    --header-height: 108px;

    --container:
        min(
            1180px,
            calc(100% - 48px)
        );
}


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

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


html {
    scroll-behavior: smooth;

    -webkit-text-size-adjust: 100%;
}


body {
    margin: 0;

    min-width: 320px;

    overflow-x: hidden;

    color: var(--ink);

    background: var(--paper);

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

    line-height: 1.55;
}


body.menu-open {
    overflow: hidden;

    touch-action: none;
}


img {
    display: block;

    max-width: 100%;
}


a {
    color: inherit;

    text-decoration: none;
}


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


button {
    cursor: pointer;
}


::selection {
    color: white;

    background: var(--teal);
}


/* ============================================================
   ESTRUTURA
============================================================ */

.container {
    width: var(--container);

    margin-inline: auto;
}


.section {
    padding: 105px 0;
}


/* ============================================================
   TIPOGRAFIA
============================================================ */

.eyebrow {
    display: inline-flex;

    align-items: center;

    gap: 11px;

    color: var(--teal-deep);

    font-size: 0.76rem;

    font-weight: 850;

    letter-spacing: 0.13em;

    text-transform: uppercase;
}


.eyebrow::before {
    content: "";

    width: 28px;

    height: 2px;

    flex: 0 0 auto;

    background: currentColor;
}


.eyebrow-light {
    color: #6dd6e0;
}


.display {
    max-width: 1050px;

    margin: 18px 0 24px;

    font-size:
        clamp(
            3rem,
            5.9vw,
            6rem
        );

    font-weight: 780;

    line-height: 0.95;

    letter-spacing: -0.055em;
}


.title {
    margin: 18px 0 20px;

    font-size:
        clamp(
            2.2rem,
            4vw,
            4.3rem
        );

    font-weight: 760;

    line-height: 1;

    letter-spacing: -0.045em;
}


.lead {
    max-width: 760px;

    margin-top: 0;

    color: #526268;

    font-size:
        clamp(
            1rem,
            1.5vw,
            1.22rem
        );
}


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

.btn {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    min-height: 50px;

    padding: 14px 21px;

    border: 1px solid transparent;

    border-radius: 999px;

    font-weight: 800;

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


.btn-primary {
    color: white;

    background: var(--ink);
}


.btn-primary:hover {
    background: var(--teal);

    transform:
        translateY(-2px);
}


.btn-outline {
    color: var(--ink);

    border-color:
        rgba(16, 23, 27, 0.17);

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

    backdrop-filter: blur(14px);

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


.btn-outline:hover {
    color: var(--teal-deep);

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


.arrow {
    font-size: 1.15em;

    transition:
        transform 0.25s ease;
}


.btn:hover .arrow {
    transform:
        translateX(4px);
}


.text-link {
    display: inline-flex;

    align-items: center;

    gap: 9px;

    margin-top: 18px;

    font-weight: 800;
}


.text-link span:last-child {
    color: var(--teal);

    transition:
        transform 0.25s ease;
}


.text-link:hover span:last-child {
    transform:
        translate(3px, -3px);
}


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

.header {
    position: fixed;

    top: 0;
    left: 0;
    right: 0;

    z-index: 1000;

    padding: 17px 0;

    transition:
        padding 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease;
}


.header.scrolled,
.header.header-internal {
    padding: 10px 0;

    background:
        rgba(247, 247, 243, 0.93);

    backdrop-filter:
        blur(20px);

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

    box-shadow:
        0 1px 0
        rgba(16, 23, 27, 0.08);
}


.header-inner {
    width: var(--container);

    margin-inline: auto;

    display: flex;

    align-items: center;

    gap: 28px;
}


.brand {
    flex: 0 0 auto;
}


.brand img {
    width: 170px;

    height: auto;

    transition:
        width 0.3s ease;
}


.header.scrolled .brand img,
.header.header-internal .brand img {
    width: 145px;
}


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

.nav {
    margin-left: auto;

    display: flex;

    align-items: center;

    gap: 27px;
}


.nav a {
    position: relative;

    padding: 8px 0;

    font-size: 0.92rem;

    font-weight: 720;
}


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

    position: absolute;

    left: 0;

    right: 100%;

    bottom: 1px;

    height: 2px;

    background: var(--teal);

    transition:
        right 0.25s ease;
}


.nav a:hover::after,
.nav a.active::after {
    right: 0;
}


.header-actions {
    display: flex;

    align-items: center;

    gap: 10px;
}


/* ============================================================
   IDIOMA
============================================================ */

.lang {
    position: relative;
}


.lang-btn {
    min-height: 48px;

    display: flex;

    align-items: center;

    gap: 8px;

    padding: 9px 13px;

    color: var(--ink);

    border:
        1px solid
        rgba(16, 23, 27, 0.16);

    border-radius: 999px;

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

    font-weight: 850;
}


.lang-btn > svg:first-child {
    width: 18px;

    height: 18px;
}


.lang-chevron {
    width: 14px;

    height: 14px;

    transition:
        transform 0.2s ease;
}


.lang.open .lang-chevron {
    transform:
        rotate(180deg);
}


.lang-menu {
    position: absolute;

    top: calc(100% + 10px);

    right: 0;

    z-index: 1100;

    width: 205px;

    padding: 7px;

    border:
        1px solid
        rgba(16, 23, 27, 0.08);

    border-radius: 17px;

    background: white;

    box-shadow:
        0 24px 60px
        rgba(10, 20, 25, 0.16);

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transform:
        translateY(-6px);

    transition:
        0.2s ease;
}


.lang.open .lang-menu {
    opacity: 1;

    visibility: visible;

    pointer-events: auto;

    transform:
        translateY(0);
}


.lang-menu button {
    width: 100%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 11px 12px;

    border: 0;

    border-radius: 11px;

    color: var(--ink);

    background: transparent;

    text-align: left;

    font-weight: 720;
}


.lang-menu button:hover {
    background: var(--mist);
}


.lang-menu strong {
    color: var(--steel);

    font-size: 0.75rem;
}


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

.mobile-toggle {
    width: 47px;

    height: 47px;

    display: none;

    position: relative;

    flex: 0 0 47px;

    border: 0;

    border-radius: 50%;

    background: var(--ink);
}


.mobile-toggle span {
    position: absolute;

    left: 14px;

    width: 19px;

    height: 2px;

    background: white;
}


.mobile-toggle span:first-child {
    top: 19px;
}


.mobile-toggle span:last-child {
    top: 26px;
}


.mobile-nav {
    position: fixed;

    inset: 0;

    z-index: 2000;

    display: flex;

    flex-direction: column;

    padding:
        max(
            20px,
            env(safe-area-inset-top)
        )
        max(
            22px,
            env(safe-area-inset-right)
        )
        max(
            22px,
            env(safe-area-inset-bottom)
        )
        max(
            22px,
            env(safe-area-inset-left)
        );

    background:
        linear-gradient(
            145deg,
            #f7f7f3,
            #edf3f3
        );

    visibility: hidden;

    pointer-events: none;

    opacity: 0;

    transform:
        translateY(-15px);

    transition:
        0.28s ease;
}


.mobile-nav.open {
    visibility: visible;

    pointer-events: auto;

    opacity: 1;

    transform:
        translateY(0);
}


.mobile-nav-header {
    display: flex;

    align-items: center;

    justify-content: space-between;
}


.mobile-brand img {
    width: 145px;
}


.close-menu {
    position: relative;

    width: 47px;

    height: 47px;

    border: 0;

    border-radius: 50%;

    background: var(--ink);
}


.close-menu span {
    position: absolute;

    top: 22px;

    left: 14px;

    width: 19px;

    height: 2px;

    background: white;
}


.close-menu span:first-child {
    transform:
        rotate(45deg);
}


.close-menu span:last-child {
    transform:
        rotate(-45deg);
}


.mobile-nav-links {
    display: flex;

    flex-direction: column;

    margin: auto 0;
}


.mobile-nav-links a {
    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 15px 0;

    border-bottom:
        1px solid
        rgba(16, 23, 27, 0.10);

    font-size:
        clamp(
            2rem,
            8vw,
            3rem
        );

    font-weight: 760;

    line-height: 1;

    letter-spacing: -0.045em;
}


.mobile-nav-links a::after {
    content: "↗";

    color: var(--teal);

    font-size: 0.7em;
}


.mobile-quote {
    width: 100%;

    margin-bottom: 20px;
}


.mobile-nav-footer {
    display: flex;

    justify-content: space-between;

    color: var(--steel);

    font-size: 0.78rem;
}


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

.hero {
    min-height: 100svh;

    position: relative;

    isolation: isolate;

    display: flex;

    align-items: center;

    padding:
        calc(
            var(--header-height)
            + 45px
        )
        0
        80px;
}


.hero::before {
    content: "";

    position: absolute;

    inset: 0;

    z-index: -3;

    background:
        radial-gradient(
            circle at 12% 15%,
            rgba(23, 165, 181, 0.16),
            transparent 29%
        ),
        linear-gradient(
            120deg,
            #f7f7f3 0%,
            #f7f7f3 57%,
            #e8eff0 57%,
            #e8eff0 100%
        );
}


.hero-grid {
    width: var(--container);

    margin-inline: auto;

    display: grid;

    grid-template-columns:
        minmax(0, 1.03fr)
        minmax(0, 0.97fr);

    align-items: center;

    gap: 68px;
}


.hero-copy .display span {
    color: var(--teal-deep);
}


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


.hero-actions {
    display: flex;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: 33px;
}


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

.hero-stats {
    display: grid;

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

    gap: 10px;

    margin-top: 38px;

    padding-top: 22px;

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


.hero-stat {
    min-width: 0;

    padding: 15px;

    border:
        1px solid
        rgba(16, 23, 27, 0.08);

    border-radius: 18px;

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

    backdrop-filter:
        blur(8px);

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


.hero-stat strong {
    display: block;

    margin-bottom: 4px;

    color: var(--ink);

    font-size: 1.13rem;

    line-height: 1.05;
}


.hero-stat span {
    display: block;

    color: #63747a;

    font-size: 0.74rem;

    font-weight: 650;

    line-height: 1.35;
}


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

.hero-visual {
    position: relative;

    height: 650px;

    perspective: 1000px;
}


.photo-main {
    position: absolute;

    top: 30px;

    right: 0;

    bottom: 0;

    left: 70px;

    overflow: hidden;

    border-radius: 34px;

    box-shadow: var(--shadow);

    transition:
        transform 0.18s ease-out;
}


.photo-main img {
    width: 100%;

    height: 100%;

    object-fit: cover;
}


.photo-main::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(8, 24, 28, 0.48),
            transparent 50%
        );
}


.float-card {
    position: absolute;

    z-index: 4;

    padding: 18px 20px;

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

    border-radius: 21px;

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

    backdrop-filter:
        blur(17px);

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

    box-shadow:
        0 20px 50px
        rgba(13, 31, 35, 0.15);
}


.float-card.year {
    left: 0;

    bottom: 75px;
}


.float-card.year strong {
    display: block;

    font-size: 1.9rem;
}


.float-card.year span {
    display: block;

    max-width: 190px;

    margin-top: 6px;

    color: #607177;

    font-size: 0.78rem;
}


.float-card.world {
    top: 75px;

    right: -20px;

    max-width: 215px;
}


.float-card.world strong {
    display: block;
}


.float-card.world span {
    display: block;

    margin-top: 5px;

    color: #607177;

    font-size: 0.84rem;
}


.barcode-decor {
    position: absolute;

    right: -70px;

    bottom: -25px;

    z-index: -1;

    width: 390px;

    height: 120px;

    opacity: 0.12;

    background:
        repeating-linear-gradient(
            90deg,
            #111 0 3px,
            transparent 3px 7px,
            #111 7px 12px,
            transparent 12px 16px,
            #111 16px 18px,
            transparent 18px 25px
        );

    transform:
        rotate(-6deg);
}


/* ============================================================
   FAIXA ANIMADA
============================================================ */

.knowledge-strip {
    width: 100%;

    overflow: hidden;

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

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

    background: white;
}


.knowledge-track {
    display: flex;

    width: max-content;

    animation:
        knowledgeScroll
        28s
        linear
        infinite;

    will-change: transform;
}


.knowledge-group {
    display: flex;

    align-items: center;

    flex-shrink: 0;
}


.knowledge-group span {
    padding:
        17px
        28px;

    color: #52646a;

    font-size: 0.82rem;

    font-weight: 850;

    letter-spacing: 0.06em;

    text-transform: uppercase;

    white-space: nowrap;
}


.knowledge-group i {
    color: var(--teal);

    font-size: 0.9rem;

    font-style: normal;

    font-weight: 900;
}


@keyframes knowledgeScroll {

    from {
        transform:
            translate3d(
                0,
                0,
                0
            );
    }

    to {
        transform:
            translate3d(
                -50%,
                0,
                0
            );
    }

}


/* ============================================================
   INTRO
============================================================ */

.intro-section {
    padding: 100px 0;
}


.intro-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 0.95fr)
        minmax(0, 1.05fr);

    align-items: center;

    gap: 100px;
}


.intro-title {
    max-width: 620px;

    margin:
        22px
        0
        0;

    font-size:
        clamp(
            2.5rem,
            4.8vw,
            4.8rem
        );

    font-weight: 740;

    line-height: 1.02;

    letter-spacing: -0.05em;
}


.intro-content {
    padding-top: 45px;
}


.intro-copy {
    max-width: 650px;

    margin: 0;

    color: #56676d;

    font-size: 1.08rem;

    line-height: 1.72;
}


/* ============================================================
   NOVO TEASER DE SOLUÇÕES
============================================================ */

.solutions-teaser {
    position: relative;

    overflow: hidden;

    padding:
        92px
        0;

    color: white;

    background: var(--ink);
}


.solutions-teaser::before {
    content: "";

    position: absolute;

    top: -250px;

    right: -300px;

    width: 650px;

    height: 650px;

    border-radius: 50%;

    background:
        rgba(23, 165, 181, 0.13);

    filter:
        blur(80px);
}


.solutions-teaser-top {
    position: relative;

    z-index: 2;

    display: grid;

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

    align-items: end;

    gap: 70px;
}


.solutions-teaser-copy {
    max-width: 760px;
}


.solutions-teaser-title {
    margin:
        18px
        0
        18px;

    font-size:
        clamp(
            2.7rem,
            5vw,
            5.1rem
        );

    font-weight: 760;

    line-height: 0.98;

    letter-spacing: -0.052em;
}


.solutions-teaser-description {
    max-width: 610px;

    margin: 0;

    color: #9cadb2;

    font-size: 1rem;

    line-height: 1.65;
}


.solutions-teaser-button {
    min-width: 230px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    padding:
        17px
        20px
        17px
        23px;

    color: var(--ink);

    border-radius: 999px;

    background: white;

    font-size: 0.88rem;

    font-weight: 820;

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


.solutions-teaser-button i {
    font-style: normal;

    font-size: 1.1rem;

    transition:
        transform 0.25s ease;
}


.solutions-teaser-button:hover {
    color: white;

    background: var(--teal);

    transform:
        translateY(-2px);
}


.solutions-teaser-button:hover i {
    transform:
        translateX(4px);
}


/* LISTA SIMPLES */

.solutions-teaser-list {
    position: relative;

    z-index: 2;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 25px;

    margin-top: 55px;

    padding:
        25px
        0
        0;

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


.solutions-teaser-list span {
    color: white;

    font-size: 0.91rem;

    font-weight: 720;

    white-space: nowrap;
}


.solutions-teaser-list i {
    width: 5px;

    height: 5px;

    flex: 0 0 5px;

    border-radius: 50%;

    background: var(--teal);
}


/* ============================================================
   REFERENCISTAS
============================================================ */

.partner-feature {
    background: #edf2f2;
}


.partner-feature-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 0.9fr)
        minmax(0, 1.1fr);

    align-items: center;

    gap: 70px;
}


.partner-feature-copy .lead {
    max-width: 600px;
}


.partner-feature-card {
    min-height: 410px;

    position: relative;

    overflow: hidden;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 28px;

    padding: 45px;

    border-radius: 32px;

    background: white;

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


.partner-feature-card::before {
    content: "";

    position: absolute;

    right: -100px;

    bottom: -80px;

    width: 380px;

    height: 150px;

    opacity: 0.06;

    background:
        repeating-linear-gradient(
            90deg,
            #111 0 3px,
            transparent 3px 8px,
            #111 8px 13px,
            transparent 13px 19px
        );

    transform:
        rotate(-10deg);
}


.partner-exclusive {
    padding:
        8px
        13px;

    color: var(--teal-deep);

    border-radius: 999px;

    background:
        rgba(23, 165, 181, 0.12);

    font-size: 0.73rem;

    font-weight: 850;

    letter-spacing: 0.07em;

    text-transform: uppercase;
}


.referencistas-logo {
    width:
        min(
            330px,
            80%
        );

    position: relative;

    z-index: 2;
}


.referencistas-logo img {
    width: 100%;

    max-height: 145px;

    object-fit: contain;
}


.partner-site {
    position: relative;

    z-index: 2;

    color: #6a7c82;

    font-size: 0.88rem;

    font-weight: 700;
}


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

.page-hero {
    position: relative;

    overflow: hidden;

    padding:
        calc(
            var(--header-height)
            + 75px
        )
        0
        85px;

    background:
        linear-gradient(
            120deg,
            #eef5f5,
            #f8f7f1
        );
}


.page-hero::after {
    content: "";

    position: absolute;

    top: 55px;

    right: -100px;

    width: 520px;

    height: 170px;

    opacity: 0.07;

    background:
        repeating-linear-gradient(
            90deg,
            #111 0 3px,
            transparent 3px 8px,
            #111 8px 12px,
            transparent 12px 20px
        );

    transform:
        rotate(-8deg);
}


.page-hero .container {
    position: relative;

    z-index: 2;
}


.about-layout {
    display: grid;

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

    align-items: center;

    gap: 70px;
}


.about-photo {
    height: 560px;

    overflow: hidden;

    border-radius: 30px;

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


.about-photo img {
    width: 100%;

    height: 100%;

    object-fit: cover;
}


.values {
    display: grid;

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

    gap: 14px;

    margin-top: 42px;
}


.value {
    padding: 23px;

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

    border-radius: 19px;

    background: white;
}


.value strong {
    display: block;

    margin-bottom: 6px;
}


.value span {
    color: #63747a;

    font-size: 0.9rem;
}


/* ============================================================
   STORY
============================================================ */

.story-grid {
    display: grid;

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

    align-items: center;

    gap: 70px;
}


.story-image {
    height: 610px;

    position: relative;

    overflow: hidden;

    border-radius: 32px;

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


.story-image img {
    width: 100%;

    height: 100%;

    object-fit: cover;
}


.stamp {
    position: absolute;

    right: 22px;

    bottom: 22px;

    width: 135px;

    height: 135px;

    display: grid;

    place-items: center;

    padding: 20px;

    color: white;

    background: var(--teal);

    border-radius: 50%;

    text-align: center;

    font-weight: 850;

    line-height: 1.1;
}


.story-points {
    margin-top: 31px;
}


.story-point {
    display: grid;

    grid-template-columns:
        58px
        1fr;

    gap: 15px;

    padding: 18px 0;

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


.story-point b {
    color: var(--teal-deep);

    font-size: 0.82rem;
}


.story-point strong {
    display: block;

    margin-bottom: 3px;
}


.story-point span {
    color: #65767c;

    font-size: 0.92rem;
}


/* ============================================================
   PROCESSO
============================================================ */

.process {
    background: #e8eeee;
}


.process-head {
    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 45px;
}


.process-head > div {
    max-width: 600px;
}


.process-head .lead {
    max-width: 500px;
}


.process-grid {
    display: grid;

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

    margin-top: 55px;

    border-top:
        1px solid #bcc9cb;
}


.process-item {
    position: relative;

    padding:
        28px
        28px
        10px
        0;
}


.process-item::before {
    content: "";

    position: absolute;

    top: -6px;

    left: 0;

    width: 12px;

    height: 12px;

    border-radius: 50%;

    background: var(--teal);
}


.process-item small {
    color: #698086;

    font-weight: 800;
}


.process-item h3 {
    margin:
        15px
        0
        8px;
}


.process-item p {
    color: #617278;

    font-size: 0.9rem;
}


/* ============================================================
   PÁGINA SOLUÇÕES
============================================================ */

.solutions-hero {
    padding:
        calc(
            var(--header-height)
            + 75px
        )
        0
        85px;

    background:
        linear-gradient(
            125deg,
            #eef4f4,
            #f8f7f1
        );
}


.solutions-hero-grid {
    display: grid;

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

    align-items: center;

    gap: 70px;
}


.solutions-hero-image {
    height: 450px;

    overflow: hidden;

    border-radius: 32px;

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


.solutions-hero-image img {
    width: 100%;

    height: 100%;

    object-fit: cover;
}


.solution-detail-list {
    display: grid;

    gap: 0;
}


.solution-detail {
    display: grid;

    grid-template-columns:
        80px
        minmax(0, 1fr)
        minmax(300px, 0.75fr);

    align-items: center;

    gap: 40px;

    padding:
        55px
        0;

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


.solution-detail:first-child {
    border-top:
        1px solid var(--line);
}


.solution-detail-number {
    align-self: start;

    padding-top: 8px;

    color: var(--teal-deep);

    font-size: 0.8rem;

    font-weight: 900;
}


.solution-detail-copy h2 {
    margin:
        0
        0
        14px;

    font-size:
        clamp(
            2rem,
            3.5vw,
            3.5rem
        );

    line-height: 1;

    letter-spacing: -0.045em;
}


.solution-detail-copy p {
    max-width: 620px;

    margin: 0;

    color: #5e7076;

    font-size: 1rem;

    line-height: 1.7;
}


.solution-detail-image {
    height: 260px;

    overflow: hidden;

    border-radius: 24px;
}


.solution-detail-image img {
    width: 100%;

    height: 100%;

    object-fit: cover;
}


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

.cta {
    padding:
        30px
        0
        75px;
}


.cta-box {
    position: relative;

    overflow: hidden;

    display: grid;

    grid-template-columns:
        1.2fr
        0.8fr;

    align-items: end;

    gap: 50px;

    padding: 55px;

    color: white;

    background: var(--teal);

    border-radius: 34px;
}


.cta-box::after {
    content: "";

    position: absolute;

    top: -50px;

    right: -100px;

    width: 420px;

    height: 180px;

    opacity: 0.1;

    background:
        repeating-linear-gradient(
            90deg,
            white 0 3px,
            transparent 3px 8px,
            white 8px 12px,
            transparent 12px 19px
        );

    transform:
        rotate(-8deg);
}


.cta-box h2 {
    position: relative;

    z-index: 2;

    margin: 0;

    font-size:
        clamp(
            2.3rem,
            4.3vw,
            4.5rem
        );

    line-height: 0.98;

    letter-spacing: -0.05em;
}


.cta-box p {
    position: relative;

    z-index: 2;

    max-width: 650px;

    color:
        rgba(
            255,
            255,
            255,
            0.84
        );
}


.cta-actions {
    position: relative;

    z-index: 2;

    display: flex;

    justify-content: flex-end;
}


.cta .btn-primary {
    color: var(--ink);

    background: white;
}


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

.footer {
    padding:
        30px
        0
        max(
            18px,
            env(safe-area-inset-bottom)
        );

    color: #cad5d8;

    background: #0c1215;
}


.footer-inner {
    display: grid;

    grid-template-columns:
        1.25fr
        0.65fr
        1fr;

    align-items: center;

    gap: 35px;
}


.footer-identity {
    min-width: 0;

    display: flex;

    align-items: center;

    gap: 18px;
}


.footer-identity img {
    width: 125px;

    height: auto;
}


.footer-identity span {
    max-width: 250px;

    color: #86979c;

    font-size: 0.78rem;

    line-height: 1.45;
}


.footer-nav {
    display: flex;

    gap: 22px;

    font-size: 0.84rem;

    font-weight: 700;
}


.footer-nav a:hover {
    color: var(--teal);
}


.footer-contact {
    display: flex;

    flex-direction: column;

    align-items: flex-end;

    gap: 4px;

    font-size: 0.8rem;
}


.footer-contact a:hover {
    color: var(--teal);
}


.footer-bottom {
    display: flex;

    justify-content: space-between;

    gap: 20px;

    margin-top: 22px;

    padding-top: 16px;

    color: #64777d;

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

    font-size: 0.69rem;
}


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

.reveal {
    opacity: 0;

    transform:
        translateY(26px);

    transition:
        opacity 0.75s ease,
        transform 0.75s ease;
}


.reveal.visible {
    opacity: 1;

    transform:
        translateY(0);
}


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

@media (max-width: 1050px) {

    :root {
        --container:
            min(
                100% - 36px,
                1180px
            );
    }

}


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

@media (max-width: 900px) {

    :root {
        --header-height: 86px;

        --container:
            min(
                100% - 30px,
                1180px
            );
    }


    .header {
        padding:
            max(
                9px,
                env(safe-area-inset-top)
            )
            0
            9px;
    }


    .nav,
    .header-quote {
        display: none;
    }


    .mobile-toggle {
        display: block;
    }


    .header-actions {
        margin-left: auto;
    }


    .brand img {
        width: 145px;
    }


    .header.scrolled .brand img,
    .header.header-internal .brand img {
        width: 132px;
    }


    .hero {
        min-height: auto;

        padding:
            calc(
                var(--header-height)
                + 60px
            )
            0
            75px;
    }


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

        gap: 48px;
    }


    .hero-visual {
        width: 100%;

        height: 570px;
    }


    .photo-main {
        top: 0;

        left: 25px;
    }


    .intro-grid,
    .partner-feature-grid,
    .about-layout,
    .story-grid,
    .solutions-hero-grid {
        grid-template-columns:
            1fr;

        gap: 45px;
    }


    .intro-content {
        padding-top: 0;
    }


    /* NOVA SOLUÇÕES */

    .solutions-teaser-top {
        grid-template-columns:
            1fr;

        align-items: start;

        gap: 35px;
    }


    .solutions-teaser-button {
        width: fit-content;
    }


    .solutions-teaser-list {
        justify-content:
            flex-start;

        flex-wrap: wrap;

        row-gap: 15px;
    }


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


    .solution-detail {
        grid-template-columns:
            55px
            1fr;
    }


    .solution-detail-image {
        grid-column: 2;

        width: 100%;
    }


    .cta-box {
        grid-template-columns:
            1fr;

        padding: 45px;
    }


    .cta-actions {
        justify-content:
            flex-start;
    }


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


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

}


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

@media (max-width: 640px) {

    :root {
        --container:
            min(
                100% - 26px,
                1180px
            );

        --header-height:
            78px;
    }


    .section {
        padding:
            75px
            0;
    }


    .brand img {
        width: 126px;
    }


    .header.scrolled .brand img,
    .header.header-internal .brand img {
        width: 116px;
    }


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

        padding:
            8px
            10px;
    }


    .mobile-toggle {
        width: 44px;

        height: 44px;

        flex-basis: 44px;
    }


    .display {
        font-size:
            clamp(
                2.9rem,
                13vw,
                4.5rem
            );

        line-height: 0.96;
    }


    .title {
        font-size:
            clamp(
                2.25rem,
                10vw,
                3.35rem
            );
    }


    .intro-title {
        max-width: 100%;

        font-size:
            clamp(
                2.4rem,
                10vw,
                3.3rem
            );
    }


    .hero {
        padding:
            calc(
                var(--header-height)
                + 50px
            )
            0
            65px;
    }


    .hero-actions {
        display: grid;

        grid-template-columns:
            1fr;
    }


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


    /* HERO STATS */

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

        gap: 9px;

        margin-top: 32px;

        padding-top: 18px;
    }


    .hero-stat {
        min-height: 100px;

        padding: 14px;

        border-radius: 16px;

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


    .hero-stat-wide {
        grid-column:
            1 / -1;

        min-height: 76px;

        display: flex;

        align-items: center;

        justify-content:
            space-between;

        gap: 15px;
    }


    .hero-stat strong {
        font-size: 1rem;
    }


    .hero-stat-wide strong {
        margin-bottom: 0;
    }


    .hero-stat-wide span {
        max-width: 150px;

        text-align: right;
    }


    .hero-visual {
        height: 500px;
    }


    .photo-main {
        left: 7px;

        border-radius: 26px;
    }


    .float-card {
        padding:
            14px
            15px;
    }


    .float-card.year {
        bottom: 22px;
    }


    .float-card.world {
        top: 17px;

        right: -3px;

        max-width: 168px;
    }


    .barcode-decor {
        display: none;
    }


    .knowledge-track {
        animation-duration:
            20s;
    }


    .knowledge-group span {
        padding:
            14px
            22px;

        font-size: 0.72rem;
    }


    .intro-section {
        padding:
            75px
            0;
    }


    /* SOLUÇÕES TEASER MOBILE */

    .solutions-teaser {
        padding:
            70px
            0;
    }


    .solutions-teaser-title {
        font-size:
            clamp(
                2.5rem,
                11vw,
                3.5rem
            );

        line-height: 1;
    }


    .solutions-teaser-description {
        font-size: 0.94rem;
    }


    .solutions-teaser-button {
        width: 100%;

        min-width: 0;
    }


    .solutions-teaser-list {
        display: grid;

        grid-template-columns:
            1fr;

        gap: 0;

        margin-top: 40px;

        padding-top: 0;

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


    .solutions-teaser-list span {
        padding:
            15px
            0;

        border-bottom:
            1px solid
            rgba(255, 255, 255, 0.10);

        font-size: 0.9rem;
    }


    .solutions-teaser-list span::after {
        content: "↗";

        float: right;

        color: var(--teal);
    }


    .solutions-teaser-list i {
        display: none;
    }


    .partner-feature-grid {
        gap: 40px;
    }


    .partner-feature-card {
        min-height: 300px;

        padding:
            28px
            20px;
    }


    .referencistas-logo {
        width:
            min(
                260px,
                90%
            );
    }


    .about-photo,
    .story-image {
        height: 430px;

        border-radius: 25px;
    }


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


    .process-head {
        display: block;
    }


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

        border-top: 0;
    }


    .process-item {
        padding:
            24px
            0;

        border-top:
            1px solid
            #bcc9cb;
    }


    .solutions-hero {
        padding:
            calc(
                var(--header-height)
                + 55px
            )
            0
            55px;
    }


    .solutions-hero-image {
        height: 330px;
    }


    .solution-detail {
        grid-template-columns:
            1fr;

        gap: 18px;

        padding:
            42px
            0;
    }


    .solution-detail-number,
    .solution-detail-image {
        grid-column: auto;
    }


    .solution-detail-image {
        height: 230px;
    }


    .cta-box {
        padding:
            34px
            24px;

        border-radius: 27px;
    }


    /* FOOTER MOBILE */

    .footer {
        padding-top: 25px;
    }


    .footer-inner {
        display: flex;

        flex-direction: column;

        align-items: flex-start;

        gap: 18px;
    }


    .footer-identity {
        width: 100%;

        display: flex;

        align-items: center;

        gap: 13px;
    }


    .footer-identity img {
        width: 105px;
    }


    .footer-identity span {
        max-width: 205px;

        font-size: 0.72rem;
    }


    .footer-nav {
        gap: 18px;

        font-size: 0.8rem;
    }


    .footer-contact {
        align-items: flex-start;

        gap: 3px;

        font-size: 0.77rem;
    }


    .footer-bottom {
        display: flex;

        flex-direction: column;

        gap: 4px;

        margin-top: 18px;

        padding-top: 13px;
    }

}


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

@media (max-width: 390px) {

    :root {
        --container:
            min(
                100% - 22px,
                1180px
            );
    }


    .brand img {
        width: 108px;
    }


    .hero-visual {
        height: 440px;
    }

}


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

@media (
    prefers-reduced-motion:
    reduce
) {

    html {
        scroll-behavior: auto;
    }


    .reveal {
        opacity: 1;

        transform: none;
    }

}


/* ============================================================
   TOUCH
============================================================ */

@media (hover: none) {

    .btn:hover,
    .solutions-teaser-button:hover {
        transform: none;
    }

}