/* ============================================================
   Laura Vasconcelos — client.css
   Arquétipo: Âncora x Raiz  |  Paleta: Chão e Sálvia  |  Fonte: Fraunces
   Gerado por: Prezo.psi (ATA 014 — piloto fictício)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;1,9..144,300;1,9..144,400&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600&display=swap');

:root {
  /* Paleta Chão e Sálvia (Paleta A — Recomendada) */
  --c-primary:        #4D7268;
  --c-primary-text:   #3D5B54;
  --c-background:     #F6F2ED;
  --c-foreground:     #231A16;
  --c-accent:         #B07A5E;
  --c-subtle:         #EAE0D2;
  --c-background-80:  rgba(246, 242, 237, 0.88);

  /* Aliases semânticos */
  --color-brand-primary:   var(--c-primary);
  --color-brand-secondary: var(--c-accent);
  --color-bg-canvas:       var(--c-background);
  --color-bg-subtle:       var(--c-subtle);
  --color-border-default:  var(--c-subtle);

  /* Tipografia */
  --f-display: 'Fraunces', Georgia, serif;
  --f-body:    'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Linha abaixo do CTA no hero */
.hero__sub-cta {
  font-size: var(--t-sm);
  color: var(--color-text-muted);
  margin-top: var(--sp-3);
}

/* Focus com cor do cliente */
:focus-visible {
  outline-color: var(--c-primary);
}

/* Ajuste: selection com Musgo */
::selection {
  background: var(--c-primary);
  color: var(--c-background);
}

/* Ajuste: input focus ring */
.input:focus, .textarea:focus {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(77, 114, 104, 0.15);
}

/* Ajuste: badge--primary com Musgo */
.badge--primary {
  background: rgba(77, 114, 104, 0.12);
  color: var(--c-primary-text);
}

/* Rodapé: cor de destaque no CRP com Musgo */
.footer__crp { color: var(--c-primary); }

/* Rodapé CVV: borda Musgo */
.footer__cvv { border-left-color: var(--c-primary); background: rgba(77,114,104,0.1); }

