/* ==========================================================
   Francisco Construções — estilos
   Paleta: concreto, grafite e laranja de segurança
   ========================================================== */
:root {
  --paper: #ECE8E1;
  --paper-2: #E2DDD4;
  --ink: #151513;
  --ink-2: #2B2A26;
  --muted: #6D685F;
  --line: rgba(21, 21, 19, .14);
  --accent: #FF5B14;
  --accent-2: #E84A06;
  --dark: #131311;
  --dark-2: #1C1C19;
  --on-dark: #EDE9E2;
  --on-dark-muted: #9A958B;
  --line-dark: rgba(237, 233, 226, .14);

  --f-sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1440px;
  --r: 4px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.55;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -.02em; line-height: .98; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.mono { font-family: var(--f-mono); font-size: .78em; letter-spacing: .02em; text-transform: uppercase; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--paper); padding: 10px 14px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: #fff; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  color: var(--muted); margin-bottom: 1.6rem;
}
[data-theme="dark"] .eyebrow { color: var(--on-dark-muted); }
.eyebrow .dot { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 0 4px rgba(255, 91, 20, .18); animation: pulse 2.2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(255, 91, 20, 0); } }

/* ---------- botões ---------- */
.btn {
  --bg: var(--ink); --fg: var(--paper);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .95em 1.45em; border-radius: 999px; border: 1px solid transparent;
  background: var(--bg); color: var(--fg); text-decoration: none; font-weight: 600;
  font-variation-settings: "wdth" 100; line-height: 1; white-space: nowrap;
  overflow: hidden; isolation: isolate; transition: transform .4s var(--ease), color .4s var(--ease);
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink);
  transform: translateY(101%); border-radius: inherit; transition: transform .5s var(--ease);
}
.btn:hover::after { transform: translateY(0); }
.btn:active { transform: scale(.97); }
.btn--accent { --bg: var(--accent); --fg: #fff; }
.btn--dark { --bg: var(--ink); --fg: var(--paper); }
.btn--dark::after { background: var(--accent); }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: var(--line); }
.btn--ghost:hover { color: var(--paper); }
.btn--sm { padding: .7em 1.1em; font-size: .9rem; }
.btn--lg { padding: 1.15em 1.7em; font-size: 1.02rem; }
.ico { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- loader / overlay ---------- */
.loader { display: none; }
.js .loader {
  display: grid; place-items: center; position: fixed; inset: 0; z-index: 300; pointer-events: none; color: var(--paper);
}
.loader__panel { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--ink); }
.loader__panel--a { top: 0; }
.loader__panel--b { bottom: 0; }
.loader__inner { position: relative; display: grid; gap: 14px; width: min(420px, 80vw); }
.loader__label { color: var(--on-dark-muted); }
.loader__count { font-size: clamp(72px, 14vw, 180px); font-weight: 800; line-height: .85; font-variation-settings: "wdth" 70; letter-spacing: -.04em; }
.loader__count small { font-size: .3em; color: var(--accent); margin-left: .1em; }
.loader__bar { height: 2px; background: var(--line-dark); overflow: hidden; }
.loader__bar i { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }

