/*
 * Faz Meu Site: landing and privacy page styles.
 *
 * The token block below is a copy of brand/tokens.css. Keep both in sync.
 * Fonts are served from /fonts/ (latin subset, SIL OFL 1.1, licenses next to the files); every page <head>
 * preloads both files. No page requests Google Fonts.
 *
 * Contrast rules (see brand/README.md):
 *   - text on coral is ink (--on-coral), never white
 *   - coral is never text on a light background; links and accents use --coral-deep
 *   - buttons on a coral area are ink with off-white text
 */

@font-face {
  font-family: 'Fredoka';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/fredoka-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/fonts/nunito-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #fff8f1;
  --surface: #ffe9dc;
  --fg: #2b1d17;
  --muted: #6b5b52;
  --coral: #ff6b57;
  --coral-deep: #bf3524;
  --amber: #ffb020;
  --line: #ebd5c6;
  --on-coral: #2b1d17;
  --focus: #bf3524;
  --btn-line: #8f7a6c;
  --font-display: 'Fredoka', 'Nunito', ui-rounded, system-ui, sans-serif;
  --font-body: 'Nunito', ui-rounded, system-ui, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #1e1511;
    --surface: #2e211b;
    --fg: #fff1e6;
    --muted: #d2bdae;
    --coral-deep: #ff8573;
    --line: #4a372d;
    --focus: #ffb020;
    --btn-line: #b59c8c;

    color-scheme: dark;
  }
}

:root[data-theme='dark'] {
  --bg: #1e1511;
  --surface: #2e211b;
  --fg: #fff1e6;
  --muted: #d2bdae;
  --coral-deep: #ff8573;
  --line: #4a372d;
  --focus: #ffb020;
  --btn-line: #b59c8c;

  color-scheme: dark;
}

/* Base */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 17px/1.6 var(--font-body);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.35rem, 8.4vw, 4.3rem);
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(1.65rem, 5vw, 2.4rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--coral-deep);
}

a:focus-visible,
summary:focus-visible,
.btn:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

.btn:focus-visible {
  border-radius: 999px;
}

.wrap {
  width: 100%;
  max-width: 1040px;
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

.nw {
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 30;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--fg);
  color: var(--bg);
  font-weight: 800;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--coral-deep);
}

/* Logo lockup (mark + live wordmark) */

.lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.28em;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
  color: var(--fg);
  text-decoration: none;
}

.lockup .badge {
  --b-bg: var(--coral);
  --b-fg: #fff8f1;
  --b-eye: var(--amber);

  display: block;
  flex: none;
  width: 34px;
  height: 34px;
}

.lockup .tld {
  color: var(--coral-deep);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 26px;
  border: 0;
  border-radius: 999px;
  font: 800 1rem/1.2 var(--font-body);
  text-align: center;
  text-decoration: none;
}

.btn.primary {
  background: var(--coral);
  color: var(--on-coral);
}

.btn.ghost {
  background: transparent;
  color: var(--fg);
  border: 2px solid var(--btn-line);
}

.btn.dark {
  background: #2b1d17;
  color: #fff8f1;
}

.btn.small {
  min-height: 44px;
  padding: 10px 18px;
  font-size: 0.95rem;
}

@media (prefers-reduced-motion: no-preference) {
  .btn {
    transition: transform 0.15s ease;
  }

  .btn:hover {
    transform: translateY(-2px);
  }
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
}

.site-header .lockup {
  font-size: 1.2rem;
}

/* Hero: text, the @ form (JS only), the mock site and the domain picker (JS only) */

.hero {
  display: grid;
  gap: 18px;
  padding-block: 20px 36px;
}

.hero-text {
  display: grid;
  gap: 14px;
  justify-items: start;
}

.hero h1 em {
  font-style: normal;
  color: var(--coral-deep);
}

.hero .sub {
  max-width: 34ch;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.5;
}

.cta {
  display: grid;
  gap: 10px;
  width: 100%;
  margin-top: 2px;
}

