/* ==========================================================================
   EOD Automação | Folha de estilos
   Papel quente + azul da marca + toques manuscritos.
   ========================================================================== */

/* 1. FONTES */
@font-face { font-family: 'Inter'; src: url('../assets/fonts/inter_latin_variable-s.p.0gsaq8ukbf34m.woff2') format('woff2'); font-display: swap; font-weight: 100 900; font-style: normal; }
@font-face { font-family: 'Fraunces'; src: url('../assets/fonts/fraunces-500.ttf') format('truetype'); font-display: swap; font-weight: 500; font-style: normal; }
@font-face { font-family: 'Fraunces'; src: url('../assets/fonts/fraunces-600.ttf') format('truetype'); font-display: swap; font-weight: 600; font-style: normal; }
@font-face { font-family: 'Caveat'; src: url('../assets/fonts/caveat-600.ttf') format('truetype'); font-display: swap; font-weight: 600; font-style: normal; }

/* 2. TOKENS */
:root {
  --ink: #12151f;
  --ink-soft: #4a4f60;
  --paper: #f5f1e8;
  --paper-2: #ebe5d6;
  --white: #fffdf8;
  --navy: #00162f;
  --navy-2: #0a2246;
  --blue: #1f5eff;
  --blue-dark: #1748cc;
  --amber: #e39a2d;
  --line: rgba(18, 21, 31, 0.14);
  --line-light: rgba(255, 255, 255, 0.16);
  --whatsapp: #1fa855;

  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --hand: 'Caveat', 'Segoe Script', cursive;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-height: 68px;
}

/* 3. BASE */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  font-family: var(--sans);
  line-height: 1.6;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  background: var(--paper);
  color: var(--ink);
}

html, body { width: 100%; overflow-x: clip; }

body {
  font-family: var(--sans);
  font-size: 1rem;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; touch-action: manipulation; }
button { background: none; border: none; font: inherit; color: inherit; cursor: pointer; touch-action: manipulation; }
ul, ol { list-style: none; }

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

::selection { background: rgba(31, 94, 255, 0.22); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0;
}
.sr-only:focus {
  position: fixed; top: 1rem; left: 1rem; z-index: 9999; width: auto; height: auto;
  padding: 0.75rem 1.25rem; background: var(--blue); color: #fff; border-radius: 0.5rem;
  font-weight: 600; clip: auto; overflow: visible;
}
.hidden { display: none !important; }

.shell {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}
@media (min-width: 768px) { .shell { padding-inline: 2rem; } }

/* 4. TIPOGRAFIA E CABEÇALHOS CENTRALIZADOS */

.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.75rem, 3.6vw, 2.65rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  max-width: 24ch;
}

.section-lead {
  margin-top: 1rem;
  max-width: 58ch;
  font-size: 1.0625rem;
  color: var(--ink-soft);
}

.section-head-center {
  text-align: center;
  max-width: 52rem;
  margin-inline: auto;
}
.section-head-center .section-title,
.section-head-center .intro-title {
  margin-inline: auto;
  max-width: 26ch;
}
.section-head-center .section-lead,
.section-head-center .intro-text,
.section-head-center .solutions-lead,
.section-head-center .systems-lead {
  margin-top: 1rem;
  margin-inline: auto;
  max-width: 62ch;
}

/* 5. BOTÕES */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.4rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.2;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s;
  text-align: center;
}
.btn-sm { padding: 0.6rem 1.1rem; font-size: 0.8125rem; }
.btn-lg { padding: 1rem 1.7rem; font-size: 1rem; }

.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 18px -8px rgba(31, 94, 255, 0.7); }
.btn-primary::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: var(--blue-dark);
  transform: translateY(101%);
  transition: transform 0.35s var(--ease);
}
.btn-primary:hover::before { transform: translateY(0); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(31, 94, 255, 0.8); }

.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { transform: translateY(-2px); background: #fff; }

.btn:active { transform: scale(0.98); }
.btn .arrow { transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.text-link {
  position: relative;
  font-weight: 600;
  padding-block: 0.25rem;
}
.text-link::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--ink);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.text-link:hover::after { transform: scaleX(0.35); }

/* 6. PROGRESSO + HEADER */
.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60;
  background: var(--amber);
  transform-origin: left;
  transform: scaleX(var(--scroll, 0));
}

.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: box-shadow 0.3s;
}
.site-header[data-scrolled="true"] { box-shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.6); }

.site-header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  height: var(--header-height);
}
@media (min-width: 900px) {
  .site-header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.5rem;
  }
}
.site-logo-link { display: flex; align-items: center; flex-shrink: 0; justify-self: start; }
.site-logo-link img { height: 52px; width: auto; }

.site-nav-desktop { display: none; align-items: center; justify-content: center; gap: 0.25rem; justify-self: center; }
@media (min-width: 900px) { .site-nav-desktop { display: flex; } }

.site-nav-link {
  position: relative;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  padding: 0.5rem 0.85rem;
  white-space: nowrap;
  transition: color 0.2s;
}
.site-nav-link::after {
  content: '';
  position: absolute; left: 0.85rem; right: 0.85rem; bottom: 0.25rem; height: 2px;
  background: var(--amber);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.site-nav-link:hover { color: #fff; }
.site-nav-link:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 0.6rem; justify-self: end; flex-shrink: 0; }
.header-actions a { white-space: nowrap; }
.header-ig-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.9rem;
  border-radius: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  transition: background-color 0.25s, border-color 0.25s, color 0.25s, transform 0.25s var(--ease);
}
.header-ig-btn svg { color: var(--amber); flex-shrink: 0; }
.header-ig-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  transform: translateY(-1px);
}
@media (max-width: 1120px) {
  .header-ig-btn span { display: none; }
  .header-ig-btn { padding: 0.55rem; }
}
.header-cta-btn { display: none; }
@media (min-width: 640px) { .header-cta-btn { display: inline-flex; } }

.mobile-nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.5rem; border-radius: 0.375rem; color: #fff;
}
@media (min-width: 900px) { .mobile-nav-toggle { display: none; } }

