/* ==========================================================
   CICADA Engenharia — folha de estilos
   Paleta da identidade visual:
   #F2F2F2 · #051426 · #F2D399 · #A68051 · #734F30
   ========================================================== */

:root {
  --navy-950: #020b18;
  --navy-900: #030e1f;
  --navy-800: #051426;
  --navy-700: #0b2038;
  --navy-600: #142c4a;
  --gold-100: #faeccb;
  --gold-200: #f2d399;
  --gold-400: #c9a36a;
  --gold-500: #a68051;
  --gold-700: #734f30;
  --paper: #f2f2f2;
  --paper-2: #f7f6f3;
  --white: #ffffff;
  --ink: #0b1626;
  --ink-2: #3a4658;
  --ink-3: #667082;
  --line: #e4e1da;
  --line-dark: rgba(242, 211, 153, 0.16);
  --on-dark: rgba(242, 242, 242, 0.74);
  --on-dark-2: rgba(242, 242, 242, 0.66);

  --gold-grad: linear-gradient(120deg, #8c6034 0%, #d7b57a 28%, #fbe6a8 50%, #c9a36a 72%, #8c6034 100%);
  --gold-text: linear-gradient(100deg, #d4b077 0%, #f4dca2 30%, #fff3cf 50%, #f2d399 68%, #d0aa6c 100%);
  --gold-vert: linear-gradient(180deg, #f2d399, #a68051);
  /* Fundo claro: o dourado claro some sobre o branco. Ali usamos o bronze da paleta
     (#734F30) para textos e um degradê mais escuro para linhas decorativas. */
  --bronze: #734f30;
  --bronze-vert: linear-gradient(180deg, #c9a36a, #734f30);
  --gold-grad-light: linear-gradient(90deg, #8c6034 0%, #c9a36a 50%, #8c6034 100%);

  --font-sans: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-wide: "Montserrat", "Poppins", system-ui, sans-serif;

  --container: 1200px;
  --gutter: 24px;
  --radius: 4px;
  --header-h: 84px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-curtain: cubic-bezier(0.77, 0, 0.18, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-2);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--gold-200); color: var(--navy-900); }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 500; line-height: 1.2; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.is-hidden { display: none !important; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--gold-200); color: var(--navy-900);
  padding: 10px 16px; border-radius: var(--radius); font-weight: 500;
}
.skip-link:focus { top: 16px; }

:focus-visible { outline: 2px solid var(--gold-400); outline-offset: 3px; }

/* ---------- Marca ---------- */

.i-cicada { display: inline-block; width: 1.68em; height: 1em; fill: url(#g-gold); flex: none; }

.lockup { display: inline-flex; align-items: center; gap: 14px; flex: none; }
.lockup .i-cicada { width: 62px; height: 37px; transition: transform .6s var(--ease-out); }
.lockup:hover .i-cicada { transform: translateY(-2px) scale(1.04); }
.lockup .wordmark { width: 150px; height: 31px; }
.wordmark {
  --wm-main: url(#g-silver);
  --wm-sub: url(#g-gold-v);
  --wm-accent: url(#g-gold-v);
}

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

.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  border-radius: var(--radius);
  font-family: var(--font-wide);
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  border: 1px solid transparent;
  transition: transform .35s var(--ease), background-color .35s, color .35s, border-color .35s, box-shadow .35s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--gold {
  background: var(--gold-grad); background-size: 200% 100%; background-position: 0% 0;
  color: var(--navy-900);
  box-shadow: 0 10px 30px -12px rgba(242, 211, 153, 0.55);
  transition: transform .35s var(--ease), background-position .8s var(--ease), box-shadow .35s;
}
/* reflexo de luz que atravessa o botão dourado */
.btn--gold::after {
  content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: -75%; width: 50%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  transform: skewX(-20deg);
  transition: left .9s var(--ease);
}
.btn--gold:hover { background-position: 100% 0; transform: translateY(-2px); box-shadow: 0 16px 36px -14px rgba(242, 211, 153, 0.7); }
.btn--gold:hover::after { left: 135%; }
.btn--ghost { border-color: rgba(242, 211, 153, 0.45); color: var(--gold-100); }
.btn--ghost:hover { border-color: var(--gold-200); background: rgba(242, 211, 153, 0.08); transform: translateY(-2px); }

/* ---------- Cabeçalho ---------- */

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  transition: background-color .4s, box-shadow .4s, height .4s var(--ease);
  animation: headerIn 1s var(--ease-out) backwards; /* backwards: não deixa transform residual (o menu mobile é fixed dentro dele) */
}
@keyframes headerIn { from { opacity: 0; transform: translateY(-16px); } }
.site-header.is-scrolled {
  --header-h: 70px;
  background: rgba(3, 14, 31, 0.92);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 var(--line-dark), 0 18px 40px -30px rgba(0, 0, 0, 0.8);
}
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

/* barra fina de progresso da leitura */
.scroll-progress {
  position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--gold-grad);
  transform-origin: left; transform: scaleX(var(--progress, 0));
  opacity: 0; transition: opacity .4s;
}
.site-header.is-scrolled .scroll-progress { opacity: 1; }

.nav { display: flex; align-items: center; gap: 34px; }
.nav > a:not(.btn) {
  position: relative; white-space: nowrap;
  font-family: var(--font-wide); font-size: 12px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(242, 242, 242, 0.78);
  transition: color .3s;
}
.nav > a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px;
  background: var(--gold-200); transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease);
}
.nav > a:not(.btn):hover, .nav > a.is-active { color: var(--gold-100); }
.nav > a:not(.btn):hover::after, .nav > a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav .btn { min-height: 44px; padding: 0 20px; font-size: 11.5px; }
.nav__extra { display: none; }

.menu-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line-dark);
  background: transparent; border-radius: var(--radius); position: relative; flex: none;
}
.menu-toggle span {
  position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--gold-100);
  transition: transform .4s var(--ease), opacity .2s;
}
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 27px; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

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

.hero {
  position: relative; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 56px) 0 88px;
  background:
    radial-gradient(900px 600px at 78% 42%, rgba(166, 128, 81, 0.17), transparent 62%),
    radial-gradient(700px 500px at 10% 100%, rgba(20, 44, 74, 0.7), transparent 70%),
    linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: var(--paper);
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(242, 211, 153, 0.28), transparent);
}
.hero__grid-bg {
  position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 0l28 16.2v32.3L28 64.7 0 48.5V16.2z M28 64.7V97' fill='none' stroke='%23f2d399' stroke-opacity='.05'/%3E%3C/svg%3E");
  -webkit-mask-image: radial-gradient(ellipse at 70% 45%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse at 70% 45%, #000 0%, transparent 70%);
  animation: fadeIn 2.4s ease both .2s;
}
.hero .container { position: relative; display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 48px; align-items: center; }

/* entrada do topo — só CSS, não depende de JavaScript */
.intro { animation: introUp 1.1s var(--ease-out) both; animation-delay: calc(var(--d, 0) * 130ms + 250ms); }
@keyframes introUp { from { opacity: 0; transform: translateY(26px); filter: blur(6px); } }
@keyframes fadeIn { from { opacity: 0; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-wide); font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--bronze);
}
.eyebrow .i-cicada { font-size: 19px; fill: var(--navy-800); }
.eyebrow--light { color: var(--gold-200); }
.eyebrow--light .i-cicada { fill: url(#g-gold); }

.hero h1 {
  margin-top: 26px;
  color: var(--white);
  font-size: clamp(38px, 5.2vw, 66px);
  font-weight: 300; line-height: 1.08; letter-spacing: -0.025em;
}
.hero h1 strong {
  font-weight: 500;
  background: var(--gold-text); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  animation: shimmer 8s ease-in-out infinite alternate;
}
@keyframes shimmer { from { background-position: 0% 0; } to { background-position: 100% 0; } }

.hero__lead {
  margin-top: 26px; max-width: 540px;
  font-size: 17.5px; line-height: 1.75; color: var(--on-dark);
}
.hero__actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; }

.hero__creds {
  margin-top: 56px; padding-top: 28px;
  border-top: 1px solid var(--line-dark);
  display: flex; flex-wrap: wrap; gap: 20px 0;
}
.cred { display: flex; flex-direction: column; gap: 4px; padding-right: 28px; }
.cred:last-child { padding-right: 0; }
.cred + .cred { padding-left: 28px; border-left: 1px solid var(--line-dark); }
.cred__label {
  font-family: var(--font-wide); font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-400);
}
.cred__value { font-size: 14.5px; font-weight: 400; color: var(--paper); }

