/* Modelo A "Cartela": a home lida como uma cartela de tintas de fachada. */
@font-face { font-family: "Archivo"; src: url(/assets/fonts/archivo.woff2) format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url(/assets/fonts/hanken.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --bg: #eceff2; --paper: #fff; --ink: #0f1626; --ink-2: #444d5e; --line: rgba(15, 22, 38, .14);
  --brand: #243261; --brand-deep: #161f45; --accent: #4b8606; --accent-hi: #86c232; --on-brand: #fff;
  --tone-fachada: #243261; --tone-telhado: #a4492f; --tone-pintura: #4b8606; --tone-imper: #7d8da3; --tone-areia: #d9cdb6;
  --font-display: "Archivo", "Arial Narrow", Arial, sans-serif; --font-body: "Hanken Grotesk", system-ui, sans-serif;
  --pre-bg: var(--brand-deep);
  --gut: clamp(18px, 4vw, 56px); --max: 1280px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
.wrap { width: min(100% - var(--gut) * 2, var(--max)); margin-inline: auto; }
.disp { font-family: var(--font-display); font-stretch: 112%; font-weight: 800; letter-spacing: -.02em; line-height: .98; }

/* botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 26px; border-radius: 999px; font-family: var(--font-display); font-stretch: 105%; font-weight: 700; font-size: 1rem; border: 2px solid transparent; cursor: pointer; transition: transform .25s var(--ease), background-color .2s, color .2s, border-color .2s, box-shadow .25s; }
.btn:active { transform: scale(.97); }
.btn-whats { background: var(--whats); color: #fff; }
.btn-whats:hover { box-shadow: 0 14px 30px -12px rgba(20, 128, 63, .8); transform: translateY(-2px); }
.btn-navy { background: var(--brand); color: #fff; }
.btn-navy:hover { background: var(--brand-deep); transform: translateY(-2px); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-white { background: #fff; color: var(--brand); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .6); }

/* header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(236, 239, 242, .97); transition: box-shadow .3s, background-color .3s; }
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 12px 30px -22px rgba(15, 22, 38, .5); background: rgba(255, 255, 255, .97); }
.hbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.logo img { width: 168px; height: auto; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 38px); font-family: var(--font-display); font-stretch: 105%; font-weight: 600; font-size: .98rem; }
.nav a:not(.btn) { position: relative; padding: 6px 0; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav .btn { min-height: 46px; padding: 0 22px; }
.menu-btn { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--ink); background: transparent; cursor: pointer; place-items: center; }
.menu-btn i { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; transition: background .2s; }
.menu-btn i::before, .menu-btn i::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); transition: transform .3s var(--ease); }
.menu-btn i::before { top: -6px; } .menu-btn i::after { top: 6px; }
.site-header[data-open="1"] .menu-btn i { background: transparent; }
.site-header[data-open="1"] .menu-btn i::before { transform: translateY(6px) rotate(45deg); }
.site-header[data-open="1"] .menu-btn i::after { transform: translateY(-6px) rotate(-45deg); }

/* HERO */
.hero { padding-block: clamp(28px, 5vw, 64px) clamp(36px, 6vw, 80px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.chip-kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-stretch: 105%; font-weight: 700; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.chip-kicker i { width: 38px; height: 14px; border-radius: 2px; background: linear-gradient(90deg, var(--brand) 0 33.3%, var(--accent) 33.3% 66.6%, var(--tone-areia) 66.6%); }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 5.2rem); font-stretch: 100%; margin-top: 22px; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lede { margin-top: 26px; max-width: 34em; font-size: clamp(1.08rem, 1.5vw, 1.28rem); color: var(--ink-2); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.mini-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 38px; padding: 0; list-style: none; }
.mini-chips a { display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px 8px 8px; border-radius: 999px; background: var(--paper); font-weight: 600; font-size: .92rem; border: 1px solid var(--line); transition: transform .25s var(--ease), border-color .2s; }
.mini-chips a:hover { transform: translateY(-3px); border-color: var(--ink); }
.mini-chips b { width: 26px; height: 26px; border-radius: 50%; background: var(--c); }

.swatch { position: relative; background: var(--paper); border-radius: 22px; padding: 12px 12px 0; box-shadow: 0 40px 70px -40px rgba(15, 22, 38, .6), 0 2px 0 rgba(15, 22, 38, .06); }
.swatch-view { position: relative; aspect-ratio: 4 / 4.7; border-radius: 12px; overflow: hidden; background: #dfe4ea; }
.swatch-view img, .swatch-view video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.swatch-view video { opacity: 0; transition: opacity .8s; }
.swatch-view video.is-playing { opacity: 1; }
.swatch-label { display: flex; justify-content: flex-start; align-items: center; gap: 14px; padding: 16px 8px 18px; font-family: var(--font-display); font-stretch: 108%; }
.swatch-label strong { font-size: 1.05rem; font-weight: 800; }
.swatch-label span { font-size: .8rem; letter-spacing: .1em; font-weight: 700; color: var(--ink-2); }
.swatch-tabs { display: flex; height: 14px; margin: 0 -12px; border-radius: 0 0 22px 22px; overflow: hidden; }
.swatch-tabs i { flex: 1; background: var(--c); }
.swatch-hole { position: absolute; z-index: 2; right: 26px; top: 26px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 2px 3px rgba(0, 0, 0, .25); }

/* faixa de números */
.stats { background: var(--brand); color: #fff; }
.stats .wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat { padding: clamp(28px, 4vw, 54px) clamp(10px, 2vw, 34px); display: grid; gap: 4px; }
.stat:first-child { padding-left: 0; }
.stat .num { font-family: var(--font-display); font-stretch: 112%; font-weight: 800; font-size: clamp(2.8rem, 7vw, 6rem); line-height: 1; letter-spacing: -.03em; }
.stat .num sup { font-size: .45em; color: var(--accent-hi); vertical-align: top; margin-left: 2px; }
.stat p { font-weight: 600; opacity: .85; font-size: clamp(.9rem, 1.3vw, 1.05rem); }

/* seções */
.sec { padding-block: clamp(64px, 9vw, 130px); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 5vw, 80px); align-items: end; margin-bottom: clamp(34px, 5vw, 64px); }
.sec-head h2 { font-size: clamp(2.2rem, 5.2vw, 4.4rem); text-wrap: balance; }
.sec-head h2 em { font-style: normal; color: var(--accent); }
.sec-head p { color: var(--ink-2); max-width: 32em; }
.code { display: inline-flex; gap: 8px; align-items: center; font-family: var(--font-display); font-stretch: 105%; font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 16px; }
.code::before { content: ""; width: 22px; height: 10px; background: var(--c, var(--accent)); border-radius: 2px; }

/* sobre */
.about-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 6vw, 96px); }
.about-grid .big { font-size: clamp(1.6rem, 3vw, 2.5rem); font-family: var(--font-display); font-stretch: 105%; font-weight: 700; line-height: 1.12; letter-spacing: -.015em; text-wrap: balance; }
.about-grid .cols { display: grid; gap: 20px; color: var(--ink-2); }
.about-grid .cols p:first-child { color: var(--ink); font-size: 1.18rem; }

/* serviços: cartela */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.6vw, 24px); }
.card { background: var(--paper); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 2px 0 rgba(15, 22, 38, .05); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.card:hover { transform: translateY(-8px); box-shadow: 0 30px 50px -30px rgba(15, 22, 38, .55); }
.card figure { margin: 0; aspect-ratio: 4 / 4.6; overflow: hidden; position: relative; }
.card figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.card:hover figure img { transform: scale(1.06); }
.card .band { background: var(--c); color: #fff; padding: 14px 20px; display: flex; justify-content: space-between; font-family: var(--font-display); font-stretch: 105%; font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card h3 { font-family: var(--font-display); font-stretch: 108%; font-size: 1.5rem; font-weight: 800; line-height: 1.05; letter-spacing: -.01em; }
.card p { color: var(--ink-2); font-size: .98rem; }
.card .go { margin-top: auto; padding-top: 12px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--brand); border: 0; background: none; cursor: pointer; font: inherit; font-weight: 700; padding-inline: 0; }
.card .go .ic { transition: transform .3s var(--ease); }
.card .go:hover .ic { transform: translateX(6px); }

/* vantagens: mosaico de amostras */
.mosaic { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(12px, 1.5vw, 20px); }
.tile { grid-column: span 2; border-radius: 18px; padding: clamp(22px, 2.4vw, 34px); min-height: 250px; display: flex; flex-direction: column; justify-content: space-between; gap: 30px; background: var(--c); color: var(--t, #fff); transition: transform .4s var(--ease); }
.tile:hover { transform: translateY(-5px) rotate(-.4deg); }
.tile:nth-child(4) { grid-column: 2 / span 2; }
.tile:nth-child(5) { grid-column: span 2; }
.tile .ic { width: 42px; height: 42px; }
.tile h3 { font-family: var(--font-display); font-stretch: 108%; font-weight: 800; font-size: clamp(1.25rem, 1.7vw, 1.55rem); line-height: 1.08; margin-bottom: 8px; }
.tile p { font-size: .96rem; opacity: .9; }

/* soluções sob medida */
.sol { background: var(--brand-deep); color: #fff; border-radius: clamp(22px, 3vw, 40px); padding: clamp(34px, 6vw, 84px); }
.sol .sec-head p { color: rgba(255, 255, 255, .72); }
.sol .code { color: rgba(255, 255, 255, .7); }
.sol-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 44px); }
.sol-item { border-top: 2px solid var(--accent-hi); padding-top: 22px; }
.sol-item h3 { font-family: var(--font-display); font-stretch: 108%; font-weight: 800; font-size: 1.6rem; margin-bottom: 10px; }
.sol-item p { color: rgba(255, 255, 255, .75); }

/* marcas */
.brands { background: var(--paper); border-block: 1px solid var(--line); padding-block: 38px; }
.brands h2 { font-size: .85rem; text-transform: uppercase; letter-spacing: .16em; text-align: center; color: var(--ink-2); font-family: var(--font-display); font-stretch: 105%; font-weight: 700; margin-bottom: 18px; }

/* avaliações */
.rev-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 34px; }
.rev-head h2 { font-size: clamp(2.2rem, 5vw, 4.2rem); }
.rev { background: var(--paper); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 16px; min-height: 280px; }
.rev .stars { display: flex; gap: 3px; color: #e0a800; }
.rev .stars .ic { width: 18px; height: 18px; }
.rev blockquote { margin: 0; font-size: 1.02rem; color: var(--ink); line-height: 1.55; }
.rev footer { margin-top: auto; display: flex; align-items: center; gap: 12px; font-weight: 700; }
.rev footer i { width: 38px; height: 38px; border-radius: 50%; background: var(--c); color: #fff; display: grid; place-items: center; font-style: normal; font-family: var(--font-display); }
.rev footer small { display: block; font-weight: 500; color: var(--ink-2); }

/* CTA final */
.cta { background: var(--accent); color: #fff; border-radius: clamp(22px, 3vw, 40px); padding: clamp(36px, 6vw, 90px); display: grid; grid-template-columns: 1.3fr .7fr; gap: 30px; align-items: center; margin-bottom: clamp(48px, 7vw, 100px); }
.cta h2 { font-size: clamp(2.2rem, 5.4vw, 4.6rem); text-wrap: balance; }
.cta p { margin-top: 18px; font-size: 1.15rem; opacity: .94; max-width: 28em; }
.cta .actions { display: grid; gap: 12px; justify-items: start; }
.cta .tel { display: inline-flex; gap: 10px; align-items: center; font-weight: 700; font-size: 1.15rem; padding-left: 4px; }

/* rodapé */
.site-footer { background: var(--brand-deep); color: rgba(255, 255, 255, .78); padding-top: clamp(48px, 6vw, 84px); font-size: .96rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(24px, 5vw, 80px); padding-bottom: 44px; }
.foot-grid img { width: 190px; margin-bottom: 18px; }
.foot-grid h3 { font-family: var(--font-display); font-stretch: 105%; text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; color: #fff; margin-bottom: 16px; font-weight: 700; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-grid a:hover { color: #fff; text-decoration: underline; }
.foot-social { display: flex; gap: 10px; margin-top: 18px; }
.foot-social a { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); display: grid; place-items: center; }
.foot-social a:hover { background: var(--accent); border-color: var(--accent); text-decoration: none; }
.footer-legal-row { padding-bottom: 20px; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 22px; font-size: .88rem; }
.footer-legal button { font: inherit; background: none; border: 0; color: inherit; cursor: pointer; padding: 0; }
.footer-legal a:hover, .footer-legal button:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .16); padding: 22px 0 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: .88rem; }
.footer-bottom .dev a { color: #fff; font-weight: 600; }

/* entrada da hero (só depois do preloader) */
@media (prefers-reduced-motion: no-preference) {
  .hero [data-in] { opacity: 0; transform: translateY(28px); animation: heroin .9s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 110ms + 100ms); }
  body:not(.is-loaded) .hero [data-in] { animation-play-state: paused; }
  .hero .swatch { opacity: 0; transform: translateY(40px) rotate(2deg); animation: swin 1.1s var(--ease) .3s forwards; }
  body:not(.is-loaded) .hero .swatch { animation-play-state: paused; }
  @keyframes heroin { to { opacity: 1; transform: none; } }
  @keyframes swin { to { opacity: 1; transform: rotate(1.2deg); } }
}
.hero .swatch { transform: rotate(1.2deg); }
html[data-nomotion] .hero [data-in] { opacity: 1 !important; transform: none !important; }
html[data-nomotion] .hero .swatch { opacity: 1 !important; transform: rotate(1.2deg) !important; }
@media (prefers-reduced-motion: reduce) { .hero .swatch { transform: none; } }

/* responsivo */
@media (max-width: 1040px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .mosaic { grid-template-columns: repeat(2, 1fr); }
  .tile, .tile:nth-child(4), .tile:nth-child(5) { grid-column: auto; }
  .tile:nth-child(5) { grid-column: 1 / -1; min-height: 200px; }
}
@media (max-width: 860px) {
  .menu-btn { display: grid; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gut) 24px; border-bottom: 1px solid var(--line); box-shadow: 0 30px 40px -30px rgba(0, 0, 0, .4); display: none; }
  .site-header[data-open="1"] .nav { display: flex; }
  .nav a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1.15rem; }
  .nav .btn { margin-top: 18px; }
  .hero-grid, .about-grid, .sec-head, .cta, .foot-grid { grid-template-columns: 1fr; }
  .swatch { max-width: 460px; }
  .sol-grid { grid-template-columns: 1fr; }
  .footer-legal { justify-content: flex-start; }
  .rev-head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: 1fr; }
  .stats .wrap { grid-template-columns: 1fr; }
  .stat { padding-left: 0; }
  .logo img { width: 146px; }
  .hero-cta .btn { width: 100%; }
  .footer-bottom { flex-direction: column; padding-bottom: 92px; }
}

