/* ==========================================================================
   ARTHUR DESIGN — Landing page comercial
   Tokens oficiais: AK DESIGN Visual Identity System.
   Cores: apenas Black / White / Yellow; "cinzas" são sempre opacidade
   das cores oficiais (regra do design system), nunca novos valores.
   Mobile-first. Breakpoints: 720 (tablet), 1024 (desktop).
   ========================================================================== */

:root {
  /* Cores */
  --Black: #000000;
  --Yellow: #ffea00;
  --White: #ffffff;
  /* Presença = opacidade das cores oficiais */
  --w-90: rgb(255 255 255 / 0.9);
  --w-70: rgb(255 255 255 / 0.72);
  --w-55: rgb(255 255 255 / 0.56);
  --w-33: rgb(255 255 255 / 0.33);
  --w-14: rgb(255 255 255 / 0.14);
  --w-08: rgb(255 255 255 / 0.08);
  --w-04: rgb(255 255 255 / 0.04);
  --y-30: rgb(255 234 0 / 0.3);

  /* Espaçamento */
  --Space-XS: 8px;
  --Space-SM: 16px;
  --Space-MD: 24px;
  --Space-LG: 40px;
  --Space-XL: 60px;
  --Space-2XL: 80px;
  --Space-3XL: 115px;

  /* Raio / sombra */
  --Radius-None: 0px;
  --Radius-SM: 10px;
  --Radius-MD: 15px;
  --Shadow-Soft: 0 8px 16px rgba(0, 0, 0, 0.2);

  /* Tipografia */
  --font-sora: "Sora", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --track-display: -0.07em;
  --track-title: -0.055em;
  --track-body: -0.02em;

  /* Layout */
  --gutter: clamp(20px, 5.5vw, 40px);
  --maxw: 1140px;
  --header-h: 72px;
  --section-y: clamp(64px, 11vw, 120px);
}

/* ---------------------------- Base ---------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 88px;
  background: var(--Black);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
html.menu-open { overflow: hidden; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  font-family: var(--font-sora);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: var(--track-body);
  color: var(--White);
  background: var(--Black);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; letter-spacing: inherit; }
strong { font-weight: 600; }
.y { color: var(--Yellow); }
.sr {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.ico { width: 1.15em; height: 1.15em; flex: none; }

:focus-visible { outline: 2px solid var(--Yellow); outline-offset: 3px; }
.band :focus-visible, .summary :focus-visible { outline-color: var(--Black); }

.skip {
  position: fixed; left: 12px; top: -80px; z-index: 100;
  background: var(--Yellow); color: var(--Black); padding: 12px 18px;
  border-radius: var(--Radius-SM); font-weight: 600; transition: top 0.2s;
}
.skip:focus { top: 12px; }

.container {
  width: min(100% - 2 * var(--gutter), var(--maxw));
  margin-inline: auto;
  position: relative;
}

/* Seções escuras: gradientes sutis + guias verticais (grid de designer) */
.dark { position: relative; background: var(--Black); overflow: clip; z-index: 1; }
.dark::before {
  content: ""; position: absolute; inset: 0; margin-inline: auto; pointer-events: none;
  width: min(100% - 2 * var(--gutter) + 2px, var(--maxw) + 2px);
  border-inline: 1px solid var(--w-08);
  display: none;
}
@media (min-width: 1024px) { .dark::before { display: block; } }

.glow {
  position: absolute; pointer-events: none; border-radius: 50%;
  width: min(900px, 120vw); aspect-ratio: 1;
  background: radial-gradient(closest-side, rgb(255 234 0 / 0.17), rgb(255 234 0 / 0));
}
.glow--l  { left: -45%; top: -10%; }
.glow--r  { right: -50%; bottom: -35%; opacity: 0.8; }
.glow--r2 { right: -55%; top: 6%; opacity: 0.55; }
.glow--r3 { right: -60%; top: 16%; opacity: 0.45; }
.glow--l3 { left: -70%; bottom: 8%; opacity: 0.38; }
.glow--r4 { right: -60%; top: 0; opacity: 0.4; }

/* Reveal discreto (só com JS; respeita reduced-motion) */
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
html.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ---------------------------- Tipografia ---------------------------- */
.display {
  font-weight: 400;
  font-size: clamp(2.5rem, 1.05rem + 6.2vw, 5rem);
  line-height: 0.98;
  letter-spacing: var(--track-display);
}
.display strong { font-weight: 600; }
.display sup { font-size: 0.2em; font-weight: 400; vertical-align: super; letter-spacing: 0; margin-left: 0.15em; }

.title {
  font-weight: 400;
  font-size: clamp(2.2rem, 0.9rem + 5.6vw, 4.25rem);
  line-height: 1;
  letter-spacing: var(--track-title);
  text-wrap: balance;
}
.title strong { font-weight: 600; }
.title--calc { font-size: clamp(2.5rem, 1rem + 6.6vw, 5.2rem); }