/* ---------- header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  display: flex; align-items: center; gap: 24px; padding-inline: var(--gutter);
  transition: transform .5s var(--ease), background-color .4s, color .4s, box-shadow .4s;
}
.header.is-solid { background: rgba(236, 232, 225, .86); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 1px 0 var(--line); }
.header.is-dark { color: var(--on-dark); }
.header.is-dark.is-solid { background: rgba(19, 19, 17, .82); box-shadow: 0 1px 0 var(--line-dark); }
.header.is-hidden { transform: translateY(-100%); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark { width: 36px; height: 36px; flex: none; }
.brand__name { display: grid; line-height: 1; font-weight: 800; font-size: 1.12rem; letter-spacing: -.01em; font-variation-settings: "wdth" 112; text-transform: uppercase; }
.brand__name em { font-style: normal; font-family: var(--f-mono); font-weight: 400; font-size: .6rem; letter-spacing: .18em; margin-top: 4px; opacity: .7; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { position: relative; text-decoration: none; font-size: .95rem; font-weight: 500; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.menu-btn { display: none; }

.menu {
  position: fixed; inset: 0; z-index: 90; background: var(--accent); color: var(--ink);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  clip-path: circle(0% at calc(100% - 40px) 36px);
  transition: clip-path .8s var(--ease);
}
.menu.is-open { clip-path: circle(150% at calc(100% - 40px) 36px); }
.menu nav { display: grid; }
.menu nav a { display: flex; align-items: baseline; gap: 14px; text-decoration: none; font-size: clamp(36px, 10vw, 64px); font-weight: 800; letter-spacing: -.03em; font-variation-settings: "wdth" 80; text-transform: uppercase; border-bottom: 1px solid rgba(0,0,0,.15); padding: 8px 0; }
.menu nav a .mono { font-size: .8rem; font-weight: 400; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: calc(var(--header-h) + 40px); overflow: hidden;
  background:
    radial-gradient(120% 80% at 75% 40%, #F3F0EA 0%, rgba(236,232,225,0) 60%),
    var(--paper);
}
.hero::before { /* grade de planta */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 96px 96px; background-position: -1px -1px;
  mask-image: radial-gradient(80% 70% at 70% 45%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(80% 70% at 70% 45%, #000 0%, transparent 75%);
  opacity: .5;
}
.hero__3d { position: absolute; inset: 0; z-index: 0; }
.hero__3d canvas { display: block; width: 100% !important; height: 100% !important; }
.hero__grid { position: relative; z-index: 2; pointer-events: none; flex: 1; display: flex; align-items: center; }
.hero__copy { max-width: 820px; pointer-events: auto; }
.hero__title {
  font-size: clamp(46px, 6.4vw, 108px); font-weight: 800; letter-spacing: -.035em; line-height: .9;
  font-variation-settings: "wdth" 78; text-transform: uppercase; margin-bottom: 28px;
}
.hl { color: var(--accent); }
.hero__lead { max-width: 520px; font-size: clamp(17px, 1.25vw, 20px); color: var(--ink-2); margin-bottom: 36px; }
.hero__lead strong { color: var(--ink); font-weight: 700; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__specs {
  position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 0;
  margin: 56px auto 0; border-top: 1px solid var(--line);
}
.hero__specs > div { padding: 18px 20px 26px 0; }
.hero__specs > div + div:not(.hero__scroll) { padding-left: 20px; border-left: 1px solid var(--line); }
.hero__specs dt { color: var(--muted); margin-bottom: 6px; }
.hero__specs dd { margin: 0; font-weight: 600; font-size: 1.02rem; }
.hero__specs dd a { text-decoration: none; }
.hero__scroll { display: flex; align-items: center; gap: 12px; color: var(--muted); padding-left: 24px !important; }
.hero__scroll i { width: 1px; height: 42px; background: var(--line); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; inset: 0; background: var(--ink); animation: drip 1.8s var(--ease) infinite; }
@keyframes drip { from { transform: translateY(-100%); } to { transform: translateY(100%); } }

.hero__dims { position: absolute; inset: 0; z-index: 1; pointer-events: none; color: var(--muted); }
.dim { position: absolute; display: flex; align-items: center; gap: 10px; font-size: .68rem; }
.dim i { flex: 1; height: 1px; background: currentColor; opacity: .5; position: relative; }
.dim i::before { content: ""; position: absolute; top: -5px; width: 1px; height: 11px; background: currentColor; }
.dim i:first-child::before { left: 0; } .dim i:last-child::before { right: 0; }
.dim--h { right: 7vw; top: calc(var(--header-h) + 5vh); width: 34vw; }
.dim--v { right: calc(var(--gutter) - 40px); top: 26vh; width: 40vh; transform: rotate(90deg) translateX(50%); transform-origin: right top; }

/* ---------- marquee ---------- */
.marquee { background: var(--accent); color: var(--ink); overflow: hidden; border-block: 1px solid var(--ink); }
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee ul { display: flex; flex: none; }
.marquee li { display: flex; align-items: center; padding: 18px 0; font-size: clamp(20px, 2.4vw, 34px); font-weight: 800; letter-spacing: -.02em; text-transform: uppercase; font-variation-settings: "wdth" 85; white-space: nowrap; }
.marquee li::after { content: ""; width: .45em; height: .45em; margin: 0 .9em; background: var(--ink); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- seções base ---------- */
section { position: relative; }
.sec-head { display: grid; grid-template-columns: 1fr; gap: 0; margin-bottom: clamp(48px, 7vw, 96px); }
.sec-head h2, .why h2, .area h2, .faq h2, .process h2 {
  font-size: clamp(36px, 5vw, 80px); text-transform: uppercase; font-variation-settings: "wdth" 80; letter-spacing: -.03em; max-width: 15ch;
}
.sec-head__aside { max-width: 440px; margin-top: 28px; color: var(--on-dark-muted); font-size: 1.05rem; }
@media (min-width: 1000px) {
  .sec-head { grid-template-columns: 1fr auto; align-items: end; }
  .sec-head .eyebrow { grid-column: 1 / -1; }
  .sec-head__aside { margin-top: 0; }
}

/* ---------- serviços ---------- */
.services { background: var(--dark); color: var(--on-dark); padding-block: clamp(96px, 12vw, 180px); }
.svc { border-top: 1px solid var(--line-dark); counter-reset: s; }
.svc__item {
  position: relative; display: grid; grid-template-columns: 80px 1fr; gap: 24px;
  padding: 36px 0; border-bottom: 1px solid var(--line-dark); cursor: default;
}
.svc__item::before { /* barra laranja ao passar o mouse */
  content: ""; position: absolute; inset: 0; background: var(--dark-2); z-index: -1;
  transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease);
}
.svc__item:hover::before { transform: scaleY(1); }
.svc__n { color: var(--accent); padding-top: .7em; }
.svc__body { display: grid; gap: 14px; position: relative; }
.svc h3 {
  font-size: clamp(32px, 4.6vw, 72px); text-transform: uppercase; font-variation-settings: "wdth" 72; letter-spacing: -.02em;
  transition: transform .6s var(--ease), color .4s;
}
.svc__item:hover h3 { transform: translateX(14px); color: var(--accent); }
.svc__body p { max-width: 600px; color: var(--on-dark-muted); font-size: 1.02rem; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { border: 1px solid var(--line-dark); border-radius: 999px; padding: 6px 12px; font-size: .68rem; color: var(--on-dark); }
.svc__thumb { display: none; }
@media (min-width: 1000px) {
  .svc__item { grid-template-columns: 120px 1fr 1fr; align-items: start; }
  .svc__body { grid-column: 2 / 4; grid-template-columns: 1fr 1fr; column-gap: 40px; align-items: start; }
  .svc__body h3 { grid-row: 1 / 3; }
  .svc__body p { padding-top: .6em; }
}
@media (max-width: 999px) {
  .svc__thumb { display: block; grid-column: 1 / -1; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--r); order: -1; }
  .svc__item { grid-template-columns: 48px 1fr; }
}
.svc-float {
  position: fixed; left: 0; top: 0; z-index: 5; width: 340px; aspect-ratio: 4/5; pointer-events: none;
  opacity: 0; transform: translate3d(-50%, -50%, 0); perspective: 800px;
}
.svc-float__in { width: 100%; height: 100%; overflow: hidden; border-radius: var(--r); transform-style: preserve-3d; box-shadow: 0 40px 80px -20px rgba(0,0,0,.6); }
.svc-float img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); }
@media (hover: none), (max-width: 999px) { .svc-float { display: none; } }