#mobile-menu {
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1.25rem 1.5rem;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  max-height: calc(100vh - var(--header-height));
  overflow-y: auto;
}
#mobile-menu nav { display: flex; flex-direction: column; }
#mobile-menu.menu-closed { opacity: 0; pointer-events: none; transform: translateY(-8px); visibility: hidden; }
#mobile-menu.menu-open { opacity: 1; pointer-events: auto; transform: none; visibility: visible; }

.mobile-nav-item {
  display: block; padding: 0.9rem 0.25rem; font-size: 1.0625rem; font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.mobile-menu-cta { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 0.6rem; }
.mobile-menu-cta span { text-align: center; font-size: 0.8125rem; color: rgba(255, 255, 255, 0.6); }
.btn-mobile-ig {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-mobile-ig svg { color: var(--amber); }

/* 7. ESTADOS INICIAIS DAS ANIMAÇÕES (só com JS) */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s var(--ease) var(--d, 0s), transform 0.65s var(--ease) var(--d, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* 8. HERO */
.hero {
  padding-top: calc(var(--header-height) + 3rem);
  padding-bottom: 4.5rem;
  background:
    radial-gradient(circle at 12% 18%, rgba(227, 154, 45, 0.12), transparent 40%),
    var(--paper);
}
@media (min-width: 1024px) { .hero { padding-top: calc(var(--header-height) + 4.5rem); padding-bottom: 5.5rem; } }

.hero-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1.02fr 0.98fr; gap: 3.5rem; } }

.hero-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.35rem, 5.8vw, 4.15rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.hero-title .line > span { display: inline-block; }
.js .hero-title .line > span {
  transform: translateY(110%);
  animation: lineUp 0.9s var(--ease) forwards;
}
.js .hero-title .line:nth-child(1) > span { animation-delay: 0.05s; }
.js .hero-title .line:nth-child(2) > span { animation-delay: 0.15s; }
.js .hero-title .line:nth-child(3) > span { animation-delay: 0.25s; }
@keyframes lineUp { to { transform: none; } }

.marked { position: relative; display: inline-block; white-space: nowrap; }
.mark-svg {
  position: absolute; left: -2%; width: 104%; bottom: -0.12em; height: 0.2em;
  overflow: visible;
}
.mark-svg path {
  fill: none; stroke: var(--amber); stroke-width: 5; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 0;
}
.js .mark-svg path { stroke-dashoffset: 1; animation: draw 0.8s 0.7s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero-desc { margin-top: 1.75rem; max-width: 34rem; font-size: 1.125rem; line-height: 1.68; color: var(--ink-soft); }
.hero-actions { margin-top: 1.85rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 1.75rem; }
.hero-note { margin-top: 1.25rem; font-size: 0.875rem; color: var(--ink-soft); }

/* Quadros do hero alinhados sem rotação torta */
.hero-visual { position: relative; min-height: 360px; padding-bottom: 3.25rem; }
@media (min-width: 640px) { .hero-visual { min-height: 450px; } }

.frame {
  position: relative;
  background: var(--navy);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 28px 48px -24px rgba(0, 22, 47, 0.5), 0 1px 0 rgba(255, 255, 255, 0.35) inset;
}
.frame img { width: 100%; height: auto; display: block; }

.frame-bar {
  display: flex; align-items: center; gap: 0.35rem;
  padding: 0.55rem 0.8rem; background: #071d3d;
}
.frame-bar span { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: rgba(255, 255, 255, 0.25); }
.frame-bar em {
  margin-left: 0.65rem; font-style: normal; font-size: 0.6875rem; letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.65); background: rgba(255, 255, 255, 0.08);
  padding: 0.15rem 0.7rem; border-radius: 999px;
}

.frame-main {
  width: 86%;
  margin-left: auto;
  transform: translate(calc(var(--mx, 0) * var(--depth, 0px)), calc(var(--my, 0) * var(--depth, 0px)));
}
.frame-second {
  position: absolute; left: 0; bottom: 0.25rem; width: 54%;
  border: 4px solid var(--paper);
  transform: translate(calc(var(--mx, 0) * var(--depth, 0px)), calc(var(--my, 0) * var(--depth, 0px)));
}
.frame-second img { width: calc(100% + 8px); max-width: none; }
.hero-visual [data-depth] { --depth: 0px; }

.handnote {
  position: absolute; right: 1%; bottom: 0;
  display: flex; align-items: flex-start; gap: 0.4rem;
  font-family: var(--hand); font-size: 1.35rem; line-height: 1.08; color: var(--ink);
}
.handnote svg { width: 3.1rem; flex-shrink: 0; align-self: flex-end; margin-bottom: 0.45rem; }
.handnote path { fill: none; stroke: var(--ink); stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; }

@media (max-width: 639px) {
  .handnote { font-size: 1.15rem; right: 0; }
}

/* 9. PONTO DE PARTIDA + CONEXÃO GOOGLE / INSTAGRAM / SITE / WHATSAPP */
.intro { padding-block: 4.5rem 5.5rem; border-top: 1px solid var(--line); }
@media (min-width: 1024px) { .intro { padding-block: 6rem 6.5rem; } }

.intro-title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.75rem, 3.5vw, 2.55rem); line-height: 1.18; letter-spacing: -0.015em;
}
.intro-text { font-size: 1.0625rem; color: var(--ink-soft); line-height: 1.68; }

/* Hub animado: Google Meu Negócio + Instagram -> Site -> WhatsApp */
.connect-hub {
  margin-top: 3rem;
  padding: 1.5rem;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 1rem;
  display: grid;
  gap: 1.25rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .connect-hub {
    padding: 2.25rem 2rem;
    grid-template-columns: 1fr 56px 1.15fr 56px 1fr;
    gap: 0;
  }
}

