/* =========================================================
   Lívia Fiorentino — base compartilhada pelos widgets
   Paleta areia/greige + verde sálvia; CTAs em rosa; títulos EB Garamond.
   ========================================================= */
:root {
  --lf-branco: #ffffff;
  --lf-creme: #f8f6f2;
  --lf-areia: #efebe5;
  --lf-greige: #a99e92;
  --lf-taupe: #857a6e;
  --lf-tinta: #2a2d2a;
  --lf-texto: #2f3330;
  --lf-texto-2: #6f726d;
  --lf-linha: rgba(42, 45, 42, .14);
  --lf-verde: #8a9d8c;
  --lf-verde-escuro: #4f6252;
  --lf-verde-claro: #e7ede6;
  --lf-rosa: #f3e2e3;
  --lf-rosa-forte: #c46f80;
  --lf-rosa-hover: #ad5c6d;
  --lf-azul: #e4ecf1;
  --lf-zap: #25b864;
  --lf-raio: 22px;
  --lf-serifa: "EB Garamond", Georgia, serif;
  --lf-sans: "Jost", system-ui, -apple-system, sans-serif;
  --lf-largura: 1200px;
  --lf-margem: clamp(18px, 4vw, 56px);
  --lf-ease: cubic-bezier(.22, .8, .2, 1);
  --lf-sombra-foto: linear-gradient(180deg, rgba(28, 30, 27, .6) 0%, rgba(28, 30, 27, .46) 45%, rgba(28, 30, 27, .66) 100%);
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--lf-creme); color: var(--lf-texto); font-family: var(--lf-sans); font-size: 16px; font-weight: 300; line-height: 1.75; -webkit-font-smoothing: antialiased; overflow-x: clip; }

/* Contêineres do Elementor que guardam um widget da Lívia: largura total, sem espaçamento. */
.e-con:has(> .elementor-widget[data-widget_type^="livia-"]),
.e-con:has(> .e-con-inner > .elementor-widget[data-widget_type^="livia-"]) {
  --padding-top: 0; --padding-bottom: 0; --padding-left: 0; --padding-right: 0; --gap: 0; --row-gap: 0; --column-gap: 0; --content-width: 100%; --width: 100%;
}
.elementor-widget[data-widget_type^="livia-"] { width: 100%; }
/* Nenhuma seção empurra a página para os lados (no celular isso "afasta" o zoom). */
section.lf, footer.lf { overflow-x: clip; }

/* Reset dentro dos widgets (com :where para não brigar com as classes dos blocos). */
:where(.lf), :where(.lf) *, :where(.lf) *::before, :where(.lf) *::after { box-sizing: border-box; }
:where(.lf) { font-family: var(--lf-sans); font-size: 16px; font-weight: 300; line-height: 1.75; color: var(--lf-texto); }
:where(.lf) img { display: block; max-width: 100%; height: auto; border: 0; border-radius: 0; box-shadow: none; }
:where(.lf) a { color: inherit; text-decoration: none; box-shadow: none; }
:where(.lf) a:hover, :where(.lf) a:focus { color: inherit; }
:where(.lf) button { font: inherit; color: inherit; background: none; border: 0; border-radius: 0; cursor: pointer; padding: 0; margin: 0; text-transform: none; letter-spacing: inherit; line-height: inherit; box-shadow: none; }
:where(.lf) :is(figure, blockquote, ul, ol, p) { margin: 0; padding: 0; }
:where(.lf) :is(ul, ol) { list-style: none; }
:where(.lf) p { margin-bottom: 0; }
:where(.lf) :is(b, strong) { font-weight: 500; }
:where(.lf) :is(h1, h2, h3) { margin: 0; font-family: var(--lf-serifa); font-weight: 400; color: inherit; text-transform: none; letter-spacing: normal; }
:where(.lf) h2 { font-size: clamp(2.4rem, 4.4vw, 3.8rem); line-height: 1.08; letter-spacing: -.005em; }
:where(.lf) h2 em { font-style: italic; font-weight: 400; color: var(--lf-verde-escuro); }
:where(.lf) small { font-size: inherit; }
:where(.lf) :focus-visible { outline: 2px solid var(--lf-rosa-forte); outline-offset: 3px; }
[class*="lf-"] { font-variant-numeric: lining-nums; }

/* Tipografia comum */
.lf-rotulo { margin: 0 0 18px; font-size: 11.5px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--lf-taupe); }
.lf-cabeca { text-align: center; margin-bottom: clamp(44px, 5vw, 70px); }
.lf-link { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--lf-texto); border-bottom: 1px solid currentColor; padding-bottom: 4px; transition: color .25s; }
.lf .lf-link:hover { color: var(--lf-verde-escuro); }

