/* === FONTS === */
@import url('https://api.fontshare.com/v2/css?f[]=satoshi@700,800&display=swap');

/* === RESET === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* === TOKENS === */
:root {
  --color-bg: #ffffff;
  --color-text: #111111;
  --color-border: #dddddd;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --size-base: 17px;
  --line-height: 1.7;
  --max-width: 680px;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
}

/* === HERO LAYOUT === */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: var(--space-md);
  max-width: none;
  width: 100%;
}

.hero h1,
.hero-headline {
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-sm);
  max-width: none;
  text-align: left;
}

.hero-l1-wrap,
.hero-l2-wrap {
  display: block;
}

.hero-l2-wrap {
  font-size: 0.82em;
}

.hero-cursor {
  display: inline-block;
  font-weight: 800;
  margin-left: 0.04em;
  animation: blink 0.75s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

.hero-sub {
  font-size: 1rem;
  color: var(--color-text);
  margin-bottom: var(--space-xs);
  max-width: 640px;
}

.hero-ctas {
  margin-top: var(--space-md);
}

.hero-cta {
  font-size: 1.8rem;
  color: var(--color-text);
  text-decoration: none;
  padding: var(--space-xs) 0;
  display: block;
}

.hero-cta:hover {
  text-decoration: underline;
}

/* === BASE === */
html {
  font-size: var(--size-base);
  background: var(--color-bg);
  color: var(--color-text);
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  line-height: var(--line-height);
  padding: 0 var(--space-md);
}

body.has-hero {
  padding-top: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body:not(.has-hero) {
  padding-top: 0;
}

/* === LAYOUT === */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.container.full-width {
  max-width: none;
  margin: 0;
}

body.has-hero .container.full-width {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* === LEAD === */
.lead {
  font-size: 1.25rem;
  line-height: 1.5;
  margin-bottom: var(--space-md);
}

/* === TYPOGRAPHY === */
h1 {
  font-size: 3rem;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

p {
  margin-bottom: var(--space-sm);
}

/* === NAV === */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-md) var(--space-sm) var(--space-md);
  background: var(--color-bg);
}

.nav-logo {
  color: var(--color-text);
  text-decoration: none;
  font-family: 'Satoshi', sans-serif;
  font-size: 4.5rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
}

.nav-logo:hover {
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: var(--space-md);
}

nav a {
  color: var(--color-text);
  text-decoration: none;
  font-size: 1.4rem;
}

nav a:hover {
  text-decoration: underline;
}

nav a.active {
  text-decoration: underline;
}

/* === SECTIONS === */
.section {
  margin-bottom: var(--space-lg);
}

.section-divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: var(--space-lg) 0;
}

/* === LISTS === */
.situation-list {
  list-style: none;
  margin: var(--space-md) 0;
}

.situation-list li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: var(--space-xs);
}

.situation-list li::before {
  content: '—';
  position: absolute;
  left: 0;
}

/* === PRINCIPLE BLOCKS (A Visão) === */
.principle {
  margin-bottom: var(--space-lg);
}

.principle h2 {
  margin-bottom: var(--space-xs);
}

/* === SERVICE BLOCKS (Nosso Trabalho) === */
.service {
  margin-bottom: var(--space-lg);
}

.service h2 {
  margin-bottom: var(--space-xs);
}

.service-meta {
  margin-top: var(--space-sm);
  font-size: 0.9rem;
}

.service-highlight {
  font-style: italic;
  margin-top: var(--space-xs);
}

/* === CASE BLOCKS (Casos) === */
.case {
  margin-bottom: var(--space-lg);
}

.case-label {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.case-context {
  font-size: 1.1rem;
  line-height: 1.5;
  margin-top: var(--space-sm);
  margin-bottom: 0;
}

.case-details {
  margin-top: var(--space-md);
}

.case-summary {
  display: inline-block;
  list-style: none;
  cursor: pointer;
  font-size: 1.05rem;
  color: var(--color-text);
  user-select: none;
  margin-bottom: var(--space-md);
}

.case-summary::-webkit-details-marker {
  display: none;
}

.case-summary:hover {
  text-decoration: underline;
}

h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
}

/* === CTA === */
.cta-block {
  margin-top: var(--space-lg);
}

.cta-link {
  display: block;
  color: var(--color-text);
  text-decoration: none;
  margin-bottom: var(--space-xs);
  font-size: 1.05rem;
}

.cta-link:hover {
  text-decoration: underline;
}

.cta-note {
  font-size: 0.9rem;
  margin-top: var(--space-sm);
}

/* === PAGE LINK === */
.page-link {
  display: inline-block;
  color: var(--color-text);
  text-decoration: none;
  margin-top: var(--space-md);
  font-size: 0.95rem;
}

.page-link:hover {
  text-decoration: underline;
}

/* === RESPONSIVE === */
@media (max-width: 600px) {
  body {
    padding: 0 var(--space-sm);
  }

  nav {
    padding: var(--space-sm) var(--space-sm) var(--space-xs) var(--space-sm);
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-xs);
  }

  .nav-logo {
    font-size: 2rem;
  }

  .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs) 1.2rem;
  }

  nav a {
    font-size: 0.85rem;
    white-space: nowrap;
  }

  h1 {
    font-size: 2rem;
  }

  .hero h1,
  .hero-headline {
    font-size: clamp(2rem, 10vw, 4rem);
  }

  .hero-cta {
    font-size: 1rem;
  }
}
