/* ==========================================================================
   Balthazar Digital Studio — estilos do tema
   ========================================================================== */

:root {
  --background: #0e0e0e;
  --foreground: #f4efe8;
  --card: #171717;
  --brand: #8b1e24;
  --brand-foreground: #f4efe8;
  --muted-foreground: rgba(244, 239, 232, 0.62);
  --border: rgba(244, 239, 232, 0.12);
  --ring: #d4545b;
  /* Vermelho para TEXTO sobre fundo escuro: #8b1e24 sobre #0e0e0e = 2,12:1 (reprova WCAG).
     #d4545b sobre #0e0e0e = 4,8:1 (aprova AA para texto normal). Fundos/botões mantêm #8b1e24. */
  --brand-text: #d4545b;
  --paper: #f4efe8;
  --paper-foreground: #0e0e0e;
  --paper-muted: rgba(14, 14, 14, 0.62);
  --paper-border: rgba(14, 14, 14, 0.14);
  --overlay: rgba(14, 14, 14, 0.7);
  --font-display: "Cormorant Garamond", ui-serif, Georgia, serif;
  --font-sans: "Manrope", ui-sans-serif, system-ui, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --header-h: 72px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; border: 0 solid var(--border); }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img, svg, iframe, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; padding: 0; }
h1, h2, h3, h4, p, ul, ol, figure, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
legend { padding: 0; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.01em; }
em { font-style: italic; }
::selection { background: var(--brand); color: var(--brand-foreground); }
:focus-visible { outline: 2px solid var(--ring); outline-offset: 4px; }

[hidden] { display: none !important; }
.screen-reader-text, .sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
  position: fixed; top: 8px; left: 8px; z-index: 70; width: auto; height: auto; clip: auto;
  margin: 0; padding: 8px 16px; background: var(--brand); color: var(--brand-foreground);
}