/* Paraquem: borda esquerda com Musgo + feedback de clique */
.paraquem__item {
  border-left-color: var(--c-primary);
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}
.paraquem__item small {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.paraquem__item small::after {
  content: '→';
  font-size: 1.1rem;
  color: var(--c-primary);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.paraquem__item:hover {
  background: rgba(77, 114, 104, 0.06);
  box-shadow: 0 4px 18px rgba(77,114,104,0.15);
}
.paraquem__item:hover small::after {
  transform: translateX(5px);
}
.paraquem__item:active {
  transform: scale(0.985);
}

/* Credenciais: bullet com Musgo */
.cred li::before { color: var(--c-primary); }

/* Prova social: label com Musgo */
.prova__label { color: var(--c-primary-text); }

/* Foto hero: alinha à esquerda para não cortar o rosto */
.hero__photo img { object-position: left top; }

/* Foto sobre: ocupa o quadro, sombra verde, coluna da direita */
.sobre__photo {
  background: none;
  padding: 0;
  display: block;
  box-shadow: 10px 14px 48px rgba(77, 114, 104, 0.28);
}
.sobre__photo img { object-position: 75% top; }
.sobre__photo-wrap { order: 2; }
@media (max-width: 720px) {
  .sobre__photo-wrap { order: -1; }
}

/* Badges glass sobre a foto do sobre */
.sobre__badges {
  position: absolute;
  bottom: var(--sp-4);
  left: var(--sp-3);
  right: var(--sp-3);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  z-index: 2;
}
.sobre__badge {
  display: inline-block;
  align-self: center;
  padding: 0.42rem 1rem;
  border-radius: var(--r-xl);
  font-size: 1.1rem;
  font-weight: 500;
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.14);
  line-height: 1.4;
  white-space: nowrap;
}
/* Zigzag: centro → esquerda → direita */
.sobre__badge:nth-child(1) { align-self: center; }
.sobre__badge:nth-child(2) { align-self: flex-start; }
.sobre__badge:nth-child(3) { align-self: flex-end; }

@media (prefers-reduced-motion: reduce) {
  .sobre__badge { transition: none; }
}

/* Mobile: badges fora da foto, abaixo, estilizados */
@media (max-width: 720px) {
  .sobre__badges {
    position: static;
    margin-top: var(--sp-3);
  }
  .sobre__badge {
    background: rgba(77, 114, 104, 0.1);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    color: var(--c-foreground);
    border-color: rgba(77, 114, 104, 0.22);
    box-shadow: none;
    font-size: 0.9rem;
  }
}

/* Card flutuante: canto inferior esquerdo, vaza pela esquerda e embaixo */
.hero__floating-card {
  left: -40px;
  bottom: -32px;
  min-width: unset;
  width: fit-content;
  animation: card-float 3.6s ease-in-out infinite;
}

@media (max-width: 720px) {
  .hero__floating-card {
    left: -20px;
    bottom: -20px;
  }
}

@keyframes card-float {
  0%   { transform: translateY(0px); }
  50%  { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

/* will-change isola o card no próprio layer — sem impacto no scroll */
.hero__floating-card { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  .hero__floating-card { animation: none; }
}

/* CTA Prezo.psi */
.prezopsi-cta {
  padding-block: var(--sp-16);
  background: var(--color-bg-surface);
  text-align: center;
  border-top: 1px solid var(--color-border-default);
}
.prezopsi-cta__eyebrow {
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-primary);
  margin-bottom: var(--sp-4);
  opacity: 0.7;
}
.prezopsi-cta__title {
  font-family: var(--f-display);
  font-size: var(--t-h2);
  line-height: 1.2;
  color: var(--c-primary-text);
  margin-bottom: var(--sp-4);
}
.prezopsi-cta__title em { font-style: italic; color: var(--c-primary); }
.prezopsi-cta__sub {
  color: var(--color-text-muted);
  max-width: 480px;
  margin-inline: auto;
  margin-bottom: var(--sp-8);
  line-height: 1.6;
}
.prezopsi-cta__btn {
  display: inline-block;
  background: var(--c-primary);
  color: #fff;
  padding: var(--sp-3) var(--sp-8);
  border-radius: var(--r-full);
  font-weight: 600;
  font-size: var(--t-base);
  text-decoration: none;
  transition: opacity 0.2s;
}
.prezopsi-cta__btn:hover { opacity: 0.85; }

/* CTA final: verde musgo no lugar do charcoal animado */
.cta-final {
  background: var(--c-primary);
  animation: none;
}

/* Linha abaixo do botão no CTA final */
.cta-final__sub {
  margin-top: var(--sp-5);
  font-size: var(--t-sm);
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0;
}

/* Bloco diferencial na seção Como Funciona */
.como__diferencial {
  margin-top: var(--sp-10);
  padding: var(--sp-8) var(--sp-8);
  background: rgba(77, 114, 104, 0.07);
  border-left: 3px solid var(--c-primary);
  border-radius: var(--r-lg);
}
.como__diferencial p {
  font-size: var(--t-base);
  line-height: 1.7;
  color: var(--c-foreground);
  margin: 0;
}
@media (max-width: 720px) {
  .como__diferencial {
    padding: var(--sp-6) var(--sp-5);
  }
}

/* Eyebrow standalone (usado fora de .section-heading) */
.eyebrow {
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-primary-text);
  display: block;
  margin-bottom: var(--sp-3);
}

/* ================================================================
   DOR PAGES — Extensões de client.css
   Componentes exclusivos das landing pages por transtorno
   ================================================================ */

/* ── fx-ray variante para fundos claros ────────────────────────── */
hr.fx-ray--on-light {
  border: none;
  height: 1px;
  background: linear-gradient(to right,
    transparent 0%,
    rgba(77, 114, 104, 0.12) 20%,
    rgba(77, 114, 104, 0.35) 50%,
    rgba(77, 114, 104, 0.12) 80%,
    transparent 100%
  );
  position: relative;
  margin: 0;
  overflow: visible;
}
hr.fx-ray--on-light::after {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 12px;
  background: radial-gradient(ellipse at center,
    rgba(77, 114, 104, 0.18) 0%,
    transparent 70%
  );
  pointer-events: none;
}

/* ── fx-aurora paleta Chão e Sálvia ────────────────────────────── */
.hero--aurora .fx-aurora__bg {
  background: conic-gradient(
    from 140deg at 60% 40%,
    rgba(176, 122, 94, 0.45),
    rgba(77, 114, 104, 0.30),
    rgba(246, 242, 237, 0.15),
    rgba(176, 122, 94, 0.45)
  );
  filter: blur(48px);
  opacity: 0.75;
}

/* ── Para quem Chat Scroll ─────────────────────────────────────── */
.paraquem__chat-wrap {
  background: rgba(77, 114, 104, 0.11);
  border-radius: 1.75rem;
  padding: 48px var(--sp-3) var(--sp-5);
  max-width: 380px;
  margin: var(--sp-8) auto 0;
  overflow: visible;
  position: relative;
}

/* sem linha central em qualquer tamanho */
.paraquem__chat-wrap .fx-chat-scroll::before {
  display: none;
}

/* mobile: caixa verde estreita, msgs passam por cima */
@media (max-width: 767px) {
  .paraquem__chat-wrap {
    max-width: calc(100vw - 3rem);
    margin-inline: auto;
    overflow: visible;
  }
  .paraquem__chat-wrap .fx-chat-scroll {
    width: calc(100% + 260px);
    margin-left: -130px;
  }
  /* msg se ajusta ao conteúdo, não força largura fixa */
  .paraquem__chat-wrap .fx-chat-scroll__msg {
    width: auto;
    justify-content: center;
    transform: none;
    align-self: center;
  }
  .paraquem__chat-wrap .fx-chat-scroll__msg--left,
  .paraquem__chat-wrap .fx-chat-scroll__msg--right {
    transform: none;
    align-self: center;
  }
  /* bolha cresce até quase a borda */
  .paraquem__chat-wrap .fx-chat-scroll__bubble {
    max-width: calc(100vw - 2.5rem);
  }
  .paraquem__chat-wrap .fx-chat-scroll__avatar {
    display: none;
  }
}

/* desktop: msgs se esticam para acompanhar o texto abaixo */
@media (min-width: 768px) {
  .paraquem__chat-wrap .fx-chat-scroll {
    width: calc(100% + 520px);
    margin-left: -260px;
  }
  .paraquem__chat-wrap .fx-chat-scroll__msg {
    width: 62%;
  }
}

/* card branco: absoluto, atrás das mensagens, do topo até o fundo do verde */
.paraquem__profile-card {
  position: absolute;
  top: 56px;
  left: var(--sp-3);
  right: var(--sp-3);
  bottom: var(--sp-3);
  background: #fff;
  border-radius: 1.1rem;
  padding: 32px var(--sp-5) var(--sp-5);
  box-shadow: 0 4px 20px rgba(77, 114, 104, 0.14);
  text-align: center;
  z-index: 0;
}

/* mensagens por cima do card */
.paraquem__chat-wrap .fx-chat-scroll {
  position: relative;
  z-index: 1;
  padding-top: 100px;
}

/* avatar sentado metade dentro, metade fora do card */
.paraquem__profile-avatar {
  position: absolute;
  top: -26px;
  left: 50%;
  transform: translateX(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--c-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.paraquem__profile-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--c-foreground);
  margin: 0;
}

.paraquem__profile-sub {
  font-size: 0.78rem;
  color: var(--c-foreground);
  opacity: 0.55;
  margin: 0.2rem 0 0;
}

/* Texto espelho abaixo: largura total */
.paraquem .section-heading.mt-8 {
  max-width: 100%;
}

/* Parágrafo de fechamento da seção paraquem */
#paraquem > .container > .mt-4 {
  color: var(--color-text-muted);
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}

