/* ==========================================================================
   ZAMBI ESTÚDIO CRIATIVO — style.css
   Direção visual: a mesma lógica do Manual de Marca, onde cada seção assume
   uma cor cheia da paleta (terra queimada, vermelho, preto, verde broto,
   creme) — como as próprias lâminas do brand book — em vez de um único
   contraste vermelho/preto. Isotipo, grafismos de sol e a estampa da marca
   aparecem como textura, trazendo a raiz cultural (Zambiapunga / Boipeba)
   para o digital.
   ========================================================================== */

:root {
  --zambi-red: #CA221F;
  --burnt-earth: #590F0C;
  --coconut-brown: #6E4A32;
  --sprout-green: #B9D7A1;
  --morning-light: #FFFDC0;
  --root-black: #060606;

  --font-display: 'Koulen', system-ui, sans-serif;
  --font-body: 'Poppins', system-ui, sans-serif;

  --ease: cubic-bezier(.19,1,.22,1);
  --fast: 180ms;
  --base: 420ms;
  --slow: 900ms;

  --radius: 16px;
  --container: 1160px;

  /* tokens neutros globais (fora das seções temáticas) */
  --bg: var(--root-black);
  --text: #F4EFE6;
  --text-dim: rgba(244, 239, 230, 0.68);
  --text-faint: rgba(244, 239, 230, 0.42);
  --border: rgba(255, 253, 192, 0.12);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  position: relative;
  background: var(--root-black);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; letter-spacing: 0.01em; margin: 0; }
p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--zambi-red); outline-offset: 3px; }