/* efeitos (fx.js) */
.progress { position: fixed; z-index: 150; left: 0; top: 0; width: 100%; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }
.hero { position: relative; overflow: clip; }
.hero-grid { position: relative; z-index: 1; }
.hero-canvas { position: absolute; left: 0; top: 0; z-index: 0; opacity: 0; pointer-events: none; }
.w { display: inline; }
.fx .card:hover figure img { transform: none; }
.fx .swatch-view { will-change: transform; }

/* fundadora */
.person { background: var(--brand-deep); color: #fff; padding-block: clamp(64px, 9vw, 130px); margin-bottom: clamp(64px, 9vw, 130px); }
.person-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 7vw, 110px); align-items: center; }
.person-photos { position: relative; max-width: 460px; padding-bottom: 60px; }
.p-main { width: 100%; border-radius: 22px; box-shadow: 0 40px 70px -35px rgba(0, 0, 0, .8); }
.p-second { position: absolute; right: -9%; bottom: 0; width: 42%; border-radius: 16px; border: 6px solid var(--brand-deep); box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .8); transform: rotate(3deg); }
.person-text { display: grid; gap: 20px; justify-items: start; }
.person-text .code { color: rgba(255, 255, 255, .7); margin-bottom: 0; }
.person-text h2 { font-size: clamp(2.4rem, 5.4vw, 4.6rem); }
.person-text p { color: rgba(255, 255, 255, .82); max-width: 36em; }
.roles { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.roles li { padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .28); font-weight: 600; font-size: .92rem; }
.roles li:first-child { background: #3d7005; border-color: #3d7005; }
.person-text blockquote { margin: 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--accent-hi); max-width: 36em; }
.person-text blockquote p { color: #fff; font-family: var(--font-display); font-stretch: 104%; font-weight: 600; font-size: clamp(1.15rem, 1.8vw, 1.45rem); line-height: 1.3; }

/* instagram */
.ig-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 22px); }
.ig-card { position: relative; display: block; aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; background: var(--brand-deep); box-shadow: 0 2px 0 rgba(15, 22, 38, .05); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.ig-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.ig-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 15, 40, 0) 52%, rgba(10, 15, 40, .92) 100%); }
.ig-cap { position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 16px; color: #fff; display: grid; gap: 6px; }
.ig-cap b { font-family: var(--font-display); font-stretch: 105%; font-size: 1.1rem; line-height: 1.12; }
.ig-cap span { font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-hi); }
.ig-card:hover { transform: translateY(-8px); box-shadow: 0 30px 50px -30px rgba(15, 22, 38, .6); }
.ig-card:hover img { transform: scale(1.05); }