.hero__visual { position: relative; display: grid; place-items: center; aspect-ratio: 1 / 1; }
.hero__hex {
  position: absolute; inset: 0; width: 100%; height: 100%;
  fill: none; stroke: var(--gold-200); will-change: transform;
}
.hero__hex > polygon { stroke-width: .6; stroke-dasharray: 1; animation: draw 2.8s var(--ease-out) both; }
.hero__hex > polygon:nth-child(1) { stroke-opacity: .16; animation-delay: .3s; }
.hero__hex > polygon:nth-child(2) { stroke-opacity: .10; animation-delay: .6s; }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.hero__hex .spin { transform-origin: 250px 250px; animation: spin 120s linear infinite, fadeIn 2s ease both 1s; }
.hero__hex .spin polygon { stroke-opacity: .07; stroke-width: .6; stroke-dasharray: 2 6; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero__float { position: relative; width: 78%; will-change: transform; }
.hero__emblem {
  display: block; width: 100%; height: auto; aspect-ratio: 568 / 338;
  fill: url(#g-gold);
  filter: blur(0) drop-shadow(0 22px 50px rgba(166, 128, 81, 0.3));
  animation: emblemIn 1.8s var(--ease-out) .45s both, hover 8s ease-in-out 2.3s infinite;
}
.hero__shine { fill: url(#g-shine); }
@keyframes emblemIn { from { opacity: 0; transform: translateY(18px) scale(.94); filter: blur(10px) drop-shadow(0 22px 50px rgba(166, 128, 81, 0)); } }
@keyframes hover { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.hero__badge {
  position: absolute; right: 0; bottom: 8%;
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px;
  background: rgba(5, 20, 38, 0.82);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line-dark); border-radius: var(--radius);
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.6);
}
.hero__badge svg { width: 34px; height: 34px; flex: none; stroke: var(--gold-200); fill: none; stroke-width: 1.3; }
.hero__badge strong { display: block; color: var(--white); font-weight: 500; font-size: 14px; line-height: 1.3; }
.hero__badge span { font-size: 12.5px; color: var(--on-dark-2); }

.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; margin-left: -11px;
  width: 22px; height: 36px; border: 1px solid rgba(242, 211, 153, 0.35); border-radius: 12px;
  animation: fadeIn 1s ease both 1.8s;
  transition: border-color .3s;
}
.scroll-cue:hover { border-color: var(--gold-200); }
.scroll-cue::after {
  content: ""; position: absolute; left: 50%; top: 7px; width: 2px; height: 7px; margin-left: -1px;
  background: var(--gold-200); border-radius: 2px; animation: cue 2.2s ease-in-out infinite;
}
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

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

.section { position: relative; padding: 128px 0; }
.section--paper { background: var(--paper-2); }
.section--dark {
  background:
    radial-gradient(800px 500px at 85% 0%, rgba(166, 128, 81, 0.10), transparent 60%),
    var(--navy-800);
  color: var(--on-dark);
  overflow: hidden;
}
.section--dark h2, .section--dark h3 { color: var(--white); }

.section-head { max-width: 720px; margin-bottom: 72px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 {
  margin-top: 18px;
  font-size: clamp(30px, 3.6vw, 46px); font-weight: 300; letter-spacing: -0.02em;
}
.section-head h2 strong { font-weight: 500; }
.section-head p { margin-top: 20px; font-size: 17px; color: var(--ink-3); }
.section--dark .section-head p { color: var(--on-dark-2); }

.watermark {
  position: absolute; pointer-events: none;
  height: auto; aspect-ratio: 568 / 338;
  fill: var(--gold-200); opacity: .035;
  will-change: transform;
}

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

.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service {
  position: relative; z-index: 0; background: var(--white);
  padding: 44px 32px 40px;
  transition: box-shadow .5s var(--ease), transform .5s var(--ease);
}
.service::before {
  content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 100%;
  background: var(--gold-grad-light); transform: scaleX(0); transform-origin: left;
  transition: transform .6s var(--ease);
}
.service:hover { z-index: 1; transform: translateY(-6px); box-shadow: 0 34px 60px -34px rgba(5, 20, 38, 0.35); }
.service:hover::before { transform: scaleX(1); }
.service__num {
  font-family: var(--font-wide); font-size: 11px; font-weight: 600; letter-spacing: .2em; color: var(--bronze);
}
.service__icon {
  margin: 28px 0 26px; width: 56px; height: 56px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%;
  transition: border-color .45s, background-color .45s, transform .6s var(--ease-out);
}
.service:hover .service__icon { border-color: var(--navy-800); background: var(--navy-800); transform: rotate(-8deg) scale(1.06); }
.service__icon svg {
  width: 26px; height: 26px; stroke: var(--gold-700); fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round;
  transition: stroke .45s, transform .6s var(--ease-out);
}
.service:hover .service__icon svg { stroke: var(--gold-200); transform: rotate(8deg); }
.service h3 { font-size: 21px; font-weight: 500; }
.service > p { margin-top: 12px; font-size: 15px; color: var(--ink-3); line-height: 1.7; }
.service ul { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.service li { position: relative; padding-left: 20px; font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.service li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 8px; height: 9px;
  background: var(--gold-500);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

/* ---------- Áreas de atuação ---------- */

.areas { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-dark); }
.area {
  position: relative;
  padding: 40px 36px 40px 0;
  border-bottom: 1px solid var(--line-dark);
  display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start;
}
.area::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: var(--gold-grad); transform: scaleX(0); transform-origin: left;
  transition: transform .7s var(--ease);
}
.area:hover::after { transform: scaleX(1); }
.area:not(:nth-child(3n + 1)) { padding-left: 36px; border-left: 1px solid var(--line-dark); }
.area__num {
  font-family: var(--font-wide); font-size: 13px; font-weight: 500; letter-spacing: .08em;
  background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-top: 3px;
  transition: transform .5s var(--ease-out);
}
.area:hover .area__num { transform: translateY(-3px); }
.area h3 { font-size: 19px; font-weight: 500; transition: color .4s; }
.area:hover h3 { color: var(--gold-100); }
.area p { margin-top: 10px; font-size: 14.5px; line-height: 1.7; color: var(--on-dark-2); }

/* ---------- Sobre ---------- */

.about { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 96px; align-items: center; }
.about__media { position: relative; padding: 0 28px 28px 0; }
.about__media::before {
  content: ""; position: absolute; inset: 28px 0 0 28px;
  border: 1px solid var(--gold-500); border-radius: var(--radius);
}
.about__photo {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4 / 5; background: var(--navy-800);
  box-shadow: 0 40px 80px -40px rgba(5, 20, 38, 0.55);
}
.about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.about__photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(3, 14, 31, 0.55));
}
.about__tag {
  position: absolute; left: -24px; bottom: 64px; z-index: 2;
  background: var(--navy-800); color: var(--white);
  padding: 18px 22px; border-radius: var(--radius);
  border-left: 2px solid var(--gold-200);
  box-shadow: 0 24px 40px -20px rgba(5, 20, 38, 0.6);
}
.about__tag small {
  display: block; font-family: var(--font-wide); font-size: 10px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--gold-200);
}
.about__tag span { display: block; margin-top: 4px; font-size: 15px; font-weight: 400; letter-spacing: .02em; }