/* Without JavaScript the v1 buttons stay; with it, the form takes their place. */
.funnel {
  display: none;
}

.js .funnel {
  display: grid;
  gap: 8px;
}

.js .cta-fallback {
  display: none;
}

.field-label {
  font-weight: 800;
}

.handle-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.handle-input {
  display: flex;
  flex: 1 1 230px;
  align-items: center;
  min-width: 0;
  min-height: 56px;
  padding-left: 20px;
  border: 2px solid var(--btn-line);
  border-radius: 999px;
  background: var(--bg);
}

.handle-input:focus-within {
  border-color: var(--fg);
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.handle-input > span {
  color: var(--coral-deep);
  font: 600 1.3rem/1 var(--font-display);
}

.handle-input input,
.custom-input input {
  flex: 1;
  width: 100%;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--fg);
}

.handle-input input {
  padding: 12px 20px 12px 3px;
  font: 700 1.1rem/1.2 var(--font-body);
}

.handle-input input::placeholder,
.custom-input input::placeholder {
  color: var(--muted);
  opacity: 0.7;
}

.handle-row .btn {
  flex: 1 1 auto;
  min-height: 56px;
}

.field-msg {
  min-height: 1.6em;
  font-size: 0.95rem;
}

.field-error {
  color: var(--coral-deep);
  font-weight: 700;
}

.ig-link {
  font-weight: 700;
}

.ig-link[hidden] {
  display: none;
}

@media (min-width: 480px) {
  .handle-row .btn {
    flex: none;
  }
}

/* The stage: a coral block holding the mock site and the Instagram grid it morphs from */

.stage {
  display: grid;
  gap: 10px;
  margin: 0;
}

.stage figcaption {
  color: var(--muted);
  font-size: 0.88rem;
  text-align: center;
}

.art {
  position: relative;
  padding: 26px 18px 30px;
  overflow: hidden;
  border-radius: 28px;
  background: var(--coral);
}

.art::before,
.art::after {
  content: '';
  position: absolute;
  border-radius: 50%;
}

.art::before {
  top: -22%;
  right: -14%;
  width: 52%;
  aspect-ratio: 1;
  background: var(--amber);
}

.art::after {
  bottom: -30%;
  left: -18%;
  width: 46%;
  aspect-ratio: 1;
  border: 14px solid rgb(255 248 241 / 35%);
}

.mock {
  position: relative;
  z-index: 1;
  max-width: 420px;
  margin-inline: auto;
  overflow: hidden;
  border-radius: 18px;
  background: var(--bg);
  box-shadow: 0 18px 40px rgb(43 29 23 / 30%);
}

.m-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.m-dots {
  display: flex;
  flex: none;
  gap: 5px;
}

.m-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line);
}

.m-dots i:first-child {
  background: var(--coral);
}

.m-dots i:nth-child(2) {
  background: var(--amber);
}

.m-url {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--muted);
  font: 700 0.8rem/1.4 var(--font-body);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.m-url b {
  display: inline-block;
  color: var(--fg);
  font-weight: 800;
}

.m-page {
  display: grid;
  gap: 10px;
  padding: 12px 12px 14px;
}

.m-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-inline: 2px;
}

.m-avatar {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 30% 50%;
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--amber);
}

.m-title {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  color: var(--fg);
  font: 600 1.15rem/1.2 var(--font-display);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.m-menu {
  flex: none;
  width: 18px;
  height: 2px;
  margin-right: 2px;
  border-radius: 2px;
  background: var(--fg);
  box-shadow: 0 5px 0 var(--fg), 0 -5px 0 var(--fg);
}

.m-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 14px;
  background: var(--coral);
}

.m-copy {
  display: grid;
  gap: 7px;
  justify-items: start;
}

.ln {
  display: block;
  width: 100%;
  height: 8px;
  border-radius: 99px;
  background: color-mix(in srgb, var(--fg) 20%, transparent);
}

.m-hero .ln {
  background: rgb(43 29 23 / 78%);
}