/* ── Card 3D Reveal on Scroll ──────────────────────────────────── */
.card3d-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
  margin-top: var(--sp-8);
  perspective: 900px;
}

.card3d {
  background: #fff;
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  box-shadow: 0 4px 24px rgba(77, 114, 104, 0.09);
  border: 1px solid rgba(77, 114, 104, 0.1);
  opacity: 0;
  transform: perspective(900px) rotateX(18deg) translateY(32px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.card3d.is-visible {
  opacity: 1;
  transform: perspective(900px) rotateX(0deg) translateY(0);
}
.card3d__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(77, 114, 104, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-4);
  font-size: 1.2rem;
}
.card3d h3 {
  font-size: var(--t-base);
  font-weight: 700;
  margin: 0 0 var(--sp-2);
  color: var(--c-primary);
}
.card3d p {
  font-size: var(--t-sm);
  color: var(--c-text-muted);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .card3d-grid {
    grid-template-columns: 1fr;
    perspective: none;
  }
  .card3d {
    transform: translateY(24px);
  }
}

/* ── Timeline Sync Reveal ──────────────────────────────────────── */
.timeline {
  position: relative;
  margin-top: var(--sp-10);
  padding-left: 56px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom,
    rgba(77, 114, 104, 0.0) 0%,
    rgba(77, 114, 104, 0.25) 10%,
    rgba(77, 114, 104, 0.25) 90%,
    rgba(77, 114, 104, 0.0) 100%
  );
}

