/* ================================================================
   INCANTARE CENTRO ESTÉTICO — Preenchimento Labial
   Campanha Meta Ads — visual promocional de alta conversão,
   inspirado no Grupo VIP Incantare: magenta/rosa + dourado +
   roxo escuro, tipografia bold arredondada, tudo GRANDE.
   Mobile-first, sem frameworks.
   ================================================================ */

:root {
  /* Paleta — sem marrom */
  --color-pink: #EC1876;
  --color-pink-deep: #C2125F;
  --color-orange: #FF6A3D;
  --color-purple-dark: #3B0A4A;
  --color-purple-darker: #240631;
  --color-purple-mid: #6E1E7A;
  --color-gold: #F5B921;
  --color-gold-deep: #E0A000;
  --color-green: #25D366;
  --color-green-deep: #1DA851;

  --color-off-white: #FFF8FB;
  --color-white: #FFFFFF;
  --color-blush: #FDEEF5;
  --color-text: #2E0A3A;
  --color-text-muted: #8A6E96;

  --font-display: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 26px;
  --radius-pill: 999px;

  --shadow-soft: 0 10px 26px rgba(59, 10, 74, 0.16);
  --shadow-strong: 0 18px 44px rgba(59, 10, 74, 0.26);
  --glow-pink: 0 10px 30px rgba(236, 24, 118, 0.45);
  --glow-green: 0 10px 30px rgba(37, 211, 102, 0.45);

  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);

  color-scheme: light;
}

/* ---------- Reset básico ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-off-white);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--safe-top);
}

img { max-width: 100%; display: block; }
button { font-family: inherit; }
[hidden] { display: none !important; }

.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;
}

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding-inline: 20px;
}

.container-narrow { max-width: 640px; }

.section { padding-block: 44px; }

.section-title {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(2rem, 8vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--color-purple-dark);
  text-align: center;
  margin: 0 0 10px;
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  max-width: 440px;
  margin: 0 auto 24px;
  font-size: 1.05rem;
  font-weight: 600;
}

/* Foco visível para navegação por teclado */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 2px;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.01em;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  min-height: 60px;
  padding: 16px 30px;
}

.btn:active { transform: scale(0.97); }

.btn-cta {
  background: linear-gradient(100deg, var(--color-pink) 0%, var(--color-orange) 100%);
  color: var(--color-white);
  box-shadow: var(--glow-pink);
  width: 100%;
  max-width: 460px;
  font-size: 1.12rem;
  text-transform: uppercase;
  animation: ctaPulse 2.4s ease-in-out infinite;
}

.btn-cta:active { transform: scale(0.97); box-shadow: 0 6px 16px rgba(236, 24, 118, 0.35); }

.btn-whatsapp {
  background: linear-gradient(100deg, var(--color-green) 0%, var(--color-green-deep) 100%);
  box-shadow: var(--glow-green);
}

.whatsapp-icon { flex-shrink: 0; }

@keyframes ctaPulse {
  0%, 100% { box-shadow: var(--glow-pink); }
  50% { box-shadow: 0 10px 30px rgba(236, 24, 118, 0.2), 0 0 0 10px rgba(236, 24, 118, 0); }
}

.btn-huge { max-width: 480px; font-size: 1.18rem; padding: 18px 26px; min-height: 66px; }
.btn-block { width: 100%; }
.btn-small { min-height: 46px; padding: 10px 20px; font-size: 0.92rem; animation: none; }

.btn-text-link {
  background: none;
  border: none;
  color: var(--color-blush);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  font-size: 0.9rem;
  padding: 10px 8px;
  min-height: 44px;
}

/* ---------- Badges ---------- */
.alert-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-gold);
  color: var(--color-purple-darker);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
  box-shadow: 0 8px 20px rgba(245, 185, 33, 0.4);
  position: relative;
  z-index: 1;
}

.promo-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-purple-dark);
  color: var(--color-gold);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  margin-bottom: 22px;
}

/* ---------- Topo (logo pequena, sem menu) ---------- */
.topbar {
  background: var(--color-white);
  padding: 14px 0;
  display: flex;
  justify-content: center;
}

.topbar-logo { height: 44px; width: auto; }

/* ---------- Hero promocional ---------- */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--color-blush) 0%, var(--color-off-white) 100%);
  overflow: hidden;
  padding: 20px 0 36px;
  text-align: center;
}

/* "Splash" de atenção — burst dourado atrás do headline, efeito
   explosão/chamativo pedido para reforçar o símbolo de atenção. */
