:root {
    --blue: #0b3a8f;
    --blue2: #072a6a;
    --green: #1f9d4c;
    --bg: #f4f7fb;
    --surface: #fff;
    --text: #12203a;
    --muted: #51607a;
    --line: #d6e0ee;
    --nav: #013677;
    box-sizing: border-box;
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px)
}

@media (prefers-color-scheme:dark) {
    :root:not([data-theme="light"]) {
        --bg: #0b1322;
        --surface: #131f36;
        --text: #eaf0fb;
        --muted: #a9b6cd;
        --line: #263759
    }
}

:root[data-theme="dark"] {
    --bg: #0b1322;
    --surface: #131f36;
    --text: #eaf0fb;
    --muted: #a9b6cd;
    --line: #263759
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(84px + env(safe-area-inset-top, 0px));
    height: 100%
}

body {
    margin: 0;
    min-height: 100%;
    background: var(--bg);
    color: var(--text);
    font: 400 1rem/1.65 "Nunito Sans", system-ui, sans-serif;
    overflow-x: hidden
}

body::before {
    content: "";
    position: fixed;
    inset: 0 0 auto;
    height: env(safe-area-inset-top, 0px);
    background: transparent;
    transition: background .35s;
    z-index: 60
}

body.sc::before {
    background: var(--nav)
}

h1,
h2,
h3 {
    font-family: Outfit, "Segoe UI", sans-serif;
    line-height: 1.15;
    margin: 0
}

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

a {
    color: inherit
}

:focus-visible {
    outline: 3px solid var(--green);
    outline-offset: 3px
}

.wrap {
    width: min(1180px, 100% - 2.5rem);
    margin-inline: auto
}

section {
    padding: 4.5rem 0
}

h2 {
    font-size: clamp(1.7rem, 4vw, 2.4rem);
    color: var(--blue);
    margin-bottom: .6rem
}

:root[data-theme="dark"] h2 {
    color: #7fb0ff
}

@media (prefers-color-scheme:dark) {
    :root:not([data-theme="light"]) h2 {
        color: #7fb0ff
    }
}

.lead {
    color: var(--muted);
    max-width: 62ch;
    margin: 0 0 2rem
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .85rem 1.5rem;
    border-radius: 999px;
    font: 700 1rem Outfit, sans-serif;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform .2s, background .2s
}

.btn:hover {
    transform: scale(1.06)
}

.btn-wa {
    background: var(--green);
    color: #fff
}

.btn-wa:hover {
    background: #17853d
}

.btn-line {
    border-color: #fff;
    color: #fff
}

.btn-line:hover {
    background: #ffffff26
}

/* nav */
header {
    position: fixed;
    left: 0;
    right: 0;
    top: env(safe-area-inset-top, 0px);
    z-index: 50;
    background: transparent;
    color: #fff;
    transition: background .35s, box-shadow .35s
}

header.sc,
header:has(nav.open) {
    background: var(--nav);
    box-shadow: 0 2px 14px #0004
}

.bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 68px
}

.logo img {
    height: 52px;
    width: auto;
    filter: drop-shadow(0 2px 6px #00000066)
}

nav ul {
    display: flex;
    gap: .3rem;
    list-style: none;
    margin: 0;
    padding: 0
}

nav a {
    position: relative;
    display: block;
    padding: .55rem .9rem;
    text-decoration: none;
    font: 600 1rem Outfit, sans-serif;
    transition: transform .25s, color .25s
}

nav a::after {
    content: "";
    position: absolute;
    left: .9rem;
    right: .9rem;
    bottom: .15rem;
    height: 3px;
    border-radius: 3px;
    background: #5be08a;
    transform: scaleX(0);
    transition: transform .3s
}

nav a:hover,
nav a:focus-visible {
    transform: scale(1.1);
    color: #8ff0ae
}

nav a:hover::after,
nav a:focus-visible::after {
    transform: scaleX(1)
}

#mt {
    position: relative;
    overflow: hidden;
    display: none;
    align-items: center;
    gap: .65rem;
    background: linear-gradient(135deg, #1f9d4c, #0fb5a0 60%, #1f7fd4);
    border: 0;
    color: #fff;
    border-radius: 999px;
    padding: .6rem 1.15rem .6rem 1rem;
    font: 700 1rem Outfit;
    letter-spacing: .02em;
    cursor: pointer;
    box-shadow: 0 4px 16px #1f9d4c90, inset 0 1px 0 #ffffff55;
    transition: transform .25s cubic-bezier(.2, .9, .3, 1.4), box-shadow .3s, background .3s, color .3s
}

#mt::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 30%, #ffffff70 50%, transparent 70%);
    transform: translateX(-120%);
    animation: sh 3.6s ease-in-out infinite
}

