/* =========================================================
   Personal Engenharia — Design System
   Paleta: Azul-marinho profundo + Dourado + Off-white
   ========================================================= */

:root {
  --navy-900: #020310;
  --navy-800: #040617;
  --navy-700: #0a0d20;
  --navy-600: #12162e;
  --navy-500: #1c2242;

  --gold-400: #c9b078;
  --gold-300: #dcc38f;
  --gold-200: #e7d49e;

  --paper: #faf9f6;
  --paper-2: #f2f1ec;
  --ink: #14150f;
  --muted: #5c6172;
  --line: #e4e2da;

  --white: #ffffff;
  --white-70: rgba(255, 255, 255, 0.72);
  --white-55: rgba(255, 255, 255, 0.55);
  --white-12: rgba(255, 255, 255, 0.12);
  --white-08: rgba(255, 255, 255, 0.08);

  --font-head: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Manrope", "Segoe UI", system-ui, sans-serif;

  --container: 1200px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 4px 18px rgba(10, 19, 48, 0.08);
  --shadow-md: 0 18px 44px rgba(10, 19, 48, 0.14);
  --shadow-gold: 0 14px 40px rgba(201, 169, 106, 0.28);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 104px 0; position: relative; }
.section--tight { padding: 80px 0; }
.section--navy { background: var(--navy-800); color: var(--white); }
.section--paper2 { background: var(--paper-2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head);
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold-400); display: inline-block; }
.section--navy .eyebrow { color: var(--gold-300); }

.section-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--navy-800);
}
.section--navy .section-title { color: var(--white); }
.section-lead {
  margin-top: 20px;
  max-width: 640px;
  color: var(--muted);
  font-size: 1.06rem;
}
.section--navy .section-lead { color: var(--white-70); }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { }

.text-gold { color: var(--gold-400); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head);
  font-weight: 600; font-size: 0.98rem;
  padding: 15px 28px;
  border-radius: 999px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 19px; height: 19px; }
.btn--gold { background: var(--gold-400); color: var(--navy-900); box-shadow: var(--shadow-gold); }
.btn--gold:hover { transform: translateY(-3px); background: var(--gold-300); box-shadow: 0 20px 48px rgba(201,169,106,.4); }
.btn--ghost { background: transparent; color: var(--white); border: 1.5px solid var(--white-12); }
.btn--ghost:hover { border-color: var(--gold-400); color: var(--gold-300); transform: translateY(-3px); }
.btn--dark { background: var(--navy-800); color: var(--white); }
.btn--dark:hover { transform: translateY(-3px); background: var(--navy-600); box-shadow: var(--shadow-md); }
.btn--outline-dark { background: transparent; color: var(--navy-800); border: 1.5px solid var(--line); }
.btn--outline-dark:hover { border-color: var(--navy-800); transform: translateY(-3px); }

/* =========================================================
   Header / Nav
   ========================================================= */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), padding .35s var(--ease);
  padding: 18px 0;
}
.header.scrolled {
  background: rgba(8, 13, 34, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--white-08);
  padding: 12px 0;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav__logo { height: 40px; width: auto; max-width: none; transition: height .3s var(--ease); }
.header.scrolled .nav__logo { height: 34px; }
.nav__menu { display: flex; align-items: center; gap: 34px; }
.nav__link {
  font-family: var(--font-head);
  font-size: 0.92rem; font-weight: 500;
  color: var(--white-70);
  position: relative;
  transition: color .2s var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 2px; background: var(--gold-400);
  transition: width .25s var(--ease);
}
.nav__link:hover, .nav__link.active { color: var(--white); }
.nav__link:hover::after, .nav__link.active::after { width: 100%; }
.nav__actions { display: flex; align-items: center; gap: 14px; }
.nav__cta { padding: 11px 22px; font-size: 0.9rem; }

.nav__toggle { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav__toggle span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  background: radial-gradient(120% 90% at 80% 0%, var(--navy-600) 0%, var(--navy-800) 45%, var(--navy-900) 100%);
  color: var(--white);
  padding: 168px 0 96px;
  overflow: hidden;
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--white-08) 1px, transparent 1px),
    linear-gradient(90deg, var(--white-08) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(120% 80% at 70% 10%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(120% 80% at 70% 10%, #000 0%, transparent 72%);
  opacity: .5;
  pointer-events: none;
}
.hero__glow {
  position: absolute; width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,169,106,.18) 0%, transparent 68%);
  top: -180px; right: -120px; pointer-events: none;
}
.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero__tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border-radius: 999px;
  background: var(--white-08); border: 1px solid var(--white-12);
  font-family: var(--font-head); font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.04em; color: var(--white-70);
  margin-bottom: 26px;
}
.hero__tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-400); box-shadow: 0 0 0 4px rgba(201,169,106,.2); }
.hero h1 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.35rem, 5vw, 3.75rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
}
.hero__slogan { font-family: var(--font-head); font-weight: 600; font-size: 0.98rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-300); margin-bottom: 14px; }
.hero h1 em { color: var(--gold-300); font-style: normal; }
.hero__sub { margin-top: 24px; font-size: 1.14rem; color: var(--white-70); max-width: 560px; }
.hero__actions { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 16px; }
.hero__stats { margin-top: 52px; display: flex; gap: 40px; flex-wrap: wrap; }
.hero__stat .num { font-family: var(--font-head); font-weight: 700; font-size: 2rem; color: var(--white); line-height: 1; }
.hero__stat .num span { color: var(--gold-400); }
.hero__stat .lbl { font-size: 0.82rem; color: var(--white-55); margin-top: 8px; letter-spacing: .02em; }

