/* SCS Contabilidade — identidade visual (referência: NOVO SITE) */

:root {
  --color-bg: #f8f6f3;
  --color-surface: #ffffff;
  --color-text: #1a1a1a;
  --color-accent: #651719;
  --color-accent-600: #7d2a2c;
  --color-accent-700: #651719;
  --color-accent-100: #f5ecea;
  --color-accent-200: #e8d5d3;
  --brand-yellow: #dda341;
  --color-divider: rgba(26, 26, 26, 0.12);
  --color-neutral-600: #8a857e;
  --color-neutral-700: #6f6a63;
  --color-neutral-800: #45413b;
  --font-heading: "Aileron", system-ui, sans-serif;
  --font-body: "Aileron", system-ui, sans-serif;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --pad-x: clamp(20px, 5vw, 72px);
  --content-max: 1160px;
  --content-wide: 1200px;
  --ease: 0.25s ease;
}

html[data-mood="dark"] {
  --color-bg: #141312;
  --color-surface: #211f1d;
  --color-text: #f8f6f3;
  --color-accent: #dda341;
  --color-accent-600: #e6b45c;
  --color-accent-700: #dda341;
  --color-accent-100: #2a2620;
  --color-accent-200: #383226;
  --color-divider: rgba(248, 246, 243, 0.14);
  --color-neutral-600: #b3ada4;
  --color-neutral-700: #c6c0b7;
  --color-neutral-800: #dcd7ce;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  text-wrap: pretty;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 400;
  transition: background 0.4s ease, color 0.4s ease;
  overflow-x: hidden;
}

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

figure {
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 var(--space-2);
}

p {
  margin: 0 0 var(--space-3);
}

a {
  color: var(--color-accent-700);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--color-accent-600);
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

::selection {
  background: color-mix(in srgb, var(--color-accent) 30%, transparent);
}

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

.is-hidden,
[hidden] {
  display: none !important;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 14px;
  line-height: 1.2;
  color: var(--color-text);
  background: transparent;
  border: 1px solid transparent;
  padding: var(--space-2) calc(var(--space-3) * 1.2);
  border-radius: 999px;
  transition: background var(--ease), color var(--ease), border-color var(--ease),
    transform 0.2s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  color: #f8f6f3;
  background: #651719;
  border-color: #651719;
}

.btn-primary:hover {
  background: #7d2a2c;
  border-color: #7d2a2c;
  color: #f8f6f3;
}

html[data-mood="dark"] .btn-primary {
  color: #1a1a1a;
  background: #dda341;
  border-color: #dda341;
}

html[data-mood="dark"] .btn-primary:hover {
  background: #e6b45c;
  border-color: #e6b45c;
  color: #1a1a1a;
}

.btn-secondary {
  border-color: var(--color-divider);
}

.btn-secondary:hover {
  background: color-mix(in srgb, var(--color-text) 7%, transparent);
}

.btn-ghost {
  color: var(--color-accent);
  padding-inline: var(--space-1);
}

.btn-ghost:hover {
  background: color-mix(in srgb, var(--color-accent) 10%, transparent);
}

.btn-block {
  width: 100%;
  margin-top: var(--space-2);
  justify-content: flex-start;
  text-align: left;
}

.btn-lg {
  font-size: 16px;
  padding: 14px 26px;
}

.btn-on-dark {
  color: #f8f6f3;
  border-color: #f8f6f3;
}

.btn-on-dark:hover {
  background: rgba(248, 246, 243, 0.12);
  color: #f8f6f3;
}

.btn-yellow {
  background: #dda341;
  color: #1a1a1a;
  border-color: #dda341;
  font-weight: 700;
}

.btn-yellow:hover {
  background: #e6b45c;
  border-color: #e6b45c;
  color: #1a1a1a;
}

/* —— Cards —— */
.card {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-3);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: background 0.4s ease;
}

.card-kicker {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0 0 12px;
}

/* —— FAQ —— */
details > summary {
  list-style: none;
  cursor: pointer;
}

details > summary::-webkit-details-marker {
  display: none;
}

details .faq-mark::before {
  content: "+";
}

details[open] .faq-mark::before {
  content: "–";
}