.m-hero .l1 {
  height: 12px;
}

.m-hero .l2 {
  width: 72%;
  height: 12px;
}

.m-hero .l3 {
  width: 86%;
  background: rgb(43 29 23 / 40%);
}

.m-wa {
  margin-top: 5px;
  padding: 6px 12px;
  border-radius: 99px;
  background: #2b1d17;
  color: #fff8f1;
  font: 800 0.72rem/1 var(--font-body);
}

.m-photo {
  width: 100%;
  aspect-ratio: 1 / 0.85;
  border-radius: 10px;
  object-fit: cover;
  object-position: 62% 40%;
}

.m-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px;
  border-radius: 12px;
  background: var(--surface);
}

.m-thumb {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 9px;
  object-fit: cover;
  object-position: 70% 50%;
}

.m-thumb.alt,
.tile img.alt {
  object-position: 85% 70%;
}

.m-lines {
  display: grid;
  flex: 1;
  gap: 6px;
}

.m-lines .short {
  width: 55%;
}

/* The 3x3 Instagram grid: invisible at rest, only shown while it morphs into the mock */

.ig {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  width: min(68%, 290px);
  aspect-ratio: 1;
  translate: -50% -50%;
  pointer-events: none;
}

.tile {
  overflow: hidden;
  border-radius: 6px;
  opacity: 0;
  transform-origin: 0 0;
  background: var(--surface);
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.t-peach {
  background: #ffe9dc;
}

.t-light {
  background: #fff8f1;
}

.t-deep {
  background: #bf3524;
}

.t-ink {
  background: #2b1d17;
}

.t-amber {
  background: #ffb020;
}

/* Step 2 and 3: pick the address, then WhatsApp */

.pick {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 24px;
  background: var(--surface);
}

.pick[hidden] {
  display: none;
}

.domains {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.domains legend {
  margin-bottom: 4px;
  padding: 0;
  font: 600 1.2rem/1.2 var(--font-display);
}

/* Room for two suggestions and a custom name, so results never shift the layout. */
.chips {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: 8px;
  min-height: calc(3 * 62px + 2 * 8px);
}

.chip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: 12px;
  min-height: 62px;
  padding: 9px 14px;
  border: 2px solid var(--line);
  border-radius: 16px;
  background: var(--bg);
  cursor: pointer;
}

.chip input {
  grid-row: span 2;
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--coral-deep);
}

.chip-name {
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.chip-name .tld {
  color: var(--muted);
  font-weight: 700;
}

.chip-state {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.3;
}

.chip[data-state='free'] .chip-state {
  color: var(--fg);
}

.chip[data-state='free'] .chip-state::before {
  content: '\2713\00a0';
  color: var(--coral-deep);
  font-weight: 800;
}

.chip[data-state='checking'] .chip-state::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--amber);
  vertical-align: 1px;
}

.chip:not([data-state='free']) {
  cursor: default;
}

.chip[data-state='taken'] .chip-name {
  color: var(--muted);
}

.chip:has(input:checked) {
  border-color: var(--coral-deep);
  box-shadow: inset 0 0 0 1px var(--coral-deep);
}