/* Hero card (selos) */
.hero__aside { position: relative; }
.selo-card {
  background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid var(--white-12);
  border-radius: 22px;
  padding: 30px;
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-md);
}
.selo-card__title { font-family: var(--font-head); font-size: 0.78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-300); margin-bottom: 20px; }
.selo-card__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.selo {
  background: var(--white); border-radius: 14px; padding: 16px;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px;
}
.selo img { height: 84px; width: auto; object-fit: contain; }
.selo span { font-size: 0.72rem; font-weight: 600; color: var(--navy-700); letter-spacing: .02em; line-height: 1.3; }
.selo-card__foot { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--white-12); font-size: 0.82rem; color: var(--white-55); text-align: center; }

/* =========================================================
   Trust strip
   ========================================================= */
.trust { background: var(--navy-900); padding: 30px 0; border-top: 1px solid var(--white-08); }
.trust__row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 26px; }
.trust__item { display: flex; align-items: center; gap: 13px; color: var(--white-70); font-family: var(--font-head); font-size: 0.92rem; font-weight: 500; }
.trust__item svg { width: 22px; height: 22px; color: var(--gold-400); flex-shrink: 0; }

/* =========================================================
   Sobre
   ========================================================= */
.sobre__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.sobre__visual { position: relative; }
.sobre__frame {
  border-radius: var(--radius);
  background: linear-gradient(155deg, var(--navy-700), var(--navy-900));
  color: var(--white);
  padding: 46px 42px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.sobre__frame::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--white-08) 1px, transparent 1px), linear-gradient(90deg, var(--white-08) 1px, transparent 1px);
  background-size: 40px 40px; opacity: .35; mask-image: radial-gradient(80% 80% at 100% 0, #000, transparent 70%);
}
.sobre__frame > * { position: relative; z-index: 1; }
.sobre__mono { font-family: var(--font-head); font-weight: 700; font-size: 3.4rem; color: var(--gold-400); line-height: 1; }
.sobre__frame h3 { font-family: var(--font-head); font-size: 1.35rem; margin: 20px 0 12px; font-weight: 600; }
.sobre__frame p { color: var(--white-70); font-size: 1rem; }
.sobre__vals { margin-top: 30px; display: grid; gap: 14px; }
.sobre__val { display: flex; align-items: flex-start; gap: 12px; font-size: 0.95rem; color: var(--white-70); }
.sobre__val svg { width: 20px; height: 20px; color: var(--gold-300); flex-shrink: 0; margin-top: 2px; }
.prose p + p { margin-top: 18px; }
.prose p { color: var(--muted); }
.prose strong { color: var(--ink); font-weight: 600; }

.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 38px; }
.mini-stat { border-left: 3px solid var(--gold-400); padding-left: 16px; }
.mini-stat .n { font-family: var(--font-head); font-weight: 700; font-size: 1.9rem; color: var(--navy-800); line-height: 1; }
.mini-stat .t { font-size: 0.85rem; color: var(--muted); margin-top: 6px; }

/* =========================================================
   Faixa de slogan (destaque de marca)
   ========================================================= */