.timeline__item {
  position: relative;
  margin-bottom: var(--sp-8);
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.timeline__item.is-visible {
  opacity: 1;
  transform: translateX(0);
}
.timeline__item:last-child {
  margin-bottom: 0;
}

.timeline__dot {
  position: absolute;
  left: -44px;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--c-primary);
  border: 3px solid var(--c-bg);
  box-shadow: 0 0 0 2px rgba(77, 114, 104, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 700;
  color: #fff;
  z-index: 1;
}

.timeline__content h3 {
  font-size: var(--t-lg);
  font-weight: 700;
  margin: 0 0 var(--sp-2);
  color: var(--c-heading);
}
.timeline__content p {
  font-size: var(--t-base);
  color: var(--c-text-muted);
  line-height: 1.65;
  margin: 0;
}

/* ── Phone mockup (atendimento online) ─────────────────────────── */
.phone-mockup {
  width: 200px;
  height: 380px;
  border: 3px solid rgba(77, 114, 104, 0.35);
  border-radius: 32px;
  background: var(--c-bg);
  position: relative;
  box-shadow:
    0 0 0 6px rgba(77, 114, 104, 0.07),
    0 24px 48px rgba(77, 114, 104, 0.18);
  overflow: hidden;
  flex-shrink: 0;
}
.phone-mockup::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 5px;
  background: rgba(77, 114, 104, 0.2);
  border-radius: 3px;
  z-index: 2;
}
.phone-mockup::after {
  content: '';
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 4px;
  background: rgba(77, 114, 104, 0.18);
  border-radius: 2px;
  z-index: 2;
}
.phone-mockup__screen {
  position: absolute;
  inset: 20px 8px 22px;
  background: linear-gradient(160deg,
    rgba(77, 114, 104, 0.08) 0%,
    rgba(244, 246, 239, 0.9) 100%
  );
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 12px;
  text-align: center;
}
.phone-mockup__screen span {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--c-primary);
  line-height: 1.4;
}
.phone-mockup__screen small {
  font-size: 0.6rem;
  color: var(--c-text-muted);
}
.phone-mockup__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(77, 114, 104, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 4px;
}
.phone-mockup__bar {
  width: 100%;
  height: 6px;
  background: rgba(77, 114, 104, 0.12);
  border-radius: 3px;
  margin-top: 4px;
}
.phone-mockup__bar--short { width: 70%; }

/* ── Seção online (layout text + phone) ────────────────────────── */
.online-section {
  padding: var(--sp-16) 0;
  background: var(--c-bg);
}
.online-section__grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--sp-12);
  align-items: center;
}
.online-section__text h2 {
  font-size: var(--t-3xl);
  margin-bottom: var(--sp-4);
}
.online-section__text p {
  font-size: var(--t-lg);
  color: var(--c-text-muted);
  margin-bottom: var(--sp-6);
}

@media (max-width: 768px) {
  .online-section__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .phone-mockup {
    margin: 0 auto;
  }
}