/* faq */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 6vw, 96px); align-items: start; }
.faq h2 { font-size: clamp(2.2rem, 4.8vw, 4rem); text-wrap: balance; }
.faq h2 em { font-style: normal; color: var(--accent); }
.faq-list { display: grid; gap: 12px; }
.faq details { background: var(--paper); border-radius: 16px; padding: 0 24px; transition: box-shadow .3s; }
.faq details[open] { box-shadow: 0 24px 40px -30px rgba(15, 22, 38, .5); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 36px 22px 0; font-family: var(--font-display); font-stretch: 104%; font-weight: 700; font-size: 1.12rem; line-height: 1.25; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 2px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding-bottom: 22px; color: var(--ink-2); }
.faq details p a { color: var(--accent); font-weight: 700; text-decoration: underline; }

@media (max-width: 1040px) { .ig-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .person-grid, .faq-grid { grid-template-columns: 1fr; } .person-photos { max-width: 340px; margin-inline: auto 12%; } }
@media (max-width: 560px) { .ig-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); scrollbar-width: none; } .ig-card { flex: 0 0 68%; scroll-snap-align: start; } }

/* páginas legais */
.legal-page .site-header { position: sticky; }
.legal { max-width: 780px; padding-block: clamp(40px, 7vw, 90px) clamp(60px, 9vw, 120px); }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); margin: 6px 0 28px; }
.legal h2 { font-family: var(--font-display); font-stretch: 105%; font-size: 1.35rem; margin: 36px 0 10px; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { padding-left: 22px; display: grid; gap: 6px; }
.legal a { color: var(--brand); text-decoration: underline; }
@media (max-width: 860px) { .legal-page .nav { position: static; display: flex; flex-direction: row; background: none; box-shadow: none; border: 0; padding: 0; } .legal-page .nav a:not(.btn) { display: none; } }

/* barra de rolagem nas cores da Qualific */
html { scrollbar-width: thin; scrollbar-color: var(--accent) var(--brand-deep); }
html::-webkit-scrollbar { width: 14px; }
html::-webkit-scrollbar-track { background: var(--brand-deep); }
html::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 8px; border: 3px solid var(--brand-deep); }
html::-webkit-scrollbar-thumb:hover { background: var(--accent-hi); }
.car-track, .ig-row { scrollbar-color: var(--accent) transparent; }