/* revelação da foto em cortina */
.js .about__photo { clip-path: inset(100% 0 0 0); transition: clip-path 1.5s var(--ease-curtain); }
.js .about__photo img { transform: scale(1.18); transition: transform 2.2s var(--ease-out); }
.js .about__media::before { opacity: 0; transform: translate(-14px, -14px); transition: opacity 1s ease .8s, transform 1.2s var(--ease-out) .8s; }
.js .about__tag { opacity: 0; transform: translateX(-20px); transition: opacity .8s ease 1.1s, transform 1s var(--ease-out) 1.1s; }
.about__media.is-visible .about__photo { clip-path: inset(0 0 0 0); }
.about__media.is-visible .about__photo img,
.about__media.is-visible::before,
.about__media.is-visible .about__tag { opacity: 1; transform: none; }

.about__body h2 { margin-top: 18px; font-size: clamp(32px, 3.6vw, 46px); font-weight: 300; letter-spacing: -0.02em; }
.about__body h2 strong { font-weight: 500; }
.about__fullname {
  margin-top: 10px; font-family: var(--font-wide); font-size: 12px; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3);
}
.about__body > p { margin-top: 22px; font-size: 16.5px; color: var(--ink-2); }
.about__body > p + p { margin-top: 16px; }

.facts { margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.fact { padding: 22px 20px 22px 0; border-bottom: 1px solid var(--line); }
.fact:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
.fact dt {
  font-family: var(--font-wide); font-size: 10.5px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--bronze);
}
.fact dd { margin: 6px 0 0; font-size: 15px; font-weight: 400; color: var(--ink); line-height: 1.5; }

