/* ============================================
   Alive Podologia — Landing Page Unha Encravada
   Mobile-first | Brand: #1b4d6e azul + #9c0429 vinho
   Tipografia: Roboto (alinhada ao site principal)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

/* === RESET & BASE === */
.lp-alive * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.lp-alive {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #2d3748;
  background: #fff;
}

/* === DESIGN TOKENS === */
:root {
  --alive-primary:      #1b4d6e;  /* azul marca */
  --alive-primary-dark: #143d57;  /* azul escuro (hover) */
  --alive-wine:         #9c0429;  /* vinho marca */
  --alive-wine-dark:    #7a0320;  /* vinho escuro (hover) */
  --alive-light:        #e8f1f7;  /* azul claro (fundos) */
  --alive-lighter:      #f4f8fb;  /* azul muito claro */
  --alive-text:         #1a2535;  /* texto principal */
  --alive-text-light:   #5a6a7e;  /* texto secundário */
  --alive-white:        #ffffff;
  --alive-whatsapp:     #25d366;  /* verde WhatsApp — uso decorativo (ícones, tarjas) */
  --alive-whatsapp-dark:#1ebe5d;
  /* Verde mais escuro específico pra texto branco em cima — #25d366 com
     texto branco só tem ~2:1 de contraste (WCAG AA exige 4.5:1). Este
     tom dá ~5.4:1, passa AA com folga e mantém a identidade WhatsApp. */
  --alive-whatsapp-btn:      #0e7c3e;
  --alive-whatsapp-btn-dark: #0a6631;
  --alive-border:       #c8d8e4;
  --alive-radius:       12px;
  --alive-radius-sm:    8px;
  --alive-shadow:       0 2px 16px rgba(27,77,110,0.10);
  --alive-shadow-lg:    0 8px 32px rgba(27,77,110,0.15);
}

/* === HEADER === */
.lp-header {
  background: var(--alive-white);
  border-bottom: 1px solid var(--alive-border);
  padding: 16px 20px;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--alive-shadow);
}

.lp-header img {
  height: 48px;
  width: auto;
}

.lp-header-location {
  font-size: 13px;
  color: var(--alive-text-light);
  margin-top: 4px;
}

/* === SEÇÃO 1 — HERO === */
.lp-hero {
  background: linear-gradient(135deg, var(--alive-primary) 0%, var(--alive-primary-dark) 100%);
  color: var(--alive-white);
  padding: 48px 20px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.lp-hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.lp-hero h1 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}

.lp-hero-location-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.32);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
  margin-bottom: 20px;
}

.lp-hero-location-badge svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.lp-hero-sub {
  font-size: 17px;
  line-height: 1.6;
  opacity: 0.92;
  margin-bottom: 12px;
}

.lp-hero-support {
  font-size: 15px;
  opacity: 0.80;
  margin-bottom: 28px;
}

.lp-btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--alive-whatsapp-btn);
  color: var(--alive-white);
  font-size: 17px;
  font-weight: 700;
  padding: 16px 28px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(14,124,62,0.35);
  transition: background 0.2s, transform 0.15s;
  width: 100%;
  justify-content: center;
  max-width: 360px;
}

.lp-btn-whatsapp:hover {
  background: var(--alive-whatsapp-btn-dark);
  transform: translateY(-1px);
}

.lp-btn-whatsapp svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.lp-btn-microcopy {
  display: block;
  font-size: 13px;
  opacity: 0.75;
  margin-top: 8px;
}

.lp-hero-social-proof {
  margin-top: 20px;
  font-size: 14px;
  opacity: 0.88;
}

.lp-stars-svg {
  display: inline-flex;
  gap: 2px;
  align-items: center;
  vertical-align: middle;
}

/* === SEÇÕES GERAIS === */
.lp-section {
  padding: 48px 20px;
}

.lp-section-alt {
  background: var(--alive-lighter);
}

.lp-section h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--alive-primary-dark);
  margin-bottom: 24px;
  line-height: 1.3;
}

.lp-container {
  max-width: 680px;
  margin: 0 auto;
}

/* Container mais largo só para os prints de depoimento — texto de captura
   de tela precisa de mais espaço horizontal pra continuar legível. */
.lp-container--wide {
  max-width: 960px;
}

/* === SEÇÃO 2 — SINTOMAS === */
.lp-symptoms-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.lp-symptoms-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--alive-white);
  border: 1px solid var(--alive-border);
  border-radius: var(--alive-radius-sm);
  padding: 14px 16px;
  font-size: 16px;
}

.lp-check {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.lp-check svg {
  width: 18px;
  height: 18px;
  stroke: var(--alive-whatsapp);
  fill: none;
}

.lp-transition-text {
  font-size: 16px;
  color: var(--alive-text);
  border-left: 3px solid var(--alive-wine);
  padding-left: 16px;
  line-height: 1.6;
}

/* === SEÇÃO 3 — CAUSA === */
.lp-causes-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.lp-cause-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.lp-cause-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(27, 77, 110, 0.08);
  border-radius: 50%;
}