.chip:has(input:focus-visible) {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.custom-label {
  margin-top: 6px;
  font-weight: 700;
}

.custom-input {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding-right: 16px;
  border: 2px solid var(--btn-line);
  border-radius: 16px;
  background: var(--bg);
}

.custom-input:focus-within {
  border-color: var(--fg);
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.custom-input input {
  padding: 10px 4px 10px 16px;
  font: 700 1rem/1.2 var(--font-body);
}

.custom-input span {
  color: var(--muted);
  font-weight: 700;
}

.fine {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.pick .btn {
  width: 100%;
}

@media (min-width: 880px) {
  .hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    grid-template-rows: auto auto 1fr;
    grid-template-areas:
      'text stage'
      'form stage'
      'pick stage';
    gap: 0 48px;
    padding-block: 56px 64px;
  }

  .hero-text {
    grid-area: text;
    gap: 18px;
  }

  .hero .sub {
    font-size: 1.25rem;
  }

  .cta {
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    width: auto;
    gap: 12px;
  }

  .funnel {
    grid-area: form;
    margin-top: 26px;
  }

  .stage {
    position: sticky;
    top: 88px;
    grid-area: stage;
    align-self: start;
  }

  .art {
    padding: 44px 34px 48px;
    border-radius: 36px;
  }

  .m-page {
    gap: 12px;
    padding: 14px 14px 16px;
  }

  .m-title {
    font-size: 1.3rem;
  }

  .pick {
    grid-area: pick;
    align-self: start;
    margin-top: 8px;
    padding: 22px 24px 24px;
  }

  .pick .btn {
    width: auto;
    justify-self: start;
  }
}

/* Marquee of the nine example segments; each one links to its card */

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.marquee-track {
  display: flex;
  width: max-content;
}

.marquee-list {
  display: flex;
  flex: none;
  margin: 0;
  padding: 0;
  list-style: none;
}

.marquee-list a {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 56px;
  padding-inline: 18px 0;
  color: var(--fg);
  font: 600 1.15rem/1 var(--font-display);
  text-decoration: none;
  white-space: nowrap;
}

.marquee-list a::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--coral);
  transform: rotate(45deg);
}

.marquee-list a:hover {
  color: var(--coral-deep);
}

.marquee-list a:focus-visible {
  outline-offset: -3px;
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    flex-wrap: wrap;
    justify-content: center;
    width: auto;
    padding: 6px 16px;
  }

  .marquee-list {
    flex: 1 1 100%;
    flex-wrap: wrap;
    justify-content: center;
  }

  .marquee-list[aria-hidden='true'] {
    display: none;
  }

  .marquee-list a {
    min-height: 44px;
  }
}

/* Sections */

.section {
  padding-block: 36px;
}

.section > .wrap {
  display: grid;
  gap: 24px;
}

.section-head {
  display: grid;
  gap: 10px;
}

.section-head p {
  max-width: 60ch;
  color: var(--muted);
}

/* Site audit entry: the address field needs JavaScript; without it the button alone sends the plain message. */
.audit-field {
  display: none;
  max-width: 480px;
  gap: 8px;
}

.js .audit-field {
  display: grid;
}

.audit-cta {
  justify-self: start;
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.crumbs li + li::before {
  content: "›";
  margin-right: 8px;
}

.audit-intro {
  display: grid;
  align-content: start;
  gap: 12px;
}

.audit-intro h1 {
  font-size: clamp(2rem, 6vw, 3.1rem);
}

.audit-intro .lead {
  max-width: 60ch;
  color: var(--muted);
  font-size: 1.1rem;
}

.audit-order {
  display: grid;
  gap: 8px;
  padding: 24px;
  border-radius: 24px;
  background: var(--surface);
}

.audit-order .label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--coral-deep);
}

.audit-order p {
  max-width: 56ch;
}

.audit-order .audit-field {
  margin-top: 8px;
}

@media (min-width: 720px) {
  .audit-order {
    padding: 32px 36px;
  }
}

.audit-grid {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.audit-grid > * {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
}

.audit-grid p,
.audit-grid dd {
  margin: 0;
  color: var(--muted);
}

.audit-grid dt {
  font-weight: 800;
}

@media (min-width: 760px) {
  .audit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .audit-grid:not(.two) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.report-sample {
  margin: 0 0 10px;
}

.report-sample img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: top;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 18px 36px -24px rgba(43, 29, 23, 0.45);
}

.report-sample figcaption {
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--muted);
}

.audit-hero > .wrap {
  display: grid;
  gap: 18px;
  padding-block: 20px 36px;
}

@media (min-width: 880px) {
  .audit-hero > .wrap {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    grid-template-areas:
      'intro stage'
      'order stage';
    gap: 24px 48px;
    padding-block: 56px 64px;
  }

  .audit-intro {
    grid-area: intro;
  }

  .audit-order {
    grid-area: order;
    align-self: start;
  }

  .audit-hero .stage {
    position: sticky;
    top: 88px;
    grid-area: stage;
    align-self: start;
  }
}