.hero-splash {
  position: absolute;
  top: 6%;
  left: 50%;
  width: 340px;
  height: 340px;
  transform: translateX(-50%) rotate(-6deg);
  background: radial-gradient(circle, var(--color-gold) 0%, rgba(245, 185, 33, 0.55) 60%, rgba(245, 185, 33, 0) 100%);
  clip-path: polygon(50.0% 0.0%, 57.6% 16.9%, 71.7% 5.0%, 71.2% 23.4%, 89.1% 18.8%, 80.6% 35.2%, 98.7% 38.9%, 84.0% 50.0%, 98.7% 61.1%, 80.6% 64.8%, 89.1% 81.2%, 71.2% 76.6%, 71.7% 95.0%, 57.6% 83.1%, 50.0% 100.0%, 42.4% 83.1%, 28.3% 95.0%, 28.8% 76.6%, 10.9% 81.2%, 19.4% 64.8%, 1.3% 61.1%, 16.0% 50.0%, 1.3% 38.9%, 19.4% 35.2%, 10.9% 18.8%, 28.8% 23.4%, 28.3% 5.0%, 42.4% 16.9%);
  opacity: 0.55;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-eyebrow {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-purple-mid);
  font-size: clamp(1.05rem, 4.5vw, 1.35rem);
  letter-spacing: 0.03em;
  margin: 0 0 2px;
}

.hero-mega {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.98;
  margin: 6px 0 18px;
}

.hero-mega .line { display: block; }

.hero-mega .line-1 { font-size: clamp(2.2rem, 10vw, 3.2rem); color: var(--color-purple-dark); }

.hero-mega .line-highlight {
  font-size: clamp(3rem, 14.5vw, 5.2rem);
  background: linear-gradient(100deg, var(--color-pink) 15%, var(--color-orange) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 2px 0;
}

.hero-mega .line-brand {
  font-size: clamp(1.15rem, 5vw, 1.6rem);
  color: var(--color-purple-mid);
  letter-spacing: 0.02em;
}

.hero-subtext {
  color: var(--color-text);
  font-weight: 600;
  font-size: 1.08rem;
  max-width: 420px;
  margin: 0 0 18px;
}

.hero-microcopy {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-text-muted);
  margin: 12px 0 0;
}

/* ---------- Antes e Depois ---------- */
.gallery-section {
  background: var(--color-blush);
  text-align: center;
}

.carousel {
  position: relative;
  width: 94%;
  max-width: 520px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  background: var(--color-white);
}

.carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar { display: none; }

.carousel-slide {
  position: relative;
  flex: 0 0 100%;
  scroll-snap-align: center;
  margin: 0;
}

.carousel-slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.slide-label {
  position: absolute;
  top: 12px;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}

.slide-label-before {
  left: 12px;
  background: var(--color-purple-dark);
  color: var(--color-white);
}

.slide-label-after {
  right: 12px;
  background: var(--color-gold);
  color: var(--color-purple-darker);
}

.zoomable-image { cursor: zoom-in; }

.zoom-hint {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 1;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(59, 10, 74, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  pointer-events: none;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.94);
  color: var(--color-pink-deep);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
  z-index: 1;
}

.carousel-arrow-prev { left: 10px; }
.carousel-arrow-next { right: 10px; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 14px 0;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-blush);
  border: 1.5px solid var(--color-pink);
  padding: 0;
  cursor: pointer;
}

.carousel-dot.is-active {
  background: var(--color-pink);
  width: 22px;
  border-radius: var(--radius-pill);
  transition: width 0.2s ease;
}

.drag-hint {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin: 6px 0 24px;
}

.gallery-section .btn-cta { margin: 0 auto; }

.fine-print {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  max-width: 440px;
  margin: 18px auto 0;
}

/* ---------- Quiz ---------- */
.quiz-section {
  background: linear-gradient(160deg, var(--color-purple-mid) 0%, var(--color-purple-dark) 55%, var(--color-purple-darker) 100%);
}

.quiz-progress {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 22px;
}

.progress-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  border: 1.5px solid var(--color-gold);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.progress-dot.is-filled {
  background: var(--color-gold);
  transform: scale(1.2);
}

.quiz-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  max-width: 480px;
  margin: 0 auto;
  box-shadow: var(--shadow-strong);
}

.quiz-step { animation: quizFadeIn 0.3s ease; }

@keyframes quizFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.quiz-question {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  line-height: 1.2;
  color: var(--color-purple-dark);
  text-align: center;
  margin: 0 0 22px;
}

.quiz-field-label {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--color-text-muted);
  margin-bottom: 6px;
}

.quiz-input {
  width: 100%;
  padding: 17px;
  border: 2px solid var(--color-blush);
  background: var(--color-off-white);
  border-radius: var(--radius-md);
  font-size: 1.08rem;
  color: var(--color-text);
  margin-bottom: 18px;
}