/* ---------- processo ---------- */
.process { background: var(--paper); padding-block: clamp(96px, 10vw, 140px); overflow: hidden; }
.process__head { margin-bottom: 56px; }
.process__track { display: grid; gap: 16px; padding-inline: var(--gutter); perspective: 1400px; }
.step {
  position: relative; display: flex; flex-direction: column; gap: 18px; min-height: 380px;
  padding: 32px; background: #F5F2EC; border: 1px solid var(--line); border-radius: var(--r);
  transform-style: preserve-3d; will-change: transform;
}
.step__n { font-size: clamp(90px, 11vw, 170px); font-weight: 800; line-height: .8; font-variation-settings: "wdth" 62; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px var(--ink); margin-bottom: auto; }
.step h3 { font-size: clamp(24px, 2.2vw, 34px); text-transform: uppercase; font-variation-settings: "wdth" 85; }
.step p { color: var(--ink-2); }
.step__meta { color: var(--muted); padding-top: 14px; border-top: 1px dashed var(--line); }
.step--accent { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.step--accent .step__n { -webkit-text-stroke-color: var(--ink); }
.step--accent p, .step--accent .step__meta { color: var(--ink); }
.step--accent .step__meta { border-color: rgba(0,0,0,.25); }
@media (min-width: 900px) {
  .process { padding-block: 0; }
  .process__pin { height: 100vh; display: flex; flex-direction: column; justify-content: center; }
  .process__head { margin-bottom: 48px; }
  .process__track { display: flex; width: max-content; gap: 24px; padding-left: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))); padding-right: 12vw; }
  .step { width: clamp(340px, 30vw, 460px); min-height: 52vh; }
}

