:root {
  --color-bg: #090909;
  --color-bg-solid: #000000;
  --color-text: #F4F4F4;
  --color-text-dark: #292930;
  --color-accent-orange: #F4824D;
  --color-accent-red: #F42919;
  --color-accent-blue: #0496FF;
  --gradient-brand: linear-gradient(134.77deg, #F4824D 25.1%, #F42919 74.9%);
  --gradient-secondary: linear-gradient(180deg, #FFFFFF 0%, #F0EEE9 100%);
  --font-sans: 'Space Grotesk', sans-serif;
  --font-serif: 'Instrument Serif', serif;
  --font-body: 'Inter', sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--color-bg);
  font-family: var(--font-body);
  scroll-behavior: smooth;
}

a {
  color: #FC5C32;
  text-decoration: none;
}

a:hover {
  color: #FE9766;
}

::selection {
  background: var(--color-accent-red);
  color: var(--color-text);
}

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

@keyframes light1-seq {
  0%, 100% { opacity: 1; transform: rotate(0deg); }
  50% { opacity: 0.35; transform: rotate(4deg); }
}
@keyframes light2-seq {
  0%, 100% { opacity: 1; transform: rotate(0deg); }
  50% { opacity: 0.35; transform: rotate(-4deg); }
}
@keyframes light3-seq {
  0%, 100% { opacity: 1; transform: rotate(0deg); }
  50% { opacity: 0.35; transform: rotate(3.5deg); }
}

/* Fixed background photo layer */
.bg-photo-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
}

.bg-photo-layer img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bg-photo-layer .bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(9, 9, 9, 0.4);
  pointer-events: none;
}

/* Fixed logo header */
.site-header {
  position: fixed;
  top: 24px;
  left: clamp(20px, 4vw, 48px);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 9px;
}

.site-header img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.site-header .wordmark {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

/* Fixed pill nav */
.site-nav {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  gap: 4px;
  background: rgba(23, 23, 23, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(245, 245, 245, 0.15);
  border-radius: 999px;
  padding: 7px;
}

.site-nav a {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 999px;
  color: rgba(244, 244, 244, 0.78);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  transition: background 0.2s ease, color 0.2s ease;
}

.site-nav a:hover {
  background: rgba(244, 244, 244, 0.08);
  color: var(--color-text);
}

/* Shared kicker / heading styles */
.kicker {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 244, 244, 0.7);
  margin-bottom: 20px;
}

.split-heading .sans {
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--color-text);
}

.split-heading .serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--color-text);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  transition: box-shadow 0.3s ease;
}

