/* VG Construção — Construção, reforma e manutenção | stylesheet */

:root {
  --z-header: 150;
  --z-progress: 160;
  --z-fab: 180;
  --z-lightbox: 300;
  --z-menu: 400;

  /* Paleta azul-marinho: base, superfície elevada e acentos.
     Todo hex do site sai daqui — nada de cor solta pelo código. */
  --bg: #0E2148;
  --bg-alt: #16305F;
  --bg-rgb: 14, 33, 72;
  --bg-alt-rgb: 22, 48, 95;
  --border: #24406F;
  --border-light: #8FA0BF;
  --field-border: #5C7CAA;
  --text: #F2F4F8;
  --muted: #8FA0BF;
  --accent: #F5C518;
  --accent-rgb: 245, 197, 24;
  /* Azul vibrante: hover, links e detalhes de apoio.
     --accent-2 fica em bordas/preenchimentos (3:1) e --accent-2-text em texto (4.5:1). */
  --accent-2: #1E7FD4;
  --accent-2-text: #5AAAEC;

  --logo-h: 40px;

  /* Assinatura de autoria (cores próprias do autor, fora da paleta da marca) */
  --sign-pink: #FF2E88;
  --sign-lime: #C8F531;

  --font-display: 'Barlow Condensed', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* ---------- Reset & base ---------- */
* { box-sizing: border-box; }
html { scroll-padding-top: 100px; scrollbar-gutter: stable; }
html.has-sub-nav { scroll-padding-top: 156px; }
body { margin: 0; background: var(--bg); font-family: var(--font-body); }
img { max-width: 100%; }
::selection { background: var(--accent); color: var(--bg); }
a { color: var(--accent-2-text); }
a:hover { color: var(--text); }
*:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
button { font: inherit; }

.container { max-width: 1160px; margin: 0 auto; }

@keyframes osDash { from { background-position: 0 0; } to { background-position: 32px 0; } }
@keyframes osRoll { 0%, 100% { transform: translateX(0) rotate(0); } 50% { transform: translateX(4px) rotate(15deg); } }
@keyframes osTileLift { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-2px) scale(1.06); } }
@keyframes osSparkFlicker { 0%, 100% { opacity: 1; transform: scale(1); } 30% { opacity: .35; transform: scale(.9); } 60% { opacity: 1; transform: scale(1.1); } }
@keyframes osHoist { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-4px); } 70% { transform: translateY(1px); } }
@keyframes osWrenchTurn { 0%,100% { transform: rotate(0); } 40% { transform: rotate(-20deg); } 70% { transform: rotate(8deg); } }
@keyframes osSqueeze { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.8); } }
@keyframes osDrip { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(3px); } 70% { transform: translateY(-1px); } }
@keyframes osBrushStroke { 0%, 100% { transform: translateX(0) rotate(0); } 50% { transform: translateX(-3px) rotate(-8deg); } }
@keyframes osButtonShake { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-2px); } 40% { transform: translateX(2px); } 60% { transform: translateX(-1px); } 80% { transform: translateX(1px); } }
@keyframes osGalleryEnter { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: scale(1); } }
@keyframes osRadarPulse { 0% { transform: scale(.7); opacity: .8; } 100% { transform: scale(1.8); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  letter-spacing: .15em; color: var(--accent); text-transform: uppercase;
}
.h1 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(34px, 6vw, 58px); letter-spacing: .02em; text-transform: uppercase;
  color: var(--text); margin: 16px 0 0;
}
.h2 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(26px, 3.8vw, 36px); letter-spacing: .02em; text-transform: uppercase;
  color: var(--text); margin: 10px 0 0;
}
.lede { font-family: var(--font-body); font-size: 16px; color: var(--muted); max-width: 520px; margin: 12px 0 0; line-height: 1.6; }

.breadcrumb { display: flex; gap: 8px; align-items: center; font-family: var(--font-body); font-size: 13px; color: var(--muted); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent-2-text); }
.breadcrumb .current { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  letter-spacing: .05em; text-transform: uppercase; padding: 14px 24px;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  border: none; cursor: pointer; transition: transform 200ms ease;
}
.btn:hover, .btn:focus-visible { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: var(--bg); }
.btn-primary:hover, .btn-primary:focus-visible { color: var(--bg); }
.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--border-light); clip-path: none; padding: 16px 28px; transition: border-color 200ms ease, color 200ms ease; }
.btn-outline:hover, .btn-outline:focus-visible { border-color: var(--accent-2); color: var(--accent-2-text); transform: none; }
.btn-sm { padding: 10px 18px; font-size: 13px; clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); white-space: nowrap; }
.btn svg { flex-shrink: 0; }