@keyframes sh {

    0%,
    55% {
        transform: translateX(-120%)
    }

    100% {
        transform: translateX(120%)
    }
}

#mt:hover {
    transform: scale(1.06)
}

#mt[aria-expanded="true"] {
    background: #fff;
    color: var(--blue);
    box-shadow: 0 0 0 4px #ffffff40, 0 6px 20px #0006
}

#mt[aria-expanded="true"]::before {
    display: none
}

#mt[aria-expanded="true"] .hb i {
    background: var(--blue)
}

.hb i:nth-child(2) {
    width: 70%
}

.hb i:nth-child(3) {
    width: 45%
}

#mt:hover .hb i:nth-child(2),
#mt:hover .hb i:nth-child(3),
#mt[aria-expanded="true"] .hb i:nth-child(3) {
    width: 100%
}

#mt:active {
    transform: scale(.93)
}

.hb {
    position: relative;
    width: 20px;
    height: 14px
}

.hb i {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2.5px;
    background: #fff;
    border-radius: 2px;
    transition: transform .3s, opacity .2s, top .3s, width .3s, background .3s
}

.hb i:nth-child(1) {
    top: 0
}

.hb i:nth-child(2) {
    top: 6px
}

.hb i:nth-child(3) {
    top: 12px
}

#mt[aria-expanded="true"] i:nth-child(1) {
    top: 6px;
    transform: rotate(45deg)
}

#mt[aria-expanded="true"] i:nth-child(2) {
    opacity: 0
}

#mt[aria-expanded="true"] i:nth-child(3) {
    top: 6px;
    transform: rotate(-45deg)
}

.wi {
    width: 1.3em;
    height: 1.3em;
    flex: none
}

/* hero */
.hero {
    position: relative;
    min-height: min(86vh, 760px);
    display: flex;
    align-items: center;
    background: var(--blue2) center/cover no-repeat;
    color: #fff;
    padding: 7.5rem 0 5rem;
    margin-top: calc(-1*env(safe-area-inset-top, 0px))
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, #051b4ae6 15%, #0b3a8f80 60%, #0b3a8f1a)
}

.hero .wrap {
    position: relative
}

.hero h1 {
    font-size: clamp(2.1rem, 6vw, 4rem);
    max-width: 17ch;
    margin-bottom: 1rem
}

.hero p {
    font-size: clamp(1.05rem, 2.4vw, 1.3rem);
    max-width: 46ch;
    margin: 0 0 2rem
}

.cta {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem
}

.facts {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin-top: 2rem
}

.facts span {
    background: #ffffff1f;
    border: 1px solid #ffffff40;
    padding: .35rem .9rem;
    border-radius: 999px;
    font-size: .95rem
}

/* cards */
.tabs {
    display: flex;
    gap: .5rem;
    overflow-x: auto;
    padding: .2rem .1rem .6rem;
    margin-bottom: .8rem
}

.tabs button {
    flex: none;
    border: 1.5px solid var(--line);
    background: var(--surface);
    color: var(--text);
    padding: .5rem 1.1rem;
    border-radius: 999px;
    font: 600 .95rem Outfit;
    cursor: pointer;
    transition: transform .2s, background .2s, color .2s
}

.tabs button:hover {
    transform: scale(1.07)
}

