:root {
    --navy: #10385C;
    --navy-dark: #0C2540;
    --navy-deep: #08182B;
    --blue: #1C64B0;
    --blue-dark: #10385C;
    --blue-light: #3E8AD8;
    --steel: #929A9E;
    --steel-light: #C7CED4;
    --graphite: #202830;
    --ink: #16202B;
    --body: #5C6773;
    --line: #E3E8EE;
    --bg: #ffffff;
    --bg-soft: #F4F7FA;
    --radius: 14px;
    --shadow-sm: 0 2px 10px rgba(16, 56, 92, .06);
    --shadow: 0 10px 30px rgba(16, 56, 92, .10);
    --shadow-lg: 0 20px 50px rgba(16, 56, 92, .16);
    --container: 1200px;
    --header-h: 104px
}

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

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-h);
    /* iOS Safari infla o texto sozinho ao girar para paisagem */
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%
}

body {
    margin: 0;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--body);
    background: var(--bg);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased
}

h1,
h2,
h3,
h4 {
    color: var(--ink);
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 .6em;
    letter-spacing: -.01em
}

p {
    margin: 0 0 1em
}

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

ul {
    margin: 0;
    padding: 0;
    list-style: none
}

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

svg {
    display: block
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px
}

.container.narrow {
    max-width: 820px
}

.section {
    padding: 96px 0
}

.section-head {
    max-width: 760px;
    margin-bottom: 52px
}

.section-head.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center
}

.section-head h2 {
    font-size: clamp(1.9rem, 3.4vw, 2.7rem);
    font-weight: 400;
    text-wrap: balance
}

h2,
h3 {
    text-wrap: balance
}

.section-head h2 strong {
    font-weight: 700;
    color: var(--blue-dark)
}

.section-sub {
    font-size: 1.02rem;
    color: var(--body);
    margin: 0
}

.section-sub strong {
    color: var(--ink);
    font-weight: 600
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .16em;
    color: var(--blue);
    background: #EAF1F9;
    padding: 7px 14px;
    border-radius: 100px;
    margin-bottom: 16px
}

.tag::before {
    content: '';
    width: 8px;
    height: 9px;
    background: var(--blue);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%)
}

.tag-light {
    color: #CFDCEA;
    background: rgba(255, 255, 255, .1)
}

.tag-light::before {
    background: var(--blue-light)
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 17px 34px;
    border: 0;
    border-radius: 8px;
    font-family: inherit;
    font-size: .92rem;
    font-weight: 600;
    letter-spacing: .03em;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease
}

.btn .ico {
    width: 22px;
    height: 22px
}

.btn-green,
.btn-primary {
    background: var(--blue);
    color: #fff;
    box-shadow: 0 8px 22px rgba(28, 100, 176, .28)
}

.btn-green:hover,
.btn-primary:hover {
    background: var(--navy);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(28, 100, 176, .34)
}

.btn-blue {
    background: var(--blue);
    color: #fff;
    box-shadow: 0 8px 22px rgba(28, 100, 176, .26)
}

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

.btn-ghost {
    background: transparent;
    color: var(--blue-dark);
    border: 2px solid var(--line)
}

.btn-ghost:hover {
    border-color: var(--blue);
    color: var(--blue)
}

.btn.full {
    width: 100%
}

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 60;
    padding: 22px 0;
    transition: padding .25s ease, background .25s ease
}

.site-header.scrolled {
    padding: 10px 0
}

.nav-shell {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px
}

.nav-pill {
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(226, 231, 245, .9);
    border-radius: 100px;
    box-shadow: 0 6px 26px rgba(16, 56, 92, .09);
    padding: 10px 12px 10px 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    transition: box-shadow .25s ease, padding .25s ease
}

.site-header.scrolled .nav-pill {
    box-shadow: 0 10px 34px rgba(16, 56, 92, .14)
}

.brand {
    display: flex;
    align-items: center;
    flex-shrink: 0
}

.brand img {
    height: 46px;
    width: auto;
    transition: height .25s ease
}

.site-header.scrolled .brand img {
    height: 40px
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px
}

.nav-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .85rem;
    font-weight: 500;
    letter-spacing: .005em;
    color: #4a5160;
    padding: 10px 16px;
    border-radius: 100px;
    position: relative;
    white-space: nowrap;
    transition: color .18s ease, background .18s ease
}

.nav-links a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 6px;
    height: 2px;
    border-radius: 2px;
    background: var(--blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease
}

.nav-links a:not(.nav-cta):hover {
    color: var(--blue-dark);
    background: #EEF3F9
}

.nav-links a:not(.nav-cta):hover::after {
    transform: scaleX(1)
}

.nav-links a.active {
    color: var(--blue);
    font-weight: 600
}

.nav-links a.active::after {
    transform: scaleX(1)
}

.nav-sep {
    width: 1px;
    height: 22px;
    background: var(--line);
    margin: 0 8px
}

.nav-links a.nav-cta {
    background: var(--blue);
    color: #fff;
    font-weight: 600;
    padding: 12px 22px;
    box-shadow: 0 6px 16px rgba(28, 100, 176, .3)
}

.nav-links a.nav-cta svg {
    width: 16px;
    height: 16px;
    transition: transform .2s ease
}

.nav-links a.nav-cta:hover {
    background: var(--navy);
    color: #fff;
    box-shadow: 0 10px 22px rgba(28, 100, 176, .38)
}

.nav-links a.nav-cta:hover svg {
    transform: translateX(3px)
}

.nav-toggle {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: none;
    border: 0;
    cursor: pointer;
    /* alvo de toque de 44px, o minimo confortavel no celular */
    width: 44px;
    height: 44px;
    padding: 0;
    margin: -4px;
    flex: 0 0 auto;
    border-radius: 12px;
    -webkit-tap-highlight-color: transparent
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: .2s
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg)
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg)
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .6s ease, transform .6s cubic-bezier(.22, .8, .28, 1)
}

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

@media (prefers-reduced-motion:reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none
    }
}

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: calc(var(--header-h) + 70px) 0 118px;
    background: linear-gradient(165deg, #08182B 0%, #1b2a72 45%, #101a4d 100%);
    color: #fff
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none
}