/* Big hero/CTA "paint roller" button */
.btn-hero {
  position: relative; padding: 16px 28px;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.btn-hero.is-active { animation: osButtonShake 400ms ease; }

.btn-cta {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: .05em; text-transform: uppercase;
  padding: 16px 32px; clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  text-decoration: none; background: var(--bg); color: var(--text);
}
.btn-cta__fill {
  position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left center;
  transition: transform 500ms ease; z-index: 1; pointer-events: none;
}
.btn-cta.is-painted .btn-cta__fill { transform: scaleX(1); }
.btn-cta__roller {
  position: absolute; top: 50%; left: 0; width: 100%; z-index: 3; display: flex; pointer-events: none;
  transform: translate(-26px, -50%); transition: transform 500ms ease;
}
.btn-cta.is-painted .btn-cta__roller { transform: translate(100%, -50%); }
.btn-cta__label { position: relative; z-index: 2; display: inline-block; }
.btn-cta__text-dark { position: absolute; left: 0; top: 0; color: var(--bg); white-space: nowrap; opacity: 0; transition: opacity 250ms ease; }
.btn-cta.is-painted .btn-cta__text-light { opacity: 0; transition: opacity 250ms ease; }
.btn-cta.is-painted .btn-cta__text-dark { opacity: 1; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 600ms ease, transform 600ms ease; transition-delay: calc(var(--i, 0) * var(--stagger, 60ms)); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Concrete texture (dark sections) + hero stripes ---------- */
.noise-overlay {
  position: absolute; inset: 0; opacity: .1; pointer-events: none;
  background-image: url("../assets/img/textura-concreto.png");
  background-repeat: repeat; background-size: 360px 360px;
}
.section, .section--alt, .site-footer {
  position: relative; background-repeat: no-repeat, repeat; background-size: cover, 360px 360px;
}
.section { background-image: linear-gradient(rgba(var(--bg-rgb), .93), rgba(var(--bg-rgb), .93)), url("../assets/img/textura-concreto.png"); }
.section--alt { background-image: linear-gradient(rgba(var(--bg-alt-rgb), .93), rgba(var(--bg-alt-rgb), .93)), url("../assets/img/textura-concreto.png"); }
.site-footer { background-image: linear-gradient(rgba(var(--bg-rgb), .93), rgba(var(--bg-rgb), .93)), url("../assets/img/textura-concreto.png"); }
.hero-stripes { display: block; height: 14px; }
.hero-stripes line { transition: stroke-dashoffset 800ms ease; }
.hero-stripes.is-visible line { stroke-dashoffset: 0; }
.hero-stripes line:nth-child(1) { transition-delay: 200ms; } .hero-stripes line:nth-child(2) { transition-delay: 225ms; }
.hero-stripes line:nth-child(3) { transition-delay: 250ms; } .hero-stripes line:nth-child(4) { transition-delay: 275ms; }
.hero-stripes line:nth-child(5) { transition-delay: 300ms; } .hero-stripes line:nth-child(6) { transition-delay: 325ms; }
.hero-stripes line:nth-child(7) { transition-delay: 350ms; } .hero-stripes line:nth-child(8) { transition-delay: 375ms; }
.hero-stripes line:nth-child(9) { transition-delay: 400ms; } .hero-stripes line:nth-child(10) { transition-delay: 425ms; }
.hero-stripes line:nth-child(11) { transition-delay: 450ms; } .hero-stripes line:nth-child(12) { transition-delay: 475ms; }
.hero-stripes line:nth-child(13) { transition-delay: 500ms; } .hero-stripes line:nth-child(14) { transition-delay: 525ms; }
.hero-stripes line:nth-child(15) { transition-delay: 550ms; } .hero-stripes line:nth-child(16) { transition-delay: 575ms; }

/* ---------- Cor dos traços SVG (desenho técnico, ícones e detalhes) ---------- */
.hero-stripes line { stroke: var(--accent); }
.hero__cotas-v line, .hero__cotas-h line { stroke: var(--border-light); }
.service-card__screw circle, .service-card__screw line { stroke: var(--border-light); }
.service-card__icon { stroke: var(--accent); }
.photo-fallback svg { stroke: var(--border-light); }
.commit-card svg { stroke: var(--accent); }
.contact-list__item svg { stroke: var(--muted); color: var(--muted); }
a.contact-list__item svg { stroke: var(--accent); color: var(--accent); }
.faq-item__icon svg { stroke: var(--accent); }
.tile__overlay svg { stroke: var(--accent-2-text); }
.area-block__radar line, .area-block__radar circle { stroke: var(--border); }
.area-block__radar circle.ring { stroke: var(--border-light); }
.area-block__radar circle.pulse { stroke: var(--accent); }
.area-block__radar circle.center { fill: var(--accent); stroke: none; }
.btn-cta__roller { color: var(--bg); }
.compare__handle { color: var(--bg); }

/* ---------- Scroll progress bar (header) ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 4px; background: var(--bg);
  z-index: var(--z-progress); overflow: visible; transition: opacity 150ms ease;
}
.scroll-progress.is-hidden { opacity: 0; pointer-events: none; }
.scroll-progress__tick { position: absolute; top: 50%; width: 1px; height: 10px; background: var(--border); transform: translateY(-50%); }
.scroll-progress__bubble {
  position: absolute; top: 50%; left: 0; width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 6px rgba(var(--accent-rgb), .6); transform: translate(-50%, -50%);
  transition: left 80ms linear;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 4px; left: 0; right: 0; z-index: var(--z-header);
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; background: transparent; border-bottom: 1px solid transparent;
  transition: padding 250ms ease, background 250ms ease, border-color 250ms ease, box-shadow 250ms ease;
}
.site-header.is-scrolled {
  padding: 12px 24px; background: rgba(var(--bg-rgb), .97); border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35); backdrop-filter: blur(6px);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__bar { width: 10px; height: 28px; background: var(--accent); flex-shrink: 0; }
.brand__logo { height: var(--logo-h); width: auto; flex-shrink: 0; display: block; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: .03em; color: var(--text); text-transform: uppercase; }
.brand__tag { font-family: var(--font-body); font-weight: 500; font-size: 10px; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; margin-top: 2px; }

.nav-desktop { display: flex; align-items: center; gap: 28px; }
.nav-link {
  font-family: var(--font-display); font-weight: 600; font-size: 13px; letter-spacing: .04em; text-transform: uppercase;
  color: var(--text); text-decoration: none; padding-bottom: 4px; border-bottom: 2px solid transparent;
  transition: color 200ms ease, border-color 200ms ease;
}
.nav-link:hover { color: var(--accent-2-text); }
.nav-link.is-active { color: var(--accent); border-color: var(--accent); }

.hamburger {
  display: none; width: 42px; height: 42px; flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; background: transparent; border: 1px solid var(--border-light); cursor: pointer; flex-shrink: 0;
}
.hamburger span { width: 20px; height: 2px; background: var(--text); }

.header-spacer { height: 90px; }

.mobile-menu {
  position: fixed; inset: 0; height: 100dvh; width: 100vw; background: var(--bg); z-index: var(--z-menu);
  display: flex; flex-direction: column; padding: 24px 24px 32px; box-sizing: border-box;
  transform: translateY(-100%); transition: transform 250ms ease, visibility 0s linear 250ms;
  visibility: hidden; pointer-events: none;
}
.mobile-menu.is-open { transform: translateY(0); visibility: visible; pointer-events: auto; transition: transform 250ms ease; }
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; }
.mobile-menu__brand { display: flex; align-items: center; gap: 10px; }
.mobile-menu__top .brand__logo { height: 36px; }
.mobile-menu__close { width: 42px; height: 42px; background: transparent; border: 1px solid var(--border-light); color: var(--text); font-size: 22px; line-height: 1; cursor: pointer; }
.mobile-menu__nav { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; }
.mobile-menu__nav .nav-link {
  font-size: 30px; opacity: 0; transform: translateY(14px); transition: opacity 350ms ease, transform 350ms ease; border-bottom: none;
}
.mobile-menu.is-open .mobile-menu__nav .nav-link { opacity: 1; transform: translateY(0); }
.mobile-menu__nav .nav-link:nth-child(1) { transition-delay: 150ms; } .mobile-menu__nav .nav-link:nth-child(2) { transition-delay: 200ms; }
.mobile-menu__nav .nav-link:nth-child(3) { transition-delay: 250ms; } .mobile-menu__nav .nav-link:nth-child(4) { transition-delay: 300ms; }
.mobile-menu__nav .nav-link:nth-child(5) { transition-delay: 350ms; }
.mobile-menu__footer {
  display: flex; flex-direction: column; align-items: center; gap: 16px; flex-shrink: 0;
  opacity: 0; transform: translateY(10px); transition: opacity 350ms ease, transform 350ms ease;
}
.mobile-menu.is-open .mobile-menu__footer { opacity: 1; transform: translateY(0); transition-delay: 250ms; }
.mobile-menu__phone { font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: .02em; color: var(--text); text-decoration: none; }
.mobile-menu__wa { display: flex; justify-content: center; align-items: center; gap: 8px; background: var(--accent); color: var(--bg); font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: .05em; text-transform: uppercase; padding: 16px; text-decoration: none; width: 100%; box-sizing: border-box; }

@media (max-width: 899px) {
  .nav-desktop { display: none; }
  .hamburger { display: flex; }
}
@media (max-width: 420px) {
  :root { --logo-h: 34px; }
  .brand { gap: 8px; }
  .brand__name { font-size: 17px; }
  .brand__tag { font-size: 9px; letter-spacing: .1em; }
  .site-header { padding: 16px 16px; }
  .site-header.is-scrolled { padding: 10px 16px; }
}
@media (min-width: 900px) {
  .mobile-menu { display: none; }
}

/* ---------- Footer ---------- */
.site-footer { background-color: var(--bg); border-top: 1px solid var(--border); padding: 64px 24px 32px; position: relative; overflow: hidden; }
.site-footer__stripe { height: 10px; position: absolute; top: 0; left: 0; right: 0; background: repeating-linear-gradient(135deg, var(--accent) 0px, var(--accent) 8px, var(--bg) 8px, var(--bg) 16px); }
.site-footer__grid { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; }
.site-footer .brand__logo { height: 48px; }
.site-footer h3 { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .1em; color: var(--accent); text-transform: uppercase; margin: 0; }
.site-footer__nav { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.site-footer__nav a, .site-footer__contact a { font-family: var(--font-body); font-size: 14px; color: var(--text); text-decoration: none; transition: color 200ms ease; }
.site-footer__nav a:hover, .site-footer__contact a:hover { color: var(--accent-2-text); }
.site-footer__contact { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.site-footer__contact span { font-family: var(--font-body); font-size: 14px; color: var(--muted); }
.site-footer__area { font-family: var(--font-body); font-size: 14px; line-height: 1.6; color: var(--muted); margin: 16px 0 0; }
.site-footer__badge-wrap { display: flex; align-items: flex-start; justify-content: flex-end; }
.site-footer__badge { width: 88px; height: 88px; border: 1.5px dashed var(--border-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; transform: rotate(-8deg); flex-shrink: 0; }
.site-footer__badge-text { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.site-footer__badge-text b { font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: .05em; color: var(--accent); }
.site-footer__badge-text small { font-family: var(--font-body); font-size: 8px; letter-spacing: .1em; color: var(--muted); margin-top: 2px; }
.site-footer__bottom { max-width: 1160px; margin: 40px auto 0; padding-top: 20px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }
.site-footer__bottom span { font-family: var(--font-body); font-size: 12px; color: var(--muted); }

/* ---------- Floating WhatsApp button ---------- */
.fab-wa {
  position: fixed; bottom: 20px; right: 20px; width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: var(--bg);
  display: none; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(0, 0, 0, .4); z-index: var(--z-fab);
  opacity: 0; transform: scale(.8); transition: opacity 200ms ease, transform 200ms ease;
}
.fab-wa.is-visible { display: flex; opacity: 1; transform: scale(1); }
@media (min-width: 780px) { .fab-wa { display: none !important; } }

/* ---------- Hero (index) ---------- */
.hero {
  position: relative; overflow: hidden; background: var(--bg); padding: 56px 24px 56px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 48px; min-height: 600px;
}
.hero__copy { flex: 1 1 420px; min-width: 300px; position: relative; z-index: 2; display: flex; gap: 14px; align-items: flex-start; }
.hero__cotas-v { height: 220px; flex-shrink: 0; margin-top: 30px; overflow: visible; }
.hero__cotas-v line { stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 900ms ease 300ms; }
.hero.is-revealed .hero__cotas-v line, .hero.is-revealed .hero__cotas-h line { stroke-dashoffset: 0; }
.hero__cotas-v text { fill: var(--muted); font-family: var(--font-body); font-size: 7px; text-anchor: middle; }
.hero__title-wrap { position: relative; }
.hero__cotas-h { position: absolute; top: -6px; left: 0; width: 100%; height: 20px; overflow: visible; }
.hero__cotas-h line { stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 900ms ease 300ms; }
.hero__cotas-label { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); font-family: var(--font-body); font-size: 10px; letter-spacing: .08em; color: var(--muted); }
.hero__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(36px, 6vw, 64px); line-height: 1.05; letter-spacing: .02em; text-transform: uppercase; color: var(--text); margin: 18px 0 0; }
.hero__title em { font-style: normal; color: var(--accent); }
.hero__lede { font-family: var(--font-body); font-size: 17px; line-height: 1.6; color: var(--muted); margin: 22px 0 0; max-width: 480px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.hero__hammer, .hero__spark { position: absolute; top: -14px; right: 6px; opacity: 0; transform-origin: 80% 80%; }
.hero__spark { top: -2px; right: -4px; }
.hero__cta.is-hammering .hero__hammer { animation: osHammerSwing 550ms ease-out; }
.hero__cta.is-hammering .hero__spark { animation: osSpark 550ms ease-out; }
@keyframes osHammerSwing { 0% { transform: rotate(-55deg); opacity: 0; } 15% { opacity: 1; } 55% { transform: rotate(6deg); } 70% { transform: rotate(-8deg); } 100% { transform: rotate(-55deg); opacity: 0; } }
@keyframes osSpark { 0% { opacity: 0; transform: scale(.5); } 30% { opacity: 1; transform: scale(1.15); } 60% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(.8); } }

.hero__art { flex: 1 1 320px; min-width: 260px; display: flex; justify-content: center; position: relative; z-index: 2; }
.hero__art img { width: 380px; max-width: 100%; aspect-ratio: 1 / 1; height: auto; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .5)); }
.hero__art-fallback { width: 280px; height: 280px; border: 1px solid var(--border-light); display: flex; align-items: center; justify-content: center; }

.hero--inner { padding: 56px 24px 0; min-height: 0; }
.hero--inner .container { position: relative; z-index: 2; }
.hero--inner .hero-stripes-wrap { height: 14px; margin-top: 32px; position: relative; z-index: 2; }

/* ---------- Reveal fade blocks (index sections use plain reveal) ---------- */
.section { padding: 72px 24px; background-color: var(--bg); }
.section--alt { background-color: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ---------- Credibility stats ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; margin-top: 24px; }
.stat { border-left: 2px solid var(--accent); padding-left: 18px; }
.stat b { font-family: var(--font-display); font-weight: 800; font-size: clamp(34px, 5vw, 48px); color: var(--text); line-height: 1; display: block; }
.stat span { font-family: var(--font-body); font-size: 13px; letter-spacing: .05em; color: var(--muted); text-transform: uppercase; margin-top: 8px; display: block; }
.stat--note { display: flex; flex-direction: column; justify-content: center; }
.stat--note b { font-size: clamp(18px, 3vw, 24px); color: var(--accent); line-height: 1.15; text-transform: uppercase; }

/* ---------- Divider stripes ---------- */
.divider { height: 14px; background: var(--bg); overflow: hidden; }

/* ---------- Services grid (index cards) ---------- */
.service-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 40px; }
.service-card {
  display: block; position: relative; text-decoration: none; background: var(--bg-alt); border: 1px solid var(--border-light);
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  padding: 30px 24px; transition: border-color 200ms ease, transform 200ms ease;
}
.service-card:hover, .service-card:focus-visible { border-color: var(--accent-2); transform: translateY(-6px); }
.service-card__screw { position: absolute; }
.service-card__screw--tl { top: 10px; left: 10px; } .service-card__screw--tr { top: 6px; right: 6px; }
.service-card__screw--bl { bottom: 6px; left: 6px; } .service-card__screw--br { bottom: 10px; right: 10px; }
.service-card.is-visible .service-card__screw { transform: rotate(90deg); transition: transform 500ms ease; }
.service-card__num { font-family: var(--font-display); font-weight: 800; font-size: 13px; letter-spacing: .1em; color: var(--muted); position: absolute; top: 20px; right: 22px; }
.service-card__icon { display: block; transition: transform 200ms ease, opacity 200ms ease; }
.service-card:hover .service-card__icon { animation-duration: 400ms; animation-timing-function: ease; }
/* 01 guindaste iça, 02 desempenadeira passa, 03 rolo gira, 04 peça assenta,
   05 faísca pisca, 06 torneira pinga, 07 manta comprime, 08 chave aperta. */
.service-card:nth-of-type(1):hover .service-card__icon { animation-name: osHoist; }
.service-card:nth-of-type(2):hover .service-card__icon { animation-name: osBrushStroke; }
.service-card:nth-of-type(3):hover .service-card__icon { animation-name: osRoll; }
.service-card:nth-of-type(4):hover .service-card__icon { animation-name: osTileLift; }
.service-card:nth-of-type(5):hover .service-card__icon { animation-name: osSparkFlicker; }
.service-card:nth-of-type(6):hover .service-card__icon { animation-name: osDrip; }
.service-card:nth-of-type(7):hover .service-card__icon { animation-name: osSqueeze; }
.service-card:nth-of-type(8):hover .service-card__icon { animation-name: osWrenchTurn; }
.service-card.is-pressed { transform: translateY(-2px) scale(.985); }
.service-card__title { font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: .02em; text-transform: uppercase; color: var(--text); display: block; margin-top: 16px; }
.service-card__desc { font-family: var(--font-body); font-size: 14px; color: var(--muted); line-height: 1.5; display: block; margin-top: 8px; }
.service-card__link { font-family: var(--font-body); font-weight: 600; font-size: 13px; color: var(--text); display: block; margin-top: 16px; }
.service-card__link span { color: var(--accent); transition: color 200ms ease; }
.service-card:hover .service-card__link span, .service-card:focus-visible .service-card__link span { color: var(--accent-2-text); }

/* ---------- Steps (how it works) ---------- */
.steps-wrap { position: relative; margin-top: 56px; }
.steps-dash { position: absolute; top: 32px; left: 12%; right: 12%; height: 2px; background-image: repeating-linear-gradient(90deg, var(--accent) 0, var(--accent) 8px, transparent 8px, transparent 16px); z-index: 1; transform: scaleX(0); transform-origin: left center; transition: transform 700ms ease; }
.steps-wrap.is-visible .steps-dash { transform: scaleX(1); }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; position: relative; z-index: 2; }
.step { text-align: center; }
.step__img {
  display: block; width: 96px; height: 96px; aspect-ratio: 1 / 1; object-fit: contain;
  margin: 0 auto 18px; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .45));
}
.step__frame {
  width: 96px; height: 96px; aspect-ratio: 1 / 1; margin: 0 auto 18px; background: var(--bg-alt);
  border: 1px solid var(--border-light); overflow: hidden;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}
