:root {
  --ink: #1e1715;
  --dark: #171313;
  --cream: #f7f5f0;
  --orange: #e8a34a;
  --rust: #ce6842;
  --muted: #726c68;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Comfortaa", sans-serif;
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
}
::selection {
  background: var(--orange);
  color: var(--dark);
}
.header {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  background: #171313;
  color: #fff;
  position: relative;
  z-index: 20;
  border-bottom: 1px solid #ffffff20;
}
.brand img {
  width: 142px;
  display: block;
}
.header nav {
  display: flex;
  gap: 36px;
  align-items: center;
}
.header nav a {
  font-size: 13px;
  color: #e8e2db;
  transition: color 0.25s;
}
.header nav a:hover {
  color: var(--orange);
}
.header-cta {
  border: 1px solid #ad6b3d;
  padding: 13px 18px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  transition: 0.25s;
}
.header-cta span,
.button span {
  margin-left: 22px;
}
.header-cta:hover {
  background: var(--orange);
  color: var(--dark);
  transform: translateY(-2px);
}
.menu-toggle {
  display: none;
}
.checker {
  background-color: #211a18;
  background-image:
    linear-gradient(#ffffff0b 1px, transparent 1px),
    linear-gradient(90deg, #ffffff0b 1px, transparent 1px);
  background-size: 46px 46px;
}
.hero {
  min-height: 670px;
  display: grid;
  grid-template-columns: 49% 51%;
  color: white;
  overflow: hidden;
}
.hero-copy {
  padding: 100px 0 42px 10.2%;
  position: relative;
  z-index: 2;
}
.eyebrow,
.section-index {
  font-family: "Comfortaa", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.19em;
}
.eyebrow {
  color: var(--orange);
  display: flex;
  gap: 10px;
  align-items: center;
}
.pulse {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 0 5px #e8a34a24;
  animation: pulse 2s infinite;
}
.hero h1,
.section h2,
.showcase h2,
.contact h2 {
  font-family: "Comfortaa", sans-serif;
  letter-spacing: -0.075em;
  line-height: 1.02;
  font-size: clamp(60px, 6.2vw, 100px);
  margin: 30px 0 24px;
  font-weight: 600;
}
.hero h1 em,
.section h2 em,
.showcase h2 em,
.contact h2 em {
  font-style: normal;
  color: var(--orange);
}
.hero-copy > p {
  font-size: 17px;
  line-height: 1.75;
  max-width: 510px;
  color: #c9c2bd;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 37px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 20px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 4px;
  transition:
    transform 0.25s,
    background 0.25s,
    box-shadow 0.25s;
}
.button:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px #0003;
}
.button-primary {
  background: var(--orange);
  color: var(--dark);
}
.button-primary:hover {
  background: #f2b867;
}
.text-link {
  font-size: 13px;
  font-weight: 700;
  border-bottom: 1px solid #777;
  padding-bottom: 7px;
}
.text-link span {
  padding-left: 12px;
}
.text-link:hover {
  color: var(--orange);
}
.hero-foot {
  display: flex;
  gap: 16px;
  align-items: center;
  color: #9a8f89;
  font: 11px "Comfortaa";
  letter-spacing: 0.15em;
  margin-top: 105px;
}
.hero-foot .line {
  width: 55px;
  height: 1px;
  background: #6e5c52;
}
.dots {
  display: flex;
  gap: 5px;
}
.dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b95e43;
}
.dots i:nth-child(2) {
  background: #e8a34a;
}
.dots i:nth-child(3) {
  background: #697f62;
}
.section {
  padding: 120px 7%;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 50px;
  margin-bottom: 55px;
}
.section-index {
  color: var(--rust);
}
.section h2,
.showcase h2,
.contact h2 {
  font-size: clamp(49px, 5.6vw, 82px);
  margin: 21px 0 0;
}
.section h2 em,
.showcase h2 em {
  color: var(--rust);
}
.section-head > p {
  max-width: 390px;
  color: #6c635d;
  line-height: 1.7;
  font-size: 16px;
  margin: 0 0 7px;
}
.checker-dark {
  background-color: #1d1816;
  background-image:
    linear-gradient(#ffffff0b 1px, transparent 1px),
    linear-gradient(90deg, #ffffff0b 1px, transparent 1px);
  background-size: 50px 50px;
}
.statement {
  color: white;
  padding: 95px 12%;
  text-align: center;
  overflow: hidden;
}
.statement-inner {
  position: relative;
  max-width: 1000px;
  margin: auto;
}
.statement .section-index {
  color: var(--orange);
}
.statement p {
  font: 500 clamp(34px, 4.5vw, 65px)/1.15 "Comfortaa";
  letter-spacing: -0.055em;
  margin: 28px 0 0;
}
.statement em {
  font-style: normal;
  color: var(--orange);
}
/* Tom próprio no tema escuro para não se fundir com a faixa acima e os projetos abaixo. */
.method {
  --method-bg: #2a201c;
  --method-ink: #f3e9df;
  --method-muted: #b3a69c;
  --method-accent: var(--orange);
  --gantt-line: #3f302a;
  --gantt-surface: #2f2420;
  --gantt-head-bg: #362a24;
  --gantt-label: #d39a6a;
  --gantt-shadow: rgba(0, 0, 0, 0.5);
  --evolve-bg: #fff2dc;
  --evolve-ink: #3a241d;
  background: var(--method-bg);
  color: var(--method-ink);
}
[data-theme="light"] .method {
  --method-bg: #f0ece5;
  --method-ink: var(--ink);
  --method-muted: #746b64;
  --method-accent: var(--rust);
  --gantt-line: #ddd1c5;
  --gantt-surface: #f7f3ee;
  --gantt-head-bg: #ebe2d8;
  --gantt-label: #a26745;
  --gantt-shadow: rgba(58, 36, 29, 0.45);
  --evolve-bg: #3a241d;
  --evolve-ink: #f3e9df;
}
.method h2 em,
.method .services-eyebrow {
  color: var(--method-accent);
}
/* Método em Gantt: etapas à esquerda e barras sobre cinco marcos (cada marco ocupa 2 colunas). */
/* Quadro fechado: borda e cantos iguais nos quatro lados, com o cabeçalho numa faixa própria. */
.gantt {
  --gantt-cols: 10;
  --gantt-phases: 5;
  --gantt-pad: 32px;
  overflow: hidden;
  border: 1px solid var(--gantt-line);
  border-radius: 24px;
  background: var(--gantt-surface);
  box-shadow: 0 30px 60px -44px var(--gantt-shadow);
}
.gantt-head,
.gantt-row {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 2fr);
  column-gap: 40px;
}
.gantt-head {
  align-items: center;
  padding: 14px var(--gantt-pad);
  border-bottom: 1px solid var(--gantt-line);
  background: var(--gantt-head-bg);
}
.gantt-head-label,
.gantt-scale span,
.gantt-milestone {
  font:
    700 11px "Comfortaa",
    sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gantt-label);
}
.gantt-scale,
.gantt-track {
  display: grid;
  grid-template-columns: repeat(var(--gantt-cols), minmax(0, 1fr));
  background-image: linear-gradient(90deg, var(--gantt-line) 1px, transparent 1px);
  background-size: calc(100% / var(--gantt-phases)) 100%;
  border-right: 1px solid var(--gantt-line);
}
.gantt-scale span {
  grid-column: span 2;
  padding: 4px 4px;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.gantt-rows {
  list-style: none;
  margin: 0;
  padding: 0;
}
.gantt-row {
  padding: 0 var(--gantt-pad);
  border-bottom: 1px solid var(--gantt-line);
}
.gantt-row:last-child {
  border-bottom: 0;
}
.gantt-info {
  padding: 28px 0;
}
.gantt-info h3 {
  margin: 0 0 8px;
  font:
    600 21px "Comfortaa",
    sans-serif;
  letter-spacing: -0.045em;
  /* !important vence as regras de prefers-reduced-motion. */
  transition: color 0.3s ease !important;
}
.gantt-info p {
  max-width: 360px;
  margin: 0;
  color: var(--method-muted);
  font-size: 14px;
  line-height: 1.7;
}
.gantt-row:hover .gantt-info h3 {
  color: var(--method-accent);
}
.gantt-track {
  align-items: center;
}
.gantt-bar {
  --start: 1;
  --span: 1;
  --bar-delay: 0.2s;
  grid-row: 1;
  grid-column: var(--start) / span var(--span);
  display: flex;
  align-items: center;
  height: 46px;
  margin: 0 6px;
  padding: 0 18px;
  overflow: hidden;
  border-radius: 999px;
  font:
    700 12px "Comfortaa",
    sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  text-overflow: ellipsis;
  box-shadow: 0 10px 22px -14px var(--gantt-shadow);
  /* A barra cresce da esquerda para a direita quando a linha aparece. */
  clip-path: inset(0 100% 0 0);
  transition:
    clip-path 1s cubic-bezier(0.65, 0, 0.35, 1) var(--bar-delay),
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s ease !important;
}
.gantt-row.visible .gantt-bar {
  clip-path: inset(-30px);
}
.gantt-row:hover .gantt-bar {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px -10px var(--gantt-shadow);
}
.gantt-row:nth-child(2) .gantt-bar {
  --bar-delay: 0.4s;
}
.gantt-row:nth-child(3) .gantt-bar {
  --bar-delay: 0.6s;
}
.gantt-row:nth-child(4) .gantt-bar {
  --bar-delay: 0.8s;
}
.gantt-bar--discovery {
  --start: 1;
  --span: 3;
  --bar-color: #f6d9b0;
  background: var(--bar-color);
  color: #5a3524;
}
.gantt-bar--design {
  --start: 3;
  --span: 3;
  --bar-color: var(--orange);
  background: var(--bar-color);
  color: #241a16;
}
.gantt-bar--build {
  --start: 5;
  --span: 3;
  --bar-color: var(--rust);
  background: var(--bar-color);
  color: #fff;
}
.gantt-bar--evolve {
  --start: 8;
  --span: 3;
  --bar-color: var(--evolve-bg);
  background: var(--bar-color);
  color: var(--evolve-ink);
}
/* Marco de lançamento no início da evolução, com o nome à esquerda do círculo. */
.gantt-milestone {
  grid-row: 1;
  grid-column: 1 / 8;
  justify-self: end;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: -7px;
  opacity: 0;
  transition: opacity 0.5s ease 1.4s !important;
}
.gantt-milestone::after {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--rust);
  box-shadow: 0 0 0 4px var(--gantt-surface);
}
.gantt-row.visible .gantt-milestone {
  opacity: 1;
}
@media (max-width: 900px) {
  .gantt-head,
  .gantt-row {
    grid-template-columns: 1fr;
  }
  .gantt {
    --gantt-pad: 20px;
    border-radius: 20px;
  }
  .gantt-head-label {
    display: none;
  }
  .gantt-info {
    padding: 24px 0 14px;
  }
  .gantt-track {
    min-height: 64px;
    margin-bottom: 22px;
  }
}
@media (max-width: 600px) {
  .gantt {
    --gantt-pad: 14px;
    border-radius: 18px;
  }
  .gantt-scale span {
    padding: 4px 1px;
    font-size: 10px;
    letter-spacing: 0;
    text-transform: none;
  }
  /* No celular a barra vira uma linha fina com o nome em cima, que pode passar da largura dela. */
  .gantt-track {
    align-items: end;
    padding-bottom: 14px;
  }
  .gantt-bar,
  .gantt-row.visible .gantt-bar {
    position: relative;
    height: auto;
    margin: 0 3px;
    padding: 0 0 14px;
    overflow: visible;
    background: none;
    box-shadow: none;
    clip-path: none;
    color: var(--method-ink);
    font-size: 10px;
    letter-spacing: 0.08em;
    text-overflow: clip;
    opacity: 0;
    transition:
      opacity 0.5s ease var(--bar-delay),
      transform 0.4s cubic-bezier(0.22, 1, 0.36, 1) !important;
  }
  .gantt-row.visible .gantt-bar {
    opacity: 1;
  }
  .gantt-row:hover .gantt-bar {
    box-shadow: none;
  }
  .gantt-bar::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 8px;
    border-radius: 8px;
    background: var(--bar-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1s cubic-bezier(0.65, 0, 0.35, 1) var(--bar-delay) !important;
  }
  .gantt-row.visible .gantt-bar::before {
    transform: scaleX(1);
  }
  .gantt-milestone {
    align-self: end;
    margin-bottom: -3px;
    font-size: 10px;
    letter-spacing: 0.08em;
  }
}
@media (max-width: 400px) {
  .gantt-scale span {
    font-size: 9px;
  }
}
.showcase {
  background: #261d1a;
  color: white;
  display: grid;
  grid-template-columns: 44% 56%;
  min-height: 630px;
  overflow: hidden;
}
.showcase-copy {
  padding: 100px 6% 95px 15%;
}
.showcase h2 {
  font-size: clamp(50px, 5.2vw, 77px);
}
.showcase-copy > p {
  font-size: 16px;
  line-height: 1.7;
  color: #c1b5ab;
  max-width: 430px;
}
.showcase-note {
  border-left: 2px solid var(--orange);
  padding-left: 21px;
  margin-top: 48px;
  max-width: 360px;
}
.showcase-note > span {
  font: 10px "Comfortaa";
  letter-spacing: 0.15em;
  color: var(--orange);
}
.showcase-note strong {
  display: block;
  font: 600 25px "Comfortaa";
  margin: 11px 0;
}
.showcase-note p {
  font-size: 13px;
  line-height: 1.6;
  color: #bdb0a7;
}
.showcase-note a {
  font-size: 13px;
  color: var(--orange);
  font-weight: 700;
}
.showcase-note a span {
  padding-left: 12px;
}
.showcase-device {
  position: relative;
  display: flex;
  align-items: center;
  margin-right: -10%;
  background: radial-gradient(circle at 50% 52%, #a9653c44, transparent 60%);
}
.showcase-window {
  width: 95%;
  background: #f5f1e9;
  border: 9px solid #352d2a;
  border-radius: 13px;
  box-shadow: 0 40px 60px #0007;
  transform: perspective(1000px) rotateY(-8deg) rotateZ(2deg);
  transition: 0.4s;
  overflow: hidden;
}
.showcase-window:hover {
  transform: perspective(1000px) rotateY(-3deg) rotateZ(0);
}
.window-bar {
  height: 31px;
  background: #ded8cf;
  color: #7b726d;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  font: 9px "Comfortaa";
}
.academy-ui {
  display: flex;
  height: 365px;
  background: #f6f3ee;
  color: #2b2624;
}
.academy-nav {
  background: #332b29;
  width: 70px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.academy-nav b {
  color: white;
  font: 700 25px "Comfortaa";
}
.academy-nav b span {
  color: var(--orange);
  font-size: 10px;
}
.academy-nav i {
  height: 12px;
  width: 25px;
  background: #746a66;
  border-radius: 3px;
}
.academy-nav i:nth-child(2) {
  background: var(--orange);
}
.academy-main {
  padding: 36px 7%;
  flex: 1;
  overflow: hidden;
}
.academy-main small {
  font: 9px "Comfortaa";
  letter-spacing: 0.15em;
  color: #a36b4c;
}
.academy-main h3 {
  font: 600 35px/1.07 "Comfortaa";
  letter-spacing: -0.06em;
  margin: 15px 0 25px;
}
.academy-stats {
  display: flex;
  gap: 9px;
}
.academy-stats div {
  background: white;
  padding: 12px 16px;
  min-width: 95px;
  box-shadow: 0 4px 12px #0000000a;
}
.academy-stats span {
  display: block;
  font: 8px "Comfortaa";
  color: #a98770;
}
.academy-stats b {
  font: 600 23px "Comfortaa";
}
.academy-graph {
  height: 90px;
  background: #fff;
  margin-top: 13px;
  position: relative;
  overflow: hidden;
}
.wave {
  position: absolute;
  left: -10%;
  bottom: -75px;
  width: 120%;
  height: 135px;
  border: 4px solid #cb7f50;
  border-radius: 50%;
  transform: rotate(-8deg);
}
.wave-two {
  bottom: -92px;
  border-color: #e8a34a;
  transform: rotate(7deg);
}
.showcase-sticker {
  position: absolute;
  right: 15%;
  bottom: 10%;
  background: var(--orange);
  color: #261a16;
  transform: rotate(-9deg);
  padding: 20px;
  font: 700 14px/1.35 "Comfortaa";
  box-shadow: 6px 8px 0 #0005;
}
.contact {
  position: relative;
  color: white;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.contact-inner {
  padding: 95px 10%;
  max-width: 1100px;
  position: relative;
  z-index: 2;
}
.contact .section-index {
  color: var(--orange);
}
.contact h2 {
  font-size: clamp(56px, 6.2vw, 95px);
}
.contact p {
  font-size: 16px;
  line-height: 1.7;
  color: #c4b9b1;
  max-width: 560px;
}
.contact-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.button-dark {
  background: var(--orange);
  color: var(--dark);
}
.email-link {
  border-bottom: 1px solid #9c7862;
  padding-bottom: 8px;
  font-size: 14px;
}
.email-link:hover {
  color: var(--orange);
}
.contact-spark {
  font: 500 450px "Comfortaa";
  position: absolute;
  right: -2%;
  top: -15%;
  color: #e8a34a16;
  animation: spin 55s linear infinite;
}
footer {
  background: #151211;
  color: #ada29a;
  padding: 35px 7% 25px;
}
.footer-top,
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.footer-top img {
  width: 140px;
}
.footer-top span {
  font: 10px "Comfortaa";
  letter-spacing: 0.17em;
}
.footer-top a:last-child {
  font-size: 13px;
  color: #e2b07d;
}
.footer-bottom {
  border-top: 1px solid #ffffff20;
  margin-top: 40px;
  padding-top: 20px;
  font-size: 12px;
}
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.cursor-glow {
  position: fixed;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, #e8a34a11, transparent 65%);
  pointer-events: none;
  z-index: 50;
  transform: translate(-50%, -50%);
  opacity: 0;
}
@keyframes pulse {
  50% {
    box-shadow: 0 0 0 9px #e8a34a08;
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 1100px) {
  .header nav {
    gap: 18px;
  }
  .hero-copy {
    padding-left: 7%;
  }
  .hero h1 {
    font-size: clamp(56px, 6vw, 75px);
  }
  .showcase-copy {
    padding-left: 9%;
  }
}
/* Menu hambúrguer até 1200px: seis links não cabem ao lado do CTA em telas médias. */
@media (max-width: 1200px) {
  .header {
    height: 72px;
  }
  .header nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #211a18;
    flex-direction: column;
    align-items: stretch;
    padding: 20px 6%;
    gap: 0;
    border-bottom: 1px solid #ffffff30;
  }
  .header nav.open {
    display: flex;
  }
  .header nav a {
    padding: 13px 0;
  }
  /* Hambúrguer simples: três riscos, o do meio menor; vira um X ao abrir. */
  .menu-toggle {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
  }
  .menu-lines {
    width: 22px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
  }
  .menu-lines i {
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: #f3e9df;
    /* !important vence as regras de prefers-reduced-motion. */
    transition:
      width 0.35s cubic-bezier(0.65, 0, 0.35, 1),
      transform 0.4s cubic-bezier(0.65, 0, 0.35, 1),
      opacity 0.25s ease,
      background-color 0.3s ease !important;
  }
  .menu-lines i:nth-child(2) {
    width: 14px;
  }
  .menu-toggle:hover .menu-lines i,
  .menu-toggle[aria-expanded="true"] .menu-lines i {
    background: var(--orange);
  }
  .menu-toggle[aria-expanded="true"] .menu-lines i:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] .menu-lines i:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  .menu-toggle[aria-expanded="true"] .menu-lines i:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}
@media (max-width: 800px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    padding: 70px 7% 0;
  }
  .hero h1 {
    font-size: clamp(58px, 11vw, 84px);
  }
  .hero-foot {
    display: none;
  }
  .section {
    padding: 85px 6%;
  }
  .showcase {
    grid-template-columns: 1fr;
  }
  .showcase-copy {
    padding: 80px 8% 30px;
  }
  .showcase-device {
    min-height: 500px;
    margin-left: 5%;
  }
  .showcase-window {
    max-width: 750px;
  }
  .contact-spark {
    right: -25%;
  }
}
@media (max-width: 600px) {
  .header {
    padding: 0 5%;
  }
  .brand img {
    width: 115px;
  }
  .header-cta {
    font-size: 11px;
    padding: 11px;
  }
  .header-cta span {
    margin-left: 5px;
  }
  .hero-copy {
    padding: 68px 6% 0;
  }
  .hero h1 {
    font-size: clamp(42px, 12.5vw, 76px);
    margin: 22px 0;
  }
  .hero-copy > p {
    font-size: 16px;
  }
  .hero-actions {
    gap: 20px;
    align-items: flex-start;
    flex-direction: column;
  }
  .section-head {
    display: block;
  }
  .section-head > p {
    margin-top: 25px;
  }
  .section h2,
  .showcase h2 {
    font-size: clamp(49px, 12vw, 70px);
  }
  .statement {
    padding: 75px 7%;
  }
  .statement p {
    font-size: 38px;
  }
  .showcase-copy {
    padding: 75px 7% 25px;
  }
  .showcase-device {
    min-height: 350px;
    margin-right: -15%;
    margin-left: 5%;
  }
  .academy-ui {
    height: 230px;
  }
  .academy-nav {
    width: 40px;
    padding: 8px;
  }
  .academy-nav b {
    font-size: 14px;
  }
  .academy-nav i {
    height: 7px;
    width: 18px;
  }
  .academy-main {
    padding: 18px 5%;
  }
  .academy-main h3 {
    font-size: 23px;
    margin: 10px 0;
  }
  .academy-stats div {
    padding: 7px;
    min-width: 60px;
  }
  .academy-stats b {
    font-size: 15px;
  }
  .academy-stats span {
    font-size: 5px;
  }
  .academy-graph {
    height: 50px;
  }
  .showcase-sticker {
    font-size: 9px;
    padding: 10px;
    bottom: 7%;
  }
  .contact-inner {
    padding: 80px 7%;
  }
  .contact h2 {
    font-size: clamp(51px, 11vw, 75px);
  }
  .contact-spark {
    font-size: 300px;
    right: -45%;
    top: 6%;
  }
  .footer-top,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
  .footer-top span {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Movimento mais calmo e símbolos da identidade Capi Code. */
.pulse {
  animation-duration: 3.5s;
}
.contact-spark {
  animation-duration: 110s;
}
.reveal {
  transition-duration: 1.05s;
  transform: translateY(16px);
}
.showcase-window {
  transition-duration: 0.55s;
}
.brand-separator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 25px;
  flex: none;
}
.brand-separator img {
  display: block;
  width: 27px;
  height: 19px;
  object-fit: contain;
}
.contact-spark {
  width: 660px;
  height: 470px;
  right: -12%;
  top: 5%;
  opacity: 0.09;
  transform-origin: center;
  display: block;
}
.contact-spark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.showcase-sticker img {
  width: 20px;
  height: 16px;
  object-fit: contain;
  vertical-align: middle;
  margin-left: 5px;
}
@media (max-width: 600px) {
  .contact-spark {
    width: 400px;
    height: 285px;
    right: -55%;
    top: 20%;
  }
}

/* Elementos contínuos imóveis para que o conteúdo permaneça legível. */
.pulse,
.contact-spark {
  animation: none !important;
}
.reveal {
  transition:
    opacity 1.5s ease,
    transform 1.5s ease;
}
.reveal.visible {
  transform: translateY(0);
}
.logo-for-light {
  display: none !important;
}
.logo-for-dark {
  display: block !important;
}
.theme-toggle {
  position: relative;
  flex: none;
  width: 48px;
  height: 26px;
  padding: 0;
  border: 1.5px solid #ffffff26;
  background: #ffffff08;
  cursor: pointer;
  transition:
    background 0.35s,
    border-color 0.35s;
}
.theme-toggle:hover {
  border-color: #e8a34a80;
}
.theme-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #4a3f3a;
  color: #cfc4bc;
  transition:
    transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1),
    background 0.35s,
    color 0.35s;
}
.theme-toggle:hover .theme-knob {
  background: var(--orange);
  color: #1e1715;
}
.theme-knob svg {
  width: 11px;
  height: 11px;
  display: block;
}
.theme-toggle .icon-sun,
[data-theme="light"] .theme-toggle .icon-moon {
  display: none;
}
[data-theme="light"] .theme-toggle .icon-sun {
  display: block;
}
[data-theme="light"] .theme-knob {
  transform: translateX(22px);
  background: #e9ddd1;
  color: #8a6a57;
}
[data-theme="light"] .theme-toggle:hover .theme-knob {
  background: #9e5635;
  color: #fff;
}
[data-theme="light"] {
  color-scheme: light;
  --ink: #2b201b;
  --dark: #f7f5f0;
  --cream: #fffdfa;
}
[data-theme="light"] body {
  background: #fffdfa;
  color: #2b201b;
}
[data-theme="light"] .logo-for-light {
  display: block !important;
}
[data-theme="light"] .logo-for-dark {
  display: none !important;
}
[data-theme="light"] .header,
[data-theme="light"] footer {
  background: #fffdfa;
  color: #2b201b;
  border-color: #ded1c5;
}
[data-theme="light"] .header nav a {
  color: #4d3930;
}
[data-theme="light"] .header nav a:hover {
  color: #b8623f;
}
[data-theme="light"] .header-cta {
  color: #75452d;
  border-color: #bd9273;
}
[data-theme="light"] .header-cta:hover {
  color: #fff;
  background: #9e5635;
}
[data-theme="light"] .theme-toggle {
  border-color: #e0d3c7;
  background: #9e563508;
}
[data-theme="light"] .theme-toggle:hover {
  border-color: #9e563580;
}
[data-theme="light"] .menu-lines i {
  background: #9e5635;
}
[data-theme="light"] .menu-toggle:hover .menu-lines i,
[data-theme="light"] .menu-toggle[aria-expanded="true"] .menu-lines i {
  background: #ce6842;
}
[data-theme="light"] .checker,
[data-theme="light"] .checker-dark {
  background-color: #f7f1e9;
  background-image:
    linear-gradient(#6d4b2516 1px, transparent 1px),
    linear-gradient(90deg, #6d4b2516 1px, transparent 1px);
}
[data-theme="light"] .hero,
[data-theme="light"] .statement,
[data-theme="light"] .contact {
  color: #2b201b;
}
[data-theme="light"] .hero-copy > p,
[data-theme="light"] .contact p {
  color: #66584e;
}
[data-theme="light"] .hero-foot {
  color: #816d5d;
}
[data-theme="light"] .hero-foot .line {
  background: #9e8c7b;
}
[data-theme="light"] .eyebrow,
[data-theme="light"] .statement .section-index,
[data-theme="light"] .contact .section-index {
  color: #a75531;
}
[data-theme="light"] .hero h1 em,
[data-theme="light"] .statement em,
[data-theme="light"] .contact h2 em {
  color: #bc6740;
}
[data-theme="light"] .text-link {
  color: #8b4d2e;
}
[data-theme="light"] .contact-spark {
  opacity: 0.13;
}
[data-theme="light"] .showcase {
  background: #efe6dc;
  color: #2b201b;
}
[data-theme="light"] .showcase-copy > p,
[data-theme="light"] .showcase-note p {
  color: #69594e;
}
[data-theme="light"] .showcase-note a {
  color: #9d512e;
}
[data-theme="light"] .footer-bottom {
  border-color: #d9c9ba;
}
[data-theme="light"] .footer-top a:last-child {
  color: #96502e;
}
[data-theme="light"] .button-dark {
  background: #9e5635;
  color: white;
}
[data-theme="light"] .email-link {
  border-color: #9e6f54;
}
@media (max-width: 1200px) {
  [data-theme="light"] .header nav {
    background: #fffdfa;
    border-color: #d9c9ba;
  }
}
@media (max-width: 600px) {
  .brand-separator {
    width: 18px;
  }
  .brand-separator img {
    width: 18px;
  }
}
[data-theme="light"] .button-primary {
  color: #2b201b;
}

/* Conteúdo mais direto e símbolo tipográfico discreto. */
.contact-spark {
  font:
    500 185px/1 "Comfortaa",
    sans-serif;
  width: auto;
  height: auto;
  right: 4%;
  top: 26%;
  color: #e8a34a24;
  opacity: 1;
  white-space: nowrap;
  transform: rotate(-12deg);
}
[data-theme="light"] .contact-spark {
  color: #b9653b33;
  opacity: 1;
}
.footer-main {
  display: grid;
  grid-template-columns: minmax(280px, 1.4fr) minmax(140px, 0.6fr) minmax(
      260px,
      1fr
    );
  gap: 8%;
  padding: 20px 0 65px;
}
.footer-main img {
  width: 150px;
  max-width: 100%;
  display: block;
  margin-bottom: 37px;
}
.footer-main h3 {
  font:
    600 17px "Comfortaa",
    sans-serif;
  color: #f3e9df;
  margin: 0 0 19px;
}
.footer-about p {
  max-width: 385px;
  font-size: 14px;
  line-height: 1.75;
  margin: 0;
}
.footer-links,
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
}
.footer-links h3,
.footer-contact h3 {
  margin-bottom: 6px;
}
.footer-main a:not(:has(img)) {
  font-size: 14px;
  line-height: 1.5;
  transition: color 0.3s;
}
.footer-main a:hover {
  color: var(--orange);
}
.footer-bottom a {
  color: #e2b07d;
}
[data-theme="light"] .footer-main h3 {
  color: #33241d;
}
[data-theme="light"] .footer-main a:hover,
[data-theme="light"] .footer-bottom a {
  color: #9a542e;
}
@media (max-width: 800px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 45px;
  }
  .footer-about {
    grid-column: span 2;
  }
  .contact-spark {
    right: -4%;
    font-size: 135px;
  }
}
@media (max-width: 600px) {
  .contact-spark {
    font-size: 100px;
    right: -7%;
    top: 23%;
  }
  .footer-main {
    grid-template-columns: 1fr;
    gap: 38px;
    padding-bottom: 48px;
  }
  .footer-about {
    grid-column: auto;
  }
  .footer-main img {
    margin-bottom: 24px;
  }
}
/* Xadrez mais amplo, com a mesma delicadeza das linhas. */
.checker,
.checker-dark {
  background-size: 84px 84px;
}
@media (max-width: 600px) {
  .checker,
  .checker-dark {
    background-size: 64px 64px;
  }
}