.hero-grid-lines {
    position: absolute;
    inset: -10%;
    background-image: linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(80% 70% at 50% 38%, #000 35%, transparent 100%);
    -webkit-mask-image: radial-gradient(80% 70% at 50% 38%, #000 35%, transparent 100%);
    transform: translate3d(var(--px, 0), var(--py, 0), 0);
    transition: transform .9s cubic-bezier(.2, .8, .25, 1)
}

.hero-veil {
    position: absolute;
    inset: 0;
    background: radial-gradient(64% 56% at 50% 42%, rgba(8, 24, 43, .92), rgba(8, 24, 43, .5) 62%, rgba(8, 24, 43, .12) 100%), linear-gradient(180deg, rgba(8, 24, 43, .45), transparent 32%)
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(110px);
    opacity: .32
}

.hero-glow-a {
    width: 620px;
    height: 620px;
    top: -180px;
    right: -120px;
    background: radial-gradient(circle, rgba(28, 100, 176, .6), transparent 70%);
    animation: float-a 26s ease-in-out infinite
}

.hero-glow-b {
    width: 520px;
    height: 520px;
    bottom: -200px;
    left: -140px;
    background: radial-gradient(circle, rgba(28, 100, 176, .32), transparent 70%);
    animation: float-b 32s ease-in-out infinite
}

@keyframes float-a {
    50% {
        transform: translate(-26px, 22px) scale(1.05)
    }
}

@keyframes float-b {
    50% {
        transform: translate(30px, -18px) scale(1.04)
    }
}

.hero-chevrons {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: translate3d(calc(var(--px, 0px) * -.8), 0, 0);
    transition: transform .9s cubic-bezier(.2, .8, .25, 1)
}

.hero-chevrons g {
    fill: none;
    stroke-linejoin: round
}

.bp-chev {
    stroke: rgba(199, 214, 232, .10);
    stroke-width: 44
}

.bp-chev path {
    stroke-dasharray: 2600;
    stroke-dashoffset: 2600;
    animation: draw 3.4s cubic-bezier(.3, .8, .3, 1) forwards
}

.bp-chev path:nth-child(2) {
    animation-delay: .18s
}

.bp-chev path:nth-child(3) {
    animation-delay: .36s
}

.bp-chev path:nth-child(4) {
    animation-delay: .54s
}

@keyframes draw {
    to {
        stroke-dashoffset: 0
    }
}

.hero-mark {
    position: absolute;
    right: 6%;
    top: 50%;
    width: min(30vw, 380px);
    height: auto;
    transform: translate3d(calc(var(--px, 0px) * -1.4), -50%, 0);
    transition: transform .9s cubic-bezier(.2, .8, .25, 1);
    opacity: .9
}

.hero-mark .mk {
    fill: none;
    stroke: rgba(160, 190, 225, .20);
    stroke-width: 1.6;
    stroke-dasharray: 1400;
    stroke-dashoffset: 1400;
    animation: draw 3.6s cubic-bezier(.3, .8, .3, 1) .5s forwards
}

.hero-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center
}

.hero-inner>* {
    animation: hero-up .8s cubic-bezier(.22, .8, .28, 1) both
}

.hero-inner>.eyebrow {
    animation-delay: .05s
}

.hero-inner>h1 {
    animation-delay: .15s
}

.hero-inner>.lead {
    animation-delay: .25s
}

.hero-inner>.hero-actions {
    animation-delay: .35s
}

.hero-inner>.hero-trust {
    animation-delay: .45s
}

@keyframes hero-up {
    from {
        opacity: 0;
        transform: translateY(24px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .16em;
    color: #CFDCEA;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .16);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 9px 18px;
    border-radius: 100px;
    margin-bottom: 26px;
    white-space: nowrap
}

.eyebrow-dot {
    width: 8px;
    height: 9px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: var(--blue-light);
    box-shadow: 0 0 0 0 rgba(28, 100, 176, .55);
    animation: pulse 2.2s ease-out infinite
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(28, 100, 176, .5)
    }

    70% {
        box-shadow: 0 0 0 10px rgba(28, 100, 176, 0)
    }

    100% {
        box-shadow: 0 0 0 0 rgba(28, 100, 176, 0)
    }
}

/* A largura minima fica no wrapper (e ajustada em px pelo script, medindo a
   maior palavra), para o texto que e digitado nao empurrar o layout a cada
   letra. O caret acompanha o fim do texto em vez de ficar solto na direita. */
.rotator-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18.5ch
}

.rotator {
    color: #fff;
    font-weight: 700;
    display: inline-block;
    text-align: left
}

.caret {
    display: inline-block;
    width: 2px;
    height: 12px;
    margin-left: 1px;
    background: var(--blue);
    animation: blink 1s steps(1) infinite
}

@keyframes blink {
    50% {
        opacity: 0
    }
}

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

    .eyebrow-dot,
    .caret,
    .hero-glow {
        animation: none
    }

    .bp-chev path,
    .hero-mark .mk {
        animation: none;
        stroke-dashoffset: 0
    }

    .hero-inner>* {
        animation: none
    }
}

.hero h1 {
    font-size: clamp(2.15rem, 4.8vw, 3.6rem);
    font-weight: 300;
    color: #fff;
    margin-bottom: 22px;
    line-height: 1.08;
    letter-spacing: -.03em;
    max-width: 18ch;
    text-wrap: balance
}

.hero h1 strong {
    display: block;
    font-weight: 700;
    background: linear-gradient(100deg, #ffffff 0%, #bcd0ff 45%, #8FC2F2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent
}

.hero .lead {
    font-size: 1.06rem;
    color: #c3cbe6;
    max-width: 62ch;
    margin: 0 auto
}

.hero .lead strong {
    color: #fff;
    font-weight: 600
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin: 34px 0 0
}

.btn-glass {
    background: rgba(255, 255, 255, .08);
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, .28);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px)
}

.btn-glass:hover {
    background: rgba(255, 255, 255, .16);
    border-color: #fff;
    transform: translateY(-2px)
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 26px;
    margin: 30px 0 0;
    font-size: .82rem;
    color: #AFBDCC
}

.hero-trust li {
    display: inline-flex;
    align-items: center;
    gap: 8px
}

.hero-trust svg {
    width: 16px;
    height: 16px;
    color: var(--blue);
    flex-shrink: 0
}

.hero-scroll {
    position: absolute;
    left: 50%;
    bottom: 26px;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: .68rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .5);
    transition: color .2s ease
}

.hero-scroll:hover {
    color: #fff
}

.hero-scroll-line {
    width: 1px;
    height: 34px;
    background: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, .7));
    animation: scroll-cue 2s ease-in-out infinite
}

@keyframes scroll-cue {

    0%,
    100% {
        transform: scaleY(.4);
        opacity: .4;
        transform-origin: top
    }

    50% {
        transform: scaleY(1);
        opacity: 1;
        transform-origin: top
    }
}