.step__frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.step__num { width: 64px; height: 64px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); display: flex; align-items: center; justify-content: center; margin: 0 auto; font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--accent); }
.step__title { font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: .03em; text-transform: uppercase; color: var(--text); margin: 18px 0 0; }
.step__desc { font-family: var(--font-body); font-size: 14px; color: var(--muted); line-height: 1.6; margin: 8px 0 0; }

/* ---------- Gallery preview (index) ---------- */
.gallery-preview { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 140px; gap: 12px; margin-top: 40px; }
.gallery-preview__tile { position: relative; overflow: hidden; border: 1px solid var(--border-light); }
.gallery-preview__tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-preview__tile:nth-child(1) { grid-column: 1 / 3; grid-row: 1 / 3; }
.gallery-preview__tile:nth-child(2) { grid-column: 3 / 5; grid-row: 1; }
.gallery-preview__tile:nth-child(3) { grid-column: 3 / 4; grid-row: 2; }
.gallery-preview__tile:nth-child(4) { grid-column: 4 / 5; grid-row: 2; }
@media (max-width: 700px) {
  .gallery-preview { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .gallery-preview__tile:nth-child(1) { grid-column: 1 / 2; grid-row: 1 / 2; }
  .gallery-preview__tile:nth-child(2) { grid-column: 2 / 3; grid-row: 1 / 2; }
  .gallery-preview__tile:nth-child(3) { grid-column: 1 / 2; grid-row: 2 / 3; }
  .gallery-preview__tile:nth-child(4) { grid-column: 2 / 3; grid-row: 2 / 3; }
}
.gallery-preview__more { text-align: center; margin-top: 36px; }
.gallery-preview__more a { display: inline-flex; align-items: center; gap: 8px; color: var(--accent-2-text); font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid var(--accent-2); padding-bottom: 4px; }

/* ---------- Photo fallback (broken image placeholder) ---------- */
.photo-frame { position: relative; }
.photo-fallback {
  position: absolute; inset: 0; background: var(--bg-alt); display: none; flex-direction: column; align-items: center;
  justify-content: center; gap: 8px;
}
.photo-frame.is-broken .photo-fallback { display: flex; }
.photo-frame.is-broken img { visibility: hidden; }
.photo-fallback span { font-family: var(--font-body); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }

/* ---------- CTA banner (all pages) ---------- */
.cta-banner { background: var(--accent); padding: 72px 24px; text-align: center; }
.cta-banner .container { max-width: 720px; }
.cta-banner__eyebrow { font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: .15em; color: var(--bg); text-transform: uppercase; opacity: .7; }
.cta-banner__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 4.5vw, 42px); letter-spacing: .02em; text-transform: uppercase; color: var(--bg); margin: 16px 0 0; }
.cta-banner__phone { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(32px, 6vw, 52px); letter-spacing: .02em; color: var(--bg); text-decoration: none; margin: 20px 0 0; }
.cta-banner__sub { font-family: var(--font-body); font-size: 16px; color: var(--bg); opacity: .8; margin: 12px 0 28px; }