/* ── Seção solução ─────────────────────────────────────────────── */
.solucao-section {
  padding: var(--sp-16) 0;
  background: #fff;
}

/* ── Statement dark (faixa verde com destaque) ─────────────────── */
.statement-section {
  background: var(--c-primary);
  padding: var(--sp-16) 0;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.statement-section h2 {
  font-size: var(--t-3xl);
  color: #fff;
  max-width: 680px;
  margin: 0 auto var(--sp-4);
  line-height: 1.25;
}
.statement-section p {
  color: rgba(255, 255, 255, 0.75);
  font-size: var(--t-lg);
  max-width: 540px;
  margin: 0 auto var(--sp-8);
}

/* ── Seção processo ────────────────────────────────────────────── */
.processo-section {
  padding: var(--sp-16) 0;
  background: var(--c-bg);
}
.processo-section .section-heading {
  max-width: 560px;
}

/* ── Sobre mim nas dor pages ───────────────────────────────────── */
.sobre-dor {
  padding: var(--sp-16) 0;
  background: #fff;
}
.sobre-dor__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-12);
  align-items: center;
}
.sobre-dor__photo {
  aspect-ratio: 4/5;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: rgba(77, 114, 104, 0.08);
  box-shadow: 8px 8px 0 rgba(77, 114, 104, 0.15);
}
.sobre-dor__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.sobre-dor__text .eyebrow {
  color: var(--c-primary);
}
.sobre-dor__text h2 {
  margin: var(--sp-2) 0 var(--sp-4);
}
.sobre-dor__text p {
  color: var(--c-text-muted);
  line-height: 1.7;
  margin-bottom: var(--sp-4);
}
.sobre-dor__crp {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-top: var(--sp-6);
  padding-top: var(--sp-4);
  border-top: 1px solid rgba(77, 114, 104, 0.12);
}
.sobre-dor__crp span {
  font-size: var(--t-sm);
  color: var(--c-text-muted);
}
.sobre-dor__crp a {
  font-size: var(--t-xs);
  color: var(--c-primary);
  font-weight: 600;
}

@media (max-width: 768px) {
  .sobre-dor__grid {
    grid-template-columns: 1fr;
  }
  .sobre-dor__photo {
    aspect-ratio: 4/3;
  }
}

/* ── Floating card (dor pages) ─────────────────────────────────── */
.hero__floating-card {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(77, 114, 104, 0.15);
  border-radius: var(--r-lg);
  padding: var(--sp-3) var(--sp-5);
  margin-top: var(--sp-5);
  box-shadow: 0 4px 20px rgba(77, 114, 104, 0.1);
  animation: float-card 4s ease-in-out infinite;
}

/* ── Override: card do hero principal (vertical, canto esquerdo) ── */
.hero__photo-wrap .hero__floating-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  width: fit-content;
  left: -40px;
  bottom: -32px;
  margin-top: 0;
  padding: var(--sp-4) var(--sp-5);
  animation: card-float 3.6s ease-in-out infinite;
}