@media (prefers-reduced-motion:reduce) {
    .hero-scroll-line {
        animation: none
    }
}

.marquee {
    background: linear-gradient(90deg, var(--navy) 0%, var(--blue) 50%, var(--navy) 100%);
    color: #fff;
    overflow: hidden;
    padding: 15px 0
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: slide 70s linear infinite
}

.marquee-group {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-right: 20px;
    flex: 0 0 auto
}

.marquee-group span {
    font-size: .82rem;
    letter-spacing: .14em;
    font-weight: 500;
    white-space: nowrap;
    color: rgba(255, 255, 255, .78)
}

.marquee-group span.b {
    font-weight: 700;
    color: #fff
}

.mq-hex {
    width: 9px;
    height: 11px;
    color: rgba(255, 255, 255, .45);
    flex: 0 0 auto
}

@keyframes slide {
    from {
        transform: translate3d(0, 0, 0)
    }

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

@media (prefers-reduced-motion:reduce) {
    .marquee-track {
        animation: none
    }
}

.hex {
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%)
}

.pain {
    background: var(--bg-soft)
}

.pain .section-head {
    margin-left: auto;
    margin-right: auto;
    text-align: center
}

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

.pain-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 34px 30px;
    box-shadow: var(--shadow-sm);
    border-top: 3px solid var(--blue);
    transition: transform .2s ease, box-shadow .2s ease
}

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

.pain-num {
    display: inline-block;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .1em;
    color: var(--blue);
    margin-bottom: 12px
}

.pain-card h3 {
    font-size: 1.15rem;
    font-weight: 600
}

.pain-card p {
    margin: 0;
    font-size: .94rem
}

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

.svc-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 34px 30px;
    background: #fff;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease
}

.svc-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: transparent
}

.svc-ico {
    width: 56px;
    height: 62px;
    color: #fff;
    margin-bottom: 20px;
    background: linear-gradient(160deg, var(--blue) 0%, var(--navy) 100%);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: grid;
    place-items: center;
    transition: transform .3s cubic-bezier(.22, .8, .28, 1)
}

.svc-card:hover .svc-ico {
    transform: translateY(-3px) rotate(-4deg)
}

.svc-ico svg {
    width: 26px;
    height: 26px
}

.svc-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy);
    display: flex;
    align-items: center;
    gap: 10px
}

.svc-card h3::before {
    content: '\2192';
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    border-radius: 100px;
    border: 1.5px solid var(--steel-light);
    color: var(--blue);
    display: grid;
    place-items: center;
    font-size: .85rem;
    font-weight: 400;
    line-height: 1;
    transition: border-color .25s ease, background .25s ease, color .25s ease, transform .25s ease
}

.svc-card:hover h3::before {
    border-color: var(--blue);
    background: var(--blue);
    color: #fff;
    transform: translateX(3px)
}

.svc-card p {
    font-size: .94rem
}

.svc-card ul {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px dashed var(--line)
}

.svc-card li {
    font-size: .86rem;
    color: var(--body);
    padding-left: 20px;
    position: relative;
    margin-bottom: 7px
}

.svc-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: .5em;
    width: 8px;
    height: 9px;
    background: var(--blue);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%)
}

.services-cta {
    margin-top: 52px;
    padding: 36px;
    background: var(--bg-soft);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    flex-wrap: wrap
}

.services-cta p {
    margin: 0;
    font-size: 1rem;
    color: var(--ink);
    max-width: 60ch
}

.why {
    background: var(--bg-soft)
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px
}

.why-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px 26px;
    transition: transform .2s ease, box-shadow .2s ease
}

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

.check {
    width: 40px;
    height: 45px;
    color: #fff;
    background: linear-gradient(160deg, var(--blue) 0%, var(--navy) 100%);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: grid;
    place-items: center;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 22px;
    transition: transform .25s ease
}

.why-card:hover .check {
    transform: translateY(-3px) rotate(-6deg)
}

.why-card h3 {
    font-size: 1.08rem;
    font-weight: 700
}

.why-card p {
    margin: 0;
    font-size: .92rem
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 60px;
    align-items: center
}

.about-visual {
    position: relative
}

.about-photo {
    margin: 0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative
}

.about-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(12, 36, 64, 0) 55%, rgba(12, 36, 64, .35) 100%)
}

.about-photo img {
    width: 100%;
    height: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    display: block
}

.about-badge {
    position: absolute;
    right: -16px;
    bottom: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 14px 20px 14px 16px;
    border-left: 4px solid var(--blue);
    max-width: min(300px, 86%)
}

.about-badge img {
    width: 34px;
    height: auto;
    flex-shrink: 0
}

.about-badge strong {
    display: block;
    color: var(--navy);
    font-size: .95rem
}

.about-badge span {
    font-size: .78rem;
    color: var(--body);
    line-height: 1.4
}

.about-copy .tag {
    margin-bottom: 16px
}

.about-copy h2 {
    font-size: clamp(1.8rem, 3.2vw, 2.5rem);
    font-weight: 400
}

.about-copy p strong {
    color: var(--ink);
    font-weight: 600
}

.about-list {
    margin: 26px 0 32px
}

.about-list li {
    padding-left: 26px;
    position: relative;
    margin-bottom: 12px;
    font-size: .95rem
}

.about-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--blue);
    font-weight: 700
}

.about-list strong {
    color: var(--ink)
}

.works {
    background: var(--bg-soft)
}

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

.work,
.work-cta {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    min-height: 250px;
    display: flex;
    align-items: flex-end;
    background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 60%, var(--navy-deep) 100%);
    color: #fff;
    box-shadow: var(--shadow-sm);
    transition: transform .3s cubic-bezier(.22, .8, .28, 1), box-shadow .3s ease
}

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

.work-lg {
    grid-column: span 2;
    min-height: 330px
}

.work-lg img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 22%;
    transition: transform .6s cubic-bezier(.22, .8, .28, 1)
}

.work-lg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 24, 43, .05) 35%, rgba(8, 24, 43, .82) 100%)
}

.work-lg:hover img {
    transform: scale(1.05)
}

.work-art::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(115deg, transparent 46%, rgba(255, 255, 255, .07) 46%, rgba(255, 255, 255, .07) 54%, transparent 54%), linear-gradient(245deg, transparent 46%, rgba(255, 255, 255, .05) 46%, rgba(255, 255, 255, .05) 54%, transparent 54%);
    background-size: 170px 170px
}

.work-art-bg {
    position: absolute;
    right: -14px;
    top: -10px;
    width: 120px;
    height: 134px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: rgba(255, 255, 255, .07);
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, .5);
    transition: transform .4s cubic-bezier(.22, .8, .28, 1), background .3s ease
}

