/* =========================================================================
   TATUM — site institucional v1
   Identidade aprovada: minimalista, premium, predominantemente branca.
   Navy = estrutura · Terracota = ação/seleção (substitui o marsala, 02/11/2026) · Verde = menor preço/sucesso.
   ========================================================================= */

/* Fontes da marca empacotadas no site (OFL — licenças em assets/fonts/). */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/Inter-Regular.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../assets/fonts/Inter-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("../assets/fonts/Inter-Bold.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 800; font-display: swap; src: url("../assets/fonts/Manrope-ExtraBold.woff2") format("woff2"); }

:root {
  --navy: #0B2740;
  --navy-700: #12334F;
  --texto: #132638;
  --texto-2: #4E6274;        /* 6,1:1 sobre branco · 5,8:1 sobre #F6F8FA */
  --texto-invertido: #FFFFFF;
  --texto-invertido-2: #C5D1DC; /* sobre navy: 9,9:1 */
  --terracota: #AD573F;      /* ações, links, estados ativos · 5,0:1 sobre branco */
  --terracota-escuro: #8E4532; /* hover/pressionado · 6,9:1 sobre branco */
  --verde: #1F7A55;          /* menor preço, sucesso, verificado */
  --verde-suave: #E9F4EF;
  --terracota-suave: #F8ECE8;
  --borda: #DCE3E8;
  --superficie: #F6F8FA;
  --branco: #FFFFFF;
  --alerta-fundo: #FFF6E5;
  --alerta-borda: #E2B04A;
  --alerta-texto: #5A3D00;

  --raio: 12px;
  --raio-sm: 10px;
  --max: 1160px;
  --gutter: 20px;

  --fonte-titulo: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fonte: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--branco);
  color: var(--texto);
  font-family: var(--fonte);
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 { font-family: var(--fonte-titulo); color: var(--navy); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -0.015em; }
h1 { font-size: clamp(2rem, 1.2rem + 3.6vw, 3.25rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.6rem, 1.15rem + 1.8vw, 2.25rem); font-weight: 750; }
h3 { font-size: 1.125rem; font-weight: 700; }
p { margin: 0 0 1em; }

a { color: var(--terracota); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--terracota-escuro); }

:focus-visible {
  outline: 3px solid var(--terracota);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.pular {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--raio-sm);
  font-weight: 600; text-decoration: none;
}
.pular:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------------------------------------------------------------- Cabeçalho */
.topo {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--borda);
}
.topo__barra { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.topo__marca { display: inline-flex; align-items: center; padding: 6px 0; }
.topo__marca img { width: 108px; height: auto; }

.menu-botao {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--branco); color: var(--navy);
  border: 1px solid var(--borda); border-radius: var(--raio-sm);
  font: 600 .95rem var(--fonte); padding: 9px 14px; cursor: pointer;
}
.menu-botao__icone { width: 18px; height: 12px; position: relative; display: inline-block; }
.menu-botao__icone::before, .menu-botao__icone::after, .menu-botao__icone span {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px;
}
.menu-botao__icone::before { top: 0; }
.menu-botao__icone span { top: 5px; }
.menu-botao__icone::after { bottom: 0; }

.nav { display: none; }
.nav.aberto { display: block; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--borda); }
.nav ul { list-style: none; margin: 0; padding: 8px var(--gutter) 16px; }
.nav a {
  display: block; padding: 12px 4px; color: var(--texto); text-decoration: none; font-weight: 550;
  border-bottom: 1px solid var(--borda);
}
.nav li:last-child a { border-bottom: 0; }
.nav a:hover { color: var(--terracota); }
.nav a[aria-current="page"] { color: var(--terracota); }

/* Sem JavaScript: o menu fica sempre visível (degradação segura). */
.sem-js .menu-botao { display: none; }
.sem-js .nav { display: block; position: static; border: 0; }
.sem-js .topo__barra { flex-wrap: wrap; }