.eyebrow {
  font-size: 11px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase;
  margin-bottom: clamp(14px, 2.4vw, 22px);
}
.eyebrow--y { color: var(--Yellow); font-weight: 600; }

/* ---------------------------- Botões ---------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 24px;
  border: 1.5px solid transparent; border-radius: 999px;
  font-size: 14px; font-weight: 500; line-height: 1; letter-spacing: -0.02em;
  cursor: pointer; text-align: center; white-space: nowrap; background: transparent; color: inherit;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn strong { font-weight: 600; }
.btn:active { transform: scale(0.97); }
.btn--y { background: var(--Yellow); color: var(--Black); font-weight: 600; }
.btn--y:hover { background: var(--White); }
.btn--o { border-color: rgb(255 234 0 / 0.75); color: var(--Yellow); }
.btn--o:hover { background: var(--Yellow); color: var(--Black); }
.btn--line { border-color: var(--w-33); color: var(--White); border-radius: var(--Radius-SM); font-weight: 600; }
.btn--line:hover { border-color: var(--Yellow); color: var(--Yellow); }
.btn--lg { min-height: 56px; font-size: 16px; }
.btn--blk { background: var(--Yellow); color: var(--Black); font-weight: 600; border-radius: var(--Radius-SM); justify-content: space-between; }
.btn--blk:hover { background: var(--Black); color: var(--Yellow); }
.btn--out-blk { border-color: var(--Black); color: var(--Black); border-radius: var(--Radius-SM); font-weight: 600; justify-content: space-between; }
.btn--out-blk:hover { background: var(--Black); color: var(--White); }
.btn--block { width: 100%; min-height: 52px; }
.btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; }
.btn[aria-disabled="true"]:hover { background: var(--Yellow); color: var(--Black); }
.linkbtn {
  background: none; border: 0; cursor: pointer; padding: 10px 4px; min-height: 44px;
  font-size: 13px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px;
}

/* ---------------------------- Header ---------------------------- */
.site-header { position: fixed; inset: 10px 0 auto 0; z-index: 60; pointer-events: none; padding-top: env(safe-area-inset-top); }
.nav {
  pointer-events: auto; position: relative;
  width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 12px 10px 18px;
  background: rgb(0 0 0 / 0.55);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  border: 1px solid var(--w-08); border-radius: var(--Radius-MD);
}
.nav__logo img { height: 30px; width: auto; }
.nav__links, .nav__cta { display: none; }
.nav__links a {
  font-size: 13px; font-weight: 500; color: var(--w-90); padding: 10px 2px; position: relative;
  transition: color 0.2s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: var(--Yellow);
  transform: scaleX(0); transform-origin: left; transition: transform 0.25s ease;
}
.nav__links a:hover { color: var(--Yellow); }
.nav__links a:hover::after, .nav__links a[aria-current="true"]::after { transform: scaleX(1); }
.nav__links a[aria-current="true"] { color: var(--Yellow); }
.nav__cta { min-height: 38px; padding: 0 18px; font-size: 13px; }