.connect-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.connect-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 1.15rem 1.25rem;
  box-shadow: 0 10px 24px -18px rgba(0, 22, 47, 0.25);
}
.connect-card-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.connect-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.6rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.icon-google { background: rgba(31, 94, 255, 0.12); color: var(--blue); }
.icon-insta { background: rgba(227, 154, 45, 0.18); color: #b87314; }
.icon-wa { background: rgba(31, 168, 85, 0.14); color: var(--whatsapp); }

.connect-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--paper-2);
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
}
.badge-green {
  background: rgba(31, 168, 85, 0.14);
  color: #157a3c;
}
.connect-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.15rem;
  line-height: 1.2;
  margin-top: 0.15rem;
}
.connect-card p {
  margin-top: 0.65rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

/* Cabos de conexão animados (visíveis em telas grandes) */
.connect-wires {
  display: none;
  height: 220px;
  width: 100%;
}
@media (min-width: 1024px) {
  .connect-wires { display: block; }
}
.connect-wires svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.wire-base {
  fill: none;
  stroke: rgba(18, 21, 31, 0.18);
  stroke-width: 2;
  stroke-dasharray: 4 4;
}
.wire-pulse {
  fill: none;
  stroke: var(--blue);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 0.22 0.78;
  stroke-dashoffset: 1;
  animation: wireFlow 2.8s linear infinite;
}
.wire-pulse-2 {
  stroke: var(--amber);
  animation-delay: -1.4s;
}
.wire-pulse-3 {
  stroke: var(--whatsapp);
  animation-delay: -0.7s;
}
@keyframes wireFlow {
  from { stroke-dashoffset: 1; }
  to { stroke-dashoffset: 0; }
}

/* Janela central: O site da empresa */
.connect-site-window {
  background: var(--navy);
  color: #fff;
  border-radius: 0.85rem;
  overflow: hidden;
  border: 2px solid rgba(31, 94, 255, 0.45);
  box-shadow: 0 24px 48px -24px rgba(0, 22, 47, 0.65);
}
.connect-site-body {
  padding: 1.35rem 1.4rem 1.45rem;
}
.site-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(227, 154, 45, 0.2);
  color: var(--amber);
  padding: 0.18rem 0.65rem;
  border-radius: 999px;
}
.connect-site-body h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.35rem;
  margin-top: 0.5rem;
}
.connect-site-body > p {
  margin-top: 0.4rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.45;
}
.site-checklist {
  margin-top: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  border-top: 1px solid var(--line-light);
  padding-top: 0.85rem;
}
.site-checklist li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.825rem;
  color: rgba(255, 255, 255, 0.9);
}
.site-checklist li span {
  color: var(--amber);
  font-weight: 700;
}

.dest-card {
  border-color: rgba(31, 168, 85, 0.35);
}
.wa-preview {
  margin-top: 0.85rem;
  padding: 0.65rem 0.8rem;
  background: rgba(31, 168, 85, 0.08);
  border: 1px solid rgba(31, 168, 85, 0.25);
  border-radius: 0.55rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--ink);
  font-weight: 500;
}
.wa-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--whatsapp);
  margin-top: 0.3rem;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(31, 168, 85, 0.2);
}

/* 3 cartões simétricos abaixo do hub */
.intro-points {
  margin-top: 2rem;
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 900px) {
  .intro-points {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}
.intro-points li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 1.6rem 1.65rem;
  display: flex;
  flex-direction: column;
}
.point-num {
  font-family: var(--serif);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--amber);
  margin-bottom: 0.4rem;
}
.intro-points h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.25;
}
.intro-points p {
  margin-top: 0.65rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* 10. SOLUÇÕES */
.solutions { background: var(--navy); color: #fff; padding-block: 5rem; position: relative; }
@media (min-width: 1024px) { .solutions { padding-block: 6.5rem; } }

.solutions-lead { color: rgba(255, 255, 255, 0.78); font-size: 1.0625rem; }

.offer-grid { margin-top: 3rem; display: grid; gap: 1.5rem; }
@media (min-width: 800px) { .offer-grid { grid-template-columns: 1fr 1fr; gap: 1.75rem; } }

.offer {
  display: flex; flex-direction: column; gap: 1.15rem;
  padding: 2rem;
  background: var(--navy-2);
  border: 1px solid var(--line-light);
  border-radius: 0.75rem;
  transition: transform 0.35s var(--ease), border-color 0.3s;
}
.offer:hover { transform: translateY(-4px); border-color: rgba(227, 154, 45, 0.6); }
.offer h3 { font-family: var(--serif); font-weight: 500; font-size: 1.8rem; margin-top: 0.25rem; letter-spacing: -0.01em; }
.offer-tag { font-size: 0.875rem; color: var(--amber); font-weight: 500; }
.offer p { color: rgba(255, 255, 255, 0.82); }
.offer-detail {
  margin-top: auto; padding-top: 1.25rem; border-top: 1px solid var(--line-light);
  display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.9rem;
}
.offer-detail svg { flex-shrink: 0; margin-top: 0.2rem; color: var(--amber); }

.proposal {
  margin-top: 1.75rem; padding: 1.75rem 2rem;
  border: 1px dashed rgba(255, 255, 255, 0.3); border-radius: 0.75rem;
  display: flex; flex-direction: column; gap: 1.25rem; align-items: flex-start;
}
@media (min-width: 800px) { .proposal { flex-direction: row; align-items: center; justify-content: space-between; } }
.proposal-title { font-family: var(--serif); font-size: 1.25rem; line-height: 1.35; max-width: 44ch; }
.proposal-sub { margin-top: 0.35rem; font-size: 0.875rem; color: rgba(255, 255, 255, 0.65); }

/* 11. PROJETOS (grade simétrica de 3 colunas) */
.projects { padding-block: 5rem 5.5rem; }
@media (min-width: 1024px) { .projects { padding-block: 6.5rem 7rem; } }
.projects-head { margin-bottom: 3rem; }

.projects-grid {
  display: grid;
  gap: 1.75rem;
}
@media (min-width: 960px) {
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    align-items: stretch;
  }
}

.project-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 18px 36px -24px rgba(0, 22, 47, 0.35);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 48px -24px rgba(0, 22, 47, 0.5);
}

.project-media { width: 100%; }
.project-shot {
  position: relative; display: block; width: 100%; text-align: left;
  background: var(--navy); overflow: hidden;
}
.project-shot img {
  width: calc(100% + 10px);
  max-width: none;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
  transition: transform 0.6s var(--ease);
}
.project-card:hover .project-shot img { transform: scale(1.03); }

