/* ============================================================
   SEVEN — Revestimentos Industriais
   Inspirado em: MindMarket (canvas creme, Inter gigante, pílulas)
   + Notion (cards com hairline, painéis sólidos, ilha escura)
   ============================================================ */

:root {
  /* Superfícies */
  --canvas: #f5f1e4;        /* papel creme — fundo da página */
  --white: #ffffff;         /* cards, nav */
  --sand: #e8e2d3;          /* superfícies rebaixadas */

  /* Texto */
  --ink: #1f2024;
  --ink-2: #4a4a47;
  --muted: #7a7a74;
  --hair: rgba(31, 32, 36, 0.09);

  /* Marca (do logo) */
  --orange: #ee6a1f;
  --orange-deep: #d2480f;
  --orange-tint: #fde3d1;
  --navy: #1c2a7a;
  --navy-deep: #0e1644;
  --yellow: #f6c21a;        /* amarelo de demarcação */

  /* Tipografia */
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;

  /* Forma */
  --r-pill: 999px;
  --r-card: 32px;
  --r-panel: 48px;
  --r-sm: 12px;

  --max: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(80px, 11vw, 140px);

  --ease: cubic-bezier(.2, .7, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 110px; overflow-x: clip; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--orange); color: #fff; }

:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; border-radius: 6px; }

