/* Flávia Palazzo · estilos. Cores, fontes e medidas vêm de tokens.css. */

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--altura-topo) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  padding-top: var(--altura-topo);
  background: var(--bege);
  color: var(--texto);
  font-family: var(--fonte-texto);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.75;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--vinho); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--vinho-escuro); }
:focus-visible { outline: 2px solid var(--vinho); outline-offset: 3px; border-radius: 2px; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
address { font-style: normal; }
strong { font-weight: 500; }

h1, h2, h3 {
  font-family: var(--fonte-titulo);
  font-weight: 400;
  color: var(--vinho);
  line-height: 1.12;
  margin: 0 0 .6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 6.4vw, 4.75rem); letter-spacing: -.01em; line-height: 1.02; }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.65rem); }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pular { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--vinho); color: var(--branco); padding: .6rem 1rem; }
.pular:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--largura) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.texto { max-width: 62ch; }

.rotulo {
  font-family: var(--fonte-texto);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--vinho);
  margin: 0 0 1.4rem;
  line-height: 1.5;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: 1rem 1.7rem;
  background: var(--vinho); color: var(--branco);
  border: 1px solid var(--vinho); border-radius: var(--raio-botao);
  font: 500 .95rem/1.2 var(--fonte-texto); letter-spacing: .03em;
  text-decoration: none; transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--vinho-escuro); border-color: var(--vinho-escuro); color: var(--branco); }