.contact {
  display: block;
  min-height: 0;
}
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 460px);
  gap: 8%;
  align-items: center;
  padding: 90px 8%;
}
.contact-inner {
  padding: 0;
  max-width: 750px;
}
.contact h2 {
  font-size: clamp(52px, 5.5vw, 85px);
  margin: 0 0 25px;
}
.contact-actions {
  margin-top: 35px;
}
.contact-form {
  background: #f7f3ec;
  color: #30231d;
  padding: 32px;
  border: 1px solid #d5bba2;
  box-shadow: 16px 16px 0 #e8a34a17;
  display: flex;
  flex-direction: column;
}
.contact-form h3 {
  font:
    600 27px "Comfortaa",
    sans-serif;
  letter-spacing: -0.045em;
  margin: 0 0 7px;
}
.contact-form p {
  color: #786c63;
  font-size: 14px;
  margin: 0 0 22px;
}
.contact-form label {
  font-size: 13px;
  font-weight: 700;
  margin: 13px 0 8px;
}
.contact-form input,
.contact-form textarea {
  font:
    16px "Comfortaa",
    sans-serif;
  color: #30231d;
  background: white;
  border: 1px solid #ccbdb0;
  border-radius: 3px;
  padding: 13px 14px;
  width: 100%;
  outline: none;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #b5653d;
  box-shadow: 0 0 0 3px #e8a34a33;
}
.contact-form textarea {
  min-height: 125px;
}
.contact-form button {
  border: 0;
  cursor: pointer;
  margin-top: 24px;
  width: 100%;
}
.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.footer-contact svg {
  width: 21px;
  height: 21px;
  flex: none;
  color: var(--orange);
}
[data-theme="light"] .footer-contact svg {
  color: #9a542e;
}
[data-theme="light"] .contact-form {
  background: #fffdfa;
  border-color: #dec9b8;
  box-shadow: 16px 16px 0 #ce684217;
}
@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 45px;
    padding: 80px 7%;
  }
  .contact-form {
    max-width: 600px;
  }
}
@media (max-width: 600px) {
  .contact-layout {
    padding: 75px 6%;
  }
  .contact-form {
    padding: 24px;
  }
  .contact h2 {
    font-size: clamp(48px, 11vw, 70px);
  }
  .footer-contact a {
    overflow-wrap: anywhere;
  }
}
/* Cantos inspirados nas curvas da marca. */
.header-cta,
.theme-toggle,
.button {
  border-radius: 12px;
}
.contact-form {
  border-radius: 18px;
}
.showcase-window {
  border-radius: 14px;
}
.contact-form input,
.contact-form textarea {
  border-radius: 11px;
}
.contact-form textarea {
  resize: none;
}
.academy-stats div,
.academy-graph {
  border-radius: 9px;
}
.showcase-sticker {
  border-radius: 8px;
}
.window-bar {
  border-radius: 7px;
}