/* ---------- Services page ---------- */
.subnav {
  position: sticky; top: 72px; z-index: 120; background: rgba(var(--bg-rgb), .97); border-bottom: 1px solid var(--border);
  backdrop-filter: blur(6px); overflow-x: auto; white-space: nowrap;
}
.subnav__inner { display: flex; gap: 2px; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.subnav a {
  font-family: var(--font-display); font-weight: 600; font-size: 12px; letter-spacing: .04em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; white-space: nowrap; display: inline-block; padding: 14px 14px;
  border-bottom: 2px solid transparent; transition: color 200ms ease, border-color 200ms ease; flex-shrink: 0;
}
.subnav a:hover { color: var(--accent-2-text); }
.subnav a.is-active { color: var(--accent); border-color: var(--accent); }

.service-block {
  display: flex; flex-wrap: wrap; align-items: center; gap: 36px; padding: 56px 24px; position: relative;
  border-bottom: 1px solid var(--border);
}
.service-block:nth-of-type(even) { flex-direction: row-reverse; }
@media (max-width: 780px) { .service-block, .service-block:nth-of-type(even) { flex-direction: column; } }
.service-block__num {
  position: absolute; top: 12px; right: 20px; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(80px, 10vw, 140px); color: var(--accent); opacity: .08; line-height: 1; pointer-events: none; user-select: none;
}
.service-block:nth-of-type(even) .service-block__num { right: auto; left: 20px; }
.service-block__media { flex: 1 1 340px; min-width: 260px; }
.service-block__frame { width: 100%; aspect-ratio: 4/3; border: 1px solid var(--border-light); clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px); overflow: hidden; position: relative; background: var(--bg-alt); }
.service-block__frame .photo-fallback { position: absolute; inset: 0; display: flex; }
.service-block__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.service-block__frame.is-broken img { visibility: hidden; }
.service-block__frame:not(.is-broken) .photo-fallback { display: none; }
.service-block__text { flex: 1 1 380px; min-width: 280px; position: relative; z-index: 2; }
.service-block__desc { font-family: var(--font-body); font-size: 15px; line-height: 1.6; color: var(--muted); max-width: 460px; margin: 14px 0 0; }
.service-block__items { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-direction: column; gap: 10px; }
.service-block__items li { display: flex; align-items: center; gap: 10px; font-family: var(--font-body); font-size: 14px; color: var(--text); line-height: 1.5; }
.service-block__items li::before { content: ''; width: 14px; height: 1px; background: var(--accent); flex-shrink: 0; }
.service-block__cta { margin-top: 20px; }

