/* =========================================================
   Vinicius Quintino · site de apresentação
   Identidade: claro e leve, em vermelhos pastéis. Fundo rosado bem
   claro, vermelho pastel, manteiga, lilás e azul-claro em tom pastel, e
   vinho nas duas seções escuras (serviços e contato).
   Bricolage Grotesque nos títulos, Figtree no texto.
   O conteúdo aparece ao rolar: sai do borrão e sobe um pouco.
   ========================================================= */

:root {
  --bg: #FBF1EE;          /* fundo */
  --tint: #F7E2DC;        /* faixa clara mais marcada */
  --card: #FFFBFA;        /* balões e caixas claras */
  --rose: #F5C4BA;        /* vermelho pastel dos destaques */
  --rose-deep: #E58E80;
  --butter: #F5ECC4;
  --lilac: #DDD6F3;
  --sky: #D3E2F2;
  --wine: #3A0F12;      /* seções escuras */
  --wine-2: #521A1D;
  --ink: #2A1113;         /* texto principal */
  --ink-soft: #5E4244;    /* texto corrido */
  --red: #B02A25;        /* vermelho de link e detalhe sobre claro */
  --blush: #FFC9BF;        /* destaque sobre escuro */
  --on-dark: #FBEAE6;
  --on-dark-soft: #D9B4AE;
  --line: rgba(42, 17, 19, .14);
  --line-dark: rgba(251, 234, 230, .16);

  --font-display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --font: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --wrap: 1160px;
  --bar: 68px;

  interpolate-size: allow-keywords;
}

/* ---------- base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--bar) + 12px);
  scrollbar-color: var(--rose-deep) var(--bg);
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--ink-soft);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

::selection { background: var(--rose); color: var(--ink); }

img, svg { display: block; max-width: 100%; }

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6.4vw, 5.2rem); line-height: 1; letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); }
h3 { font-size: 1.35rem; line-height: 1.2; letter-spacing: -0.015em; }

p { margin: 0 0 1em; }

a { color: var(--ink); text-decoration-color: var(--red); text-decoration-thickness: 1.5px; text-underline-offset: 4px; transition: color .2s ease; }
a:hover { color: var(--red); }

:focus-visible {
  outline: 2.5px solid var(--red);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

.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;
}

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--wine); color: var(--on-dark); padding: .6rem 1rem; border-radius: 10px; font-weight: 600;
}
.skip-link:focus { top: 1rem; color: var(--on-dark); }

/* marcador de dado que falta confirmar */
.todo {
  display: inline-block;
  font-size: .8rem; font-weight: 700; letter-spacing: .02em;
  background: var(--butter); color: var(--ink);
  padding: .2em .6em; border-radius: 6px;
  outline: 1.5px dashed var(--ink); outline-offset: -1.5px;
}

