/* =========================================================
   Grupo WDT — We Do Technologies
   Folha de estilos do site institucional
   ========================================================= */

:root {
  --navy-950: #040d20;
  --navy-900: #071735;
  --navy-800: #0a2048;
  --navy-700: #10306a;
  --blue-500: #1f63c6;
  --ink: #0c1b36;
  --text: #3a4760;
  --muted: #6b778d;
  --line: #e2e7ef;
  --bg: #ffffff;
  --bg-soft: #f4f6fa;
  --bg-blue: #eaf0f8;
  --sand: #f5efe3;
  --gold-600: #a8741f;
  --gold-500: #c9932f;
  --gold-300: #f0c766;
  --gold-grad: linear-gradient(120deg, #8d5c17 0%, #c48b2a 35%, #f2cb6b 55%, #b9822a 80%, #94621b 100%);
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(7, 23, 53, .05), 0 10px 30px -12px rgba(7, 23, 53, .18);
  --container: 1180px;
  --font-head: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy-700); }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 650; }
p { margin: 0 0 1em; }

.container { width: min(100% - 48px, var(--container)); margin-inline: auto; }
.section { padding: clamp(72px, 10vw, 120px) 0; }
.section--soft { background: var(--bg-soft); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head);
  font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold-grad); }
.lead { font-size: 1.18rem; color: var(--text); max-width: 62ch; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.gold-text {
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.skip-link { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem;
  padding: 15px 26px; border-radius: 999px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}
.btn svg { width: 18px; height: 18px; }
.btn--gold { background: var(--gold-grad); color: #1d1406; box-shadow: 0 8px 24px -10px rgba(201, 147, 47, .7); }
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -10px rgba(201, 147, 47, .85); }
.btn--navy { background: var(--navy-800); color: #fff; }
.btn--navy:hover { background: var(--navy-700); transform: translateY(-2px); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn--ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--ghost:hover { border-color: var(--navy-700); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; color: var(--navy-700); text-decoration: none;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(7, 23, 53, .4); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand img { height: 42px; width: auto; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  font-family: var(--font-head); font-size: .93rem; font-weight: 500;
  color: var(--ink); text-decoration: none; padding: 10px 14px; border-radius: 8px;
}
.nav a:hover { background: var(--bg-soft); }
.nav a.is-active { color: var(--gold-600); }
.nav .btn { padding: 11px 20px; margin-left: 8px; color: #fff; }
.nav .btn:hover { background: var(--navy-700); }
.nav-toggle {
  display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink);
}
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 940px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 24px 20px; display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 6px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav .btn { margin: 16px 0 0; border-radius: 999px; border-bottom: 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 520px at 85% -10%, rgba(31, 99, 198, .35), transparent 60%),
    radial-gradient(700px 400px at 10% 110%, rgba(201, 147, 47, .14), transparent 60%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
  color: #d5deec;
  padding: clamp(80px, 11vw, 140px) 0 clamp(80px, 10vw, 128px);
}
.hero::before {
  /* faixas diagonais inspiradas no "W" da marca */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(125deg, transparent 0 58%, rgba(255, 255, 255, .035) 58% 66%, transparent 66% 100%),
    linear-gradient(55deg, transparent 0 70%, rgba(255, 255, 255, .03) 70% 77%, transparent 77% 100%);
}
.hero .container { position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.25fr .9fr; gap: 64px; align-items: center; }
.hero h1 { color: #fff; margin-bottom: 26px; }
.hero .lead { color: #c3cee0; font-size: 1.22rem; }
.hero .lead + p { color: #9fb0c9; max-width: 58ch; margin-bottom: 36px; }
.hero .eyebrow { color: var(--gold-300); }

.pillars {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 20px; padding: 10px;
  backdrop-filter: blur(6px);
}
.pillar { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 22px 20px; border-radius: 14px; }
.pillar + .pillar { border-top: 1px solid rgba(255, 255, 255, .08); }
.pillar-num {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; color: #1d1406; background: var(--gold-grad);
}
.pillar h3 { color: #fff; font-size: 1.08rem; margin: 2px 0 4px; }
.pillar p { margin: 0; color: #9fb0c9; font-size: .95rem; line-height: 1.5; }

@media (max-width: 940px) { .hero-grid { grid-template-columns: 1fr; gap: 48px; } }

/* ---------- Quem somos ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.about-grid h2 { margin-bottom: 0; }
.quote {
  margin: 36px 0 0; padding: 28px 30px; border-radius: var(--radius);
  background: var(--bg-blue); border-left: 4px solid var(--gold-500);
  font-family: var(--font-head); font-size: 1.08rem; font-weight: 500; color: var(--ink); line-height: 1.55;
}
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Cards ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 860px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px 34px; box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card p:last-child { margin-bottom: 0; }
.card--front { background: linear-gradient(180deg, #fff, #f7f9fc); }
.card--front:hover, .card--solution:hover { transform: translateY(-4px); border-color: #cfd8e6; }
.icon-badge {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: var(--navy-800); color: var(--gold-300); margin-bottom: 24px;
}
.icon-badge svg { width: 28px; height: 28px; }
.card-tag {
  display: inline-block; font-family: var(--font-head); font-size: .72rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px;
}
.card--solution { display: flex; flex-direction: column; }
.card--solution .link-arrow { margin-top: auto; padding-top: 18px; }
.card--future {
  grid-column: 1 / -1; background: var(--sand); border-color: #ecdfc4; box-shadow: none;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.card--future h3 { margin-bottom: 6px; }
.card--future p { max-width: 70ch; }

/* ---------- Estrutura (arquitetura) ---------- */
.flow { display: grid; gap: 14px; margin-top: 8px; }
.flow-label {
  font-family: var(--font-head); font-size: .72rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted); margin: 18px 0 2px;
}

/* ---------- Diferenciais ---------- */
.diffs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid var(--line); }
.diff { padding: 30px 24px 8px 0; }
.diff + .diff { padding-left: 24px; border-left: 1px solid var(--line); }
.diff-num { font-family: var(--font-head); font-weight: 700; font-size: .85rem; color: var(--gold-600); margin-bottom: 14px; }
.diff h3 { font-size: 1.05rem; }
.diff p { font-size: .95rem; margin: 0; }
@media (max-width: 1000px) {
  .diffs { grid-template-columns: 1fr 1fr; }
  .diff, .diff + .diff { padding: 26px 20px 20px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px) { .diffs { grid-template-columns: 1fr; } }

/* ---------- Visão (faixa escura) ---------- */
.band {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-950));
  color: #c3cee0;
}
.band::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 460px; height: 460px;
  border-radius: 50%; border: 60px solid rgba(201, 147, 47, .08); pointer-events: none;
}
.band h2 { color: #fff; }
.band .eyebrow { color: var(--gold-300); }
.band-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; position: relative; }
.band-grid p { color: #b6c3d8; }
.statement {
  font-family: var(--font-head); font-size: clamp(1.2rem, 2vw, 1.45rem); font-weight: 500; color: #fff; line-height: 1.5;
  padding-left: 28px; border-left: 3px solid var(--gold-500);
}
@media (max-width: 860px) { .band-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Contato ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
@media (max-width: 940px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }
.contact-grid > *, .form-row > *, .split > *, .about-grid > *, .band-grid > *, .hero-grid > * { min-width: 0; }
.field select { width: 100%; }
.contact-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; }
.contact-list a {
  display: flex; align-items: center; gap: 16px; text-decoration: none; color: var(--ink);
  padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff;
  transition: border-color .2s;
}
.contact-list a:hover { border-color: var(--navy-700); }
.contact-list .ci {
  width: 42px; height: 42px; flex: none; border-radius: 10px; display: grid; place-items: center;
  background: var(--bg-blue); color: var(--navy-700);
}
.contact-list .ci svg { width: 20px; height: 20px; }
.contact-list small { display: block; color: var(--muted); font-size: .8rem; }
.contact-list strong { font-family: var(--font-head); font-weight: 600; font-size: .98rem; }

.form { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field label { font-family: var(--font-head); font-size: .86rem; font-weight: 600; color: var(--ink); }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 13px 14px; background: #fbfcfe;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 4px rgba(16, 48, 106, .10); background: #fff;
}
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--muted); margin: 4px 0 22px; }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--navy-800); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 16px 0 0; padding: 14px 16px; border-radius: var(--radius-sm); font-size: .95rem; display: none; }
.form-status.is-ok { display: block; background: #e9f6ee; color: #1d5b35; }
.form-status.is-error { display: block; background: #fdeeee; color: #8a2424; }
.form button[disabled] { opacity: .6; cursor: progress; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--navy-950); color: #8f9db5; padding: 72px 0 32px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand img { height: 74px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 34ch; }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: #b9c5d8; text-decoration: none; }
.site-footer a:hover { color: var(--gold-300); }
.footer-bottom {
  margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .08);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem;
}
.footer-bottom .gold-text { font-family: var(--font-head); font-weight: 600; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- Páginas internas ---------- */
.page-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 420px at 90% -20%, rgba(31, 99, 198, .32), transparent 60%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
  color: #c3cee0; padding: clamp(64px, 9vw, 110px) 0 clamp(60px, 8vw, 96px);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(125deg, transparent 0 62%, rgba(255, 255, 255, .035) 62% 70%, transparent 70% 100%);
}
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.2rem); max-width: 22ch; }
.page-hero .lead { color: #c3cee0; }
.page-hero .eyebrow { color: var(--gold-300); }
.breadcrumb { font-size: .86rem; margin-bottom: 26px; color: #8fa0bb; }
.breadcrumb a { color: #c3cee0; text-decoration: none; }
.breadcrumb a:hover { color: #fff; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 28px; } }

.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.check-list li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.check-list li::before {
  content: ""; width: 24px; height: 24px; margin-top: 3px; border-radius: 50%;
  background: var(--navy-800) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f0c766' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 13px no-repeat;
}

.audience { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  font-family: var(--font-head); font-size: .9rem; font-weight: 500; color: var(--ink);
  padding: 10px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
}

.steps { counter-reset: step; display: grid; gap: 18px; }
.step { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; color: var(--gold-300); background: var(--navy-800);
}
.step h3 { margin-bottom: 4px; font-size: 1.1rem; }
.step p { margin: 0; font-size: .97rem; }

.notice {
  display: grid; grid-template-columns: 40px 1fr; gap: 16px;
  padding: 26px 28px; border-radius: var(--radius); background: var(--sand); border: 1px solid #ecdfc4; color: #4d3f22;
}
.notice svg { width: 28px; height: 28px; color: var(--gold-600); margin-top: 2px; }
.notice h3 { color: #3b2f17; font-size: 1.08rem; margin-bottom: 6px; }
.notice p { margin: 0; font-size: .97rem; }

.cta-box {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  padding: clamp(32px, 5vw, 52px); border-radius: 22px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-950)); color: #c3cee0;
}
.cta-box h2 { color: #fff; margin-bottom: 8px; font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
.cta-box p { margin: 0; max-width: 56ch; }

.prose { max-width: 760px; }
.prose h2 { font-size: 1.45rem; margin-top: 2em; }
.prose ul { padding-left: 1.2em; }

/* ---------- Animação de entrada ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card { transition: none; }
}