.slogan-band {
  position: relative; overflow: hidden; text-align: center;
  padding: 92px 0;
  background: radial-gradient(120% 140% at 50% 0%, var(--navy-600) 0%, var(--navy-800) 50%, var(--navy-900) 100%);
  color: var(--white);
}
.slogan-band__grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--white-08) 1px, transparent 1px), linear-gradient(90deg, var(--white-08) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(80% 90% at 50% 0%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(80% 90% at 50% 0%, #000 0%, transparent 70%);
  opacity: .5;
}
.slogan-band__inner { position: relative; z-index: 1; padding: 44px 0; border-top: 1px solid rgba(231, 212, 158, .28); border-bottom: 1px solid rgba(231, 212, 158, .28); }
.slogan-band__eyebrow {
  font-family: var(--font-head); font-size: .78rem; font-weight: 600;
  letter-spacing: .24em; text-transform: uppercase; color: var(--gold-300); margin-bottom: 20px;
}
.slogan-band__text {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(2.1rem, 5.4vw, 3.6rem); line-height: 1.08; letter-spacing: -.025em;
  margin: 0 auto; max-width: 900px;
}
.slogan-band__text em { color: var(--gold-300); font-style: normal; }
.slogan-band__sub { max-width: 640px; margin: 22px auto 0; color: var(--white-70); font-size: 1.08rem; }
.slogan-band__actions { margin-top: 34px; }

/* =========================================================
   Serviços
   ========================================================= */
.serv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.serv-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 30px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
}
.serv-card::after {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--gold-400), var(--gold-200));
  transition: width .35s var(--ease);
}
.serv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.serv-card:hover::after { width: 100%; }
.serv-card__icon {
  width: 54px; height: 54px; border-radius: 14px;
  background: var(--navy-800); color: var(--gold-300);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px; transition: background .3s var(--ease), transform .3s var(--ease);
}
.serv-card:hover .serv-card__icon { background: var(--gold-400); color: var(--navy-900); transform: rotate(-4deg); }
.serv-card__icon svg { width: 26px; height: 26px; }
.serv-card__num { position: absolute; top: 24px; right: 26px; font-family: var(--font-head); font-weight: 700; font-size: 0.85rem; color: var(--line); }
.serv-card h3 { font-family: var(--font-head); font-size: 1.18rem; font-weight: 600; color: var(--navy-800); line-height: 1.25; }
.serv-card p { margin-top: 12px; font-size: 0.95rem; color: var(--muted); flex: 1; }
.serv-card__more {
  margin-top: 20px; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.86rem; color: var(--navy-700);
  transition: gap .2s var(--ease), color .2s var(--ease);
}
.serv-card__more svg { width: 16px; height: 16px; }
.serv-card__more:hover { gap: 12px; color: var(--gold-400); }

/* =========================================================
   Diferenciais
   ========================================================= */
.dif-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 48px; }
.dif {
  display: flex; gap: 20px; padding: 6px 0;
}
.dif__ic {
  width: 52px; height: 52px; flex-shrink: 0; border-radius: 13px;
  border: 1px solid var(--white-12); background: var(--white-08);
  display: flex; align-items: center; justify-content: center; color: var(--gold-300);
}
.dif__ic svg { width: 24px; height: 24px; }
.dif h3 { font-family: var(--font-head); font-size: 1.1rem; font-weight: 600; color: var(--white); margin-bottom: 8px; }
.dif p { color: var(--white-70); font-size: 0.96rem; }

/* =========================================================
   Certificações
   ========================================================= */
.cert-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.cert {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px; display: flex; gap: 26px; align-items: center;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.cert:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.cert__seal { flex-shrink: 0; width: 120px; height: 120px; display: flex; align-items: center; justify-content: center; }
.cert__seal img { max-height: 120px; width: auto; }
.cert h3 { font-family: var(--font-head); font-size: 1.2rem; font-weight: 600; color: var(--navy-800); }
.cert .tagline { font-size: 0.8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-400); font-weight: 600; margin-bottom: 6px; font-family: var(--font-head); }
.cert p { font-size: 0.94rem; color: var(--muted); margin-top: 10px; }

/* =========================================================
   Clientes (mural de logos)
   ========================================================= */