.tabs button.on {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue)
}

.rail {
    position: relative
}

.grid {
    display: flex;
    gap: 1.4rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: .9rem .8rem 1.4rem;
    scrollbar-width: thin
}

.grid .card {
    flex: 0 0 calc((100% - 2.8rem)/3);
    scroll-snap-align: start
}

.ar {
    position: absolute;
    top: 36%;
    z-index: 5;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 0;
    background: var(--blue);
    color: #fff;
    font-size: 1.7rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 14px #0006;
    transition: transform .2s, background .2s
}

.ar:hover {
    transform: scale(1.15);
    background: var(--green)
}

.ar.l {
    left: .2rem
}

.ar.r {
    right: .2rem
}

.tabs,
.grid {
    scrollbar-width: none;
    -ms-overflow-style: none
}

.tabs {
    flex-wrap: wrap;
    overflow: visible
}

.grid {
    scroll-padding-inline: .8rem
}

.tabs::-webkit-scrollbar,
.grid::-webkit-scrollbar {
    display: none
}

.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .3s, box-shadow .3s, border-color .3s
}

.card:hover,
.card:focus-within {
    transform: translateY(-8px) scale(1.04);
    box-shadow: 0 18px 36px #0b3a8f40;
    border-color: var(--green);
    z-index: 2
}

.card .ph {
    aspect-ratio: 4/3;
    overflow: hidden
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s
}

.card:hover img {
    transform: scale(1.1)
}

.card .tx {
    padding: 1.1rem 1.2rem 1.3rem;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    flex: 1
}

.card h3 {
    font-size: 1.1rem;
    color: var(--blue);
    transition: font-size .25s
}

:root[data-theme="dark"] .card h3 {
    color: #9cc4ff
}

@media (prefers-color-scheme:dark) {
    :root:not([data-theme="light"]) .card h3 {
        color: #9cc4ff
    }
}

.card:hover h3 {
    font-size: 1.32rem
}

.card p {
    margin: 0;
    color: var(--muted);
    font-size: .95rem;
    transition: font-size .25s
}

.card:hover p {
    font-size: 1.02rem
}

.card a.more {
    margin-top: auto;
    align-self: flex-start;
    background: var(--green);
    color: #fff;
    padding: .65rem 1.3rem;
    border-radius: 999px;
    font: 700 .95rem Outfit;
    text-decoration: none;
    transition: transform .2s, background .2s
}

.card a.more:hover {
    background: #17853d;
    transform: scale(1.08)
}

.vidros {
    margin-top: 3rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 1.6rem
}

.vidros h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem
}

.vg {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem
}

.vt {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 1.1rem;
    transition: transform .25s, border-color .25s
}

.vt:hover {
    transform: translateY(-4px);
    border-color: var(--green)
}

.vt h4 {
    margin: .8rem 0 .6rem;
    font: 700 1.2rem Outfit
}

.vt p {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin: .45rem 0
}

.vt p span {
    flex: 1;
    color: var(--muted)
}

.vt b {
    background: var(--blue);
    color: #fff;
    border-radius: 8px;
    padding: .15rem .65rem;
    font-size: .92rem
}

.sw {
    display: block;
    height: 48px;
    border-radius: 8px;
    border: 1px solid var(--line)
}

