/* ==========================================================================
   Beth Cleaning — sistema de design
   Rosé + água. O rosa é a marca; a água faz o olho ler "limpeza".
   Toda combinação de cor abaixo passa em WCAG AA.
   ========================================================================== */
:root {
  /* Rosa — a marca */
  --rose:       #A8475A;  /* botões e links — 5.65:1 com branco */
  --rose-hover: #8A3A4A;
  --rose-400:   #D98C99;  /* decorativo                        */
  --rose-100:   #F8EDEE;  /* fundo de badge                    */
  --rose-50:    #FDF6F7;  /* faixa suave                       */
  --rose-ink:   #7A3040;  /* texto sobre rose-100              */

  /* Água — frescor e confiança */
  --aqua:       #1F5A5E;  /* texto sobre tinta de água         */
  --aqua-400:   #4FA3A8;  /* ícones, detalhes                  */
  --aqua-300:   #8FCDD1;  /* texto pequeno sobre fundo escuro  */
  --aqua-100:   #E3F1F1;
  --aqua-50:    #F1F8F8;

  /* Neutros */
  --ink:        #2A3B3D;  /* títulos e texto forte             */
  --muted:      #5F7274;  /* texto de apoio — 5.07:1           */
  --line:       #E4EBEB;
  --sand:       #F7FAFA;
  --bg:         #FFFFFF;
  --white:      #FFFFFF;
  --on-ink:     #D5E3E3;  /* corpo sobre --ink                 */
  --on-ink-dim: #A8BFC0;  /* apoio sobre --ink — 6.07:1        */

  /* Tipografia */
  --font-head: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --step-xs: clamp(.78rem, .755rem + .1vw, .84rem);
  --step-sm: clamp(.88rem, .85rem + .15vw, .95rem);
  --step-0:  clamp(1rem, .97rem + .18vw, 1.08rem);
  --step-1:  clamp(1.18rem, 1.1rem + .4vw, 1.35rem);
  --step-2:  clamp(1.5rem, 1.3rem + .9vw, 2rem);
  --step-3:  clamp(1.9rem, 1.5rem + 1.8vw, 2.9rem);
  --step-4:  clamp(2.3rem, 1.55rem + 3.3vw, 4.15rem);

  --shell: 1180px;
  --gut: clamp(1.15rem, 4vw, 2.5rem);
  --sec: clamp(3.6rem, 8vw, 6.5rem);
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 26px;
  --r-pill: 999px;
  --sh-1: 0 1px 2px rgba(42,59,61,.05), 0 4px 14px rgba(42,59,61,.06);
  --sh-2: 0 12px 34px rgba(42,59,61,.10);
  --sh-3: 0 24px 60px rgba(42,59,61,.13);
}

/* ========================= Reset ========================= */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html, body { scroll-behavior: smooth; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html, body { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
a { color: var(--rose); text-underline-offset: 3px; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--ink);
  text-wrap: balance;
  font-variation-settings: 'SOFT' 30, 'WONK' 0, 'opsz' 40;
}
p { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--aqua-400); outline-offset: 3px; border-radius: 4px; }

/* ========================= Layout ========================= */
.shell { width: min(100% - var(--gut) * 2, var(--shell)); margin-inline: auto; }
.section { padding-block: var(--sec); }
/* Compensa o header fixo para as âncoras não pararem embaixo dele. */
section[id], [id]:target { scroll-margin-top: 96px; }
.section--sand { background: var(--sand); }
.section--rose { background: var(--rose-50); }
.section--aqua { background: var(--aqua-50); }
.section--ink { background: var(--ink); color: var(--on-ink); }
.section--ink h2, .section--ink h3, .section--ink h4 { color: var(--white); }

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--step-xs);
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: .8rem;
}
.section--ink .eyebrow { color: var(--aqua-300); }

.head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.head h2 { font-size: var(--step-3); }
.head p { margin-top: 1rem; color: var(--muted); font-size: var(--step-1); }
.head--center { margin-inline: auto; text-align: center; }
.section--ink .head p { color: var(--on-ink-dim); }

.lead { font-size: var(--step-1); color: var(--muted); max-width: 60ch; }
.section--ink .lead { color: var(--on-ink-dim); }