/* Menu horizontal só quando os seis itens cabem numa linha com a Inter (~800 px + marca). */
@media (min-width: 1024px) {
  .menu-botao { display: none; }
  .nav, .nav.aberto { display: block; position: static; border: 0; background: transparent; min-width: 0; }
  .nav ul { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 2px; padding: 0; align-items: center; }
  .nav a { border: 0; padding: 8px 10px; border-radius: 8px; font-size: .92rem; white-space: nowrap; }
  .nav a:hover { background: var(--superficie); }
  .nav .nav__cta a {
    margin-left: 8px; background: var(--terracota); color: #fff; padding: 9px 16px;
  }
  .nav .nav__cta a:hover { background: var(--terracota-escuro); color: #fff; }
}

/* ------------------------------------------------------------------ Botões */
.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: var(--raio-sm);
  font: 650 1rem/1.2 var(--fonte); text-decoration: none; text-align: center;
  border: 1px solid transparent; cursor: pointer;
}
.botao--primario { background: var(--terracota); color: #fff; }
.botao--primario:hover { background: var(--terracota-escuro); color: #fff; }
.botao--secundario { background: #fff; color: var(--navy); border-color: var(--borda); }
.botao--secundario:hover { border-color: var(--navy); color: var(--navy); }
.botao--invertido { background: #fff; color: var(--navy); }
.botao--invertido:hover { background: var(--superficie); color: var(--navy); }

/* Selo "Em breve" — botão de texto puro, sem arte oficial de loja. */
.loja {
  display: inline-flex; flex-direction: column; justify-content: center;
  min-height: 52px; padding: 8px 18px; border-radius: var(--raio-sm);
  border: 1px solid var(--navy); color: var(--navy); background: #fff;
  line-height: 1.2; cursor: default;
}
.loja small { font-size: .75rem; color: var(--texto-2); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.loja strong { font-size: 1.05rem; }

.acoes { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ------------------------------------------------------------------ Seções */
.secao { padding: 64px 0; }
.secao--superficie { background: var(--superficie); border-top: 1px solid var(--borda); border-bottom: 1px solid var(--borda); }
.secao--navy { background: var(--navy); color: var(--texto-invertido-2); }
.secao--navy h2, .secao--navy h3 { color: #fff; }
@media (min-width: 960px) { .secao { padding: 96px 0; } }

.rotulo {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--terracota); margin-bottom: 12px;
}
.secao--navy .rotulo { color: #fff; opacity: .85; }

.lead { font-size: 1.125rem; color: var(--texto-2); max-width: 60ch; }
.secao--navy .lead { color: var(--texto-invertido-2); }

.cabecalho-secao { max-width: 720px; margin-bottom: 40px; }

/* Layout de duas colunas com ilustração (no máximo um mascote por seção). */
.dupla { display: grid; gap: 40px; align-items: center; }
.dupla > * { min-width: 0; }
@media (min-width: 900px) {
  .dupla { grid-template-columns: 1.15fr .85fr; gap: 64px; }
  .dupla--invertida { grid-template-columns: .85fr 1.15fr; }
  .dupla--invertida > .dupla__arte { order: -1; }
}
.dupla__arte { display: flex; justify-content: center; }
.dupla__arte img { width: 100%; max-width: 220px; }
@media (min-width: 900px) { .dupla__arte img { max-width: 340px; } }

/* -------------------------------------------------------------------- Hero */
.hero { padding: 48px 0 56px; border-bottom: 1px solid var(--borda); }
@media (min-width: 960px) { .hero { padding: 80px 0 88px; } }
.hero .dupla__arte img { max-width: 240px; }
@media (min-width: 900px) { .hero .dupla__arte img { max-width: 400px; } }
.hero h1 span { color: var(--terracota); }

.cidade-piloto {
  display: inline-flex; flex-wrap: wrap; max-width: 100%; align-items: center; gap: 8px; padding: 6px 12px; margin-bottom: 20px;
  border: 1px solid var(--borda); border-radius: 999px; font-size: .875rem; color: var(--texto-2); background: #fff;
}
.cidade-piloto b { color: var(--navy); }
.ponto { width: 8px; height: 8px; border-radius: 50%; background: var(--verde); }

/* ------------------------------------------------------------------- Passos */
.passos { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: passo; }
.passos li {
  counter-increment: passo; position: relative; padding: 18px 18px 18px 64px; overflow-wrap: anywhere;
  background: #fff; border: 1px solid var(--borda); border-radius: var(--raio);
}
.passos li::before {
  content: counter(passo); position: absolute; left: 18px; top: 18px;
  width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff;
  font-weight: 700; font-size: .9rem; display: grid; place-items: center;
}
.passos h3 { margin-bottom: 4px; font-size: 1.05rem; }
.passos p { margin: 0; color: var(--texto-2); }

/* -------------------------------------------------------------------- Cards */
.grade { display: grid; gap: 16px; }
@media (min-width: 640px) { .grade--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grade--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 640px) and (max-width: 899px) { .grade--3 { grid-template-columns: repeat(2, 1fr); } }

.card {
  background: #fff; border: 1px solid var(--borda); border-radius: var(--raio); padding: 24px;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--texto-2); margin: 0; }
.card__icone {
  width: 40px; height: 40px; border-radius: 10px; background: var(--superficie); border: 1px solid var(--borda);
  display: grid; place-items: center; margin-bottom: 16px; color: var(--navy);
}
.card__icone svg { width: 20px; height: 20px; }

.secao--navy .card { background: var(--navy-700); border-color: rgba(255,255,255,.14); }
.secao--navy .card p { color: var(--texto-invertido-2); }
.secao--navy .card__icone { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: #fff; }

/* -------------------------------------------------------------------- Cesta */
.cesta { list-style: none; padding: 0; margin-top: 0; display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); margin-bottom: 0; }
@media (min-width: 900px) { .cesta { grid-template-columns: repeat(4, 1fr); } }
.cesta__item {
  background: #fff; border: 1px solid var(--borda); border-radius: var(--raio);
  padding: 20px 16px; text-align: center;
}
.cesta__item img { width: 104px; height: 104px; margin: 0 auto 12px; object-fit: contain; }
.cesta__item h3 { margin: 0; font-size: 1.05rem; }

/* --------------------------------------------------------------- Contato */
.contato { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 760px) { .contato { grid-template-columns: repeat(3, 1fr); } }
.contato dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; color: var(--texto-2); margin-bottom: 6px; }
.contato dd { margin: 0; font-weight: 650; color: var(--texto); }

.placeholder {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .92em;
  background: var(--alerta-fundo); color: var(--alerta-texto); border: 1px dashed var(--alerta-borda);
  padding: 1px 6px; border-radius: 6px; white-space: normal; overflow-wrap: anywhere;
}

.aviso {
  border: 1px solid var(--borda); border-left: 4px solid var(--navy); border-radius: var(--raio-sm);
  background: var(--superficie); padding: 14px 18px; color: var(--texto); font-size: .95rem;
}
.aviso p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------------ Rodapé */
.rodape { background: var(--navy); color: var(--texto-invertido-2); padding: 56px 0 32px; font-size: .95rem; }
.rodape__grade { display: grid; gap: 32px; }
@media (min-width: 760px) { .rodape__grade { grid-template-columns: 1.4fr 1fr 1fr; } }
.rodape img { width: 112px; margin-bottom: 16px; }
.rodape h2 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; }
.rodape ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.rodape a { color: #fff; text-decoration: none; }
.rodape a:hover { text-decoration: underline; color: #fff; }
.rodape__base { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.16); font-size: .85rem; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.rodape .placeholder { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.4); }
.rodape :focus-visible { outline-color: #fff; }

/* -------------------------------------------- Páginas internas e legais */
.pagina-topo { padding: 48px 0 32px; border-bottom: 1px solid var(--borda); }
.pagina-topo .lead { margin-bottom: 0; }

.minuta {
  background: var(--alerta-fundo); border-bottom: 1px solid var(--alerta-borda); color: var(--alerta-texto);
  padding: 14px 0; font-size: .95rem;
}
.minuta strong { letter-spacing: .02em; }

.documento { display: grid; gap: 40px; padding-top: 40px; padding-bottom: 72px; }
.documento > * { min-width: 0; }
@media (min-width: 960px) { .documento { grid-template-columns: 260px 1fr; gap: 64px; } }
.sumario { align-self: start; border: 1px solid var(--borda); border-radius: var(--raio); padding: 18px 20px; background: #fff; }
@media (min-width: 960px) { .sumario { position: sticky; top: 92px; } }
.sumario h2 { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--texto-2); margin-bottom: 10px; }
.sumario ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: .92rem; }
.sumario a { color: var(--texto); text-decoration: none; }
.sumario a:hover { color: var(--terracota); text-decoration: underline; }

.texto-legal { max-width: 74ch; }
.texto-legal h2 { font-size: 1.35rem; margin-top: 40px; padding-top: 8px; }
.texto-legal h2:first-child { margin-top: 0; }
.texto-legal h3 { margin-top: 24px; }
.texto-legal ul, .texto-legal ol { padding-left: 22px; }
.texto-legal li { margin-bottom: 6px; }
.texto-legal p, .texto-legal li { color: var(--texto); }

.tabela-wrap { width: 100%; overflow-x: auto; border: 1px solid var(--borda); border-radius: var(--raio); margin: 16px 0 24px; }
table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 520px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--borda); vertical-align: top; }
th { background: var(--superficie); color: var(--navy); font-weight: 700; }
tr:last-child td { border-bottom: 0; }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.faq details { border: 1px solid var(--borda); border-radius: var(--raio); background: #fff; }
.faq summary {
  cursor: pointer; list-style: none; padding: 16px 48px 16px 18px; font-weight: 650; color: var(--texto); position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 9px; height: 9px; margin-top: -6px;
  border: solid var(--navy); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .15s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details[open] summary { color: var(--terracota); }
.faq .faq__corpo { padding: 0 18px 18px; color: var(--texto-2); }
.faq .faq__corpo p:last-child { margin-bottom: 0; }

.bloco-exclusao { border: 1px solid var(--borda); border-radius: var(--raio); padding: 24px; background: #fff; }
@media (min-width: 760px) { .bloco-exclusao { padding: 32px; } }
.bloco-exclusao ol.etapas { padding-left: 22px; }
.bloco-exclusao ol.etapas li { margin-bottom: 10px; }
.modelo-email {
  background: var(--superficie); border: 1px solid var(--borda); border-radius: var(--raio-sm);
  padding: 14px 16px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .88rem;
  white-space: pre-wrap; color: var(--texto); margin: 12px 0 20px;
}


/* Entrada integrada dos painéis, com os mesmos tokens do site público. */
.portal { padding: 48px 0 64px; background: var(--superficie); }
.portal__grade { display:grid; grid-template-columns:minmax(0, 1fr); gap:32px; align-items:center; }
.portal h1 { font-size:clamp(2.1rem, 4.2vw, 3.5rem); line-height:1.04; letter-spacing:-.035em; }
/* Palco do mascote: arco azul-claro atrás da pose oficial, sem gradiente. */
.portal__palco { position:relative; margin:28px auto 0; width:min(100%, 420px); aspect-ratio: 420 / 360; }
.portal__palco::before { content:""; position:absolute; left:0; right:0; bottom:0; height:84%; background:#DCEAF5; border-radius:210px 210px 24px 24px; }
.portal__mascote { position:absolute; left:50%; bottom:0; transform:translateX(-50%); height:100%; width:auto; max-width:none; }
.portal__cartao { background:#fff; border:1px solid var(--borda); border-top:4px solid var(--terracota); border-radius:20px; padding:32px; box-shadow:0 1px 2px #071b2c0f, 0 14px 36px #071b2c14; }
.portal__cartao h2 { font-size:1.7rem; }
.portal__cartao p { color:var(--texto-2); }
.portal__cartao .botao { width:100%; justify-content:space-between; gap:16px; white-space:normal; min-height:52px; }
.portal__cartao .portal__ajuda { font-size:.9rem; margin:18px 0 0; }
.portal__recursos { display:flex; flex-wrap:wrap; gap:8px; padding:18px 0; }
.portal__recursos span { background:#fff; border:1px solid var(--borda); border-radius:999px; padding:6px 12px; font-size:.8rem; font-weight:600; color:var(--texto-2); }
.portal__equipe { display:grid; grid-template-columns:auto 1fr; align-items:center; gap:14px 16px; padding:20px 22px; background:var(--navy); color:var(--texto-invertido); border-radius:20px; }
.portal__equipe img { width:72px; height:auto; }
.portal__equipe h2 { font-size:1.1rem; margin:0 0 4px; color:var(--texto-invertido); }
.portal__equipe p { margin:0; font-size:.9rem; color:var(--texto-invertido-2); }
.portal__equipe a { grid-column:1 / -1; display:flex; align-items:center; justify-content:center; gap:8px; min-height:46px; padding:0 16px; border:1px solid #3A5670; border-radius:var(--raio-sm); color:var(--texto-invertido); font-weight:700; text-decoration:none; }
.portal__equipe a:hover, .portal__equipe a:focus-visible { background:var(--navy-700); }
.portal__nota { margin:18px 0 0; font-size:.9rem; color:var(--texto-2); }
@media(min-width:600px) and (max-width:899px) { .portal__equipe { grid-template-columns:auto 1fr auto; } .portal__equipe a { grid-column:auto; } }
@media(min-width:900px) { .portal { padding:64px 0 80px; } .portal__grade { grid-template-columns:1fr 1fr; gap:72px; } .portal__palco { margin:32px 0 0; } }
@media(max-width:599px) { .portal__cartao { padding:22px; } .portal__palco { width:min(100%, 300px); } .portal h1 br { display:none; } }

/* E-mails longos (ex.: contato@tatumofertas.com.br) quebram linha em
   telas estreitas em vez de criar rolagem lateral (04/11/2026). */
a[href^="mailto:"] { overflow-wrap: anywhere; word-break: break-word; }