.quiz-input:focus {
  outline: none;
  border-color: var(--color-pink);
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quiz-option {
  background: var(--color-off-white);
  border: 2px solid var(--color-blush);
  color: var(--color-text);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  text-align: left;
  cursor: pointer;
  min-height: 58px;
  transition: border-color 0.12s ease, background-color 0.12s ease, transform 0.1s ease;
}

.quiz-option:active { transform: scale(0.98); }

.quiz-option:hover { border-color: var(--color-pink); }

.quiz-option.is-selected {
  border-color: var(--color-pink);
  background: linear-gradient(100deg, var(--color-pink) 0%, var(--color-orange) 100%);
  color: var(--color-white);
}

/* ---------- Resultado do quiz ---------- */
.quiz-result { text-align: center; }

.quiz-result-greeting {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 1.5rem;
  color: var(--color-purple-dark);
  margin: 0 0 24px;
}

/* ---------- Rodapé ---------- */
.site-footer {
  background: var(--color-white);
  padding-block: 30px 0;
  text-align: center;
}

.footer-logo { height: 36px; width: auto; margin: 0 auto 14px; }

.footer-disclaimer {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  max-width: 420px;
  margin: 0 auto 4px;
}

.footer-links {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: var(--color-text-muted);
}

.footer-link {
  background: none;
  border: none;
  color: var(--color-pink-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 0.8rem;
  cursor: pointer;
  padding: 8px;
}

.footer-copy {
  margin-top: 10px;
  font-size: 0.74rem;
  color: var(--color-text-muted);
  padding-bottom: 20px;
}

/* ---------- Assinatura da agência (Adriano Marketing) ----------
   Bloco discreto abaixo do rodapé da Incantare: fonte menor,
   tons neutros (fora da paleta promocional), separado por
   divisor sutil. Não deve competir com os CTAs da clínica. */
.agency-signature {
  background: var(--color-off-white);
  border-top: 1px solid rgba(46, 10, 58, 0.1);
  padding-block: 20px calc(20px + var(--safe-bottom));
  text-align: center;
}

.agency-signature-inner { max-width: 400px; }

.agency-signature-credit {
  font-size: 0.76rem;
  color: var(--color-text-muted);
  margin: 0 0 8px;
}

.agency-signature-credit strong {
  color: #6B5E70;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.agency-signature-pitch {
  font-size: 0.74rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin: 0 0 10px;
}

.agency-signature-link {
  display: inline-block;
  font-size: 0.76rem;
  color: #6B5E70;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 6px 4px;
}

.agency-signature-link:hover { color: var(--color-text); }

/* ---------- Lightbox — foto ampliada do antes/depois ---------- */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(20, 4, 27, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(16px + var(--safe-top)) 16px calc(16px + var(--safe-bottom));
}

.lightbox-image {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-strong);
}

.lightbox-close,
.lightbox-arrow {
  position: fixed;
  border: none;
  background: rgba(255, 255, 255, 0.14);
  color: var(--color-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close {
  top: calc(14px + var(--safe-top));
  right: 14px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.6rem;
  line-height: 1;
  z-index: 1;
}

.lightbox-arrow {
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.8rem;
  line-height: 1;
}

.lightbox-arrow-prev { left: 10px; }
.lightbox-arrow-next { right: 10px; }

/* ---------- Modais ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(36, 6, 49, 0.65);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 100;
}

@media (min-width: 640px) {
  .modal-overlay { align-items: center; padding: 20px; }
}

.modal {
  background: var(--color-off-white);
  width: 100%;
  max-width: 560px;
  max-height: 86vh;
  overflow-y: auto;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 28px 22px calc(28px + var(--safe-bottom));
  position: relative;
  box-shadow: var(--shadow-strong);
}

@media (min-width: 640px) {
  .modal { border-radius: var(--radius-lg); }
}

.modal h2 {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--color-purple-dark);
  margin: 0 0 16px;
  font-size: 1.25rem;
}

.modal-body p {
  color: var(--color-text);
  font-size: 0.92rem;
  margin: 0 0 14px;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--color-blush);
  color: var(--color-purple-dark);
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Banner de cookies ---------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  background: var(--color-purple-darker);
  color: var(--color-off-white);
  padding: 16px 16px calc(16px + var(--safe-bottom));
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.25);
}

.cookie-banner-inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 640px) {
  .cookie-banner-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
  }
}

.cookie-text {
  font-size: 0.84rem;
  color: var(--color-blush);
  margin: 0;
  flex: 1;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
}

.cookie-settings {
  max-width: 720px;
  margin: 14px auto 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 14px;
}

.cookie-setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
}

.cookie-setting-row strong {
  font-size: 0.88rem;
  color: var(--color-off-white);
}

.cookie-setting-row p {
  font-size: 0.78rem;
  color: var(--color-blush);
  margin: 2px 0 0;
}

.cookie-setting-row input[type="checkbox"] {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ---------- Ajustes finos por largura ---------- */
@media (max-width: 360px) {
  .hero-mega .line-highlight { font-size: 2.7rem; }
  .hero-splash { width: 280px; height: 280px; }
}

/* ---------- Desktop refinements ---------- */
@media (min-width: 900px) {
  .section { padding-block: 68px; }
  .hero { padding-block: 52px 64px; }
  .quiz-card { padding: 40px; }
}

/* ---------- Reduz movimento para quem preferir ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn-cta { animation: none; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