.work-art-bg svg {
    width: 44px;
    height: 44px
}

.work:hover .work-art-bg {
    transform: translateY(4px) rotate(-8deg);
    background: rgba(255, 255, 255, .12)
}

.work-b {
    background: linear-gradient(160deg, var(--blue) 0%, var(--navy) 65%, var(--navy-dark) 100%)
}

.work-c {
    background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 55%, #0E2E4C 100%)
}

.work-body {
    position: relative;
    z-index: 1;
    padding: 26px 24px 24px
}

.work-kind {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #CFDCEA;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .18);
    padding: 5px 11px;
    border-radius: 100px;
    margin-bottom: 12px
}

.work-kind::before {
    content: '';
    width: 7px;
    height: 8px;
    background: var(--blue-light);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%)
}

.work h3 {
    color: #fff;
    font-size: 1.16rem;
    font-weight: 700;
    margin-bottom: 8px
}

.work-lg h3 {
    font-size: 1.5rem
}

.work p {
    margin: 0;
    font-size: .88rem;
    color: #C4D0DD;
    line-height: 1.55;
    max-width: 44ch
}

.work-cta {
    background: #fff;
    border: 1px solid var(--line);
    color: var(--ink);
    align-items: center
}

.work-cta h3 {
    color: var(--navy);
    font-size: 1.12rem
}

.work-cta p {
    color: var(--body)
}

.work-cta .work-kind {
    color: var(--blue);
    background: #EAF1F9;
    border-color: #D3E0EE
}

.work-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--blue)
}

.work-link svg {
    width: 16px;
    height: 16px;
    transition: transform .25s ease
}

.work-cta:hover .work-link svg {
    transform: translateX(4px)
}

.numbers {
    position: relative;
    overflow: hidden;
    color: #fff;
    padding: 68px 0;
    background: linear-gradient(120deg, var(--navy-dark) 0%, var(--navy) 55%, #0E2E4C 100%)
}

.numbers::before {
    content: '';
    position: absolute;
    inset: -20% -5%;
    background-image: linear-gradient(115deg, transparent 47%, rgba(255, 255, 255, .05) 47%, rgba(255, 255, 255, .05) 53%, transparent 53%), linear-gradient(245deg, transparent 47%, rgba(255, 255, 255, .035) 47%, rgba(255, 255, 255, .035) 53%, transparent 53%);
    background-size: 220px 220px;
    pointer-events: none
}

.numbers .container {
    position: relative;
    z-index: 1
}

.numbers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center
}

.numbers-grid div {
    padding: 0 10px;
    position: relative
}

.numbers-grid div+div::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 11px;
    background: rgba(255, 255, 255, .22);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%)
}

.numbers-grid strong {
    display: block;
    font-size: clamp(2rem, 3.4vw, 2.8rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.1
}

.numbers-grid span {
    font-size: .86rem;
    color: #AFC2D6;
    letter-spacing: .01em
}

.process {
    position: relative;
    overflow: hidden;
    background: radial-gradient(120% 100% at 50% 0%, #123A5E 0%, #0C2440 55%, #08182B 100%);
    color: #fff
}

.process-glow {
    position: absolute;
    inset: auto -10% -40% -10%;
    height: 60%;
    background: radial-gradient(50% 60% at 30% 50%, rgba(28, 100, 176, .55), transparent 70%), radial-gradient(45% 55% at 75% 40%, rgba(28, 100, 176, .35), transparent 70%);
    filter: blur(40px);
    pointer-events: none
}

.process .container {
    position: relative;
    z-index: 1
}

.process h2 {
    color: #fff
}

.process h2 strong {
    color: #9FC4E8
}

.process .section-sub {
    color: #B9C6D4
}

.steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0 22px;
    margin-bottom: 56px
}

.step {
    position: relative;
    display: flex;
    flex-direction: column
}

.step-top {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 26px
}

.step-n {
    flex-shrink: 0;
    width: 54px;
    height: 60px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: linear-gradient(145deg, #2E7DD1, #10385C);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: .02em;
    transition: transform .25s ease, box-shadow .25s ease
}

.step:hover .step-n {
    transform: translateY(-3px) rotate(-6deg)
}

.step-rail {
    flex: 1;
    height: 2px;
    margin-left: 14px;
    background: linear-gradient(90deg, rgba(255, 255, 255, .32), rgba(255, 255, 255, .06));
    position: relative
}

.step-rail::after {
    content: '';
    position: absolute;
    right: -1px;
    top: -3px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .28)
}

.step:last-child .step-rail {
    display: none
}

.step-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 16px;
    padding: 24px 20px 22px;
    backdrop-filter: blur(6px);
    transition: transform .25s ease, background .25s ease, border-color .25s ease
}

.step:hover .step-body {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, .09);
    border-color: rgba(159, 196, 232, .45)
}

.step-time {
    display: inline-block;
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #9FC4E8;
    background: rgba(28, 100, 176, .14);
    border: 1px solid rgba(159, 196, 232, .25);
    padding: 4px 10px;
    border-radius: 100px;
    margin-bottom: 14px
}

.step h3 {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 10px
}

.step p {
    margin: 0 0 16px;
    font-size: .88rem;
    color: #B9C6D4;
    line-height: 1.6
}

.step-time {
    align-self: flex-start
}

.step-out {
    display: block;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px dashed rgba(255, 255, 255, .16);
    font-size: .76rem;
    color: #93A3B5
}

.process-foot {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
    padding: 28px 34px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12)
}

.process-foot p {
    margin: 0;
    color: #DCE6F2;
    font-size: 1rem
}

.process-foot strong {
    color: #fff
}

.sectors {
    background: var(--bg-soft)
}

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

.sector {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 22px 20px;
    font-size: .94rem;
    font-weight: 500;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: border-color .2s ease, color .2s ease, transform .2s ease
}

.sector::before {
    content: '';
    width: 11px;
    height: 12px;
    background: var(--blue);
    flex-shrink: 0;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%)
}

.sector:hover {
    border-color: var(--blue);
    transform: translateY(-3px)
}

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

.quote {
    position: relative;
    margin: 0;
    padding: 34px 30px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    border-left: 4px solid var(--blue);
    box-shadow: var(--shadow-sm)
}

.quote::before {
    content: '\201C';
    position: absolute;
    right: 22px;
    top: 6px;
    font-size: 4.4rem;
    line-height: 1;
    color: var(--steel-light);
    opacity: .55;
    font-family: Georgia, serif;
    pointer-events: none
}