.lp-cause-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--alive-wine);
  fill: none;
}

.lp-cause-title {
  font-weight: 700;
  font-size: 16px;
  color: var(--alive-primary-dark);
  margin-bottom: 4px;
}

.lp-cause-text {
  font-size: 15px;
  color: var(--alive-text-light);
  line-height: 1.5;
}

.lp-cause-closing {
  font-size: 16px;
  color: var(--alive-text);
  margin-bottom: 20px;
}

/* === SEÇÃO 4 — TRATAMENTO === */
.lp-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
}

.lp-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.lp-step-number {
  background: var(--alive-primary);
  color: var(--alive-white);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

.lp-step-title {
  font-weight: 700;
  font-size: 16px;
  color: var(--alive-primary-dark);
  margin-bottom: 4px;
}

.lp-step-text {
  font-size: 15px;
  color: var(--alive-text-light);
  line-height: 1.5;
}

/* === SEÇÃO 5 — DIFERENCIAIS === */
.lp-diferenciais-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 8px;
}

.lp-diferencial-card {
  background: var(--alive-white);
  border: 1px solid var(--alive-border);
  border-radius: var(--alive-radius);
  padding: 20px 16px;
  text-align: center;
  box-shadow: var(--alive-shadow);
}

.lp-diferencial-icon-wrap {
  width: 52px;
  height: 52px;
  background: var(--alive-wine);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.lp-diferencial-icon-wrap svg {
  width: 24px;
  height: 24px;
  stroke: white;
  fill: none;
}

.lp-diferencial-title {
  font-weight: 700;
  font-size: 14px;
  color: var(--alive-primary-dark);
  margin-bottom: 6px;
}

.lp-diferencial-text {
  font-size: 13px;
  color: var(--alive-text-light);
  line-height: 1.4;
}

/* === SEÇÃO 6 — DEPOIMENTOS (prints: Google + WhatsApp) === */
/* Mobile: carrossel horizontal com scroll-snap (sem JS).
   Desktop (640px+): grade fixa de 2 colunas — evita o "buraco" que o
   CSS multi-column deixava quando os cards tinham alturas diferentes. */
.lp-testimonials-gallery {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 6px;
  margin-bottom: 12px;
}

.lp-testimonials-gallery::-webkit-scrollbar {
  display: none;
}

.lp-testimonials-hint {
  text-align: center;
  font-size: 12px;
  color: var(--alive-text-light);
  opacity: 0.75;
  margin-bottom: 20px;
}

.lp-testimonial-shot {
  flex: 0 0 82%;
  scroll-snap-align: center;
  background: var(--alive-white);
  border: 1px solid var(--alive-border);
  border-left: 4px solid var(--alive-border);
  border-radius: var(--alive-radius);
  box-shadow: var(--alive-shadow);
  overflow: hidden;
}

/* Faixa lateral colorida indica a origem do print — sem usar logos de marca */
.lp-testimonial-shot--google   { border-left-color: #4285F4; }
.lp-testimonial-shot--whatsapp { border-left-color: #25D366; }

.lp-testimonial-zoom {
  display: block;
  position: relative;
}

.lp-testimonial-shot img {
  display: block;
  width: 100%;
  height: auto;
}

/* Ícone de lupa sobre o print — sinaliza que dá pra tocar e ampliar.
   Sem isso, o texto do print fica pequeno demais pra ler no celular. */
.lp-testimonial-zoom::after {
  content: '';
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(13, 34, 53, 0.72);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3Cpath d='M11 8v6M8 11h6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px 16px;
}

.lp-testimonial-shot figcaption {
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--alive-text-light);
  border-top: 1px solid var(--alive-border);
}

.lp-testimonial-zoom-hint {
  font-weight: 400;
  color: var(--alive-text-light);
  opacity: 0.8;
}

.lp-testimonials-total {
  text-align: center;
  font-size: 15px;
  color: var(--alive-text-light);
}

/* === SEÇÃO FAQ === */
.lp-faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lp-faq-item {
  background: var(--alive-white);
  border: 1px solid var(--alive-border);
  border-radius: var(--alive-radius-sm);
  padding: 4px 16px;
  box-shadow: var(--alive-shadow);
}

.lp-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 28px 14px 0;
  font-weight: 700;
  font-size: 16px;
  color: var(--alive-primary-dark);
  position: relative;
}

.lp-faq-item summary::-webkit-details-marker {
  display: none;
}

.lp-faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 12px;
  font-size: 22px;
  font-weight: 400;
  color: var(--alive-wine);
  transition: transform 0.2s;
}

.lp-faq-item[open] summary::after {
  transform: rotate(45deg);
}