.clients-wall { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.client-logo {
  flex: 0 0 auto; width: 152px; background: #fff; border-radius: 12px; height: 90px;
  display: flex; align-items: center; justify-content: center; padding: 16px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.client-logo img {
  max-height: 100%; max-width: 100%; object-fit: contain;
  filter: grayscale(1); opacity: .78; mix-blend-mode: multiply;
  transition: filter .3s var(--ease), opacity .3s var(--ease);
}
.client-logo:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.client-logo:hover img { filter: grayscale(0); opacity: 1; }
.clients-note { text-align: center; margin-top: 34px; color: var(--white-70); font-size: 1.02rem; font-family: var(--font-head); }
.clients-note strong { color: var(--gold-300); }

/* =========================================================
   Diretoria
   ========================================================= */
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.member {
  background: linear-gradient(160deg, var(--navy-700), var(--navy-900));
  border: 1px solid var(--white-12);
  border-radius: var(--radius);
  padding: 38px 36px;
  color: var(--white);
  position: relative; overflow: hidden;
}
.member::before {
  content: ""; position: absolute; top: -40px; right: -40px; width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,169,106,.14), transparent 70%);
}
.member__head { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; position: relative; }
.member__avatar {
  width: 66px; height: 66px; border-radius: 50%; flex-shrink: 0;
  background: var(--gold-400); color: var(--navy-900);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 1.4rem;
  border: 2px solid var(--gold-200);
}
.member__name { font-family: var(--font-head); font-size: 1.28rem; font-weight: 600; }
.member__role { color: var(--gold-300); font-size: 0.9rem; font-weight: 500; margin-top: 3px; }
.member__creds { display: grid; gap: 11px; }
.member__cred { display: flex; gap: 11px; font-size: 0.92rem; color: var(--white-70); align-items: flex-start; }
.member__cred svg { width: 17px; height: 17px; color: var(--gold-400); flex-shrink: 0; margin-top: 3px; }

/* =========================================================
   Público-alvo
   ========================================================= */
.audience { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.aud {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 24px; display: flex; align-items: center; gap: 15px;
  transition: transform .25s var(--ease), border-color .25s var(--ease);
}
.aud:hover { transform: translateY(-4px); border-color: var(--gold-400); }
.aud svg { width: 26px; height: 26px; color: var(--gold-400); flex-shrink: 0; }
.aud span { font-family: var(--font-head); font-weight: 500; font-size: 0.98rem; color: var(--navy-800); }

/* =========================================================
   CTA + Contato
   ========================================================= */
.contact { background: radial-gradient(120% 100% at 0% 0%, var(--navy-700), var(--navy-900) 60%); color: var(--white); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact__list { margin-top: 36px; display: grid; gap: 20px; }
.contact__item { display: flex; gap: 16px; align-items: flex-start; }
.contact__item .ic {
  width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
  background: var(--white-08); border: 1px solid var(--white-12);
  display: flex; align-items: center; justify-content: center; color: var(--gold-300);
}
.contact__item .ic svg { width: 22px; height: 22px; }
.contact__item .k { font-size: 0.78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--white-55); }
.contact__item .v { font-size: 1.02rem; color: var(--white); font-weight: 500; margin-top: 2px; }
.contact__item a.v:hover { color: var(--gold-300); }
.contact__socials { margin-top: 34px; display: flex; gap: 14px; }
.contact__socials a {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--white-08); border: 1px solid var(--white-12);
  display: flex; align-items: center; justify-content: center; color: var(--white);
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.contact__socials a:hover { background: var(--gold-400); color: var(--navy-900); transform: translateY(-3px); }
.contact__socials svg { width: 22px; height: 22px; }

/* Form */
.form-card {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--white-12);
  border-radius: 20px;
  padding: 36px;
  backdrop-filter: blur(8px);
}
.form-card h3 { font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; margin-bottom: 6px; }
.form-card p.hint { color: var(--white-55); font-size: 0.9rem; margin-bottom: 24px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.82rem; font-weight: 500; color: var(--white-70); margin-bottom: 8px; font-family: var(--font-head); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px;
  background: rgba(255,255,255,.05); border: 1px solid var(--white-12); border-radius: 11px;
  color: var(--white); font-family: var(--font-body); font-size: 0.98rem;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.35); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-400); background: rgba(255,255,255,.08); }
.field select option { color: var(--ink); }
.form-card .btn { width: 100%; margin-top: 6px; }
.form-note { text-align: center; font-size: 0.8rem; color: var(--white-55); margin-top: 14px; }

/* =========================================================
   Footer
   ========================================================= */