.quote blockquote {
    position: relative;
    margin: 0 0 22px;
    font-size: 1rem;
    color: var(--ink);
    line-height: 1.6
}

.quote figcaption strong {
    display: block;
    color: var(--blue-dark);
    font-size: .92rem
}

.quote figcaption span {
    font-size: .82rem;
    color: var(--body)
}

.faq-list details {
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 20px 24px;
    margin-bottom: 12px;
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease
}

.faq-list details[open] {
    border-color: var(--blue);
    box-shadow: var(--shadow-sm)
}

.faq-list summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--ink);
    font-size: 1rem;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px
}

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

.faq-list summary::after {
    content: '+';
    color: var(--blue);
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1
}

.faq-list details[open] summary::after {
    content: '–'
}

.faq-list p {
    margin: 14px 0 0;
    font-size: .94rem
}

.cta-final {
    position: relative;
    overflow: hidden;
    background: radial-gradient(75% 95% at 12% 8%, rgba(28, 100, 176, .85) 0%, transparent 62%), linear-gradient(140deg, var(--navy) 0%, var(--navy-dark) 52%, var(--navy-deep) 100%);
    color: #fff;
    padding: 100px 0
}

.cta-pattern {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .5;
    background-image: linear-gradient(115deg, transparent 46%, rgba(255, 255, 255, .06) 46%, rgba(255, 255, 255, .06) 54%, transparent 54%), linear-gradient(245deg, transparent 46%, rgba(255, 255, 255, .04) 46%, rgba(255, 255, 255, .04) 54%, transparent 54%);
    background-size: 260px 260px;
    mask-image: radial-gradient(85% 75% at 70% 30%, #000 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(85% 75% at 70% 30%, #000 30%, transparent 80%)
}

.cta-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 64px;
    align-items: center
}

.cta-copy h2 {
    color: #fff;
    font-size: clamp(1.9rem, 3.4vw, 2.6rem);
    font-weight: 400
}

.cta-copy h2 strong {
    color: #9FC4E8;
    font-weight: 700
}

.cta-copy p {
    color: #c7d0f2;
    font-size: 1.02rem;
    max-width: 46ch
}

.cta-copy p strong {
    color: #fff;
    font-weight: 600
}

.cta-steps {
    margin: 30px 0 28px;
    display: grid;
    gap: 12px
}

.cta-step {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 12px;
    padding: 14px 18px;
    transition: background .2s ease, border-color .2s ease, transform .2s ease
}

.cta-step:hover {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(159, 196, 232, .4);
    transform: translateX(3px)
}

.cta-step>span {
    flex-shrink: 0;
    width: 28px;
    height: 32px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: rgba(159, 196, 232, .26);
    color: #EAF2FA;
    font-size: .82rem;
    font-weight: 700;
    display: grid;
    place-items: center
}

.cta-step strong {
    display: block;
    color: #fff;
    font-size: .94rem;
    font-weight: 600;
    line-height: 1.35
}

.cta-step small {
    color: #A5B6C8;
    font-size: .8rem
}

.cta-list {
    margin: 0 0 28px
}

.cta-list li {
    color: #c7d0f2;
    font-size: .92rem;
    padding-left: 24px;
    position: relative;
    margin-bottom: 10px
}

.cta-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #9FC4E8;
    font-weight: 700
}

.cta-contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 12px
}

.cta-contacts a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .2);
    padding: 12px 18px;
    border-radius: 100px;
    font-size: .9rem;
    font-weight: 500;
    transition: background .2s ease, border-color .2s ease
}

.cta-contacts a svg {
    width: 17px;
    height: 17px;
    opacity: .85
}

.cta-contacts a:hover {
    background: rgba(255, 255, 255, .2);
    border-color: rgba(255, 255, 255, .4)
}

.cta-form {
    background: #fff;
    border-radius: 20px;
    padding: 34px;
    box-shadow: 0 30px 70px rgba(6, 11, 40, .45)
}

.form-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    padding-bottom: 20px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--line)
}

.form-head h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ink)
}

.form-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: .72rem;
    font-weight: 600;
    color: var(--navy);
    background: #eaf8ef;
    border: 1px solid #cbead6;
    padding: 6px 12px;
    border-radius: 100px;
    white-space: nowrap
}

.form-badge i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--blue);
    animation: pulse 2.2s ease-out infinite
}

.field {
    margin-bottom: 16px
}

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px
}

.field label {
    display: block;
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .06em;
    color: #6b7285;
    margin-bottom: 7px;
    text-transform: uppercase
}

.field label em {
    color: var(--blue);
    font-style: normal
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    font-family: inherit;
    font-size: .95rem;
    color: var(--ink);
    background: #fafbff;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease
}

.field input::placeholder,
.field textarea::placeholder {
    color: #a8aebd
}

.field textarea {
    resize: vertical;
    min-height: 88px
}

.field input:hover,
.field textarea:hover,
.field select:hover {
    border-color: #ccd5f0
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    background: #fff;
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(28, 100, 176, .12)
}

.field input.invalid {
    border-color: #e0464f;
    background: #fff6f6
}

.select-wrap {
    position: relative
}

.select-wrap select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 44px;
    cursor: pointer
}

.select-wrap svg {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: var(--blue);
    pointer-events: none
}

.cta-form .btn {
    margin-top: 6px;
    letter-spacing: .02em
}

.cta-form .btn svg {
    transition: transform .2s ease
}

.cta-form .btn:hover svg {
    transform: translateX(4px)
}

.form-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin: 16px 0 0;
    font-size: .78rem;
    color: var(--body);
    text-align: center
}

.form-note svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    opacity: .7
}

.form-note.ok {
    color: var(--navy);
    font-weight: 600
}

/* Aparece quando o navegador bloqueia a aba do WhatsApp: precisa ser
   obviamente clicavel, porque e a unica saida do visitante ali. */
.note-link {
    color: var(--blue);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
    white-space: nowrap
}

.form-note.ok svg {
    opacity: 1
}

.site-footer {
    background: #fff;
    border-top: 1px solid var(--line);
    padding-top: 72px
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr .9fr 1.1fr .9fr;
    gap: 44px;
    padding-bottom: 64px
}

.footer-brand img {
    height: 52px;
    width: auto;
    margin-bottom: 22px
}

.site-footer h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 14px
}

.site-footer h4.mt {
    margin-top: 26px
}

.site-footer p,
.site-footer li {
    font-size: .92rem;
    color: var(--body)
}

.footer-strong {
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 6px
}

.footer-brand ul li {
    margin-bottom: 5px
}