.btn--linha { background: transparent; color: var(--vinho); }
.btn--linha:hover { background: var(--vinho); color: var(--branco); }
.btn--pequeno { padding: .7rem 1.1rem; font-size: .85rem; }
.acoes { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

.link-seta { font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-seta::after { content: " →"; }

/* ---------- Header ---------- */
.topo {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--altura-topo);
  background: color-mix(in srgb, var(--bege) 94%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid color-mix(in srgb, var(--rosa) 45%, transparent);
}
.topo__barra { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.marca { display: flex; flex-direction: column; text-decoration: none; line-height: 1.15; }
.marca__nome { font-family: var(--fonte-titulo); font-size: 1.35rem; letter-spacing: .14em; text-transform: uppercase; color: var(--vinho); }
.marca__sub { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--texto-suave); margin-top: .3rem; }
.marca__logo { height: 50px; width: auto; display: block; }
@media (max-width: 480px) { .marca__logo { height: 42px; } }

.menu-botao { display: none; }
.marca__sub, .menu a, .menu .btn { white-space: nowrap; }
.menu { display: flex; align-items: center; gap: 1.5rem; }
.menu__lista { display: flex; gap: 1.1rem; list-style: none; margin: 0; padding: 0; }
.menu__lista a { color: var(--texto); text-decoration: none; font-size: .84rem; padding: .3rem 0; border-bottom: 1px solid transparent; }
.menu__lista a:hover, .menu__lista a[aria-current="page"] { color: var(--vinho); border-bottom-color: var(--vinho); }

@media (max-width: 1299px) {
  .js .menu-botao {
    display: grid; place-items: center; width: 46px; height: 46px; margin-right: -8px;
    background: none; border: 0; color: var(--vinho); cursor: pointer;
  }
  .menu-botao__linhas, .menu-botao__linhas::before, .menu-botao__linhas::after {
    display: block; width: 24px; height: 1.5px; background: currentColor; position: relative; transition: transform .25s, opacity .25s;
  }
  .menu-botao__linhas::before, .menu-botao__linhas::after { content: ""; position: absolute; left: 0; }
  .menu-botao__linhas::before { top: -7px; }
  .menu-botao__linhas::after { top: 7px; }
  .menu-botao[aria-expanded="true"] .menu-botao__linhas { background: transparent; }
  .menu-botao[aria-expanded="true"] .menu-botao__linhas::before { transform: translateY(7px) rotate(45deg); }
  .menu-botao[aria-expanded="true"] .menu-botao__linhas::after { transform: translateY(-7px) rotate(-45deg); }

  .menu {
    position: absolute; top: var(--altura-topo); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 1.2rem;
    padding: 1.2rem var(--gutter) 1.8rem;
    background: var(--bege); border-bottom: 1px solid color-mix(in srgb, var(--rosa) 45%, transparent);
  }
  .js .menu { display: none; }
  .js .menu.aberto { display: flex; }
  .menu__lista { flex-direction: column; gap: 0; }
  .menu__lista a { display: block; padding: .75rem 0; font-size: 1rem; border-bottom: 1px solid color-mix(in srgb, var(--rosa) 35%, transparent); }
  .menu__lista a[aria-current="page"] { border-bottom-color: color-mix(in srgb, var(--rosa) 35%, transparent); }
}

/* ---------- Seções e ondas ---------- */
.principal { position: relative; }
.s { position: relative; padding-block: var(--secao); }
.s--claro { background: var(--bege-claro); }
.s--claro::before, .s--claro::after {
  content: ""; position: absolute; left: 0; right: 0; height: 44px; background: var(--bege-claro);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 44' preserveAspectRatio='none'%3E%3Cpath d='M0 44V28C200 10 380 4 580 16S960 42 1160 28 1370 8 1440 14V44Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 44' preserveAspectRatio='none'%3E%3Cpath d='M0 44V28C200 10 380 4 580 16S960 42 1160 28 1370 8 1440 14V44Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  pointer-events: none;
}
.s--claro::before { top: -43px; }
.s--claro::after { bottom: -43px; transform: scale(-1, -1); }

.cabeca { max-width: 40rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.cabeca p { color: var(--texto-suave); }

/* ---------- O fio d'água ---------- */
.fio { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; overflow: visible; }
.fio__agua { fill: none; stroke: var(--vinho); stroke-width: 1.25; stroke-linecap: round; opacity: .75; transition: stroke-dashoffset .9s cubic-bezier(.25, .6, .3, 1); }
.fio__gota { fill: var(--vinho); opacity: 0; transition: opacity .8s; }
.fio.completo .fio__gota { opacity: .85; }
.s > .container { position: relative; z-index: 2; }

/* ---------- Monograma ---------- */
.monograma { display: block; }
.monograma--hero { width: clamp(92px, 12vw, 132px); height: auto; margin-bottom: 1.6rem; }
.monograma--vazio { width: 38%; opacity: .32; }
.floreio { width: 96px; height: 20px; display: block; margin-bottom: 1.2rem; }
.floreio path { fill: none; stroke: var(--vinho); stroke-width: 1.4; stroke-linecap: round; }

/* ---------- Molduras onduladas ---------- */
.foto { position: relative; margin: 0; isolation: isolate; }
.foto--retrato { aspect-ratio: 4 / 5; }
.foto--paisagem { aspect-ratio: 4 / 3; }
.foto__img, .foto__vazio, .foto iframe {
  width: 100%; height: 100%; object-fit: cover; border: 0;
  -webkit-mask: url("/images/moldura-retrato.svg") center / 100% 100% no-repeat;
  mask: url("/images/moldura-retrato.svg") center / 100% 100% no-repeat;
}
.foto--paisagem .foto__img, .foto--paisagem .foto__vazio, .foto--paisagem iframe {
  -webkit-mask-image: url("/images/moldura-paisagem.svg"); mask-image: url("/images/moldura-paisagem.svg");
}
.foto::after {
  content: ""; position: absolute; inset: 0; z-index: -1; transform: translate(14px, 14px);
  background: var(--rosa);
  -webkit-mask: url("/images/moldura-retrato-linha.svg") center / 100% 100% no-repeat;
  mask: url("/images/moldura-retrato-linha.svg") center / 100% 100% no-repeat;
}
.foto--paisagem::after { -webkit-mask-image: url("/images/moldura-paisagem-linha.svg"); mask-image: url("/images/moldura-paisagem-linha.svg"); }
.foto__vazio, .foto iframe { display: grid; place-items: center; background: var(--bege-claro); }
.s--claro .foto__vazio { background: var(--bege); }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(48px, 8vw, 104px) var(--secao); }
.hero__grid { display: grid; gap: 3.5rem; align-items: center; }
.hero h1 em { display: block; font-style: italic; font-size: .6em; line-height: 1.15; margin-top: .25em; color: var(--texto); }
.hero__sub { font-size: clamp(1.05rem, 1.6vw, 1.2rem); font-weight: 300; max-width: 34rem; margin-top: 1.6rem; }
.hero__sub strong { font-weight: 400; }
.ficha { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; list-style: none; padding: 0; margin: 2.4rem 0 0; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--texto-suave); }
.ficha li { display: flex; align-items: center; gap: .6rem; }
.ficha li::before { content: ""; width: 14px; height: 1px; background: var(--rosa); }
.hero__foto { width: min(100%, 420px); justify-self: center; }
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 7fr 5fr; gap: 4rem; }
  .hero__foto { justify-self: end; margin-top: 4rem; }
}