.btn-primary {
  background: var(--gradient-brand);
  color: var(--color-text);
  box-shadow: 0 10px 24px -8px rgba(244, 41, 25, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    inset 0 -2px 4px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  background: var(--gradient-secondary);
  color: var(--color-text-dark);
  box-shadow: 0 8px 18px -8px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    inset 0 -1px 2px rgba(0, 0, 0, 0.08);
}

.btn:hover {
  box-shadow: rgba(0, 0, 0, 0.4) 4px 4px 10px,
    rgba(0, 0, 0, 0.15) -2px -2px 4px inset,
    rgba(255, 255, 255, 0.15) 2px 2px 4px inset;
}

/* Scroll-reveal */
.reveal {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(22px);
  transition: opacity 1s ease, filter 1s ease, transform 1s cubic-bezier(.16,.84,.44,1);
}

.reveal.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.reveal.delay-1 {
  transition-delay: 0.1s;
}

.reveal.delay-2 {
  transition-delay: 0.2s;
}

.reveal.delay-3 {
  transition-delay: 0.3s;
}

/* Section 1 - Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 40px clamp(24px, 6vw, 80px) 190px;
  overflow: hidden;
}

.hero .hero-bg-effects {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero .hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9,9,9,0.05) 0%, rgba(9,9,9,0.25) 45%, rgba(9,9,9,0.82) 100%);
  pointer-events: none;
}

.hero .light-dot {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 236, 220, 0.9);
  pointer-events: none;
}

.hero .light-1 {
  top: 14%;
  right: 22%;
  width: 5px;
  height: 5px;
  box-shadow: 0 0 16px 5px rgba(255, 200, 150, 0.55);
  animation: light1-seq 5s ease-in-out infinite;
}

.hero .light-2 {
  top: 26%;
  right: 12%;
  width: 4px;
  height: 4px;
  background: rgba(255, 236, 220, 0.85);
  box-shadow: 0 0 14px 4px rgba(255, 200, 150, 0.5);
  animation: light2-seq 5s ease-in-out infinite 0.6s;
}

.hero .light-3 {
  top: 10%;
  right: 8%;
  width: 3px;
  height: 3px;
  background: rgba(255, 236, 220, 0.8);
  box-shadow: 0 0 12px 4px rgba(255, 200, 150, 0.45);
  animation: light3-seq 5s ease-in-out infinite 1.2s;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero-content h1 {
  margin: 0 0 24px;
  line-height: 0.96;
}

.hero-content h1 .sans,
.hero-content h1 .serif {
  font-size: clamp(46px, 7.5vw, 100px);
}

.hero-content h1 .sans {
  letter-spacing: -0.03em;
}

.hero-content h1 .serif {
  letter-spacing: -0.02em;
}

.hero-subhead {
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.6;
  color: rgba(244, 244, 244, 0.82);
  max-width: 540px;
  margin: 0 0 36px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Section 2 - Sobre */
.about {
  position: relative;
  padding: clamp(90px, 13vh, 160px) clamp(24px, 6vw, 80px);
  background: rgba(9, 9, 9, 0.55);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
}

.about .kicker {
  color: rgba(244, 244, 244, 0.55);
  margin-bottom: 18px;
}

.about h2 {
  margin: 0 0 24px;
  line-height: 1.05;
}

.about h2 .sans,
.about h2 .serif {
  font-size: clamp(30px, 4.2vw, 50px);
}

.about h2 .sans {
  letter-spacing: -0.03em;
}

.about-text {
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.7;
  color: rgba(244, 244, 244, 0.72);
  max-width: 480px;
  margin: 0;
}

.about-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(245, 245, 245, 0.12);
  border-radius: 16px;
  object-fit: cover;
}

/* Section 2.5 - História */
.history {
  position: relative;
  padding: clamp(90px, 13vh, 160px) clamp(24px, 6vw, 80px);
  background: rgba(9, 9, 9, 0.58);
}

.history-inner {
  max-width: 760px;
  margin: 0 auto;
}

.history .kicker {
  color: rgba(244, 244, 244, 0.55);
  margin-bottom: 18px;
}

.history h2 {
  margin: 0 0 56px;
  line-height: 1.05;
}

.history h2 .sans,
.history h2 .serif {
  font-size: clamp(30px, 4.2vw, 50px);
}

.history h2 .sans {
  letter-spacing: -0.03em;
}

.history-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(245, 245, 245, 0.12);
  margin-bottom: 48px;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.carousel-slide.is-active {
  opacity: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    repeating-linear-gradient(-45deg, rgba(244,244,244,0.05) 0 2px, transparent 2px 14px),
    linear-gradient(160deg, #1c2430 0%, #12161d 55%, #090909 100%);
  color: rgba(244, 244, 244, 0.4);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: rgba(245, 245, 245, 0.16);
}

.timeline-item {
  position: relative;
  padding: 0 0 44px 40px;
}

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

.timeline-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--gradient-brand);
  box-shadow: 0 0 0 4px #0d0d0d, 0 0 16px 2px rgba(244, 90, 50, 0.35);
}

.timeline-era {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(244, 130, 77, 0.9);
  margin-bottom: 8px;
}

.timeline-item h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(19px, 2.2vw, 23px);
  letter-spacing: -0.01em;
  color: var(--color-text);
  margin: 0 0 8px;
}

.timeline-item p {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(244, 244, 244, 0.72);
  margin: 0;
  max-width: 560px;
}

/* Section 2.75 - Podcasts */
.podcasts {
  position: relative;
  padding: clamp(90px, 13vh, 160px) clamp(24px, 6vw, 80px);
  background: rgba(9, 9, 9, 0.6);
}