.muted {
    color: var(--body)
}

.footer-links li {
    margin-bottom: 12px
}

.footer-links a {
    transition: color .18s ease
}

.footer-links a:hover {
    color: var(--blue)
}

.footer-contacts li {
    margin-bottom: 8px;
    padding-left: 14px;
    position: relative
}

.footer-contacts li::before {
    content: '';
    position: absolute;
    left: 0;
    top: .6em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--body)
}

.socials {
    display: flex;
    gap: 12px;
    margin-top: 18px
}

.socials a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    display: grid;
    place-items: center;
    transition: background .2s ease, transform .2s ease
}

.socials a svg {
    width: 20px;
    height: 20px
}

.socials a:hover {
    background: var(--navy);
    transform: translateY(-2px)
}

.footer-bar {
    background: linear-gradient(90deg, var(--navy-deep), var(--blue));
    color: #fff;
    text-align: center;
    padding: 20px;
    font-size: .92rem
}

.wa-float {
    position: fixed;
    right: 26px;
    bottom: 26px;
    z-index: 70;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    display: grid;
    place-items: center;
    box-shadow: 0 10px 26px rgba(28, 100, 176, .42);
    transition: transform .2s ease
}

.wa-float svg {
    width: 32px;
    height: 32px
}

.wa-float:hover {
    transform: scale(1.08)
}

@media (max-width:1240px) {
    :root {
        --header-h: 112px
    }

    .nav-links {
        gap: 2px
    }

    .nav-links a {
        font-size: .8rem;
        padding: 10px 12px
    }

    .nav-sep {
        margin: 0 4px
    }

    .nav-links a.nav-cta {
        padding: 11px 18px
    }
}

@media (max-width:1080px) {
    .brand img {
        height: 40px
    }

    .nav-links a {
        font-size: .75rem;
        padding: 9px 9px
    }

    .nav-links a:not(.nav-cta)::after {
        left: 9px;
        right: 9px
    }

    .hero {
        padding: calc(var(--header-h) + 52px) 0 86px
    }

    .btn {
        padding: 15px 24px;
        font-size: .86rem
    }

    .cta-grid {
        gap: 40px
    }

    .cta-form {
        padding: 28px
    }

    .cards-grid,
    .pain-grid,
    .quote-grid {
        grid-template-columns: repeat(2, 1fr)
    }

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

    .work-lg {
        grid-column: span 2;
        min-height: 300px
    }

    .why-grid,
    .sector-grid,
    .numbers-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .steps {
        grid-template-columns: repeat(3, 1fr);
        gap: 34px 22px
    }

    .step-rail {
        display: none
    }

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

@media (max-width:900px) {
    :root {
        --header-h: 96px
    }

    .section {
        padding: 72px 0
    }

    .container {
        padding: 0 20px
    }

    .brand img {
        height: 40px
    }

    .site-header.scrolled .brand img {
        height: 35px
    }

    .nav-toggle {
        display: flex
    }

    .nav-pill {
        padding: 12px 14px 12px 20px;
        flex-wrap: wrap;
        border-radius: 100px
    }

    /* .menu-open vem do script: :has() nao existe em Safari/Chrome antigos */
    .nav-pill:has(.nav-links.open),
    .nav-pill.menu-open {
        border-radius: 24px
    }

    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        padding-top: 10px;
        margin-top: 12px;
        border-top: 1px solid var(--line)
    }

    .nav-links.open {
        display: flex
    }

    /* Sem isto o menu aberto passa do fim da tela em celular baixo ou
       na horizontal, e o botao "Orcamento" fica inalcancavel. */
    .nav-links {
        max-height: calc(100vh - 150px);
        max-height: calc(100dvh - 150px);
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch
    }

    .nav-links a {
        display: flex;
        justify-content: space-between;
        padding: 14px 16px;
        font-size: .92rem;
        border-radius: 10px
    }

    .nav-links a:not(.nav-cta)::after {
        display: none
    }

    .nav-links a.active {
        background: #EEF3F9
    }

    .nav-links a.nav-cta {
        justify-content: center;
        margin-top: 8px
    }

    .nav-sep {
        display: none
    }

    .hero {
        padding: calc(var(--header-h) + 44px) 0 78px
    }

    .about-grid,
    .cta-grid {
        grid-template-columns: 1fr;
        gap: 44px
    }

    .hero h1 {
        max-width: none
    }

    .lead {
        max-width: none
    }

    .about-visual {
        order: -1
    }

    .about-photo img {
        aspect-ratio: 4/3
    }

    .about-badge {
        right: 12px;
        bottom: 14px;
        max-width: min(280px, 80%)
    }

    .about-copy p,
    .cta-copy p {
        max-width: none
    }

    .services-cta,
    .works-foot {
        flex-direction: column;
        align-items: flex-start
    }

    .cta-final {
        padding: 76px 0
    }
}