/* Hero das páginas de serviço */
.hero--servico .hero__grid { align-items: end; }
.migalhas { font-size: .8rem; color: var(--texto-suave); margin-bottom: 2rem; }
.migalhas ol { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 0; }
.migalhas li + li::before { content: "/"; margin-right: .4rem; color: var(--rosa); }
.migalhas a { color: var(--texto-suave); }
.hero--servico h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); }
.hero--servico .hero__foto { width: min(100%, 360px); }

/* ---------- Quando procurar ---------- */
.sinais { display: grid; gap: 2.6rem; }
.sinal__nome { margin-bottom: .9rem; }
.sinal blockquote { margin: 0 0 1rem; font-family: var(--fonte-titulo); font-style: italic; font-size: 1.45rem; line-height: 1.3; color: var(--vinho); }
.sinal p { color: var(--texto-suave); }
@media (min-width: 820px) {
  .sinais { grid-template-columns: repeat(3, 1fr); gap: 0; }
  .sinal { padding: 0 2.2rem; border-left: 1px solid var(--rosa); }
  .sinal:first-child { padding-left: 0; border-left: 0; }
}
.depois { margin-top: 3rem; }

/* ---------- Atendimentos (lista numerada) ---------- */
.servicos { list-style: none; padding: 0; margin: 0; counter-reset: servico; border-bottom: 1px solid color-mix(in srgb, var(--vinho) 22%, transparent); }
.servicos li { counter-increment: servico; border-top: 1px solid color-mix(in srgb, var(--vinho) 22%, transparent); }
.servicos a {
  display: grid; grid-template-columns: 3.2rem 1fr auto; gap: .2rem 1.2rem; align-items: baseline;
  padding: 1.6rem 0; text-decoration: none; color: var(--texto);
}
.servicos a::before { content: counter(servico, decimal-leading-zero); font-family: var(--fonte-titulo); font-size: 1.1rem; color: var(--vinho); grid-row: span 2; }
.servicos__nome { font-family: var(--fonte-titulo); font-size: clamp(1.35rem, 2.6vw, 1.9rem); color: var(--vinho); line-height: 1.2; }
.servicos__frase { grid-column: 2; color: var(--texto-suave); font-size: .98rem; }
.servicos__seta { grid-row: 1; grid-column: 3; color: var(--vinho); transition: transform .25s; }
.servicos a:hover .servicos__seta { transform: translateX(6px); }
.servicos a:hover .servicos__nome { color: var(--vinho-escuro); }
@media (min-width: 820px) {
  .servicos a { grid-template-columns: 4.5rem 1.1fr 1fr auto; }
  .servicos a::before { grid-row: auto; }
  .servicos__frase { grid-column: 3; }
  .servicos__seta { grid-column: 4; }
}