.s1 {
    background: linear-gradient(120deg, #e9f6fb, #bfe3ee 55%, #f4fbfd)
}

.s2 {
    background: linear-gradient(120deg, #7d8791, #3c434b 60%, #6b747d)
}

.s3 {
    background: repeating-linear-gradient(90deg, #d6eef0 0 6px, #b4d9de 6px 12px)
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem
}

.chips li {
    list-style: none;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: .5rem .9rem;
    transition: transform .2s, border-color .2s
}

.chips li:hover {
    transform: scale(1.07);
    border-color: var(--green)
}

.chips {
    padding: 0;
    margin: 0
}

.also {
    margin: 1.2rem 0 0;
    color: var(--muted)
}

/* gallery */
.gal {
    display: grid;
    gap: 1rem
}

.mq {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent)
}

.tr {
    display: flex;
    width: max-content;
    animation: rt 40s linear infinite
}

.mq.rev .tr {
    animation-name: lf
}

.mq:hover .tr,
.mq:focus-within .tr {
    animation-play-state: paused
}

@keyframes rt {
    from {
        transform: translateX(-50%)
    }

    to {
        transform: translateX(0)
    }
}

@keyframes lf {
    from {
        transform: translateX(0)
    }

    to {
        transform: translateX(-50%)
    }
}

.gal button {
    flex: none;
    width: 300px;
    height: 210px;
    margin-right: 1rem;
    padding: 0;
    border: 0;
    border-radius: 12px;
    overflow: hidden;
    cursor: zoom-in;
    background: var(--line)
}

.gal img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s
}

.gal button:hover img {
    transform: scale(1.1)
}

#lb {
    position: fixed;
    inset: 0;
    background: #000d;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 90;
    padding: 1rem;
    cursor: zoom-out
}

#lb.on {
    display: flex
}

#lb img {
    max-height: 92vh;
    border-radius: 10px
}

/* about */
.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center
}

.about img {
    border-radius: 16px;
    width: 100%;
    box-shadow: 0 14px 34px #0003
}

.about p {
    color: var(--muted)
}

.nums {
    display: flex;
    gap: 1.6rem;
    flex-wrap: wrap;
    margin-top: 1.2rem
}

.nums b {
    display: block;
    font: 700 1.9rem Outfit;
    color: var(--green)
}

/* quote */
.q {
    background: var(--blue);
    color: #fff
}

.q h2 {
    color: #fff
}

.q .lead {
    color: #dbe6ff
}

.qb {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 2.5rem;
    align-items: start
}

form {
    background: var(--surface);
    color: var(--text);
    border-radius: 18px;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem;
    box-shadow: 0 20px 50px #0006
}

form h3 {
    font-size: 1.35rem;
    margin-bottom: .2rem
}

.steps {
    list-style: none;
    counter-reset: s;
    padding: 0;
    margin: 0 0 1.8rem;
    display: grid;
    gap: 1.1rem
}

.steps li {
    counter-increment: s;
    display: grid;
    grid-template-columns: 46px 1fr;
    column-gap: 1rem;
    align-items: center
}

.steps li::before {
    content: counter(s);
    grid-row: span 2;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #ffffff26;
    border: 2px solid #ffffff70;
    display: grid;
    place-items: center;
    font: 700 1.2rem Outfit
}

.steps b {
    font: 600 1.1rem Outfit
}

.steps span {
    color: #dbe6ff;
    font-size: .95rem
}

label {
    display: flex;
    flex-direction: column;
    gap: .3rem;
    font-weight: 700;
    font-size: .95rem
}

.full {
    grid-column: 1/-1
}

input,
select,
textarea {
    font: inherit;
    padding: .7rem .8rem;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    background: var(--bg);
    color: var(--text);
    width: 100%
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--green);
    outline: none
}

small.n {
    font-weight: 400;
    color: var(--muted)
}

/* hours */
.two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem
}

.badge {
    display: inline-block;
    padding: .45rem 1.1rem;
    border-radius: 999px;
    font: 700 1.05rem Outfit;
    color: #fff;
    background: #888;
    margin-bottom: 1rem
}

.badge.on {
    background: var(--green)
}

.badge.off {
    background: #c0392b
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--surface);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--line)
}

th,
td {
    padding: .75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--line)
}

th {
    background: var(--blue);
    color: #fff;
    font-family: Outfit
}

tr.today td {
    background: #1f9d4c26;
    font-weight: 700;
    border-left: 0
}

tr.today td:first-child {
    box-shadow: inset 5px 0 var(--green)
}

.hoje {
    margin-left: .5rem;
    background: var(--green);
    color: #fff;
    font-size: .75rem;
    padding: .1rem .5rem;
    border-radius: 999px
}