.container {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Tipografia ---------- */

.display {
  font-size: clamp(52px, 8.6vw, 132px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.heading {
  font-size: clamp(38px, 5.6vw, 78px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.lead {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 34em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 12px;
  background: var(--white);
  border: 1px solid var(--hair);
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  margin-bottom: 28px;
}
.eyebrow-light {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.16);
  color: #fff;
}

.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex: none;
  display: inline-block;
}
.dot-orange { background: var(--orange); }
.dot-navy   { background: var(--navy); }
.dot-yellow { background: var(--yellow); }

/* Pílula que envolve uma palavra no título (Notion) */
.pill-word {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  padding: 0 .22em .06em;
  border-radius: var(--r-pill);
  transform: rotate(-2deg);
  line-height: 1.02;
}

/* ---------- Botões ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 24px;
  border-radius: var(--r-pill);
  font: 500 16px/1 var(--font);
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--navy); }
.btn-primary .arrow {
  display: grid; place-items: center;
  width: 28px; height: 28px; margin-right: -12px;
  border-radius: 50%;
  background: var(--orange);
  transition: transform .25s var(--spring);
}
.btn-primary:hover .arrow { transform: translateX(3px) rotate(-12deg); }

.btn-ghost { background: var(--white); color: var(--ink); border-color: var(--hair); }
.btn-ghost:hover { border-color: rgba(31,32,36,.25); }
.btn-ghost .dot { transition: transform .25s var(--spring); }
.btn-ghost:hover .dot { transform: scale(1.4); }

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

/* ---------- Nav flutuante ---------- */

.nav-wrap {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: calc(env(safe-area-inset-top, 0px) + 16px) var(--gutter) 0;
  pointer-events: none;
}
.nav {
  pointer-events: auto;
  max-width: calc(var(--max) - 2 * 40px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 16px;
  height: 64px;
  padding: 0 8px 0 22px;
  background: var(--white);
  border-radius: var(--r-pill);
  border: 1px solid var(--hair);
  transition: box-shadow .3s ease;
}
.nav-wrap.is-scrolled .nav {
  box-shadow: 0 1px 2px rgba(0,0,0,.02), 0 8px 24px rgba(31,32,36,.07);
}

.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { height: 26px; width: auto; transition: transform .4s var(--spring); }
.brand:hover .brand-logo { transform: scale(1.05); }

.nav-links {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.nav-links a {
  display: block;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  transition: background-color .2s ease, color .2s ease;
}
.nav-links a:hover { background: var(--canvas); color: var(--ink); }
.only-mobile { display: none; }

.nav-cta { height: 48px; background: var(--canvas); border-color: transparent; }

.menu-btn {
  display: none;
  width: 48px; height: 48px;
  margin-left: auto;
  border: 0;
  border-radius: 50%;
  background: var(--orange);
  cursor: pointer;
  position: relative;
}
.menu-btn span {
  position: absolute; left: 15px; right: 15px; height: 2px;
  background: #fff; border-radius: 2px;
  transition: transform .3s var(--spring), top .3s var(--ease);
}
.menu-btn span:first-child { top: 19px; }
.menu-btn span:last-child  { top: 27px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 23px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child  { top: 23px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding-top: calc(env(safe-area-inset-top, 0px) + 150px);
  padding-bottom: clamp(64px, 8vw, 110px);
}
.hero .display { margin-bottom: 28px; }
.hero .lead { margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-art {
  position: relative;
  aspect-ratio: 4 / 5;
  max-width: 100%;
}
.pour {
  position: absolute; inset: 0;
  border-radius: var(--r-panel);
  background: var(--sand);
  overflow: hidden;
  isolation: isolate;
}
.pour-band {
  position: absolute; inset: 0 0 auto 0;
  height: 22%;
  background: var(--orange);
}
.drips { position: absolute; inset: 22% 0 0 0; }
.drips i {
  position: absolute;
  top: -1px;
  left: var(--x);
  width: 9%;
  height: var(--l);
  background: var(--orange);
  border-radius: 0 0 999px 999px;
  transform-origin: top;
  transform: scaleY(0);
  animation: drip 1.6s var(--ease) forwards;
  animation-delay: calc(var(--d) + .4s);
}
.drips i::after {
  /* gota arredondada + reflexo */
  content: "";
  position: absolute; left: 22%; bottom: 14%;
  width: 18%; height: 22%;
  border-radius: 999px;
  background: rgba(255,255,255,.35);
}
@keyframes drip { to { transform: scaleY(1); } }

.hero-bolt {
  position: absolute;
  z-index: 2;
  width: 46%;
  right: 8%; bottom: 13%;
  fill: var(--navy);
  filter: drop-shadow(0 18px 0 rgba(14,22,68,.12));
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-10px) rotate(-2deg); }
}

.floor {
  position: absolute; inset: auto 0 0 0;
  height: 24%;
  background:
    linear-gradient(115deg, rgba(255,255,255,.16) 0 22%, transparent 22% 100%),
    var(--orange-deep);
  z-index: 1;
}
.floor::before {
  /* faixa de demarcação amarela */
  content: "";
  position: absolute; left: 0; right: 0; top: 30%;
  height: 12%;
  background: repeating-linear-gradient(90deg, var(--yellow) 0 44px, transparent 44px 64px);
  opacity: .95;
}

.sticker {
  position: absolute;
  z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px 10px 12px;
  background: var(--white);
  border-radius: var(--r-pill);
  font-size: 14px; font-weight: 500;
  box-shadow: 0 6px 20px rgba(31,32,36,.10);
  white-space: nowrap;
  animation: pop .7s var(--spring) both;
}
.sticker.s1 { top: 28%; left: -6%; transform: rotate(-4deg); animation-delay: 1.1s; }
.sticker.s2 { top: 50%; right: -4%; transform: rotate(3deg); animation-delay: 1.3s; }
.sticker.s3 { bottom: 29%; left: 6%; transform: rotate(-2deg); animation-delay: 1.5s; }
@keyframes pop { from { opacity: 0; scale: .6; } to { opacity: 1; scale: 1; } }

/* ---------- Marquee ---------- */

.marquee {
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  padding: 22px 0;
  transform: rotate(-1.2deg);
  margin: 0 -20px;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee span {
  display: inline-flex; align-items: center; gap: 28px;
  padding-right: 28px;
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 500;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.marquee span::after {
  content: "";
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--orange);
}
.marquee span:nth-child(3n+2)::after { background: var(--yellow); }
.marquee span:nth-child(3n)::after { background: #6f82ff; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Seções ---------- */

.section { padding-block: var(--section); }
.section-white { background: var(--white); border-radius: var(--r-panel); margin-inline: clamp(8px, 1.5vw, 20px); }
.section-head { margin-bottom: clamp(40px, 6vw, 72px); }

.system .heading, .sectors .heading, .contact .heading { font-size: clamp(36px, 4.6vw, 66px); }
.heading, .display { text-wrap: balance; }

/* ---------- Serviços ---------- */

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.card {
  position: relative;
  display: flex; flex-direction: column;
  min-height: 330px;
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--hair);
  border-radius: var(--r-card);
  transition: transform .35s var(--spring), border-color .2s ease;
}
.card:hover { transform: translateY(-6px) rotate(-.4deg); border-color: rgba(31,32,36,.18); }
.card-num {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--canvas);
  font-size: 14px; font-weight: 600;
  margin-bottom: auto;
}
.card h3 {
  margin-top: 48px;
  font-size: clamp(24px, 2.2vw, 30px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.035em;
}
.card p { margin-top: 12px; color: var(--ink-2); font-size: 16px; }
.card-link {
  margin-top: 24px;
  display: inline-flex; gap: 8px;
  font-size: 15px; font-weight: 500;
  color: var(--orange-deep);
}
.card-link span { transition: transform .25s var(--spring); }
.card:hover .card-link span { transform: translateX(4px); }

.card-accent { background: var(--orange); border-color: transparent; color: #fff; }
.card-accent p { color: rgba(255,255,255,.9); }
.card-accent .card-num { background: rgba(255,255,255,.2); }
.card-accent .card-link { color: #fff; }

.card-dark { background: var(--navy-deep); border-color: transparent; color: #fff; }
.card-dark p { color: rgba(255,255,255,.72); }
.card-dark .card-num { background: rgba(255,255,255,.1); }
.card-dark .card-link { color: var(--yellow); }

/* ---------- Obras ---------- */

.section-head-row {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 24px; flex-wrap: wrap;
}
.works {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.work {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--hair);
  border-radius: var(--r-card);
  background: var(--sand);
  overflow: hidden;
  cursor: zoom-in;
  font: inherit;
  color: #fff;
  text-align: left;
  transition: transform .35s var(--spring);
}
.work:hover { transform: translateY(-6px) rotate(-.4deg); }
.work img {
  width: 100%; height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.work:hover img { transform: scale(1.04); }
.work-cap {
  position: absolute; inset: auto 0 0 0;
  padding: 48px 20px 18px;
  background: linear-gradient(180deg, transparent, rgba(14,22,68,.82));
  font-size: 14px;
  line-height: 1.35;
  color: rgba(255,255,255,.85);
}
.work-cap strong {
  display: block;
  font-size: 16px; font-weight: 500;
  letter-spacing: -0.02em;
  color: #fff;
}

.lightbox {
  padding: 0;
  border: 0;
  background: transparent;
  max-width: min(92vw, 880px);
  max-height: 92vh;
  overflow: visible;
}
.lightbox::backdrop { background: rgba(14,22,68,.82); }
.lightbox figure { margin: 0; }
.lightbox img {
  width: 100%; height: auto;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--r-card);
  background: var(--ink);
}
.lightbox figcaption { margin-top: 12px; color: #fff; font-size: 15px; text-align: center; }
.lightbox-close {
  position: absolute; top: -18px; right: -18px; z-index: 1;
  width: 44px; height: 44px;
  border: 0; border-radius: 50%;
  background: var(--orange); color: #fff;
  font: 500 26px/1 var(--font);
  cursor: pointer;
}

/* ---------- Sistema (camadas) ---------- */

.system {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.system .lead { margin-top: 20px; }
.layers-list { margin-top: 36px; display: grid; gap: 6px; }
.layers-list li {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 16px 18px;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color .2s ease;
}
.layers-list li:hover, .layers-list li.is-active { background: var(--canvas); }
.layers-list .swatch {
  flex: none;
  width: 22px; height: 22px; margin-top: 2px;
  border-radius: 7px;
  background: var(--c);
  transition: transform .3s var(--spring);
}
.layers-list li.is-active .swatch { transform: scale(1.2) rotate(-8deg); }
.layers-list strong { font-weight: 500; font-size: 18px; letter-spacing: -0.02em; }
.layers-list p {
  color: var(--ink-2); font-size: 15px;
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height .35s var(--ease), opacity .25s ease, margin .35s var(--ease);
}
.layers-list li.is-active p { max-height: 6em; opacity: 1; margin-top: 4px; }

.system-art {
  background: var(--canvas);
  border-radius: var(--r-panel);
  padding: clamp(16px, 3vw, 40px);
}
/* Botão "pintado" pelo rolinho */
.layers-list li { position: relative; isolation: isolate; }
.layers-list li:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.layers-list li[data-ink="light"] { --paint-ink: #fff; }
.layers-list .paint {
  position: absolute; inset: 0; z-index: 1;
  display: flex; gap: 16px; align-items: flex-start;
  padding: 16px 18px;
  border-radius: inherit;
  overflow: hidden;
  background: var(--c);
  color: var(--paint-ink, var(--ink));
  clip-path: inset(0 100% 0 0);
  pointer-events: none;
}
.layers-list .paint::after {
  /* brilho de tinta fresca */
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,0) 55%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 2px, transparent 2px 9px);
}
.layers-list .paint p { color: inherit; opacity: .86; }
.layers-list .paint .swatch { box-shadow: 0 0 0 2px rgba(255,255,255,.85); }
.layers-list li.is-painted .paint { clip-path: inset(0 0 0 0); }

.roller {
  position: absolute; z-index: 3;
  top: -7px; bottom: -7px; left: 0;
  width: 24px;
  opacity: 0;
  pointer-events: none;
}
.roller-cyl {
  position: absolute; inset: 0; z-index: 1;
  border-radius: 12px;
  background:
    repeating-linear-gradient(0deg, rgba(0,0,0,.10) 0 3px, transparent 3px 8px),
    var(--c);
  box-shadow:
    inset -5px 0 0 rgba(0,0,0,.16),
    inset 4px 0 0 rgba(255,255,255,.28),
    0 6px 14px rgba(31,32,36,.22);
}
.roller.is-rolling .roller-cyl { animation: roll .22s linear infinite; }
@keyframes roll { to { background-position: 0 8px, 0 0; } }
.roller-arm {
  position: absolute; left: -26px; top: -22px;
  width: 38px; height: 30px;
  border: 3px solid #8d8b85; border-left: 0; border-bottom: 0;
  border-radius: 0 10px 0 0;
}
.roller-handle {
  position: absolute; left: -64px; top: -37px;
  width: 40px; height: 15px;
  border-radius: 8px;
  background: var(--ink);
  box-shadow: inset 0 3px 0 rgba(255,255,255,.15);
  transform: rotate(24deg);
}

#layers-svg { width: 100%; height: auto; display: block; overflow: visible; }
#layers-svg .layer { transition: transform .5s var(--spring), opacity .3s ease; cursor: pointer; }
#layers-svg .layer { transition: transform .5s var(--spring), filter .3s ease; }
#layers-svg.has-active .layer:not(.is-active) { filter: saturate(.35) brightness(1.08); }
#layers-svg .layer.is-active .label { font-weight: 600; fill: var(--orange-deep); }
#layers-svg .label {
  font: 500 21px var(--font);
  fill: var(--ink-2);
  letter-spacing: -0.01em;
}
#layers-svg .leader { stroke: var(--ink); stroke-width: 1; stroke-dasharray: 3 4; opacity: .5; }

/* ---------- Processo ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--hair);
  border-radius: var(--r-card);
}
.step-n {
  display: block;
  font-size: clamp(72px, 8vw, 112px);
  font-weight: 500;
  line-height: .9;
  letter-spacing: -0.07em;
  color: var(--orange);
  margin-bottom: 40px;
}
.step:nth-child(even) .step-n { color: var(--navy); }
.step h3 { font-size: 22px; font-weight: 500; letter-spacing: -0.025em; margin-bottom: 10px; }
.step p { color: var(--ink-2); font-size: 15.5px; }

/* ---------- Setores (ilha escura) ---------- */

.sectors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: clamp(32px, 6vw, 80px);
  background: var(--navy);
  color: #fff;
  border-radius: var(--r-panel);
  position: relative;
  overflow: hidden;
}
.sectors::after {
  content: "";
  position: absolute; right: -80px; bottom: -80px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: var(--orange);
  opacity: .9;
  z-index: 0;
}
.sectors > * { position: relative; z-index: 1; }
.quote {
  margin: 32px 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(19px, 1.7vw, 23px);
  line-height: 1.45;
  color: rgba(255,255,255,.82);
  max-width: 26em;
  padding-left: 20px;
  border-left: 3px solid var(--yellow);
}
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li {
  padding: 12px 20px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  font-size: 16px; font-weight: 500;
  transition: background-color .2s ease, color .2s ease, transform .3s var(--spring);
}
.chips li:hover { background: var(--white); color: var(--navy); transform: translateY(-3px) rotate(-2deg); }

/* ---------- 7 motivos ---------- */

.seven-num {
  display: inline-grid; place-items: center;
  width: 1.1em; height: 1.1em;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: .9em;
  vertical-align: -.08em;
  letter-spacing: -0.04em;
}
.reasons { border-top: 1px solid var(--hair); }
.reasons li {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 26px 8px;
  border-bottom: 1px solid var(--hair);
  font-size: clamp(20px, 2.4vw, 32px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.2;
  transition: color .2s ease, padding .3s var(--ease);
}
.reasons li span {
  font-size: 15px; font-weight: 600; letter-spacing: 0;
  color: var(--orange-deep);
}
.reasons li:hover { padding-left: 20px; color: var(--navy); }

/* ---------- Quem somos ---------- */

.about {
  display: grid;
  grid-template-columns: .8fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.about .heading { font-size: clamp(36px, 4.6vw, 66px); }
.about .lead { margin-top: 20px; }
.about-photo {
  /* recorta só o retrato da arte de apresentação */
  aspect-ratio: 4 / 5;
  border-radius: var(--r-panel);
  background: var(--ink) url("assets/rafael-oliveira.jpg") 100% 27% / 175% auto no-repeat;
}
.about-values { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.about-values li {
  padding: 10px 18px;
  border-radius: var(--r-pill);
  background: var(--canvas);
  font-size: 15px; font-weight: 500;
}
.about-sign {
  margin-top: 28px;
  padding-left: 16px;
  border-left: 3px solid var(--orange);
  font-size: 15px; color: var(--ink-2);
}
.about-sign strong { display: block; font-size: 18px; font-weight: 500; color: var(--ink); letter-spacing: -0.02em; }

/* ---------- Dúvidas ---------- */

.faq { border-top: 1px solid var(--hair); }
.faq details { border-bottom: 1px solid var(--hair); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 8px;
  font-size: clamp(19px, 2vw, 26px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.25;
  cursor: pointer;
  list-style: none;
  transition: color .2s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--navy); }
.faq summary::after {
  content: "+";
  flex: none;
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--hair);
  font-size: 22px; font-weight: 400; letter-spacing: 0;
  color: var(--orange-deep);
  transition: transform .3s var(--spring), background-color .2s ease, color .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--orange); color: #fff; }
.faq details p { padding: 0 8px 26px; max-width: 46em; color: var(--ink-2); }

/* ---------- Contato ---------- */

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  padding: clamp(28px, 6vw, 72px);
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-panel);
}
.contact .heading { margin-bottom: 20px; }
.contact .lead { color: rgba(255,255,255,.72); }
.contact-info { margin-top: 40px; display: grid; gap: 14px; }
.contact-info li { display: grid; gap: 2px; font-size: 17px; }
.contact-info span { font-size: 13px; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .08em; }
.contact-info a { border-bottom: 1px solid rgba(255,255,255,.25); justify-self: start; overflow-wrap: anywhere; font-size: clamp(14px, 3.8vw, 17px); }
.contact-info a:hover { border-color: var(--orange); }

.form {
  display: grid; gap: 14px;
  padding: clamp(20px, 3vw, 32px);
  background: var(--white);
  color: var(--ink);
  border-radius: var(--r-card);
}
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form input, .form select, .form textarea {
  width: 100%;
  font: 400 16px/1.4 var(--font);
  color: var(--ink);
  padding: 13px 16px;
  background: var(--canvas);
  border: 1px solid transparent;
  border-radius: 14px;
  transition: border-color .2s ease, background-color .2s ease;
  appearance: none;
}
.form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231f2024' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--orange); background: var(--white);
}
.form .is-invalid { border-color: #d93a26; }
.form .btn { margin-top: 6px; }
.form-note { font-size: 14px; color: var(--ink-2); min-height: 1.2em; }
.form-note a { text-decoration: underline; }
.form-privacy { font-size: 13px; color: var(--muted); text-align: center; }
.form-privacy a { text-decoration: underline; }
.form-privacy a:hover { color: var(--ink); }
.form .form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* confirmação: ocupa o lugar dos campos sem mudar a altura do card */
.form { position: relative; }
.form-success {
  display: none;
  position: absolute; inset: 0;
  place-content: center; justify-items: center; gap: 10px;
  padding: clamp(20px, 3vw, 32px);
  text-align: center;
}
.form-success:focus { outline: none; }
.form.is-sent > :not(.form-success) { visibility: hidden; }
.form.is-sent .form-success { display: grid; }
.form-success-icon { width: 88px; height: 88px; margin-bottom: 10px; }
.form-success-icon circle {
  fill: var(--orange);
  transform-origin: center;
  animation: success-pop .5s var(--spring) both;
}
.form-success-icon path {
  fill: none; stroke: #fff; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 40; stroke-dashoffset: 40;
  animation: success-draw .35s .3s var(--ease) forwards;
}
.form-success-title { font-size: clamp(24px, 3vw, 30px); font-weight: 600; letter-spacing: -.02em; }
.form-success-text { color: var(--ink-2); margin-bottom: 10px; }
@keyframes success-pop { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes success-draw { to { stroke-dashoffset: 0; } }

.confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1000; }

/* ---------- Footer ---------- */

.footer { padding: 40px 0 calc(env(safe-area-inset-bottom, 0px) + 28px); overflow: hidden; }
.footer-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 40px; flex-wrap: wrap;
  padding-bottom: 32px;
}
.footer-brand {
  background: var(--white);
  border-radius: var(--r-card);
  padding: 8px 20px;
}
.footer-logo { width: 190px; height: auto; }
.footer-cols { display: flex; gap: clamp(40px, 8vw, 120px); }
.footer-cols h4 { font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 14px; }
.footer-cols a { display: block; padding: 4px 0; font-weight: 500; color: var(--ink-2); transition: color .2s ease; }
.footer-cols a:hover { color: var(--orange-deep); }

.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--hair);
  font-size: 14px; color: var(--muted);
}
.footer-bottom a:hover { color: var(--ink); }

/* ---------- Política de privacidade ---------- */

.nav-back { height: 48px; margin-left: auto; background: var(--canvas); border-color: transparent; }

.legal {
  padding-top: calc(env(safe-area-inset-top, 0px) + 140px);
  padding-bottom: clamp(56px, 8vw, 96px);
}
.legal-head { margin-bottom: clamp(32px, 5vw, 56px); }
.legal-date { margin-top: 20px; font-size: 15px; color: var(--muted); }
.legal-body {
  max-width: 820px;
  padding: clamp(24px, 5vw, 56px);
  background: var(--white);
  border: 1px solid var(--hair);
  border-radius: var(--r-card);
  color: var(--ink-2);
}
.legal-body h2 {
  margin: 40px 0 12px;
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.legal-body p + p { margin-top: 12px; }
.legal-body ul { margin-top: 12px; padding-left: 1.2em; list-style: disc; }
.legal-body li + li { margin-top: 4px; }
.legal-body li::marker { color: var(--orange); }
.legal-body a { color: var(--orange-deep); text-decoration: underline; overflow-wrap: anywhere; }

/* ---------- Animação de entrada ---------- */

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsivo ---------- */

@media (max-width: 1080px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .works { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .nav-cta { display: none; }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: calc(env(safe-area-inset-top, 0px) + 130px); }
  .hero-art { max-width: 520px; width: 100%; justify-self: center; aspect-ratio: 1 / 1; }
  .system, .sectors, .contact, .about { grid-template-columns: 1fr; }
  .system-art { order: -1; }
  .about-photo { max-width: 440px; width: 100%; }

  .menu-btn { display: block; }
  .nav { padding-left: 20px; }
  .nav-links {
    position: absolute;
    top: calc(100% + 8px); left: 0; right: 0;
    flex-direction: column;
    gap: 2px;
    padding: 10px;
    background: var(--white);
    border: 1px solid var(--hair);
    border-radius: 28px;
    box-shadow: 0 12px 32px rgba(31,32,36,.10);
    opacity: 0; visibility: hidden;
    transform: translateY(-8px) scale(.98);
    transform-origin: top;
    transition: opacity .2s ease, transform .3s var(--spring), visibility .2s;
  }
  .nav-links.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-links a { padding: 14px 18px; font-size: 17px; }
  .only-mobile { display: block; }
  .only-mobile a { background: var(--orange); color: #fff; text-align: center; margin-top: 6px; }
  .only-mobile a:hover { background: var(--orange-deep); color: #fff; }
  .nav { position: relative; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .services, .steps { grid-template-columns: 1fr; }
  .works { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .work { border-radius: 20px; }
  /* no celular a legenda completa cobre a foto: fica só o título (o resto aparece ao ampliar) */
  .work-cap { padding: 32px 12px 12px; font-size: 0; }
  .work-cap strong { font-size: 14px; }
  .lightbox-close { top: 8px; right: 8px; }
  .card { min-height: 0; }
  .card h3 { margin-top: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .reasons li { grid-template-columns: 44px 1fr; padding: 20px 4px; }
  .sticker { font-size: 13px; padding: 8px 12px 8px 10px; }
  .sticker.s1 { left: 2%; }
  .sticker.s2 { right: 2%; }
  .hero-actions .btn { flex: 1 1 100%; justify-content: center; }
  .footer-top { flex-direction: column; }
}