.button {
  justify-content: center;
}
.header-cta {
  text-align: center;
}
/* Interação dos botões: brilho suave, elevação curta e resposta ao clique. */
.button,
.header-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 0.42s cubic-bezier(0.2, 0.75, 0.25, 1),
    box-shadow 0.42s ease,
    background-color 0.42s ease,
    border-color 0.42s ease,
    color 0.42s ease;
}
.button-primary,
.button-dark {
  background-image: linear-gradient(
    115deg,
    #e8a34a 0%,
    #f1ba70 48%,
    #d98953 100%
  );
  background-size: 180% 100%;
  background-position: 0 50%;
  transition:
    transform 0.42s cubic-bezier(0.2, 0.75, 0.25, 1),
    box-shadow 0.42s ease,
    background-position 0.65s ease,
    color 0.42s ease;
}
.button-primary:hover,
.button-dark:hover {
  background-position: 100% 50%;
  transform: translateY(-3px) scale(1.015);
  box-shadow:
    0 12px 28px rgba(206, 104, 66, 0.25),
    0 3px 8px rgba(0, 0, 0, 0.12);
}
.header-cta:hover {
  transform: translateY(-3px) scale(1.015);
  box-shadow: 0 10px 25px rgba(232, 163, 74, 0.2);
}
.button:active,
.header-cta:active {
  transform: translateY(0) scale(0.985);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.14);
}
/* Foco por teclado igual em todo o site: o mesmo anel do botão de tema. */
:focus-visible,
.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
  outline: 3px solid #ce6842;
  outline-offset: 4px;
}
:where(nav a, footer a, .brand, .text-link, .email-link):focus-visible {
  border-radius: 6px;
}
[data-theme="light"] .button-dark {
  background-image: linear-gradient(
    115deg,
    #9e5635 0%,
    #bc7048 48%,
    #81432d 100%
  );
  color: #fff;
}
[data-theme="light"] .header-cta:hover {
  box-shadow: 0 10px 25px rgba(158, 86, 53, 0.18);
}
@media (prefers-reduced-motion: reduce) {
  .button,
  .header-cta,
  .button-primary,
  .button-dark {
    transition: none !important;
  }
  .button:hover,
  .header-cta:hover {
    transform: none !important;
  }
}
/* Hover com reflexo luminoso único e contorno refinado. */
.button-primary,
.button-dark {
  background-image: linear-gradient(125deg, #e8a34a, #e4a057 52%, #d88452);
  background-size: 100% 100%;
  border: 1px solid rgba(255, 223, 178, 0.48);
}
.button::after,
.header-cta::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: -45%;
  bottom: -45%;
  left: -75%;
  width: 38%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.34),
    transparent
  );
  transform: skewX(-23deg);
  transition: left 0.95s cubic-bezier(0.2, 0.65, 0.25, 1);
  pointer-events: none;
}
.button:hover::after,
.header-cta:hover::after {
  left: 145%;
}
.button-primary:hover,
.button-dark:hover {
  background-position: 0 50%;
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(232, 163, 74, 0.55),
    0 13px 28px rgba(206, 104, 66, 0.23),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.header-cta:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(232, 163, 74, 0.38),
    0 12px 28px rgba(232, 163, 74, 0.17);
}
.button:active,
.header-cta:active {
  transform: translateY(0) scale(0.985);
}
[data-theme="light"] .button-dark {
  background-image: linear-gradient(125deg, #9e5635, #b56a43 52%, #88452f);
  border-color: #c27d56;
}
@media (prefers-reduced-motion: reduce) {
  .button::after,
  .header-cta::after {
    display: none;
  }
}

/* Direção visual inspirada na referência: tipografia forte, faixa gráfica e botões cápsula. */
.brand-ribbon {
  height: 4px;
  background: #e8a34a;
}
.hero h1 {
  font-weight: 700;
  letter-spacing: -0.082em;
}
.section h2,
.showcase h2,
.contact h2 {
  font-weight: 700;
}
.showcase {
  background: #3a241d;
}
.showcase-note {
  border-color: #e8a34a;
}
.button,
.header-cta,
.theme-toggle {
  border-radius: 999px;
}
.button-primary,
.button-dark {
  background: #e8a34a;
  background-image: none;
  color: #241a16;
  border: 1.5px solid #e8a34a;
  box-shadow: inset 0 1px 0 #ffe4ba55;
}
.button-primary:hover,
.button-dark:hover {
  background: #fff2dc;
  background-image: none;
  color: #3a241d;
  border-color: #e8a34a;
  transform: translateY(-3px);
  box-shadow:
    0 10px 0 rgba(206, 104, 66, 0.24),
    0 17px 32px rgba(0, 0, 0, 0.14);
}
.header-cta {
  border: 1.5px solid #e8a34a;
}
.header-cta:hover {
  background: #e8a34a;
  color: #241a16;
  box-shadow: 0 7px 0 rgba(206, 104, 66, 0.35);
}
.button::after,
.header-cta::after {
  display: none;
}
[data-theme="light"] .brand-ribbon {
  background: #9e5635;
}
[data-theme="light"] .showcase {
  background: #f1e3d4;
}
[data-theme="light"] .button-primary {
  background: #ce6842;
  color: #fff;
  border-color: #ce6842;
}
[data-theme="light"] .button-primary:hover {
  background: #fff4e7;
  color: #763b27;
  border-color: #ce6842;
  box-shadow:
    0 10px 0 rgba(206, 104, 66, 0.2),
    0 17px 32px rgba(58, 36, 29, 0.12);
}
[data-theme="light"] .button-dark {
  background: #9e5635;
  background-image: none;
  color: #fff;
  border-color: #9e5635;
}
[data-theme="light"] .button-dark:hover {
  background: #fff4e7;
  background-image: none;
  color: #763b27;
  border-color: #9e5635;
}
/* Cabeçalho permanece visível durante a navegação. */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 8px 24px rgba(20, 13, 10, 0.12);
}
[data-theme="light"] .header {
  box-shadow: 0 8px 24px rgba(58, 36, 29, 0.08);
}
/* Vidro fosco só quando o cabeçalho está fixo sobre o conteúdo. */
.header {
  transition:
    background-color 0.35s ease,
    border-color 0.35s ease;
}
.header.is-stuck {
  background: rgba(23, 19, 19, 0.75);
  border-bottom-color: #ffffff14;
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
}
[data-theme="light"] .header.is-stuck {
  background: rgba(255, 253, 250, 0.75);
  border-bottom-color: #ded1c599;
}
html {
  scroll-padding-top: 96px;
}
@media (max-width: 1200px) {
  html {
    scroll-padding-top: 80px;
  }
}
/* Transição mais calma no botão da seção de contato. */
.contact .button-dark {
  transition:
    background-color 0.9s ease,
    color 0.9s ease,
    border-color 0.9s ease,
    box-shadow 0.9s ease,
    transform 0.75s cubic-bezier(0.22, 0.61, 0.36, 1);
}
/* Os dois botões de contato mostram o contorno somente no hover. */
.contact .button-dark,
.contact-form .button-dark {
  border-color: transparent;
  box-shadow: none;
  transition:
    background-color 0.9s ease,
    color 0.9s ease,
    border-color 0.9s ease,
    box-shadow 0.9s ease,
    transform 0.75s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.contact .button-dark:hover,
.contact-form .button-dark:hover {
  border-color: #e8a34a;
  box-shadow:
    0 0 0 1px rgba(232, 163, 74, 0.45),
    0 10px 0 rgba(206, 104, 66, 0.2),
    0 17px 32px rgba(0, 0, 0, 0.12);
}
[data-theme="light"] .contact .button-dark,
[data-theme="light"] .contact-form .button-dark {
  border-color: transparent;
  box-shadow: none;
}
[data-theme="light"] .contact .button-dark:hover,
[data-theme="light"] .contact-form .button-dark:hover {
  border-color: #ce6842;
  box-shadow:
    0 0 0 1px rgba(206, 104, 66, 0.38),
    0 10px 0 rgba(206, 104, 66, 0.16),
    0 17px 32px rgba(58, 36, 29, 0.1);
}
@media (prefers-reduced-motion: reduce) {
  .contact .button-dark,
  .contact-form .button-dark {
    transition: none !important;
  }
}

[data-theme="light"] .cursor-glow {
  width: 440px;
  height: 440px;
  background: radial-gradient(
    circle,
    rgba(206, 104, 66, 0.15) 0%,
    rgba(232, 163, 74, 0.08) 38%,
    transparent 70%
  );
}
/* CTA do cabeçalho acompanha o botão principal de contato. */
.header .header-cta {
  background: #e8a34a;
  color: #241a16;
  border: 1.5px solid transparent;
  box-shadow: none;
  transition:
    background-color 0.9s ease,
    color 0.9s ease,
    border-color 0.9s ease,
    box-shadow 0.9s ease,
    transform 0.75s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.header .header-cta:hover {
  background: #fff2dc;
  color: #3a241d;
  border-color: #e8a34a;
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(232, 163, 74, 0.45),
    0 10px 0 rgba(206, 104, 66, 0.2),
    0 17px 32px rgba(0, 0, 0, 0.12);
}
[data-theme="light"] .header .header-cta {
  background: #9e5635;
  color: #fff;
  border-color: transparent;
  box-shadow: none;
}
[data-theme="light"] .header .header-cta:hover {
  background: #fff4e7;
  color: #763b27;
  border-color: #ce6842;
  box-shadow:
    0 0 0 1px rgba(206, 104, 66, 0.38),
    0 10px 0 rgba(206, 104, 66, 0.16),
    0 17px 32px rgba(58, 36, 29, 0.1);
}
@media (prefers-reduced-motion: reduce) {
  .header .header-cta {
    transition: none !important;
  }
}
/* Contorno de um pixel, sem somar a borda do botão. */
.header .header-cta:hover,
.contact .button-dark:hover,
.contact-form .button-dark:hover {
  border-color: transparent;
  box-shadow:
    0 0 0 1px rgba(232, 163, 74, 0.55),
    0 11px 24px rgba(0, 0, 0, 0.13);
}
[data-theme="light"] .header .header-cta:hover,
[data-theme="light"] .contact .button-dark:hover,
[data-theme="light"] .contact-form .button-dark:hover {
  border-color: transparent;
  box-shadow:
    0 0 0 1px rgba(206, 104, 66, 0.55),
    0 11px 24px rgba(58, 36, 29, 0.12);
}
/* Links de texto compartilham a mesma resposta ao hover. */
.text-link,
.email-link {
  transition:
    color 0.5s ease,
    border-color 0.5s ease;
}
.text-link {
  border-bottom-color: #9c7862;
}
.text-link:hover,
.email-link:hover {
  color: #e8a34a;
  border-bottom-color: #e8a34a;
}
[data-theme="light"] .text-link:hover,
[data-theme="light"] .email-link:hover {
  color: #a95532;
  border-bottom-color: #a95532;
}

.hero .hero-cta {
  border: 1.5px solid transparent;
  box-shadow: none;
  transition:
    background-color 0.9s ease,
    color 0.9s ease,
    border-color 0.9s ease,
    box-shadow 0.9s ease,
    transform 0.75s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.hero .hero-cta:hover {
  background: #fff2dc;
  color: #3a241d;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(232, 163, 74, 0.55),
    0 11px 24px rgba(0, 0, 0, 0.13);
}
[data-theme="light"] .hero .hero-cta {
  background: #9e5635;
  color: #fff;
  border-color: transparent;
  box-shadow: none;
}
[data-theme="light"] .hero .hero-cta:hover {
  background: #fff4e7;
  color: #763b27;
  border-color: transparent;
  box-shadow:
    0 0 0 1px rgba(206, 104, 66, 0.55),
    0 11px 24px rgba(58, 36, 29, 0.12);
}
@media (prefers-reduced-motion: reduce) {
  .hero .hero-cta {
    transition: none !important;
  }
}
/* Mesmo comportamento para os CTAs do cabeçalho e contato. */
.header .header-cta:hover,
.contact .button-dark:hover {
  background: #fff2dc;
  color: #3a241d;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(232, 163, 74, 0.55),
    0 11px 24px rgba(0, 0, 0, 0.13);
}
[data-theme="light"] .header .header-cta:hover,
[data-theme="light"] .contact .button-dark:hover {
  background: #fff4e7;
  color: #763b27;
  border-color: transparent;
  box-shadow:
    0 0 0 1px rgba(206, 104, 66, 0.55),
    0 11px 24px rgba(58, 36, 29, 0.12);
}
/* Link de exploração com a tipografia e a linha do contato por e-mail. */
.text-link,
.email-link {
  font-size: 14px;
  font-weight: 400;
  border-bottom: 1px solid #9c7862;
  padding-bottom: 8px;
  transition:
    color 0.5s ease,
    border-bottom-color 0.5s ease;
}
.text-link:hover,
.email-link:hover {
  color: #e8a34a;
  border-bottom-color: #e8a34a;
}
[data-theme="light"] .text-link {
  color: inherit;
}
[data-theme="light"] .text-link:hover,
[data-theme="light"] .email-link:hover {
  color: #a95532;
  border-bottom-color: #a95532;
}

/* Régua de vantagens: faixa reta abaixo do hero, rolando devagar. */
.ruler {
  position: relative;
  z-index: 5;
  overflow: hidden;
  background: #e8a34a;
  color: #241a16;
}
.tape-track {
  display: flex;
  width: max-content;
  /* !important vence a regra global de prefers-reduced-motion. */
  animation: tape-scroll var(--tape-duration, 60s) linear infinite !important;
}
.ruler:hover .tape-track {
  animation-play-state: paused !important;
}
.tape-group {
  display: flex;
  align-items: center;
  gap: 56px;
  flex: none;
  padding: 18px 56px 18px 0;
  font:
    700 14px "Comfortaa",
    sans-serif;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.ruler-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.ruler-item svg {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@keyframes tape-scroll {
  to {
    transform: translateX(-50%);
  }
}
@media (max-width: 600px) {
  .tape-group {
    gap: 36px;
    padding: 14px 36px 14px 0;
    font-size: 12px;
  }
  .ruler-item svg {
    width: 17px;
    height: 17px;
  }
}

/* Hero só com texto, centralizado. */
.hero {
  grid-template-columns: 1fr;
  align-content: center;
  justify-items: center;
  text-align: center;
}
.hero-copy {
  max-width: 900px;
  padding: 110px 7% clamp(100px, 9vw, 160px);
}
.hero-copy > p {
  margin-left: auto;
  margin-right: auto;
}
.hero-actions {
  justify-content: center;
}
@media (max-width: 600px) {
  .hero-copy {
    padding: 72px 6% 110px;
  }
  .hero-actions {
    align-items: center;
  }
}

/* Ordem do cabeçalho: navegação centralizada, CTA e interruptor de tema na ponta direita. */
.header nav {
  margin: 0 auto;
}
.header nav a {
  font-size: 15px;
}
.header .header-cta {
  margin: 0;
}
/* Abaixo de 1440px o menu centralizado na tela encostaria no CTA; volta a ocupar o espaço livre. */
@media (min-width: 1440px) {
  .header nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  .header .header-cta {
    margin-left: auto;
  }
}
.header > .theme-toggle {
  margin: 0 0 0 32px;
}
.nav-theme {
  display: none;
}
/* CTA dentro do menu mobile: desliga o preenchimento de texto e o sublinhado dos links do menu. */
.header nav a.nav-cta,
[data-theme="light"] .header nav a.nav-cta {
  display: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-text-fill-color: currentColor;
}
.header nav a.nav-cta::after {
  display: none;
}
@media (max-width: 1200px) {
  html .header > .header-cta,
  html[data-theme="light"] .header > .header-cta,
  .header > .theme-toggle {
    display: none;
  }
  .menu-toggle {
    margin-left: auto;
  }
  .header nav a.nav-cta,
  [data-theme="light"] .header nav a.nav-cta {
    display: inline-flex;
    align-self: stretch;
    margin: 12px 0 14px;
    padding: 13px 18px;
    font-size: 13px;
  }
  .nav-theme {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
    padding: 16px 0 6px;
    border-top: 1px solid #ffffff20;
    font-size: 13px;
    color: #e8e2db;
  }
  [data-theme="light"] .nav-theme {
    color: #4d3930;
    border-color: #d9c9ba;
  }
}

/* Barra de rolagem acompanhando o tema. */
:root {
  --scroll-track: #171313;
  --scroll-thumb: #4a3f3a;
  --scroll-thumb-hover: #e8a34a;
}
[data-theme="light"] {
  --scroll-track: #f3ece4;
  --scroll-thumb: #c9b3a1;
  --scroll-thumb-hover: #9e5635;
}
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}
::-webkit-scrollbar-track {
  background: var(--scroll-track);
}
::-webkit-scrollbar-thumb {
  background: var(--scroll-thumb);
  border: 3px solid var(--scroll-track);
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--scroll-thumb-hover);
}
::-webkit-scrollbar-corner {
  background: var(--scroll-track);
}
/* Firefox; no Chrome, scrollbar-color desativaria os pseudo-elementos acima. */
@supports not selector(::-webkit-scrollbar) {
  html {
    scrollbar-color: var(--scroll-thumb) var(--scroll-track);
  }
}

/* CTAs: a cor do hover entra da esquerda para a direita, com elevação leve e relevo discreto. */
.header .header-cta,
.hero .hero-cta,
.contact .button-dark,
.contact-form .button-dark,
.services .slide-cta,
.showcase .case-cta {
  --cta-base: #e8a34a;
  --cta-fill: #fff2dc;
  --cta-text: #241a16;
  --cta-text-hover: #3a241d;
  --cta-ring: rgba(232, 163, 74, 0.55);
  --cta-edge: rgba(196, 122, 69, 0.35);
  --cta-glow: rgba(0, 0, 0, 0.12);
}
[data-theme="light"] .header .header-cta,
[data-theme="light"] .hero .hero-cta,
[data-theme="light"] .contact .button-dark,
[data-theme="light"] .contact-form .button-dark,
[data-theme="light"] .services .slide-cta,
[data-theme="light"] .showcase .case-cta {
  --cta-base: #9e5635;
  --cta-fill: #fff4e7;
  --cta-text: #fff;
  --cta-text-hover: #763b27;
  --cta-ring: rgba(206, 104, 66, 0.55);
  --cta-edge: rgba(214, 154, 116, 0.35);
  --cta-glow: rgba(58, 36, 29, 0.1);
}
.header .header-cta,
.hero .hero-cta,
.contact .button-dark,
.contact-form .button-dark,
[data-theme="light"] .header .header-cta,
[data-theme="light"] .hero .hero-cta,
[data-theme="light"] .contact .button-dark,
[data-theme="light"] .contact-form .button-dark,
.services .slide-cta,
[data-theme="light"] .services .slide-cta,
.showcase .case-cta,
[data-theme="light"] .showcase .case-cta {
  background-color: var(--cta-base);
  background-image: linear-gradient(
    90deg,
    var(--cta-fill) 50%,
    var(--cta-base) 50%
  );
  background-size: 201% 100%;
  background-position: 100% 0;
  background-origin: border-box;
  background-repeat: no-repeat;
  color: var(--cta-text);
  box-shadow:
    0 0 0 1px transparent,
    0 0 0 transparent,
    0 0 0 transparent;
  /* !important vence as regras de prefers-reduced-motion. */
  transition:
    background-position 0.3s cubic-bezier(0.65, 0, 0.35, 1),
    color 0.15s ease 0.05s,
    border-color 0.55s ease,
    box-shadow 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1) !important;
}
.header .header-cta:hover,
.hero .hero-cta:hover,
.contact .button-dark:hover,
.contact-form .button-dark:hover,
[data-theme="light"] .header .header-cta:hover,
[data-theme="light"] .hero .hero-cta:hover,
[data-theme="light"] .contact .button-dark:hover,
[data-theme="light"] .contact-form .button-dark:hover,
.services .slide-cta:hover,
[data-theme="light"] .services .slide-cta:hover,
.showcase .case-cta:hover,
[data-theme="light"] .showcase .case-cta:hover {
  background-color: var(--cta-fill);
  background-image: linear-gradient(
    90deg,
    var(--cta-fill) 50%,
    var(--cta-base) 50%
  );
  background-size: 201% 100%;
  background-position: 0 0;
  background-origin: border-box;
  background-repeat: no-repeat;
  color: var(--cta-text-hover);
  transform: translateY(-2px) !important;
  box-shadow:
    0 0 0 1px var(--cta-ring),
    0 4px 0 var(--cta-edge),
    0 14px 26px var(--cta-glow);
}
.header .header-cta:active,
.hero .hero-cta:active,
.contact .button-dark:active,
.contact-form .button-dark:active,
[data-theme="light"] .header .header-cta:active,
[data-theme="light"] .hero .hero-cta:active,
[data-theme="light"] .contact .button-dark:active,
[data-theme="light"] .contact-form .button-dark:active,
.services .slide-cta:active,
[data-theme="light"] .services .slide-cta:active,
.showcase .case-cta:active,
[data-theme="light"] .showcase .case-cta:active {
  transform: translateY(0) !important;
  box-shadow:
    0 0 0 1px var(--cta-ring),
    0 1px 0 var(--cta-edge),
    0 5px 10px var(--cta-glow);
  transition-duration: 0.15s !important;
}
/* Mesmas medidas do "Vamos conversar" em todos os CTAs. */
.header .header-cta,
.hero .hero-cta,
.contact .button-dark,
.contact-form .button-dark,
.services .slide-cta,
.showcase .case-cta,
[data-theme="light"] .header .header-cta,
[data-theme="light"] .hero .hero-cta,
[data-theme="light"] .contact .button-dark,
[data-theme="light"] .contact-form .button-dark,
[data-theme="light"] .services .slide-cta,
[data-theme="light"] .showcase .case-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font:
    700 13px / normal "Comfortaa",
    sans-serif;
  letter-spacing: normal;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
}
.header .header-cta:hover,
.hero .hero-cta:hover,
.contact .button-dark:hover,
.contact-form .button-dark:hover,
.services .slide-cta:hover,
.showcase .case-cta:hover,
[data-theme="light"] .header .header-cta:hover,
[data-theme="light"] .hero .hero-cta:hover,
[data-theme="light"] .contact .button-dark:hover,
[data-theme="light"] .contact-form .button-dark:hover,
[data-theme="light"] .services .slide-cta:hover,
[data-theme="light"] .showcase .case-cta:hover {
  border-color: transparent;
}
@media (max-width: 600px) {
  .header .header-cta,
  [data-theme="light"] .header .header-cta {
    padding: 11px;
    font-size: 11px;
  }
}

/* Links de texto: a nova cor preenche texto e linha da esquerda para a direita. */
.text-link,
.email-link {
  --link-fill: #e8a34a;
  position: relative;
  background-image: linear-gradient(
    90deg,
    var(--link-fill) 50%,
    currentColor 50%
  );
  background-size: 200% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  /* !important vence as regras de prefers-reduced-motion. */
  transition: background-position 0.6s cubic-bezier(0.22, 1, 0.36, 1) !important;
}
[data-theme="light"] .text-link,
[data-theme="light"] .email-link {
  --link-fill: #a95532;
}
.text-link::after,
.email-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--link-fill);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1) !important;
}
.text-link:hover,
.email-link:hover {
  background-position: 0 0;
}
.text-link:hover::after,
.email-link:hover::after {
  transform: scaleX(1);
}
/* Linha na cor do texto; no hover a cor base fica fixa e só o preenchimento muda. */
.text-link,
.email-link,
[data-theme="light"] .text-link,
[data-theme="light"] .email-link {
  border-bottom-color: currentColor;
}
.text-link:hover,
.email-link:hover,
[data-theme="light"] .text-link:hover,
[data-theme="light"] .email-link:hover {
  color: inherit;
  border-bottom-color: currentColor;
}