.scroll {
    overflow-x: auto
}

.map {
    border: 0;
    width: 100%;
    height: 340px;
    border-radius: 14px;
    background: var(--line)
}

.pn {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 1.8rem;
    box-shadow: 0 8px 24px #0b3a8f18
}

.pn h2 {
    font-size: clamp(1.4rem, 3vw, 1.8rem)
}

.norms {
    background: var(--bg);
    border-radius: 12px;
    padding: 1.1rem 1.3rem;
    margin-top: 1.4rem
}

.norms ul {
    list-style: none;
    margin: .6rem 0 0;
    padding: 0;
    display: grid;
    gap: .5rem;
    color: var(--muted)
}

.norms li {
    position: relative;
    padding-left: 1.7rem
}

.norms li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 700
}

.rs {
    display: inline-block;
    background: var(--blue);
    color: #fff;
    padding: .4rem 1rem;
    border-radius: 10px;
    font: 600 1rem Outfit;
    margin-bottom: 1rem
}

/* contact+footer */
.ct {
    list-style: none;
    padding: 0;
    margin: 0 0 1.2rem;
    display: grid;
    gap: .5rem
}

footer {
    background: linear-gradient(180deg, var(--blue2), #041a45);
    color: #cfdcf5;
    padding: 3.5rem 0 0;
    font-size: .95rem;
    border-top: 4px solid var(--green)
}

.fg {
    display: grid;
    grid-template-columns: 1.4fr 1.3fr 1.2fr;
    gap: 2rem
}

.fg h4 {
    font: 700 1.05rem Outfit;
    color: #fff;
    margin: 0 0 .9rem
}

.fg a {
    display: block;
    color: #cfdcf5;
    text-decoration: none;
    padding: .25rem 0;
    transition: color .2s, transform .2s
}

.fg a:hover {
    color: #8ff0ae;
    transform: translateX(5px)
}

.fg p,
.fg address {
    margin: .6rem 0;
    font-style: normal;
    line-height: 1.6
}

.fl {
    height: 56px;
    width: auto
}

.fb {
    margin-top: 2.5rem;
    padding: 1.2rem 0 5.5rem;
    border-top: 1px solid #ffffff26;
    text-align: center;
    font-size: .88rem;
    color: #9fb3da
}

.fab {
    position: fixed;
    right: max(1rem, env(safe-area-inset-right, 0px));
    bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    z-index: 70;
    background: var(--green);
    color: #fff;
    text-decoration: none;
    font: 700 1rem Outfit;
    padding: .8rem 1.2rem;
    border-radius: 999px;
    box-shadow: 0 6px 20px #0006;
    transition: transform .2s
}

.fab:hover {
    transform: scale(1.1)
}

.fab {
    display: flex;
    width: 56px;
    height: 56px;
    padding: 0;
    border-radius: 50%;
    background: none;
    box-shadow: 0 6px 18px #0005
}

.fab img {
    width: 100%;
    height: 100%;
    border-radius: 50%
}

.fab::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--green);
    z-index: -1;
    animation: pl 2s ease-out infinite
}

@keyframes pl {
    0% {
        transform: scale(1);
        opacity: .7
    }

    100% {
        transform: scale(1.5, 1.9);
        opacity: 0
    }
}

/* responsive */
@media (max-width:980px) {

    .about,
    .qb,
    .two {
        grid-template-columns: 1fr;
        gap: 2rem
    }

    section {
        padding: 3.5rem 0
    }

    .grid .card {
        flex-basis: calc((100% - 1.4rem)/2)
    }

    .fg {
        grid-template-columns: 1fr 1fr
    }
}