@media (max-width: 720px) {
  .hero__photo-wrap .hero__floating-card {
    left: -20px;
    bottom: -20px;
  }
}
.hero__floating-card .card__icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(77, 114, 104, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.hero__floating-card .card__text strong {
  display: block;
  font-size: var(--t-sm);
  font-weight: 700;
  color: var(--c-heading);
}
.hero__floating-card .card__text span {
  font-size: var(--t-xs);
  color: var(--c-text-muted);
}
@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ── Glass cards variante (depressao) ──────────────────────────── */
.card3d--glass {
  background: rgba(244, 246, 239, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(77, 114, 104, 0.18);
  box-shadow: 0 4px 24px rgba(77, 114, 104, 0.08);
}

/* ── Aurora hero section overlay ───────────────────────────────── */
.hero--aurora {
  position: relative;
  overflow: hidden;
}
.hero--aurora .fx-aurora {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero--aurora .container {
  position: relative;
  z-index: 1;
}

/* ============================================================
   POPUP PREZO.PSI
   ============================================================ */
.prezo-popup {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--sp-4);
}

.prezo-popup__overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 30, 24, 0.55);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.prezo-popup--visible .prezo-popup__overlay {
  opacity: 1;
}

.prezo-popup__box {
  position: relative;
  background: var(--color-bg-surface);
  border-radius: var(--r-lg);
  max-width: 860px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 80px rgba(20, 30, 24, 0.28);
  transform: translateY(24px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.prezo-popup--visible .prezo-popup__box {
  transform: translateY(0);
  opacity: 1;
}

.prezo-popup__close {
  position: absolute;
  top: var(--sp-4);
  right: var(--sp-4);
  background: none;
  border: none;
  font-size: 1.25rem;
  color: var(--color-text-muted);
  cursor: pointer;
  line-height: 1;
  padding: var(--sp-1);
  z-index: 1;
}
.prezo-popup__close:hover { color: var(--c-primary-text); }

.prezo-popup__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.prezo-popup__intro {
  background: var(--c-primary);
  padding: var(--sp-10) var(--sp-8);
  border-radius: var(--r-lg) 0 0 var(--r-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.prezo-popup__eyebrow {
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: var(--sp-4);
}

.prezo-popup__title {
  font-family: var(--f-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.2;
  color: #fff;
  margin-bottom: var(--sp-4);
}
.prezo-popup__title em { font-style: italic; color: rgba(255,255,255,0.82); }

.prezo-popup__sub {
  color: rgba(255,255,255,0.72);
  line-height: 1.6;
  font-size: 0.95rem;
  margin-bottom: var(--sp-6);
}

.prezo-popup__trust {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.prezo-popup__trust li {
  color: rgba(255,255,255,0.8);
  font-size: var(--t-sm);
  padding-left: var(--sp-5);
  position: relative;
}
.prezo-popup__trust li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: rgba(255,255,255,0.6);
}

.prezo-popup__form-wrap {
  padding: var(--sp-10) var(--sp-8);
}

.prezo-popup__form-title {
  font-family: var(--f-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--c-primary-text);
  margin-bottom: var(--sp-6);
}

.prezo-popup__field {
  margin-bottom: var(--sp-4);
}
.prezo-popup__field label {
  display: block;
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  margin-bottom: var(--sp-1);
}
.prezo-popup__field label span { color: var(--c-primary); }
.prezo-popup__field input,
.prezo-popup__field select {
  width: 100%;
  padding: var(--sp-3) var(--sp-4);
  border: 1px solid var(--color-border-default);
  border-radius: var(--r-md);
  font-size: var(--t-base);
  font-family: inherit;
  background: var(--color-bg-default);
  color: var(--c-primary-text);
  outline: none;
  transition: border-color 0.2s;
}
.prezo-popup__field input:focus,
.prezo-popup__field select:focus {
  border-color: var(--c-primary);
}

.prezo-popup__btn {
  width: 100%;
  background: var(--c-primary);
  color: #fff;
  border: none;
  border-radius: var(--r-full);
  padding: var(--sp-3) var(--sp-6);
  font-size: var(--t-base);
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  margin-top: var(--sp-2);
  transition: opacity 0.2s;
}
.prezo-popup__btn:hover { opacity: 0.88; }

.prezo-popup__note {
  text-align: center;
  font-size: var(--t-xs);
  color: var(--color-text-muted);
  margin-top: var(--sp-3);
}

.prezo-popup__success {
  text-align: center;
  padding: var(--sp-8) 0;
  color: var(--c-primary);
  font-family: var(--f-display);
  font-size: 1.1rem;
  line-height: 1.6;
}

@media (max-width: 640px) {
  .prezo-popup__content {
    grid-template-columns: 1fr;
  }
  .prezo-popup__intro {
    border-radius: var(--r-lg) var(--r-lg) 0 0;
    padding: var(--sp-8) var(--sp-6);
  }
  .prezo-popup__form-wrap {
    padding: var(--sp-6);
  }
}

/* Footer social icons */
.footer__social {
  display: flex;
  gap: var(--sp-3);
  margin-top: var(--sp-3);
  margin-bottom: var(--sp-2);
}
.footer__social a {
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.2s;
  display: flex;
  align-items: center;
}
.footer__social a:hover {
  color: var(--c-primary);
}