.about__quote {
  position: relative; margin: 40px 0 0; padding: 6px 0 0 58px;
  font-size: 17px; font-style: italic; color: var(--ink); line-height: 1.7;
}
.about__quote::before {
  content: "\201C"; position: absolute; left: 0; top: -10px;
  font-family: Georgia, "Times New Roman", serif; font-style: normal; font-size: 76px; line-height: 1;
  background: var(--bronze-vert); -webkit-background-clip: text; background-clip: text; color: transparent;
}

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

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; }
.steps::before {
  content: ""; position: absolute; left: 0; right: 0; top: 27px; height: 1px;
  background: linear-gradient(90deg, var(--gold-500), var(--line) 85%);
  transform-origin: left;
}
.js .steps::before { transform: scaleX(0); transition: transform 1.8s var(--ease-out) .15s; }
.steps.is-visible::before { transform: scaleX(1); }
.step { position: relative; }
.step__dot {
  position: relative; width: 56px; height: 56px; display: grid; place-items: center;
  background: var(--paper-2);
}
.step__dot::before {
  content: ""; position: absolute; inset: 0;
  background: var(--navy-800);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  transition: background-color .4s;
}
.step:hover .step__dot::before { background: var(--gold-500); }
.step__dot span {
  position: relative; font-family: var(--font-wide); font-size: 13px; font-weight: 600;
  letter-spacing: .06em; color: var(--gold-200); transition: color .4s;
}
.step:hover .step__dot span { color: var(--navy-900); }
.js .step .step__dot { transform: scale(.4) rotate(-30deg); opacity: 0; transition: transform .8s cubic-bezier(.34, 1.56, .64, 1), opacity .4s; }
.step.is-visible .step__dot { transform: none; opacity: 1; }
.step[data-delay="1"] .step__dot { transition-delay: .25s; }
.step[data-delay="2"] .step__dot { transition-delay: .45s; }
.step[data-delay="3"] .step__dot { transition-delay: .65s; }
.step h3 { margin-top: 28px; font-size: 19px; font-weight: 500; }
.step p { margin-top: 10px; font-size: 14.5px; color: var(--ink-3); line-height: 1.7; }