.podcasts-inner {
  max-width: 900px;
  margin: 0 auto;
}

.podcasts .kicker {
  color: rgba(244, 244, 244, 0.55);
  margin-bottom: 18px;
}

.podcasts h2 {
  margin: 0 0 20px;
  line-height: 1.05;
}

.podcasts h2 .sans,
.podcasts h2 .serif {
  font-size: clamp(30px, 4.2vw, 50px);
}

.podcasts h2 .sans {
  letter-spacing: -0.03em;
}

.podcasts-intro {
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.7;
  color: rgba(244, 244, 244, 0.72);
  max-width: 640px;
  margin: 0 0 48px;
}

.podcast-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.podcast-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 20px 24px;
  border: 1px solid rgba(245, 245, 245, 0.12);
  border-radius: 14px;
  background: rgba(6, 6, 7, 0.6);
}

.podcast-item-embed {
  flex-direction: column;
  align-items: stretch;
}

.podcast-meta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.podcast-embed {
  width: 100%;
  max-width: 660px;
}

.podcast-embed iframe {
  display: block;
}

.podcast-icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
}

.podcast-item h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 18px;
  color: var(--color-text);
  margin: 0 0 4px;
}

.podcast-status {
  font-size: 13px;
  color: rgba(244, 244, 244, 0.5);
  margin: 0;
}

.podcast-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.podcast-actions .btn {
  padding: 10px 18px;
  font-size: 13px;
}

.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border: 1px solid rgba(245, 245, 245, 0.25);
  box-shadow: none;
}

.btn-ghost:hover {
  background: rgba(244, 244, 244, 0.08);
  box-shadow: none;
}

.btn[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
}

/* Section 3 - Sites / Projects */
.projects {
  position: relative;
  padding: clamp(20px, 4vh, 50px) clamp(24px, 6vw, 80px) clamp(90px, 12vh, 150px);
  background: rgba(9, 9, 9, 0.6);
}

.projects-inner {
  max-width: 1240px;
  margin: 0 auto;
}

.projects .kicker {
  color: rgba(244, 244, 244, 0.55);
  margin-bottom: 18px;
}

.projects h2 {
  margin: 0 0 44px;
  line-height: 1.05;
}

.projects h2 .sans,
.projects h2 .serif {
  font-size: clamp(30px, 4.2vw, 50px);
}

.projects h2 .sans {
  letter-spacing: -0.03em;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: clamp(20px, 3vw, 32px);
}

.project-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(245, 245, 245, 0.12);
  aspect-ratio: 4 / 3;
}

.project-card .project-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease-in-out;
}

.project-card .project-photo.is-light {
  filter: brightness(0.55) saturate(0.9);
}

.project-card .project-photo-placeholder {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(-45deg, rgba(244,244,244,0.05) 0 2px, transparent 2px 14px),
    linear-gradient(160deg, #1c2430 0%, #12161d 55%, #090909 100%);
}

.building-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: rgba(244, 244, 244, 0.55);
  border: 1px dashed rgba(244, 244, 244, 0.28);
  border-radius: 999px;
  padding: 7px 16px;
  background: rgba(9, 9, 9, 0.3);
}

.project-card:hover .project-photo {
  transform: scale(1.03);
}

.project-card .project-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9,9,9,0) 35%, rgba(9,9,9,0.55) 70%, rgba(9,9,9,0.96) 100%);
  pointer-events: none;
}

.project-card .project-panel {
  position: absolute;
  inset: 16px;
  z-index: 1;
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.project-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--color-text);
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
  width: fit-content;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.project-tag.tag-blue {
  background: rgba(4, 150, 255, 0.22);
  border: 1px solid rgba(4, 150, 255, 0.4);
}

.project-tag.tag-brand {
  background: linear-gradient(134.77deg, rgba(244,130,77,0.25) 25.1%, rgba(244,41,25,0.25) 74.9%);
  border: 1px solid rgba(244, 90, 50, 0.4);
}