@media (max-width:640px) {
    body {
        font-size: 15px
    }

    .eyebrow {
        white-space: normal;
        text-align: center;
        line-height: 1.5;
        flex-wrap: wrap;
        justify-content: center;
        row-gap: 2px
    }

    .rotator-wrap {
        min-width: 20ch;
        max-width: 100%
    }

    .hero-trust {
        flex-direction: column;
        align-items: center;
        gap: 10px
    }

    .hero-scroll {
        display: none
    }

    .section {
        padding: 60px 0
    }

    .section-head {
        margin-bottom: 36px
    }

    .cards-grid,
    .pain-grid,
    .quote-grid,
    .steps,
    .field-row {
        grid-template-columns: 1fr
    }

    .works-grid {
        grid-template-columns: 1fr;
        gap: 14px
    }

    .work {
        min-height: 200px
    }

    .work-lg {
        grid-column: auto;
        min-height: 270px
    }

    .work-body {
        padding: 20px 18px 18px
    }

    .work-lg h3 {
        font-size: 1.24rem
    }

    .work-art-bg {
        width: 96px;
        height: 108px
    }

    .work-art-bg svg {
        width: 34px;
        height: 34px
    }

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

    .footer-brand,
    .footer-col {
        min-width: 0
    }

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

    .footer-grid>:nth-child(4) {
        order: 1
    }

    .footer-grid>:nth-child(3) {
        order: 2;
        grid-column: 1 / -1
    }

    .footer-contacts li,
    .footer-col .muted {
        overflow-wrap: break-word
    }

    .footer-col h4.mt {
        margin-top: 18px
    }

    .footer-col h4 {
        font-size: .95rem
    }

    .footer-col .muted,
    .footer-links a,
    .footer-contacts li {
        font-size: .85rem
    }

    .sector-grid,
    .numbers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 12px
    }

    .sector {
        padding: 14px 12px;
        font-size: .82rem;
        gap: 9px;
        border-radius: 12px
    }

    .sector::before {
        width: 9px;
        height: 10px
    }

    .numbers {
        padding: 48px 0
    }

    .numbers-grid {
        gap: 28px 14px
    }

    .numbers-grid div {
        padding: 0
    }

    .numbers-grid div+div::before {
        display: none
    }

    .numbers-grid strong {
        font-size: 2rem
    }

    .svc-card,
    .pain-card,
    .why-card {
        padding: 26px 22px
    }

    .why-card {
        display: grid;
        grid-template-columns: auto 1fr;
        column-gap: 16px;
        row-gap: 4px;
        align-items: start;
        padding: 20px 18px
    }

    .check {
        width: 34px;
        height: 38px;
        margin: 0;
        grid-row: span 2;
        align-self: center
    }

    .why-card h3 {
        font-size: 1rem;
        margin: 0
    }

    .why-card p {
        font-size: .88rem
    }

    .quote {
        padding: 26px 22px
    }

    .quote::before {
        font-size: 3.4rem;
        right: 16px
    }

    .services-cta {
        padding: 24px 20px
    }

    .services-cta .btn {
        width: 100%;
        justify-content: center
    }

    .cta-form {
        padding: 24px 18px
    }

    .about-badge {
        position: static;
        margin: 14px 0 0;
        max-width: none
    }

    .faq-list details {
        padding: 16px 18px
    }

    .steps {
        gap: 0;
        padding-left: 6px
    }

    .step {
        flex-direction: row;
        gap: 18px;
        padding-bottom: 22px
    }

    .step-top {
        flex-direction: column;
        margin-bottom: 0;
        align-self: stretch
    }

    .step-n {
        width: 46px;
        height: 46px;
        font-size: .95rem
    }

    .step-rail {
        display: block;
        flex: 1;
        width: 2px;
        height: auto;
        min-height: 26px;
        margin: 10px 0 0;
        margin-left: 0;
        align-self: center;
        background: linear-gradient(180deg, rgba(255, 255, 255, .32), rgba(255, 255, 255, .06))
    }

    .step-rail::after {
        display: none
    }

    .step-body {
        padding: 20px
    }

    .process-foot {
        flex-direction: column;
        text-align: center;
        padding: 24px
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch
    }

    .btn {
        width: 100%
    }

    .eyebrow {
        font-size: .64rem;
        letter-spacing: .1em;
        padding: 8px 14px
    }

    .cta-form {
        padding: 24px 20px;
        border-radius: 16px
    }

    .cta-final {
        padding: 64px 0
    }

    .form-head {
        padding-bottom: 16px;
        margin-bottom: 18px
    }

    .form-head h3 {
        font-size: 1.1rem
    }

    .wa-float {
        width: 54px;
        height: 54px;
        right: 16px;
        bottom: 16px
    }

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

    .footer-bar {
        font-size: .82rem
    }

    .svc-card,
    .pain-card,
    .why-card,
    .quote {
        padding: 26px 22px
    }

    .services-cta {
        padding: 26px 22px
    }

    .marquee-track span {
        font-size: .8rem
    }

    .section-head h2 {
        font-size: clamp(1.65rem, 6.4vw, 2rem)
    }

    .footer-grid {
        gap: 34px;
        padding-bottom: 48px
    }

    .numbers {
        padding: 48px 0
    }

    .numbers-grid {
        gap: 26px
    }

    .faq-list summary {
        font-size: .94rem
    }
}

@media (max-width:400px) {
    .container {
        padding: 0 16px
    }

    .nav-pill {
        padding: 10px 12px 10px 16px
    }

    .brand img {
        height: 38px
    }

    .eyebrow {
        font-size: .58rem;
        padding: 7px 12px
    }

    .hero h1 {
        font-size: 2.05rem
    }

    .btn {
        padding: 15px 20px;
        font-size: .84rem
    }

    .cta-step {
        padding: 12px 14px;
        gap: 11px
    }

    .cta-contacts a {
        width: 100%;
        justify-content: center
    }
}

/* ===== CLIENTES ===== */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px
}

.client-logo {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 26px 22px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease
}

.client-logo:hover {
    transform: translateY(-5px);
    border-color: var(--blue);
    box-shadow: var(--shadow)
}

.client-logo img {
    display: block;
    width: auto;
    max-width: 100%;
    height: 78px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: .78;
    transition: filter .25s ease, opacity .25s ease
}

.client-logo:hover img {
    filter: grayscale(0);
    opacity: 1
}

.client-logo figcaption {
    font-size: .86rem;
    font-weight: 600;
    letter-spacing: .01em;
    color: var(--blue-dark);
    text-align: center
}

/* Sao exatamente 3 logos: em 2 colunas sobra sempre uma orfa embaixo.
   Entao as 3 seguem lado a lado, so apertando o card, ate a largura em
   que nao cabem mais e empilham de vez. */
@media (max-width: 900px) {
    .clients-grid {
        gap: 14px
    }

    .client-logo {
        padding: 24px 14px;
        gap: 14px
    }

    .client-logo img {
        height: 66px
    }

    .client-logo figcaption {
        font-size: .78rem;
        line-height: 1.35
    }
}

@media (max-width: 560px) {
    .clients-grid {
        grid-template-columns: 1fr;
        gap: 14px
    }

    .client-logo {
        padding: 26px 22px;
        gap: 14px
    }

    .client-logo img {
        height: 78px
    }

    .client-logo figcaption {
        font-size: .86rem
    }
}
/* ==========================================================
   CARROSSEL DE OBRAS  (secao #projetos)
   ========================================================== */
.projetos {
    background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy-dark) 100%);
    padding: 96px 0 0;
    overflow: hidden;
    position: relative
}

.projetos::before {
    content: '';
    position: absolute;
    top: -180px;
    left: -180px;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(62, 138, 216, .20), transparent 62%);
    filter: blur(40px);
    pointer-events: none
}

.projetos .section-head {
    position: relative;
    z-index: 2;
    margin-bottom: 56px
}

.projetos .section-head h2 {
    color: #fff
}

.projetos .section-head h2 strong {
    color: var(--blue-light)
}

.projetos .section-sub {
    color: rgba(255, 255, 255, .72)
}

.proj-row {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    overflow: hidden;
    padding: 10px 0;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 90px, #000 calc(100% - 90px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 90px, #000 calc(100% - 90px), transparent 100%)
}