/* ========================= Botões ========================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-body); font-weight: 600; font-size: var(--step-sm);
  padding: .95rem 1.75rem; border-radius: var(--r-pill);
  text-decoration: none; border: 2px solid transparent;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease, border-color .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--rose); color: var(--white); box-shadow: 0 6px 18px rgba(168,71,90,.26); }
.btn--primary:hover { background: var(--rose-hover); box-shadow: 0 10px 26px rgba(168,71,90,.32); }
.btn--ghost { background: var(--white); color: var(--ink); border-color: var(--line); box-shadow: var(--sh-1); }
.btn--ghost:hover { border-color: var(--rose); color: var(--rose); }
.btn--onink { background: var(--white); color: var(--ink); }
.btn--onink:hover { background: var(--aqua-100); }
.btn--quiet { color: var(--muted); padding-inline: 1rem; }
.btn--quiet:hover { color: var(--ink); transform: none; }
.btn--lg { padding: 1.1rem 2.1rem; font-size: var(--step-0); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* ========================= Header ========================= */
.hdr {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease;
}
.hdr.is-stuck { border-bottom-color: var(--line); box-shadow: 0 4px 20px rgba(42,59,61,.06); }
.hdr__in { display: flex; align-items: center; gap: 1.2rem; min-height: 76px; }

.logo { display: inline-flex; align-items: center; gap: .62rem; text-decoration: none; margin-right: auto; }
.logo__mark { width: 38px; height: 38px; flex: none; }
.logo__txt {
  font-family: var(--font-head); font-weight: 600; font-size: 1.4rem;
  letter-spacing: -.03em; color: var(--ink); line-height: 1;
  font-variation-settings: 'SOFT' 40, 'WONK' 1, 'opsz' 30;
}
.logo__txt em { font-style: normal; color: var(--rose); }

.nav { display: flex; align-items: center; gap: clamp(.5rem, 1.6vw, 1.7rem); }
.nav a {
  font-weight: 500; font-size: var(--step-sm);
  color: var(--ink); text-decoration: none; padding: .45rem .1rem; position: relative;
}
.nav a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: .1rem; height: 2px;
  background: var(--rose); border-radius: 2px; transition: right .22s ease;
}
.nav a:hover::after, .nav a[aria-current="true"]::after { right: 0; }

.burger { display: none; width: 44px; height: 44px; border-radius: var(--r-sm); border: 1px solid var(--line); align-items: center; justify-content: center; }
.burger span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .25s ease, background .25s ease; }
.burger span::before, .burger span::after { content: ''; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s ease; }
.burger span::before { top: -6px; }
.burger span::after  { top:  6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

/* O CTA dentro do .nav é só para o menu mobile. */
@media (min-width: 901px) { .nav .btn { display: none; } }

@media (max-width: 900px) {
  .burger { display: inline-flex; }
  .hdr__cta { display: none; }
  .nav {
    position: absolute; inset: 100% 0 auto; flex-direction: column; align-items: stretch;
    gap: 0; background: var(--white); border-bottom: 1px solid var(--line);
    padding: .5rem var(--gut) 1.4rem; box-shadow: var(--sh-2);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .22s ease;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: .95rem 0; border-bottom: 1px solid var(--line); font-size: var(--step-0); }
  .nav a::after { display: none; }
  .nav .btn { margin-top: 1rem; }
}

/* ========================= Hero ========================= */
.hero { position: relative; padding-block: clamp(2.6rem, 6vw, 5rem) clamp(3rem, 6vw, 5rem); overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: -10% -12% auto 52%; height: 78vh;
  background: radial-gradient(closest-side, var(--aqua-50), transparent 74%);
  pointer-events: none; z-index: -1;
}
.hero__grid { display: grid; gap: clamp(2.4rem, 5vw, 4rem); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 960px) { .hero__grid { grid-template-columns: 1.02fr .98fr; } }

.pill {
  display: inline-flex; align-items: center; gap: .55rem;
  background: var(--aqua-100); color: var(--aqua);
  font-weight: 600; font-size: var(--step-xs);
  letter-spacing: .07em; text-transform: uppercase;
  padding: .5rem 1.05rem; border-radius: var(--r-pill); margin-bottom: 1.4rem;
}
.pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--aqua-400); }

.hero h1 { font-size: var(--step-4); }
.hero h1 em { font-style: italic; color: var(--rose); font-variation-settings: 'SOFT' 60, 'WONK' 1; }
.hero__sub { margin-top: 1.35rem; font-size: var(--step-1); color: var(--muted); max-width: 36ch; }
.hero__acts { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.1rem; }