@media (max-width:920px) {
    #mt {
        display: flex
    }

    nav {
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        background: var(--nav);
        max-height: 0;
        overflow: hidden;
        transition: max-height .3s
    }

    nav.open {
        max-height: 480px;
        box-shadow: 0 12px 20px #0005
    }

    nav ul {
        flex-direction: column;
        padding: .6rem 1.2rem 1rem
    }

    nav a {
        display: inline-block;
        padding: .8rem .5rem;
        font-size: 1.1rem
    }

    nav a::after {
        left: .5rem;
        right: .5rem;
        bottom: .35rem
    }

    nav.open {
        border-bottom: 3px solid var(--green)
    }

    nav li {
        opacity: 0;
        transform: translateX(-28px);
        transition: opacity .4s, transform .45s cubic-bezier(.2, .9, .3, 1.2)
    }

    nav.open li {
        opacity: 1;
        transform: none
    }

    nav.open li:nth-child(1) {
        transition-delay: .08s
    }

    nav.open li:nth-child(2) {
        transition-delay: .14s
    }

    nav.open li:nth-child(3) {
        transition-delay: .2s
    }

    nav.open li:nth-child(4) {
        transition-delay: .26s
    }

    nav.open li:nth-child(5) {
        transition-delay: .32s
    }

    nav.open li:nth-child(6) {
        transition-delay: .38s
    }

    nav.open li:nth-child(7) {
        transition-delay: .44s
    }

    .logo img {
        height: 44px
    }
}

@media (max-width:560px) {
    form {
        grid-template-columns: 1fr;
        padding: 1.2rem
    }

    .hero {
        padding: 6.5rem 0 3.5rem
    }

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

    .grid {
        gap: .9rem;
        padding-inline: 10%
    }

    .tabs {
        gap: .4rem
    }

    .tabs button {
        padding: .45rem .9rem;
        font-size: .9rem
    }

    .grid .card {
        flex-basis: 100%;
        scroll-snap-align: center
    }

    .ar {
        display: none
    }

    .vg,
    .fg {
        grid-template-columns: 1fr
    }

    .pn {
        padding: 1.2rem
    }

    .gal button {
        width: 220px;
        height: 160px
    }

    .fab {
        width: 52px;
        height: 52px
    }

    th,
    td {
        padding: .6rem .6rem;
        font-size: .92rem
    }
}

@media (max-width:360px) {
    .grid {
        padding-inline: 6%
    }
}

@media (prefers-reduced-motion:reduce) {
    * {
        transition: none !important;
        animation: none !important;
        scroll-behavior: auto !important
    }

    .mq {
        overflow-x: auto
    }
}

/* centralização de textos */
#produtos h2,
#portfolio h2,
#produtos .lead,
#portfolio .lead {
    text-align: center
}

.lead {
    margin-inline: auto
}

.tabs {
    justify-content: center
}

.vidros h3,
.also {
    text-align: center
}

.chips {
    justify-content: center
}

.vt h4 {
    text-align: center
}

.pn {
    text-align: center
}

.pn .scroll {
    text-align: left
}

.pn .lead {
    margin-inline: auto
}

.norms {
    text-align: left
}

.q form h3 {
    text-align: center
}

@media (max-width:980px) {

    .about>div,
    .qb>div:first-child,
    #contato .two>div:first-child {
        text-align: center
    }

    .nums {
        justify-content: center
    }

    .steps {
        text-align: left;
        max-width: 420px;
        margin-inline: auto;
        margin-bottom: 1.8rem
    }

    .qb>div:first-child .btn,
    #contato .btn {
        display: flex;
        width: fit-content;
        margin-inline: auto
    }
}

@media (max-width:920px) {
    .hero .wrap {
        text-align: center
    }

    .hero h1,
    .hero p {
        margin-inline: auto
    }

    .cta,
    .facts {
        justify-content: center
    }
}

@media (max-width:560px) {
    footer .fg {
        text-align: center
    }

    .fg a:hover {
        transform: none
    }

    .fl {
        margin-inline: auto
    }
}

/* tipos de vidro: nome, foto, depois comum/temperado */
.vt {
    display: flex;
    flex-direction: column
}

.vt h4 {
    order: -1;
    margin: 0 0 .8rem;
    text-align: center
}

.vt .sw {
    order: 0;
    margin-bottom: .5rem
}