/* ---------- Sobre ---------- */
.dupla { display: grid; gap: 3.5rem; align-items: center; }
.dupla .foto { width: min(100%, 400px); }
@media (min-width: 900px) {
  .dupla { grid-template-columns: 5fr 7fr; gap: 5rem; }
  .dupla--inversa { grid-template-columns: 7fr 5fr; }
  .dupla--inversa > :first-child { order: 2; justify-self: end; }
}
.credenciais { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: .9rem; }
.credenciais li { display: grid; grid-template-columns: 26px 1fr; gap: .8rem; align-items: baseline; }
.credenciais li::before { content: ""; height: 1px; background: var(--rosa); transform: translateY(-.3em); }

/* ---------- Como eu trabalho ---------- */
.citacao { margin: 3rem 0 0; padding: 0; max-width: 46rem; }
.citacao p { font-family: var(--fonte-titulo); font-style: italic; font-size: clamp(1.6rem, 3.4vw, 2.5rem); line-height: 1.25; color: var(--vinho); margin-bottom: 1rem; }
.citacao footer { font-size: .98rem; color: var(--texto-suave); max-width: 38rem; }

/* ---------- Como funciona ---------- */
.passos { list-style: none; padding: 0; margin: 0; display: grid; gap: 2.4rem; counter-reset: passo; }
.passos li { counter-increment: passo; }
.passos li::before { content: counter(passo); display: block; font-family: var(--fonte-titulo); font-size: 3.4rem; line-height: 1; color: var(--vinho); margin-bottom: 1rem; }
.passos h3 { margin-bottom: .5rem; }
.passos p { color: var(--texto-suave); }
@media (min-width: 820px) { .passos { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }
.sigilo { margin-top: 3rem; font-size: .95rem; color: var(--texto-suave); padding-top: 1.4rem; border-top: 1px solid var(--rosa); max-width: 40rem; }

/* ---------- Como chegar ---------- */
.chegar { display: grid; gap: 3rem; }
@media (min-width: 900px) { .chegar { grid-template-columns: 5fr 6fr; gap: 4.5rem; align-items: start; } }
.endereco { font-family: var(--fonte-titulo); font-size: clamp(1.4rem, 2.6vw, 1.8rem); line-height: 1.3; color: var(--vinho); margin-bottom: 1.4rem; }
.info { display: grid; gap: 1.2rem; margin: 1.8rem 0 0; }
.info dt { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--vinho); font-weight: 500; }
.info dd { margin: .2rem 0 0; }
.chegar__fotos { display: grid; gap: 2.4rem; }
.chegar__fotos .foto--retrato { width: min(70%, 300px); }

/* ---------- Destaque (Por que com a Flávia) ---------- */
.destaque { background: var(--vinho); color: var(--branco); }
.destaque h2, .destaque .rotulo { color: var(--branco); }
.destaque a { color: var(--branco); }
.destaque__grid { display: grid; gap: 2.5rem; }
.numero { font-family: var(--fonte-titulo); font-style: italic; font-size: clamp(5rem, 14vw, 9rem); line-height: .9; margin: 0; }
.numero--palavra { font-size: clamp(3.4rem, 8vw, 5.4rem); }
.numero span { display: block; font-family: var(--fonte-texto); font-style: normal; font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; margin-top: 1rem; }
@media (min-width: 900px) { .destaque__grid { grid-template-columns: 4fr 8fr; gap: 5rem; align-items: center; } }