.section-inner { max-width: var(--container); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
section { position: relative; padding: 116px 0; }
@media (max-width: 720px) { section { padding: 80px 0; } }
@media (max-width: 480px) {
  section { padding: 60px 0; }
  .section-inner { padding: 0 20px; }
  .section-head { margin-bottom: 40px; }
}

/* --------------------------------------------------------------------------
   TEMAS DE SEÇÃO — base enxuta: branco, preto e bege como cores principais,
   com o vermelho escuro da marca (terra queimada) como bloco de destaque.
   O vermelho vivo, o verde broto e o marrom só aparecem em detalhes
   (ícones, números, sublinhados) — nunca como fundo de seção inteira.
   -------------------------------------------------------------------------- */
.theme-maroon  { background: linear-gradient(175deg, var(--burnt-earth), #3a0a08); color: var(--morning-light); }
.theme-maroon .eyebrow, .theme-maroon .stat-value, .theme-maroon .process-num { color: var(--morning-light); opacity: .8; }
.theme-maroon .section-subtitle, .theme-maroon .why-text, .theme-maroon p { color: rgba(255,253,192,0.72); }
.theme-maroon .stat, .theme-maroon .pillar-card, .theme-maroon .founder-card { background: rgba(255,253,192,0.06); border-color: rgba(255,253,192,0.16); }
.theme-maroon .btn-ghost { border-color: rgba(255,253,192,0.35); color: var(--morning-light); }
.theme-maroon .btn-ghost:hover { border-color: var(--morning-light); }

.theme-dark    { background: var(--root-black); color: #F2EFE6; }
.theme-dark .eyebrow { color: var(--zambi-red); }
.theme-dark .section-subtitle, .theme-dark p { color: rgba(242,239,230,0.6); }
.theme-dark .service-card, .theme-dark .process-card { background: #131110; border-color: rgba(255,255,255,0.08); }
.theme-dark .btn-ghost { border-color: rgba(255,255,255,0.22); color: #F2EFE6; }

.theme-light   { background: #FAF8F3; color: #171412; }
.theme-light .eyebrow { color: var(--burnt-earth); }
.theme-light .section-title { color: #100c0b; }
.theme-light .section-subtitle, .theme-light p, .theme-light .about-copy p { color: rgba(23,20,18,0.66); }
.theme-light .pillar-card, .theme-light .process-card, .theme-light .contact-form, .theme-light .stat, .theme-light .client-card { background: #fff; border-color: rgba(23,20,18,0.10); }
.theme-light .field input, .theme-light .field select, .theme-light .field textarea { background: #fff; border-color: rgba(23,20,18,0.16); color: #171412; }
.theme-light .field { color: rgba(23,20,18,0.55); }
.theme-light .btn-ghost { border-color: rgba(23,20,18,0.2); color: #171412; }
.theme-light .btn-ghost:hover { border-color: var(--zambi-red); color: var(--zambi-red); }
.theme-light .nav-link { color: rgba(23,20,18,0.68); }

.theme-beige   { background: var(--morning-light); color: var(--burnt-earth); }
.theme-beige .eyebrow { color: var(--zambi-red); }
.theme-beige .section-title { color: #100c0b; }
.theme-beige .section-subtitle, .theme-beige p, .theme-beige .why-text { color: rgba(89,15,12,0.72); }
.theme-beige .stat, .theme-beige .client-card { background: rgba(255,255,255,0.55); border-color: rgba(89,15,12,0.14); }
.theme-beige .client-card p { color: rgba(89,15,12,0.72); }
.theme-beige .btn-ghost { border-color: rgba(89,15,12,0.28); color: var(--burnt-earth); }
.theme-beige .btn-ghost:hover { border-color: var(--zambi-red); color: var(--zambi-red); }

/* Chips de ícone — aqui, e só aqui, o restante da paleta aparece em detalhe */
.accent-red    .pillar-icon, .accent-red    .service-icon { background: rgba(202,34,31,0.14); color: var(--zambi-red); }
.accent-green  .pillar-icon, .accent-green  .service-icon { background: rgba(185,215,161,0.22); color: #5c7a45; }
.accent-brown  .pillar-icon, .accent-brown  .service-icon { background: rgba(110,74,50,0.18); color: var(--coconut-brown); }
.theme-dark .accent-green .service-icon { color: var(--sprout-green); background: rgba(185,215,161,0.14); }
.theme-dark .accent-brown .service-icon { color: #c9a67e; background: rgba(110,74,50,0.24); }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.section-title { font-size: clamp(2rem, 4.2vw, 3rem); line-height: 1.1; }
.section-title .line { display: block; }
.section-subtitle { font-size: 1.05rem; max-width: 640px; margin-top: 16px; }
.section-head { max-width: 760px; margin-bottom: 56px; }


.ico { width: 22px; height: 22px; }
.ico.up { transform: rotate(-90deg); width: 16px; height: 16px; }

/* ---------- Textura cultural: estampa oficial e grafismo de apoio ---------- */
.hero-estampa {
  position: absolute; inset: 0;
  background-image: url('https://i.postimg.cc/bN2RRxNY/Estampa-Negativa.png');
  background-repeat: repeat; background-size: 160px 160px;
  opacity: 0.035; pointer-events: none; will-change: transform;
}
.hero-watermark {
  position: absolute; right: -4%; bottom: -12%; width: 34vw; max-width: 420px;
  opacity: 0.12; pointer-events: none; filter: drop-shadow(0 0 40px rgba(0,0,0,.4));
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 0.92rem; letter-spacing: 0.01em;
  transition: transform var(--fast) var(--ease), background var(--fast), box-shadow var(--fast), border-color var(--fast);
  white-space: nowrap;
}
.btn .ico { width: 17px; height: 17px; }
.btn-primary { background: var(--zambi-red); color: #FFFDF3; box-shadow: 0 8px 24px rgba(202,34,31,0.4); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(202,34,31,0.5); }
.btn-ghost { background: transparent; border-color: var(--border); }
.btn-ghost:hover { transform: translateY(-2px); }
.btn-small { padding: 10px 18px; font-size: 0.82rem; }
.btn-full { width: 100%; justify-content: center; }

/* ---------- Loader ---------- */
#siteLoader {
  position: fixed; inset: 0; z-index: 999; background: var(--burnt-earth);
  display: flex; align-items: center; justify-content: center;
  transition: opacity var(--slow) var(--ease), visibility var(--slow);
}
#siteLoader.loaded { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-mark { width: 72px; height: auto; animation: pulseLoader 1.1s ease-in-out infinite; }
@keyframes pulseLoader { 0%,100% { opacity: .5; transform: scale(.94);} 50% { opacity: 1; transform: scale(1);} }

/* ---------- Scroll progress ---------- */
#scrollProgress { position: fixed; top: 0; left: 0; height: 3px; width: 0%; background: linear-gradient(90deg, var(--zambi-red), var(--sprout-green)); z-index: 850; transition: width 80ms linear; }

/* ---------- Camada flutuante: pequenas marcas que viajam pela página inteira ---------- */
#floatLayer { position: absolute; top: 0; left: 0; width: 100%; overflow: hidden; pointer-events: none; z-index: 0; }
.float-shape { position: absolute; display: block; will-change: transform; filter: drop-shadow(0 3px 10px rgba(0,0,0,0.3)); }

/* ---------- Espinha de progresso: trilha vertical com o isotipo viajando (telas largas) ---------- */
#scrollSpine { position: fixed; top: 16%; bottom: 16%; right: 26px; width: 2px; z-index: 60; pointer-events: none; display: none; }
@media (min-width: 1100px) { #scrollSpine { display: block; } }
.spine-line { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent, rgba(255,253,192,0.3), transparent); border-radius: 2px; }
.spine-marker {
  position: absolute; left: 50%; top: 0; width: 20px; height: auto;
  filter: drop-shadow(0 0 8px rgba(202,34,31,0.55)); will-change: transform, top;
  animation: spineSpin 12s linear infinite;
}
@keyframes spineSpin { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }

/* ---------- Header ---------- */
#site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 800; transition: background var(--base) var(--ease), border-color var(--base); border-bottom: 1px solid transparent; }
#site-header.scrolled { background: rgba(6,6,6,0.88); backdrop-filter: blur(10px); border-color: var(--border); }
#site-header.scrolled .nav-link { color: var(--text-dim); }
.header-inner { max-width: var(--container); margin: 0 auto; padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 26px; height: auto; }
.brand-word { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: 0.02em; color: var(--morning-light); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-link { font-size: 0.9rem; color: rgba(244,239,230,0.75); position: relative; padding: 4px 0; transition: color var(--fast); }
.nav-link:hover, .nav-link.active { color: var(--morning-light); }
.nav-link.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--zambi-red); border-radius: 2px; }
.lang-switch { display: flex; align-items: center; gap: 6px; background: none; border: 1px solid var(--border); border-radius: 999px; padding: 6px 10px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; color: var(--text-faint); }
.lang-switch span { padding: 2px 4px; transition: color var(--fast); }
.lang-switch span.active { color: var(--sprout-green); }
.lang-switch .sep { color: var(--text-faint); }
.menu-btn { display: none; background: none; border: none; color: var(--morning-light); padding: 8px; }

@media (max-width: 980px) {
  .menu-btn { display: block; z-index: 810; padding: 10px; }
  .nav-links {
    position: fixed; inset: 0 0 0 auto; width: min(84vw, 360px); height: 100vh;
    background: var(--burnt-earth); flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 22px; padding: 40px; transform: translateX(100%); transition: transform var(--base) var(--ease);
    border-left: 1px solid var(--border);
  }
  body.menu-open .nav-links { transform: translateX(0); }
  .nav-cta { width: 100%; justify-content: center; margin-top: 8px; }
  .nav-links .nav-link { padding: 10px 0; font-size: 1.05rem; }
  .nav-links .lang-switch { padding: 10px 14px; }
  .nav-links .lang-switch span { padding: 4px 6px; }
}

/* ---------- Hero ---------- */
#hero { min-height: 100svh; display: flex; align-items: center; padding-top: 110px; overflow: hidden; }
.hero-glow {
  position: absolute; inset: -20% -10% auto -10%; height: 70%;
  background: radial-gradient(60% 60% at 30% 15%, rgba(202,34,31,0.35), transparent 70%),
              radial-gradient(50% 50% at 85% 5%, rgba(255,253,192,0.12), transparent 70%);
  filter: blur(10px); pointer-events: none;
}
.hero-grafismo-wrap { position: absolute; right: -8%; top: 4%; width: 44vw; max-width: 540px; pointer-events: none; will-change: transform; }
.hero-grafismo { display: block; width: 100%; height: auto; opacity: 0.4; animation: spin 70s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero-inner { position: relative; max-width: 760px; padding: 0 24px; }
body:not(.gsap-ready) .hero-inner { opacity: 0; transform: translateY(24px); transition: opacity var(--slow) var(--ease), transform var(--slow) var(--ease); }
body:not(.gsap-ready) .hero-inner.active { opacity: 1; transform: translateY(0); }
.hero-title { font-size: clamp(2.6rem, 7vw, 5rem); line-height: 1.02; margin: 18px 0 24px; color: var(--morning-light); }
.hero-line { display: block; }
body:not(.gsap-ready) .hero-line { opacity: 0; transform: translateY(18px); animation: lineIn var(--slow) var(--ease) forwards; }
body:not(.gsap-ready) .hero-inner.active .hero-line { animation-play-state: running; }
@keyframes lineIn { to { opacity: 1; transform: translateY(0); } }
.hero-line:nth-child(2) { opacity: 0.86; }
.hero-subtitle { font-size: 1.1rem; color: rgba(255,253,192,0.78); max-width: 560px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.scroll-hint { position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 1.5px solid rgba(255,253,192,0.35); border-radius: 20px; display: flex; justify-content: center; padding-top: 8px; }
.scroll-hint span { width: 4px; height: 8px; background: var(--sprout-green); border-radius: 3px; animation: hintMove 1.8s ease-in-out infinite; }
@keyframes hintMove { 0% { transform: translateY(0); opacity: 1;} 70% { transform: translateY(12px); opacity: 0;} 100% { opacity: 0; } }

/* Telas pequenas (ex.: Galaxy S23, iPhone mini) — hero mais compacto e legível */
@media (max-width: 480px) {
  #hero { padding-top: 96px; }
  .hero-inner { padding: 0 20px; max-width: 100%; }
  .hero-title { font-size: clamp(2.15rem, 9.5vw, 2.6rem); margin: 14px 0 20px; }
  .hero-subtitle { font-size: 1rem; margin-bottom: 28px; }
  .hero-actions { gap: 12px; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
  .hero-grafismo-wrap { width: 60vw; max-width: 260px; opacity: 0.7; top: -2%; right: -14%; }
  .hero-grafismo { opacity: 0.22; }
  .scroll-hint { bottom: 18px; }
}
@media (max-width: 360px) {
  .hero-title { font-size: clamp(1.95rem, 10vw, 2.3rem); }
}

/* ---------- Reveal utility ---------- */
body:not(.gsap-ready) .reveal { opacity: 0; transform: translateY(26px); transition: opacity var(--base) var(--ease), transform var(--base) var(--ease); }
body:not(.gsap-ready) .reveal.active { opacity: 1; transform: translateY(0); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.about-copy p { margin-bottom: 18px; font-size: 1.02rem; }
.about-pillars { display: grid; gap: 18px; }
.pillar-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; transition: border-color var(--fast), transform var(--fast); box-shadow: 0 10px 30px rgba(89,15,12,0.06); }
.pillar-card:hover { border-color: var(--zambi-red); transform: translateY(-3px); }
.pillar-icon { display: inline-flex; padding: 10px; border-radius: 10px; background: rgba(202,34,31,0.14); color: var(--zambi-red); margin-bottom: 12px; }
.pillar-card h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.02rem; margin-bottom: 6px; color: var(--root-black); }
.pillar-card p { font-size: 0.94rem; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }

/* ---------- Why: seção pinada com rolagem lateral (GSAP), volta ao fluxo normal ao terminar ---------- */
#porque { padding: 0; overflow: hidden; }
.why-pin { position: relative; width: 100%; overflow: hidden; padding: 116px 0; }
.why-track { display: flex; align-items: stretch; width: max-content; gap: 5vw; will-change: transform; }
.why-panel { width: min(560px, 68vw); flex: 0 0 min(560px, 68vw); display: flex; align-items: center; justify-content: center; padding: 0 24px; }
.why-panel-intro { width: min(640px, 74vw); flex-basis: min(640px, 74vw); }
.why-panel-inner { max-width: 520px; width: 100%; }
.why-panel-intro .why-panel-inner { max-width: 560px; }
.why-text { margin-top: 18px; font-size: 1.05rem; }
.why-panel-stat { text-align: center; }
.why-panel-stat .why-panel-inner.stat {
  width: min(320px, 100%); margin: 0 auto; display: flex; flex-direction: column; align-items: center;
  gap: 6px; border: 1px solid var(--border); border-radius: 22px; padding: 44px 26px;
}
.why-panel-stat .stat-value { display: block; font-family: var(--font-display); font-size: clamp(2.8rem, 7vw, 4.6rem); }
.why-panel-stat .stat-label { display: block; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; margin-top: 6px; opacity: .8; }
.stat-value { font-family: var(--font-display); }
@media (max-width: 720px) { .why-pin { padding: 80px 0; } }

/* Sem pin abaixo de 900px (GSAP não ativa o pin nessa faixa) — a trilha simplesmente empilha */
@media (max-width: 899px) {
  .why-pin { overflow: visible; }
  .why-track { flex-direction: column; width: auto; gap: 28px; transform: none !important; }
  .why-panel, .why-panel-intro { width: auto; flex: none; padding: 0 24px; }
  .why-panel-stat .why-panel-inner.stat { padding: 36px 22px; }
  .why-panel-stat .stat-value { font-size: 2.6rem; }
}

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; transition: transform var(--fast), border-color var(--fast); }
.service-card:hover { transform: translateY(-4px); border-color: var(--zambi-red); }
.service-icon { display: inline-flex; padding: 10px; border-radius: 10px; background: rgba(185,215,161,0.14); color: var(--sprout-green); margin-bottom: 14px; }
.service-card h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.02rem; margin-bottom: 8px; }
.service-card p { font-size: 0.92rem; }
.services-cta { margin-top: 46px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; padding: 28px 32px; border-radius: var(--radius); border: 1px solid var(--border); border-left: 3px solid var(--zambi-red); }
.theme-light .services-cta { background: #fff; }
.theme-dark .services-cta { background: #131110; }
.services-cta p { font-size: 1.05rem; }
@media (max-width: 980px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .services-grid { grid-template-columns: 1fr; } }

/* ---------- Process ---------- */
.process-grid { display: flex; align-items: stretch; gap: 18px; flex-wrap: wrap; }
.process-card { flex: 1 1 240px; border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 26px; }
.process-num { font-family: var(--font-display); font-size: 1.7rem; color: var(--zambi-red); }
.process-card h3 { margin: 10px 0 8px; font-size: 1.2rem; font-family: var(--font-body); font-weight: 700; }
.process-card p { font-size: 0.94rem; }
.process-arrow { display: flex; align-items: center; opacity: .5; }
@media (max-width: 900px) { .process-arrow { transform: rotate(90deg); align-self: center; } .process-grid { flex-direction: column; } }

/* ---------- Clients carousel ---------- */
#clientes { overflow: hidden; }
.clients-track-wrap { overflow: hidden; mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent); }
.clients-track { display: flex; gap: 24px; width: max-content; will-change: transform; }
.client-card { flex: 0 0 auto; width: 320px; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; overflow: hidden; }
.client-photo-frame { border-radius: 12px; overflow: hidden; margin-bottom: 18px; aspect-ratio: 4/3; }
.client-photo-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--slow) var(--ease); }
.client-card:hover .client-photo-frame img { transform: scale(1.06); }
.client-card h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.1rem; margin-bottom: 6px; }
.client-card p { font-size: 0.9rem; }
.client-more {
  margin-top: 14px; display: inline-flex; align-items: center; gap: 6px; background: none; border: none;
  padding: 0; font-family: var(--font-body); font-weight: 600; font-size: 0.85rem; color: var(--zambi-red); cursor: pointer;
}
.client-more .ico { width: 15px; height: 15px; transition: transform var(--fast) var(--ease); }
.client-more:hover .ico { transform: translateX(3px); }

/* ---------- Client modal — revelação "de caso", com a estampa da marca ---------- */
.client-modal-overlay {
  position: fixed; inset: 0; z-index: 900; display: flex; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; visibility: hidden; transition: opacity var(--base) var(--ease), visibility var(--base);
}
.client-modal-overlay.open { opacity: 1; visibility: visible; }
body.modal-open { overflow: hidden; }
.client-modal-backdrop { position: absolute; inset: 0; background: rgba(6,6,6,0.72); backdrop-filter: blur(6px); }
.client-modal {
  position: relative; width: min(880px, 100%); max-height: 88vh; overflow-y: auto;
  display: grid; grid-template-columns: 0.9fr 1.1fr; background: linear-gradient(175deg, var(--burnt-earth), #300706);
  color: var(--morning-light); border-radius: 22px; box-shadow: 0 40px 90px rgba(0,0,0,0.5);
  transform: translateY(36px) scale(0.97); opacity: 0; transition: transform var(--slow) var(--ease), opacity var(--slow) var(--ease);
}
.client-modal-overlay.open .client-modal { transform: translateY(0) scale(1); opacity: 1; }
.client-modal-estampa {
  position: absolute; inset: 0; pointer-events: none; border-radius: 22px; overflow: hidden;
  background-image: url('https://i.postimg.cc/bN2RRxNY/Estampa-Negativa.png');
  background-repeat: repeat; background-size: 130px 130px; opacity: 0.05;
}
.client-modal-close {
  position: absolute; top: 16px; right: 16px; z-index: 2; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,253,192,0.12); border: 1px solid rgba(255,253,192,0.25); color: var(--morning-light);
  display: flex; align-items: center; justify-content: center; transition: background var(--fast), transform var(--fast);
}
.client-modal-close:hover { background: var(--zambi-red); border-color: var(--zambi-red); transform: rotate(90deg); }
.client-modal-media { position: relative; z-index: 1; min-height: 220px; }
.client-modal-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.client-modal-body { position: relative; z-index: 1; padding: 40px 38px; display: flex; flex-direction: column; gap: 6px; }
.client-modal-body .eyebrow { color: var(--zambi-red); margin-bottom: 2px; }
.client-modal-body h3 { font-size: 1.9rem; margin-bottom: 6px; }
.client-modal-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 16px; }
.client-modal-tags .tag { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.03em; padding: 6px 12px; border-radius: 999px; background: rgba(255,253,192,0.1); }
.client-modal-tags .tag.accent-red { color: #ff8b83; background: rgba(202,34,31,0.22); }
.client-modal-tags .tag.accent-green { color: var(--sprout-green); background: rgba(185,215,161,0.18); }
.client-modal-tags .tag.accent-brown { color: #d9b592; background: rgba(110,74,50,0.28); }
.client-modal-text { color: rgba(255,253,192,0.82); font-size: 1rem; line-height: 1.65; margin-bottom: 26px; }
.client-modal-body .btn { align-self: flex-start; }
@media (max-width: 720px) {
  .client-modal { grid-template-columns: 1fr; max-height: 92vh; }
  .client-modal-media { min-height: 200px; }
  .client-modal-body { padding: 28px 24px 32px; }
}


/* ---------- Founders — fotos grandes e protagonistas ---------- */
.founders-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 680px; margin: 0 auto; }
.founder-card { border-radius: 18px; overflow: hidden; border: 1px solid var(--border); background: rgba(6,6,6,0.18); perspective: 700px; }
.founder-photo-frame { position: relative; display: block; aspect-ratio: 3/4; overflow: hidden; transform-style: preserve-3d; will-change: transform; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.founder-photo-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--slow) var(--ease); }
.founder-card:hover .founder-photo-frame img, .founder-photo-frame:active img { transform: scale(1.04); }
.founder-ig-badge {
  position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: var(--morning-light);
  background: rgba(6,6,6,0.42); backdrop-filter: blur(3px); border: 1px solid rgba(255,253,192,0.3);
  opacity: 0; transform: translateY(-6px) scale(0.9);
  transition: opacity var(--fast) var(--ease), transform var(--fast) var(--ease), background var(--fast);
}
.founder-ig-badge .ico { width: 18px; height: 18px; }
.founder-card:hover .founder-ig-badge { opacity: 1; transform: translateY(0) scale(1); }
.founder-photo-frame:focus-visible .founder-ig-badge,
.founder-photo-frame:active .founder-ig-badge { opacity: 1; transform: translateY(0) scale(1); background: var(--zambi-red); border-color: var(--zambi-red); }
/* telas sem hover (touch): badge sempre visível, discreta — é a única pista de que a foto é clicável */
@media (hover: none) {
  .founder-ig-badge { opacity: 0.92; transform: translateY(0) scale(1); }
}
.founder-info { padding: 20px 22px 24px; }
.founder-card h3 { font-size: 1.25rem; margin-bottom: 4px; color: var(--morning-light); }
@media (max-width: 720px) { .founders-grid { grid-template-columns: 1fr; max-width: 320px; } }
.founder-role { color: var(--sprout-green); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 9px; }
.founder-text { font-size: 0.9rem; }
@media (max-width: 720px) { .founders-grid { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-direct { margin-top: 30px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.contact-direct span { font-size: 0.94rem; }
.contact-form { border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; display: grid; gap: 18px; box-shadow: 0 20px 50px rgba(89,15,12,0.08); }
.field { display: grid; gap: 8px; font-size: 0.86rem; }
.field input, .field select, .field textarea {
  font-family: var(--font-body); border: 1px solid var(--border); border-radius: 10px;
  padding: 13px 14px; font-size: 16px; transition: border-color var(--fast);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--zambi-red); }
.field textarea { resize: vertical; }
.field-note { font-size: 0.8rem; opacity: .65; transition: color var(--fast); }
.field-note.error { color: var(--zambi-red); opacity: 1; font-weight: 600; }
@media (max-width: 900px) { .contact-inner { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
#site-footer { padding: 54px 0; border-top: 1px solid var(--border); }
.footer-inner { max-width: var(--container); margin: 0 auto; padding: 0 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-logo { height: 34px; width: auto; }
.footer-brand span { color: var(--text-faint); font-size: 0.8rem; }
.footer-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-nav a { color: var(--text-dim); font-size: 0.86rem; }
.footer-nav a:hover { color: var(--text); }
.footer-meta { display: flex; align-items: center; gap: 18px; font-size: 0.8rem; color: var(--text-faint); flex-wrap: wrap; }
.back-to-top { display: inline-flex; align-items: center; gap: 6px; color: var(--text-dim); }
.back-to-top:hover { color: var(--sprout-green); }

/* --------------------------------------------------------------------------
   TELAS PEQUENAS — ajuste dedicado para smartphones compactos (largura até
   480px, cobrindo aparelhos como Galaxy S23, iPhone 12/13 mini etc.)
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  /* Header */
  .header-inner { padding: 14px 18px; }
  .brand-word { font-size: 1.3rem; }
  .brand-mark { width: 22px; }
  .nav-links { width: min(88vw, 320px); padding: 32px 28px; }

  /* Botões — alvo de toque confortável, sem exagero de padding lateral */
  .btn { padding: 14px 22px; font-size: 0.9rem; }
  .btn-primary:active, .btn-ghost:active { transform: scale(0.97); }

  /* About */
  .about-copy p { font-size: 0.96rem; }
  .pillar-card { padding: 20px; }

  /* Why pin (empilhado) */
  .why-panel, .why-panel-intro { padding: 0 20px; }
  .why-panel-stat .why-panel-inner.stat { padding: 30px 20px; }

  /* Services */
  .service-card { padding: 22px; }
  .services-cta { padding: 22px; flex-direction: column; align-items: flex-start; }

  /* Process */
  .process-card { padding: 26px 20px; }

  /* Clients carousel — cards um pouco menores para caber com folga */
  .client-card { width: min(78vw, 300px); padding: 16px; }

  /* Founders */
  .founders-grid { max-width: 280px; gap: 20px; }
  .founder-info { padding: 16px 18px 20px; }
  .founder-card h3 { font-size: 1.12rem; }
  .founder-ig-badge { width: 34px; height: 34px; top: 10px; right: 10px; }

  /* Contact */
  .contact-form { padding: 24px 20px; }
  .contact-direct { gap: 12px; }

  /* Footer */
  .footer-inner { padding: 0 20px; flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer-nav { gap: 14px 20px; }

  /* Camada decorativa flutuante e grafismos de fundo — reduzidos para não
     competir com o conteúdo em telas pequenas, e para poupar performance */
  .float-shape { transform: scale(0.7); }
  .hero-estampa, .client-modal-estampa { opacity: 0.02; }
}

/* Abaixo de 640px a camada flutuante de marcas soma pouco valor visual e
   custa scroll-linked animation em telas menores/menos potentes — remove. */
@media (max-width: 640px) {
  #floatLayer { display: none; }
}

/* ---------- Misc ---------- */
::selection { background: var(--zambi-red); color: #fff; }
@supports (padding: max(0px)) {
  .header-inner { padding-left: max(24px, env(safe-area-inset-left)); padding-right: max(24px, env(safe-area-inset-right)); }
  .footer-inner { padding-left: max(24px, env(safe-area-inset-left)); padding-right: max(24px, env(safe-area-inset-right)); }
}