/* =========================================================
   UEDA GLOBAL — Folha de estilo principal
   Estética: "Corporate Security" — autoridade institucional,
   rigor técnico, confiança. Azul-marinho profundo + verde
   privacidade, respiros amplos e uma assinatura visual de
   "perímetro protegido".
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Marca */
  --navy-900: #071426;
  --navy-800: #0d213a;   /* azul institucional (logo) */
  --navy-700: #12304f;
  --navy-600: #1b4066;

  --green-600: #00a859;  /* verde segurança (logo) */
  --green-500: #10b981;
  --green-400: #34d399;

  --ink:      #0f1a2b;
  --slate-700:#334155;
  --slate-500:#64748b;
  --slate-400:#94a3b8;
  --slate-300:#cbd5e1;
  --slate-200:#e2e8f0;
  --slate-100:#f1f5f9;
  --slate-50: #f8fafc;
  --white:    #ffffff;

  /* Semânticos */
  --bg:         var(--white);
  --bg-alt:     var(--slate-50);
  --text:       var(--ink);
  --text-soft:  var(--slate-500);
  --border:     var(--slate-200);
  --accent:     var(--green-600);
  --accent-2:   var(--green-500);

  /* Tipografia */
  --font-display: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Layout */
  --maxw: 1180px;
  --radius:   14px;
  --radius-sm: 8px;
  --radius-lg: 22px;

  /* Sombras */
  --shadow-sm: 0 1px 2px rgba(7,20,38,.06), 0 2px 8px rgba(7,20,38,.05);
  --shadow-md: 0 8px 30px rgba(7,20,38,.10);
  --shadow-lg: 0 24px 60px rgba(7,20,38,.16);

  --header-h: 84px;
}

/* ---------- Reset enxuto ---------- */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

/* ---------- Utilidades de layout ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}
.section { padding-block: clamp(64px, 8vw, 118px); }
.section--alt { background: var(--bg-alt); }
.section--navy {
  background: var(--navy-800);
  color: var(--white);
}

/* ---------- Tipografia ---------- */
h1,h2,h3,h4 {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -.02em;
  font-weight: 700;
  color: var(--ink);
}
.section--navy h1,
.section--navy h2,
.section--navy h3 { color: var(--white); }

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.65rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }

p { color: var(--text-soft); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: var(--slate-700); line-height: 1.6; }
.section--navy .lead,
.section--navy p { color: var(--slate-300); }

strong { color: inherit; font-weight: 650; }

/* Eyebrow — rótulo de seção com marcador de "perímetro" */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: linear-gradient(90deg, var(--green-500), transparent);
}
.section--navy .eyebrow { color: var(--green-400); }