/* ---------- Capacitações ---------- */

.training-top {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap;
  margin-bottom: 56px;
}
.training-top .section-head { margin-bottom: 0; max-width: 540px; flex: 1 1 420px; }
.stats { display: flex; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.stat { padding: 20px 30px; text-align: left; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat strong {
  display: block; font-size: 34px; font-weight: 300; line-height: 1.1; color: var(--ink); letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.stat > span {
  display: block; margin-top: 6px; font-family: var(--font-wide); font-size: 10px; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3);
}

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter {
  min-height: 40px; padding: 0 18px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--white);
  font-family: var(--font-wide); font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-2);
  transition: background-color .3s, border-color .3s, color .3s, transform .3s var(--ease);
}
.filter:hover { border-color: var(--gold-400); color: var(--ink); transform: translateY(-1px); }
.filter[aria-pressed="true"] { background: var(--navy-800); border-color: var(--navy-800); color: var(--gold-100); }
.filter sup { font-size: 9.5px; margin-left: 4px; opacity: .7; }

.cert-group:not(.is-hidden) + .cert-group { margin-top: 72px; }

/* destaques */
.certs { display: flex; flex-wrap: wrap; gap: 20px; }
.cert {
  position: relative; flex: 1 1 300px; max-width: calc(50% - 10px); display: flex; flex-direction: column; overflow: hidden;
  background: var(--navy-800); border: 1px solid var(--navy-800); border-radius: var(--radius);
  padding: 30px 30px 24px;
  transition: transform .5s var(--ease), box-shadow .5s;
}
.cert::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px 220px at 100% 0%, rgba(242, 211, 153, 0.12), transparent 70%);
  opacity: .5; transition: opacity .5s;
}
.cert::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: var(--gold-grad); transform: scaleX(0); transform-origin: left;
  transition: transform .7s var(--ease);
}
.cert:hover { transform: translateY(-6px); box-shadow: 0 34px 60px -30px rgba(5, 20, 38, 0.55); }
.cert:hover::before { opacity: 1; }
.cert:hover::after { transform: scaleX(1); }
.cert__head { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cert__cat {
  font-family: var(--font-wide); font-size: 10px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-200); border: 1px solid var(--line-dark); padding: 4px 10px; border-radius: 999px;
}
.cert__head .i-cicada { font-size: 16px; transition: transform .6s var(--ease-out); }
.cert:hover .cert__head .i-cicada { transform: translateY(-3px) scale(1.12); }
.cert h3 { position: relative; margin-top: 22px; font-size: 18px; font-weight: 500; line-height: 1.35; color: var(--white); }
.cert__org { position: relative; margin-top: 8px; font-size: 14px; color: var(--on-dark-2); line-height: 1.5; }
.cert__list { position: relative; margin-top: 16px; display: grid; gap: 7px; }
.cert__list li { position: relative; padding-left: 16px; font-size: 13.5px; line-height: 1.45; color: var(--on-dark); }
.cert__list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 1px; background: var(--gold-200); }
.cert__body { position: relative; margin-bottom: 24px; }
.cert__meta {
  position: relative; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line-dark);
  display: flex; justify-content: space-between; gap: 12px;
  font-size: 13px; font-weight: 400; color: var(--on-dark);
}