.trust { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; margin-top: 2.2rem; padding: 1.6rem 0 0; list-style: none; border-top: 1px solid var(--line); }
.trust li { display: flex; align-items: center; gap: .5rem; list-style: none; font-size: var(--step-sm); color: var(--muted); font-weight: 500; }
.trust svg { width: 18px; height: 18px; color: var(--aqua-400); flex: none; }

.hero__media { position: relative; }
.hero__media img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--sh-3); aspect-ratio: 4 / 5; object-fit: cover; }
.hero__badge {
  position: absolute; left: -1rem; bottom: 1.6rem;
  background: var(--white); border-radius: var(--r-md); box-shadow: var(--sh-2);
  padding: .95rem 1.2rem; display: flex; align-items: center; gap: .8rem;
}
.hero__badge b { font-family: var(--font-head); font-size: 1.5rem; color: var(--ink); line-height: 1; }
.hero__badge span { font-size: var(--step-xs); color: var(--muted); line-height: 1.35; }
.hero__badge .stars { color: #E0A03C; letter-spacing: -1px; font-size: .82rem; }
@media (max-width: 640px) { .hero__badge { left: .6rem; bottom: .8rem; } }

/* ========================= Selos de garantia ========================= */
.promise { display: grid; gap: 1.2rem; padding: 0; list-style: none; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.promise li {
  list-style: none; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: clamp(1.5rem, 3vw, 2rem); box-shadow: var(--sh-1);
  display: flex; flex-direction: column; gap: .7rem;
}
.promise__icon {
  width: 48px; height: 48px; border-radius: 14px; background: var(--aqua-100);
  color: var(--aqua); display: grid; place-items: center; margin-bottom: .3rem;
}
.promise__icon svg { width: 24px; height: 24px; }
.promise b { font-family: var(--font-head); font-size: var(--step-1); font-weight: 600; }
.promise p { color: var(--muted); font-size: var(--step-sm); }

/* ========================= Stats ========================= */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(255,255,255,.14); border-radius: var(--r-md); overflow: hidden; }
@media (min-width: 780px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats div { background: var(--ink); padding: clamp(1.6rem, 3.5vw, 2.4rem) 1rem; text-align: center; }
.stats b { display: block; font-family: var(--font-head); font-weight: 600; font-size: clamp(1.9rem, 4.5vw, 2.8rem); color: var(--white); line-height: 1; }
.stats span { display: block; margin-top: .5rem; font-size: var(--step-sm); color: var(--on-ink-dim); }

/* ========================= Serviços ========================= */
.tabs { display: flex; flex-wrap: wrap; gap: .5rem; padding: .4rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-pill); box-shadow: var(--sh-1); width: fit-content; max-width: 100%; margin-bottom: clamp(1.8rem, 3.5vw, 2.6rem); }
.tabs button { font-weight: 600; font-size: var(--step-sm); padding: .72rem 1.35rem; border-radius: var(--r-pill); color: var(--muted); transition: background .2s ease, color .2s ease; }
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { background: var(--rose); color: var(--white); }

.panel[hidden] { display: none; }
.panel__grid { display: grid; gap: clamp(1.8rem, 4vw, 3rem); grid-template-columns: 1fr; }
@media (min-width: 960px) { .panel__grid { grid-template-columns: 340px 1fr; align-items: start; } }
.panel h3 { font-size: var(--step-2); margin-bottom: .8rem; }
.panel p { color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 1.4rem 0 1.8rem; display: grid; gap: .7rem; }
.checks li { display: flex; gap: .65rem; align-items: flex-start; font-size: var(--step-sm); }
.checks svg { width: 20px; height: 20px; flex: none; color: var(--aqua-400); margin-top: .12rem; }
.section--ink .checks svg { color: var(--aqua-300); }

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

.ba { position: relative; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--sh-1); aspect-ratio: 4 / 5; background: var(--sand); touch-action: pan-y; user-select: none; cursor: ew-resize; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba__line { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 3px; background: var(--white); box-shadow: 0 0 0 1px rgba(42,59,61,.16); pointer-events: none; }
.ba__knob { position: absolute; top: 50%; left: var(--pos, 50%); transform: translate(-50%, -50%); width: 42px; height: 42px; border-radius: 50%; background: var(--white); box-shadow: var(--sh-2); display: grid; place-items: center; color: var(--ink); pointer-events: none; }
.ba__knob svg { width: 20px; height: 20px; }
.tag { position: absolute; top: .7rem; font-weight: 600; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; padding: .32rem .72rem; border-radius: var(--r-pill); pointer-events: none; z-index: 2; }
.tag--before { left: .7rem; background: var(--rose-100); color: var(--rose-ink); }
.tag--after  { right: .7rem; background: var(--aqua); color: var(--white); }

.shot { position: relative; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--sh-1); aspect-ratio: 4 / 5; background: var(--sand); }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.shot:hover img { transform: scale(1.04); }