.burger {
  width: 48px; height: 48px; display: grid; place-items: center; cursor: pointer;
  background: none; border: 0; border-radius: var(--Radius-SM); margin: -6px -2px -6px 0;
}
.burger__bars { position: relative; width: 24px; height: 14px; }
.burger__bars i { position: absolute; left: 0; right: 0; height: 2px; background: var(--Yellow); border-radius: 2px; transition: transform 0.3s ease, top 0.3s ease; }
.burger__bars i:first-child { top: 0; }
.burger__bars i:last-child { top: 12px; }
.burger[aria-expanded="true"] .burger__bars i:first-child { top: 6px; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger__bars i:last-child { top: 6px; transform: rotate(-45deg); }

@media (min-width: 900px) {
  .nav__links { display: flex; gap: clamp(20px, 3.2vw, 40px); }
  .nav__cta { display: inline-flex; }
  .burger { display: none; }
}

/* Menu mobile */
.menu {
  position: fixed; inset: 0; z-index: 55; background: var(--Black); overflow-y: auto;
  padding: calc(var(--header-h) + 36px + env(safe-area-inset-top)) var(--gutter) calc(32px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0.3s;
}
.menu[hidden] { display: flex; }
.menu[data-open="true"] { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.menu__glow { position: absolute; right: -40%; top: -10%; width: 120vw; aspect-ratio: 1; background: radial-gradient(closest-side, rgb(255 234 0 / 0.2), transparent); pointer-events: none; }
.menu__list { position: relative; display: grid; gap: 4px; }
.menu__list a {
  display: flex; align-items: baseline; gap: 14px; padding: 16px 0; min-height: 64px;
  font-size: clamp(2rem, 9vw, 3rem); font-weight: 500; letter-spacing: var(--track-title); line-height: 1.05;
  border-bottom: 1px solid var(--w-14);
}
.menu__list small { font-size: 11px; letter-spacing: 0.2em; color: var(--Yellow); font-weight: 600; min-width: 36px; }
.menu__list a:hover, .menu__list a:active { color: var(--Yellow); }
.menu .btn { position: relative; width: 100%; }
@media (min-width: 900px) { .menu { display: none !important; } }

/* ---------------------------- Hero ---------------------------- */
.hero { min-height: 0; }
.hero__grid { display: flex; flex-direction: column; position: relative; z-index: 2; }
.hero__photo {
  order: -1; position: relative; margin-inline: calc(var(--gutter) * -1);
  /* Reserva espaço para o cabeçalho fixo sem esconder o rosto no mobile. */
  height: clamp(400px, 100vw, 520px); padding-top: calc(74px + env(safe-area-inset-top));
  overflow: hidden; line-height: 0;
  display: flex; justify-content: center; align-items: flex-start;
}
.hero__photo img {
  height: 100%; width: auto; max-width: none; object-fit: cover; object-position: 50% 0;
  -webkit-mask-image: linear-gradient(to bottom, #000 58%, transparent 98%);
  mask-image: linear-gradient(to bottom, #000 58%, transparent 98%);
}
.hero__copy { position: relative; margin-top: clamp(-96px, -17vw, -48px); padding-bottom: clamp(48px, 10vw, 72px); }
.hero__lead { margin-top: 18px; max-width: 34ch; font-size: clamp(15px, 3.9vw, 17px); line-height: 1.38; color: var(--w-90); }
.hero__lead + .hero__lead { margin-top: 14px; }
.hero__display, .hero .display { margin-top: 0; }
.hero__lead strong { color: var(--White); }
.hero__lead .y { color: var(--Yellow); }
.hero__cta { display: grid; gap: 12px; margin-top: 28px; }
.hero__cta .btn { width: 100%; min-height: 52px; }

@media (min-width: 720px) {
  .hero { min-height: min(100svh, 860px); }
  .hero__grid {
    display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: end;
    min-height: inherit; padding-top: 108px;
  }
  .hero__photo { order: 0; margin: 0; height: auto; padding-top: 0; overflow: visible; align-self: end; justify-self: end; width: min(100%, 560px); }
  .hero__photo img { width: 100%; height: auto; max-height: min(82svh, 780px); object-fit: contain; object-position: 50% 100%; -webkit-mask-image: none; mask-image: none; }
  .hero__copy { margin: 0; align-self: center; padding-bottom: 72px; }
  .hero__cta { display: flex; flex-wrap: wrap; align-items: center; margin-top: 32px; }
  .hero__cta .btn { width: auto; min-height: 44px; }
  .hero__lead { font-size: 15px; }
}
@media (min-width: 1024px) {
  .hero__lead { font-size: 16px; max-width: 36ch; }
}

/* ---------------------------- Faixa amarela ---------------------------- */
.band {
  position: relative; z-index: 3; background: var(--Yellow); color: var(--Black);
  padding-block: var(--section-y);
}
.band__grid { display: flex; flex-direction: column-reverse; gap: 28px; }
.band__text { max-width: 640px; }
.band__p { margin-top: 24px; font-size: clamp(14px, 3.7vw, 16px); line-height: 1.4; }
.band__p + .band__p { margin-top: 18px; }
.band__p u { text-decoration-thickness: 2px; text-underline-offset: 3px; font-weight: 600; }
.band__p--narrow { max-width: 46ch; }
.band__mark { display: flex; align-items: flex-start; }
.band__mark img { width: 52px; height: auto; }
.band__mark sup { font-size: 10px; font-weight: 500; margin: -2px 0 0 3px; }
.notch { position: absolute; left: 50%; top: calc(100% - 1px); width: 112px; height: 32px; transform: translateX(-50%); z-index: 4; pointer-events: none; }

@media (min-width: 720px) {
  .band__grid { flex-direction: row; justify-content: space-between; align-items: center; gap: 48px; }
  .band__mark { align-self: center; }
  .band__mark img { width: clamp(90px, 12vw, 128px); }
  .band__mark sup { font-size: 13px; }
  .band__p { font-size: 15px; }
  .notch { width: 140px; height: 40px; }
}

/* ---------------------------- Como funciona ---------------------------- */
.flow-sec { padding-block: clamp(84px, 12vw, 130px) clamp(64px, 10vw, 110px); }
.flow { position: relative; }
.flow__root {
  position: relative; width: fit-content; max-width: 100%; margin: 0 auto 40px;
  padding: 16px 30px; text-align: center; color: var(--Yellow);
  font-size: clamp(14px, 3.8vw, 18px); font-weight: 600; text-transform: uppercase; letter-spacing: -0.02em;
  background: var(--w-04); border: 1px solid var(--w-14); border-radius: var(--Radius-SM);
  box-shadow: 0 0 36px rgb(255 234 0 / 0.14);
}
.flow__root::after { content: ""; position: absolute; left: 50%; top: 100%; width: 2px; height: 40px; margin-left: -1px; background: var(--Yellow); }
.flow__cards { display: grid; gap: 40px; }
.flow__card {
  position: relative; text-align: center;
  padding: 26px clamp(20px, 6vw, 28px) 28px;
  background: var(--w-04); border: 1px solid var(--w-14); border-radius: var(--Radius-MD);
  box-shadow: 0 0 30px rgb(255 234 0 / 0.07);
}
.flow__card h4 { color: var(--Yellow); font-size: clamp(17px, 4.6vw, 19px); font-weight: 600; line-height: 1.15; letter-spacing: -0.04em; margin-bottom: 14px; }
.flow__card p { font-size: 14px; line-height: 1.45; color: var(--w-70); }
.flow__card p + p { margin-top: 12px; }
.flow__card strong { color: var(--White); }
/* conector vertical (mobile) */
.flow__card::before { content: ""; position: absolute; left: 50%; bottom: 100%; width: 2px; height: 40px; margin-left: -1px; background: var(--Yellow); }

@media (min-width: 860px) {
  .flow__cards { grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
  .flow__card { padding: 28px 24px 30px; }
  .flow__card::before { height: 40px; width: auto; margin: 0; background: none; }
  .flow__card:nth-child(1)::before {
    left: 50%; width: calc(100% + 24px); border-top: 2px solid var(--Yellow); border-left: 2px solid var(--Yellow);
    border-top-left-radius: 22px; transform: none; bottom: 100%;
  }
  .flow__card:nth-child(2)::before { left: 50%; width: 2px; margin-left: -1px; background: var(--Yellow); }
  .flow__card:nth-child(3)::before {
    left: auto; right: 50%; width: calc(100% + 24px); border-top: 2px solid var(--Yellow); border-right: 2px solid var(--Yellow);
    border-top-right-radius: 22px;
  }
}
.closing { margin-top: clamp(40px, 7vw, 64px); text-align: center; }
.closing .marker { display: block; width: 60px; height: 15px; margin: 0 auto 22px; border-radius: 999px; background: var(--Yellow); }
.closing p { font-size: clamp(1.4rem, 0.9rem + 2.8vw, 2.1rem); line-height: 1.1; letter-spacing: -0.05em; }
.closing strong { font-weight: 600; }

/* ---------------------------- Serviços ---------------------------- */
.services-sec { padding-block: clamp(72px, 10vw, 110px) var(--section-y); }
.services { width: min(100%, 900px); margin-inline: auto; }
.svc { padding-block: clamp(40px, 7vw, 72px); border-top: 1px solid var(--y-30); display: grid; gap: 22px; }
.svc:first-child { border-top: 0; padding-top: 0; }
.svc__head { display: flex; gap: 12px; align-items: flex-start; }
.svc__head h3 { color: var(--Yellow); font-size: clamp(1.4rem, 1rem + 1.8vw, 1.9rem); font-weight: 600; letter-spacing: -0.05em; line-height: 1.1; }
.svc__head p { margin-top: 4px; font-size: 14px; color: var(--w-70); line-height: 1.35; max-width: 40ch; }
.diamond { flex: none; width: 14px; height: 14px; margin-top: 7px; transform: rotate(45deg); border: 1.5px solid var(--Yellow); position: relative; }
.diamond::after { content: ""; position: absolute; inset: 3px; background: var(--Yellow); }

.dims { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--w-55); line-height: 1.8; }
.price__value { font-size: clamp(2.6rem, 1.6rem + 4.4vw, 3.6rem); font-weight: 300; letter-spacing: -0.07em; line-height: 1; color: var(--w-90); white-space: nowrap; }
.price__value small { font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; font-weight: 400; margin-left: 8px; color: var(--w-55); }
.price__deadline { margin-top: 12px; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--w-55); }
.price__deadline strong { font-size: 13px; letter-spacing: 0.02em; color: var(--w-90); font-weight: 700; }

/* mockups (placeholders — substitua por peças reais do portfólio) */
.ig { width: 100%; overflow: hidden; border-radius: 12px; background: var(--w-14); }
.ig--feed { max-width: 240px; }
.ig--story { max-width: 200px; display: flex; flex-direction: column; }
.ig__art { display: grid; place-items: center; background: var(--w-14); }
.ig--feed .ig__art { aspect-ratio: 4 / 5; }
.ig--story .ig__art { aspect-ratio: 9 / 16; }
.ig__glyph { width: 28%; height: auto; aspect-ratio: 1; color: var(--w-55); }
.ig__bar { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: var(--w-33); color: var(--w-90); }
.ig__bar svg { width: 16px; height: 16px; flex: none; }
.ig__bar .ig__save { margin-left: auto; }
.ig__bar span:first-child:empty { margin-left: auto; }
.ig__dots { display: flex; gap: 4px; margin-inline: auto; }
.ig__dots i { width: 4px; height: 4px; border-radius: 50%; background: var(--w-55); }
.ig__dots i:first-child { background: var(--White); }
.ig--story .ig__bar { justify-content: flex-end; }

.strip { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: 12px; overflow: hidden; }
.strip__card { aspect-ratio: 4 / 5; display: grid; place-items: center; background: var(--w-14); border-right: 1px solid rgb(0 0 0 / 0.5); }
.strip__card:nth-child(2) { background: var(--w-08); }
.strip__card:nth-child(3) { background: var(--w-04); }
.strip__card:nth-child(4) { background: rgb(255 255 255 / 0.02); }
.strip__card:nth-child(2) .ig__glyph { opacity: 0.8; }
.strip__card:nth-child(3) .ig__glyph { opacity: 0.5; }
.strip__card:nth-child(4) .ig__glyph { opacity: 0.3; }
.strip__card .ig__glyph { width: 34%; }

.adapt { position: relative; height: 300px; width: min(100%, 340px); }
.adapt .ig { position: absolute; }
.adapt .ig--ghost { right: 6%; top: 0; width: 150px; background: var(--w-08); }
.adapt .ig--ghost .ig__art { background: var(--w-08); }
.adapt .ig--front { left: 6%; top: 52px; width: 170px; max-width: none; background-color: var(--Black); background-image: linear-gradient(var(--w-14), var(--w-14)); }

/* Mobile: tudo em coluna, mockups centrados */
.svc--static .ig, .svc--story .story-wrap, .svc--adapt .adapt { justify-self: center; }
.svc--static .dims { text-align: center; }
.svc--static .dims li { display: inline; }
.svc--static .dims li + li::before { content: " · "; }
.svc--story .story-wrap { display: grid; justify-items: center; gap: 10px; }
.svc--story { order: 0; }
.svc .price { text-align: center; }
.svc__visual { display: grid; justify-items: center; align-content: start; gap: 24px; min-width: 0; }
.svc__visual .price { width: 100%; text-align: center; }

@media (min-width: 760px) {
  .svc--static { grid-template-columns: 110px 250px 1fr; grid-template-areas: "head head head" "dims mock price"; align-items: center; column-gap: 28px; }
  .svc--static .svc__head { grid-area: head; }
  .svc--static .dims { grid-area: dims; text-align: left; align-self: center; }
  .svc--static .dims li { display: block; }
  .svc--static .dims li + li::before { content: none; }
  .svc--static .ig { grid-area: mock; justify-self: start; }
  .svc--static .price { grid-area: price; text-align: left; }

  .svc--carousel { grid-template-areas: "head" "dims" "strip" "price"; }
  .svc--carousel .price { justify-self: end; text-align: right; }

  .svc--story { grid-template-columns: 1fr 230px; grid-template-areas: "head visual"; align-items: center; column-gap: 40px; }
  .svc--story .svc__head { grid-area: head; }
  .svc--story .svc__visual { grid-area: visual; }

  .svc--adapt { grid-template-columns: 1fr 340px; grid-template-areas: "head visual"; column-gap: 40px; align-items: center; }
  .svc--adapt .svc__head { grid-area: head; }
  .svc--adapt .svc__visual { grid-area: visual; }
}

/* ---------------------------- Branding ---------------------------- */
.branding { margin-top: clamp(64px, 10vw, 110px); }
.branding__head { margin: 0 0 clamp(36px, 6vw, 56px); }
.branding__head .eyebrow { margin-bottom: 16px; }
.branding__title { max-width: 100%; }
.branding__sub { margin-top: 14px; font-size: clamp(14px, 3.6vw, 17px); color: var(--w-70); }
.packages { display: grid; gap: 20px; width: min(100%, 440px); margin-inline: auto; }
.pkg {
  position: relative; display: flex; flex-direction: column; padding: 22px clamp(18px, 5vw, 26px) 24px;
  background: var(--w-08); border: 1px solid var(--w-08); border-radius: var(--Radius-MD);
}
.pkg--featured { background: var(--w-33); border-color: var(--w-14); box-shadow: var(--Shadow-Soft); }
.pkg__name {
  padding: 13px 14px; text-align: center; font-size: 14px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.01em;
  background: var(--w-14); border-radius: var(--Radius-SM);
}
.pkg__list { display: grid; gap: 14px; margin: 26px 0 28px; align-content: start; }
.pkg__list li { display: grid; grid-template-columns: 16px 1fr; gap: 12px; align-items: start; font-size: 11.5px; line-height: 1.35; text-transform: uppercase; letter-spacing: 0.02em; color: var(--w-90); }
.pkg__list svg { width: 16px; height: 16px; margin-top: -1px; color: var(--w-70); }
.pkg__inv { width: fit-content; margin: 0 auto; padding: 9px 26px; border-radius: 999px; background: var(--w-14); font-size: 12px; font-weight: 500; text-transform: uppercase; }
.pkg__pix { margin-top: 12px; text-align: center; font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--w-55); }
.pkg__price { text-align: center; font-size: clamp(2rem, 1.2rem + 3.4vw, 2.45rem); font-weight: 400; letter-spacing: -0.07em; line-height: 1.05; margin-top: 2px; }
.pkg__inst { width: fit-content; margin: 12px auto 0; padding: 5px 16px; border-radius: 6px; background: var(--w-14); font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--w-70); }
.pkg__inst b { font-size: 13px; color: var(--w-90); font-weight: 500; }
.pkg__deadline { margin-top: 14px; text-align: center; font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--w-55); }
.pkg__deadline strong { font-size: 12px; color: var(--White); font-weight: 700; letter-spacing: 0.02em; }
.pkg__cta { margin-top: 20px; align-self: center; min-height: 44px; font-size: 13px; }
.fineprint { margin: 28px auto 0; max-width: 52ch; text-align: center; font-size: 12px; line-height: 1.5; color: var(--w-55); }

@media (min-width: 900px) {
  .packages { width: 100%; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: end; }
  .pkg { padding: 26px 24px 26px; }
  .pkg__list li { font-size: 10.5px; }
}

/* ---------------------------- Calculadora ---------------------------- */
.calc { padding-block: clamp(84px, 11vw, 120px) var(--section-y); }
.calc__head { display: flex; flex-direction: column; gap: 24px; margin-bottom: 32px; }
.calc__sub { margin-top: 14px; font-size: 14px; color: var(--w-70); max-width: 44ch; }
.calc__add-top { width: 100%; min-height: 52px; }

.notice { display: flex; gap: 14px; align-items: center; margin-bottom: 24px; padding: 14px 18px; border: 1px solid var(--y-30); background: rgb(255 234 0 / 0.07); font-size: 12px; color: var(--w-90); }
.notice[hidden] { display: none; }
.notice__i { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--Yellow); color: var(--Black); font-weight: 700; font-size: 13px; }