/* listas dos cards de serviço */
.svc-list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 6px; font-size: .9rem; color: var(--ink-2); }
.svc-list li { position: relative; padding-left: 16px; }
.svc-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); }
.note { margin-top: 22px; display: flex; gap: 10px; align-items: center; color: var(--ink-2); }
.note .ic { color: var(--accent); }

/* onde atendemos */
.area-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 6vw, 90px); align-items: center; }
.area-text { display: grid; gap: 22px; }
.area h2 { font-size: clamp(2.2rem, 4.8vw, 4rem); text-wrap: balance; }
.area h2 em { font-style: normal; color: var(--accent); }
.area-text > p { color: var(--ink-2); max-width: 32em; }
.city-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.city-chips a { display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px 8px 8px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-weight: 600; font-size: .92rem; transition: transform .25s var(--ease), border-color .2s; }
.city-chips a:hover, .city-chips a.is-on { transform: translateY(-3px); border-color: var(--ink); }
.city-chips b { width: 22px; height: 22px; border-radius: 50%; }
.map-card { position: relative; background: var(--paper); border-radius: 22px; padding: 12px; box-shadow: 0 40px 70px -40px rgba(15, 22, 38, .6); }
.rs-map { display: block; width: 100%; height: auto; border-radius: 12px; background: #e3e9f0; }
.rs-others path { fill: #d3dae3; stroke: #fff; stroke-width: 1; }
.rs-served path { stroke: #fff; stroke-width: 1.6; stroke-linejoin: round; cursor: pointer; transition: opacity .3s, filter .3s; }
.rs-served:has(.is-on) path:not(.is-on) { opacity: .35; }
.rs-served path.is-on { filter: brightness(1.12); }
.c0 { fill: var(--tone-fachada); background: var(--tone-fachada); }
.c1 { fill: var(--tone-pintura); background: var(--tone-pintura); }
.c2 { fill: var(--tone-telhado); background: var(--tone-telhado); }
.c3 { fill: var(--tone-imper); background: var(--tone-imper); }
.c4 { fill: #c9b88e; background: #c9b88e; }
.rs-inset { position: absolute; left: 26px; top: 26px; width: clamp(120px, 30%, 210px); height: auto; background: rgba(255, 255, 255, .95); border-radius: 14px; padding: 10px 10px 4px; box-shadow: 0 10px 26px -10px rgba(15, 22, 38, .55); }
.rs-pin { fill: var(--tone-telhado); stroke: #fff; stroke-width: 1.4; }
.rs-cap { font-family: var(--font-display); font-stretch: 105%; font-weight: 700; font-size: 11.5px; fill: var(--ink); text-anchor: middle; }
.rs-state { fill: #c8d0dc; stroke: #fff; stroke-width: 1; }
.rs-box { fill: rgba(75, 134, 6, .3); stroke: var(--accent); stroke-width: 2; }


@media (max-width: 860px) { .area-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .rs-inset { left: 18px; top: 18px; width: 38%; } .rs-label { font-size: 17px; stroke-width: 4px; } }

.hero h1 em { white-space: nowrap; }

/* rótulos do mapa */
.rs-label { font-family: var(--font-display); font-stretch: 100%; font-weight: 700; font-size: 11.5px; fill: #fff; stroke: rgba(15, 22, 38, .6); stroke-width: 3px; paint-order: stroke; stroke-linejoin: round; text-anchor: middle; dominant-baseline: central; pointer-events: none; letter-spacing: .01em; }

/* máscara dos títulos animados */
.wm { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.wi { display: inline-block; will-change: transform; }

/* rota do orçamento: linha de tinta que enche com a rolagem */
.route { --P: clamp(44px, 7vw, 96px); position: relative; list-style: none; margin: 0; padding: 0 0 0 var(--P); }
.route-line { position: absolute; left: 12px; top: 40px; bottom: 40px; width: 6px; border-radius: 6px; background: rgba(15, 22, 38, .12); }
.route-fill { position: absolute; inset: 0; border-radius: 6px; background: var(--accent); transform-origin: top; }
.route li:not(.route-line) { position: relative; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(16px, 4vw, 60px); align-items: baseline; padding: clamp(26px, 3.4vw, 44px) 0; border-bottom: 1px solid var(--line); }
.route li:nth-child(2) { border-top: 1px solid var(--line); }
.route li:not(.route-line)::before { content: ""; position: absolute; left: calc(15px - var(--P) - 13px); top: clamp(38px, 4.6vw, 58px); width: 26px; height: 26px; border-radius: 50%; background: var(--bg); border: 5px solid rgba(15, 22, 38, .2); transition: background-color .4s, border-color .4s, transform .5s var(--ease); }
.route li.is-on::before { background: var(--accent); border-color: var(--accent); transform: scale(1.18); }
.route-t { font-family: var(--font-display); font-stretch: 112%; font-weight: 800; font-size: clamp(1.7rem, 3.6vw, 3rem); line-height: 1.04; letter-spacing: -.02em; color: var(--ink); }
.fx .route-t { color: transparent; background: linear-gradient(90deg, var(--accent) 0 50%, rgba(15, 22, 38, .22) 50% 100%); background-size: 200% 100%; background-position: 100% 0; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.route-p { color: var(--ink-2); font-size: 1.08rem; max-width: 34em; }
.route-p a { color: #3a6a05; font-weight: 700; text-decoration: underline; overflow-wrap: anywhere; }
@media (max-width: 760px) { .route li:not(.route-line) { grid-template-columns: 1fr; gap: 10px; } }


/* eventos: abas, grade e lightbox */
.ev-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.ev-tabs button { font: inherit; font-family: var(--font-display); font-stretch: 105%; font-weight: 700; font-size: .95rem; display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease); }
.ev-tabs button small { font-size: .74rem; opacity: .6; font-weight: 600; }
.ev-tabs button:hover { transform: translateY(-2px); border-color: var(--ink); }
.ev-tabs button[aria-selected="true"] { background: var(--brand); color: #fff; border-color: var(--brand); }
.ev-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 19vw, 260px); grid-auto-flow: dense; gap: 12px; }
.ev-grid.mosaic { grid-auto-rows: clamp(120px, 15vw, 210px); }
.ev-grid[hidden] { display: none; }
.ev-item { position: relative; display: block; min-width: 0; border-radius: 14px; overflow: hidden; background: #cfd5dd; cursor: zoom-in; }
.ev-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; transition: transform .8s var(--ease); }
.ev-item.w2 { grid-column: span 2; }
.ev-item.h2 { grid-row: span 2; }
.ev-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(10, 15, 40, .55)); opacity: 0; transition: opacity .35s; }
.ev-item::before { content: "+"; position: absolute; z-index: 2; right: 12px; bottom: 10px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--brand); font: 700 1.4rem/1 var(--font-display); opacity: 0; transform: scale(.6); transition: opacity .3s, transform .4s var(--ease); }
.ev-item:hover img, .ev-item:focus-visible img { transform: scale(1.06); }
.ev-item:hover::after, .ev-item:hover::before, .ev-item:focus-visible::after, .ev-item:focus-visible::before { opacity: 1; transform: none; }
.ev-in { animation: evin .7s var(--ease) both; animation-delay: calc(var(--i, 0) * 45ms); }
@keyframes evin { from { opacity: 0; transform: translateY(26px) scale(.97); } }
@media (prefers-reduced-motion: reduce) { .ev-in { animation: none; } }
.lb { position: fixed; inset: 0; z-index: 450; background: rgba(8, 12, 30, .94); display: grid; place-items: center; padding: 56px 12px 28px; }
.lb[hidden] { display: none; }
.lb-frame { display: flex; align-items: center; gap: 10px; width: min(100%, 1240px); height: 100%; max-height: calc(100dvh - 90px); }
.lb-fig { flex: 1; min-width: 0; height: 100%; margin: 0; display: grid; grid-template-rows: 1fr auto; gap: 12px; justify-items: center; }
.lb-fig img { max-width: 100%; max-height: calc(100dvh - 150px); min-height: 0; width: auto; height: auto; object-fit: contain; border-radius: 10px; opacity: 0; transform: scale(.98); transition: opacity .35s, transform .45s var(--ease); align-self: center; }
.lb-fig img.is-in { opacity: 1; transform: none; }
.lb-fig figcaption { color: #dfe4f5; font-weight: 600; font-size: .92rem; letter-spacing: .04em; }
.lb-nav, .lb-close { flex: none; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .08); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background-color .2s, transform .25s var(--ease); }
.lb-nav:hover, .lb-close:hover { background: var(--accent); border-color: var(--accent); }
.lb-close { position: absolute; right: 14px; top: 10px; z-index: 2; }
@media (max-width: 900px) { .lb-nav { position: absolute; bottom: 14px; width: 46px; height: 46px; } .lb-prev { left: 14px; } .lb-next { right: 14px; } .lb { padding: 56px 8px 70px; } }
@media (max-width: 900px) { .ev-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ev-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; gap: 10px; } .ev-grid.mosaic { grid-auto-rows: 128px; } .ev-tabs button { padding: 9px 14px; } }

.route-roller { position: absolute; left: 50%; top: 0; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px rgba(75, 134, 6, .18), 0 10px 20px -8px rgba(15, 22, 38, .5); display: grid; place-items: center; color: #fff; z-index: 2; }
.route-roller .ic { width: 16px; height: 16px; }

/* mapa: cidades e nomes entram em sequência (reforço; sem JS tudo já aparece) */
@keyframes cityin { from { opacity: 0; } }
.fx .map-card.is-in .rs-served path, .fx .map-card.is-in .rs-label { animation: cityin .7s ease backwards; animation-delay: calc(var(--i, 0) * 90ms); }

/* responsividade: nada vaza para o lado */
html, body { overflow-x: clip; }
.btn { max-width: 100%; }
.cta > *, .cta .actions > * { min-width: 0; }
.cta .btn { white-space: normal; text-align: center; padding-block: 12px; }
.cta .tel { overflow-wrap: anywhere; }
.cta .actions { justify-items: stretch; }
@media (min-width: 861px) { .cta .actions { justify-items: start; } }
.cta p { max-width: 100%; }