/* ========================= Sobre ========================= */
.about { display: grid; gap: clamp(2.2rem, 5vw, 4rem); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 960px) { .about { grid-template-columns: 1fr .82fr; } }
.about__media img { border-radius: var(--r-lg); box-shadow: var(--sh-3); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.feats { list-style: none; padding: 0; margin: 2rem 0; display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.feats li { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.2rem 1.3rem; box-shadow: var(--sh-1); }
.feats svg { width: 26px; height: 26px; color: var(--aqua-400); margin-bottom: .7rem; }
.feats b { display: block; font-family: var(--font-head); font-weight: 600; font-size: var(--step-1); margin-bottom: .25rem; }
.feats span { font-size: var(--step-sm); color: var(--muted); }

/* ========================= Depoimentos ========================= */
.reviews { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.review { background: var(--white); border-radius: var(--r-md); padding: clamp(1.5rem, 3vw, 2rem); box-shadow: var(--sh-1); display: flex; flex-direction: column; }
.review .stars { color: #E0A03C; font-size: 1rem; letter-spacing: 1px; margin-bottom: .9rem; }
.review blockquote { font-size: var(--step-0); color: var(--ink); flex: 1; }
.review figcaption { display: flex; align-items: center; gap: .8rem; margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--rose-100); color: var(--rose-ink); display: grid; place-items: center; font-weight: 600; font-size: .85rem; flex: none; }
.review b { display: block; font-size: var(--step-sm); font-weight: 600; }
.review small { color: var(--muted); font-size: var(--step-xs); }

/* ========================= Cidades ========================= */
.cities { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); }
.city {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 1.3rem 1.4rem; box-shadow: var(--sh-1); text-decoration: none; color: inherit;
  display: flex; align-items: center; gap: .8rem;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.city:hover { border-color: var(--rose-400); transform: translateY(-2px); box-shadow: var(--sh-2); }
.city svg { width: 20px; height: 20px; color: var(--aqua-400); flex: none; }
.city b { font-family: var(--font-head); font-weight: 600; font-size: var(--step-0); display: block; }
.city small { color: var(--muted); font-size: var(--step-xs); }

/* ========================= FAQ ========================= */
.faq { max-width: 46rem; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.35rem .5rem 1.35rem 0;
  font-family: var(--font-head); font-weight: 600; font-size: var(--step-1);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  transition: color .18s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--rose); }
.faq summary::after {
  content: ''; flex: none; width: 22px; height: 22px; background: currentColor; transition: transform .25s ease;
  -webkit-mask: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
          mask: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
}
.faq details[open] summary { color: var(--rose); }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq .a { padding: 0 3rem 1.5rem 0; color: var(--muted); }

/* ========================= Orçamento em etapas ========================= */
.quote { display: grid; gap: clamp(2rem, 4vw, 3.5rem); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 960px) { .quote { grid-template-columns: .85fr 1.15fr; } }

.direct { margin-top: 2.2rem; padding-top: 1.8rem; border-top: 1px solid rgba(255,255,255,.16); }
.direct small { display: block; font-size: var(--step-sm); color: var(--on-ink-dim); margin-bottom: .6rem; }
.direct a { font-family: var(--font-head); font-weight: 600; font-size: var(--step-2); color: var(--white); text-decoration: none; }
.direct a:hover { color: var(--aqua-300); }
.direct p { margin-top: .5rem; font-size: var(--step-sm); color: var(--on-ink-dim); }

.card { background: var(--white); border-radius: var(--r-lg); padding: clamp(1.6rem, 3.5vw, 2.6rem); box-shadow: var(--sh-3); color: var(--ink); }
/* O card fica dentro de .section--ink, que pinta títulos de branco.
   Sem isto, título branco sobre card branco = invisível. */
.section--ink .card h2,
.section--ink .card h3,
.section--ink .card h4 { color: var(--ink); }

.prog { margin-bottom: 1.8rem; }
.prog__top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .6rem; }
.prog__step { font-size: var(--step-xs); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--rose); }
.prog__time { font-size: var(--step-xs); color: var(--muted); }
.prog__bar { height: 6px; background: var(--line); border-radius: var(--r-pill); overflow: hidden; }
.prog__fill { height: 100%; width: 25%; background: var(--rose); border-radius: var(--r-pill); transition: width .35s cubic-bezier(.4,0,.2,1); }