/* —— Layout —— */
.shell {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.shell-wide {
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.shell-narrow {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.section {
  padding: clamp(40px, 6vw, 72px) 0;
  border-top: 1px solid var(--color-divider);
}

.section-hero {
  padding: clamp(64px, 10vw, 130px) 0 clamp(48px, 6vw, 88px);
  border-top: none;
}

.section-page-hero {
  padding: clamp(56px, 9vw, 112px) 0 clamp(40px, 6vw, 84px);
  border-top: none;
}

.section-inner {
  padding: clamp(48px, 7vw, 84px) 0;
}

.kicker {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent-700);
  margin-bottom: 12px;
}

.kicker-plain {
  font-weight: 400;
  margin-bottom: 16px;
}

.badge-yellow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text);
  background: var(--brand-yellow);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.eyebrow-meta {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-neutral-700);
  margin: 48px 0 0;
}

.lead {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.6;
  max-width: 54ch;
  margin: 28px 0 0;
  color: var(--color-neutral-800);
}

.lead-md {
  font-size: 18px;
  line-height: 1.6;
  max-width: 56ch;
  margin: 28px 0 0;
}

.text-muted {
  color: var(--color-neutral-700);
}

.text-body {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-neutral-700);
  max-width: 56ch;
  margin: 0;
}

.text-body-lg {
  font-size: 17px;
  line-height: 1.65;
  margin: 0 0 16px;
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
  align-items: center;
}

.cta-row-sm {
  margin-top: 28px;
}

.dot-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 10px 24px;
  max-width: 760px;
  margin: 0 0 24px;
}

.dot-item {
  display: flex;
  gap: 10px;
  align-items: baseline;
  border-top: 1px solid var(--color-divider);
  padding-top: 10px;
}

.dot-item .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent-700);
  flex: 0 0 auto;
  transform: translateY(-1px);
}

.dot-item p {
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
}

.step-list {
  display: grid;
  gap: 0;
}

.step-row {
  display: grid;
  grid-template-columns: minmax(44px, 88px) minmax(0, 1fr);
  gap: 10px clamp(20px, 3.5vw, 56px);
  align-items: baseline;
  padding: 24px 0;
  border-top: 1px solid var(--color-divider);
}

.step-row-lg {
  grid-template-columns: minmax(48px, 120px) minmax(0, 1fr);
  gap: 12px clamp(24px, 4vw, 72px);
  padding: 28px 0;
}

.step-num {
  font-weight: 800;
  font-size: 15px;
  margin: 0;
  color: var(--color-accent-700);
}

.step-row h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 6px;
}

.step-row-lg h3 {
  font-size: 24px;
  margin: 0 0 8px;
}

.service-row {
  display: grid;
  grid-template-columns: minmax(150px, 300px) minmax(0, 1fr);
  gap: 6px clamp(20px, 3.5vw, 56px);
  align-items: baseline;
  padding: 18px 0;
  border-top: 1px solid var(--color-divider);
}

.service-row h3 {
  font-size: 19px;
  font-weight: 700;
  margin: 0;
}

.service-row p {
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  color: var(--color-neutral-700);
  max-width: 60ch;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 20px;
}

.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 20px;
}

.card-step {
  padding: 28px;
}

.card-step .num {
  font-weight: 800;
  font-size: 36px;
  color: var(--color-accent-700);
  margin: 0 0 12px;
}

.card-step h3 {
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 8px;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}

.two-col-center {
  align-items: center;
}

.signals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 28px clamp(24px, 4vw, 56px);
}

.signals-grid h3 {
  font-size: 20px;
  margin: 0 0 8px;
}

.faq-list {
  display: grid;
  gap: 0;
  max-width: 820px;
}

.faq-item {
  border-top: 1px solid var(--color-divider);
  padding: 18px 0;
}

.faq-item summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-weight: 700;
  font-size: 17px;
}

.faq-mark {
  color: var(--color-accent-700);
  flex: 0 0 auto;
  font-size: 20px;
}

.faq-item p {
  font-size: 16px;
  line-height: 1.6;
  margin: 12px 0 0;
  color: var(--color-neutral-700);
  max-width: 60ch;
}

.faq-static {
  border-top: 1px solid var(--color-divider);
  padding: 20px 0;
}

.faq-static h3 {
  font-size: 18px;
  margin: 0 0 8px;
}

.faq-static p {
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  color: var(--color-neutral-800);
  max-width: 60ch;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 24px;
  border-top: 1px solid var(--color-divider);
  padding-top: 36px;
}

.metric-value {
  font-weight: 800;
  font-size: clamp(32px, 3.2vw, 46px);
  letter-spacing: -0.02em;
  color: var(--color-accent-700);
  margin: 0;
}

.metric-label {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-neutral-700);
  margin: 8px 0 0;
}