/* ---------- Gallery page ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; padding: 40px 24px 0; max-width: 1160px; margin: 0 auto; }
.filter-btn {
  font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
  padding: 9px 16px; cursor: pointer; clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
  border: 1px solid var(--border-light); background: transparent; color: var(--text);
  transition: background 200ms ease, border-color 200ms ease, color 200ms ease;
}
.filter-btn:hover { border-color: var(--accent-2); color: var(--accent-2-text); }
.filter-btn.is-active, .filter-btn.is-active:hover { border-color: var(--accent); background: var(--accent); color: var(--bg); }

.gallery-grid {
  max-width: 1160px; margin: 0 auto; padding: 32px 24px 80px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px;
}
.tile {
  position: relative; overflow: hidden; border: 1px solid var(--border-light); padding: 0; background: var(--bg-alt);
  cursor: pointer; display: block; width: 100%; aspect-ratio: 4 / 3; grid-row: auto !important;
  animation: osGalleryEnter 400ms ease both; transition: opacity 250ms ease, transform 250ms ease;
}
.tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tile.is-hidden { display: none; }
.tile.is-leaving { opacity: 0; transform: scale(.85); pointer-events: none; }
@media (max-width: 700px) {
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 24px 16px 56px; }
}

.compare-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; margin-top: 32px; }
.compare { position: relative; width: 100%; aspect-ratio: 4/3; overflow: hidden; border: 1px solid var(--border-light); user-select: none; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.compare__before-wrap { position: absolute; inset: 0; overflow: hidden; width: 50%; pointer-events: none; }
.compare__before-wrap img { width: 200%; }
.compare__tag { position: absolute; top: 10px; background: rgba(var(--bg-rgb), .75); color: var(--text); font-family: var(--font-display); font-weight: 700; font-size: 11px; letter-spacing: .1em; padding: 4px 8px; }
.compare__tag--after { right: 10px; }
.compare__tag--before { left: 10px; }
.compare__handle-line { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: var(--accent); transform: translateX(-1px); pointer-events: none; }
.compare__handle { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 38px; height: 38px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; pointer-events: none; box-shadow: 0 4px 12px rgba(0, 0, 0, .4); }
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: ew-resize; }
.compare__range::-webkit-slider-thumb { width: 1px; height: 1px; opacity: 0; }
.compare__range::-moz-range-thumb { width: 1px; height: 1px; opacity: 0; border: none; }
.compare__label { display: block; font-family: var(--font-body); font-size: 13px; color: var(--muted); margin-top: 12px; }

.lightbox { position: fixed; inset: 0; background: rgba(var(--bg-rgb), .95); z-index: var(--z-lightbox); display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.is-open { display: flex; }
.lightbox__close { position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; background: transparent; border: 1px solid var(--border-light); color: var(--text); font-size: 22px; line-height: 1; cursor: pointer; }
.lightbox__counter { position: absolute; top: 28px; left: 24px; font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: .08em; color: var(--accent); }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; background: rgba(var(--bg-alt-rgb), .8); border: 1px solid var(--border-light); color: var(--text); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lightbox__nav--prev { left: 16px; } .lightbox__nav--next { right: 16px; }
.lightbox__body { max-width: min(90vw, 900px); max-height: 80vh; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lightbox__body img { max-width: 100%; max-height: 70vh; object-fit: contain; border: 1px solid var(--border); }
.lightbox__caption { font-family: var(--font-body); font-size: 14px; color: var(--text); }

/* ---------- Sobre page ---------- */
.intro { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.intro__photo { flex: 1 1 300px; min-width: 260px; max-width: 340px; position: relative; }
.intro__frame { width: 100%; aspect-ratio: 3/4; border: 1px solid var(--border-light); clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px); overflow: hidden; position: relative; background: var(--bg-alt); }
.intro__frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.intro__badge { position: absolute; bottom: -22px; right: -22px; width: 84px; height: 84px; border-radius: 50%; background: var(--bg); border: 1.5px dashed var(--accent); display: flex; align-items: center; justify-content: center; transform: rotate(-8deg); }
.intro__badge-text { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.intro__badge-text b { font-family: var(--font-display); font-weight: 800; font-size: 19px; letter-spacing: .05em; color: var(--accent); }
.intro__badge-text small { font-family: var(--font-body); font-size: 8px; letter-spacing: .1em; color: var(--muted); margin-top: 2px; }
.intro__copy { flex: 1 1 380px; min-width: 280px; }
.intro__copy p { font-family: var(--font-body); font-size: 16px; line-height: 1.65; color: var(--muted); max-width: 520px; margin: 16px 0 0; }

.timeline { position: relative; padding-left: 56px; margin-top: 44px; max-width: 760px; }
.timeline__rail { position: absolute; left: 19px; top: 6px; bottom: 6px; width: 2px; background-image: linear-gradient(var(--border) 0, var(--border) 6px, transparent 6px, transparent 12px); background-size: 2px 12px; background-repeat: repeat-y; }
.timeline__progress { position: absolute; left: 19px; top: 6px; width: 2px; height: 0%; background: var(--accent); transition: height 80ms linear; }
.timeline__item { position: relative; margin-bottom: 44px; }
.timeline__num { position: absolute; left: -56px; top: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: 16px; color: var(--accent); flex-shrink: 0; }
.timeline__title { font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: .02em; text-transform: uppercase; color: var(--text); margin: 0 0 6px; }
.timeline__desc { font-family: var(--font-body); font-size: 14px; color: var(--muted); line-height: 1.6; margin: 0; max-width: 480px; }

.commit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 36px; }
.commit-card { background: var(--bg-alt); border: 1px solid var(--border-light); clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px); padding: 24px 22px; }
.commit-card__title { font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: .02em; text-transform: uppercase; color: var(--text); display: block; margin-top: 14px; }
.commit-card__desc { font-family: var(--font-body); font-size: 13px; color: var(--muted); line-height: 1.5; display: block; margin-top: 6px; }

