/* ============================================================
   Fabiana de Almeida Pacheco — landing de marca pessoal
   Paleta e tipografia herdadas da identidade do site (style5).
   ============================================================ */

:root {
  --bg: #f4f1ec;
  --bg-elevated: #ffffff;
  --bg-subtle: #f8f6f2;
  --text: #18181b;
  --text-muted: #52525b;
  --text-subtle: #a1a1aa;
  --accent: #9f1239;
  --accent-dark: #6b1230;
  --accent-soft: rgba(159, 18, 57, 0.08);
  --on-dark: #fdf2f5;
  --on-dark-muted: rgba(253, 242, 245, 0.72);
  --border: #e7e5e0;
  --border-soft: rgba(24, 24, 27, 0.06);
  --container: 940px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-card: 0 1px 2px rgba(24, 24, 27, 0.04), 0 8px 24px rgba(24, 24, 27, 0.05);
  --shadow-card-hover: 0 1px 2px rgba(24, 24, 27, 0.05), 0 12px 32px rgba(24, 24, 27, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'cv11', 'ss01';
}

h1, h2, h3, h4, p, ul, figure {
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover,
a:focus-visible {
  color: var(--accent-dark);
}

a:focus-visible,
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.band--dark :focus-visible {
  outline-color: var(--on-dark);
}

/* Link de pulo para leitores de tela / navegação por teclado */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 10;
  border-radius: 0 0 var(--radius-sm) 0;
}

.skip-link:focus {
  left: 0;
  color: #fff;
}

/* ============ ESTRUTURA EM FAIXAS ============ */
.band {
  width: 100%;
  padding: 5.5rem 1.5rem;
}

.band--cream {
  background: var(--bg);
}

.band--white {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.band--dark {
  background: var(--accent-dark);
  color: var(--on-dark);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
}

/* ============ CABEÇALHO DE SEÇÃO ============ */
.section-header {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 3rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.section-header .num {
  color: var(--accent);
  font-weight: 500;
  font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
}

.section-header h2 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: var(--text);
}

.band--dark .section-header {
  border-bottom-color: rgba(253, 242, 245, 0.18);
}

.band--dark .section-header .num {
  color: var(--on-dark);
  opacity: 0.6;
}

.band--dark .section-header h2 {
  color: var(--on-dark);
}

/* ============ HERO ============ */
.hero {
  padding-top: 6.5rem;
  padding-bottom: 6.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
}

.hero-thesis {
  font-size: clamp(2.1rem, 5.2vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 1.75rem;
  max-width: 16ch;
}

.hero-thesis .quiet {
  display: block;
  color: var(--accent);
}

.accent-line {
  width: 48px;
  height: 2px;
  background: var(--accent);
  margin-bottom: 1.75rem;
}

.hero-name {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.35rem;
}

.hero-role {
  font-size: 0.975rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.hero-role .sep {
  color: var(--text-subtle);
  margin: 0 0.5rem;
}

.hero-portrait {
  width: 260px;
  height: 260px;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-soft);
}

/* ============ BOTÕES ============ */
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.8rem 1.6rem;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
  transform: translateY(-1px);
}

.btn--ghost {
  border-color: var(--accent);
  color: var(--accent);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: var(--accent);
  color: #fff;
  transform: translateY(-1px);
}

.btn--light {
  background: var(--on-dark);
  border-color: var(--on-dark);
  color: var(--accent-dark);
}

.btn--light:hover,
.btn--light:focus-visible {
  background: #fff;
  border-color: #fff;
  color: var(--accent-dark);
  transform: translateY(-1px);
}

/* ============ MANIFESTO ============ */
.manifesto {
  max-width: 62ch;
}

.manifesto p {
  font-size: clamp(1.1rem, 2.2vw, 1.3rem);
  line-height: 1.6;
  letter-spacing: -0.011em;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.manifesto p:last-child {
  margin-bottom: 0;
}

.manifesto strong {
  font-weight: 600;
  box-shadow: inset 0 -0.5em 0 var(--accent-soft);
}

/* ============ DOMÍNIOS ============ */
.domains {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 1rem;
}

.domain {
  background: var(--bg-elevated);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 1.6rem 1.6rem 1.7rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.domain:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--accent-soft);
}

.domain-name {
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.6rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border);
}

.domain-desc {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============ TRAJETÓRIA ============ */
.timeline {
  position: relative;
  padding-left: 1.75rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 0.6rem;
  bottom: 0.6rem;
  width: 1px;
  background: var(--border);
}

.tl-item {
  position: relative;
  padding-bottom: 2.5rem;
}

.tl-item:last-child {
  padding-bottom: 0;
}

.tl-item::before {
  content: "";
  position: absolute;
  left: -1.75rem;
  top: 0.65rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--border);
}

.tl-item--current::before {
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.tl-period {
  font-size: 0.8rem;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 0.3rem;
}

.tl-title {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.tl-company {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
}

.tl-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 62ch;
}

.timeline-note {
  margin-top: 2.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.925rem;
  color: var(--text-muted);
}

/* ============ FORMAÇÃO E CERTIFICAÇÕES ============ */
.credentials {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 3.5rem;
}

.cred-title {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.cred-item {
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.cred-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.cred-name {
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.2rem;
}

.cred-meta {
  font-size: 0.875rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.6rem;
}

.cred-meta .sep {
  color: var(--text-subtle);
}

.cred-meta .tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-weight: 500;
  color: var(--text-muted);
}

.cred-meta .tag--live {
  color: var(--accent);
}

/* ============ INSIGHTS (faixa escura) ============ */
.insights-lead {
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.45;
  max-width: 30ch;
  margin-bottom: 2.75rem;
}

.topics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 1.75rem 2.5rem;
  margin-bottom: 3rem;
}

.topic-num {
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.12em;
  color: var(--on-dark-muted);
  margin-bottom: 0.5rem;
}

.topic-name {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.35rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(253, 242, 245, 0.22);
}

.topic-desc {
  font-size: 0.9rem;
  color: var(--on-dark-muted);
  line-height: 1.6;
}

/* ============ CONTATO ============ */
.contact-lead {
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.25;
  max-width: 22ch;
  margin-bottom: 2.25rem;
}

.contacts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.contacts a,
.contacts .contact-static {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.15rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.94rem;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.contacts a:hover,
.contacts a:focus-visible {
  background: #fff;
  border-color: var(--accent-soft);
  color: var(--accent);
  transform: translateY(-1px);
}

.contacts .fa {
  color: var(--accent);
  font-size: 1.05rem;
  width: 1.25rem;
  text-align: center;
  flex-shrink: 0;
}

.contact-label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ============ RODAPÉ ============ */
.site-footer {
  padding: 2.5rem 1.5rem 3rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: var(--bg);
}

.site-footer p {
  margin: 0.25rem 0;
}

.site-footer a {
  color: var(--text-muted);
}

.site-footer a:hover {
  color: var(--accent);
}

/* ============ 404 ============ */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
}

.error-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 4rem 3rem;
  box-shadow: var(--shadow-card);
  text-align: center;
  max-width: 520px;
  width: 100%;
}

.error-code {
  font-size: clamp(4.5rem, 14vw, 7rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 0.75rem;
  font-variant-numeric: tabular-nums;
}

.error-card .accent-line {
  margin: 0 auto 1.5rem;
}

.error-title {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
}

.error-text {
  color: var(--text-muted);
  font-size: 0.975rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* ============ ENTRADA DO HERO ============ */
@media (prefers-reduced-motion: no-preference) {
  .hero-thesis,
  .hero .accent-line,
  .hero-name,
  .hero-role,
  .hero .actions,
  .hero-portrait {
    animation: rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) backwards;
  }

  .hero .accent-line { animation-delay: 0.06s; }
  .hero-name         { animation-delay: 0.10s; }
  .hero-role         { animation-delay: 0.14s; }
  .hero .actions     { animation-delay: 0.18s; }
  .hero-portrait     { animation-delay: 0.10s; }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* ============ RESPONSIVO ============ */
@media (max-width: 860px) {
  .credentials {
    grid-template-columns: 1fr;
    gap: 2.75rem;
  }
}

@media (max-width: 720px) {
  .band {
    padding: 3.5rem 1.25rem;
  }

  .hero {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  /* Retrato antes do texto no mobile: rosto primeiro, tese em seguida */
  .hero-portrait {
    order: -1;
    width: 150px;
    height: 150px;
  }

  .hero-thesis {
    max-width: none;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .contacts {
    grid-template-columns: 1fr;
  }

  .actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    justify-content: center;
  }

  .timeline-note {
    margin-top: 2rem;
  }

  .error-card {
    padding: 2.5rem 1.75rem;
    border-radius: 12px;
  }
}

/* ============ IMPRESSÃO ============ */
@media print {
  html,
  body {
    background: #fff;
    color: #000;
    font-size: 10.5pt;
  }

  .band {
    background: #fff !important;
    color: #000 !important;
    border: none;
    padding: 0 0 1.25rem;
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .container {
    max-width: none;
  }

  .skip-link,
  .actions,
  .site-footer {
    display: none;
  }

  .domain,
  .contacts a,
  .contacts .contact-static {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0.25rem 0;
    transform: none;
  }

  .band--dark .topic-name,
  .band--dark .topic-desc,
  .band--dark .insights-lead,
  .band--dark .section-header h2,
  .band--dark .section-header .num {
    color: #000;
  }

  a {
    color: #000;
  }

  .accent-line {
    background: #999;
  }

  .section-header {
    border-color: #ccc;
  }
}