.zoom-hint {
  position: absolute; right: 0.85rem; bottom: 0.85rem;
  background: var(--white); color: var(--navy);
  padding: 0.35rem 0.75rem; border-radius: 999px; font-size: 0.75rem; font-weight: 600;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

.project-info {
  padding: 1.4rem 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.project-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem;
  font-size: 0.825rem; font-weight: 500; color: var(--ink-soft);
}
.project-index {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--amber);
}
.tag-pill {
  margin-left: auto;
  font-weight: 500; font-size: 0.75rem;
  background: var(--paper-2); color: var(--ink-soft); padding: 0.15rem 0.6rem; border-radius: 999px;
}
.project-info h3 {
  margin-top: 0.65rem;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.45rem;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.project-info p {
  margin-top: 0.6rem;
  color: var(--ink-soft);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.ig-callout {
  margin-top: 2rem;
  padding: 1.5rem 1.75rem;
  border-radius: 0.75rem;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px -18px rgba(18, 21, 31, 0.12);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .ig-callout {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 1.65rem 2rem;
  }
}
.ig-callout-info {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
@media (min-width: 640px) {
  .ig-callout-info { align-items: center; }
}
.ig-callout-icon {
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 0.65rem;
  background: rgba(214, 41, 118, 0.1);
  border: 1px solid rgba(214, 41, 118, 0.24);
  color: #c72b6f;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.ig-callout-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.2rem;
  line-height: 1.25;
  color: var(--ink);
}
.ig-callout-sub {
  margin-top: 0.2rem;
  font-size: 0.925rem;
  color: var(--ink-soft);
  max-width: 58ch;
}
.ig-callout-sub strong { color: var(--ink); font-weight: 600; }
.ig-callout .btn { flex-shrink: 0; }

/* 12. COMO FUNCIONA */
.process { background: var(--paper-2); padding-block: 5rem; }
@media (min-width: 1024px) { .process { padding-block: 6.5rem; } }
.process-grid { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 1024px) { .process-grid { grid-template-columns: 0.95fr 1.05fr; gap: 4.5rem; } .process-head { position: sticky; top: calc(var(--header-height) + 2rem); } }

.steps { position: relative; padding-left: 2.75rem; display: flex; flex-direction: column; gap: 2.25rem; }
.steps::before, .steps::after { content: ''; position: absolute; left: 0.6875rem; top: 0.5rem; width: 2px; }
.steps::before { bottom: 0.5rem; background: var(--line); }
.steps::after { height: calc(100% - 1rem); background: var(--amber); transform-origin: top; transform: scaleY(var(--p, 0)); }
.steps li { position: relative; }
.step-dot {
  position: absolute; left: -2.75rem; top: 0.35rem;
  width: 1.4rem; height: 1.4rem; border-radius: 50%;
  background: var(--paper-2); border: 2px solid var(--line);
  transition: background-color 0.4s, border-color 0.4s, transform 0.4s var(--ease);
}
.steps li.is-in .step-dot { background: var(--amber); border-color: var(--amber); transform: scale(1.08); }
.steps h3 { font-family: var(--serif); font-weight: 500; font-size: 1.45rem; line-height: 1.2; letter-spacing: -0.01em; }
.steps li p { margin-top: 0.5rem; color: var(--ink-soft); max-width: 48ch; }

/* 13. COMPLEMENTARES (grade 2x2 simétrica) */
.extras { padding-block: 5rem 4rem; }
@media (min-width: 1024px) { .extras { padding-block: 6.5rem 5rem; } }
.extras-list {
  margin-top: 2.75rem;
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .extras-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}
.extras-list li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.extras-list li:hover { transform: translateY(-3px); border-color: rgba(227, 154, 45, 0.6); }
.extras-list h3 { font-family: var(--serif); font-weight: 500; font-size: 1.35rem; }
.extras-list p { color: var(--ink-soft); font-size: 0.95rem; }
.extras-foot { margin-top: 1.5rem; font-size: 0.875rem; color: var(--ink-soft); text-align: center; }

/* 14. SOBRE + FAQ */
.about { padding-block: 3rem 6rem; }
@media (min-width: 1024px) { .about { padding-block: 4rem 7rem; } }
.about-grid { display: grid; gap: 3.5rem; border-top: 1px solid var(--line); padding-top: 4rem; align-items: start; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 0.95fr 1.05fr; gap: 4.5rem; } .about-copy { position: sticky; top: calc(var(--header-height) + 2rem); } }

.about-copy > p:not(.eyebrow) { margin-top: 1.25rem; color: var(--ink-soft); max-width: 46ch; font-size: 1.0625rem; }
.about-copy .about-highlight { color: var(--ink); font-family: var(--serif); font-size: 1.25rem; line-height: 1.45; padding-left: 1.1rem; border-left: 3px solid var(--amber); }
.signature { font-family: var(--hand) !important; font-size: 2rem !important; color: var(--ink) !important; display: inline-block; }

.faq-title { font-family: var(--serif); font-weight: 500; font-size: 1.6rem; margin-bottom: 1rem; }
details.faq-item { border-bottom: 1px solid var(--line); }
details.faq-item:first-of-type { border-top: 1px solid var(--line); }
details.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.2rem 0; font-weight: 600; font-size: 1.05rem; transition: color 0.2s;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary:hover { color: var(--blue-dark); }
.chevron-icon { position: relative; width: 1.1rem; height: 1.1rem; flex-shrink: 0; }
.chevron-icon::before, .chevron-icon::after {
  content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px;
  background: currentColor; border-radius: 2px; transition: transform 0.35s var(--ease);
}
.chevron-icon::after { transform: rotate(90deg); }
details.faq-item[open] .chevron-icon::after { transform: rotate(0deg); }
details.faq-item[open] summary { color: var(--blue-dark); }
.faq-answer { padding: 0 2rem 1.4rem 0; color: var(--ink-soft); max-width: 54ch; animation: faqIn 0.45s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* 15. CTA FINAL + PALCO DE TRANSFORMAÇÃO */
.final {
  background:
    radial-gradient(circle at 82% 24%, rgba(31, 94, 255, 0.2), transparent 45%),
    radial-gradient(circle at 14% 85%, rgba(227, 154, 45, 0.12), transparent 42%),
    var(--navy);
  color: #fff;
  padding-block: 5.5rem 6rem;
  position: relative;
  overflow: hidden;
}
@media (min-width: 1024px) { .final { padding-block: 7.5rem 8rem; } }

.final-grid {
  display: grid;
  gap: 3.5rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .final-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 4rem;
  }
}

.final-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.85rem, 3.6vw, 2.65rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
  max-width: 24ch;
}
.final-text {
  margin-top: 1.15rem;
  max-width: 54ch;
  font-size: 1.03rem;
  line-height: 1.62;
  color: rgba(255, 255, 255, 0.82);
}

.final-gains {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  border-top: 1px solid var(--line-light);
  padding-top: 1.35rem;
}
.final-gains li {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}
.gain-check {
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: rgba(227, 154, 45, 0.16);
  border: 1px solid rgba(227, 154, 45, 0.55);
  color: var(--amber);
  font-weight: 700;
  font-size: 0.85rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 0.15rem;
}
.final-gains strong {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.12rem;
  color: #fff;
}
.final-gains p {
  margin-top: 0.15rem;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.74);
  max-width: 48ch;
}

