/* =================================================================
   DESIGN SYSTEM — Élcio Souza (claro / editorial premium)
   Fonte única de verdade dos tokens e componentes. Todas as páginas
   herdam este arquivo. Paleta Google só como ACENTO cirúrgico.
================================================================= */
:root { --grad: linear-gradient(95deg, #4285F4, #34A853 42%, #FBBC05 72%, #EA4335); }

html, body { background: #F7F7F4; color: #13171F; font-family: 'Inter', sans-serif; -webkit-font-smoothing: antialiased; }
.font-display { font-family: 'Space Grotesk', sans-serif; letter-spacing: -0.02em; }

/* Acentos da marca (gradiente Google) — uso pontual */
.accent-rule { height: 3px; width: 64px; background: var(--grad); border-radius: 2px; }
.accent-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.accent-underline { background-image: var(--grad); background-position: 0 100%; background-repeat: no-repeat;
                    background-size: 100% 3px; padding-bottom: 2px; }

/* Componentes sóbrios: hairline + respiro */
.card { background: #FFFFFF; border: 1px solid #E6E5DF; border-radius: 16px; transition: transform .35s ease, box-shadow .35s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 50px -24px rgba(19,23,31,.25); }

.btn-primary { background: #13171F; color: #fff; border-radius: 12px; transition: transform .25s ease, box-shadow .25s ease; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -14px rgba(19,23,31,.55); }
.btn-ghost { border: 1px solid #D8D7CF; color: #13171F; border-radius: 12px; transition: border-color .25s ease, background .25s ease; }
.btn-ghost:hover { border-color: #13171F; background: #fff; }

.eyebrow { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: #6B7280; font-weight: 600; }

.photo-frame { border: 1px solid #E6E5DF; border-radius: 22px; box-shadow: 0 40px 80px -40px rgba(19,23,31,.35); background: #fff; }

.reveal { opacity: 0; transform: translateY(22px); }

/* Seção escura (contraste editorial único) */
.section-dark { background: #0F1620; color: #E7E9EE; }
.section-dark .mute2 { color: #9AA3B2; }

/* Tipografia de artigo (blog) */
.article { font-size: 1.075rem; line-height: 1.8; color: #374151; }
.article h2 { font-family: 'Space Grotesk', sans-serif; color: #13171F; font-size: 1.6rem; font-weight: 700; line-height: 1.25; margin: 2.4rem 0 1rem; letter-spacing: -.02em; }
.article h3 { font-family: 'Space Grotesk', sans-serif; color: #13171F; font-size: 1.25rem; font-weight: 600; margin: 1.8rem 0 .6rem; }
.article p { margin: 1.1rem 0; }
.article ul { margin: 1.1rem 0; padding-left: 0; list-style: none; }
.article ul li { position: relative; padding-left: 1.4rem; margin: .55rem 0; }
.article ul li::before { content: ''; position: absolute; left: 0; top: .72em; width: 14px; height: 3px; border-radius: 2px; background: var(--grad); }
.article strong { color: #13171F; font-weight: 600; }
.article blockquote { border-left: 3px solid #13171F; padding: .2rem 0 .2rem 1.3rem; margin: 1.8rem 0; font-size: 1.25rem; line-height: 1.5; font-family: 'Space Grotesk', sans-serif; color: #13171F; }
.article a { color: #13171F; text-decoration: underline; text-underline-offset: 3px; }

/* Cards de post (blog) */
.post-card { transition: transform .35s ease, box-shadow .35s ease; }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 18px 50px -24px rgba(19,23,31,.25); }
.tag { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: #6B7280; }

/* Formulário (lead) */
.form-label { display: block; font-size: 13px; font-weight: 600; color: #13171F; margin-bottom: 6px; }
.form-input, .form-select {
  width: 100%; background: #fff; border: 1px solid #D8D7CF; border-radius: 10px;
  padding: 12px 14px; font-size: 16px; color: #13171F; font-family: 'Inter', sans-serif;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-input:focus, .form-select:focus { outline: none; border-color: #13171F; box-shadow: 0 0 0 3px rgba(19,23,31,.06); }
.form-status { margin-top: 14px; font-size: 14px; }
.form-status.ok { color: #15803D; }
.form-status.err { color: #DC2626; }

/* Banner de cookies (LGPD / Consent Mode v2) */
.cookie-banner { position: fixed; left: 14px; right: 14px; bottom: 14px; z-index: 60;
  background: #fff; border: 1px solid #E6E5DF; border-radius: 16px;
  box-shadow: 0 24px 60px -24px rgba(19,23,31,.45); }
.cookie-inner { max-width: 1180px; margin: 0 auto; padding: 16px 20px; display: flex;
  flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.cookie-text { font-size: 13.5px; line-height: 1.5; color: #374151; max-width: 720px; }
.cookie-text a { color: #13171F; text-decoration: underline; text-underline-offset: 2px; }
.cookie-actions { display: flex; gap: 10px; }
@media (max-width: 640px) { .cookie-actions { width: 100%; } .cookie-actions button { flex: 1; } }

/* Menu mobile (hambúrguer) */
.mobile-menu summary { list-style: none; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu a { -webkit-tap-highlight-color: transparent; }

/* Marquee infinito (faixa de autoridade) */
.marquee { overflow: hidden; }
.marquee-track { display: flex; align-items: center; width: max-content; animation: marquee 28s linear infinite; }
.marquee-track span { white-space: nowrap; padding: 0 1.1rem; }
.marquee-track .sep { color: #E6E5DF; padding: 0; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: 100%; }
}

/* Dropdown de navegação (menu Serviços) */
.nav-dd { position: relative; }
.nav-dd-menu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(10px);
  min-width: 270px; background: #fff; border: 1px solid #E6E5DF; border-radius: 14px; padding: 8px;
  box-shadow: 0 24px 60px -28px rgba(19,23,31,.35); opacity: 0; visibility: hidden;
  transition: opacity .2s ease, transform .2s ease; }
.nav-dd:hover .nav-dd-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(6px); }
/* ponte invisivel que cobre o gap entre o gatilho e o menu (senao o menu fecha ao descer o mouse) */
.nav-dd-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 16px; }
.nav-dd-menu a { display: block; padding: 10px 12px; border-radius: 9px; font-size: 14px; color: #13171F; }
.nav-dd-menu a:hover { background: #F4F4F0; }