/* The report mock inside the coral stage, same frame as the landing's mock site. */

.report .r-page {
  display: grid;
  gap: 12px;
  padding: 14px 16px 18px;
}

.r-title {
  font: 600 1.25rem/1.2 var(--font-display);
}

.r-rows {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.r-rows li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--surface);
  font-weight: 700;
}

.sev {
  padding: 4px 12px;
  border-radius: 999px;
  color: var(--on-coral);
  font-size: 0.8rem;
  font-weight: 800;
}

.sev.crit {
  background: var(--coral);
}

.sev.mod {
  background: var(--amber);
}

.sev.ok {
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--fg);
}


.audit-teaser {
  display: grid;
  gap: 20px;
  padding: 24px;
  border-radius: 24px;
  background: var(--surface);
}

.audit-teaser-text {
  display: grid;
  align-content: start;
  gap: 10px;
}

.audit-teaser-text p:last-child {
  max-width: 56ch;
  color: var(--muted);
}

.audit-teaser-action {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 10px;
}

@media (min-width: 720px) {
  .audit-teaser {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    align-items: center;
    gap: 40px;
    padding: 32px 36px;
  }
}

@media (min-width: 880px) {
  .section {
    padding-block: 56px;
  }
}

/* How it works */

.steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 16px;
  padding: 20px;
  border-radius: 22px;
  background: var(--surface);
}

.steps .n {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--coral);
  color: var(--on-coral);
  font: 600 1.4rem/1 var(--font-display);
}

.steps p {
  color: var(--muted);
}

@media (min-width: 760px) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .steps li {
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    gap: 10px;
    padding: 26px 24px 28px;
  }

  .steps .n {
    grid-row: auto;
    margin-bottom: 4px;
  }
}

/* Price */

.price-grid {
  display: grid;
  gap: 16px;
}

.price-card {
  display: grid;
  gap: 8px;
  padding: 24px;
  border-radius: 24px;
  background: var(--surface);
}

.price-card .label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--coral-deep);
}

.value {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
}

.value b {
  font: 600 clamp(2.6rem, 11vw, 3.6rem) / 1 var(--font-display);
  font-variant-numeric: tabular-nums;
}

.value span {
  color: var(--muted);
  font-weight: 700;
}

.price-card .upkeep {
  max-width: 34ch;
  color: var(--muted);
  font-weight: 700;
}

/* The regular price struck during a promotion (brand/prices.json). */
.value s {
  color: var(--muted);
  font: 600 1.5rem / 1 var(--font-display);
  font-variant-numeric: tabular-nums;
  text-decoration-thickness: 2px;
}

.label .promo {
  margin-left: 8px;
  vertical-align: 1px;
  letter-spacing: normal;
  text-transform: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.price-card p {
  max-width: 56ch;
}

.options-head {
  margin-top: 12px;
}

.options {
  display: grid;
  gap: 22px;
}

.option {
  position: relative;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 22px 24px 24px;
  border-radius: 24px;
  background: var(--bg);
  border: 2px solid var(--line);
}

.option h4 {
  font-size: 1.15rem;
}

.option p {
  color: var(--muted);
}

.option .value {
  color: var(--fg);
}

.option.best {
  background: var(--surface);
  border: 3px solid var(--coral);
}

.pill {
  display: inline-block;
  justify-self: start;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--amber);
  color: #2b1d17;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.3;
}

.option .badge-top {
  position: absolute;
  top: -15px;
  left: 20px;
}

.guarantee {
  padding: 16px 20px;
  border-radius: 20px;
  background: var(--amber);
  color: #2b1d17;
  font-weight: 700;
}