.footer { background: var(--navy-900); color: var(--white-70); padding: 64px 0 30px; border-top: 1px solid var(--white-08); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 44px; padding-bottom: 44px; border-bottom: 1px solid var(--white-08); }
.footer__logo { height: 44px; width: auto; max-width: none; margin-bottom: 20px; }
.footer__about { font-size: 0.94rem; max-width: 340px; color: var(--white-55); }
.footer h4 { font-family: var(--font-head); font-size: 0.8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-300); margin-bottom: 18px; }
.footer__links { display: grid; gap: 11px; }
.footer__links a { font-size: 0.94rem; color: var(--white-70); transition: color .2s var(--ease), padding-left .2s var(--ease); }
.footer__links a:hover { color: var(--gold-300); padding-left: 5px; }
.footer__contact { display: grid; gap: 12px; font-size: 0.92rem; }
.footer__contact a:hover { color: var(--gold-300); }
.footer__bottom { padding-top: 26px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 0.84rem; color: var(--white-55); }
.footer__bottom .crea { color: var(--white-70); }

/* =========================================================
   WhatsApp float
   ========================================================= */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px rgba(37,211,102,.45);
  transition: transform .3s var(--ease);
  animation: wa-pulse 2.6s infinite;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; }
@keyframes wa-pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.4); } 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

/* =========================================================
   Scroll reveal
   ========================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal[data-delay="5"] { transition-delay: .40s; }

/* =========================================================
   Modal (serviço detalhado)
   ========================================================= */
.modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 24px; }
.modal.open { display: flex; }
.modal__overlay { position: absolute; inset: 0; background: rgba(6,10,26,.72); backdrop-filter: blur(4px); }
.modal__box {
  position: relative; z-index: 2; background: var(--white); border-radius: 20px;
  max-width: 620px; width: 100%; max-height: 86vh; overflow-y: auto;
  padding: 42px; box-shadow: var(--shadow-md);
  animation: modal-in .35s var(--ease);
}
@keyframes modal-in { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
.modal__ic { width: 58px; height: 58px; border-radius: 14px; background: var(--navy-800); color: var(--gold-300); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.modal__ic svg { width: 28px; height: 28px; }
.modal__box h3 { font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; color: var(--navy-800); letter-spacing: -.01em; }
.modal__box p { color: var(--muted); margin-top: 16px; font-size: 1rem; }
.modal__close {
  position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 10px;
  background: var(--paper-2); color: var(--navy-800); display: flex; align-items: center; justify-content: center;
  transition: background .2s var(--ease);
}
.modal__close:hover { background: var(--line); }
.modal__close svg { width: 20px; height: 20px; }
.modal__cta { margin-top: 26px; }

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 44px; }
  .hero__aside { max-width: 460px; }
  .sobre__grid, .contact__grid { grid-template-columns: 1fr; gap: 44px; }
  .serv-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-grid, .team-grid { grid-template-columns: 1fr; }
  .client-logo { width: 140px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
/* Nav colapsa em tablets também, evitando aperto entre 760–980px */
@media (max-width: 980px) {
  .nav__menu, .nav__cta { display: none; }
  .nav__menu {
    position: fixed; top: 0; right: 0; height: 100vh; width: min(80vw, 320px);
    background: var(--navy-800); flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 26px; padding: 40px; transform: translateX(100%); transition: transform .4s var(--ease);
    display: flex; box-shadow: -20px 0 60px rgba(0,0,0,.4);
  }
  .nav__menu.open { transform: none; }
  .nav__menu .nav__link { font-size: 1.15rem; color: var(--white); }
  .nav__menu .nav__cta { display: inline-flex; margin-top: 10px; }
  .nav__toggle { display: flex; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding: 76px 0; }
  .serv-grid, .dif-grid, .audience, .mini-stats { grid-template-columns: 1fr; }
  .clients-wall { gap: 10px; }
  .client-logo { width: 104px; height: 70px; padding: 11px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding: 138px 0 72px; }
  .hero__stats { gap: 28px; }
  .selo-card__grid { grid-template-columns: 1fr 1fr; }
  .cert { flex-direction: column; text-align: center; }
  .modal__box { padding: 30px 24px; }
  .trust__row { justify-content: flex-start; gap: 18px 26px; }
}
@media (max-width: 420px) {
  .selo-card__grid { grid-template-columns: 1fr; }
  .hero__stat .num { font-size: 1.7rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