.step[hidden] { display: none; }
.step h3 { font-size: var(--step-2); margin-bottom: .35rem; }
.step > p { color: var(--muted); font-size: var(--step-sm); margin-bottom: 1.5rem; }

.opts { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); margin-bottom: 1.4rem; }
.opt {
  border: 2px solid var(--line); border-radius: var(--r-md); background: var(--white);
  padding: 1.1rem 1rem; text-align: left; display: flex; flex-direction: column; gap: .35rem;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.opt:hover { border-color: var(--rose-400); transform: translateY(-2px); }
.opt svg { width: 24px; height: 24px; color: var(--aqua-400); margin-bottom: .25rem; }
.opt b { font-weight: 600; font-size: var(--step-sm); }
.opt small { color: var(--muted); font-size: var(--step-xs); line-height: 1.4; }
.opt[aria-pressed="true"] { border-color: var(--rose); background: var(--rose-50); }
.opt[aria-pressed="true"] svg { color: var(--rose); }

.counters { display: grid; gap: 1rem; margin-bottom: 1.4rem; }
.counter { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border: 1px solid var(--line); border-radius: var(--r-md); padding: .9rem 1.1rem; }
.counter__label b { display: block; font-weight: 600; font-size: var(--step-sm); }
.counter__label small { color: var(--muted); font-size: var(--step-xs); }
.counter__ctrl { display: flex; align-items: center; gap: .4rem; }
.counter__ctrl button {
  width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--line);
  display: grid; place-items: center; color: var(--ink); font-size: 1.15rem; line-height: 1;
  transition: border-color .18s ease, background .18s ease, color .18s ease;
}
.counter__ctrl button:hover:not([disabled]) { border-color: var(--rose); color: var(--rose); background: var(--rose-50); }
.counter__ctrl button[disabled] { opacity: .35; cursor: not-allowed; }
.counter__ctrl output { min-width: 2.2rem; text-align: center; font-weight: 600; font-size: var(--step-1); font-family: var(--font-head); }