@media (max-width:560px) {
    .facts {
        display: grid;
        grid-template-columns: auto auto;
        justify-content: center;
        gap: .5rem;
        margin-top: 1.6rem
    }

    .facts span {
        font-size: .85rem;
        padding: .3rem .75rem;
        text-align: center;
        line-height: 1.3;
        display: flex;
        align-items: center;
        justify-content: center
    }

    .facts span:nth-child(3) {
        grid-column: 1/-1;
        justify-self: center
    }
}

@media (max-width:380px) {
    .facts {
        grid-template-columns: 1fr 1fr
    }

    .facts span {
        font-size: .78rem;
        padding: .3rem .5rem
    }
}

/* transição suave do início para a próxima seção */
.hero {
    padding-bottom: 7.5rem
}

.hero .wrap {
    z-index: 1
}

.hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 240px;
    pointer-events: none;
    background: linear-gradient(to bottom, color-mix(in srgb, var(--bg) 0%, transparent) 0%, color-mix(in srgb, var(--bg) 8%, transparent) 15%, color-mix(in srgb, var(--bg) 25%, transparent) 32%, color-mix(in srgb, var(--bg) 50%, transparent) 50%, color-mix(in srgb, var(--bg) 75%, transparent) 68%, color-mix(in srgb, var(--bg) 92%, transparent) 85%, var(--bg) 100%)
}

@media (max-width:560px) {
    .hero {
        padding-bottom: 6rem
    }

    .hero::after {
        height: 170px
    }
}

/* Sobre: título, foto, depois o texto */
.about {
    grid-template-columns: 1fr;
    gap: 1.6rem;
    max-width: 860px;
    margin-inline: auto;
    text-align: center
}

.about h2 {
    margin: 0
}

.about>div {
    text-align: center
}

.about .nums {
    justify-content: center
}

/* números do Sobre: dois cartões iguais lado a lado */
.about .nums {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .9rem;
    width: 100%;
    max-width: 520px;
    margin: .4rem auto 0
}

.about .nums>div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .25rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 1.1rem .8rem;
    font-size: .92rem;
    line-height: 1.35;
    color: var(--muted)
}

.about .nums b {
    font: 700 1.7rem/1.15 Outfit, sans-serif;
    color: var(--green);
    margin: 0
}

@media (max-width:420px) {
    .about .nums b {
        font-size: 1.4rem
    }

    .about .nums>div {
        padding: 1rem .6rem;
        font-size: .85rem
    }
}

.card a.more {
    align-self: center
}

/* Área de atendimento: conteúdo centralizado na vertical e maior */
.pa {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .4rem
}

.pa .pin {
    display: grid;
    place-items: center;
    width: 78px;
    height: 78px;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    margin-bottom: .8rem;
    box-shadow: 0 10px 24px #0b3a8f55
}

.pa h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin: 0 0 .6rem
}

.pa .rs {
    font-size: 1.15rem;
    padding: .55rem 1.2rem;
    margin-bottom: 1.1rem
}

.pa .lead {
    font-size: 1.12rem;
    max-width: 34ch;
    margin: 0 auto
}

@media (min-width:981px) {
    .pa {
        padding: 2.4rem
    }
}

/* Orçamento rápido: coluna da esquerda maior e centralizada na vertical */
@media (min-width:981px) {
    .qb {
        align-items: center
    }

    .qb>div:first-child h2 {
        font-size: clamp(2.2rem, 3.6vw, 3rem);
        line-height: 1.1;
        margin-bottom: 1rem
    }

    .qb>div:first-child .lead {
        font-size: 1.2rem;
        max-width: 36ch;
        margin: 0 0 2.2rem
    }

    .steps {
        gap: 1.7rem
    }

    .steps li {
        grid-template-columns: 60px 1fr;
        column-gap: 1.2rem
    }

    .steps li::before {
        width: 60px;
        height: 60px;
        font-size: 1.5rem
    }

    .steps b {
        font-size: 1.35rem
    }

    .steps span {
        font-size: 1.05rem
    }
}