/* —— Header / Nav —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  background: color-mix(in srgb, var(--color-bg) 72%, transparent);
  border-bottom: 1px solid var(--color-divider);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.5vw, 32px);
  flex-wrap: wrap;
  padding: 14px max(var(--pad-x), calc(50% - 580px + var(--pad-x)));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  color: var(--color-accent-700);
  margin-right: auto;
  text-decoration: none;
}

.brand:hover {
  color: var(--color-accent-700);
}

.brand-mark {
  flex: 0 0 auto;
}

.brand-divider {
  width: 1px;
  height: 30px;
  background: currentColor;
  opacity: 0.35;
  flex: 0 0 auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name {
  font-weight: 300;
  font-size: 19px;
  letter-spacing: 0.14em;
}

.brand-sub {
  font-size: 7px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 4px;
  opacity: 0.8;
  white-space: nowrap;
}

.nav-links {
  display: contents;
}

.nav-link {
  white-space: nowrap;
  text-decoration: none;
  color: var(--color-text);
  font-size: 15px;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--color-accent);
}

.nav-actions {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.nav-chip {
  cursor: pointer;
  border: 1px solid var(--color-divider);
  background: transparent;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  line-height: 1;
}

.nav-chip-icon {
  font-size: 14px;
  padding: 7px 12px;
  font-weight: 400;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-divider);
  border-radius: 999px;
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.nav-toggle-bars {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 18px;
}

.nav-toggle-bars span {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header.is-open .nav-toggle-bars span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-open .nav-toggle-bars span:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .nav-toggle-bars span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* —— Hero titles —— */
.hero-title {
  font-size: clamp(38px, 5.8vw, 78px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin: 0;
  max-width: 22ch;
}

.page-title {
  font-size: clamp(36px, 5.2vw, 68px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 20ch;
}

.section-title {
  font-size: clamp(26px, 3.2vw, 42px);
  letter-spacing: -0.02em;
  font-weight: 800;
  margin: 0 0 36px;
  max-width: 26ch;
}

.section-title-sm {
  margin: 0 0 24px;
}

.section-title-tight {
  margin: 0 0 10px;
}

.page-section-title {
  font-size: clamp(28px, 3.4vw, 44px);
  letter-spacing: -0.015em;
  margin: 0 0 42px;
  max-width: 26ch;
}

/* —— Team cards (prepared, toggled via config) —— */
.person-card {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 20px;
}

.person-avatar {
  flex: 0 0 auto;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--color-accent-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-700);
  overflow: hidden;
}

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

.person-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 4px;
}

.person-card p {
  font-size: 14px;
  margin: 0;
  color: var(--color-neutral-700);
}

.testimonial-card {
  padding: 28px;
}

.testimonial-card .quote {
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 20px;
  color: var(--color-neutral-700);
}

.testimonial-meta {
  display: flex;
  gap: 12px;
  align-items: center;
}

.testimonial-avatar {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-accent-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-700);
}

/* —— Closing CTA —— */
.closing {
  padding: 0 clamp(16px, 3vw, 40px) clamp(16px, 3vw, 40px);
}

.closing-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  background: #651719;
  color: #f8f6f3;
  border-radius: 28px;
  padding: clamp(48px, 7vw, 88px) clamp(24px, 5vw, 72px);
}

.closing-standalone {
  background: #651719;
  color: #f8f6f3;
  border-radius: 28px;
  max-width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.closing-standalone .closing-pad {
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: clamp(56px, 7vw, 84px) var(--pad-x);
}

.closing-title {
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  font-weight: 800;
  margin: 0;
  max-width: 20ch;
  color: #f8f6f3;
}

.closing-note {
  font-size: 16px;
  opacity: 0.85;
}

/* —— App download —— */
.app-section {
  padding: clamp(40px, 6vw, 72px) 0;
  border-top: 1px solid var(--color-divider);
}

.app-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.app-card {
  padding: clamp(24px, 3vw, 36px);
}

.app-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--color-accent-100);
  color: var(--color-accent-700);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.app-card h2 {
  font-size: clamp(26px, 3vw, 36px);
  margin: 0 0 12px;
}

.app-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
  margin: 18px 0 22px;
  font-size: 14px;
  color: var(--color-neutral-800);
}

.app-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.app-qr {
  width: 112px;
  height: 112px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-md);
}

.app-qr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.app-badges {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.app-badges a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  color: var(--color-text);
  border: 1px solid var(--color-divider);
  border-radius: 999px;
  padding: 10px 16px;
  background: var(--color-bg);
}

.app-badges a:hover {
  border-color: var(--color-accent);
  color: var(--color-accent-700);
}

.app-media {
  display: flex;
  justify-content: center;
}