/* Menu, rodapé e redes sociais com o mesmo preenchimento dos links de texto. */
.header nav a,
.footer-links a,
.footer-contact a span,
.footer-bottom a {
  --link-fill: #e8a34a;
  position: relative;
  background-image: linear-gradient(
    90deg,
    var(--link-fill) 50%,
    currentColor 50%
  );
  background-size: 200% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  /* !important vence as regras de prefers-reduced-motion. */
  transition: background-position 0.6s cubic-bezier(0.22, 1, 0.36, 1) !important;
}
[data-theme="light"] .header nav a,
[data-theme="light"] .footer-links a,
[data-theme="light"] .footer-contact a span {
  --link-fill: #a95532;
}
.footer-bottom a {
  --link-fill: #f3e9df;
}
[data-theme="light"] .footer-bottom a {
  --link-fill: #33241d;
}
.header nav a::after,
.footer-links a::after,
.footer-contact a span::after,
.footer-bottom a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: var(--link-fill);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1) !important;
}
.header nav a:hover,
.footer-links a:hover,
.footer-contact a:hover span,
.footer-bottom a:hover {
  background-position: 0 0;
}
.header nav a:hover::after,
.footer-links a:hover::after,
.footer-contact a:hover span::after,
.footer-bottom a:hover::after {
  transform: scaleX(1);
}
/* A cor base fica fixa no hover; quem muda é o preenchimento. */
.header nav a:hover {
  color: #e8e2db;
}
[data-theme="light"] .header nav a:hover {
  color: #4d3930;
}
.footer-main a:hover,
[data-theme="light"] .footer-main a:hover {
  color: inherit;
}
@media (max-width: 1200px) {
  .header nav a {
    align-self: flex-start;
    padding: 0;
    margin: 13px 0;
  }
}
/* Serviços: texto à esquerda e grade de cards simples (ícone + nome) à direita. */
/* O botão é item da grade: abaixo do texto no computador, abaixo dos cards no celular. */
.services-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  grid-template-areas:
    "copy cards"
    "cta cards";
  column-gap: 7%;
  row-gap: 0;
}
.services-copy {
  grid-area: copy;
  align-self: end;
}
.services-grid {
  grid-area: cards;
  align-self: center;
}
.services-cta {
  grid-area: cta;
  align-self: start;
}
.services-eyebrow {
  display: inline-block;
  font:
    700 12px "Comfortaa",
    sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rust);
}
.services-copy p {
  max-width: 420px;
  margin: 26px 0 0;
  color: #6c635d;
  font-size: 17px;
  line-height: 1.7;
}
.services .slide-cta {
  margin-top: 26px;
  border-color: transparent;
}
.wheel-timer {
  display: block;
  height: 2px;
  overflow: hidden;
  border-radius: 2px;
  background: #e8e1d9;
}
.wheel-timer span {
  display: block;
  height: 100%;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
}
/* !important vence as regras de prefers-reduced-motion. */
.wheel-timer.is-running span {
  animation: wheel-timer var(--wheel-delay, 5s) linear forwards !important;
}
.wheel-timer.is-paused span {
  animation-play-state: paused !important;
}
@keyframes wheel-timer {
  to {
    transform: scaleX(1);
  }
}
.services-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
}
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 180px;
  padding: 28px 16px;
  overflow: hidden;
  border: 1px solid #eadfd4;
  border-radius: 22px;
  text-align: center;
  box-shadow:
    0 1px 0 rgba(58, 36, 29, 0.04),
    0 12px 26px -16px rgba(58, 36, 29, 0.22);
  /* !important vence as regras de prefers-reduced-motion. */
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease,
    box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1) !important;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: #e3bf97;
  box-shadow:
    0 2px 0 rgba(206, 104, 66, 0.12),
    0 24px 40px -18px rgba(58, 36, 29, 0.38);
}
.service-card:hover::after {
  transform: scaleX(1);
}
.service-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #9e5635;
  transition:
    background-color 0.35s ease,
    color 0.35s ease,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1) !important;
}
.service-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-card:hover .service-icon {
  background: var(--orange);
  color: #3a241d;
  transform: rotate(-6deg) scale(1.06);
}
.service-card h3 {
  margin: 0;
  color: var(--ink);
  font:
    700 16px/1.25 "Comfortaa",
    sans-serif;
  letter-spacing: -0.02em;
}
[data-theme="light"] .services-eyebrow {
  color: #a75531;
}
[data-theme="light"] .wheel-timer {
  background: #eadfd4;
}
[data-theme="light"] .wheel-timer span {
  background: #9e5635;
}
[data-theme="light"] .service-card:hover {
  border-color: #d9a98a;
}
[data-theme="light"] .service-card:hover .service-icon {
  background: #9e5635;
  color: #fff;
}
@media (max-width: 1200px) {
  .services-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "cards"
      "cta";
  }
  .services-grid {
    margin-top: 48px;
  }
  .services .slide-cta {
    margin-top: 32px;
  }
}
@media (max-width: 700px) {
  .services-copy p {
    font-size: 16px;
  }
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .service-card {
    min-height: 150px;
    padding: 22px 12px;
    border-radius: 18px;
  }
}

