/* ============================================
   Guia Agendamento — servicos-agendamento.blog
   Dark Portal — Syne + Noto Sans
   Bg: #0e1621 | Accent: #38bdf8 | CTA: #f5c542
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=Noto+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:       #0e1621;
  --surface:  #162030;
  --surface2: #1d2d40;
  --border:   #263548;
  --text:     #b8cce0;
  --muted:    #6b8099;
  --heading:  #f0f5fb;
  --accent:   #38bdf8;
  --accent2:  #0ea5e9;
  --cta:      #f5c542;
  --cta2:     #d4a72c;
  --ctaTxt:   #0e1621;
  --danger:   #f87171;
  --success:  #4ade80;
  --warning:  #fbbf24;
  --r:        6px;
  --r-lg:     12px;
  --shadow:   0 4px 24px rgba(0,0,0,.45);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Noto Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background-color: var(--bg);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--cta); text-decoration: underline; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Syne', sans-serif;
  color: var(--heading);
  line-height: 1.25;
  margin-bottom: .6em;
  letter-spacing: -.01em;
}
h1 { font-size: 2.8rem; font-weight: 800; }
h2 { font-size: 1.9rem; font-weight: 700; }
h3 { font-size: 1.4rem; font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }

p { margin-bottom: 1.1em; }
ul, ol { margin-bottom: 1.1em; padding-left: 1.5em; }
li { margin-bottom: .4em; }
strong { color: var(--heading); }

/* === CONTAINER === */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* === DISCLAIMER BAR === */
.disclaimer-bar {
  background: #051020;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: .72rem;
  padding: 7px 0;
  text-align: center;
}
.disclaimer-bar strong { color: var(--danger); font-weight: 700; }
.disclaimer-bar a { color: var(--accent); font-weight: 600; }
.disclaimer-bar a:hover { color: var(--cta); }

/* === AD NOTICE === */
.ad-notice {
  background: #1a1200;
  border-bottom: 1px solid #3d2800;
  color: #a08040;
  font-size: .75rem;
  padding: 6px 0;
  text-align: center;
}
.ad-notice strong { color: #d4a030; }

/* === HEADER === */
.site-header {
  background: var(--surface);
  border-bottom: 2px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 16px rgba(0,0,0,.55);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 24px;
}
.logo { display: flex; flex-direction: column; text-decoration: none; }
.logo:hover { text-decoration: none; }
.logo-name {
  font-family: 'Syne', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--heading);
  line-height: 1.2;
  letter-spacing: -.02em;
}
.logo-name::before { content: '▸ '; color: var(--accent); }
.logo-tagline { font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }

.nav { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav a {
  display: block;
  padding: 7px 16px;
  font-size: .88rem;
  font-weight: 600;
  font-family: 'Syne', sans-serif;
  color: var(--text);
  border-radius: var(--r);
  letter-spacing: .02em;
  transition: background .15s, color .15s;
}
.nav a:hover, .nav a.active { background: var(--surface2); color: var(--accent); text-decoration: none; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 8px 12px;
  cursor: pointer;
  color: var(--text);
  font-size: 1.2rem;
  line-height: 1;
}

/* === BREADCRUMB === */
.breadcrumb {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  font-size: .82rem;
  color: var(--muted);
}
.breadcrumb .container { display: flex; align-items: center; }
.breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.breadcrumb ol li { display: flex; align-items: center; gap: 8px; margin: 0; }
.breadcrumb ol li + li::before { content: '›'; color: var(--border); }
.breadcrumb a { color: var(--accent); }
.breadcrumb a:hover { color: var(--cta); }
.breadcrumb span.current, .breadcrumb span { color: var(--muted); }
.breadcrumb .separator { color: var(--border); }

/* === HERO === */
.hero {
  background: linear-gradient(160deg, #051828 0%, #0c1e32 45%, #0e2040 100%);
  border-bottom: 1px solid var(--border);
  padding: 80px 0 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 900px 500px at 50% 110%, rgba(56,189,248,.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: 'POUPATEMPO';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 9rem;
  color: rgba(255,255,255,.022);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: -.02em;
  user-select: none;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { color: #fff; font-size: 3rem; font-weight: 800; margin-bottom: .5em; max-width: 800px; margin-left: auto; margin-right: auto; }
.hero p { font-size: 1.1rem; color: #8ab4cc; max-width: 600px; margin: 0 auto 2em; line-height: 1.7; }
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* === BUTTONS === */
.btn {
  display: inline-block;
  padding: 13px 28px;
  font-size: .95rem;
  font-weight: 700;
  font-family: 'Syne', sans-serif;
  border-radius: var(--r);
  cursor: pointer;
  text-decoration: none;
  letter-spacing: .02em;
  transition: transform .15s, box-shadow .2s, background .15s;
  border: none;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 6px 22px rgba(0,0,0,.4); }
.btn-primary { background: var(--cta); color: var(--ctaTxt); }
.btn-primary:hover { background: var(--cta2); color: var(--ctaTxt); }
.btn-secondary { background: transparent; color: var(--heading); border: 1px solid var(--border); }
.btn-secondary:hover { background: var(--surface2); border-color: var(--accent); color: var(--accent); }
.btn-cta { background: var(--cta); color: var(--ctaTxt); font-size: 1rem; padding: 14px 32px; }
.btn-cta:hover { background: var(--cta2); color: var(--ctaTxt); }

/* === SECTIONS === */
.section { padding: 60px 0; }
.section:nth-child(even) { background: var(--surface); }
.section-title { text-align: center; margin-bottom: 3em; }
.section-title h2 { position: relative; display: inline-block; padding-bottom: .55em; }
.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

/* === ARTICLE META === */
.article-meta { font-size: .82rem; color: var(--muted); text-align: center; margin-bottom: 0; }

/* === CARD GRID === */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-top-color: var(--cta); }
.card-icon { font-size: 2rem; margin-bottom: .8em; }
.card h3 { font-size: 1.05rem; margin-bottom: .5em; }
.card h3 a { color: var(--heading); }
.card h3 a:hover { color: var(--accent); text-decoration: none; }
.card p { font-size: .87rem; color: var(--muted); margin: 0; line-height: 1.65; }

/* === OFFICIAL SITES === */
.official-sites { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.official-site-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--success);
  border-radius: var(--r);
  padding: 20px;
}
.official-site-card a { font-family: 'Syne', sans-serif; font-size: .9rem; font-weight: 700; color: var(--success); display: block; margin-bottom: .4em; word-break: break-all; }
.official-site-card a:hover { color: var(--cta); text-decoration: none; }
.official-site-card p { font-size: .82rem; color: var(--muted); margin: 0; line-height: 1.5; }

/* === ABOUT BOX === */
.about-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 36px;
  max-width: 820px;
  margin: 0 auto;
}
.about-box p { color: var(--text); line-height: 1.8; }

/* === FAQ === */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; }
.faq-question {
  width: 100%;
  text-align: left;
  padding: 18px 20px;
  font-family: 'Syne', sans-serif;
  font-size: .95rem;
  font-weight: 600;
  color: var(--heading);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background .15s, color .15s;
}
.faq-question::after { content: '+'; font-size: 1.5rem; font-weight: 300; color: var(--accent); flex-shrink: 0; margin-left: 12px; transition: transform .2s; line-height: 1; }
.faq-item.open .faq-question { background: var(--surface2); color: var(--accent); }
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer { display: none; padding: 0 20px 20px; color: var(--text); font-size: .92rem; line-height: 1.75; border-top: 1px solid var(--border); }
.faq-answer p { margin-bottom: .7em; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-item.open .faq-answer { display: block; }

/* === STEP LIST (como-agendar) === */
.step-list { list-style: none; padding: 0; margin-bottom: 2em; display: flex; flex-direction: column; gap: 24px; }
.step-item { display: flex; gap: 24px; align-items: flex-start; }
.step-number {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: var(--accent);
  color: #0e1621;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  box-shadow: 0 0 0 5px rgba(56,189,248,.12);
}
.step-content h3 { margin-bottom: .4em; font-size: 1.05rem; }
.step-content p { color: var(--text); font-size: .92rem; line-height: 1.7; margin: 0; }

/* === CHECKLIST === */
.checklist { list-style: none; padding: 0; }
.checklist li { padding: 9px 0 9px 28px; position: relative; border-bottom: 1px solid var(--border); color: var(--text); font-size: .92rem; }
.checklist li:last-child { border-bottom: none; }
.checklist li::before { content: '✓'; position: absolute; left: 0; color: var(--success); font-weight: 700; }

/* === CTA BOX === */
.cta-box {
  background: linear-gradient(135deg, #102030 0%, #1a3048 100%);
  border: 1px solid var(--accent);
  border-radius: var(--r-lg);
  padding: 32px;
  text-align: center;
  margin: 2em 0;
}
.cta-box h3 { color: var(--heading); font-size: 1.3rem; margin-bottom: .4em; }
.cta-box p { color: var(--muted); font-size: .9rem; margin-bottom: 1.2em; }

/* === ALERTS === */
.alert { border-radius: var(--r); padding: 16px 20px; margin: 1.5em 0; font-size: .92rem; line-height: 1.65; border-left: 4px solid; }
.alert-info { background: rgba(56,189,248,.08); border-color: var(--accent); color: var(--text); }
.alert-info a { color: var(--accent); }
.alert-warning { background: rgba(245,197,66,.08); border-color: var(--warning); color: var(--text); }
.alert-danger { background: rgba(248,113,113,.08) !important; border-left: 4px solid var(--danger) !important; color: var(--text) !important; }
.alert-danger strong { color: var(--danger); }
.alert-danger a { color: var(--danger) !important; }

/* === SOURCES === */
.sources { background: var(--surface2); border: 1px solid var(--border); border-radius: var(--r); padding: 24px; margin-top: 2em; }
.sources h3 { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 1em; font-family: 'Syne', sans-serif; }
.sources ul { list-style: none; padding: 0; }
.sources li { padding: 6px 0; border-bottom: 1px solid var(--border); font-size: .85rem; }
.sources li:last-child { border-bottom: none; }

/* === SOBRE PAGE === */
.main-content { padding: 48px 0; }
.content-section { margin-bottom: 3em; padding-bottom: 3em; border-bottom: 1px solid var(--border); }
.content-section:last-child { border-bottom: none; }
.content-section h2 { margin-bottom: 1em; }
.highlight-section { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 32px; }

.steps-list { list-style: none; padding: 0; counter-reset: steps; }
.steps-list li {
  counter-increment: steps;
  padding: 14px 0 14px 64px;
  position: relative;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-size: .92rem;
  line-height: 1.65;
}
.steps-list li:last-child { border-bottom: none; }
.steps-list li::before { content: counter(steps, decimal-leading-zero); position: absolute; left: 0; top: 12px; font-family: 'Syne', sans-serif; font-size: 1.6rem; font-weight: 800; color: var(--accent); line-height: 1; }

.info-box { background: var(--surface2); border: 1px solid var(--border); border-left: 4px solid var(--accent); border-radius: var(--r); padding: 20px 24px; margin: 1.5em 0; font-size: .92rem; color: var(--text); }
.info-box.danger { border-left-color: var(--danger); }
.info-box.danger strong { color: var(--danger); }
.info-box ul { padding-left: 1.2em; margin: 0; }
.info-box li { margin-bottom: .4em; font-size: .88rem; }

.data-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.data-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
.data-table tr:last-child td { border-bottom: none; }
.data-table td:first-child { color: var(--muted); width: 200px; font-weight: 500; }
.data-table td:last-child { color: var(--text); }

/* === ARTICLE CONTENT === */
.article-content h2 { margin-top: 2em; padding-top: 1.5em; border-top: 1px solid var(--border); }
.article-content h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }

/* === FOOTER === */
.site-footer { background: #06101a; border-top: 1px solid var(--border); padding: 48px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 40px; max-width: 1100px; margin: 0 auto; padding: 0 24px 40px; }
.footer-disclaimer h4, .site-footer nav h4, .footer-company h4 { font-family: 'Syne', sans-serif; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--heading); margin-bottom: 1em; }
.footer-disclaimer h4 { font-size: 1rem; letter-spacing: 0; text-transform: none; }
.footer-disclaimer p { font-size: .82rem; color: var(--muted); line-height: 1.7; }
.footer-disclaimer a { color: var(--accent); }
.site-footer nav ul { list-style: none; padding: 0; margin: 0; }
.site-footer nav ul li { margin: 0; }
.site-footer nav ul li a { display: block; padding: 5px 0; font-size: .88rem; color: var(--muted); transition: color .15s; }
.site-footer nav ul li a:hover { color: var(--accent); text-decoration: none; }
.footer-company p { font-size: .82rem; color: var(--muted); margin-bottom: .4em; line-height: 1.5; }
.footer-copy { background: #040d14; border-top: 1px solid var(--border); color: var(--muted); font-size: .75rem; text-align: center; padding: 14px 24px; }

/* === COOKIE BANNER === */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: var(--surface2); border-top: 2px solid var(--border); z-index: 9999; box-shadow: 0 -4px 24px rgba(0,0,0,.5); display: none; }
.cookie-banner.show { display: block; }
.cookie-inner { max-width: 1100px; margin: 0 auto; padding: 18px 24px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.cookie-inner p { flex: 1; font-size: .82rem; color: var(--text); margin: 0; min-width: 280px; line-height: 1.6; }
.cookie-inner a { color: var(--accent); }
.cookie-btns { display: flex; gap: 10px; flex-wrap: wrap; flex-shrink: 0; }
.cookie-accept { padding: 8px 18px; background: var(--cta); color: var(--ctaTxt); border: none; border-radius: var(--r); font-size: .82rem; font-weight: 700; font-family: 'Syne', sans-serif; cursor: pointer; transition: background .15s; }
.cookie-accept:hover { background: var(--cta2); }
.cookie-essential { padding: 8px 18px; background: transparent; color: var(--text); border: 1px solid var(--border); border-radius: var(--r); font-size: .82rem; font-weight: 600; font-family: 'Syne', sans-serif; cursor: pointer; transition: background .15s, border-color .15s; }
.cookie-essential:hover { background: var(--surface); border-color: var(--accent); }
.cookie-reject { padding: 8px 18px; background: transparent; color: var(--muted); border: none; border-radius: var(--r); font-size: .82rem; cursor: pointer; transition: color .15s; }
.cookie-reject:hover { color: var(--danger); }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-disclaimer { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .hero { padding: 60px 0 50px; }
  .hero h1 { font-size: 2.2rem; }
  .hero::after { display: none; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--surface); flex-direction: column; padding: 16px; border-top: 1px solid var(--border); box-shadow: 0 8px 24px rgba(0,0,0,.55); gap: 4px; z-index: 200; }
  .nav.show { display: flex; }
  .nav-toggle { display: block; }
  .header-inner { position: relative; }
  .footer-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .step-item { gap: 16px; }
  .cookie-inner { flex-direction: column; align-items: flex-start; }
}