/* ---------- obras ---------- */
.works { padding-block: clamp(96px, 10vw, 160px); background: var(--paper-2); }
.works__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(12px, 1.6vw, 24px); }
.work { margin: 0; grid-column: span 12; }
.work__img { position: relative; overflow: hidden; border-radius: var(--r); aspect-ratio: 4/3; background: var(--paper); }
.work__img img { width: 100%; height: 100%; object-fit: cover; }
.work figcaption { display: flex; gap: 12px; align-items: baseline; padding-top: 12px; font-weight: 600; font-size: .95rem; }
.work figcaption .mono { color: var(--accent-2); font-weight: 500; }
.work--b, .work--d { grid-column: span 6; }
.work--b .work__img, .work--d .work__img { aspect-ratio: 1; }
@media (min-width: 760px) {
  .work--a { grid-column: span 7; grid-row: span 2; }
  .work--a .work__img { aspect-ratio: auto; height: calc(100% - 40px); min-height: 480px; }
  .work--b { grid-column: span 5; }
  .work--b .work__img { aspect-ratio: 16/10; }
  .work--c { grid-column: span 4; }
  .work--c .work__img { aspect-ratio: 1; }
  .work--d { grid-column: span 6; }
  .work--d .work__img { aspect-ratio: 16/10; }
}
@media (max-width: 759px) { .work figcaption { font-size: .82rem; flex-direction: column; gap: 2px; } }
.works__note { margin-top: 36px; color: var(--ink-2); font-weight: 600; }
.works__note a { color: var(--accent-2); }

/* ---------- sobre ---------- */
.about { padding-block: clamp(96px, 10vw, 160px); }
.about__grid { display: grid; gap: 48px; align-items: center; }
.about__img { margin: 0; }
.about__img .work__img { aspect-ratio: 1; }
.about__copy p:not(.eyebrow) { max-width: 560px; margin-top: 24px; color: var(--ink-2); font-size: 1.08rem; }
.about__copy h2 { font-size: clamp(36px, 4.6vw, 72px); text-transform: uppercase; font-variation-settings: "wdth" 80; letter-spacing: -.03em; max-width: 14ch; }
.about__facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 40px; border-top: 1px solid var(--line); }
.about__facts li { padding: 16px 12px 0 0; font-size: .9rem; color: var(--ink); font-weight: 500; }
.about__facts li + li { padding-left: 16px; border-left: 1px solid var(--line); }
.about__facts span { display: block; color: var(--muted); font-size: .62rem; margin-bottom: 6px; }
@media (min-width: 900px) { .about__grid { grid-template-columns: 5fr 6fr; gap: clamp(48px, 6vw, 110px); } }