.area-block { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.area-block__radar { flex: 1 1 260px; min-width: 220px; display: flex; justify-content: center; }
.area-block__radar circle.pulse { transform-origin: 110px 110px; animation: osRadarPulse 2.6s ease-out infinite; }
.area-block__copy { flex: 2 1 380px; min-width: 280px; }
.area-block__lede { font-family: var(--font-body); font-size: 15px; color: var(--muted); line-height: 1.6; margin: 14px 0 22px; max-width: 480px; }
.neighborhoods { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px 24px; }
.neighborhoods span { font-family: var(--font-body); font-size: 14px; color: var(--text); display: flex; align-items: center; gap: 8px; }
.neighborhoods span::before { content: ''; width: 6px; height: 6px; background: var(--accent); flex-shrink: 0; }

/* ---------- Contato page ---------- */
.contact-grid { max-width: 1160px; margin: 0 auto; padding: 64px 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 48px; align-items: start; }
.contact-wa { display: flex; align-items: center; gap: 14px; background: var(--accent); color: var(--bg); text-decoration: none; padding: 20px 22px; margin-top: 24px; clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px); transition: transform 200ms ease; }
.contact-wa:hover, .contact-wa:focus-visible { transform: translateY(-2px); }
.contact-wa strong { font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: .03em; text-transform: uppercase; line-height: 1.1; color: var(--bg); display: block; }
.contact-wa small { font-family: var(--font-body); font-size: 13px; opacity: .75; margin-top: 3px; display: block; color: var(--bg); }
.contact-list { display: flex; flex-direction: column; gap: 2px; margin-top: 24px; }
.contact-list__item { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--border); text-decoration: none; transition: border-color 200ms ease; }
a.contact-list__item:hover { border-bottom-color: var(--accent-2); }
a.contact-list__item:hover .contact-list__value, a.contact-list__item:hover .contact-list__value--body { color: var(--accent-2-text); }
.contact-list__item svg { flex-shrink: 0; }
.contact-list__label { font-family: var(--font-body); font-size: 11px; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; display: block; }
.contact-list__value { font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: .02em; color: var(--text); display: block; transition: color 200ms ease; }
.contact-list__value--body { font-family: var(--font-body); font-weight: 500; font-size: 14px; color: var(--text); word-break: break-all; display: block; transition: color 200ms ease; }