/* Projetos em órbita: detalhes do case à esquerda, projetos girando num arco à direita. */
.showcase {
  --section-bg: #3a241d;
  --orbit-line: #35211b;
  /* Halo sólido (laranja a 32% sobre o fundo) para esconder a linha sob o ponto ativo. */
  --orbit-halo: #745337;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
}
.showcase-eyebrow {
  display: inline-block;
  margin-bottom: 22px;
  font:
    700 12px "Comfortaa",
    sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
}
/* Card do case à direita do arco: miniatura do site em cima, descrição embaixo. */
.case-panels {
  position: absolute;
  z-index: 1;
  left: calc(var(--arc-x) + var(--card-gap));
  top: var(--cy);
  width: var(--card-w);
  display: grid;
  /* A coluna fica na largura do texto mesmo com a prévia mais larga transbordando. */
  grid-template-columns: minmax(0, 1fr);
  transform: translateY(-50%);
}
.case-panel {
  grid-area: 1 / 1;
  align-self: center;
  opacity: 0;
  transform: translateY(14px) scale(0.98);
  pointer-events: none;
  /* !important vence as regras de prefers-reduced-motion. */
  transition:
    opacity 0.35s ease,
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1) !important;
}
.case-panel.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  transition-delay: 0.2s !important;
}
/* O texto sobe um pouco sobre o final esmaecido da miniatura. */
.case-body {
  position: relative;
  /* Ocupa só a parte visível da miniatura (até a borda da tela) para centralizar sob ela. */
  width: calc(100cqw - var(--arc-x) - var(--card-gap));
  margin-top: -22px;
  text-align: center;
}
.case-panel h3 {
  margin: 0 0 10px;
  font:
    700 clamp(26px, 2.4vw, 32px)/1.1 "Comfortaa",
    sans-serif;
  letter-spacing: -0.04em;
}
.case-panel p {
  max-width: var(--card-w);
  margin: 0 auto 20px;
  color: #c1b5ab;
  font-size: 16px;
  line-height: 1.65;
}
.case-cta {
  display: inline-flex;
  align-items: center;
}
.showcase .case-cta,
[data-theme="light"] .showcase .case-cta {
  border-color: transparent;
}