.calc__grid { display: grid; gap: 28px; align-items: start; }
.calc__main { min-width: 0; display: grid; gap: 20px; }
#clients { display: grid; gap: 20px; }

.client { border: 1px solid var(--w-14); background: var(--w-04); min-width: 0; }
.client__head { display: flex; align-items: center; gap: 14px; padding: 16px clamp(14px, 4vw, 24px); border-bottom: 1px solid var(--w-14); }
.client__num { color: var(--Yellow); font-size: 12px; font-weight: 600; letter-spacing: 0.02em; }
.client__name {
  flex: 1; min-width: 0; padding: 8px 10px; margin-left: -10px; min-height: 44px;
  background: transparent; color: var(--White); border: 1px solid transparent; border-radius: var(--Radius-SM);
  font: 600 clamp(17px, 4.6vw, 20px)/1.2 var(--font-sora); letter-spacing: -0.04em;
  text-overflow: ellipsis; transition: border-color 0.2s, background-color 0.2s;
}
.client__name::placeholder { color: var(--w-55); font-weight: 500; }
.client__name:hover { border-color: var(--w-14); }
.client__name:focus-visible { border-color: var(--Yellow); background: var(--w-04); outline: none; }
.client__remove { background: none; border: 0; cursor: pointer; min-height: 44px; padding: 0 4px; font-size: 12px; color: var(--w-55); transition: color 0.2s; }
.client__remove:hover { color: var(--Yellow); }