.section-head { max-width: 720px; margin-bottom: 54px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 16px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .96rem;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  transition: transform .18s ease, box-shadow .22s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary {
  background: linear-gradient(135deg, var(--green-600), var(--green-500));
  color: #fff;
  box-shadow: 0 10px 24px rgba(0,168,89,.32);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(0,168,89,.42); }
.btn--outline {
  background: transparent;
  color: var(--navy-800);
  border-color: var(--slate-300);
}
.btn--outline:hover { border-color: var(--navy-800); background: var(--navy-800); color: #fff; transform: translateY(-2px); }
.btn--ghost-light {
  background: rgba(255,255,255,.08);
  color: #fff;
  border-color: rgba(255,255,255,.22);
  backdrop-filter: blur(6px);
}
.btn--ghost-light:hover { background: rgba(255,255,255,.16); transform: translateY(-2px); }
.btn--white { background: #fff; color: var(--navy-800); }
.btn--white:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--lg { padding: 16px 32px; font-size: 1.02rem; }

/* =========================================================
   HEADER / NAVBAR
   ========================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.site-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 4px 24px rgba(7,20,38,.06);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
  gap: 18px;
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 60px; width: auto; display: block; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-item { position: relative; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: .93rem;
  color: var(--navy-800);
  padding: 10px 14px;
  border-radius: 10px;
  transition: color .18s, background .18s;
  white-space: nowrap;
}
.nav-link:hover,
.nav-item.active > .nav-link { color: var(--green-600); background: rgba(0,168,89,.07); }
.nav-link .chev { width: 14px; height: 14px; transition: transform .2s; opacity: .7; }
.nav-item.has-dropdown:hover .chev { transform: rotate(180deg); }

/* Dropdown / Mega menu */
.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 340px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s, transform .2s, visibility .2s;
  z-index: 50;
}
.nav-item.has-dropdown:hover .dropdown {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.dropdown::before { /* área de hover-bridge */
  content:""; position:absolute; top:-12px; left:0; right:0; height:12px;
}
.dropdown--wide { min-width: 420px; }
.dd-group-label {
  font-family: var(--font-display);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--slate-400);
  padding: 8px 12px 6px;
  font-weight: 600;
}
.dd-link {
  display: flex;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 10px;
  transition: background .16s;
}
.dd-link:hover { background: var(--slate-50); }
.dd-ico {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 9px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(13,33,58,.06), rgba(0,168,89,.10));
  color: var(--green-600);
}
.dd-ico svg { width: 20px; height: 20px; }
.dd-text b {
  display: block;
  font-family: var(--font-display);
  font-size: .93rem;
  font-weight: 600;
  color: var(--navy-800);
  letter-spacing: -.01em;
}
.dd-text span { font-size: .82rem; color: var(--slate-500); line-height: 1.4; }

.nav-cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-cta .btn { padding: 10px 18px; font-size: .9rem; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2px; background: var(--navy-800); border-radius: 2px;
  transition: transform .28s, opacity .2s;
}
.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;
  padding-top: calc(var(--header-h) + 72px);
  padding-bottom: 96px;
  background:
    radial-gradient(1200px 560px at 78% -10%, rgba(0,168,89,.18), transparent 60%),
    radial-gradient(900px 500px at 8% 8%, rgba(27,64,102,.55), transparent 55%),
    linear-gradient(160deg, var(--navy-900), var(--navy-800) 55%, var(--navy-700));
  color: #fff;
  overflow: hidden;
}
/* Assinatura: grade de perímetro sutil */
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(900px 600px at 70% 20%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(900px 600px at 70% 20%, #000 0%, transparent 75%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  font-size: .8rem; font-weight: 500;
  color: var(--slate-200);
  margin-bottom: 26px;
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green-400);
  box-shadow: 0 0 0 4px rgba(52,211,153,.22);
}
.hero h1 { color: #fff; }
.hero h1 .hl {
  background: linear-gradient(120deg, var(--green-400), var(--green-500));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub {
  margin-top: 22px;
  font-size: 1.15rem;
  color: var(--slate-300);
  max-width: 560px;
}
.hero-actions { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust {
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; gap: 40px; flex-wrap: wrap;
}
.hero-trust .t-item .num {
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 700; color: #fff;
  display: block; line-height: 1.1;
}
.hero-trust .t-item .lbl { font-size: .82rem; color: var(--slate-400); }

/* Painel visual do hero — "escudo" com pilares */
.hero-panel {
  position: relative;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 26px;
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-lg);
}
.hero-panel-head {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 18px; margin-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.hero-panel-head .shield {
  width: 42px; height: 42px; border-radius: 11px;
  background: linear-gradient(135deg, var(--green-600), var(--green-500));
  display: grid; place-items: center; color: #fff;
}
.hero-panel-head .shield svg { width: 22px; height: 22px; }
.hero-panel-head b { font-family: var(--font-display); color: #fff; font-size: 1rem; display:block; }
.hero-panel-head span { font-size: .8rem; color: var(--slate-400); }
.hp-row {
  display: flex; align-items: center; gap: 13px;
  padding: 12px 4px;
}
.hp-row + .hp-row { border-top: 1px dashed rgba(255,255,255,.08); }
.hp-row .ic {
  width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0;
  background: rgba(52,211,153,.14); color: var(--green-400);
  display: grid; place-items: center;
}
.hp-row .ic svg { width: 18px; height: 18px; }
.hp-row .tx b { display:block; font-size: .92rem; color:#fff; font-family: var(--font-display); font-weight: 600; }
.hp-row .tx span { font-size: .8rem; color: var(--slate-400); }
.hp-row .status {
  margin-left: auto; font-size: .72rem; font-weight: 600;
  color: var(--green-400); display:flex; align-items:center; gap:6px;
}
.hp-row .status::before { content:""; width:7px; height:7px; border-radius:50%; background: var(--green-400); box-shadow:0 0 0 3px rgba(52,211,153,.2); }

/* Faixa de parceiros / credibilidade */
.trustbar {
  background: var(--navy-800);
  padding-block: 26px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.trustbar .container {
  display: flex; align-items: center; justify-content: center;
  gap: 18px 44px; flex-wrap: wrap;
}
.trustbar .tb-label { color: var(--slate-400); font-size: .82rem; font-family: var(--font-display); letter-spacing: .04em; }
.trustbar .tb-item {
  display:flex; align-items:center; gap:9px;
  color: var(--slate-200); font-family: var(--font-display); font-weight:600; font-size:.95rem;
}
.trustbar .tb-item svg { width: 18px; height:18px; color: var(--green-400); }

/* =========================================================
   CARDS DE SOLUÇÕES (home)
   ========================================================= */
.grid {
  display: grid;
  gap: 24px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s;
  position: relative;
  overflow: hidden;
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.card::after {
  content:""; position:absolute; left:0; top:0; height:3px; width:0;
  background: linear-gradient(90deg, var(--green-600), var(--green-400));
  transition: width .3s ease;
}
.card:hover::after { width: 100%; }
.card-ico {
  width: 52px; height: 52px; border-radius: 13px;
  background: linear-gradient(135deg, rgba(13,33,58,.06), rgba(0,168,89,.12));
  color: var(--green-600);
  display: grid; place-items: center;
  margin-bottom: 20px;
}
.card-ico svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.22rem; margin-bottom: 10px; }
.card p { font-size: .95rem; margin-bottom: 18px; }
.card-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-display); font-weight: 600; font-size: .9rem;
  color: var(--green-600);
}
.card-link svg { width: 16px; height:16px; transition: transform .2s; }
.card-link:hover svg { transform: translateX(4px); }

/* Card destaque (navy) */
.card--feature {
  background: linear-gradient(150deg, var(--navy-800), var(--navy-700));
  color: #fff; border: none;
  grid-column: span 1;
}
.card--feature h3 { color:#fff; }
.card--feature p { color: var(--slate-300); }
.card--feature .card-ico { background: rgba(52,211,153,.16); color: var(--green-400); }
.card--feature .card-link { color: var(--green-400); }

/* =========================================================
   SEÇÃO "PARA QUEM ATENDEMOS" — abas de segmento
   ========================================================= */
.segments { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.seg {
  background:#fff; border:1px solid var(--border); border-radius: var(--radius);
  padding: 32px 28px; position: relative;
}
.seg-num {
  font-family: var(--font-display); font-weight: 700; font-size: .9rem;
  color: var(--green-600); letter-spacing:.05em;
  display:inline-block; margin-bottom: 14px;
}
.seg h3 { font-size: 1.28rem; margin-bottom: 8px; }
.seg > p { font-size: .93rem; margin-bottom: 18px; }
.seg ul { display: grid; gap: 12px; }
.seg li { display:flex; gap:11px; font-size:.9rem; color: var(--slate-700); line-height:1.5; }
.seg li svg { flex-shrink:0; width:18px; height:18px; color: var(--green-500); margin-top:3px; }

/* =========================================================
   BLOCOS DE CONTEÚDO (páginas internas)
   ========================================================= */
.page-hero {
  padding-top: calc(var(--header-h) + 70px);
  padding-bottom: 64px;
  background:
    radial-gradient(800px 400px at 85% 0%, rgba(0,168,89,.16), transparent 60%),
    linear-gradient(160deg, var(--navy-900), var(--navy-800));
  color:#fff;
  position: relative;
  overflow:hidden;
}
.page-hero::before {
  content:""; position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(700px 400px at 80% 10%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(700px 400px at 80% 10%, #000, transparent 70%);
}
.page-hero .container { position: relative; z-index:2; }
.page-hero h1,
.page-hero h2,
.page-hero h3 { color: #fff; }
.page-hero .eyebrow { color: var(--green-400); }
.breadcrumb {
  display:flex; align-items:center; gap:8px;
  font-size:.85rem; color: var(--slate-300); margin-bottom: 20px;
}
.breadcrumb a { color: var(--slate-300); }
.breadcrumb a:hover { color: var(--green-400); }
.breadcrumb svg { width:14px; height:14px; opacity:.6; }
.page-hero h1 { max-width: 820px; color:#fff; }
.page-hero .lead { color: var(--slate-200); margin-top: 20px; max-width: 720px; }

/* Feature list — item com número/ícone e descrição */
.feature-block { display: grid; gap: 22px; }
.feature-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 22px;
  padding: 28px;
  background:#fff;
  border:1px solid var(--border);
  border-radius: var(--radius);
  transition: box-shadow .2s, transform .2s;
}
.feature-item:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.feature-item .fi-ico {
  width: 60px; height: 60px; border-radius: 14px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  color: var(--green-400);
  display: grid; place-items: center;
}
.feature-item .fi-ico svg { width: 28px; height: 28px; }
.feature-item h3 { font-size: 1.3rem; margin-bottom: 14px; }
.feature-item .sub-list { display: grid; gap: 12px; margin-top: 6px; }
.feature-item .sub-list li { display:flex; gap:11px; font-size:.96rem; color: var(--slate-700); line-height:1.55; }
.feature-item .sub-list li svg { flex-shrink:0; width:19px; height:19px; color: var(--green-500); margin-top:3px; }
.feature-item .sub-list li strong { color: var(--ink); }

/* Bloco "Fale conosco" inline no fim de cada serviço */
.inline-cta {
  margin-top: 20px;
  display:flex; align-items:center; gap:14px; flex-wrap:wrap;
  padding: 20px 24px;
  background: linear-gradient(120deg, rgba(0,168,89,.06), rgba(13,33,58,.04));
  border: 1px dashed rgba(0,168,89,.3);
  border-radius: var(--radius);
}
.inline-cta p { margin:0; color: var(--slate-700); font-weight: 500; }
.inline-cta .btn { margin-left:auto; }

/* Lista de pilares (missão/visão/valores) */
.pillars { display:grid; grid-template-columns: repeat(3,1fr); gap:24px; }
.pillar {
  background:#fff; border:1px solid var(--border); border-radius: var(--radius);
  padding: 30px;
}
.pillar .p-ico {
  width:48px;height:48px;border-radius:12px;
  background: rgba(0,168,89,.1); color: var(--green-600);
  display:grid;place-items:center;margin-bottom:16px;
}
.pillar .p-ico svg { width:24px;height:24px; }
.pillar h3 { font-size:1.15rem; margin-bottom:10px; }
.pillar p { font-size:.94rem; }
.pillar ul { display:grid; gap:12px; margin-top: 8px; }
.pillar li { display:flex; gap:10px; font-size:.9rem; color:var(--slate-700); line-height:1.5; }
.pillar li svg { flex-shrink:0; width:17px;height:17px;color:var(--green-500); margin-top:3px; }

/* Diferenciais (home / sobre) */
.diffs { display:grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.diff {
  display:flex; gap:18px; padding: 24px;
  background:#fff; border:1px solid var(--border); border-radius: var(--radius);
}
.diff .d-ico {
  flex-shrink:0; width:50px;height:50px;border-radius:12px;
  background: linear-gradient(135deg, rgba(13,33,58,.07), rgba(0,168,89,.12));
  color:var(--green-600); display:grid;place-items:center;
}
.diff .d-ico svg{width:24px;height:24px;}
.diff h3{font-size:1.1rem;margin-bottom:6px;}
.diff p{font-size:.92rem;}

/* =========================================================
   CTA final (faixa)
   ========================================================= */
.cta-band {
  position: relative;
  background:
    radial-gradient(700px 400px at 20% 0%, rgba(0,168,89,.22), transparent 60%),
    linear-gradient(150deg, var(--navy-900), var(--navy-800));
  color:#fff;
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 68px);
  overflow: hidden;
  text-align: center;
}
.cta-band::before{
  content:""; position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(500px 300px at 50% 0%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(500px 300px at 50% 0%, #000, transparent 70%);
}
.cta-band > * { position: relative; z-index:2; }
.cta-band h2 { color:#fff; }
.cta-band p { color: var(--slate-300); max-width: 560px; margin: 16px auto 30px; }
.cta-band .btns { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

/* =========================================================
   PÁGINA DE CONTATO
   ========================================================= */
.contact-grid {
  display:grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items:start;
}
.form-card {
  background:#fff; border:1px solid var(--border); border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 42px);
  box-shadow: var(--shadow-md);
}
.privacy-note {
  display:flex; gap:12px;
  padding: 14px 16px; margin-bottom: 26px;
  background: var(--slate-50); border:1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size:.85rem; color: var(--slate-500); line-height:1.5;
}
.privacy-note svg{flex-shrink:0;width:20px;height:20px;color:var(--green-600);margin-top:1px;}
.form-row { display:grid; gap:20px; margin-bottom:20px; }
.form-row.cols-2 { grid-template-columns: 1fr 1fr; }
.field { display:flex; flex-direction:column; gap:7px; }
.field label {
  font-family: var(--font-display); font-size:.85rem; font-weight:600; color: var(--navy-800);
}
.field label .req { color: var(--green-600); }
.field input, .field select, .field textarea {
  font-family: var(--font-body);
  font-size:.98rem; color: var(--ink);
  padding: 13px 15px;
  border:1.5px solid var(--slate-200);
  border-radius: var(--radius-sm);
  background:#fff;
  transition: border-color .18s, box-shadow .18s;
  width:100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline:none; border-color: var(--green-500);
  box-shadow: 0 0 0 4px rgba(16,185,129,.14);
}
.field textarea { resize: vertical; min-height: 120px; }
.radio-group { display:flex; flex-wrap:wrap; gap:10px; }
.radio-pill {
  position: relative;
}
.radio-pill input { position:absolute; opacity:0; }
.radio-pill label {
  display:inline-flex; align-items:center; gap:8px;
  padding: 10px 16px; border:1.5px solid var(--slate-200); border-radius:999px;
  font-size:.9rem; font-weight:500; color: var(--slate-700); cursor:pointer;
  transition: all .16s;
}
.radio-pill input:checked + label {
  border-color: var(--green-500); background: rgba(16,185,129,.08); color: var(--green-600);
}
.radio-pill input:focus-visible + label { box-shadow: 0 0 0 4px rgba(16,185,129,.16); }
.form-submit { margin-top: 8px; }
.form-submit .btn { width:100%; justify-content:center; }
.form-feedback {
  margin-top:16px; padding:14px 16px; border-radius:var(--radius-sm);
  font-size:.9rem; display:none;
}
.form-feedback.ok { display:block; background: rgba(16,185,129,.1); color:#047857; border:1px solid rgba(16,185,129,.3); }
.form-feedback.err { display:block; background: rgba(239,68,68,.08); color:#b91c1c; border:1px solid rgba(239,68,68,.3); }

.contact-side { display:grid; gap:16px; }
.contact-channel {
  display:flex; gap:15px;
  padding: 22px; background:#fff; border:1px solid var(--border); border-radius: var(--radius);
  transition: box-shadow .2s, transform .2s;
}
.contact-channel:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.contact-channel .cc-ico {
  flex-shrink:0; width:46px;height:46px;border-radius:11px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600)); color: var(--green-400);
  display:grid;place-items:center;
}
.contact-channel .cc-ico svg{width:22px;height:22px;}
.contact-channel h4 { font-family:var(--font-display); font-size:1rem; color:var(--navy-800); margin-bottom:4px; }
.contact-channel p { font-size:.88rem; margin-bottom:8px; }
.contact-channel a { font-weight:600; color: var(--green-600); font-size:.92rem; word-break: break-word; }
.contact-channel.wa .cc-ico { background: linear-gradient(135deg, #128C7E, #25D366); color:#fff; }

/* Bloco "por que agendar" */
.why-list { display:grid; gap:14px; margin-top: 4px; }
.why-list li { display:flex; gap:12px; font-size:.94rem; color: var(--slate-700); line-height:1.55; }
.why-list li svg{flex-shrink:0;width:20px;height:20px;color:var(--green-500);margin-top:2px;}
.why-list li strong{color:var(--ink);}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--navy-900);
  color: var(--slate-300);
  padding-top: 68px;
}
.footer-grid {
  display:grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 40px;
  padding-bottom: 48px;
}
.footer-brand img { height: 46px; margin-bottom: 18px; filter: brightness(0) invert(1); opacity:.96; }
.footer-brand p { font-size:.9rem; color: var(--slate-400); line-height:1.65; max-width: 320px; }
.footer-social { display:flex; gap:10px; margin-top: 20px; }
.footer-social a {
  width:38px;height:38px;border-radius:10px;
  background: rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.1);
  display:grid;place-items:center; color: var(--slate-300);
  transition: background .18s, color .18s, border-color .18s;
}
.footer-social a:hover { background: var(--green-600); color:#fff; border-color: transparent; }
.footer-social a svg{width:18px;height:18px;}
.footer-social .soon { font-size:.68rem; color: var(--slate-500); align-self:center; }

.footer-col h4 {
  font-family: var(--font-display); font-size:.8rem; letter-spacing:.1em; text-transform:uppercase;
  color:#fff; margin-bottom:18px; font-weight:600;
}
.footer-col ul { display:grid; gap:12px; }
.footer-col a, .footer-col li { font-size:.9rem; color: var(--slate-400); transition: color .16s; }
.footer-col a:hover { color: var(--green-400); }
.footer-col .soon-tag {
  font-size:.62rem; padding:2px 7px; border-radius:999px;
  background: rgba(255,255,255,.07); color: var(--slate-500); margin-left:6px;
}
.footer-contact li { display:flex; align-items:flex-start; gap:10px; }
.footer-contact svg { flex-shrink:0; width:17px;height:17px; color: var(--green-400); margin-top:3px; }
.footer-contact a { color: var(--slate-300); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-block: 26px;
  display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap;
}
.footer-bottom .fb-left { font-size:.83rem; color: var(--slate-400); }
.footer-bottom .fb-left b { color: var(--slate-300); font-weight:600; }
.footer-seal {
  display:flex; align-items:center; gap:9px;
  font-size:.8rem; color: var(--slate-400);
  padding: 8px 14px; border:1px solid rgba(255,255,255,.1); border-radius:999px;
}
.footer-seal svg { width:16px;height:16px; color: var(--green-400); }

/* =========================================================
   COOKIE BANNER
   ========================================================= */
.cookie-banner {
  position: fixed; left:16px; right:16px; bottom:16px; z-index: 2000;
  max-width: 560px; margin-inline:auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 22px;
  transform: translateY(140%);
  transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner .cb-head { display:flex; gap:12px; align-items:center; margin-bottom:10px; }
.cookie-banner .cb-ico {
  width:40px;height:40px;border-radius:10px;flex-shrink:0;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600)); color: var(--green-400);
  display:grid;place-items:center;
}
.cookie-banner .cb-ico svg{width:20px;height:20px;}
.cookie-banner h4 { font-family:var(--font-display); font-size:1.02rem; color:var(--navy-800); }
.cookie-banner p { font-size:.86rem; line-height:1.55; margin-bottom:16px; }
.cookie-banner p a { color: var(--green-600); font-weight:600; text-decoration: underline; }
.cookie-actions { display:flex; gap:10px; flex-wrap:wrap; }
.cookie-actions .btn { flex:1; justify-content:center; padding:11px 18px; font-size:.9rem; }
.btn--mini { padding:11px 18px !important; }

/* =========================================================
   REVEAL on scroll
   ========================================================= */
.reveal { opacity:0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity:1; transform:none; }

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-panel { max-width: 520px; }
  .contact-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 900px) {
  .nav-menu, .nav-cta > .btn--outline { display: none; }
  .nav-toggle { display: flex; }

  /* Menu mobile */
  .nav-menu.mobile-open {
    display: flex;
    position: fixed;
    inset: var(--header-h) 0 0 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    padding: 20px;
    gap: 4px;
    overflow-y: auto;
    border-top: 1px solid var(--border);
  }
  .nav-menu.mobile-open .nav-item { width:100%; }
  .nav-menu.mobile-open .nav-link { width:100%; justify-content: space-between; font-size:1rem; padding:14px 12px; }
  .nav-menu.mobile-open .dropdown {
    position: static; transform:none; opacity:1; visibility:visible;
    box-shadow:none; border:none; min-width:0; padding: 4px 4px 8px 12px;
    display:none;
  }
  .nav-menu.mobile-open .nav-item.open .dropdown { display:block; }
  .nav-menu.mobile-open .nav-item.open .chev { transform: rotate(180deg); }
  .nav-menu.mobile-open .dd-link { padding:10px 8px; }
  .nav-menu.mobile-open .btn--primary { margin-top: 12px; justify-content:center; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .grid-3, .grid-2, .grid-4, .segments, .pillars, .diffs, .form-row.cols-2 { grid-template-columns: 1fr; }
  .feature-item { grid-template-columns: 1fr; gap: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .inline-cta .btn { margin-left: 0; width:100%; justify-content:center; }
  .hero-trust { gap: 24px 32px; }
  .cookie-actions .btn { flex: 1 1 100%; }
}

/* Acessibilidade — respeitar redução de movimento */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity:1; transform:none; }
}

/* Foco visível para navegação por teclado */
:focus-visible { outline: 3px solid rgba(16,185,129,.55); outline-offset: 2px; border-radius: 4px; }

/* =========================================================
   Páginas legais / conteúdo textual (Política, Termos etc.)
   ========================================================= */
.legal { padding-block: clamp(48px, 6vw, 88px); }
.legal .container { max-width: 860px; }

.legal-meta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .86rem; color: var(--slate-500);
  background: var(--bg-alt); border: 1px solid var(--border);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 30px;
}
.legal-meta svg { width: 15px; height: 15px; color: var(--green-600); }

.legal-body { color: var(--slate-700); font-size: 1.02rem; line-height: 1.75; }
.legal-body > p:first-of-type { font-size: 1.1rem; color: var(--ink); }

.legal-body h2 {
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  color: var(--navy-800); margin-top: 46px; margin-bottom: 16px;
  padding-top: 26px; border-top: 1px solid var(--border);
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.legal-body h2:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.legal-body h3 {
  font-size: 1.08rem; color: var(--navy-800);
  margin-top: 30px; margin-bottom: 10px;
}
.legal-body p { margin-bottom: 16px; }
.legal-body ul { list-style: none; margin: 4px 0 20px; padding: 0; }
.legal-body ul li {
  position: relative; padding-left: 26px; margin-bottom: 12px;
}
.legal-body ul li::before {
  content: ""; position: absolute; left: 4px; top: .62em;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green-500);
}
.legal-body strong { color: var(--ink); font-weight: 600; }
.legal-body a { color: var(--green-600); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }
.legal-body a:hover { color: var(--navy-800); }

/* Bloco de destaque (avisos, contato do DPO) */
.legal-callout {
  background: var(--bg-alt); border: 1px solid var(--border);
  border-left: 4px solid var(--green-500);
  border-radius: var(--radius); padding: 22px 24px; margin: 26px 0;
}
.legal-callout h3 { margin-top: 0; }
.legal-callout p:last-child, .legal-callout ul:last-child { margin-bottom: 0; }
.legal-callout.warn { border-left-color: #f59e0b; }

/* Grade de categorias de cookies */
.cookie-cats { display: grid; gap: 16px; margin: 8px 0 24px; }
.cookie-cat {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px 22px; background: #fff;
}
.cookie-cat h3 { margin-top: 0; display: flex; align-items: center; gap: 10px; }
.cookie-cat .tag {
  font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em;
  padding: 3px 9px; border-radius: 999px; margin-left: auto;
}
.cookie-cat .tag.req { background: #e0f2ec; color: #0f7a53; }
.cookie-cat .tag.opt { background: #eef2f7; color: var(--slate-600, #475569); }
.cookie-cat .legal-line { font-size: .9rem; color: var(--slate-500); margin: 8px 0 0; }
.cookie-cat .legal-line strong { color: var(--navy-800); }

/* Botão para reabrir preferências de cookies */
.legal-actions { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; }

/* Formulário do Canal do Titular */
.titular-form-wrap {
  margin-top: 34px; background: #fff;
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: 0 10px 40px -24px rgba(13,33,58,.28);
}
.tf-step {
  display: flex; align-items: center; gap: 12px;
  font-size: 1.15rem; color: var(--navy-800);
  margin: 34px 0 14px; padding-top: 0; border-top: 0;
}
.tf-step:first-child { margin-top: 0; }
.tf-step span {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  background: var(--navy-800); color: #fff; font-size: .95rem;
  display: grid; place-items: center; font-family: var(--font-body);
}
.tf-hint { font-size: .9rem; color: var(--slate-500); margin: -6px 0 14px; }

.check-list { display: grid; gap: 10px; margin-bottom: 8px; }
.check-item {
  display: flex; align-items: flex-start; gap: 12px; cursor: pointer;
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 14px 16px; transition: border-color .15s, background .15s;
}
.check-item:hover { border-color: var(--green-500); background: rgba(16,185,129,.03); }
.check-item input { position: absolute; opacity: 0; }
.check-item .ci-box {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 6px;
  border: 2px solid var(--slate-300); background: #fff; margin-top: 1px;
  display: grid; place-items: center; transition: all .15s;
}
.check-item .ci-box svg { width: 14px; height: 14px; color: #fff; opacity: 0; }
.check-item input:checked + .ci-box { background: var(--green-600); border-color: var(--green-600); }
.check-item input:checked + .ci-box svg { opacity: 1; }
.check-item input:focus-visible + .ci-box { box-shadow: 0 0 0 4px rgba(16,185,129,.18); }
.check-item .ci-text { font-size: .96rem; color: var(--slate-700); line-height: 1.5; }
.check-item .ci-text strong { color: var(--navy-800); }

/* =========================================================
   Página LGPD360 — etapas, módulos, benefícios, score
   ========================================================= */
.benefit-list { display:grid; grid-template-columns: repeat(2,1fr); gap:16px; }
.benefit-item {
  display:flex; gap:12px; align-items:flex-start;
  font-size:1rem; color:var(--slate-700);
  background:#fff; border:1px solid var(--border); border-radius:var(--radius-sm);
  padding:16px 18px;
}
.benefit-item svg { flex-shrink:0; width:20px; height:20px; color:var(--green-500); margin-top:2px; }
.benefit-item strong { color: var(--ink); }

.score-card {
  display:flex; align-items:center; gap:36px; flex-wrap:wrap;
  background:#fff; border:1px solid var(--border); border-radius:var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
}
.score-ring {
  position:relative; flex-shrink:0; width:150px; height:150px; border-radius:50%;
  background: conic-gradient(var(--green-500) 288deg, var(--slate-200) 288deg 360deg);
}
.score-ring::before { content:""; position:absolute; inset:12px; background:#fff; border-radius:50%; }
.score-ring .score-num {
  position:absolute; inset:0; display:grid; place-items:center;
  font-family: var(--font-display); font-size:1.9rem; font-weight:700; color:var(--navy-800);
}
.score-text { flex:1; min-width:260px; }
.score-text h3 { margin-bottom:10px; }
.score-text .tiny-note { font-size:.82rem; color:var(--slate-500); margin-top:12px; }

@media (max-width: 720px) {
  .benefit-list { grid-template-columns: 1fr; }
  .score-card { flex-direction:column; text-align:center; }
}

/* =========================================================
   BLOG (posts importados do Medium via RSS)
   ========================================================= */
.blog-grid { display:grid; grid-template-columns: repeat(3,1fr); gap:26px; }
.blog-card {
  display:flex; flex-direction:column; height:100%;
  background:#fff; border:1px solid var(--border); border-radius: var(--radius);
  overflow:hidden; transition: transform .22s ease, box-shadow .22s ease;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-card-img {
  aspect-ratio: 16/9; width:100%; overflow:hidden;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  display:block;
}
.blog-card-img img { width:100%; height:100%; object-fit:cover; display:block; }
.blog-card-img.no-img { display:flex; align-items:center; justify-content:center; }
.blog-card-img.no-img svg { width:38px; height:38px; color: rgba(255,255,255,.5); }
.blog-card-body { padding: 22px 24px 24px; display:flex; flex-direction:column; flex:1; }
.blog-card-meta {
  display:flex; align-items:center; gap:10px; margin-bottom:12px;
  font-size:.78rem; color: var(--slate-500); font-weight:600; text-transform:uppercase; letter-spacing:.03em;
}
.blog-card-meta .tag { color: var(--green-600); }
.blog-card-meta .dot { width:3px; height:3px; border-radius:50%; background:var(--slate-300); }
.blog-card h3 { font-size:1.12rem; line-height:1.35; margin-bottom:10px; }
.blog-card p { font-size:.92rem; margin-bottom:16px; flex:1; }
.blog-card-link {
  display:inline-flex; align-items:center; gap:7px; margin-top:auto;
  font-family: var(--font-display); font-weight:600; font-size:.88rem; color: var(--green-600);
}
.blog-card-link svg { width:15px; height:15px; transition: transform .2s; }
.blog-card-link:hover svg { transform: translateX(4px); }

.blog-empty {
  text-align:center; padding: 60px 24px; background: var(--bg-alt);
  border:1px dashed var(--border); border-radius: var(--radius-lg);
}
.blog-empty svg { width:40px; height:40px; color: var(--green-500); margin-bottom:16px; }
.blog-empty h3 { margin-bottom:8px; }
.blog-empty p { max-width:440px; margin:0 auto 20px; }

@media (max-width: 1024px) { .blog-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 720px)  { .blog-grid { grid-template-columns: 1fr; } }