/* Miniatura: tela de MacBook com a janela do navegador e o esqueleto do site. */
.case-preview {
  --site-bg: #ffffff;
  --site-ink: #2b201b;
  --site-accent: #e8a34a;
  --site-soft: #f1e9df;
  --site-media: linear-gradient(135deg, #f0b76e, #ce6842);
  position: relative;
  display: flex;
  flex-direction: column;
  /* Mais larga que o texto: vai até além da borda direita, como se entrasse na tela. */
  width: calc(100cqw - var(--arc-x) - var(--card-gap) + var(--preview-bleed));
  aspect-ratio: 16 / 10;
  overflow: hidden;
  padding: 14px 10px 0;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(180deg, #1d1d1f, #0b0b0c);
  box-shadow:
    inset 0 0 0 1px #3a3a3c,
    inset 0 1px 0 1px #5a5a5e;
  transform: translateX(60px);
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) !important;
  /* O final da miniatura se dissolve no fundo da seção, sem borda inferior reta. */
  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 62%,
    rgba(0, 0, 0, 0.35) 80%,
    rgba(0, 0, 0, 0.08) 90%,
    transparent 97%
  );
  mask-image: linear-gradient(
    to bottom,
    #000 62%,
    rgba(0, 0, 0, 0.35) 80%,
    rgba(0, 0, 0, 0.08) 90%,
    transparent 97%
  );
}
.case-panel.is-active .case-preview {
  transform: none;
}
.case-preview::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #4a4f5c, #1a1b1f 70%);
  transform: translateX(-50%);
}
.case-preview::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 58% 0 0;
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  /* O desfoque também se dissolve embaixo, para não deixar uma faixa com borda. */
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0,
    #000 35%,
    #000 70%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0,
    #000 35%,
    #000 70%,
    transparent 100%
  );
}
.preview-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  flex: none;
  height: 24px;
  padding: 0 10px;
  border-bottom: 1px solid #d4d4d6;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, #f5f5f7, #e6e6e9);
}
.preview-bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff5f57;
}
.preview-bar i:nth-child(2) {
  background: #febc2e;
}
.preview-bar i:nth-child(3) {
  background: #28c840;
}
.preview-bar span {
  flex: 0 1 50%;
  margin: 0 auto;
  padding: 0 8px;
  overflow: hidden;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
  color: #6e6e73;
  font:
    500 8px/14px -apple-system,
    "Segoe UI",
    sans-serif;
  text-align: center;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.preview-site {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  position: relative;
  padding: 10px 14px 12px;
  background: var(--site-bg);
}
/* Tinge o final do site com a cor da seção: some no fundo em vez de virar névoa clara. */
.preview-site::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 52%,
    var(--section-bg) 84%
  );
  pointer-events: none;
}
.preview-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.preview-nav b {
  width: 16px;
  height: 16px;
  border-radius: 5px;
  background: var(--site-accent);
}
.preview-nav i {
  width: 22px;
  height: 4px;
  border-radius: 2px;
  background: var(--site-soft);
}
.preview-nav i:first-of-type {
  margin-left: auto;
}
.preview-nav span {
  width: 32px;
  height: 11px;
  border-radius: 6px;
  background: var(--site-ink);
}
.preview-hero {
  flex: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 12px;
  align-items: center;
  min-height: 0;
}
.preview-copy {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.preview-copy i {
  height: 7px;
  border-radius: 3px;
  background: var(--site-ink);
}
.preview-copy i:nth-child(2) {
  width: 78%;
}
.preview-copy i.short {
  width: 60%;
  height: 4px;
  margin-top: 3px;
  background: var(--site-soft);
}
.preview-copy span {
  width: 42px;
  height: 12px;
  margin-top: 5px;
  border-radius: 6px;
  background: var(--site-accent);
}
.preview-media {
  align-self: stretch;
  border-radius: 9px;
  background: var(--site-media);
}
.preview-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.preview-cards i {
  height: 24px;
  border-radius: 6px;
  background: var(--site-soft);
}
.preview-cards i:nth-child(4) {
  display: none;
}
.case-preview--edu {
  --site-bg: #f8f7ff;
  --site-ink: #25244a;
  --site-accent: #6d5ce8;
  --site-soft: #e5e2fa;
  --site-media: linear-gradient(135deg, #a79cf5, #6d5ce8);
}
.case-preview--clinic {
  --site-bg: #f5fbfa;
  --site-ink: #173f3c;
  --site-accent: #2a9d8f;
  --site-soft: #d8eeea;
  --site-media: linear-gradient(135deg, #8fd3c8, #2a9d8f);
}
.case-preview--shop {
  --site-bg: #fbf8f5;
  --site-ink: #1c1917;
  --site-accent: #1c1917;
  --site-soft: #ece4dc;
  --site-media: linear-gradient(135deg, #e1c2ad, #8c5a44);
}
.case-preview--shop .preview-cards {
  grid-template-columns: repeat(4, 1fr);
}
.case-preview--shop .preview-cards i {
  display: block;
  height: 30px;
  background: linear-gradient(180deg, #e1c2ad, #ece4dc);
}
.case-preview--realty {
  --site-bg: #f6f8fb;
  --site-ink: #1f2a44;
  --site-accent: #d08c3c;
  --site-soft: #e1e7f0;
  --site-media: linear-gradient(135deg, #a9bfdf, #3d5a80);
}
.case-preview--food {
  --site-bg: #fff8f6;
  --site-ink: #2b2d42;
  --site-accent: #e63946;
  --site-soft: #fbe1de;
  --site-media: radial-gradient(circle at 50% 55%, #ffb4a2 0 38%, #e63946 39%);
}
.case-preview--landing {
  --site-bg: #1f1a17;
  --site-ink: #f3e9df;
  --site-accent: #e8a34a;
  --site-soft: #3a322d;
}
.case-preview--landing .preview-hero {
  grid-template-columns: 1fr;
  justify-items: center;
}
.case-preview--landing .preview-copy {
  align-items: center;
  width: 70%;
}
.case-preview--landing .preview-copy i {
  width: 100%;
}
.case-preview--landing .preview-copy i:nth-child(2) {
  width: 70%;
}
.case-preview--landing .preview-copy i.short {
  width: 85%;
}
.case-preview--landing .preview-media {
  display: none;
}
.case-timer {
  width: 180px;
  margin-top: 44px;
}
.showcase .wheel-timer {
  background: rgba(243, 233, 223, 0.15);
}

/* Órbita: arco grande que atravessa a seção de cima a baixo, com o card do case à direita. */
.case-orbit {
  --h: 960px;
  --r: 620px;
  /* Medidas em cqw para valerem igual no arco, nos nós e na largura da prévia. */
  --arc-x: 16cqw;
  --cx: calc(var(--arc-x) + var(--r));
  --cy: 50%;
  /* Arco afastado do case: o que o arco recua à esquerda vira distância até o card. */
  --card-gap: calc(clamp(110px, 9vw, 140px) + 10cqw);
  /* O texto ocupa o espaço até 48px da borda direita, limitado a 560px para manter a leitura. */
  --card-w: clamp(
    300px,
    calc(100cqw - var(--arc-x) - var(--card-gap) - 48px),
    560px
  );
  --preview-bleed: 80px;
  --orbit-ease: cubic-bezier(0.65, 0, 0.35, 1);
  container-type: inline-size;
  position: relative;
  align-self: stretch;
  min-height: var(--h);
  /* O arco é maior que a seção: corta em cima e embaixo, mas os nomes podem avançar à esquerda. */
  overflow-x: visible;
  overflow-y: clip;
  /* Só o disco da órbita e os nós pausam o autoplay, não o espaço vazio da coluna. */
  pointer-events: none;
}
.orbit-ring {
  position: absolute;
  left: calc(var(--cx) - var(--r));
  top: calc(var(--cy) - var(--r));
  pointer-events: auto;
  width: calc(var(--r) * 2);
  height: calc(var(--r) * 2);
  border: 1px solid var(--orbit-line);
  border-radius: 50%;
}
.orbit-nodes {
  list-style: none;
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
}
.orbit-node {
  --angle: 0deg;
  --dot: 12px;
  position: absolute;
  left: var(--cx);
  top: var(--cy);
  width: 0;
  height: 0;
  transform: rotate(var(--angle)) translateX(calc(var(--r) * -1))
    rotate(calc(var(--angle) * -1));
  opacity: 0;
  pointer-events: none;
  transition:
    transform 0.9s var(--orbit-ease),
    opacity 0.5s ease !important;
}
.orbit-node.is-jumping {
  transition: none !important;
}
.orbit-node.is-far {
  opacity: 0.8;
  pointer-events: auto;
}
.orbit-node.is-near {
  --dot: 14px;
  opacity: 1;
  pointer-events: auto;
}
.orbit-node.is-active {
  --dot: 20px;
  opacity: 1;
  pointer-events: auto;
}
.orbit-btn {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  white-space: nowrap;
  transform: translate(calc(var(--dot) / 2), -50%);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1) !important;
}
.orbit-label {
  color: rgba(243, 233, 223, 0.78);
  font:
    600 15px/1.2 "Comfortaa",
    sans-serif;
  letter-spacing: -0.01em;
  transition:
    color 0.4s ease,
    font-size 0.4s ease !important;
}
.orbit-btn:hover .orbit-label {
  color: #fff2dc;
}
.orbit-node.is-active .orbit-label {
  color: #fff2dc;
  font-size: 16px;
}
.orbit-dot {
  position: relative;
  flex: none;
  width: var(--dot);
  height: var(--dot);
  border-radius: 50%;
  background: #c9a88c;
  /* O anel na cor do fundo abre um vão para a linha não encostar no ponto. */
  box-shadow:
    0 0 0 0 var(--orbit-halo),
    0 0 0 12px var(--section-bg);
  transition:
    width 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    height 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.4s ease,
    box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1) !important;
}
/* Área de clique maior que o ponto visível. */
.orbit-dot::before {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 50%;
}
.orbit-btn:hover .orbit-dot {
  background: #e8a34a;
}
.orbit-node.is-active .orbit-dot {
  background: var(--orange);
  box-shadow:
    0 0 0 8px var(--orbit-halo),
    0 0 0 22px var(--section-bg);
}
[data-theme="light"] .showcase-eyebrow {
  color: #a75531;
}
[data-theme="light"] .case-panel p {
  color: #69594e;
}
[data-theme="light"] .showcase .wheel-timer span {
  background: #9e5635;
}
[data-theme="light"] .showcase .wheel-timer {
  background: #e0cfbf;
}
[data-theme="light"] .showcase {
  --section-bg: #f1e3d4;
  --orbit-line: #eadac9;
  --orbit-halo: #e0c7b4;
}
[data-theme="light"] .orbit-label {
  color: #6b5c52;
}
[data-theme="light"] .orbit-btn:hover .orbit-label,
[data-theme="light"] .orbit-node.is-active .orbit-label {
  color: #2b201b;
}
[data-theme="light"] .orbit-dot {
  background: #cdb3a0;
}
[data-theme="light"] .orbit-btn:hover .orbit-dot {
  background: #9e5635;
}
[data-theme="light"] .orbit-node.is-active .orbit-dot {
  background: #9e5635;
}
@media (max-width: 1200px) {
  .showcase {
    grid-template-columns: 1fr;
  }
  .showcase-copy {
    padding: 90px 8% 0;
  }
  .case-orbit {
    --h: 840px;
    --r: 560px;
    --arc-x: 20cqw;
  }
}
/* Sem espaço para os nomes ao lado das bolinhas: o nome do case aparece no card. */
@media (max-width: 800px) {
  .case-orbit {
    --h: 680px;
    --r: 520px;
    --arc-x: max(24px, calc(100cqw - 560px));
    --card-gap: 110px;
  }
  .orbit-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
}
@media (max-width: 720px) {
  .showcase-copy {
    padding: 75px 7% 0;
  }
  .case-orbit {
    --h: 560px;
    --r: 420px;
    --arc-x: max(16px, calc(100cqw - 440px));
    --card-gap: 65px;
    --card-w: min(320px, calc(100cqw - var(--arc-x) - var(--card-gap) - 16px));
    --preview-bleed: 50px;
  }
  .case-panel h3 {
    font-size: 22px;
  }
  .case-panel p {
    font-size: 15px;
  }
}
/* Prévia com a tela real do projeto no lugar do esqueleto desenhado. */
.preview-shot {
  flex: 1;
  min-height: 0;
  width: 100%;
  object-fit: cover;
  object-position: left top;
  background: #f6f8fc;
}
.case-kind {
  display: block;
  margin-bottom: 10px;
  color: var(--orange);
  font:
    700 11px "Comfortaa",
    sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
[data-theme="light"] .case-kind {
  color: #a75531;
}
/* Com um projeto só não há o que alternar: o timer volta sozinho quando houver mais nós. */
.showcase:not(:has(.orbit-node + .orbit-node)) .case-timer {
  display: none;
}

/* Mais respiro vertical em todas as seções (só em cima e embaixo). */
.hero-copy {
  padding-top: 100px;
}
.section {
  padding-block: 200px;
}
.statement {
  padding-block: 175px;
}
.contact-layout {
  padding-block: 175px;
}
@media (max-width: 1200px) {
  .showcase-copy {
    padding-top: 150px;
  }
}
@media (max-width: 900px) {
  .hero-copy {
    padding-top: 120px;
  }
  .section {
    padding-block: 140px;
  }
  .statement {
    padding-block: 125px;
  }
  .contact-layout {
    padding-block: 130px;
  }
  .showcase-copy {
    padding-top: 120px;
  }
}
@media (max-width: 600px) {
  .hero-copy {
    padding-top: 100px;
  }
  .section {
    padding-block: 110px;
  }
  .statement {
    padding-block: 105px;
  }
  .contact-layout {
    padding-block: 110px;
  }
  .showcase-copy {
    padding-top: 105px;
  }
}

/* Loading geral: cobre a tela até a página carregar e some com um fade. */
.loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: #161414;
  /* !important vence as regras de prefers-reduced-motion. */
  transition:
    opacity 0.6s ease,
    visibility 0s linear 0.6s !important;
}
[data-theme="light"] .loader {
  background: #fffdfa;
}
.is-loaded .loader {
  opacity: 0;
  visibility: hidden;
}
html:not(.is-loaded) body {
  overflow: hidden;
}
.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1) !important;
}
.is-loaded .loader-inner {
  transform: scale(0.94);
}
.loader-icon {
  width: 120px;
  height: auto;
  animation: loader-bob 1.6s ease-in-out infinite !important;
}
.loader-bar {
  display: block;
  width: 140px;
  height: 3px;
  overflow: hidden;
  border-radius: 3px;
  background: rgba(232, 163, 74, 0.18);
}
.loader-bar span {
  display: block;
  width: 40%;
  height: 100%;
  border-radius: inherit;
  background: var(--orange);
  animation: loader-slide 1.2s cubic-bezier(0.65, 0, 0.35, 1) infinite !important;
}
[data-theme="light"] .loader-bar {
  background: #eadfd4;
}
[data-theme="light"] .loader-bar span {
  background: #9e5635;
}
@keyframes loader-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
@keyframes loader-slide {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(250%);
  }
}

/* Comfortaa (fonte da logo) é mais larga: títulos com menos aperto entre as letras. */
.hero h1,
.section h2,
.showcase h2,
.contact h2 {
  letter-spacing: -0.045em;
}
.statement p {
  letter-spacing: -0.03em;
}
.gantt-info h3,
.contact-form h3,
.case-panel h3,
.service-card h3 {
  letter-spacing: -0.02em;
}

/* Toggle de tema: preenchimento da esquerda para a direita, no mesmo ritmo dos botões. */
.header .theme-toggle,
[data-theme="light"] .header .theme-toggle {
  --toggle-base: rgba(255, 255, 255, 0.03);
  --toggle-fill: rgba(232, 163, 74, 0.28);
  background-color: var(--toggle-base);
  background-image: linear-gradient(
    90deg,
    var(--toggle-fill) 50%,
    var(--toggle-base) 50%
  );
  background-size: 201% 100%;
  background-position: 100% 0;
  background-origin: border-box;
  background-repeat: no-repeat;
  /* !important vence as regras de prefers-reduced-motion. */
  transition:
    background-position 0.3s cubic-bezier(0.65, 0, 0.35, 1),
    border-color 0.3s ease !important;
}
[data-theme="light"] .header .theme-toggle {
  --toggle-base: rgba(158, 86, 53, 0.03);
  --toggle-fill: rgba(206, 104, 66, 0.2);
}
.header .theme-toggle:hover,
[data-theme="light"] .header .theme-toggle:hover {
  background-position: 0 0;
}
.header .theme-toggle .theme-knob {
  transition:
    transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1),
    background 0.3s ease 0.05s,
    color 0.3s ease 0.05s !important;
}

/* Quem somos e Dúvidas frequentes: mesmo padrão de Serviços (texto à esquerda, cards à direita). */
.about-layout,
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  column-gap: 7%;
}
.about-layout {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
}
.faq-layout {
  align-items: start;
}
.faq-copy {
  position: sticky;
  top: 130px;
}
.about-copy > p,
.faq-copy p {
  max-width: 440px;
  margin: 26px 0 0;
  color: #6c635d;
  font-size: 17px;
  line-height: 1.7;
}
.about-copy > p {
  max-width: 600px;
}
.about-copy > p + p {
  margin-top: 16px;
}
.about-copy > .about-motto {
  margin-top: 28px;
  color: var(--rust);
  font:
    700 clamp(20px, 1.8vw, 24px)/1.3 "Comfortaa",
    sans-serif;
  letter-spacing: -0.02em;
}
[data-theme="dark"] .about-copy > .about-motto {
  color: var(--orange);
}
.method .section-head > p {
  color: var(--method-muted);
}
.faq-link {
  color: var(--rust);
  font-weight: 700;
  border-bottom: 1px solid currentColor;
}
.faq-link:hover {
  color: #9e5635;
}
.faq-item {
  border: 1px solid #eadfd4;
  border-radius: 22px;
  box-shadow:
    0 1px 0 rgba(58, 36, 29, 0.04),
    0 12px 26px -16px rgba(58, 36, 29, 0.22);
  /* !important vence as regras de prefers-reduced-motion. */
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease,
    box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1) !important;
}
/* Capivara no notebook (traço da logo) sobre um círculo suave. */
.about-visual {
  position: relative;
  display: grid;
  place-items: center;
  padding: 40px 0;
}
.about-visual::before {
  content: "";
  position: absolute;
  width: min(420px, 86%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #f1e5d7;
}
[data-theme="light"] .about-visual::before {
  background: #f7ece0;
}
.about-mascot {
  position: relative;
  width: min(300px, 64%);
  height: auto;
}
.faq-list {
  display: grid;
  gap: 14px;
  interpolate-size: allow-keywords;
}
.faq-item:hover,
.faq-item[open] {
  border-color: #e3bf97;
}
.faq-item[open] {
  box-shadow:
    0 2px 0 rgba(206, 104, 66, 0.12),
    0 24px 40px -18px rgba(58, 36, 29, 0.3);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 28px;
  border-radius: 22px;
  color: var(--ink);
  font:
    700 17px/1.35 "Comfortaa",
    sans-serif;
  letter-spacing: -0.02em;
  list-style: none;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-icon {
  position: relative;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fbeedd;
  color: #9e5635;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.35s ease,
    color 0.35s ease !important;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
}
.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.faq-item summary:hover .faq-icon,
.faq-item[open] .faq-icon {
  background: var(--orange);
  color: #3a241d;
}
.faq-item[open] .faq-icon {
  transform: rotate(135deg);
}
.faq-item::details-content {
  block-size: 0;
  overflow: hidden;
  transition:
    block-size 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    content-visibility 0.45s allow-discrete !important;
}
.faq-item[open]::details-content {
  block-size: auto;
}
.faq-item p {
  max-width: 620px;
  margin: 0;
  padding: 0 28px 26px;
  color: #6c635d;
  font-size: 15.5px;
  line-height: 1.7;
}
[data-theme="light"] .faq-item:hover,
[data-theme="light"] .faq-item[open] {
  border-color: #d9a98a;
}
[data-theme="light"] .faq-item summary:hover .faq-icon,
[data-theme="light"] .faq-item[open] .faq-icon {
  background: #9e5635;
  color: #fff;
}
[data-theme="light"] .faq-link {
  color: #a75531;
}
@media (max-width: 1200px) {
  .about-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }
  .faq-copy {
    position: static;
  }
  .faq-list {
    margin-top: 48px;
  }
  .about-visual {
    margin-bottom: 32px;
    padding: 24px 0;
  }
  .about-visual::before {
    width: 320px;
  }
  .about-mascot {
    width: 240px;
  }
}
@media (max-width: 700px) {
  .about-copy > p,
  .faq-copy p {
    font-size: 16px;
  }
  .about-visual::before {
    width: 260px;
  }
  .about-mascot {
    width: 190px;
  }
  .faq-item {
    border-radius: 18px;
  }
  .faq-item summary {
    padding: 20px;
    border-radius: 18px;
    font-size: 15px;
  }
  .faq-item p {
    padding: 0 20px 22px;
    font-size: 15px;
  }
}
.header nav a {
  white-space: nowrap;
}
@media (min-width: 1201px) and (max-width: 1439px) {
  .header nav {
    gap: 26px;
  }
  .header nav a {
    font-size: 14px;
  }
}

/* Quem somos e Dúvidas frequentes no tema escuro. */
[data-theme="dark"] .about,
[data-theme="dark"] .faq {
  background: #1a1513;
  color: #f3e9df;
}
[data-theme="dark"] .about .services-eyebrow,
[data-theme="dark"] .faq .services-eyebrow,
[data-theme="dark"] .about h2 em,
[data-theme="dark"] .faq h2 em,
[data-theme="dark"] .faq-link {
  color: var(--orange);
}
[data-theme="dark"] .faq-link:hover {
  color: #f3c27f;
}
[data-theme="dark"] .about-copy > p,
[data-theme="dark"] .faq-copy p,
[data-theme="dark"] .faq-item p {
  color: #b3a69c;
}
[data-theme="dark"] .about-visual::before {
  background: #2a201c;
}
[data-theme="dark"] .faq-item {
  border-color: #3a2c26;
  background: #211a17;
  box-shadow:
    0 1px 0 rgba(0, 0, 0, 0.2),
    0 12px 26px -16px rgba(0, 0, 0, 0.6);
}
[data-theme="dark"] .faq-item:hover,
[data-theme="dark"] .faq-item[open] {
  border-color: rgba(232, 163, 74, 0.5);
}
[data-theme="dark"] .faq-item[open] {
  box-shadow:
    0 2px 0 rgba(232, 163, 74, 0.12),
    0 24px 40px -18px rgba(0, 0, 0, 0.7);
}
[data-theme="dark"] .faq-item summary {
  color: #f3e9df;
}
[data-theme="dark"] .faq-icon {
  background: #33261f;
  color: var(--orange);
}

/* Serviços no tema escuro. O fundo da página acompanha, porque aparece sob a borda inclinada do hero. */
[data-theme="dark"] body,
[data-theme="dark"] .services {
  background: #1a1513;
}
[data-theme="dark"] .services {
  color: #f3e9df;
}
[data-theme="dark"] .services .services-eyebrow,
[data-theme="dark"] .services h2 em {
  color: var(--orange);
}
[data-theme="dark"] .services-copy p {
  color: #b3a69c;
}
[data-theme="dark"] .service-card {
  border-color: #3a2c26;
  background: #211a17;
  box-shadow:
    0 1px 0 rgba(0, 0, 0, 0.2),
    0 12px 26px -16px rgba(0, 0, 0, 0.6);
}
[data-theme="dark"] .service-card:hover {
  border-color: rgba(232, 163, 74, 0.5);
  box-shadow:
    0 2px 0 rgba(232, 163, 74, 0.12),
    0 24px 40px -18px rgba(0, 0, 0, 0.7);
}
[data-theme="dark"] .service-card h3 {
  color: #f3e9df;
}
[data-theme="dark"] .service-icon {
  color: var(--orange);
}

/* Hero cabe na primeira tela junto com a régua de vantagens (header + faixa do topo ≈ 92px, régua ≈ 56px). */
.hero {
  min-height: max(440px, calc(100svh - 148px));
}
.hero-copy {
  padding-top: 56px;
  padding-bottom: 56px;
  padding-inline: min(7%, 48px);
}
@media (max-width: 1200px) {
  .hero {
    min-height: max(440px, calc(100svh - 132px));
  }
}
@media (max-width: 900px) {
  .hero-copy {
    padding-top: 48px;
    padding-bottom: 48px;
  }
}
@media (max-width: 600px) {
  .hero {
    min-height: max(420px, calc(100svh - 122px));
  }
  .hero-copy {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}

/* Contato: formulário ocupa a metade direita em vez de uma coluna estreita. */
.contact-layout {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 5%;
}
.contact-form {
  justify-self: end;
  width: 100%;
  max-width: 720px;
  padding: 44px 44px 40px;
}
.contact-form h3 {
  font-size: 31px;
}
.contact-form p {
  font-size: 15px;
}
.contact-form textarea {
  min-height: 160px;
}
@media (max-width: 1100px) {
  .contact-form {
    padding: 36px 32px 32px;
  }
}
@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .contact-form {
    justify-self: stretch;
  }
}
@media (max-width: 600px) {
  .contact-form {
    padding: 26px 22px 24px;
  }
  .contact-form h3 {
    font-size: 26px;
  }
}