.row { display: grid; gap: 1.05rem; grid-template-columns: 1fr; }
@media (min-width: 540px) { .row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .4rem; }
.field label { font-weight: 600; font-size: var(--step-xs); color: var(--ink); }
.field label span { color: var(--rose); }
.field input, .field textarea {
  width: 100%; padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  background: var(--sand); font-size: var(--step-sm);
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--rose); background: var(--white); box-shadow: 0 0 0 4px rgba(168,71,90,.12); }
.field input[aria-invalid="true"] { border-color: #B3261E; background: #FDF4F3; }
.err { font-size: var(--step-xs); color: #B3261E; min-height: 1em; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.recap { background: var(--aqua-50); border: 1px solid var(--aqua-100); border-radius: var(--r-md); padding: 1rem 1.2rem; margin-bottom: 1.4rem; font-size: var(--step-sm); }
.recap b { color: var(--aqua); font-weight: 600; }
.recap ul { list-style: none; padding: 0; margin: .5rem 0 0; display: grid; gap: .3rem; }
.recap li { display: flex; justify-content: space-between; gap: 1rem; color: var(--muted); }
.recap li span:last-child { color: var(--ink); font-weight: 500; text-align: right; }

.nav-btns { display: flex; gap: .8rem; align-items: center; margin-top: .4rem; }
.nav-btns .btn--primary { margin-left: auto; }

.form__note { font-size: var(--step-xs); color: var(--muted); text-align: center; margin-top: 1rem; }
.form__msg { border-radius: var(--r-sm); padding: 1rem 1.15rem; font-size: var(--step-sm); display: none; margin-top: 1rem; }
.form__msg.ok   { display: block; background: var(--aqua-50); color: var(--aqua); border: 1px solid var(--aqua-100); }
.form__msg.fail { display: block; background: #FDF4F3; color: #8C1D18; border: 1px solid #F3CFCB; }
.btn.is-busy { pointer-events: none; opacity: .72; }

.done { text-align: center; padding: 1rem 0; }
.done__icon { width: 64px; height: 64px; border-radius: 50%; background: var(--aqua-100); color: var(--aqua); display: grid; place-items: center; margin: 0 auto 1.2rem; }
.done__icon svg { width: 32px; height: 32px; }
.done h3 { font-size: var(--step-2); margin-bottom: .6rem; }
.done p { color: var(--muted); }

/* ========================= Footer ========================= */
.ftr { background: var(--ink); color: var(--on-ink-dim); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; font-size: var(--step-sm); }
.ftr__grid { display: grid; gap: 2.4rem; grid-template-columns: 1fr; }
@media (min-width: 780px) { .ftr__grid { grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 3rem; } }
.ftr h4 { font-family: var(--font-body); font-weight: 600; font-size: var(--step-sm); color: var(--white); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1.1rem; }
.ftr ul { list-style: none; padding: 0; display: grid; gap: .7rem; }
.ftr a { color: var(--on-ink-dim); text-decoration: none; }
.ftr a:hover { color: var(--aqua-300); }
.ftr .logo__txt { color: var(--white); }
.ftr .logo__txt em { color: var(--rose-400); }
.ftr__about { margin-top: 1.1rem; max-width: 38ch; }
.ftr__links { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 1.4rem; }
.ftr__bot { margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; font-size: var(--step-xs); }

/* ========================= FAB ========================= */
.fab {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 50; display: none;
  gap: .5rem; align-items: center; background: var(--rose); color: var(--white);
  padding: .9rem 1.4rem; border-radius: var(--r-pill); box-shadow: var(--sh-3);
  text-decoration: none; font-weight: 600; font-size: var(--step-sm);
}
@media (max-width: 900px) { .fab { display: inline-flex; } }

/* ========================= Páginas de texto ========================= */
.prose { max-width: 46rem; margin-inline: auto; }
.prose h1 { font-size: var(--step-3); margin-bottom: .6rem; }
.prose h2 { font-size: var(--step-1); margin-top: 2.4rem; margin-bottom: .7rem; }
.prose p, .prose li { color: var(--muted); }
.prose p { margin-bottom: 1rem; }
.prose ul { padding-left: 1.3rem; display: grid; gap: .5rem; margin-bottom: 1rem; }
.prose .meta { font-size: var(--step-sm); color: var(--muted); margin-bottom: 2.4rem; }

/* ========================= Utilitários ========================= */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; } }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 100; background: var(--white); padding: .8rem 1.2rem; border-radius: var(--r-sm); box-shadow: var(--sh-2); }

/* ==========================================================================
   Ajustes de celular
   ========================================================================== */
@media (max-width: 560px) {
  /* A pílula do topo quebrava em 3 linhas: maiúsculas + espaçamento entre
     letras não cabem em 334px. Sem eles, entra numa linha só. */
  .pill { text-transform: none; letter-spacing: 0; font-size: var(--step-sm); padding: .45rem .95rem; }

  /* Os dois botões do hero tinham larguras diferentes (259 e 218px), o que
     deixava a pilha desalinhada. Largura total alinha e melhora o alvo do dedo. */
  .hero__acts { gap: .7rem; }
  .hero__acts .btn { width: 100%; }

  /* A lista de confiança quebrava em 4 linhas irregulares. */
  .trust { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem 1rem; margin-top: 1.8rem; }
  .trust li { font-size: var(--step-xs); }

  .hero { padding-block: 1.8rem 2.4rem; }
  .hero__badge { padding: .7rem .9rem; }
  .hero__badge b { font-size: 1.25rem; }

  /* Etapas do orçamento: dois cards por linha em vez de um. */
  .opts { grid-template-columns: repeat(auto-fit, minmax(min(100%, 118px), 1fr)); gap: .6rem; }
  .opt { padding: .85rem .8rem; }

  .nav-btns { gap: .5rem; }
  .nav-btns .btn { padding-inline: 1.2rem; }

  /* As abas quebravam em 2 linhas dentro de um contêiner com raio de pílula
     (999px), o que virava um oval gigante em volta de tudo. Em grade 2x2 com
     raio de card, as quatro ficam visíveis, do mesmo tamanho e sem rolagem. */
  .tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .35rem;
    width: 100%;
    padding: .35rem;
    border-radius: 18px;
  }
  .tabs button { padding: .72rem .4rem; font-size: var(--step-xs); text-align: center; }

  /* "10+ years of experience" quebrava em 2 linhas e desalinhava a grade. */
  .trust .sm-hide { display: none; }

  /* Respiro para o botão flutuante não cobrir o rodapé. */
  .ftr { padding-bottom: 5.5rem; }
}