.icon { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 50px;
  padding: .8rem 1.5rem;
  font: 600 1rem/1.2 var(--font);
  color: var(--ink);
  background: transparent;
  border: 0; border-radius: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease, transform .35s var(--ease), box-shadow .35s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:hover .icon { transform: translateX(4px); }

.btn--solid { background: var(--wine); color: var(--on-dark); }
.btn--solid:hover { background: var(--red); color: #fff; box-shadow: 0 16px 28px -16px rgba(58, 15, 18, .7); }

.btn--outline { box-shadow: inset 0 0 0 1.5px rgba(42, 17, 19, .35); }
.btn--outline:hover { background: var(--tint); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }

.btn--light { background: var(--blush); color: var(--wine); }
.btn--light:hover { background: #FFDDD6; color: var(--wine); box-shadow: 0 16px 28px -16px rgba(0, 0, 0, .7); }

.btn--ghost { color: var(--on-dark); box-shadow: inset 0 0 0 1.5px var(--line-dark); }
.btn--ghost:hover { color: var(--blush); box-shadow: inset 0 0 0 1.5px var(--blush); }

.btn--small { min-height: 42px; padding: .5rem 1.1rem; font-size: .95rem; border-radius: 12px; }
.btn--big { min-height: 58px; padding: 1.1rem 1.9rem; font-size: 1.1rem; }

/* ---------- topo ---------- */
.topbar { position: fixed; inset: 0 0 auto 0; z-index: 50; }
/* o fundo fica num pseudo-elemento para o desfoque não prender o menu do celular */
.topbar::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(251, 241, 238, .86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
  opacity: 0; transition: opacity .4s ease;
}
.topbar.is-scrolled::before { opacity: 1; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--bar); }

.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; font-weight: 700; color: var(--ink); position: relative; z-index: 2; }
.brand:hover { color: var(--ink); }
.brand__mark {
  display: inline-grid; place-items: center; width: 2.1rem; height: 2.1rem;
  font: 800 .95rem/1 var(--font-display); letter-spacing: -0.03em;
  background: var(--rose); color: var(--wine); border-radius: 10px;
}

.nav { display: flex; align-items: center; gap: 2rem; }
.nav ul { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav ul a {
  position: relative; display: block; padding: .4rem 0;
  text-decoration: none; font-weight: 500; font-size: .98rem; color: var(--ink-soft);
}
.nav ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.nav ul a:hover,
.nav ul a[aria-current="true"] { color: var(--ink); }
.nav ul a:hover::after,
.nav ul a[aria-current="true"]::after { transform: scaleX(1); }

.menu-toggle {
  display: none; position: relative; z-index: 2;
  width: 46px; height: 46px;
  background: var(--card); border: 0; border-radius: 12px; cursor: pointer;
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.menu-toggle__bars,
.menu-toggle__bars::before,
.menu-toggle__bars::after {
  display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); margin-inline: auto;
  position: relative; transition: transform .35s var(--ease), background-color .2s ease;
}
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle__bars::before { top: -6px; }
.menu-toggle__bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- principal ---------- */
.hero {
  padding: calc(var(--bar) + clamp(2.5rem, 6vw, 5rem)) 0 clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(245, 196, 186, .7), transparent 70%),
    var(--bg);
  overflow-x: clip;
}
.hero__text { text-align: center; max-width: 54rem; margin-inline: auto; }
.hero h1 { margin: 0; }
/* a palavra-chave ganha um marca-texto rosado */
.hero h1 em {
  font-style: normal; white-space: nowrap;
  background: linear-gradient(var(--rose), var(--rose)) 0 88% / 100% 38% no-repeat;
}
.lead { font-size: clamp(1.1rem, 1.6vw, 1.28rem); max-width: 38rem; margin: 1.6rem auto 0; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin-top: 2rem; }

/* três celulares com sites de exemplo */
.phones { margin: clamp(2.5rem, 6vw, 4.5rem) 0 0; }
.phones__row { display: flex; justify-content: center; align-items: flex-end; }
.phone {
  --rot: 0deg; --dy: 0px;
  flex: none; width: clamp(150px, 21vw, 262px); aspect-ratio: 9 / 18;
  padding: clamp(5px, .7vw, 8px);
  background: var(--ink); border-radius: clamp(22px, 3vw, 38px);
  box-shadow: 0 40px 60px -34px rgba(58, 15, 18, .55);
  transform: translateY(var(--dy)) rotate(var(--rot));
  transition: transform .8s var(--ease);
  container-type: inline-size; /* o conteúdo da tela é medido pela largura do celular */
}
.phone--left { --rot: -7deg; --dy: 6%; margin-right: clamp(2px, 1.2vw, 16px); }
.phone--center { position: relative; z-index: 1; width: clamp(168px, 24vw, 296px); }
.phone--right { --rot: 7deg; --dy: 6%; margin-left: clamp(2px, 1.2vw, 16px); }
.phones__row:hover .phone--left { --rot: -10deg; }
.phones__row:hover .phone--right { --rot: 10deg; }

.screen {
  height: 100%; border-radius: clamp(17px, 2.3vw, 30px); overflow: hidden;
  display: flex; flex-direction: column;
  padding: 9cqw 8cqw 8cqw;
  font-family: var(--font); line-height: 1.2;
}
.screen p { margin: 0; }
.screen__bar { display: flex; justify-content: space-between; gap: 2cqw; font-size: 4.2cqw; padding-bottom: 3.6cqw; border-bottom: 1px solid currentColor; }
.screen__bar b { font-weight: 700; }
.screen__bar span { opacity: .75; }
.screen__title { font-family: var(--font-display); font-size: 13cqw; font-weight: 700; line-height: 1; letter-spacing: -0.03em; margin-top: 8cqw !important; }
.screen__meta { font-size: 4.2cqw; opacity: .78; margin-top: auto !important; padding-bottom: 4cqw; }
.screen__btn { align-self: stretch; text-align: center; font-size: 4.6cqw; font-weight: 600; padding: 4cqw; border-radius: 4cqw; }

.screen--rose { background: #FBDCD5; color: var(--ink); }
.screen--rose .screen__btn { background: var(--wine); color: var(--on-dark); }
.screen__plate { position: relative; flex: 1; min-height: 0; margin: 7cqw 0 4cqw; }
.screen__plate i { position: absolute; border-radius: 50%; }
.screen__plate i:nth-child(1) { height: 100%; aspect-ratio: 1; right: 0; top: 0; background: radial-gradient(circle, var(--rose-deep) 0 46%, #FFFBFA 47% 100%); }
.screen__plate i:nth-child(2) { height: 34%; aspect-ratio: 1; left: 0; bottom: 4%; background: var(--butter); }
.screen__plate i:nth-child(3) { height: 18%; aspect-ratio: 1; left: 22%; top: 6%; background: var(--sky); }

.screen--dark { background: var(--wine); color: var(--on-dark); }
.screen--dark .screen__btn { background: var(--blush); color: var(--wine); }
.screen__big { font-family: var(--font-display); font-size: 46cqw; font-weight: 800; line-height: .82; letter-spacing: -0.05em; color: var(--blush); margin-top: 8cqw !important; }
.screen--dark .screen__title { font-size: 10.5cqw; margin-top: 5cqw !important; }

.screen--butter { background: var(--butter); color: var(--ink); }
.screen--butter .screen__btn { background: var(--ink); color: var(--butter); margin-top: auto; }
.screen__list { list-style: none; margin: 8cqw 0 6cqw; padding: 0; font-size: 4.8cqw; }
.screen__list li { padding: 3.4cqw 0; border-top: 1px solid rgba(42, 17, 19, .3); }

.phones figcaption { margin-top: clamp(1.6rem, 3.5vw, 2.6rem); text-align: center; font-size: .88rem; color: var(--ink-soft); }

.hero__facts {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem;
  list-style: none; padding: 0; margin: 1.6rem 0 0; font-size: .95rem; font-weight: 500; color: var(--ink);
}
.hero__facts li { padding: .5rem 1rem; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }

/* ---------- seções ---------- */
.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.section--tint { background: var(--tint); }
.section__head { max-width: 44rem; margin-bottom: clamp(2.4rem, 5vw, 3.8rem); }
.section__head--center { text-align: center; margin-inline: auto; }
.section__intro { font-size: 1.12rem; max-width: 38rem; margin: 0; }
.section__head--center .section__intro { margin-inline: auto; }
.note { margin: 2.6rem 0 0; font-size: .98rem; max-width: 46rem; }

/* falas: o que o cliente diz (balão claro) e o caminho (balão rosado) */
.talks {
  list-style: none; margin: 0 auto; padding: 0; max-width: 62rem;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem clamp(1.5rem, 5vw, 4.5rem);
}
.talk { display: flex; flex-direction: column; gap: .55rem; }
.talk:nth-child(even) { margin-top: 2.6rem; }
.talk p { margin: 0; }
.talk__q {
  align-self: flex-start; max-width: 26rem;
  padding: 1.05rem 1.3rem;
  background: var(--card); color: var(--ink);
  font-size: 1.14rem; font-weight: 500; line-height: 1.4;
  border-radius: 22px 22px 22px 6px;
  box-shadow: 0 14px 26px -20px rgba(58, 15, 18, .45);
}
.talk__a {
  align-self: flex-end;
  padding: .7rem 1.15rem;
  background: var(--rose); color: var(--ink);
  border-radius: 20px 20px 6px 20px;
}
.talk__a b { font-weight: 700; }

/* serviços: painel escuro arredondado */
.panel-wrap { padding-inline: clamp(.6rem, 1.6vw, 1.4rem); }
.panel {
  background: var(--wine); color: var(--on-dark-soft);
  border-radius: clamp(28px, 4vw, 44px);
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}
.panel h2, .panel h3 { color: var(--on-dark); }
.panel ::selection { background: var(--blush); color: var(--wine); }
.panel :focus-visible { outline-color: var(--blush); }

.offer { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.offer__lead {
  display: flex; flex-direction: column; align-items: flex-start;
  background: var(--wine-2); border-radius: 28px;
  padding: clamp(1.8rem, 4vw, 3rem);
}
.offer__lead h3 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 1.04; letter-spacing: -0.03em; }
.offer__lead .offer__pitch { font-size: 1.15rem; }
.offer__pitch { color: var(--on-dark); font-size: 1.05rem; }
.offer__what { font-size: 1rem; }
.offer__for { font-size: .95rem; margin-bottom: 1.5rem; }
.offer__for span { display: block; font-size: .85rem; font-weight: 600; color: var(--blush); }
.offer__side { display: grid; gap: 2.4rem; }
.offer__item { display: flex; flex-direction: column; align-items: flex-start; }
.offer__item + .offer__item { padding-top: 2.4rem; border-top: 1px solid var(--line-dark); }
.offer__item h3 { font-size: 1.5rem; }

.ticks { list-style: none; padding: 0; margin: .4rem 0 1.6rem; width: 100%; }
.ticks li { position: relative; padding: .75rem 0 .75rem 2.1rem; border-top: 1px solid var(--line-dark); color: var(--on-dark); font-size: 1.05rem; }
/* marcador desenhado: círculo com um visto */
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .8rem; width: 1.35rem; height: 1.35rem; border-radius: 50%;
  background: var(--blush) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233A0F12' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 62% no-repeat;
}
.panel .note { color: var(--on-dark-soft); }

/* processo */
.process { position: relative; --p: 1; }
.process__track { height: 4px; border-radius: 4px; background: var(--tint); overflow: hidden; }
.process__track span { display: block; height: 100%; border-radius: 4px; background: var(--red); transform: scaleX(var(--p)); transform-origin: left; }
.steps { list-style: none; margin: 0; padding: 2.2rem 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.2rem, 3vw, 2.5rem); }
.step p { margin: 0; font-size: 1rem; }
.step__n {
  display: inline-grid; place-items: center; width: 3.2rem; height: 3.2rem; margin-bottom: 1.1rem;
  font: 800 1.5rem/1 var(--font-display);
  border-radius: 16px; background: var(--rose); color: var(--wine);
  transition: background-color .6s ease, color .6s ease, transform .6s var(--ease);
}

/* projetos: azulejos pastéis */
.projects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.project {
  display: flex; flex-direction: column; align-items: flex-start;
  background: var(--card); color: var(--ink-soft);
  border-radius: 28px; padding: clamp(1.6rem, 3vw, 2.4rem);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.project:nth-child(1) { background: #F9D2CA; }
.project:nth-child(2) { background: var(--butter); }
.project:nth-child(3) { background: var(--lilac); }
.project:nth-child(4) { background: var(--sky); }
.project:hover { transform: translateY(-5px); box-shadow: 0 26px 40px -28px rgba(58, 15, 18, .5); }
.project h3 { font-size: 1.55rem; margin: 1.2rem 0 .3rem; }
.project p { color: var(--ink-soft); }
.project .project__kind { font-size: .92rem; font-weight: 600; color: var(--ink); margin-bottom: .9rem; }
.badge { font-size: .78rem; font-weight: 700; padding: .35rem .7rem; border-radius: 999px; background: rgba(42, 17, 19, .1); color: var(--ink); }
.tags { display: flex; flex-wrap: wrap; gap: .3rem .9rem; list-style: none; padding: 1rem 0 0; margin: auto 0 1.2rem; width: 100%; border-top: 1px solid rgba(42, 17, 19, .18); font-size: .88rem; font-weight: 500; color: var(--ink-soft); }
.project__link { font-weight: 700; color: var(--ink); }
a.project__link { text-decoration-color: var(--ink); }
a.project__link:hover { color: var(--red); text-decoration-color: var(--red); }

/* sobre */
.about { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 7vw, 6rem); align-items: center; }
.about__photo { position: relative; max-width: 380px; }
.photo { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: 36px; }
.about__text p { max-width: 38rem; }
.stack { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 1.6rem 0; }
.stack li { font-size: .92rem; font-weight: 500; color: var(--ink); padding: .4rem .85rem; border-radius: 999px; background: var(--tint); }
.about__links { display: flex; flex-wrap: wrap; gap: 1.6rem; font-weight: 700; }

/* dúvidas */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.faq-wrap .section__head { position: sticky; top: calc(var(--bar) + 2rem); }
.faq { display: grid; gap: .6rem; }
.faq details { background: var(--card); border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line); transition: background-color .3s ease; }
.faq details[open] { background: var(--tint); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 1.15rem 3.4rem 1.15rem 1.3rem;
  font-weight: 600; font-size: 1.08rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before,
.faq summary::after {
  content: ""; position: absolute; right: 1.3rem; top: 50%;
  width: 14px; height: 2px; border-radius: 2px; background: var(--red);
  transition: transform .45s var(--ease);
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq details p { margin: 0; padding: 0 1.3rem 1.3rem; max-width: 62ch; }
.faq details::details-content {
  block-size: 0; overflow: clip;
  transition: block-size .5s var(--ease), content-visibility .5s allow-discrete;
}
.faq details[open]::details-content { block-size: auto; }

/* contato: fecha a página em vinho */
.cta {
  background: var(--wine); color: var(--on-dark-soft);
  border-radius: clamp(28px, 4vw, 44px) clamp(28px, 4vw, 44px) 0 0;
  padding: clamp(4.5rem, 10vw, 8rem) 0 clamp(3.5rem, 7vw, 5rem);
}
.cta ::selection { background: var(--blush); color: var(--wine); }
.cta :focus-visible { outline-color: var(--blush); }
.cta h2 { color: var(--on-dark); font-size: clamp(2.4rem, 6vw, 5rem); line-height: 1; letter-spacing: -0.035em; max-width: 13ch; }
.cta__lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); max-width: 36rem; margin: 1.5rem 0 2.2rem; }
.contact-list { list-style: none; padding: 1.8rem 0 0; margin: 3.2rem 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 2.4rem; border-top: 1px solid var(--line-dark); }
.contact-list span { font-size: .9rem; margin-right: .35rem; }
.contact-list a { color: var(--on-dark); font-weight: 600; text-decoration-color: var(--blush); }
.contact-list a:hover { color: var(--blush); }

/* rodapé */
.footer { background: var(--wine); color: var(--on-dark-soft); padding: 1.6rem 0 5.5rem; font-size: .92rem; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem; align-items: center; padding-top: 1.6rem; border-top: 1px solid var(--line-dark); }
.footer p { margin: 0; }
.footer__brand { color: var(--on-dark); font-weight: 600; }

/* botão flutuante de WhatsApp */
.wa-float {
  position: fixed; z-index: 60;
  right: max(1.1rem, env(safe-area-inset-right)); bottom: max(1.1rem, env(safe-area-inset-bottom));
  width: 56px; height: 56px; display: grid; place-items: center;
  background: var(--red); color: #fff;
  border-radius: 50%; box-shadow: 0 0 0 3px var(--bg), 0 16px 26px -10px rgba(58, 15, 18, .6);
  opacity: 0; transform: translateY(20px) scale(.9); pointer-events: none;
  transition: opacity .35s ease, transform .5s var(--ease), background-color .25s ease;
}
.wa-float svg { width: 28px; height: 28px; fill: currentColor; }
.wa-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.wa-float:hover { color: #fff; background: var(--wine); }
.menu-open .wa-float { opacity: 0; pointer-events: none; }

/* ---------- o conteúdo aparece (só com JS ativo e movimento permitido) ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* padrão: sai do borrão e sobe um pouco */
  .js .rv {
    opacity: 0; filter: blur(10px); transform: translateY(24px);
    transition: opacity .8s ease, filter 1s ease, transform 1.1s var(--ease);
    transition-delay: calc(var(--i, 0) * 90ms);
  }
  .js .rv.is-in { opacity: 1; filter: blur(0); transform: none; }

  /* primeira tela: os celulares sobem um depois do outro */
  .js .phone {
    opacity: 0; transform: translateY(90px) rotate(0deg);
    transition: opacity .8s ease, transform 1.3s var(--ease);
  }
  .js .phone--center { transition-delay: .35s; }
  .js .phone--left { transition-delay: .5s; }
  .js .phone--right { transition-delay: .62s; }
  .js .is-ready .phone { opacity: 1; transform: translateY(var(--dy)) rotate(var(--rot)); }
  .js .is-settled .phone { transition-delay: 0s; transition-duration: .8s; }

  /* falas: a pergunta chega pela esquerda e a resposta pela direita, como numa conversa */
  .js .talk__q,
  .js .talk__a {
    opacity: 0; transform: translateX(-28px) scale(.96);
    transition: opacity .6s ease, transform .9s var(--ease);
    transition-delay: calc(var(--i, 0) * 120ms);
  }
  .js .talk__a { transform: translateX(28px) scale(.96); transition-delay: calc(var(--i, 0) * 120ms + 320ms); }
  .js .talk.is-in .talk__q,
  .js .talk.is-in .talk__a { opacity: 1; transform: none; }

  /* processo: os passos acendem conforme a linha avança */
  .js .process { --p: 0; }
  .js .step__n { background: var(--tint); color: var(--ink-soft); }
  .js .step.is-lit .step__n { background: var(--rose); color: var(--wine); transform: scale(1.06); }

  /* contato: o painel escuro cresce até ocupar a largura toda */
  .js .cta { clip-path: inset(12% 7% 0 7% round 56px 56px 0 0); transition: clip-path 1.3s var(--ease); }
  .js .cta.is-in { clip-path: inset(0 0 0 0 round 44px 44px 0 0); }
}

/* ---------- responsivo ---------- */
@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 2rem;
    padding: var(--bar) var(--gutter) 2rem;
    background: var(--bg);
    clip-path: inset(0 0 100% 0); visibility: hidden;
    transition: clip-path .6s var(--ease), visibility 0s .6s;
  }
  .nav.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition-delay: 0s; }
  .nav ul { flex-direction: column; gap: .2rem; width: 100%; }
  .nav ul a { padding: .7rem 0; font: 700 2rem/1.1 var(--font-display); letter-spacing: -0.03em; color: var(--ink); }
  .nav ul a::after { display: none; }
  .nav ul a[aria-current="true"] { color: var(--red); }
  .nav .btn { min-height: 50px; padding: .8rem 1.5rem; font-size: 1rem; }

  .talks { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
  .talk:nth-child(even) { margin-top: 0; }

  .offer, .about, .faq-wrap { grid-template-columns: minmax(0, 1fr); }
  .faq-wrap .section__head { position: static; }
  .about__photo { max-width: 280px; }
  .projects { grid-template-columns: minmax(0, 1fr); }

  /* a linha do processo desce pela lateral */
  .process { padding-left: 1.8rem; }
  .process__track { position: absolute; left: 0; top: 0; bottom: 0; width: 4px; height: auto; }
  .process__track span { transform: scaleY(var(--p)); transform-origin: top; }
  .steps { grid-template-columns: minmax(0, 1fr); padding-top: 0; gap: 2.2rem; }

  .wa-float { width: 50px; height: 50px; }
  .wa-float svg { width: 25px; height: 25px; }
  .contact-list a, .about__links a, a.project__link { display: inline-block; padding-block: .55rem; }
}

@media (max-width: 600px) {
  .hero { padding-top: calc(var(--bar) + 1.6rem); }
  .hero__actions .btn { width: 100%; }
  .btn--big { width: 100%; font-size: 1rem; padding-inline: 1rem; }
  .phone { width: 31vw; }
  .phone--center { width: 40vw; }
  .phone--left { margin-right: -3vw; }
  .phone--right { margin-left: -3vw; }
  .hero__facts { flex-direction: column; align-items: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* página de endereço não encontrado */
.notfound { min-height: 100svh; display: grid; align-items: center; }