/* linha do tempo */
.cert-label {
  display: flex; align-items: center; gap: 18px; margin-bottom: 8px;
  font-family: var(--font-wide); font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
  color: var(--ink-3);
}
.cert-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.tl {
  position: relative;
  display: grid; grid-template-columns: 112px minmax(0, 1fr) 190px 64px; gap: 28px; align-items: baseline;
  padding: 26px 20px 26px 22px;
  border-bottom: 1px solid var(--line);
  transition: background-color .4s;
}
.tl::before {
  content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 2px;
  background: var(--bronze-vert); transform: scaleY(0); transition: transform .45s var(--ease);
}
.tl:hover { background: var(--paper-2); }
.tl:hover::before { transform: scaleY(1); }
.tl__date {
  font-family: var(--font-wide); font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--bronze);
}
.tl h3 { font-size: 17px; font-weight: 500; line-height: 1.4; }
.tl__main p { margin-top: 4px; font-size: 14px; color: var(--ink-3); }
.tl__sub { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.tl__sub li {
  font-size: 12.5px; line-height: 1.3; padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--white); color: var(--ink-2);
}
.tl__cat { font-size: 13px; color: var(--ink-3); }
.tl__hours { text-align: right; font-size: 15px; font-weight: 400; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }

@keyframes itemIn { from { opacity: 0; translate: 0 16px; } to { opacity: 1; translate: none; } }

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

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; position: relative; }
.contact__info h2 { margin-top: 18px; font-size: clamp(32px, 3.8vw, 48px); font-weight: 300; }
.contact__info h2 strong { font-weight: 500; }
.contact__info > p { margin-top: 20px; font-size: 16.5px; max-width: 460px; }
.channels { margin-top: 44px; display: grid; gap: 14px; }
.channel {
  display: flex; align-items: center; gap: 18px;
  padding: 18px 22px; border: 1px solid var(--line-dark); border-radius: var(--radius);
  transition: border-color .3s, background-color .3s, transform .4s var(--ease);
}
a.channel:hover { border-color: rgba(242, 211, 153, 0.5); background: rgba(242, 211, 153, 0.04); transform: translateX(6px); }
.channel__icon {
  width: 46px; height: 46px; flex: none; display: grid; place-items: center;
  border-radius: 50%; background: rgba(242, 211, 153, 0.1);
  transition: background-color .4s;
}
a.channel:hover .channel__icon { background: rgba(242, 211, 153, 0.2); }
.channel__icon svg { width: 20px; height: 20px; stroke: var(--gold-200); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.channel div small {
  display: block; font-family: var(--font-wide); font-size: 10px; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gold-400);
}
.channel div span { display: block; margin-top: 2px; color: var(--white); font-size: 16px; font-weight: 400; word-break: break-word; }