.final-actions {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}
.btn-amber {
  background: var(--amber);
  color: #12151f;
  box-shadow: 0 10px 26px -8px rgba(227, 154, 45, 0.65);
}
.btn-amber::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #f0ae46;
  transform: translateY(101%);
  transition: transform 0.35s var(--ease);
}
.btn-amber:hover::before { transform: translateY(0); }
.btn-amber:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -8px rgba(227, 154, 45, 0.8);
}

.btn-ig-dark {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.24);
}
.btn-ig-dark svg { color: var(--amber); }
.btn-ig-dark:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-2px);
}

.handwritten { font-family: var(--hand); font-size: 1.5rem; color: var(--amber); display: inline-block; }
.final-sub { margin-top: 1rem; font-size: 0.875rem; color: rgba(255, 255, 255, 0.68); }
.final-sub strong { color: #fff; font-weight: 600; }

/* Palco animado de antes e depois (empilhado em 3 faixas sem sobreposição) */
.story-card {
  background: var(--navy-2);
  border: 1px solid var(--line-light);
  border-radius: 0.9rem;
  padding: 1.25rem;
  box-shadow: 0 32px 64px -28px rgba(0, 0, 0, 0.75);
}
@media (min-width: 640px) { .story-card { padding: 1.5rem; } }

.story-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  background: rgba(0, 22, 47, 0.75);
  padding: 0.35rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.story-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.45rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.62);
  transition: background-color 0.3s, color 0.3s;
}
.story-tab.is-active {
  background: rgba(255, 255, 255, 0.11);
  color: #fff;
}
.tab-dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; flex-shrink: 0; }
.tab-dot-bad { background: #d6453a; }
.tab-dot-ok { background: #3ddc84; }

.story-stage {
  margin-top: 1.1rem;
  padding: 1.15rem;
  border-radius: 0.7rem;
  background:
    radial-gradient(circle at 50% 50%, rgba(31, 94, 255, 0.16), transparent 65%),
    #041229;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.stage-top-wrap,
.stage-bottom-wrap {
  display: grid;
}
.stage-top-row,
.stage-bottom-wrap > .mini-search {
  grid-area: 1 / 1;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.stage-top-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
@media (max-width: 480px) {
  .stage-top-row { grid-template-columns: 1fr; }
}

.stage-before { opacity: 1; transform: none; }
.stage-after { opacity: 0; transform: translateY(6px); pointer-events: none; }

.story-card[data-state="after"] .stage-before {
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
}
.story-card[data-state="after"] .stage-after {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.mini-card {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.75rem 0.85rem;
  border-radius: 0.5rem;
  background: rgba(10, 34, 70, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.mini-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  margin-top: 0.28rem;
  flex-shrink: 0;
}
.mini-bad .mini-dot { background: #d6453a; }
.mini-ok .mini-dot { background: #3ddc84; box-shadow: 0 0 0 4px rgba(61, 220, 132, 0.2); }
.mini-ok { border-color: rgba(61, 220, 132, 0.4); }

.mini-card strong { display: block; font-size: 0.8rem; color: #fff; line-height: 1.25; }
.mini-card small { display: block; font-size: 0.74rem; color: rgba(255, 255, 255, 0.75); line-height: 1.3; margin-top: 0.18rem; }

.story-svg {
  width: 100%;
  height: 235px;
  display: block;
}

/* Transições do SVG entre "before" e "after" */
.svg-world {
  opacity: 0.08;
  transform: scale(0.86);
  transform-origin: 220px 100px;
  transition: opacity 0.8s var(--ease), transform 0.9s var(--ease);
}
.story-card[data-state="after"] .svg-world {
  opacity: 1;
  transform: scale(1);
}

.beam {
  stroke: var(--amber);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 0.9s var(--ease) 0.25s;
}
.story-card[data-state="after"] .beam { stroke-dashoffset: 0; }

.world-pin {
  opacity: 0;
  transition: opacity 0.5s var(--ease) 0.35s;
}
.story-card[data-state="after"] .world-pin { opacity: 1; }
.pin-pulse { animation: pinPulse 2.4s ease-out infinite; }
@keyframes pinPulse {
  0% { r: 5px; opacity: 0.75; }
  100% { r: 14px; opacity: 0; }
}

.svg-chaos {
  opacity: 1;
  transition: opacity 0.5s var(--ease);
}
.story-card[data-state="after"] .svg-chaos { opacity: 0; }

.chaos-q {
  fill: #ff8b82;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  animation: floatQ 2.2s ease-in-out infinite alternate;
}
.chaos-q.q-2 { animation-delay: -0.7s; }
.chaos-q.q-3 { animation-delay: -1.4s; }
@keyframes floatQ {
  from { transform: translateY(0); }
  to { transform: translateY(-5px); }
}

.person-aura {
  fill: rgba(214, 69, 58, 0.14);
  stroke: rgba(214, 69, 58, 0.4);
  stroke-width: 1.4;
  transition: fill 0.6s, stroke 0.6s;
}
.story-card[data-state="after"] .person-aura {
  fill: rgba(61, 220, 132, 0.15);
  stroke: rgba(227, 154, 45, 0.65);
}

.face-before { opacity: 1; transition: opacity 0.35s; }
.face-after { opacity: 0; transition: opacity 0.35s; }
.story-card[data-state="after"] .face-before { opacity: 0; }
.story-card[data-state="after"] .face-after { opacity: 1; }

.laptop-indicator {
  fill: #d6453a;
  transition: fill 0.5s;
}
.story-card[data-state="after"] .laptop-indicator { fill: #3ddc84; }

/* Barra inferior de busca do sistema */
.mini-search {
  border-radius: 0.55rem;
  padding: 0.65rem 0.85rem;
  font-size: 0.8rem;
  align-self: end;
}
.mini-search-bad {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(162, 58, 46, 0.22);
  border: 1px dashed rgba(255, 139, 130, 0.45);
  color: #ffd3cf;
}
.search-icon {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: #d6453a;
  color: #fff;
  font-weight: 700;
  font-size: 0.75rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.mini-search-ok {
  background: var(--white);
  color: var(--ink);
  border: 1px solid rgba(227, 154, 45, 0.55);
  box-shadow: 0 12px 24px -12px rgba(0, 0, 0, 0.6);
}
.search-bar-top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--line);
}
.search-bar-top svg { color: var(--blue); flex-shrink: 0; }
.typed-query {
  font-weight: 600;
  font-size: 0.8125rem;
  color: var(--ink);
  overflow: hidden;
  white-space: nowrap;
  display: inline-block;
  max-width: 0;
  transition: max-width 0.9s steps(20, end) 0.3s;
}
.story-card[data-state="after"] .typed-query { max-width: 18ch; }
.search-tag {
  margin-left: auto;
  background: rgba(31, 168, 85, 0.15);
  color: #167a3e;
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
}
.search-result-row {
  margin-top: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #167a3e;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.45s var(--ease) 0.85s, transform 0.45s var(--ease) 0.85s;
}
.story-card[data-state="after"] .search-result-row {
  opacity: 1;
  transform: none;
}

.story-caption {
  margin-top: 0.9rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
  text-align: center;
  min-height: 2.6rem;
}

/* 16. RODAPÉ */
.site-footer {
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.75);
  padding: 4rem 0 2rem;
  font-size: 0.9rem;
}
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.4fr 0.9fr 1.1fr 1.3fr; gap: 3rem; } }
.footer-col { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-logo-link img { height: 56px; width: auto; }
.footer-brand-desc, .footer-contact-desc { color: rgba(255, 255, 255, 0.68); max-width: 26rem; }
.footer-badge-locale { color: var(--amber); font-weight: 500; font-size: 0.8125rem; }
.footer-col-title { font-family: var(--serif); font-weight: 500; font-size: 1.15rem; color: #fff; margin-bottom: 0.25rem; }
.footer-nav-list { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-link { display: inline-block; color: rgba(255, 255, 255, 0.72); transition: color 0.2s, transform 0.2s; }
a.footer-link:hover { color: #fff; transform: translateX(3px); }
.footer-text { color: rgba(255, 255, 255, 0.72); }
.footer-whatsapp-link,
.footer-instagram-link {
  display: inline-flex; align-items: center; gap: 0.5rem; max-width: fit-content;
  color: #fff; font-weight: 600; padding: 0.6rem 0.9rem; border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.25); transition: background-color 0.25s, border-color 0.25s;
}
.footer-whatsapp-link svg { color: #3ddc84; flex-shrink: 0; }
.footer-instagram-link svg { color: var(--amber); flex-shrink: 0; }
.footer-whatsapp-link:hover,
.footer-instagram-link:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.5); }
.footer-contact-note { font-size: 0.8125rem; color: rgba(255, 255, 255, 0.55); }
.footer-bottom-bar {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem;
  font-size: 0.8125rem; color: rgba(255, 255, 255, 0.5);
}
@media (max-width: 639px) { .site-footer { padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px)); } }

/* 17. WHATSAPP FLUTUANTE */
.whatsapp-floating {
  position: fixed; bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); right: 1rem; z-index: 40;
  display: flex; align-items: center; gap: 0.5rem;
  background: var(--whatsapp); color: #fff; border-radius: 999px;
  padding: 0.7rem 1rem; font-size: 0.8125rem; font-weight: 600;
  box-shadow: 0 10px 24px -8px rgba(31, 168, 85, 0.6);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
@media (min-width: 640px) { .whatsapp-floating { bottom: 1.5rem; right: 1.5rem; padding: 0.8rem 1.25rem; font-size: 0.875rem; } }
.whatsapp-floating:hover { transform: translateY(-3px); box-shadow: 0 16px 28px -8px rgba(31, 168, 85, 0.7); }
.whatsapp-floating:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* 18. MODAL */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center;
  padding: 0.75rem; background: rgba(4, 10, 28, 0.88); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; pointer-events: none; transition: opacity 0.25s ease;
}
.modal-backdrop.modal-open { opacity: 1; pointer-events: auto; }
.modal-container {
  display: flex; flex-direction: column; width: 100%; max-width: 1080px; max-height: 92vh; overflow: hidden;
  background: var(--navy); border: 1px solid var(--line-light); border-radius: 0.75rem;
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.8);
  transform: scale(0.96); transition: transform 0.3s var(--ease);
}
.modal-backdrop.modal-open .modal-container { transform: none; }
.modal-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.75rem; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line-light); }
.modal-meta { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.25rem; }
#modal-category { font-size: 0.875rem; color: rgba(255, 255, 255, 0.7); }
#modal-tag { font-size: 0.6875rem; background: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.8); padding: 0.1rem 0.55rem; border-radius: 999px; }
#modal-title { font-family: var(--serif); font-weight: 500; font-size: 1.35rem; color: #fff; }
#modal-desc { margin-top: 0.25rem; font-size: 0.875rem; color: rgba(255, 255, 255, 0.75); max-width: 40rem; }
#modal-close-button { padding: 0.5rem; border-radius: 0.5rem; color: rgba(255, 255, 255, 0.8); transition: background-color 0.2s; }
#modal-close-button:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.modal-body { overflow-y: auto; max-height: calc(92vh - 100px); background: #030a1d; }
.modal-body img { width: 100%; height: auto; }

/* 19. MOVIMENTO REDUZIDO */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-delay: 0s !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; }
}

/* 20. AJUSTES DO PROCESSO */
.process-head .section-title { margin-top: 0; max-width: 20ch; }
.process-head .section-lead { margin-top: 1.25rem; }
.process-cta { margin-top: 1.75rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.process .handwritten { color: var(--ink); }

/* 21. SISTEMAS E AUTOMAÇÕES */
.systems { background: var(--navy); color: #fff; padding-block: 5rem 6rem; }
@media (min-width: 1024px) { .systems { padding-block: 6.5rem 7.5rem; } }
.systems-lead { font-size: 1.0625rem; color: rgba(255, 255, 255, 0.78); }

.cases { margin-top: 3rem; display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .cases { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: stretch; } }
.case {
  display: flex; flex-direction: column; gap: 1rem; padding: 1.75rem;
  background: var(--navy-2); border: 1px solid var(--line-light); border-radius: 0.75rem;
  transition: transform 0.35s var(--ease), border-color 0.3s;
}
.case:hover { transform: translateY(-4px); border-color: rgba(227, 154, 45, 0.6); }
.case h3 { font-family: var(--serif); font-weight: 500; font-size: 1.55rem; letter-spacing: -0.01em; }
.case-problem { color: rgba(255, 255, 255, 0.62); }
.case-problem span {
  background: linear-gradient(var(--amber), var(--amber)) 0 58% / 0% 2px no-repeat;
  transition: background-size 1s var(--ease) 0.4s;
}
.case.is-in .case-problem span { background-size: 100% 2px; }
.case-arrow { color: var(--amber); margin-block: auto; }
.case.is-in .case-arrow { animation: nudge 2.4s ease-in-out 1.2s infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
.case-solution { color: #fff; font-size: 1.025rem; line-height: 1.55; }

.systems-tools { margin-top: 1.5rem; display: grid; gap: 1.5rem; }
@media (min-width: 960px) { .systems-tools { grid-template-columns: 1.08fr 0.92fr; gap: 1.5rem; align-items: stretch; } }

.calc { background: var(--white); color: var(--ink); border-radius: 0.75rem; padding: 2rem; display: flex; flex-direction: column; gap: 1.25rem; }
.calc h3, .flow-card h3 { font-family: var(--serif); font-weight: 500; font-size: 1.55rem; line-height: 1.2; letter-spacing: -0.01em; }
.calc-sub { color: var(--ink-soft); margin-top: -0.5rem; }
.calc-field label { display: block; font-weight: 600; font-size: 0.9375rem; margin-bottom: 0.6rem; }
.calc-row { display: flex; align-items: center; gap: 1rem; }
.calc-row output { min-width: 2.75rem; text-align: center; font-family: var(--serif); font-size: 1.4rem; }
.calc input[type="range"] { flex: 1; accent-color: var(--blue); height: 1.5rem; cursor: pointer; }
.calc-result { border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); padding-block: 1.25rem; }
.calc-number { font-family: var(--serif); font-size: clamp(2.5rem, 5.5vw, 3.5rem); line-height: 1; letter-spacing: -0.02em; color: var(--navy); }
.calc-number small { font-family: var(--sans); font-size: 1rem; letter-spacing: 0; color: var(--ink-soft); }
.calc-days { margin-top: 0.5rem; color: var(--ink-soft); }
.calc .btn { align-self: flex-start; }
.calc-note { font-size: 0.8125rem; color: var(--ink-soft); }

.flow-card { background: var(--navy-2); border: 1px solid var(--line-light); border-radius: 0.75rem; padding: 2rem; display: flex; flex-direction: column; justify-content: center; }
.flow { position: relative; margin-top: 1.75rem; padding-left: 3.25rem; display: flex; flex-direction: column; gap: 1.85rem; }
.flow::before { content: ''; position: absolute; left: 1.0625rem; top: 1.0625rem; bottom: 1.5rem; width: 2px; background: var(--line-light); }
.flow li { position: relative; }
.flow li p { color: rgba(255, 255, 255, 0.88); padding-top: 0.25rem; }
.node {
  position: absolute; left: -3.25rem; top: 0; width: 2.125rem; height: 2.125rem; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--serif); font-weight: 600;
  background: var(--navy-2); border: 2px solid var(--amber); color: var(--amber);
  animation: nodeOn 6s infinite;
}
.flow li:nth-child(2) .node { animation-delay: 1.5s; }
.flow li:nth-child(3) .node { animation-delay: 3s; }
.flow li:nth-child(4) .node { animation-delay: 4.5s; }
@keyframes nodeOn {
  0% { background: var(--navy-2); color: var(--amber); }
  4%, 26% { background: var(--amber); color: var(--navy); }
  34%, 100% { background: var(--navy-2); color: var(--amber); }
}
.flow-dot {
  position: absolute; left: 0.8125rem; top: 1.0625rem; width: 0.625rem; height: 0.625rem; margin-left: 0.0625rem; border-radius: 50%;
  background: var(--amber); box-shadow: 0 0 0 5px rgba(227, 154, 45, 0.25);
  animation: travel 6s linear infinite; opacity: 0;
}
@keyframes travel {
  0% { transform: translateY(0); opacity: 0; }
  3% { opacity: 1; }
  75% { transform: translateY(calc(var(--flow-h, 220px))); opacity: 1; }
  80%, 100% { transform: translateY(calc(var(--flow-h, 220px))); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .node, .flow-dot, .case-arrow, .wire-pulse { animation: none !important; }
  .flow-dot { display: none; }
  .case-problem span { background-size: 100% 2px; }
}

/* 22. CENA: DA BAGUNÇA À ORGANIZAÇÃO (guiada pela rolagem e interativa) */
.fix { --p: 1; margin-top: 2.75rem; position: relative; }
.fix-sticky {
  display: flex; flex-direction: column; gap: 0.9rem;
}
.fix-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}
.fix-step {
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.fix-step:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}
.fix-step.is-active {
  background: rgba(227, 154, 45, 0.18);
  color: var(--amber);
  border-color: rgba(227, 154, 45, 0.55);
}

.fix-captions {
  position: relative;
  min-height: 2.75rem;
  text-align: center;
  max-width: 44rem;
  margin-inline: auto;
  width: 100%;
}
.fix-caption {
  position: absolute; inset: 0; font-family: var(--serif); font-size: clamp(1.1rem, 2vw, 1.45rem); line-height: 1.3; color: #fff;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(8px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.fix-caption.is-active { opacity: 1; transform: none; }

.fix-stage {
  position: relative; height: 420px; overflow: hidden; border-radius: 0.9rem;
  border: 1px solid var(--line-light);
  background: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px) 0 0 / 22px 22px, #061836;
}
@media (min-width: 760px) { .fix-stage { height: 450px; } }

.fix-panel {
  position: absolute; inset: 4% 3%; border-radius: 0.7rem; overflow: hidden;
  background: var(--paper);
  opacity: clamp(0, calc((var(--p) - 0.15) * 2.8), 1);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
  transition: opacity 0.35s var(--ease);
}
.fix-panel .frame-bar em { margin-left: 0.75rem; }
.fix-done {
  position: absolute; right: 1rem; top: 0.4rem;
  background: #1fa855; color: #fff; font-size: 0.75rem; font-weight: 600;
  padding: 0.2rem 0.7rem; border-radius: 999px;
  opacity: clamp(0, calc((var(--p) - 0.85) * 8), 1);
}

.fix-note {
  --e: clamp(0, calc((var(--p) - var(--s)) * 2.5), 1);
  position: absolute; z-index: 2; width: 44%;
  left: calc((var(--x0) + (var(--x1) - var(--x0)) * var(--e)) * 1%);
  top: calc((var(--y0) + (var(--y1) - var(--y0)) * var(--e)) * 1%);
  rotate: calc(var(--r0) * (1 - var(--e)) * 1deg);
  padding: 0.75rem 2.2rem 0.75rem 0.95rem;
  background: var(--white); color: var(--ink);
  border: 1px solid rgba(18, 21, 31, 0.12); border-radius: 0.55rem;
  box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.45);
  isolation: isolate;
  transition: left 0.45s var(--ease), top 0.45s var(--ease), rotate 0.45s var(--ease);
}
.fix-note::before {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--tint); opacity: calc(1 - var(--e));
  transition: opacity 0.4s var(--ease);
}
.fix-note b { display: block; font-size: 0.9rem; line-height: 1.25; }
.fix-note small { display: grid; font-size: 0.78rem; line-height: 1.3; margin-top: 0.15rem; color: var(--ink-soft); }
.fix-note small span { grid-area: 1 / 1; transition: opacity 0.35s var(--ease); }
.fix-note .bad { opacity: calc(1 - var(--e)); color: #a23a2e; }
.fix-note .good { opacity: var(--e); color: #1b7a43; font-weight: 600; }

.fix-badge {
  position: absolute; top: 0.65rem; right: 0.65rem; width: 1.2rem; height: 1.2rem; border-radius: 50%;
  display: grid; place-items: center; font-size: 0.7rem; font-weight: 700; color: #fff;
  transition: opacity 0.35s var(--ease);
}
.fix-bad { background: #d6453a; opacity: calc(1 - var(--e)); }
.fix-ok { background: #1fa855; opacity: var(--e); }

.fix-note:nth-of-type(1) { --x0: 48; --y0: 8;  --r0: 5;   --x1: 5;  --y1: 20; }
.fix-note:nth-of-type(2) { --x0: 4;  --y0: 52; --r0: -6;  --x1: 51; --y1: 20; }
.fix-note:nth-of-type(3) { --x0: 28; --y0: 30; --r0: 4;   --x1: 5;  --y1: 44; }
.fix-note:nth-of-type(4) { --x0: 50; --y0: 60; --r0: -4;  --x1: 51; --y1: 44; }
.fix-note:nth-of-type(5) { --x0: 6;  --y0: 14; --r0: -4;  --x1: 5;  --y1: 68; }
.fix-note:nth-of-type(6) { --x0: 30; --y0: 74; --r0: 6;   --x1: 51; --y1: 68; }

@media (min-width: 760px) {
  .fix-note { width: 27%; }
  .fix-note:nth-of-type(1) { --x0: 58; --y0: 12; --x1: 6.5;  --y1: 24; }
  .fix-note:nth-of-type(2) { --x0: 6;  --y0: 56; --x1: 36.5; --y1: 24; }
  .fix-note:nth-of-type(3) { --x0: 36; --y0: 36; --x1: 66.5; --y1: 24; }
  .fix-note:nth-of-type(4) { --x0: 62; --y0: 62; --x1: 6.5;  --y1: 56; }
  .fix-note:nth-of-type(5) { --x0: 8;  --y0: 14; --x1: 36.5; --y1: 56; }
  .fix-note:nth-of-type(6) { --x0: 38; --y0: 72; --x1: 66.5; --y1: 56; }
  .fix-note b { font-size: 1rem; }
  .fix-note small { font-size: 0.85rem; }
}

.fix.is-messy .fix-note { animation: wobble 2.4s ease-in-out infinite alternate; }
.fix.is-messy .fix-note:nth-of-type(2n) { animation-duration: 1.9s; animation-delay: -0.6s; }
.fix.is-messy .fix-note:nth-of-type(3n) { animation-duration: 2.8s; animation-delay: -1.2s; }
@keyframes wobble { from { translate: 0 0; } to { translate: 3px -4px; } }

.fix-hint {
  position: absolute; left: 0; right: 0; bottom: 0.85rem; z-index: 3;
  text-align: center;
  font-family: var(--hand); font-size: 1.35rem; color: var(--amber);
  opacity: clamp(0, calc(1 - var(--p) * 8), 1);
}

@media (prefers-reduced-motion: reduce) {
  .fix.is-messy .fix-note { animation: none !important; }
}