/* ---------- Blocos de texto das páginas de serviço ---------- */
.lista-sinais { list-style: none; padding: 0; margin: 2rem 0; display: grid; gap: 1.1rem; max-width: 46rem; }
.lista-sinais li { padding-left: 1.6rem; position: relative; }
.lista-sinais li::before { content: ""; position: absolute; left: 0; top: .85em; width: 14px; height: 1px; background: var(--vinho); }
.lista-sinais strong { color: var(--vinho); }
.colunas { display: grid; gap: 3rem; }
@media (min-width: 900px) { .colunas { grid-template-columns: 1fr 1fr; gap: 4.5rem; } }
.colunas h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.nota { margin-top: 2rem; padding: 1.2rem 1.4rem; border-left: 2px solid var(--rosa); background: color-mix(in srgb, var(--bege-claro) 70%, transparent); max-width: 46rem; }
.s--claro .nota { background: var(--bege); }
.aviso { margin-top: 2rem; padding: 1.4rem 1.6rem; border: 1px solid var(--vinho); border-radius: var(--raio); max-width: 46rem; }
.aviso strong { color: var(--vinho); }
.relacionados { display: grid; gap: 1.2rem; margin-top: 2rem; }
@media (min-width: 820px) { .relacionados { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; } }
.relacionado { display: block; padding: 1.4rem 0; border-top: 1px solid var(--vinho); text-decoration: none; color: var(--texto); }
.relacionado strong { display: block; font-family: var(--fonte-titulo); font-weight: 400; font-size: 1.35rem; color: var(--vinho); margin-bottom: .3rem; }
.relacionado span { color: var(--texto-suave); font-size: .95rem; }

/* ---------- FAQ ---------- */
.faqs { max-width: 50rem; border-top: 1px solid color-mix(in srgb, var(--vinho) 25%, transparent); }
.faq { border-bottom: 1px solid color-mix(in srgb, var(--vinho) 25%, transparent); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1.5rem; align-items: baseline;
  padding: 1.35rem 0; font-weight: 500; font-size: 1.02rem; color: var(--texto);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--fonte-titulo); font-size: 1.6rem; line-height: 1; color: var(--vinho); transition: transform .25s; flex-shrink: 0; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--vinho); }
.faq__resposta { padding: 0 2.5rem 1.5rem 0; color: var(--texto-suave); }

/* ---------- Fechamento ---------- */
.fechamento { text-align: center; padding-bottom: calc(var(--secao) + 1rem); }
.fechamento h2 { max-width: 18ch; margin-inline: auto; }
.fechamento p { max-width: 32rem; margin-inline: auto; color: var(--texto-suave); }
.fechamento .acoes { justify-content: center; }
.fio-fim { display: block; width: 1px; height: 64px; margin: 0 auto 1.6rem; }

/* ---------- Página de texto (privacidade) ---------- */
.legal h2 { font-size: 1.6rem; margin-top: 2.4rem; }

/* ---------- Rodapé ---------- */
.rodape { background: var(--texto); color: var(--bege-claro); padding: 4.5rem 0 2rem; font-size: .92rem; position: relative; z-index: 4; }
.rodape a { color: var(--bege-claro); }
.rodape a:hover { color: var(--rosa); }
.rodape__grid { display: grid; gap: 2.4rem; }
@media (min-width: 820px) { .rodape__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 3rem; } }
.rodape .marca__nome { color: var(--bege-claro); font-size: 1.2rem; }
.marca--rodape { margin-bottom: 1.2rem; }
.rodape__titulo { font-family: var(--fonte-texto); font-size: .72rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--rosa); margin-bottom: 1rem; }
.rodape__links { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.rodape__links a { text-decoration: none; }
.rodape__base { margin-top: 3.5rem; padding-top: 1.6rem; border-top: 1px solid color-mix(in srgb, var(--bege-claro) 20%, transparent); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem 2rem; font-size: .82rem; }
.rodape__emergencia { color: var(--bege-claro); }

/* ---------- WhatsApp flutuante ---------- */
.flutuante {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--vinho); color: var(--branco);
  box-shadow: 0 6px 18px color-mix(in srgb, var(--texto) 22%, transparent);
  transition: background .2s, transform .2s;
}
.flutuante:hover { background: var(--vinho-escuro); color: var(--branco); transform: translateY(-2px); }
.flutuante svg { width: 26px; height: 26px; fill: currentColor; }