/* ---------- diferenciais ---------- */
.why { padding-block: clamp(96px, 10vw, 160px); }
.why__grid { display: grid; gap: 56px; }
.why__intro p { max-width: 460px; margin: 28px 0 32px; color: var(--ink-2); font-size: 1.08rem; }
.why__list { display: grid; gap: 16px; perspective: 1000px; }
.why__list li {
  padding: 28px; border: 1px solid var(--line); border-radius: var(--r); background: #F5F2EC;
  transition: background .4s, box-shadow .4s; transform-style: preserve-3d;
}
.why__list li:hover { background: #fff; box-shadow: 0 30px 60px -30px rgba(0,0,0,.25); }
.why__list svg { width: 44px; height: 44px; color: var(--accent); margin-bottom: 36px; transform: translateZ(30px); }
.why__list h3 { font-size: 1.5rem; text-transform: uppercase; font-variation-settings: "wdth" 85; margin-bottom: 10px; transform: translateZ(20px); }
.why__list p { color: var(--muted); }
@media (min-width: 900px) {
  .why__grid { grid-template-columns: 5fr 7fr; align-items: start; }
  .why__intro { position: sticky; top: calc(var(--header-h) + 40px); }
  .why__list { grid-template-columns: 1fr 1fr; }
  .why__list li:nth-child(even) { transform: translateY(60px); }
}

/* ---------- área / mapa ---------- */
.area { background: var(--dark); color: var(--on-dark); padding-block: clamp(96px, 10vw, 160px); overflow: hidden; }
.area__grid { display: grid; gap: 56px; }
.area__copy > p { max-width: 520px; margin-top: 28px; color: var(--on-dark-muted); font-size: 1.05rem; }
.area__list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.area__list li { border: 1px solid var(--line-dark); border-radius: 999px; padding: 7px 12px; font-size: .66rem; transition: background .3s, color .3s, border-color .3s; }
.area__list li:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.map { margin: 0; color: var(--on-dark); }
.map svg { width: 100%; height: auto; overflow: visible; }
.map__border { stroke-dasharray: 2300; stroke-dashoffset: 0; }
.map__dim text { font-size: 13px; stroke: none; }
.map__lake { fill: rgba(237, 233, 226, .08); stroke: rgba(237, 233, 226, .3); stroke-dasharray: 3 3; }
.pt circle { fill: var(--on-dark); transition: r .3s, fill .3s; }
.pt--main circle { fill: var(--accent); }
.pt text { fill: var(--on-dark); font: 600 16px var(--f-sans); }
.pt:hover circle { fill: var(--accent); }
.pt circle { transform-box: fill-box; transform-origin: center; }
.map__pts .pt::before { content: none; }
.map__legend text { fill: var(--on-dark-muted); font-size: 13px; }
.map figcaption { margin-top: 12px; color: var(--on-dark-muted); font-size: .64rem; }
.pt--main circle { animation: ping 2.4s infinite; }
.pt--main text { font-size: 22px; font-weight: 800; fill: var(--accent); letter-spacing: .02em; }
.pt--hot circle { fill: var(--accent); }
.map__radius { fill: rgba(255, 91, 20, .07); stroke: var(--accent); stroke-opacity: .55; stroke-dasharray: 6 6; }
.area__sub { margin-top: 32px; font-size: .68rem; font-weight: 500; color: var(--on-dark-muted); }
.area__sub + .area__list { margin-top: 12px; }
.area__list--main li { border-color: var(--accent); color: var(--accent); }
@keyframes ping { 0%,100% { stroke: rgba(255,91,20,.6); stroke-width: 0; } 60% { stroke: rgba(255,91,20,0); stroke-width: 18; } }
@media (min-width: 1000px) { .area__grid { grid-template-columns: 5fr 7fr; align-items: center; } }

/* ---------- FAQ ---------- */
.faq { padding-block: clamp(96px, 10vw, 160px); }
.faq__grid { display: grid; gap: 48px; }
.faq__list { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0; font-size: clamp(18px, 1.6vw, 24px); font-weight: 700; letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; flex: none; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; transition: transform .5s var(--ease), background .3s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary i { transform: rotate(45deg); background: var(--accent); border-color: var(--accent); }
.faq details p { padding: 0 60px 28px 0; color: var(--ink-2); max-width: 720px; }
.faq details a { color: var(--accent-2); font-weight: 600; }
@media (min-width: 1000px) { .faq__grid { grid-template-columns: 5fr 7fr; } }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; background: var(--ink); color: var(--on-dark); padding-block: clamp(120px, 16vw, 240px); text-align: center; }
.cta__bg { position: absolute; inset: -10% 0; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; filter: grayscale(1) contrast(1.1); }
.cta__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--ink) 0%, rgba(21,21,19,.4) 40%, rgba(21,21,19,.6) 70%, var(--ink) 100%); }
.cta__in { position: relative; display: flex; flex-direction: column; align-items: center; }
.cta .eyebrow { color: var(--on-dark-muted); }
.cta__title { font-size: clamp(48px, 9vw, 160px); text-transform: uppercase; font-variation-settings: "wdth" 70; letter-spacing: -.04em; line-height: .86; max-width: 12ch; }
.cta__lead { max-width: 520px; margin: 32px auto 48px; color: var(--on-dark-muted); font-size: 1.1rem; }
.cta__btn { display: inline-block; text-decoration: none; color: #fff; }
.cta__btn-in {
  display: inline-flex; align-items: center; gap: 18px; padding: 22px 34px 22px 26px; border-radius: 999px;
  background: var(--accent); font-size: clamp(22px, 2.6vw, 34px); font-weight: 800; letter-spacing: -.02em; font-variation-settings: "wdth" 90;
  box-shadow: 0 30px 80px -20px rgba(255, 91, 20, .55); transition: background .3s;
}
.cta__btn-in .ico { width: 44px; height: 44px; }
.cta__btn-in > span { display: grid; text-align: left; line-height: 1.05; }
.cta__btn-in small { font-size: .7rem; font-weight: 500; letter-spacing: .06em; opacity: .85; margin-bottom: 4px; }
.cta__btn:hover .cta__btn-in { background: var(--accent-2); }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: var(--on-dark); padding-top: 72px; border-top: 1px solid var(--line-dark); }
.footer__grid { display: grid; gap: 36px; padding-bottom: 56px; }
.footer__grid p { color: var(--on-dark-muted); margin-top: 14px; font-size: .95rem; max-width: 320px; }
.footer__grid a { text-decoration: none; }
.footer__grid a:hover { color: var(--accent); }
.footer h3 { font-size: .7rem; font-weight: 500; color: var(--on-dark-muted); }
.footer h3 + p { margin-top: 10px; color: var(--on-dark); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; padding-block: 24px 96px; border-top: 1px solid var(--line-dark); color: var(--on-dark-muted); font-size: .66rem; }
.footer__bottom a { text-decoration: none; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; } .footer__bottom { padding-bottom: 28px; } }