.project-tag.tag-teal {
  background: rgba(45, 212, 191, 0.18);
  border: 1px solid rgba(45, 212, 191, 0.4);
}

.project-tag.tag-green {
  background: rgba(132, 204, 22, 0.18);
  border: 1px solid rgba(132, 204, 22, 0.4);
}

.project-text {
  backdrop-filter: blur(14px) saturate(110%);
  -webkit-backdrop-filter: blur(14px) saturate(110%);
  background: rgba(9, 9, 9, 0.38);
  border-radius: 14px;
  padding: 14px 16px;
  margin: 0 -16px -16px;
}

.project-panel h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(22px, 2.6vw, 28px);
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin: 0 0 10px;
}

.project-panel p {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(244, 244, 244, 0.75);
  margin: 0 0 16px;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  color: var(--color-text);
  border-bottom: 1px solid rgba(244, 244, 244, 0.4);
  padding-bottom: 2px;
  width: fit-content;
}

.project-social-links {
  display: flex;
  gap: 14px;
  margin-top: 10px;
}

.project-social-links a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  color: rgba(244, 244, 244, 0.55);
}

.project-social-links a:hover {
  color: rgba(244, 244, 244, 0.85);
}

/* Section 4 - Contato */
.contact {
  position: relative;
  padding: clamp(100px, 15vh, 190px) clamp(24px, 6vw, 80px) 100px;
  background: rgba(0, 0, 0, 0.65);
  overflow: hidden;
}

.contact-blob {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 560px;
  height: 560px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244,130,77,0.32) 0%, rgba(244,41,25,0.14) 55%, transparent 75%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
}

.contact-inner {
  max-width: 1240px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.contact h2 {
  margin: 0 0 36px;
  line-height: 1.02;
}

.contact h2 .sans,
.contact h2 .serif {
  font-size: clamp(34px, 5.5vw, 64px);
}

.contact h2 .sans {
  letter-spacing: -0.03em;
}

.contact-ctas {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 90px;
}

.site-footer {
  padding-top: 30px;
  border-top: 1px solid rgba(245, 245, 245, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 20px;
  color: rgba(244, 244, 244, 0.85);
}

.footer-links {
  display: flex;
  gap: 28px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
}

.footer-links a {
  color: rgba(244, 244, 244, 0.6);
}

.footer-copyright {
  font-size: 13px;
  color: rgba(244, 244, 244, 0.35);
}

/* Responsive: below this width the two-column About grid has no room
   left for its text column (260-380px reserved for the photo alone),
   so it must stack instead of squeezing text into a sliver column. */
@media (max-width: 760px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-photo {
    max-width: 420px;
    margin: 0 auto;
  }
}

/* Case study / project detail pages */
.detail-page {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  padding: 120px clamp(24px, 6vw, 40px) 100px;
}

.detail-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  color: rgba(244, 244, 244, 0.6);
  margin-bottom: 48px;
}

.detail-back:hover {
  color: var(--color-text);
}

.detail-hero {
  margin-bottom: 72px;
}

.detail-hero h1 {
  margin: 20px 0 24px;
  line-height: 1.05;
}

.detail-hero h1 .sans,
.detail-hero h1 .serif {
  font-size: clamp(34px, 5.5vw, 58px);
}

.detail-hero h1 .sans {
  letter-spacing: -0.03em;
}

.detail-subhead {
  font-size: clamp(17px, 1.6vw, 19px);
  line-height: 1.65;
  color: rgba(244, 244, 244, 0.78);
  max-width: 620px;
  margin: 0 0 32px;
}

.detail-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.detail-section {
  padding: 40px 0;
  border-top: 1px solid rgba(245, 245, 245, 0.1);
}

.detail-section h2 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(22px, 2.6vw, 28px);
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin: 0 0 20px;
}

.detail-section > p {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(244, 244, 244, 0.75);
  max-width: 680px;
  margin: 0 0 16px;
}

.detail-section > p:last-child {
  margin-bottom: 0;
}

.detail-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px 32px;
}

.detail-features h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 16px;
  color: var(--color-text);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.detail-features p {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(244, 244, 244, 0.68);
  margin: 0;
}