.client__cols { display: none; }
.rows { padding: 6px clamp(14px, 4vw, 24px); }
.row { display: grid; grid-template-columns: 1fr auto; gap: 12px 12px; padding: 16px 0; border-bottom: 1px solid var(--w-08); align-items: start; }
.row:last-child { border-bottom: 0; }
.row__svc { grid-column: 1 / -1; min-width: 0; }
.select-wrap { position: relative; }
.select {
  width: 100%; min-height: 48px; padding: 0 40px 0 14px; cursor: pointer;
  color: var(--White); background: var(--w-08); border: 1px solid var(--w-14); border-radius: var(--Radius-SM);
  font: 500 14px/1.2 var(--font-sora); letter-spacing: -0.02em; -webkit-appearance: none; appearance: none; text-overflow: ellipsis;
  transition: border-color 0.2s;
}
.select:hover { border-color: var(--w-33); }
.select option { background: var(--Black); color: var(--White); }
.select-wrap::after {
  content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; margin-top: -6px;
  border-right: 2px solid var(--w-70); border-bottom: 2px solid var(--w-70); transform: rotate(45deg); pointer-events: none;
}
.row__hint { margin-top: 6px; font-size: 11px; color: var(--w-55); }
.row__qty { display: grid; justify-items: center; gap: 6px; min-width: 0; }
.row__qty-note { font-size: 10px; line-height: 1.25; text-align: center; color: var(--w-55); }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--w-14); border-radius: var(--Radius-SM); background: var(--w-04); }
.stepper button { width: 46px; height: 46px; display: grid; place-items: center; background: none; border: 0; cursor: pointer; color: var(--White); border-radius: var(--Radius-SM); transition: background-color 0.2s, color 0.2s; }
.stepper button:hover { background: var(--Yellow); color: var(--Black); }
.stepper button:active { transform: scale(0.94); }
.stepper svg { width: 16px; height: 16px; }
.stepper input {
  width: 48px; height: 46px; text-align: center; background: transparent; border: 0; color: var(--White);
  font: 600 15px/1 var(--font-sora); -moz-appearance: textfield; appearance: textfield; padding: 0;
}
.stepper input:focus-visible { outline: 2px solid var(--Yellow); outline-offset: -2px; border-radius: 4px; }
.row__tail { display: flex; align-items: center; justify-content: flex-end; gap: 6px; min-width: 0; min-height: 48px; }
.row__sub { font-size: 15px; font-weight: 600; letter-spacing: -0.03em; white-space: nowrap; min-width: 4.8em; text-align: right; }
.row__x { width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; cursor: pointer; color: var(--w-55); border-radius: 50%; transition: color 0.2s, background-color 0.2s; }
.row__x:hover { color: var(--Black); background: var(--Yellow); }
.row__x svg { width: 16px; height: 16px; }
.rows__empty { padding: 20px 0; font-size: 13px; color: var(--w-55); }