/* ---------- Utilitários ---------- */
.container { width: 100%; max-width: 1440px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
@media (min-width: 768px) { .container { padding-left: 40px; padding-right: 40px; } }

.section { padding-top: 96px; padding-bottom: 96px; }
@media (min-width: 768px) { .section { padding-top: 144px; padding-bottom: 144px; } }
.scroll-target { scroll-margin-top: 64px; }

.paper { background: var(--paper); color: var(--paper-foreground); --brand-text: var(--brand); --ring: var(--brand); }
.paper .t-core { --brand-text: #d4545b; --ring: #d4545b; }
.bt { border-top: 1px solid var(--border); }
.text-brand { color: var(--brand-text); }
.muted { color: var(--muted-foreground); }
.paper .muted { color: var(--paper-muted); }
.italic { font-style: italic; }

.eyebrow {
  font-family: var(--font-sans); font-size: 0.7rem; letter-spacing: 0.32em;
  text-transform: uppercase; font-weight: 500;
}
.display-xl {
  font-family: var(--font-display); font-size: clamp(2.6rem, 7.2vw, 6.4rem);
  line-height: 0.95; text-transform: uppercase; letter-spacing: -0.01em;
}
.display-lg {
  font-family: var(--font-display); font-size: clamp(2.1rem, 4.8vw, 4.2rem);
  line-height: 1; text-transform: uppercase;
}
.hairline { display: inline-block; height: 1px; width: 40px; background: var(--brand); }

.grain { position: relative; }
.grain::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence baseFrequency='0.9' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* Animações */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@keyframes slow-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.animate-slow-zoom { animation: slow-zoom 14s var(--ease) forwards; }
.animate-rise { opacity: 0; animation: rise 1.2s var(--ease) forwards; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .animate-rise { opacity: 1; transform: none; animation: none; transition: none; }
  .animate-slow-zoom { animation: none; }
}

/* Título de seção */
.section-title .eyebrow { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; color: var(--muted-foreground); }
.paper .section-title .eyebrow { color: var(--paper-muted); }
.section-title h2 span { display: block; }
.section-title h2 .hl { font-style: italic; color: var(--brand-text); }

/* Botões */
.btn {
  display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 12px;
  padding: 16px 28px; font-size: 0.72rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.22em; transition: background-color .5s, color .5s, border-color .5s;
  border: 1px solid transparent;
}
.btn .arrow { transition: transform .5s; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-brand { background: var(--brand); color: var(--brand-foreground); }
.btn-brand:hover { background: var(--foreground); color: var(--background); }
.btn-ghost { border-color: rgba(244, 239, 232, 0.3); color: var(--foreground); }
.btn-ghost:hover { border-color: var(--foreground); background: var(--foreground); color: var(--background); }
.btn-paper { background: var(--paper-foreground); color: var(--paper); }
.btn-paper:hover { background: var(--brand); color: var(--brand-foreground); }
.btn-lg { padding: 24px 40px; font-size: 0.875rem; width: 100%; }
@media (min-width: 768px) { .btn-lg { width: auto; } }

/* Grid helpers (12 colunas no desktop) */
.grid { display: grid; }
@media (min-width: 1024px) {
  .lg-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .lg-span-3 { grid-column: span 3; } .lg-span-4 { grid-column: span 4; }
  .lg-span-5 { grid-column: span 5; } .lg-span-7 { grid-column: span 7; }
  .lg-span-8 { grid-column: span 8; }
  .lg-self-end { align-self: end; }
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background-color .5s, border-color .5s, backdrop-filter .5s;
  border-bottom: 1px solid transparent;
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.site-header.is-scrolled, .site-header.is-open {
  border-bottom-color: var(--border);
  background: rgba(14, 14, 14, 0.85);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.header-inner { display: flex; height: var(--header-h); align-items: center; justify-content: space-between; }
.site-logo { flex-shrink: 0; display: block; }
.site-logo img { height: 28px; width: auto; }
@media (min-width: 768px) { .site-logo img { height: 32px; } }
.wordmark { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: 0.2em; text-transform: uppercase; line-height: 1; }
.wordmark small { display: block; font-family: var(--font-sans); font-size: 0.55rem; letter-spacing: 0.4em; color: var(--muted-foreground); margin-top: 4px; }

.main-nav { display: none; }
@media (min-width: 1024px) { .main-nav { display: block; } }
.main-nav ul { display: flex; align-items: center; gap: 32px; }
.main-nav a { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--muted-foreground); transition: color .3s; }
.main-nav a:hover, .main-nav .current-menu-item > a { color: var(--foreground); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-cta {
  display: none; background: var(--brand); color: var(--brand-foreground); padding: 12px 20px;
  font-size: 0.68rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.2em; transition: background-color .5s, color .5s;
}
.header-cta:hover { background: var(--foreground); color: var(--background); }
@media (min-width: 640px) { .header-cta { display: inline-flex; } }

.menu-toggle { position: relative; display: flex; width: 44px; height: 44px; align-items: center; justify-content: center; }
@media (min-width: 1024px) { .menu-toggle { display: none; } }
.menu-toggle span { position: absolute; height: 1px; width: 24px; background: var(--foreground); transition: transform .5s; }
.menu-toggle span:first-child { transform: translateY(-6px); }
.menu-toggle span:last-child { transform: translateY(6px); }
.is-open .menu-toggle span:first-child { transform: rotate(45deg); }
.is-open .menu-toggle span:last-child { transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; background: var(--background);
  padding: 40px 24px; visibility: hidden; opacity: 0; transition: opacity .5s, visibility .5s;
}
.is-open .mobile-menu { visibility: visible; opacity: 1; }
@media (min-width: 1024px) { .mobile-menu { display: none; } }
.mobile-menu nav { display: flex; height: 100%; flex-direction: column; }
.mobile-menu li a {
  display: flex; align-items: baseline; gap: 16px; border-bottom: 1px solid var(--border);
  padding: 16px 0; font-family: var(--font-display); font-size: 1.875rem; text-transform: uppercase;
}
.mobile-menu li a .num { font-family: var(--font-sans); font-size: 0.75rem; color: var(--brand-text); }
.mobile-menu .mobile-cta {
  margin-top: auto; display: flex; min-height: 56px; align-items: center; justify-content: center;
  background: var(--brand); color: var(--brand-foreground); font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.22em;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; display: flex; min-height: 100vh; min-height: 100svh; align-items: flex-end; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 35% center; }
.hero-shade-1 { position: absolute; inset: 0; background: linear-gradient(to top, var(--background), rgba(14,14,14,.7), rgba(14,14,14,.3)); }
.hero-shade-2 { position: absolute; inset: 0; background: linear-gradient(to right, rgba(14,14,14,.8), transparent, transparent); }
.hero-content { position: relative; padding-top: 128px; padding-bottom: 56px; }
@media (min-width: 768px) { .hero-content { padding-bottom: 80px; } }
.hero .kicker { display: flex; align-items: center; gap: 16px; margin-bottom: 32px; color: var(--muted-foreground); }
.hero h1 { max-width: 64rem; }
.hero h1 span { display: block; }
.hero h1 em { color: var(--brand-text); }
.hero-bottom { display: grid; gap: 40px; margin-top: 40px; }
@media (min-width: 768px) { .hero-bottom { margin-top: 56px; grid-template-columns: 1fr auto; align-items: end; } }
.hero-lead { max-width: 36rem; color: var(--muted-foreground); line-height: 1.65; }
@media (min-width: 768px) { .hero-lead { font-size: 1.125rem; } }
.btn-row { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 640px) { .btn-row { flex-direction: row; } }
.hero-foot { display: flex; justify-content: space-between; margin-top: 56px; border-top: 1px solid var(--border); padding-top: 24px; color: var(--muted-foreground); }
.hero-foot .journey { display: none; }
@media (min-width: 640px) { .hero-foot .journey { display: inline; } }

/* ==========================================================================
   Problema
   ========================================================================== */
.problem-top { gap: 56px; }
.problem-text { display: grid; gap: 20px; color: var(--paper-muted); line-height: 1.65; }
.problem-text .strong { color: var(--paper-foreground); }
@media (min-width: 768px) { .problem-text { font-size: 1.125rem; } }
@media (min-width: 1024px) { .problem-text { padding-top: 64px; } }
.problem-bottom { margin-top: 80px; gap: 48px; border-top: 1px solid var(--paper-border); padding-top: 56px; }
@media (min-width: 768px) { .problem-bottom { margin-top: 112px; } }
.journey-list li { display: flex; align-items: baseline; gap: 24px; border-bottom: 1px solid var(--paper-border); padding: 24px 0; }
@media (min-width: 768px) { .journey-list li { gap: 40px; } }
.journey-list .n { width: 32px; font-size: 0.75rem; font-weight: 600; color: var(--brand-text); flex-shrink: 0; }
.journey-list h3 { font-size: 2.25rem; text-transform: uppercase; line-height: 1.1; }
@media (min-width: 768px) { .journey-list h3 { font-size: 3.75rem; } }
.journey-list .desc { display: none; margin-left: auto; max-width: 16rem; text-align: right; font-size: 0.875rem; color: var(--paper-muted); }
@media (min-width: 768px) { .journey-list .desc { display: block; } }
.system-box { display: flex; flex-direction: column; justify-content: center; text-align: center; }
.system-box .symbol { margin: 0 auto 32px; width: 192px; opacity: .9; }
.system-box .eyebrow { margin-bottom: 24px; color: var(--paper-muted); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.chip { border: 1px solid rgba(14,14,14,.25); padding: 12px 20px; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.2em; }
.system-box .note { margin-top: 32px; font-size: 0.875rem; color: var(--paper-muted); }

/* Símbolo de fallback (quando não há imagem do símbolo) */
.symbol-fallback { display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 5rem; line-height: 1; color: var(--brand-text); font-style: italic; }

/* ==========================================================================
   Serviços (acordeão)
   ========================================================================== */
.services-head { gap: 40px; }
.services-list { margin-top: 64px; border-bottom: 1px solid var(--border); }
@media (min-width: 768px) { .services-list { margin-top: 96px; } }
.service { border-top: 1px solid var(--border); }
.service-toggle { display: flex; width: 100%; align-items: baseline; gap: 20px; padding: 28px 0; text-align: left; }
@media (min-width: 768px) { .service-toggle { gap: 40px; padding: 36px 0; } }
.service-toggle .n { width: 32px; flex-shrink: 0; font-family: var(--font-sans); font-size: 0.75rem; font-weight: 600; color: var(--brand-text); }
.service-toggle .t { font-family: var(--font-display); font-size: 1.875rem; text-transform: uppercase; transition: color .3s; line-height: 1.1; }
@media (min-width: 768px) { .service-toggle .t { font-size: 3rem; } }
.service-toggle:hover .t { color: var(--brand-text); }
.service-toggle .plus { margin-left: auto; font-family: var(--font-sans); font-size: 1.5rem; font-weight: 300; color: var(--muted-foreground); transition: transform .5s; }
.service.is-open .plus { transform: rotate(45deg); }
.service-panel { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .7s ease-out, opacity .7s ease-out; }
.service.is-open .service-panel { grid-template-rows: 1fr; opacity: 1; }
.service-panel > div { overflow: hidden; }
.service-body { display: grid; gap: 32px; padding-bottom: 40px; }
@media (min-width: 768px) {
  .service-body { grid-template-columns: repeat(12, minmax(0, 1fr)); padding-left: 4.5rem; }
  .service-body p { grid-column: span 5; font-size: 1.125rem; }
  .service-body ul { grid-column: span 7; }
}
.service-body p { color: var(--muted-foreground); line-height: 1.65; }
.service-body ul { display: grid; grid-template-columns: 1fr; column-gap: 32px; row-gap: 8px; font-size: 0.875rem; }
@media (min-width: 640px) { .service-body ul { grid-template-columns: 1fr 1fr; } }
.service-body li { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--border); padding: 8px 0; }
.dot { width: 4px; height: 4px; background: var(--brand); flex-shrink: 0; }

/* ==========================================================================
   Transformação
   ========================================================================== */
.transform-grid { margin-top: 64px; display: grid; gap: 40px; align-items: center; }
@media (min-width: 768px) { .transform-grid { margin-top: 96px; } }
@media (min-width: 1024px) { .transform-grid { grid-template-columns: 1fr auto 1fr; gap: 56px; } }
.t-col .eyebrow { margin-bottom: 24px; color: var(--paper-muted); }
.t-item { border: 1px solid var(--paper-foreground); padding: 16px 20px; font-weight: 500; }
.t-col.muted-col .t-item { border: 1px dashed rgba(14,14,14,.25); color: var(--paper-muted); font-weight: 400; text-decoration: line-through; text-decoration-color: rgba(139,30,36,.6); }
.t-link { margin: 0 auto; height: 20px; width: 1px; background: rgba(14,14,14,.25); }
.t-core { display: flex; flex-direction: column; align-items: center; background: var(--background); color: var(--foreground); padding: 40px 32px; }
@media (min-width: 1024px) { .t-core { width: 288px; } }
.t-core .symbol { width: 112px; margin-bottom: 24px; }
.t-core .symbol-fallback { font-size: 3.5rem; margin-bottom: 24px; }
.t-core .name { font-family: var(--font-display); font-size: 1.875rem; letter-spacing: 0.2em; }
.t-core ul { margin-top: 32px; width: 100%; text-align: center; }
.t-core li span.item { display: block; padding: 4px 0; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.2em; }
.t-core .arrow-big { display: none; margin-top: 32px; font-size: 1.5rem; color: var(--brand-text); }
@media (min-width: 1024px) { .t-core .arrow-big { display: block; } }

/* ==========================================================================
   Portfólio
   ========================================================================== */
.portfolio-head { gap: 40px; }
.bento { margin-top: 64px; display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 768px) {
  .bento { margin-top: 80px; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: minmax(220px, 1fr); gap: 16px; }
}
.bento > .cell { aspect-ratio: 16 / 9; }
@media (min-width: 768px) {
  .bento > .cell { aspect-ratio: auto; grid-column: span 4; }
  .bento > .cell.lg { grid-column: span 8; grid-row: span 2; }
  .bento > .cell.full { grid-column: span 12; aspect-ratio: 21 / 7; }
}

.p-card {
  position: relative; display: block; width: 100%; height: 100%; overflow: hidden;
  background: var(--card); text-align: left;
}
.p-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(35%); transition: transform 1.2s ease-out, filter 1.2s ease-out;
}
.p-card:hover img, .p-card:focus-visible img { transform: scale(1.05); filter: grayscale(0); }
.p-card .shade { position: absolute; inset: 0; background: linear-gradient(to top, var(--background), rgba(14,14,14,.2), transparent); transition: background-color .7s; }
.p-card:hover .shade { background-color: var(--overlay); }
.p-card .info { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 20px; }
@media (min-width: 768px) { .p-card .info { padding: 28px; } }
.p-card .cat { margin-bottom: 8px; color: var(--muted-foreground); }
.p-card .p-title { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; text-transform: uppercase; line-height: 1; }
@media (min-width: 768px) { .p-card .p-title { font-size: 2.25rem; } }
.p-card .watch { flex-shrink: 0; border-bottom: 1px solid var(--brand); padding-bottom: 4px; transition: opacity .5s; }
@media (min-width: 768px) { .p-card .watch { opacity: 0; } .p-card:hover .watch { opacity: 1; } }

.portfolio-more { margin-top: 40px; display: flex; justify-content: flex-end; }

/* Modal de vídeo */
.video-modal {
  position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center;
  background: rgba(14,14,14,.95); padding: 16px; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.video-modal .inner { width: 100%; max-width: 72rem; }
.video-modal .bar { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 16px; gap: 16px; }
.video-modal .title { font-family: var(--font-display); font-size: 1.875rem; text-transform: uppercase; }
.video-modal .close { border: 1px solid var(--border); padding: 12px 16px; }
.video-modal .close:hover { border-color: var(--foreground); }
.video-modal .frame { aspect-ratio: 16 / 9; width: 100%; background: var(--card); }
.video-modal iframe { width: 100%; height: 100%; border: 0; }

/* Página de portfólio */
.page-pad { padding-top: var(--header-h); }
.pf-intro { padding-top: 64px; padding-bottom: 40px; }
@media (min-width: 768px) { .pf-intro { padding-top: 112px; padding-bottom: 64px; } }
.pf-intro h1 { margin-top: 24px; max-width: 56rem; font-size: 3rem; text-transform: uppercase; line-height: .95; }
@media (min-width: 768px) { .pf-intro h1 { font-size: 6rem; } }
.pf-intro .lead { margin-top: 32px; max-width: 42rem; color: var(--muted-foreground); }
@media (min-width: 768px) { .pf-intro .lead { font-size: 1.125rem; } }
.pf-filters { display: flex; flex-wrap: wrap; gap: 8px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 20px 0; }
.filter-btn { border: 1px solid var(--border); padding: 10px 16px; color: var(--muted-foreground); transition: all .3s; }
.filter-btn:hover { border-color: var(--foreground); color: var(--foreground); }
.filter-btn[aria-pressed="true"] { border-color: var(--brand); background: var(--brand); color: var(--brand-foreground); }
.pf-grid-wrap { padding-top: 56px; padding-bottom: 56px; }
@media (min-width: 768px) { .pf-grid-wrap { padding-top: 80px; padding-bottom: 80px; } }
.pf-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 768px) { .pf-grid { grid-template-columns: 1fr 1fr; gap: 16px; } }
@media (min-width: 1024px) { .pf-grid { grid-template-columns: repeat(3, 1fr); } }
.pf-item .cell { aspect-ratio: 16 / 9; }
.pf-summary { margin-top: 12px; font-size: 0.875rem; line-height: 1.6; color: var(--muted-foreground); }
.pf-empty { padding: 80px 0; text-align: center; color: var(--muted-foreground); }
.pf-cta { border-top: 1px solid var(--border); }
.pf-cta .container { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 32px; padding-top: 80px; padding-bottom: 80px; }
@media (min-width: 768px) { .pf-cta .container { flex-direction: row; align-items: center; padding-top: 112px; padding-bottom: 112px; } }
.pf-cta h2 { max-width: 36rem; font-size: 2.25rem; text-transform: uppercase; line-height: 1; }
@media (min-width: 768px) { .pf-cta h2 { font-size: 3.75rem; } }

/* ==========================================================================
   Princípio
   ========================================================================== */
.principle { overflow: hidden; background: var(--brand); color: var(--brand-foreground); }
.principle .section { padding-top: 96px; padding-bottom: 96px; }
@media (min-width: 768px) { .principle .section { padding-top: 160px; padding-bottom: 160px; } }
.principle .eyebrow { margin-bottom: 40px; opacity: .7; }
.principle .big { max-width: 72rem; }
@media (min-width: 768px) { .principle .big { font-size: clamp(2.4rem, 5.6vw, 5.4rem); } }
.principle .big .soft { font-style: italic; opacity: .8; }
.principle-grid { margin-top: 64px; display: grid; gap: 24px; border-top: 1px solid rgba(244,239,232,.25); padding-top: 40px; }
@media (min-width: 768px) { .principle-grid { grid-template-columns: repeat(4, 1fr); } }
.principle-grid p { opacity: .8; }
.principle-grid p.strong { opacity: 1; font-weight: 600; }

/* ==========================================================================
   Processo
   ========================================================================== */
.steps { margin-top: 64px; display: grid; gap: 40px; }
@media (min-width: 640px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 768px) { .steps { margin-top: 96px; } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(5, 1fr); gap: 32px; } }
.step { border-top: 1px solid var(--border); padding-top: 24px; }
.step .num { display: block; font-family: var(--font-display); font-size: 4.5rem; line-height: 1; color: rgba(244,239,232,.15); transition: color .7s; }
@media (min-width: 768px) { .step .num { font-size: 6rem; } }
.step:hover .num { color: var(--brand-text); }
.step h3 { margin-top: 24px; font-family: var(--font-sans); font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.2em; }
.step p { margin-top: 12px; font-size: 0.875rem; line-height: 1.65; color: var(--muted-foreground); }

/* ==========================================================================
   Formatos
   ========================================================================== */
.formats { margin-top: 64px; display: grid; border-top: 1px solid var(--paper-border); }
@media (min-width: 768px) { .formats { margin-top: 80px; grid-template-columns: repeat(3, 1fr); } }
.format { border-bottom: 1px solid var(--paper-border); padding: 40px 0; }
@media (min-width: 768px) {
  .format { border-bottom: 0; border-right: 1px solid var(--paper-border); padding: 40px 32px; }
  .format:first-child { padding-left: 0; }
  .format:last-child { border-right: 0; }
}
.format .n { font-size: 0.75rem; font-weight: 600; color: var(--brand-text); }
.format h3 { margin-top: 16px; font-size: 2.25rem; text-transform: uppercase; }
.format > p { margin-top: 16px; color: var(--paper-muted); }
.format .eyebrow { margin: 32px 0 12px; color: var(--paper-muted); }
.format ul { display: grid; gap: 8px; font-size: 0.875rem; }
.format li { display: flex; align-items: center; gap: 12px; }
.line { width: 16px; height: 1px; background: var(--brand); flex-shrink: 0; }
.formats-foot { margin-top: 56px; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 24px; border-top: 1px solid var(--paper-border); padding-top: 40px; }
@media (min-width: 768px) { .formats-foot { flex-direction: row; align-items: center; } }
.formats-foot p { max-width: 32rem; font-family: var(--font-display); font-size: 1.5rem; font-style: italic; }

/* ==========================================================================
   Sobre
   ========================================================================== */
.about-grid { display: grid; gap: 56px; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 80px; } }
.about-img img { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; }
@media (min-width: 1024px) { .about-text { padding-top: 40px; } }
.about-copy { margin-top: 40px; max-width: 42rem; display: grid; gap: 20px; line-height: 1.65; color: var(--muted-foreground); }
@media (min-width: 768px) { .about-copy { font-size: 1.125rem; } }
.about-copy .quote { font-family: var(--font-display); font-size: 1.5rem; font-style: italic; color: var(--foreground); line-height: 1.3; }
@media (min-width: 768px) { .about-copy .quote { font-size: 1.875rem; } }
.founder { margin-top: 48px; max-width: 42rem; border-left: 1px solid var(--brand); padding-left: 24px; }
.founder h3 { font-family: var(--font-sans); font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.22em; }
.founder .eyebrow { margin-top: 4px; color: var(--muted-foreground); }
.founder p:last-child { margin-top: 16px; font-size: 0.875rem; line-height: 1.65; color: var(--muted-foreground); }

/* ==========================================================================
   Pilares
   ========================================================================== */
.pillars { margin-top: 64px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1px; background: var(--border); }
@media (min-width: 768px) { .pillars { margin-top: 80px; grid-template-columns: repeat(3, 1fr); } }
.pillar { background: var(--background); padding: 32px; }
@media (min-width: 768px) { .pillar { padding: 48px; } }
.pillar h3 { font-size: clamp(2rem, 9vw, 3rem); text-transform: uppercase; line-height: 1; }
@media (min-width: 768px) { .pillar h3 { font-size: clamp(2.5rem, 4.2vw, 3.75rem); } }
.pillar p { margin-top: 24px; color: var(--muted-foreground); }
.pillars-quote { margin: 64px auto 0; max-width: 48rem; text-align: center; font-family: var(--font-display); font-size: 1.5rem; font-style: italic; line-height: 1.3; }
@media (min-width: 768px) { .pillars-quote { font-size: 1.875rem; } }

/* ==========================================================================
   CTA final
   ========================================================================== */
.cta-final { overflow: hidden; border-top: 1px solid var(--border); }
.cta-final .bg-symbol { pointer-events: none; position: absolute; right: -160px; top: 40px; width: 900px; max-width: none; opacity: .12; }
.cta-final .container { position: relative; padding-top: 112px; padding-bottom: 112px; }
@media (min-width: 768px) { .cta-final .container { padding-top: 176px; padding-bottom: 176px; } }
.cta-final .ask { max-width: 28rem; line-height: 2; color: var(--muted-foreground); }
.cta-final h2 { margin-top: 32px; }
.cta-final h2 em { color: var(--brand-text); }
.cta-row { margin-top: 48px; display: grid; gap: 40px; }
@media (min-width: 768px) { .cta-row { grid-template-columns: 1fr 1fr; align-items: end; } .cta-row .right { justify-self: end; } }
.cta-row p { max-width: 32rem; color: var(--muted-foreground); }
@media (min-width: 768px) { .cta-row p { font-size: 1.125rem; } }
.cta-links { margin-top: 64px; display: grid; gap: 16px; border-top: 1px solid var(--border); padding-top: 32px; font-size: 0.875rem; }
@media (min-width: 640px) { .cta-links { grid-template-columns: repeat(3, 1fr); } }
.cta-links a:hover { color: var(--brand-text); }

/* ==========================================================================
   Contato
   ========================================================================== */
.contact-grid { display: grid; gap: 56px; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); } }
.contact-note { margin-top: 32px; max-width: 24rem; color: var(--paper-muted); }
.contact-form { display: grid; gap: 32px; }
@media (min-width: 768px) { .contact-form { grid-template-columns: 1fr 1fr; } .contact-form .full { grid-column: span 2; } }
.contact-form label, .contact-form legend { display: block; color: var(--paper-muted); }
.field {
  width: 100%; border: 0; border-bottom: 1px solid rgba(14,14,14,.55); background: transparent;
  padding: 12px 0; font-size: 1rem; color: var(--paper-foreground); border-radius: 0;
}
.field::placeholder { color: var(--paper-muted); }
.field:focus { border-bottom-color: var(--brand); outline: none; }
textarea.field { resize: none; }
.contact-form legend { margin-bottom: 16px; }
.need-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.need-chip { min-height: 44px; border: 1px solid rgba(14,14,14,.55); padding: 8px 16px; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.15em; transition: all .3s; }
.need-chip { cursor: pointer; display: inline-flex; align-items: center; }
.need-chip:hover { border-color: var(--paper-foreground); }
.need-chip:has(input:focus-visible) { outline: 2px solid var(--ring); outline-offset: 2px; }
.need-chip.is-on, .need-chip:has(input:checked) { border-color: var(--brand); background: var(--brand); color: var(--brand-foreground); }
.submit-btn {
  display: inline-flex; min-height: 56px; width: 100%; align-items: center; justify-content: center; gap: 12px;
  background: var(--paper-foreground); color: var(--paper); padding: 0 40px; font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.22em; transition: background-color .5s, color .5s;
}
.submit-btn:hover { background: var(--brand); color: var(--brand-foreground); }
.submit-btn:disabled { opacity: .6; cursor: wait; }
@media (min-width: 768px) { .submit-btn { width: auto; } }
.form-error { color: var(--brand-text); font-size: 0.875rem; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-done { border: 1px solid var(--paper-foreground); padding: 32px; }
@media (min-width: 768px) { .contact-done { padding: 48px; } }
.contact-done .hairline { display: block; width: 48px; margin-bottom: 32px; }
.contact-done .big { font-family: var(--font-display); font-size: 2.25rem; text-transform: uppercase; line-height: 1.05; }
@media (min-width: 768px) { .contact-done .big { font-size: 3rem; } }
.contact-done p.msg { margin-top: 16px; max-width: 28rem; color: var(--paper-muted); }
.contact-done .btn { margin-top: 32px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { border-top: 1px solid var(--border); }
.footer-grid { display: grid; gap: 56px; padding-top: 80px; padding-bottom: 80px; }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); } }
.footer-logo img { width: 224px; }
.footer-brand p { margin-top: 32px; max-width: 20rem; font-size: 0.875rem; color: var(--muted-foreground); }
.footer-grid .eyebrow { margin-bottom: 20px; color: var(--muted-foreground); }
.footer-nav ul { display: grid; gap: 12px; font-size: 0.875rem; }
.footer-nav a:hover, .footer-contact a:hover { color: var(--brand-text); }
.footer-contact { display: grid; gap: 20px; font-size: 0.875rem; align-content: start; }
.footer-contact .eyebrow { margin-bottom: 0; }
.footer-contact .label { color: var(--muted-foreground); }
.footer-bottom { border-top: 1px solid var(--border); }
.footer-bottom .container { display: flex; flex-direction: column; gap: 12px; padding-top: 24px; padding-bottom: 96px; font-size: 0.75rem; color: var(--muted-foreground); }
@media (min-width: 768px) { .footer-bottom .container { flex-direction: row; justify-content: space-between; padding-bottom: 24px; } }
.footer-bottom .links { display: flex; gap: 24px; }
.footer-bottom .links ul { display: flex; gap: 24px; }
.footer-bottom a:hover { color: var(--foreground); }