/* Botões (pílula) */
.lf-botao { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 28px; border-radius: 99px; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; line-height: 1; transition: background .3s, border-color .3s, color .3s, transform .35s var(--lf-ease), box-shadow .35s var(--lf-ease); }
.lf-botao:hover { transform: translateY(-2px); }
.lf-botao svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.4; flex: none; }
.lf .lf-botao--rosa, .lf .lf-botao--rosa:hover, .lf .lf-botao--rosa:focus { color: #fff; }
.lf-botao--rosa { background: linear-gradient(135deg, #d4848f 0%, var(--lf-rosa-forte) 100%); box-shadow: 0 14px 30px -12px rgba(196, 111, 128, .75); }
.lf-botao--rosa:hover { background: linear-gradient(135deg, #c97683 0%, var(--lf-rosa-hover) 100%); box-shadow: 0 18px 36px -12px rgba(196, 111, 128, .85); }
.lf .lf-botao--claro, .lf .lf-botao--branco { background: #fff; color: var(--lf-tinta); }
.lf .lf-botao--claro:hover, .lf .lf-botao--branco:hover { background: var(--lf-areia); color: var(--lf-tinta); }
.lf .lf-botao--fantasma { border: 1px solid rgba(255, 255, 255, .6); color: #fff; }
.lf .lf-botao--fantasma:hover { background: rgba(255, 255, 255, .12); border-color: #fff; color: #fff; }
.lf .lf-botao--vidro { background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .45); color: #fff; backdrop-filter: blur(10px); }
.lf .lf-botao--vidro:hover { background: rgba(255, 255, 255, .26); color: #fff; }
.lf .lf-botao--escuro { background: var(--lf-verde-escuro); color: #fff; }
.lf .lf-botao--escuro:hover { background: #3f4f42; color: #fff; }
.lf .lf-botao--zap { background: var(--lf-zap); color: #fff; box-shadow: 0 14px 28px -14px rgba(37, 184, 100, .8); }
.lf .lf-botao--zap:hover { background: #1fa357; color: #fff; }
.lf .lf-botao--linha { border: 1px solid var(--lf-linha); color: var(--lf-texto); }
.lf .lf-botao--linha:hover { border-color: var(--lf-texto); color: var(--lf-texto); }
.lf-botao--grande { height: 56px; padding: 0 34px; font-size: 12.5px; }
.lf-botao--largo { width: 100%; height: 58px; font-size: 13px; }

/* Faixas de fotos verticais (Capa e Chamada) */
.lf-capa__fotos, .lf-chamada__fotos { position: absolute; inset: 0; z-index: -2; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 2px; }
.lf-capa__fotos img, .lf-chamada__fotos img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.75) contrast(.96); animation: lf-respira 18s ease-in-out infinite alternate; }
.lf-capa__fotos img:nth-child(2n), .lf-chamada__fotos img:nth-child(2n) { animation-delay: -9s; }
.lf-capa::after, .lf-chamada::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--lf-sombra-foto); }
@keyframes lf-respira { from { transform: scale(1); } to { transform: scale(1.08); } }
.lf .vira { transform: rotate(180deg); }

/* Campos (formulário de agendar e login) */
.lf-form label > span, .lf-form__grupo > span, .lf-modal__caixa label > span { display: block; font-size: 10.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--lf-texto-2); margin-bottom: 8px; }
.lf .lf-form input:not([type=radio]), .lf .lf-form select, .lf .lf-modal__caixa input { width: 100%; height: 52px; padding: 0 18px; font: inherit; font-size: 15px; font-weight: 400; color: var(--lf-texto); border: 1px solid transparent; border-radius: 14px; background: #f5f2ee; outline: none; box-shadow: none; transition: border-color .2s, background .2s, box-shadow .2s; }
.lf .lf-form input:focus, .lf .lf-form select:focus, .lf .lf-modal__caixa input:focus { border-color: var(--lf-rosa-forte); background: #fff; box-shadow: 0 0 0 4px rgba(196, 111, 128, .15); }

/* Login (abre pelos botões com data-login; o HTML vem no widget Cabeçalho) */
.lf-modal { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 20px; }
.lf-modal[hidden] { display: none; }
.lf-modal__fundo { position: absolute; inset: 0; background: rgba(42, 45, 42, .4); backdrop-filter: blur(8px); animation: lf-aparece .35s; }
.lf-modal__caixa { position: relative; width: min(420px, 100%); display: grid; gap: 14px; padding: 40px 34px 30px; border-radius: 28px; background: #fff; color: var(--lf-texto); animation: lf-sobe .45s var(--lf-ease); }
.lf .lf-modal__x { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; font-size: 20px; background: var(--lf-areia); }
.lf-modal__logo { width: 100px; justify-self: center; }
.lf-modal__caixa h3 { font-size: 2.1rem; text-align: center; line-height: 1; }
.lf-modal__caixa h3 em { font-style: italic; color: var(--lf-verde-escuro); }
.lf-modal__sub { margin: -6px 0 4px; text-align: center; color: var(--lf-texto-2); font-size: 14px; }
.lf-modal__nota { margin: 0; font-size: 12px; color: var(--lf-texto-2); text-align: center; }
.lf-abas { justify-self: center; display: inline-flex; padding: 4px; border-radius: 99px; background: var(--lf-areia); }
.lf .lf-abas button { padding: 7px 18px; font-size: 13px; border-radius: 99px; }
.lf .lf-abas button.ativo { background: #fff; box-shadow: 0 2px 10px rgba(42, 45, 42, .1); }
@keyframes lf-aparece { from { opacity: 0; } }
@keyframes lf-sobe { from { opacity: 0; transform: translateY(24px); } }

/* Revelar ao rolar (desligado no editor do Elementor) */
.lf-revela { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--lf-ease), transform 1.1s var(--lf-ease); }
.lf-revela.visivel { opacity: 1; transform: none; }

@media (max-width: 560px) {
  .lf-capa__texto .lf-botao, .lf-chamada__botoes .lf-botao { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .lf *, .lf *::before, .lf *::after { animation: none !important; transition: none !important; }
  .lf-revela { opacity: 1; transform: none; }
}