.form {
  position: relative;
  background: var(--white); border-radius: var(--radius); padding: 44px 40px;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.6);
  color: var(--ink-2);
}
.form::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: var(--gold-grad-light); border-radius: var(--radius) var(--radius) 0 0;
}
.form h3, .section--dark .form h3 { font-size: 22px; font-weight: 500; color: var(--ink); }
.form > p { margin-top: 8px; font-size: 14.5px; color: var(--ink-3); }
.form__grid { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-wide); font-size: 10.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-2);
}
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px;
  font: inherit; font-size: 15px; font-weight: 400; color: var(--ink);
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .3s, background-color .3s, box-shadow .3s;
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23a68051' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #d6cfbf; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold-400); background: var(--white);
  box-shadow: 0 0 0 3px rgba(242, 211, 153, 0.35);
}
.field input[aria-invalid="true"] { border-color: #c0634f; box-shadow: 0 0 0 3px rgba(192, 99, 79, 0.15); }
.form .btn { margin-top: 24px; width: 100%; }
.form__note { margin-top: 14px; font-size: 12.5px; color: var(--ink-3); text-align: center; }

/* ---------- Rodapé ---------- */

.site-footer { position: relative; background: var(--navy-950); color: rgba(242, 242, 242, 0.62); padding: 80px 0 32px; font-size: 14px; }
.site-footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(242, 211, 153, 0.35), transparent);
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 56px; }
.footer-brand .lockup .i-cicada { width: 72px; height: 43px; }
.footer-brand .lockup .wordmark { width: 170px; height: 35px; }
.footer-brand p { margin-top: 22px; max-width: 360px; line-height: 1.75; }
.footer-col h4 {
  font-family: var(--font-wide); font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-200); margin-bottom: 20px;
}
.footer-col li + li { margin-top: 10px; }
.footer-col a { transition: color .3s; }
.footer-col a:hover { color: var(--gold-100); }
.footer-bottom {
  margin-top: 64px; padding-top: 28px; border-top: 1px solid rgba(242, 211, 153, 0.1);
  display: flex; justify-content: space-between; align-items: center; gap: 16px 32px; flex-wrap: wrap; font-size: 12.5px;
}
.footer-bottom .taglines {
  font-family: var(--font-wide); font-size: 10.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(242, 211, 153, 0.6);
}
.to-top {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-wide); font-size: 10.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  transition: color .3s;
}
.to-top i {
  width: 34px; height: 34px; display: grid; place-items: center;
  border: 1px solid var(--line-dark); border-radius: 50%;
  transition: border-color .3s, transform .4s var(--ease);
}
.to-top svg { width: 12px; height: 12px; stroke: var(--gold-200); fill: none; stroke-width: 1.6; }
.to-top:hover { color: var(--gold-100); }
.to-top:hover i { border-color: var(--gold-200); transform: translateY(-3px); }

/* ---------- WhatsApp flutuante ---------- */

.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy-800); border: 1px solid rgba(242, 211, 153, 0.45);
  box-shadow: 0 16px 36px -12px rgba(0, 0, 0, 0.55);
  transition: transform .5s var(--ease-out), opacity .4s, background-color .3s;
}
.js .wa-float:not(.is-shown) { opacity: 0; transform: translateY(20px) scale(.85); pointer-events: none; }
.wa-float:hover { transform: translateY(-3px) scale(1.05); background: var(--navy-700); }
.wa-float svg { width: 26px; height: 26px; fill: var(--gold-200); }
.wa-float::before {
  content: ""; position: absolute; inset: -1px; border-radius: 50%;
  border: 1px solid var(--gold-200); animation: ping 5s var(--ease) infinite 1s;
}
@keyframes ping { 0% { transform: scale(1); opacity: .6; } 35%, 100% { transform: scale(1.55); opacity: 0; } }

/* ---------- Animações de entrada ao rolar ---------- */

/* usa "translate" (e não "transform") para não brigar com os efeitos de hover */
.js .reveal { opacity: 0; }
.js .reveal.is-visible { animation: revealUp 1.1s var(--ease-out) both; animation-delay: var(--rd, 0s); }
.js .reveal.is-visible.is-entering { animation: itemIn .7s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 60ms); }
.js .reveal.reveal--static,
.js .reveal.reveal--static.is-visible,
.js .about__media.reveal,
.js .about__media.reveal.is-visible { opacity: 1; animation: none; }
.reveal[data-delay="1"] { --rd: .12s; }
.reveal[data-delay="2"] { --rd: .24s; }
.reveal[data-delay="3"] { --rd: .36s; }
@keyframes revealUp { from { opacity: 0; translate: 0 30px; } to { opacity: 1; translate: none; } }

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