.proj-row+.proj-row {
    margin-top: 14px
}

/* As logos entram no fim da propria secao do carrossel: as fotos sao das
   obras destes clientes, entao a prova e a evidencia ficam juntas. */
.proj-clientes {
    position: relative;
    z-index: 2;
    margin-top: 52px;
    padding: 40px 0 96px;
    border-top: 1px solid rgba(255, 255, 255, .12)
}

.proj-clientes-label {
    margin: 0 0 8px;
    text-align: center;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .6)
}

.proj-clientes-sub {
    margin: 0 auto 28px;
    max-width: 62ch;
    text-align: center;
    font-size: .95rem;
    color: rgba(255, 255, 255, .72)
}

/* Sem fotos o script tira o carrossel; o bloco de logos continua sozinho. */
.projetos.sem-fotos .proj-clientes {
    margin-top: 0;
    padding-top: 0;
    border-top: 0
}

.proj-track {
    display: flex;
    gap: 16px;
    width: max-content;
    animation: proj-scroll 60s linear infinite;
    will-change: transform
}

.proj-track.reverse {
    animation-name: proj-scroll-reverse;
    animation-duration: 72s
}

.proj-row:hover .proj-track {
    animation-play-state: paused
}

.proj-card {
    position: relative;
    width: 360px;
    height: 240px;
    flex: 0 0 auto;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--graphite);
    border: 1px solid rgba(255, 255, 255, .09);
    transition: transform .4s cubic-bezier(.4, 0, .2, 1), border-color .3s
}

.proj-card:hover {
    transform: scale(1.03);
    border-color: rgba(62, 138, 216, .55)
}

.proj-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 38%;
    display: block;
    filter: saturate(.9) contrast(1.04);
    transition: transform .6s cubic-bezier(.4, 0, .2, 1), filter .4s
}

.proj-card:hover img {
    transform: scale(1.07);
    filter: saturate(1) contrast(1.04)
}

.proj-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 24, 43, 0) 0%, rgba(8, 24, 43, .10) 34%, rgba(8, 24, 43, .58) 62%, rgba(8, 24, 43, .88) 82%, rgba(8, 24, 43, .97) 100%);
    pointer-events: none
}

.proj-card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 18px 20px;
    z-index: 2
}

/* Unico texto do card desde que o nome do cliente saiu daqui: assume o
   peso que era do titulo, em vez de ficar como uma legenda solta. */
.proj-card-tag {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: -.01em;
    color: #fff;
    line-height: 1.3
}

.proj-card-tag::before {
    content: '';
    width: 6px;
    height: 7px;
    background: var(--blue-light);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    flex: 0 0 auto
}

.proj-card-info .proj-card-tag {
    text-shadow: 0 1px 12px rgba(8, 24, 43, .85)
}

@keyframes proj-scroll {
    from {
        transform: translate3d(0, 0, 0)
    }

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

@keyframes proj-scroll-reverse {
    from {
        transform: translate3d(-50%, 0, 0)
    }

    to {
        transform: translate3d(0, 0, 0)
    }
}

@media (max-width:640px) {
    .projetos {
        padding-top: 72px
    }

    .proj-card {
        width: 268px;
        height: 190px
    }

    .proj-card-tag {
        font-size: .86rem
    }

    .proj-clientes {
        margin-top: 36px;
        padding: 30px 0 64px
    }

    .proj-clientes-sub {
        font-size: .88rem;
        margin-bottom: 22px
    }
}

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

    .proj-track,
    .proj-track.reverse {
        animation: none
    }

    .proj-row {
        overflow-x: auto
    }
}

/* ==========================================================
   AJUSTES DE APARELHO DE TOQUE (celular e tablet)
   ========================================================== */

/* O iOS da zoom na pagina inteira quando o campo tem fonte < 16px,
   e o visitante fica preso no zoom depois de preencher o formulario. */
@media (hover:none) and (pointer:coarse) {

    .field input,
    .field select,
    .field textarea {
        font-size: 16px
    }
}

@media (hover:none) {

    /* Em toque nao existe "sair de cima": o :hover gruda depois do tap e o
       card fica levantado ou o carrossel parado ate tocar em outro lugar. */
    .btn-primary:hover,
    .btn-green:hover,
    .btn-blue:hover,
    .btn-glass:hover,
    .pain-card:hover,
    .svc-card:hover,
    .why-card:hover,
    .work:hover,
    .sector:hover,
    .client-logo:hover,
    .cta-step:hover,
    .socials a:hover,
    .wa-float:hover,
    .proj-card:hover,
    .step:hover .step-body {
        transform: none
    }

    .work:hover img,
    .proj-card:hover img,
    .svc-card:hover .svc-ico,
    .svc-card:hover h3::before,
    .why-card:hover .check,
    .step:hover .step-n,
    .work:hover .work-art-bg,
    .work-cta:hover .work-link svg,
    .nav-links a.nav-cta:hover svg,
    .cta-form .btn:hover svg {
        transform: none
    }

    .svc-card:hover,
    .work:hover,
    .why-card:hover,
    .client-logo:hover,
    .pain-card:hover {
        box-shadow: var(--shadow-sm)
    }

    .proj-row:hover .proj-track {
        animation-play-state: running
    }

    .only-hover {
        display: none
    }
}

/* O carrossel anima duas faixas com dezenas de fotos; no celular o filtro
   por cima de cada imagem custa caro e trava a rolagem. */
@media (max-width:900px) {

    .proj-card img,
    .proj-card:hover img {
        filter: none
    }
}

/* Pausa aplicada pelo script quando a secao sai da tela. */
.proj-track.pausado {
    animation-play-state: paused
}

/* Nao deixa o botao flutuante cair em cima da barra de gestos do iPhone. */
.wa-float {
    right: calc(26px + env(safe-area-inset-right));
    bottom: calc(26px + env(safe-area-inset-bottom));
    transition: transform .2s ease, opacity .25s ease, visibility .25s ease
}

/* Dentro da secao de orcamento ele so atrapalha: cobre o botao de enviar
   e leva para o formulario que ja esta na tela. */
.wa-float.oculto {
    opacity: 0;
    visibility: hidden;
    transform: scale(.8);
    pointer-events: none
}

@media (max-width:640px) {
    .wa-float {
        right: calc(16px + env(safe-area-inset-right));
        bottom: calc(16px + env(safe-area-inset-bottom))
    }
}

/* Realce cinza do Android/iOS ao tocar em qualquer area clicavel. */
a,
button,
summary,
.nav-toggle {
    -webkit-tap-highlight-color: rgba(28, 100, 176, .12)
}