/* ---------- whatsapp flutuante ---------- */
.wa-float {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 80;
  display: inline-flex; align-items: center; gap: 10px; height: 60px; padding: 0 22px 0 18px; border-radius: 999px;
  background: #1FAF54; color: #fff; text-decoration: none; font-weight: 700;
  box-shadow: 0 16px 40px -12px rgba(0,0,0,.45); transition: transform .4s var(--ease);
}
.wa-float svg { width: 28px; height: 28px; }
.wa-float:hover { transform: translateY(-3px); }
.js .wa-float { transform: translateY(140%); }
.js .wa-float.is-in { transform: none; }
.js .wa-float.is-in:hover { transform: translateY(-3px); }
@media (max-width: 520px) { .wa-float__label { display: none; } .wa-float { width: 60px; padding: 0; justify-content: center; } }

/* ---------- responsivo header/hero ---------- */
@media (max-width: 999px) {
  .nav { display: none; }
  .header__cta { margin-left: auto; }
  .menu-btn {
    display: grid; place-content: center; gap: 6px; width: 46px; height: 46px; border-radius: 50%;
    border: 1px solid currentColor; background: transparent; color: inherit; cursor: pointer; position: relative; z-index: 101;
  }
  .menu-btn i { display: block; width: 18px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease); }
  .menu-btn[aria-expanded="true"] i:first-of-type { transform: translateY(3.75px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] i:last-of-type { transform: translateY(-3.75px) rotate(-45deg); }
  .hero { justify-content: flex-start; min-height: 0; padding-bottom: 8px; }
  .hero__grid { align-items: flex-start; flex: none; }
  .hero__3d { position: relative; inset: auto; order: 2; height: clamp(300px, 46svh, 460px); margin-top: 8px; }
  .hero__specs { order: 3; grid-template-columns: 1fr 1fr; margin-top: 0; }
  .hero__specs > div:nth-child(3) { border-left: 0 !important; padding-left: 0 !important; grid-column: 1 / -1; border-top: 1px solid var(--line); }
  .hero__scroll { display: none !important; }
  .hero__dims { display: none; }
}
@media (max-width: 560px) {
  .header__cta span { display: none; }
  .header__cta { padding: 0; width: 46px; height: 46px; }
  .hero__actions .btn { width: 100%; }
  .hero__title { font-size: clamp(42px, 13vw, 64px); }
}

/* ---------- estados iniciais de animação (só com JS) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); }
.js .split-line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.js .split-line > span { display: inline-block; will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}