@media (max-width: 1140px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; justify-content: center; gap: 28px;
    background:
      radial-gradient(600px 400px at 50% 20%, rgba(166, 128, 81, 0.14), transparent 70%),
      var(--navy-900);
    opacity: 0; visibility: hidden; transition: opacity .45s, visibility .45s;
  }
  .nav > a:not(.btn) { font-size: 15px; }
  .nav .btn { margin-top: 12px; min-height: 52px; padding: 0 28px; }
  .nav > a { opacity: 0; transform: translateY(14px); transition: opacity .5s, transform .6s var(--ease-out), color .3s; }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .menu-open .nav > a { opacity: 1; transform: none; }
  .menu-open .nav > a:nth-child(1) { transition-delay: .08s; }
  .menu-open .nav > a:nth-child(2) { transition-delay: .14s; }
  .menu-open .nav > a:nth-child(3) { transition-delay: .20s; }
  .menu-open .nav > a:nth-child(4) { transition-delay: .26s; }
  .menu-open .nav > a:nth-child(5) { transition-delay: .32s; }
  .menu-open .nav > a:nth-child(6) { transition-delay: .40s; }
  .nav__extra {
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    position: absolute; left: 0; right: 0; bottom: 40px;
    font-size: 13px; color: var(--on-dark-2);
    opacity: 0; transition: opacity .6s ease .45s;
  }
  .nav__extra a { color: var(--gold-100); }
  .menu-open .nav__extra { opacity: 1; }
  .menu-open .site-header { background: var(--navy-900); backdrop-filter: none; -webkit-backdrop-filter: none; }
}

@media (max-width: 1100px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .about { gap: 64px; }
  .tl { grid-template-columns: 96px minmax(0, 1fr) 150px 56px; gap: 22px; }
}

@media (max-width: 960px) {
  :root { --header-h: 72px; }

  .hero .container { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  .hero__visual { width: min(380px, 86%); margin: 8px auto 0; }
  .hero__badge { display: none; }
  .scroll-cue { display: none; }

  .areas { grid-template-columns: 1fr 1fr; }
  .area, .area:not(:nth-child(3n + 1)) { padding: 32px 28px 32px 0; border-left: 0; }
  .area:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--line-dark); }

  .about, .contact { grid-template-columns: 1fr; gap: 56px; }
  .about__media { max-width: 460px; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .steps::before { display: none; }
  .tl { grid-template-columns: 96px minmax(0, 1fr) 56px; }
  .tl__cat { grid-column: 2; grid-row: 2; margin-top: -14px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 15.5px; }
  .section { padding: 88px 0; }
  .section-head { margin-bottom: 48px; }
  .lockup { gap: 10px; }
  .lockup .i-cicada { width: 50px; height: 30px; }
  .lockup .wordmark { width: 122px; height: 25px; }
  .hero { padding: calc(var(--header-h) + 24px) 0 64px; }
  .hero__lead { font-size: 16px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__creds { flex-direction: column; gap: 16px; margin-top: 40px; }
  .cred, .cred + .cred { padding: 0; border: 0; }
  .hero .container { gap: 20px; }
  .hero__visual { width: min(300px, 80%); margin-top: 0; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gutter) * -1) 28px; padding: 0 var(--gutter) 4px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: none; padding: 0 14px; font-size: 10.5px; }
  .services, .areas { grid-template-columns: 1fr; }
  .area, .area:nth-child(even), .area:not(:nth-child(3n + 1)) { padding: 28px 0; border-left: 0; }
  .service { padding: 36px 24px; }
  .service:hover { transform: none; }
  .about__media { padding: 0 16px 16px 0; }
  .about__media::before { inset: 16px 0 0 16px; }
  .about__tag { left: 12px; bottom: 36px; }
  .about__quote { padding-left: 44px; font-size: 16px; }
  .about__quote::before { font-size: 60px; }
  .facts { grid-template-columns: 1fr; }
  .fact, .fact:nth-child(even) { padding: 18px 0; border-left: 0; }
  .steps { grid-template-columns: 1fr; }
  .stats { width: 100%; }
  .stat { flex: 1; padding: 16px 14px; }
  .stat strong { font-size: 26px; }
  .stat > span { font-size: 9px; letter-spacing: .14em; }
  .cert { padding: 26px 22px 22px; max-width: none; }
  .tl { grid-template-columns: 1fr auto; gap: 6px 16px; padding: 22px 6px 22px 14px; }
  .tl__date { grid-column: 1; grid-row: 1; }
  .tl__hours { grid-column: 2; grid-row: 1; }
  .tl__main { grid-column: 1 / -1; grid-row: 2; }
  .tl__cat { grid-column: 1 / -1; grid-row: 3; margin-top: 2px; }
  .form { padding: 32px 20px; }
  .form__grid { grid-template-columns: 1fr; }
  .channel { padding: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .wa-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
}

/* ---------- Movimento reduzido ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; }
  .js .step .step__dot, .js .about__tag, .js .about__media::before { opacity: 1; transform: none; }
  .js .about__photo { clip-path: none; }
  .js .about__photo img { transform: none; }
  .js .steps::before { transform: none; }
  .hero__shine { display: none; }
}
