/* ==========================================================================
   Sei de Cor — Design system compartilhado
   Cores da marca, tipografia (Bricolage Grotesque + Instrument Sans),
   e componentes (nav, botões, seções, cards, rodapé) usados em todo o site.
   ========================================================================== */

:root {
  --pink:        #C2477F;
  --pink-dark:   #CE5F92; /* círculos decorativos sobre o rosa */
  --teal:        #2BA5A0;
  --orange:      #E8842C;
  --ink:         #33222B;
  --muted:       #7A6570;
  --muted-2:     #8A6C7C;
  --muted-3:     #B39AA6;
  --pink-pale:   #FBF2F6;
  --teal-pale:   #EFF8F7;
  --orange-pale: #FDF4EA;
  --border:      #F0E4EA;
  --hero-text:   #FBE3EE;
  --footer-bg:   #33222B;
  --footer-text: #C9B2BE;
  --accent:      #F3A9CB;

  --maxw: 1280px;
  --pad:  clamp(20px, 5vw, 48px);
  --head: 'Bricolage Grotesque', sans-serif;
  --body: 'Instrument Sans', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; overflow-x: clip; }
body { font-family: var(--body); color: var(--ink); background: #fff; }
img { max-width: 100%; }
[id] { scroll-margin-top: 90px; }

a { color: inherit; }

.container { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* ---------- Navegação ---------- */
/* Logo nunca deforma: o link não encolhe no flex e a imagem mantém proporção */
nav a:first-child { flex-shrink: 0; }
nav img, .footer img { max-width: none; width: auto; }

.nav { position: sticky; top: 0; z-index: 50; background: var(--pink); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 16px var(--pad); max-width: var(--maxw); margin: 0 auto;
}
.nav-logo img { height: 40px; display: block; }
.nav-links { display: flex; align-items: center; gap: 28px; font-weight: 600; font-size: 15px; }
.nav-links a { color: var(--hero-text); text-decoration: none; }
.nav-links a:hover { color: #fff; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-signin { color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; padding: 10px 14px; }
@media (max-width: 860px) { .nav-links, #navlinks { display: none !important; } }

/* Nav compacta no mobile — vale pras navs com classe e pras inline (personas) */
@media (max-width: 480px) {
  nav > div { padding-left: 14px !important; padding-right: 14px !important; gap: 10px !important; }
  nav img { height: 32px !important; }
  nav a[href*="app.seidecor"] { padding: 10px 6px !important; font-size: 14px !important; }
  nav a[href*="teste-gratis"], nav a[href="#contato"], nav a[href="#form"] { padding: 11px 16px !important; font-size: 14px !important; }
}

/* ---------- Botões ---------- */
.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  border-radius: 999px; white-space: nowrap; transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  border: none; cursor: pointer; font-family: var(--body);
}
.btn:hover { transform: translateY(-1px); }
.btn-white { background: #fff; color: var(--pink); }
.btn-white:hover { box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.btn-pink  { background: var(--pink); color: #fff; }
.btn-pink:hover { background: #ab3c6f; }
.btn-sm { font-size: 15px; padding: 12px 24px; }
.btn-md { font-size: 17px; padding: 16px 30px; }
.btn-lg { font-size: 17px; padding: 18px 34px; }
.btn-link { color: #fff; text-decoration: none; font-weight: 700; font-size: 17px; border-bottom: 3px solid #fff; padding-bottom: 2px; }

/* ---------- Seções ---------- */
.section { padding: clamp(48px, 7vw, 88px) var(--pad); }
.section-tight { padding: 48px var(--pad); }
.eyebrow { font-weight: 700; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--pink); }
.h1 { font-family: var(--head); font-weight: 800; font-size: clamp(38px, 6vw, 60px); line-height: 1.04; margin: 0; letter-spacing: -1px; }
.h2 { font-family: var(--head); font-weight: 800; font-size: clamp(30px, 5vw, 42px); margin: 0; letter-spacing: -.5px; line-height: 1.12; }
.h3 { font-family: var(--head); font-weight: 700; font-size: 20px; margin: 0; }
.lead { font-size: 18px; line-height: 1.55; color: var(--muted); margin: 0; }
.section-head { text-align: center; max-width: 740px; margin: 0 auto 48px; display: flex; flex-direction: column; gap: 12px; align-items: center; }

/* ---------- Grid de cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }

.card { border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 10px; }
.card--pink   { background: var(--pink-pale); }
.card--teal   { background: var(--teal-pale); }
.card--orange { background: var(--orange-pale); }
.card p { font-size: 16px; line-height: 1.55; color: var(--muted); margin: 0; }
.card .h3 { margin-top: 8px; }

/* Anel colorido usado como ícone/marcador */
.dot { width: 40px; height: 40px; border-radius: 50%; border: 10px solid var(--pink); }
.dot--teal   { border-color: var(--teal); }
.dot--orange { border-color: var(--orange); }

/* Card de link (casos de uso) */
.link-card {
  text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--border);
  border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 8px;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.link-card:hover { border-color: var(--pink); box-shadow: 0 12px 30px rgba(194,71,127,.12); transform: translateY(-2px); }
.link-card p { font-size: 15px; color: var(--muted); margin: 0; line-height: 1.5; }
.link-card .more { font-weight: 700; font-size: 14px; color: var(--pink); }

/* ---------- Blocos rosa (destaque/CTA) ---------- */
.panel-pink { background: var(--pink); border-radius: 28px; position: relative; overflow: hidden; color: #fff; }
.panel-pink .blob { position: absolute; border-radius: 50%; background: var(--pink-dark); }

/* ---------- Rodapé ---------- */
.footer { background: var(--footer-bg); padding: 56px var(--pad) 40px; color: var(--footer-text); }
.footer-grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 48px; }
.footer h4 { font-weight: 700; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted-2); margin: 0 0 4px; }
.footer a { color: var(--footer-text); text-decoration: none; }
.footer a:hover { color: #fff; }
.footer .col { display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.footer .legal { font-size: 14px; line-height: 1.7; margin: 0; }
.footer-bottom { max-width: var(--maxw); margin: 40px auto 0; padding-top: 20px; border-top: 1px solid #4A2F3C; font-size: 13px; color: var(--muted-2); }

/* Grid fixo de 3 colunas (ex.: casos de uso em 2 linhas × 3) */
.grid-fixed-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 920px) { .grid-fixed-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-fixed-3 { grid-template-columns: 1fr; } }

/* Cards de destaque (borda fina) — páginas de caso de uso */
.feature-card { border: 1px solid var(--border); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 8px; }
.feature-card h3 { margin: 10px 0 0; font-size: 18px; }
.feature-card p { font-size: 15px; line-height: 1.55; color: var(--muted); margin: 0; }
.dot-sm { width: 34px; height: 34px; border-radius: 50%; border: 9px solid var(--pink); }
.dot-sm.dot--teal { border-color: var(--teal); }
.dot-sm.dot--orange { border-color: var(--orange); }

/* Cards-pilar (brancos) dentro da seção "Como resolve" */
.pillar-card { background: #fff; border-radius: 24px; padding: 36px; display: flex; flex-direction: column; gap: 16px; }
.pillar-card h3 { margin: 4px 0 0; font-size: 22px; }
.check-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 15px; line-height: 1.55; color: #5C4A53; }
.check-list li { display: flex; gap: 10px; align-items: baseline; }
.check-list .ck { font-weight: 700; }
.tagline { font-family: var(--head); font-weight: 800; font-size: clamp(22px, 3.5vw, 28px); margin: 0; color: var(--pink); text-align: center; }

/* Cards de FAQ */
.faq-card { background: var(--pink-pale); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 10px; }
.faq-card h3 { font-size: 19px; margin: 0; }
.faq-card p { font-size: 16px; line-height: 1.6; color: #5C4A53; margin: 0; }

/* Card compacto "outros casos" */
.mini-card { text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 6px; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.mini-card:hover { border-color: var(--pink); box-shadow: 0 12px 30px rgba(194,71,127,.12); transform: translateY(-2px); }
.mini-card h3 { font-size: 17px; margin: 0; }
.mini-card .more { font-weight: 700; font-size: 14px; color: var(--pink); }

/* Chips / tags (biblioteca de cursos) */
.tag { background: rgba(255,255,255,.14); color: #fff; font-weight: 600; font-size: 15px; padding: 10px 18px; border-radius: 999px; }
.tag--dashed { background: transparent; border: 1.5px dashed rgba(255,255,255,.5); }

/* ---------- Páginas jurídicas ---------- */
.legal-hero { background: var(--pink); padding: clamp(40px, 6vw, 72px) 0 clamp(28px, 4vw, 48px); }
.legal-doc { max-width: 820px; color: var(--ink); line-height: 1.75; font-size: 16px; }
.legal-doc h1, .legal-doc h2, .legal-doc h3, .legal-doc h4 { font-family: var(--head); letter-spacing: -.3px; line-height: 1.25; }
.legal-doc h2 { font-size: 22px; font-weight: 800; margin: 40px 0 12px; }
.legal-doc h3 { font-size: 18px; font-weight: 700; margin: 28px 0 10px; }
.legal-doc h4 { font-size: 16px; font-weight: 700; margin: 22px 0 8px; }
.legal-doc p { margin: 0 0 16px; }
.legal-doc ul, .legal-doc ol { margin: 0 0 16px; padding-left: 22px; }
.legal-doc li { margin: 6px 0; }
.legal-doc a { color: var(--pink); text-decoration: underline; }
.legal-doc strong, .legal-doc b { font-weight: 700; }
.legal-doc hr { border: none; border-top: 1px solid var(--border); margin: 24px 0; }
.legal-doc table { border-collapse: collapse; width: 100%; margin: 0 0 16px; display: block; overflow-x: auto; }
.legal-doc th, .legal-doc td { border: 1px solid var(--border); padding: 8px 12px; text-align: left; vertical-align: top; }

/* ---------- Utilitários ---------- */
.stack { display: flex; flex-direction: column; }
.center { text-align: center; }