.contact-highlight {
  background: var(--bg-alt); border: 1px solid var(--border);
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
  padding: 40px 32px; display: flex; flex-direction: column; align-items: flex-start;
}
.contact-highlight__icon {
  width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: var(--bg); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.contact-highlight p { font-family: var(--font-body); font-size: 15px; color: var(--muted); line-height: 1.6; margin: 10px 0 28px; max-width: 380px; }

.faq-list { display: flex; flex-direction: column; gap: 2px; margin-top: 32px; max-width: 760px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: transparent; border: none; padding: 20px 0; cursor: pointer; text-align: left; }
.faq-item__q span:first-child { font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: .02em; text-transform: uppercase; color: var(--text); transition: color 200ms ease; }
.faq-item.is-open .faq-item__q span:first-child { color: var(--accent); }
.faq-item__icon { display: flex; flex-shrink: 0; transition: transform 250ms ease; }
.faq-item.is-open .faq-item__icon { transform: rotate(180deg); }
.faq-item__panel { display: grid; grid-template-rows: 0fr; overflow: hidden; transition: grid-template-rows 280ms ease; }
.faq-item.is-open .faq-item__panel { grid-template-rows: 1fr; }
.faq-item__panel-inner { min-height: 0; overflow: hidden; }
.faq-item__panel p { font-family: var(--font-body); font-size: 15px; color: var(--muted); line-height: 1.65; margin: 0; padding: 0 0 20px; max-width: 620px; }

/* ---------- Assinatura de autoria (rodapé) ---------- */
.site-footer__sign {
  max-width: 1160px; margin: 16px auto 0; padding-top: 4px;
  border-top: 1px solid var(--border); display: flex; justify-content: flex-end;
}
.signature {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 2px;
  font-family: var(--font-body); font-size: 13px; line-height: 1.4; letter-spacing: .01em;
  color: var(--muted); text-decoration: none; opacity: .65; transition: opacity 250ms ease;
}
.signature:hover, .signature:focus-visible { color: var(--muted); opacity: 1; }
.signature__text { position: relative; display: inline-block; }
/* linha em verde lima que se desenha da esquerda para a direita */
.signature__text::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
  background: var(--sign-lime); transform: scaleX(0); transform-origin: left center;
  transition: transform 250ms ease;
}
.signature:hover .signature__text::after,
.signature:focus-visible .signature__text::after { transform: scaleX(1); }
/* Os "i" usam o glifo sem pingo (ı) e ganham o ponto desenhado em CSS:
   no tamanho do rodapé o pingo da fonte fica pequeno demais. */
.signature__i { display: inline-block; position: relative; line-height: 1; }
/* 1ex = altura-x da fonte em uso e .145em = distância da base da caixa até a
   linha de base (line-height: 1), então o ponto cai onde cairia o pingo real. */
.signature__i::before {
  content: ''; position: absolute; left: 50%; bottom: calc(1ex + .145em + 1px);
  width: 4px; height: 4px; border-radius: 50%; transform: translateX(-50%);
}
.signature__i--pink::before { background: var(--sign-pink); }
.signature__i--lime::before { background: var(--sign-lime); }
/* ponto final, mesmo tratamento */
.signature__stop { display: inline-block; position: relative; width: 4px; line-height: 1; }
/* span vazio: a linha de base é a própria borda inferior, então bottom: 0 assenta o ponto nela */
.signature__stop::before {
  content: ''; position: absolute; left: 0; bottom: 0; width: 4px; height: 4px;
  border-radius: 50%; background: var(--sign-lime);
}

@media (max-width: 720px) {
  .site-footer__sign { justify-content: center; }
  .signature { opacity: .8; }
}