.lp-faq-item p {
  font-size: 15px;
  color: var(--alive-text-light);
  line-height: 1.6;
  padding-bottom: 16px;
}

/* === SEÇÃO 7 — SOBRE === */
.lp-about {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.lp-about-photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--alive-primary);
  box-shadow: var(--alive-shadow-lg);
}

.lp-about-photo-placeholder {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: var(--alive-light);
  border: 4px solid var(--alive-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--alive-text-light);
  text-align: center;
  padding: 16px;
}

.lp-about-content h2 {
  text-align: center;
}

.lp-about-text {
  font-size: 16px;
  color: var(--alive-text);
  line-height: 1.7;
  margin-bottom: 16px;
}

.lp-professional-name {
  font-weight: 700;
  color: var(--alive-primary-dark);
  font-size: 16px;
}

.lp-professional-role {
  font-size: 14px;
  color: var(--alive-text-light);
}

/* === SEÇÃO 8 — CTA FINAL === */
.lp-cta-final {
  background: linear-gradient(135deg, var(--alive-primary) 0%, var(--alive-primary-dark) 100%);
  color: var(--alive-white);
  padding: 48px 20px;
  text-align: center;
}

.lp-cta-urgency {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
}

.lp-cta-support {
  font-size: 16px;
  opacity: 0.88;
  margin-bottom: 28px;
}

.lp-cta-final .lp-stars-svg {
  margin-top: 20px;
  display: block;
  font-size: 14px;
}

.lp-location {
  margin-top: 20px;
  font-size: 14px;
  opacity: 0.80;
  line-height: 1.8;
}

.lp-map {
  margin-top: 20px;
  border-radius: var(--alive-radius);
  overflow: hidden;
}

.lp-map iframe {
  width: 100%;
  height: 220px;
  border: none;
}

/* === FOOTER === */
.lp-footer {
  background: #0d2235;
  color: rgba(255,255,255,0.7);
  padding: 24px 20px;
  text-align: center;
  font-size: 14px;
  line-height: 2;
}

.lp-footer a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
}

/* === WHATSAPP STICKY === */
/* Visível desde o mobile — é o canal de conversão principal e é no
   celular que o botão fixo mais importa enquanto a pessoa rola a página. */
.lp-whatsapp-sticky {
  display: block;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
}

.lp-whatsapp-sticky a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--alive-whatsapp-btn);
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(14,124,62,0.45);
  transition: transform 0.2s;
}

.lp-whatsapp-sticky a:hover {
  transform: scale(1.1);
}

.lp-whatsapp-sticky svg {
  width: 30px;
  height: 30px;
  fill: white;
}

/* === OCULTAR POPUP GENÉRICO DE WHATSAPP (Elementor Popup Builder) ===
   Esta LP tem botão flutuante próprio (acima) com mensagem específica
   para rastrear a origem do lead. O popup global "whatsapp" (ID 221)
   fica por cima do nosso botão e usa mensagem genérica — escondido
   apenas aqui, pois este CSS só carrega nesta página. */
#elementor-popup-modal-221 {
  display: none !important;
}

/* === DESKTOP === */
@media (min-width: 640px) {
  .lp-hero h1            { font-size: 36px; }
  .lp-hero-sub           { font-size: 19px; }
  .lp-section            { padding: 64px 32px; }
  .lp-section h2         { font-size: 28px; }
  .lp-about              { flex-direction: row; align-items: flex-start; }
  .lp-about-content h2   { text-align: left; }

  .lp-diferenciais-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* === ÍCONES INLINE (localização, telefone) === */
.lp-icon-inline {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  vertical-align: middle;
}

.lp-icon-inline svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* === HORÁRIO DE ATENDIMENTO === */
.lp-hours {
  margin-top: 20px;
  font-size: 14px;
  opacity: 0.85;
  line-height: 1.8;
}

.lp-hours-title {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.lp-hours-title svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
}

@media (min-width: 640px) {
  .lp-testimonials-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    overflow-x: visible;
    scroll-snap-type: none;
    padding-bottom: 0;
  }

  .lp-testimonial-shot {
    flex: initial;
    scroll-snap-align: none;
  }

  .lp-testimonials-hint { display: none; }

  /* Quando o total de prints é ímpar, o último fica sozinho na linha e
     sobra espaço vazio do lado. Em vez disso, centraliza ele mantendo
     a largura de 1 coluna (sem esticar a imagem além da resolução real). */
  .lp-testimonial-shot:nth-child(odd):last-child {
    grid-column: 1 / -1;
    max-width: calc(50% - 7px);
    margin: 0 auto;
  }
}

@media (min-width: 900px) {
  .lp-hero               { padding: 80px 32px; }
  .lp-hero h1            { font-size: 42px; }
  .lp-diferenciais-grid  { grid-template-columns: repeat(4, 1fr); }
}
