/* ============================================================
   PROJEB — Grampo de Ancoragem | Landing Page
   Alinhada aos padrões de projeb.eng.br
   Preto + cinza-claro + verde-petróleo (teal) + acento vermelho
   Tipografia: Poppins (títulos) + Hanken Grotesk (corpo)
   ============================================================ */

:root {
  /* Cores — paleta do site */
  --black: #060606;
  --black-2: #0d0e0f;
  --ink: #111315;          /* texto sobre claro */
  --ink-soft: #4c5258;
  --light: #cdcfd0;        /* painel cinza-claro do site */
  --light-2: #d7d9da;
  --light-line: #b4b7b9;
  --teal: #2d4f48;         /* verde-petróleo do site */
  --teal-2: #25433d;
  --teal-line: rgba(255,255,255,0.18);
  --red: #e30e26;
  --red-bright: #ff2238;
  --white: #ffffff;
  --gray: #9aa0a6;         /* texto secundário sobre escuro */
  --gray-dim: #6a7077;
  --line-dark: #232527;
  --panel-dark: #121315;

  /* Tipografia */
  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;

  /* Layout */
  --rail: 104px;
  --maxw: 1180px;
  --gutter: clamp(22px, 4.5vw, 60px);
  --section-y: clamp(64px, 8vw, 120px);
  --radius: 10px;
  --radius-lg: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1,h2,h3,h4 { font-family: var(--font-head); margin: 0; line-height: 1.04; letter-spacing: -0.01em; font-weight: 700; }
p { margin: 0; text-wrap: pretty; }
::selection { background: var(--red); color: #fff; }

/* ============ RAIL (menu lateral vertical) ============ */
.rail {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: var(--rail);
  background: var(--black);
  border-right: 1px solid var(--line-dark);
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
}
.rail-nav { display: flex; flex-direction: column; gap: 26px; align-items: center; }
.rail-nav a {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--gray);
  text-align: center;
  position: relative;
  padding-bottom: 7px;
  transition: color .18s ease;
}
.rail-nav a::after {
  content: "";
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 0; height: 2px; background: var(--red);
  transition: width .2s ease;
}
.rail-nav a:hover { color: var(--white); }
.rail-nav a:hover::after, .rail-nav a.active::after { width: 26px; }
.rail-nav a.active { color: var(--white); }

/* ============ SHELL ============ */
.shell { margin-left: var(--rail); position: relative; }

/* Brand bar (logo + CTA) */
.brandbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  height: 92px;
  padding-inline: var(--gutter);
  background: rgba(6,6,6,0.78);
  backdrop-filter: blur(10px);
}
.brand { display: flex; align-items: center; }
.brand img { height: 48px; width: auto; }
.topcta { display: inline-flex; gap: 10px; align-items: center; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 11px;
  padding: 15px 24px;
  font-family: var(--font-head);
  font-size: 14px; font-weight: 600; letter-spacing: 0.01em;
  border-radius: 100px;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease, border-color .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn-lg { padding: 18px 30px; font-size: 15px; }
.btn-wa { background: #1faf54; color: #fff; box-shadow: 0 12px 30px -12px rgba(31,175,84,0.7); }
.btn-wa:hover { background: #25c462; transform: translateY(-2px); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 12px 30px -12px rgba(227,14,38,0.6); }
.btn-red:hover { background: var(--red-bright); transform: translateY(-2px); }
.btn-line { border: 1.5px solid rgba(255,255,255,0.28); color: var(--white); }
.btn-line:hover { border-color: #fff; background: rgba(255,255,255,0.06); transform: translateY(-2px); }
.btn-line-dark { border: 1.5px solid rgba(17,19,21,0.25); color: var(--ink); }
.btn-line-dark:hover { border-color: var(--ink); background: rgba(0,0,0,0.04); transform: translateY(-2px); }
.btn-dark { background: var(--black); color: #fff; }
.btn-dark:hover { background: #1a1c1e; transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--ink); box-shadow: 0 14px 34px -14px rgba(0,0,0,0.5); }
.btn-white:hover { transform: translateY(-2px); }

/* ============ Section scaffolding ============ */
.section { position: relative; padding-block: var(--section-y); }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.sec-dark { background: var(--black); color: var(--white); }
.sec-light { background: var(--light); color: var(--ink); }
.sec-teal { background: var(--teal); color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 11px;
  font-family: var(--font-head);
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--red);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--red); }

.title { font-size: clamp(28px, 4.2vw, 50px); font-weight: 700; line-height: 1.05; }
.title-rule { display: block; width: 96px; height: 3px; background: currentColor; opacity: .9; margin-top: 18px; border-radius: 2px; }
.sec-light .title-rule, .sec-dark .title-rule { background: var(--ink); }
.sec-dark .title-rule { background: #fff; }
.section-head { max-width: 760px; margin-bottom: clamp(38px, 5vw, 60px); }
.section-head .lead { margin-top: 18px; font-size: clamp(16px,1.5vw,19px); }
.sec-dark .lead { color: var(--gray); }
.sec-light .lead { color: var(--ink-soft); }
.sec-teal .lead { color: rgba(255,255,255,0.82); }

/* inline red highlight (estilo "ESTRUTURA METÁLICA") */
.hl-red { background: var(--red); color: #fff; padding: 0.06em 0.4em; border-radius: 4px; white-space: nowrap; }

/* ============ HERO ============ */
.hero { padding-top: clamp(20px, 3vw, 40px); padding-bottom: clamp(56px, 7vw, 104px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.02fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.hero h1 {
  font-size: clamp(40px, 6.6vw, 82px);
  font-weight: 700; line-height: 0.98;
  letter-spacing: -0.02em;
}
.hero h1 .hl { color: var(--red); }
.hero .sub { color: var(--gray); font-size: clamp(17px,1.7vw,20px); max-width: 46ch; margin-top: 26px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }
.compliance { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 26px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 100px;
  border: 1px solid var(--line-dark); background: var(--panel-dark);
  font-family: var(--font-head); font-size: 12px; font-weight: 500; letter-spacing: 0.04em;
  color: #fff;
}
.pill svg { width: 15px; height: 15px; color: var(--red-bright); }
.pill.solid { background: var(--red); border-color: var(--red); }
.pill.solid svg { color: #fff; }

.hero-trust { display: flex; flex-wrap: wrap; gap: 20px 34px; margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--line-dark); }
.hero-trust .ht b { font-family: var(--font-head); font-weight: 700; font-size: 21px; display: block; }
.hero-trust .ht small { color: var(--gray-dim); font-size: 13px; }

/* Hero visual */
.hero-visual { position: relative; }
.hero-stage {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: radial-gradient(75% 60% at 50% 32%, #ffffff, #e6e8ea 55%, #c3c6c9 100%);
}
.hero-stage image-slot { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-stage .stage-tag {
  position: absolute; top: 18px; left: 20px; z-index: 3;
  font-family: var(--font-head); font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: #3a3f47;
}
.hero-stage .stage-spec {
  position: absolute; bottom: 18px; left: 20px; right: 20px; z-index: 3;
  display: flex; justify-content: space-between; align-items: flex-end;
  font-family: var(--font-head); font-size: 12px; font-weight: 600; letter-spacing: 0.06em; color: #3a3f47;
}
.hero-stage .stage-spec .red { color: var(--red); }

/* circular scroll button (igual ao site) */
.scrollbtn {
  width: 64px; height: 64px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.4);
  display: grid; place-items: center; color: #fff;
  margin-top: 36px;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.scrollbtn:hover { transform: translateY(3px); border-color: #fff; background: rgba(255,255,255,0.05); }
.scrollbtn svg { width: 24px; height: 24px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 440px; }
  .scrollbtn { display: none; }
}

/* ============ Strip ============ */
.strip { border-block: 1px solid var(--line-dark); background: var(--black-2); overflow: hidden; }
.strip-track {
  display: flex; gap: 54px; padding-block: 16px; width: max-content;
  animation: marquee 34s linear infinite;
  font-family: var(--font-head); font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray-dim);
}
.strip-track span { display: inline-flex; align-items: center; gap: 54px; }
.strip-track span::after { content: "●"; color: var(--red); font-size: 7px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ Benefits (light, ícones linha fina) ============ */
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.feat {
  padding: 8px 26px 4px;
  border-left: 1px solid var(--light-line);
}
.feat:first-child { border-left: none; padding-left: 0; }
.feat .fic { color: var(--ink); margin-bottom: 20px; }
.feat .fic svg { width: 40px; height: 40px; stroke-width: 1.4; }
.feat h3 { font-size: 18px; font-weight: 700; color: var(--ink); }
.feat .feat-rule { width: 40px; height: 2px; background: var(--red); margin: 12px 0 14px; }
.feat p { color: var(--ink-soft); font-size: 14.5px; line-height: 1.55; }
@media (max-width: 920px) {
  .cards-4 { grid-template-columns: repeat(2, 1fr); gap: 36px 0; }
  .feat { padding: 0 24px; }
  .feat:first-child { padding-left: 24px; }
  .feat:nth-child(odd) { border-left: none; padding-left: 0; }
}
@media (max-width: 540px) { .cards-4 { grid-template-columns: 1fr; gap: 34px; } .feat, .feat:first-child { border-left: none; padding: 0; } }

/* ============ Why (teal) ============ */
.why-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(34px, 5vw, 72px); align-items: center; }
.why-quote { font-size: clamp(20px, 2.2vw, 27px); line-height: 1.45; font-weight: 400; color: #fff; }
.why-quote b { font-weight: 700; }
.lead-mark { font-family: var(--font-head); font-size: 60px; line-height: 0.4; color: #fff; opacity: .5; font-weight: 700; display: block; margin-bottom: 14px; }
.notice {
  display: flex; gap: 15px; align-items: flex-start; margin-top: 32px;
  border: 1px solid rgba(255,255,255,0.18); border-radius: var(--radius);
  background: rgba(0,0,0,0.16); padding: 20px 22px;
}
.notice .n-ic { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 8px; background: var(--red); color: #fff; }
.notice .n-ic svg { width: 21px; height: 21px; }
.notice b { display: block; font-family: var(--font-head); font-weight: 700; font-size: 14.5px; margin-bottom: 5px; }
.notice p { color: rgba(255,255,255,0.8); font-size: 14.5px; line-height: 1.5; }
.why-side { display: flex; flex-direction: column; }
.why-feature { display: flex; gap: 16px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--teal-line); }
.why-feature:last-child { border-bottom: none; }
.why-feature:first-child { padding-top: 0; }
.why-feature .wf-ic { flex: none; color: #fff; margin-top: 2px; }
.why-feature .wf-ic svg { width: 26px; height: 26px; stroke-width: 1.5; }
.why-feature h4 { font-size: 16px; font-weight: 700; }
.why-feature p { color: rgba(255,255,255,0.78); font-size: 14.5px; margin-top: 4px; }
@media (max-width: 860px) { .why-grid { grid-template-columns: 1fr; } }

/* ============ Applications (dark) ============ */
.apps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 860px) { .apps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .apps-grid { grid-template-columns: 1fr; } }
.app {
  display: flex; align-items: center; gap: 16px;
  padding: 22px; border: 1px solid var(--line-dark); border-radius: var(--radius);
  background: var(--panel-dark);
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.app:hover { background: #17191b; border-color: #30343700; border-color: #303437; transform: translateY(-3px); }
.app .app-ic { flex: none; color: var(--red-bright); }
.app .app-ic svg { width: 28px; height: 28px; stroke-width: 1.5; }
.app .app-txt b { font-family: var(--font-head); font-weight: 700; font-size: 16px; display: block; }
.app .app-txt small { color: var(--gray-dim); font-size: 12px; letter-spacing: 0.04em; }

/* ============ Spec sheet (light) ============ */
.spec-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(34px, 5vw, 66px); align-items: start; }
@media (max-width: 900px) { .spec-grid { grid-template-columns: 1fr; } }
.spec-copy .title { color: var(--ink); }
.spec-note { margin-top: 24px; padding: 18px 20px; border-left: 3px solid var(--red); background: rgba(0,0,0,0.05); border-radius: 0 8px 8px 0; }
.spec-note p { font-size: 14.5px; color: var(--ink-soft); }
.spec-note p b { color: var(--ink); }

.spec-sheet { background: #fff; border: 1px solid var(--light-line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 30px 60px -34px rgba(0,0,0,0.4); }
.spec-sheet .sh-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; background: var(--ink); color: #fff; }
.spec-sheet .sh-head b { font-family: var(--font-head); font-size: 13px; font-weight: 600; letter-spacing: 0.04em; }
.spec-sheet .sh-head .doc { font-size: 11.5px; color: rgba(255,255,255,0.6); }
.spec-row { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 16px; padding: 14px 24px; border-bottom: 1px solid #e7e8e9; align-items: baseline; }
.spec-row:last-child { border-bottom: none; }
.spec-row dt { font-family: var(--font-head); font-size: 11.5px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-soft); margin: 0; }
.spec-row dd { margin: 0; font-size: 15.5px; color: var(--ink); font-weight: 500; }
.spec-row dd.big { font-family: var(--font-head); font-weight: 800; font-size: 22px; color: var(--red); }

/* ============ Showcase (dark) ============ */
.showcase-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 14px; }
@media (max-width: 860px) { .showcase-grid { grid-template-columns: 1fr; } }
.shot { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 460px;
  background: radial-gradient(70% 60% at 50% 35%, #ffffff, #e6e8ea 58%, #c3c6c9 100%); }
.shot image-slot { position: absolute; inset: 0; width: 100%; height: 100%; }
.shot .shot-cap {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 3;
  padding: 16px 20px; display: flex; justify-content: space-between; align-items: center;
  background: linear-gradient(0deg, rgba(0,0,0,0.7), transparent);
  font-family: var(--font-head); font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #fff;
}
.shot .shot-cap .red { color: var(--red-bright); }
.showcase-line { margin-top: 26px; text-align: center; font-family: var(--font-head); font-weight: 700; font-size: clamp(18px, 2.3vw, 26px); }
.showcase-line span { color: var(--red-bright); }

/* ============ CTA (teal) ============ */
.cta .wrap { text-align: center; max-width: 820px; }
.cta .title { color: #fff; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 13px; justify-content: center; margin-top: 36px; }

/* ============ FAQ (dark) ============ */
.faq-grid { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: clamp(28px,5vw,60px); align-items: start; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }
.faq-list { border-top: 1px solid var(--line-dark); }
.faq-item { border-bottom: 1px solid var(--line-dark); }
.faq-q { width: 100%; display: flex; align-items: center; gap: 18px; padding: 22px 4px; text-align: left;
  color: #fff; font-family: var(--font-head); font-weight: 600; font-size: clamp(15px,1.6vw,18px); }
.faq-q .q-no { color: var(--red-bright); font-size: 13px; flex: none; font-weight: 600; }
.faq-q .q-txt { flex: 1; }
.faq-q .q-ic { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--line-dark); border-radius: 50%; transition: transform .25s ease, background .2s ease, border-color .2s ease; }
.faq-q .q-ic svg { width: 15px; height: 15px; }
.faq-item[open] .q-ic { transform: rotate(45deg); background: var(--red); border-color: var(--red); }
.faq-a p { color: var(--gray); font-size: 15.5px; padding: 0 46px 24px; }
details > summary { list-style: none; cursor: pointer; }
details > summary::-webkit-details-marker { display: none; }

/* ============ Footer ============ */
.site-footer { background: var(--black); border-top: 3px solid var(--teal); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-block: clamp(48px,6vw,76px); }
@media (max-width: 820px) { .footer-top { grid-template-columns: 1fr; gap: 34px; } }
.footer-brand img { height: 36px; width: auto; margin-bottom: 18px; }
.footer-brand p { color: var(--gray); font-size: 14.5px; max-width: 40ch; }
.footer-col h5 { font-family: var(--font-head); font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray-dim); margin: 0 0 18px; }
.contact-item { display: flex; gap: 13px; align-items: flex-start; margin-bottom: 16px; }
.contact-item .ci-ic { flex: none; color: var(--red-bright); margin-top: 2px; }
.contact-item .ci-ic svg { width: 19px; height: 19px; }
.contact-item .ci-txt small { display: block; font-family: var(--font-head); font-size: 10.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray-dim); margin-bottom: 2px; }
.contact-item .ci-txt a, .contact-item .ci-txt span { font-size: 15.5px; color: #fff; font-weight: 500; transition: color .15s ease; }
.contact-item .ci-txt a:hover { color: var(--red-bright); }
.footer-disclaimer { border-top: 1px solid var(--line-dark); padding-block: 24px; }
.footer-disclaimer p { font-size: 12.5px; color: var(--gray-dim); line-height: 1.6; max-width: 92ch; }
.footer-bottom { border-top: 1px solid var(--line-dark); padding-block: 20px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.footer-bottom small { font-family: var(--font-head); font-size: 11.5px; font-weight: 500; letter-spacing: 0.04em; color: var(--gray-dim); }

/* ============ Floating WhatsApp ============ */
.fab { position: fixed; right: 22px; bottom: 22px; z-index: 70; width: 58px; height: 58px; border-radius: 50%;
  background: #1faf54; display: grid; place-items: center; color: #fff;
  box-shadow: 0 14px 34px -8px rgba(31,175,84,0.6); transition: transform .2s ease; }
.fab:hover { transform: scale(1.07); }
.fab svg { width: 29px; height: 29px; }

/* ============ Mobile: rail vira topbar ============ */
@media (max-width: 900px) {
  :root { --rail: 0px; }
  .rail {
    position: sticky; top: 0; left: 0; right: 0; bottom: auto;
    width: 100%; height: auto; flex-direction: row; justify-content: center; gap: 18px;
    border-right: none; border-bottom: 1px solid var(--line-dark);
    padding: 12px 16px; overflow-x: auto;
  }
  .rail-nav { flex-direction: row; gap: 18px; }
  .rail-nav a { padding-bottom: 6px; font-size: 12.5px; white-space: nowrap; }
  .shell { margin-left: 0; }
  .brandbar { height: 72px; }
  .brand img { height: 38px; }
}

/* ============ Reveal (enhancement only — visível por padrão) ============ */
.reveal { transition: opacity .6s ease, transform .6s ease; }
body.js-reveal .reveal:not(.in) { opacity: 0; transform: translateY(20px); }
body.reveal-done .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; }
  body.js-reveal .reveal:not(.in) { opacity: 1; transform: none; }
  .strip-track { animation: none; }
  html { scroll-behavior: auto; }
}