.client__actions { display: flex; align-items: center; flex-wrap: wrap; column-gap: 20px; padding: 2px clamp(14px, 4vw, 24px) 14px; }
.add-service { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 2px; background: none; border: 0; cursor: pointer; color: var(--Yellow); font-size: 14px; font-weight: 600; }
.add-service:hover { text-decoration: underline; text-underline-offset: 4px; }
.add-service svg { width: 14px; height: 14px; }
.add-service--carousel { color: var(--w-90); }
.client__foot { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 18px clamp(14px, 4vw, 24px); border-top: 1px solid var(--w-14); }
.client__foot span { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--w-70); }
.client__foot strong { font-size: clamp(18px, 5vw, 22px); letter-spacing: -0.04em; }

.add-client {
  display: flex; align-items: center; gap: 16px; width: 100%; padding: 16px; min-height: 76px; cursor: pointer; text-align: left;
  background: transparent; border: 1px dashed var(--w-33); transition: border-color 0.2s, background-color 0.2s;
}
.add-client:hover { border-color: var(--Yellow); background: rgb(255 234 0 / 0.05); }
.add-client__plus { flex: none; width: 44px; height: 44px; display: grid; place-items: center; background: var(--Yellow); color: var(--Black); }
.add-client__plus svg { width: 18px; height: 18px; }
.add-client__txt { display: grid; gap: 2px; min-width: 0; }
.add-client__txt strong { font-size: 15px; }
.add-client__txt small { font-size: 12px; color: var(--w-55); }
.add-client__arr { margin-left: auto; color: var(--w-55); }