.example-posts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.example-post {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(245, 245, 245, 0.12);
  background: rgba(6, 6, 7, 0.6);
}

.example-post-img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.example-post-caption {
  padding: 16px;
}

.example-post-caption p {
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(244, 244, 244, 0.72);
  margin: 0 0 12px;
}

.example-post-caption p:last-child {
  margin-bottom: 0;
}

.stack-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.stack-pills span {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  color: rgba(244, 244, 244, 0.75);
  border: 1px solid rgba(245, 245, 245, 0.16);
  border-radius: 999px;
  padding: 6px 14px;
}

.detail-disclaimer {
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(244, 244, 244, 0.5);
  border-left: 2px solid rgba(4, 150, 255, 0.4);
  padding: 4px 0 4px 16px;
  margin: 0;
}

/* Mode examples (Eaí Jurídico case study) */
.mode-examples {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mode-example {
  border: 1px solid rgba(245, 245, 245, 0.12);
  border-radius: 14px;
  background: rgba(6, 6, 7, 0.6);
  overflow: hidden;
}

.mode-example summary {
  cursor: pointer;
  padding: 16px 20px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 15px;
  color: var(--color-text);
  list-style: none;
}

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

.mode-example summary::after {
  content: '+';
  float: right;
  color: rgba(244, 244, 244, 0.4);
  font-size: 18px;
}

.mode-example[open] summary::after {
  content: '–';
}

.mode-example-body {
  padding: 0 20px 20px;
}

.mode-example-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(244, 244, 244, 0.4);
  margin: 14px 0 6px;
}

.mode-example-body > p:first-child {
  margin-top: 0;
}

.mode-example-body p {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(244, 244, 244, 0.75);
  margin: 0;
}

.mode-example-result {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-top: 16px;
  padding: 14px 16px;
  background: rgba(4, 150, 255, 0.08);
  border: 1px solid rgba(4, 150, 255, 0.25);
  border-radius: 10px;
}

.mode-example-pct {
  font-family: var(--font-serif);
  font-size: 26px;
  color: var(--color-accent-blue);
  flex-shrink: 0;
  white-space: nowrap;
}

.mode-example-result p {
  font-size: 13px;
}

/* Laudo demo (Eaí Jurídico case study) */
.laudo-demo {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.laudo-panel {
  border: 1px solid rgba(245, 245, 245, 0.12);
  border-radius: 14px;
  background: rgba(6, 6, 7, 0.6);
  padding: 20px;
}

.laudo-panel p {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(244, 244, 244, 0.75);
  margin: 0 0 8px;
}

.laudo-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 999px;
}

.laudo-tag-free {
  color: rgba(45, 212, 191, 0.9);
  background: rgba(45, 212, 191, 0.12);
  border: 1px solid rgba(45, 212, 191, 0.35);
}

.laudo-tag-paid {
  color: rgba(244, 130, 77, 0.95);
  background: rgba(244, 130, 77, 0.12);
  border: 1px solid rgba(244, 130, 77, 0.35);
}

.laudo-bar {
  height: 8px;
  background: rgba(245, 245, 245, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.laudo-bar-fill {
  height: 100%;
  background: linear-gradient(to right, var(--color-accent-blue), #2dd4bf);
  border-radius: 4px;
}

.laudo-locked-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: rgba(245, 245, 245, 0.04);
  border: 1px solid rgba(245, 245, 245, 0.08);
  border-radius: 10px;
  margin-bottom: 8px;
  opacity: 0.6;
}

.laudo-locked-row span:first-child {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
}

.laudo-lock {
  font-size: 11px;
  color: rgba(244, 244, 244, 0.5);
}

.detail-footer {
  padding-top: 32px;
  border-top: 1px solid rgba(245, 245, 245, 0.1);
  text-align: center;
}

/* Detail pages are text-heavy, so the fixed background photo needs a
   stronger, constant overlay instead of the hero's gradual gradient. */
body.detail-body .bg-overlay {
  background: rgba(9, 9, 9, 0.8);
}