/* Botão flutuante do WhatsApp */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 40; display: flex; align-items: center; gap: 12px; }
@media (min-width: 768px) { .wa-float { right: 32px; bottom: 32px; } }
.wa-float .tip {
  pointer-events: none; display: none; transform: translateX(8px); border: 1px solid var(--border);
  background: var(--background); padding: 12px 16px; opacity: 0; transition: all .5s;
}
@media (min-width: 768px) { .wa-float .tip { display: block; } }
.wa-float:hover .tip { transform: none; opacity: 1; }
.wa-float .bubble {
  position: relative; display: flex; width: 56px; height: 56px; align-items: center; justify-content: center;
  border-radius: 9999px; border: 1px solid var(--brand); background: var(--background); color: var(--foreground);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,.3); transition: background-color .5s;
}
.wa-float:hover .bubble { background: var(--brand); }
.wa-float .ping { position: absolute; top: -2px; right: -2px; width: 12px; height: 12px; border-radius: 9999px; background: var(--brand); box-shadow: 0 0 0 2px var(--background); }

/* ==========================================================================
   Páginas genéricas (page.php / index.php / 404)
   ========================================================================== */
.generic { padding-top: calc(var(--header-h) + 64px); padding-bottom: 96px; }
.generic h1 { font-size: clamp(2.4rem, 5vw, 4.5rem); text-transform: uppercase; line-height: 1; }
.entry-content { margin-top: 40px; max-width: 48rem; color: var(--muted-foreground); line-height: 1.75; font-size: 1.0625rem; }
.entry-content > * + * { margin-top: 1.25em; }
.entry-content h2, .entry-content h3 { color: var(--foreground); line-height: 1.15; }
.entry-content h2 { font-size: 2.25rem; margin-top: 1.8em; }
.entry-content h3 { font-size: 1.75rem; margin-top: 1.5em; }
.entry-content a { color: var(--foreground); text-decoration: underline; text-decoration-color: var(--brand); text-underline-offset: 3px; }
.entry-content ul { list-style: disc; padding-left: 1.25em; }
.entry-content ol { list-style: decimal; padding-left: 1.25em; }
.entry-content img { margin: 2em 0; }
.post-list { margin-top: 48px; display: grid; gap: 0; }
.post-item { border-top: 1px solid var(--border); padding: 32px 0; }
.post-item h2 { font-size: 2rem; text-transform: uppercase; }
.post-item h2 a:hover { color: var(--brand-text); }
.post-item .meta { margin-top: 8px; color: var(--muted-foreground); }
.post-item .excerpt { margin-top: 16px; max-width: 48rem; color: var(--muted-foreground); }
.pagination { margin-top: 48px; display: flex; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers { border: 1px solid var(--border); padding: 10px 16px; font-size: .8rem; }
.pagination .current { background: var(--brand); border-color: var(--brand); }
.notfound { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 120px 20px; }
.notfound .code { font-family: var(--font-display); font-size: 7rem; line-height: 1; }
.notfound h1 { margin-top: 16px; font-size: 1.5rem; text-transform: none; }
.notfound p { margin-top: 8px; color: var(--muted-foreground); }
.notfound .btn { margin-top: 32px; }

/* Blocos do WordPress */
.alignwide { max-width: 1200px; }
.alignfull { width: 100%; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text, figcaption { font-size: .8rem; color: var(--muted-foreground); margin-top: 8px; }
.p-card .info > span:first-child { min-width: 0; }

/* ==========================================================================
   Perguntas frequentes (v1.1)
   ========================================================================== */
.faq-list { margin-top: 64px; border-bottom: 1px solid var(--border); }
@media (min-width: 768px) { .faq-list { margin-top: 80px; } }
.faq-item { border-top: 1px solid var(--border); }
.faq-item summary {
  display: flex; align-items: baseline; gap: 24px; padding: 24px 0; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-size: 1.5rem; line-height: 1.2;
}
@media (min-width: 768px) { .faq-item summary { font-size: 2rem; padding: 28px 0; } }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover .q { color: var(--brand-text); }
.faq-item .plus { margin-left: auto; font-family: var(--font-sans); font-size: 1.5rem; font-weight: 300; color: var(--muted-foreground); transition: transform .5s; }
.faq-item[open] .plus { transform: rotate(45deg); }
.faq-item p { max-width: 48rem; padding-bottom: 28px; color: var(--muted-foreground); line-height: 1.7; }
@media (min-width: 768px) { .faq-item p { font-size: 1.0625rem; } }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; color: var(--muted-foreground); }
.breadcrumb a:hover { color: var(--foreground); }
.service-content { max-width: 52rem; }
.service-content h2 { text-transform: none; }