/* Resumo */
.summary { background: var(--White); color: var(--Black); padding: clamp(20px, 5vw, 28px); min-width: 0; }
.summary__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.summary__label { font-size: 10px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.summary__live { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.summary__live i { width: 7px; height: 7px; border-radius: 50%; background: var(--Black); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.25; } }
.summary__title { margin-top: 18px; padding-bottom: 20px; border-bottom: 1px solid rgb(0 0 0 / 0.2); font-size: clamp(2rem, 1.4rem + 3vw, 2.6rem); font-weight: 600; letter-spacing: -0.07em; line-height: 1; }
.summary__title .dot { background: var(--Yellow); padding: 0 0.04em; }
.summary__total { padding-block: 20px; }
.summary__big { margin-top: 12px; font-size: clamp(2.4rem, 1.2rem + 6vw, 3.6rem); font-weight: 600; letter-spacing: -0.075em; line-height: 1; overflow-wrap: anywhere; }
.summary__note { margin-top: 10px; font-size: 12px; color: rgb(0 0 0 / 0.62); }
.summary__stats { display: grid; grid-template-columns: 1fr 1fr; border-block: 1px solid rgb(0 0 0 / 0.2); }
.summary__stats > div { padding: 18px 0; display: flex; flex-direction: column-reverse; gap: 6px; }
.summary__stats > div + div { padding-left: 18px; border-left: 1px solid rgb(0 0 0 / 0.2); }
.summary__stats dt { font-size: 11px; line-height: 1.25; color: rgb(0 0 0 / 0.62); }
.summary__stats dd { font-size: 2rem; font-weight: 600; letter-spacing: -0.06em; line-height: 1; }
.summary__carousel-count { margin-top: 12px; font-size: 12px; font-weight: 600; color: var(--Black); }
.summary__carousel-count[hidden] { display: none; }
.summary__list { display: grid; gap: 0; }
.sum-client { padding: 16px 0; border-bottom: 1px solid rgb(0 0 0 / 0.14); }
.sum-client__row { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.sum-client__row strong { font-size: 15px; letter-spacing: -0.03em; overflow-wrap: anywhere; min-width: 0; }
.sum-client__row b { font-weight: 700; font-size: 15px; white-space: nowrap; }
.sum-line { display: flex; justify-content: space-between; gap: 12px; margin-top: 4px; font-size: 11.5px; color: rgb(0 0 0 / 0.62); }
.sum-line span:last-child { white-space: nowrap; }
.sum-empty { padding: 18px 0; font-size: 13px; color: rgb(0 0 0 / 0.62); }
.summary__actions { display: grid; gap: 10px; margin-top: 22px; }
.summary__actions .linkbtn { justify-self: center; color: rgb(0 0 0 / 0.7); }
.summary__fine { margin-top: 10px; font-size: 10.5px; line-height: 1.4; color: rgb(0 0 0 / 0.55); }

@media (min-width: 720px) {
  .calc__head { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .calc__add-top { width: auto; padding-inline: 28px; }
  .client__cols { display: grid; grid-template-columns: minmax(0, 1fr) 150px 170px; gap: 12px; padding: 16px clamp(14px, 4vw, 24px) 0; font-size: 10px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--w-55); }
  .client__cols span:nth-child(2) { text-align: center; }
  .client__cols span:nth-child(3) { text-align: right; padding-right: 50px; }
  .row { grid-template-columns: minmax(0, 1fr) 150px 170px; }
  .row__svc { grid-column: auto; }
  .row__sub { min-width: 0; }
}
@media (min-width: 1024px) {
  .calc__grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; }
  .summary { position: sticky; top: 92px; max-height: calc(100svh - 112px); overflow-y: auto; overscroll-behavior: contain; }
}
@media (min-width: 1200px) {
  .calc__grid { grid-template-columns: minmax(0, 1fr) 380px; }
}
/* Rolagem do resumo discreta */
.summary { scrollbar-width: thin; scrollbar-color: rgb(0 0 0 / 0.3) transparent; }

/* ---------------------------- Rodapé ---------------------------- */
.footer { padding-block: 0 clamp(36px, 6vw, 56px); }
.calc + .footer, .calc { }
.footer__row { display: flex; flex-direction: column; gap: 28px; padding-top: 32px; border-top: 1px solid var(--y-30); }
.footer__brand { display: flex; align-items: center; gap: 14px; color: var(--Yellow); }
.footer__brand img { height: 32px; width: auto; }
.footer__brand p { font-size: 11px; line-height: 1.5; letter-spacing: 0.06em; text-transform: uppercase; }
.footer__links { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.footer__ig { width: 48px; height: 48px; display: grid; place-items: center; color: var(--Yellow); border-radius: 50%; transition: background-color 0.2s, color 0.2s; }
.footer__ig:hover { background: var(--Yellow); color: var(--Black); }
.footer__ig .ico { width: 24px; height: 24px; }
@media (min-width: 720px) {
  .footer__row { flex-direction: row; align-items: center; justify-content: space-between; }
  .footer__links { gap: 20px; }
}

/* ---------------------------- Voltar ao topo / Toast ---------------------------- */
.totop {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 40;
  width: 48px; height: 48px; display: grid; place-items: center; cursor: pointer;
  background: var(--Yellow); color: var(--Black); border: 0; border-radius: 50%; box-shadow: var(--Shadow-Soft);
  opacity: 0; transform: translateY(8px); transition: opacity 0.25s, transform 0.25s, background-color 0.2s;
}
.totop[hidden] { display: grid; visibility: hidden; }
.totop.is-on { opacity: 1; transform: none; visibility: visible; }
.totop:hover { background: var(--White); }

.toast {
  position: fixed; left: 50%; bottom: max(24px, env(safe-area-inset-bottom)); z-index: 70; transform: translate(-50%, 16px);
  display: flex; align-items: center; gap: 14px; max-width: calc(100vw - 32px); padding: 12px 14px 12px 18px;
  background: var(--White); color: var(--Black); border-radius: var(--Radius-SM); box-shadow: var(--Shadow-Soft);
  font-size: 13px; font-weight: 500; opacity: 0; transition: opacity 0.25s, transform 0.25s;
}
.toast[hidden] { display: none; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.toast button { min-height: 36px; padding: 0 12px; border: 0; border-radius: 8px; background: var(--Black); color: var(--Yellow); font-size: 13px; font-weight: 600; cursor: pointer; }
.toast :focus-visible { outline-color: var(--Black); }

/* Telas muito estreitas (320px) */
@media (max-width: 359px) {
  .stepper button { width: 42px; }
  .stepper input { width: 40px; }
  .btn { padding-inline: 18px; }
  .row__sub { min-width: 4.2em; font-size: 14px; }
}