.app-media img {
  max-width: min(280px, 70vw);
  width: 100%;
}

.app-media small {
  display: block;
  text-align: center;
  margin-top: 10px;
  font-size: 13px;
  color: var(--color-neutral-700);
}

/* —— Footer + map —— */
.site-footer {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: clamp(32px, 4vw, 48px) var(--pad-x) 100px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-neutral-700);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 28px;
}

.footer-title {
  font-weight: 800;
  font-size: 16px;
  color: var(--color-text);
  margin: 0 0 8px;
}

.footer-map {
  margin-top: 32px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-divider);
  background: var(--color-surface);
}

.footer-map iframe {
  display: block;
  width: 100%;
  height: min(320px, 55vw);
  border: 0;
}

.footer-map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 16px;
  align-items: center;
  justify-content: space-between;
}

.footer-narrow {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 var(--pad-x) 56px;
  font-size: 14px;
  color: var(--color-neutral-700);
}

.hr {
  height: 1px;
  border: 0;
  margin: 0;
  background: var(--color-divider);
}

.hr-spaced {
  margin: 0 0 24px;
}

/* —— WhatsApp float —— */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #651719;
  color: #f8f6f3;
  font-weight: 700;
  font-size: 14px;
  padding: 13px 20px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
  min-height: 44px;
}

.whatsapp-float:hover {
  color: #f8f6f3;
  background: #7d2a2c;
}

html[data-mood="dark"] .whatsapp-float {
  background: #dda341;
  color: #1a1a1a;
}

html[data-mood="dark"] .whatsapp-float:hover {
  background: #e6b45c;
  color: #1a1a1a;
}

/* —— Media placeholders (hidden when empty) —— */
.media-slot {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  box-sizing: border-box;
  background: color-mix(in srgb, var(--color-text) 6%, transparent);
  border: 1px dashed color-mix(in srgb, var(--color-text) 30%, transparent);
  border-radius: var(--radius-md);
  font-size: 13px;
  color: var(--color-neutral-700);
}

.media-slot-43 {
  aspect-ratio: 4 / 3;
}

/* —— Reveal motion —— */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* —— Responsive —— */
@media (max-width: 900px) {
  .app-grid {
    grid-template-columns: 1fr;
  }

  .app-highlights {
    grid-template-columns: 1fr;
  }

  .service-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .step-row,
  .step-row-lg {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px 16px;
  }
}

@media (max-width: 768px) {
  .site-nav {
    padding: 12px 16px;
    gap: 10px;
    flex-wrap: wrap;
  }

  .brand {
    flex: 1 1 auto;
    min-width: 0;
    margin-right: 0;
    max-width: calc(100% - 56px);
  }

  .brand-mark {
    width: 48px;
    height: auto;
  }

  .brand-sub {
    max-width: 120px;
    white-space: normal;
    line-height: 1.2;
  }

  .nav-toggle {
    display: inline-flex;
    flex: 0 0 auto;
    margin-left: auto;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    order: 10;
  }

  .site-header.is-open .nav-links {
    display: flex;
  }

  .nav-link {
    padding: 12px 4px;
    font-size: 16px;
    border-bottom: 1px solid var(--color-divider);
  }

  .nav-actions {
    width: 100%;
    order: 11;
    display: none;
    padding-top: 8px;
  }

  .site-header.is-open .nav-actions {
    display: inline-flex;
  }

  .nav-actions .btn-primary {
    flex: 1;
    justify-content: center;
  }

  .hero-title {
    font-size: clamp(32px, 9vw, 48px);
    max-width: none;
  }

  .page-title {
    font-size: clamp(30px, 8.5vw, 44px);
    max-width: none;
  }

  .closing-inner,
  .closing-standalone {
    border-radius: 20px;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    padding: 12px 16px;
  }

  .eyebrow-meta {
    margin-top: 32px;
  }
}

@media (max-width: 430px) {
  .shell,
  .shell-wide,
  .shell-narrow {
    padding-left: 16px;
    padding-right: 16px;
  }

  .badge-yellow {
    font-size: 11px;
    padding: 5px 10px;
  }

  .btn-lg {
    width: 100%;
    justify-content: center;
  }

  .cta-row .btn {
    width: 100%;
    justify-content: center;
  }

  .app-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .app-qr {
    margin: 0 auto;
  }
}

@media (max-width: 360px) {
  .brand-name {
    font-size: 16px;
  }

  .whatsapp-float span {
    display: none;
  }

  .whatsapp-float {
    width: 48px;
    height: 48px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn,
  body {
    transition: none;
  }
}