@media (min-width: 720px) {
  .price-card {
    grid-template-columns: max-content minmax(0, 1fr);
    column-gap: 56px;
    align-items: center;
  }

  .price-card .label,
  .price-card .value,
  .price-card .upkeep {
    grid-column: 1;
  }

  .price-card p:last-child {
    grid-column: 2;
    grid-row: 1 / span 3;
    font-size: 1.1rem;
  }

  .options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .price-card {
    padding: 32px 36px;
  }
}

/* Examples */

.cards {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
  overflow: hidden;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--line);
}

.card .body {
  display: grid;
  align-content: start;
  gap: 4px;
  padding: 16px 18px 20px;
}

.card .who {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--muted);
}

.card p:last-child {
  margin-top: 6px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.card h3 a {
  color: var(--fg);
  text-decoration: none;
}

.card h3 a::after {
  content: '';
  position: absolute;
  inset: 0;
}

.card h3 a:focus-visible {
  outline: none;
}

.card:has(h3 a:focus-visible) {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

@media (min-width: 640px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Clients */

.clients {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 300px));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.client-card {
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
  overflow: hidden;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.client-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 25%;
  background: var(--line);
}

.client-card .body {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 4px;
  padding: 16px 18px 20px;
}

.client-card h3 {
  font-size: 1.2rem;
}

.client-card .who {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--muted);
}

.client-handle {
  font-size: 0.95rem;
  font-weight: 700;
}

.client-handle a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.client-card .btn {
  margin-top: 6px;
}

/* FAQ */

.faq {
  display: grid;
  gap: 12px;
  max-width: 760px;
}

.faq details {
  border-radius: 18px;
  background: var(--surface);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 14px 20px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  flex: none;
  color: var(--coral-deep);
  font: 600 1.7rem/1 var(--font-display);
}

.faq details[open] summary::after {
  content: '\2212';
}

.faq details p {
  padding: 0 20px 18px;
}

/* Final call to action (coral area, ink text) */

.band {
  background: var(--coral);
  color: var(--on-coral);
}

.band .wrap {
  display: grid;
  gap: 14px;
  justify-items: start;
  padding-block: 52px;
}

.band p {
  font-size: 1.15rem;
  font-weight: 700;
}

.band .btn {
  margin-top: 8px;
}

.band a:focus-visible {
  outline-color: #2b1d17;
}

@media (min-width: 880px) {
  .band .wrap {
    padding-block: 72px;
  }
}

/* "Sites por profissão": links to every /site-para-…/ page, under the examples and in the footer. */
.professions {
  color: var(--muted);
}

.section .professions {
  margin-top: 18px;
}

.professions a {
  color: var(--coral-deep);
  font-weight: 700;
}

/* Footer */

.site-footer {
  padding-block: 32px 40px;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer .wrap {
  display: grid;
  gap: 14px;
}

.site-footer .lockup {
  font-size: 1.05rem;
}

.site-footer .lockup .badge {
  width: 32px;
  height: 32px;
}

.site-footer a {
  color: var(--coral-deep);
  font-weight: 700;
}

.site-footer p {
  overflow-wrap: anywhere;
}

/* Privacy page */

.legal {
  padding-block: 32px 64px;
}

.legal .wrap {
  display: grid;
  gap: 28px;
  max-width: 760px;
}

.legal h1 {
  font-size: clamp(2rem, 7vw, 3rem);
}

.legal section {
  display: grid;
  gap: 10px;
}

.legal h2 {
  font-size: 1.4rem;
}

.legal ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 20px;
}

.legal .table-box {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid var(--line);
}

.legal table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.legal th,
.legal td {
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.legal tr:last-child td {
  border-bottom: 0;
}

.legal th {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.legal .table-box:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.legal .back {
  font-weight: 800;
}

/*
 * Motion. Everything below runs only without prefers-reduced-motion and uses transform and opacity only.
 * Nothing here hides content when an animation does not run: the start states live in keyframes.
 * The grid-to-site morph on submit is driven by js/app.js (Web Animations API), with the same rule.
 */

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}

/* The h1 is the largest contentful paint: it moves but is never transparent. */
@keyframes rise-solid {
  from {
    transform: translateY(18px);
  }
}

@keyframes pop {
  from {
    opacity: 0;
    transform: scale(0.94) rotate(-2deg);
  }
}

@keyframes assemble {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.97);
  }
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@keyframes pulse {
  50% {
    opacity: 0.25;
    transform: scale(0.7);
  }
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
}

@media (prefers-reduced-motion: no-preference) {
  /* Load: the text rises in, then the mock assembles (bar, title, blocks), about 900 ms in all. */
  .hero-text > *,
  .funnel {
    animation: rise 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }

  .hero h1 {
    animation-name: rise-solid;
    animation-delay: 50ms;
  }

  .hero .sub {
    animation-delay: 110ms;
  }

  .hero .cta,
  .funnel {
    animation-delay: 170ms;
  }

  .art {
    animation: pop 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) 80ms both;
  }

  .m-bar,
  .m-head,
  .m-hero,
  .m-row {
    animation: assemble 0.34s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }

  .m-bar {
    animation-delay: 260ms;
  }

  .m-head {
    animation-delay: 340ms;
  }

  .m-hero {
    animation-delay: 420ms;
  }

  .m-row {
    animation-delay: 500ms;
  }

  .m-row + .m-row {
    animation-delay: 560ms;
  }

  .stage figcaption {
    animation: rise 0.5s ease 600ms both;
  }

  .audit-intro > *,
  .audit-order {
    animation: rise 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }

  .audit-intro h1 {
    animation-name: rise-solid;
    animation-delay: 50ms;
  }

  .audit-intro .lead {
    animation-delay: 110ms;
  }

  .audit-order {
    animation-delay: 170ms;
  }

  .report .m-bar,
  .r-title,
  .r-rows li {
    animation: assemble 0.34s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }

  .report .m-bar {
    animation-delay: 260ms;
  }

  .r-title {
    animation-delay: 340ms;
  }

  .r-rows li:nth-child(1) {
    animation-delay: 420ms;
  }

  .r-rows li:nth-child(2) {
    animation-delay: 480ms;
  }

  .r-rows li:nth-child(3) {
    animation-delay: 540ms;
  }

  .r-rows li:nth-child(4) {
    animation-delay: 600ms;
  }

  /* Steps 2 and 3 slide in when the first valid @ is sent. */
  .pick:not([hidden]) {
    animation: rise 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) 0.35s both;
  }

  .chip[data-state='checking'] .chip-state::before {
    animation: pulse 0.9s ease-in-out infinite;
  }

  .marquee-track {
    animation: marquee 42s linear infinite;
  }

  .marquee:hover .marquee-track,
  .marquee:focus-within .marquee-track {
    animation-play-state: paused;
  }

  .card {
    transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  .card:hover,
  .card:has(h3 a:focus-visible) {
    transform: translateY(-6px) rotate(-0.8deg);
  }

  .cards li:nth-child(even) .card:hover,
  .cards li:nth-child(even) .card:has(h3 a:focus-visible) {
    transform: translateY(-6px) rotate(0.8deg);
  }

  /* Scroll: sections fade and rise as they enter the viewport, where scroll-driven animations exist. */
  @supports (animation-timeline: view()) {
    .section .section-head,
    .steps li,
    .price-card,
    .audit-teaser,
    .audit-grid > *,
    .option,
    .guarantee,
    .cards li,
    .clients li,
    .faq details,
    .band h2,
    .band p {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 85%;
    }
  }
}

/* /obrigado/ (the cookie banner styles itself, from js/consent.js) */

.contact-page {
  padding-block: 48px 72px;
}

.contact-card {
  display: grid;
  gap: 14px;
  max-width: 560px;
  padding: 28px;
  border-radius: 24px;
  background: var(--surface);
}

.contact-message {
  margin: 0;
  padding: 14px 16px;
  border-left: 4px solid var(--coral);
  border-radius: 12px;
  background: var(--bg);
  overflow-wrap: anywhere;
}

.contact-card .btn {
  justify-self: start;
}
