/**
 * whatsapp-modal.css — Botão Flutuante e Modal de Atendimento WhatsApp
 * SETTA Comunicação Visual
 */

/* DOCK FLUTUANTE DE ATENDIMENTO & REDES SOCIAIS (WHATSAPP + INSTAGRAM) */
.floating-actions-dock {
  position: fixed;
  bottom: calc(24px + var(--safe-area-bottom, 0px));
  right: calc(24px + var(--safe-area-right, 0px));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 9999;
  pointer-events: none;
}

/* 1. BOTÃO FLUTUANTE DE WHATSAPP */
.whatsapp-float-btn {
  position: relative;
  width: 58px;
  height: 58px;
  background-color: #25D366;
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.35), 0 4px 10px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  cursor: pointer;
  border: none;
  outline: none;
  pointer-events: auto;
  transition: transform 0.3s var(--ease-cinematic, cubic-bezier(0.25, 1, 0.5, 1)),
              box-shadow 0.3s ease;
}

.whatsapp-float-btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.45), 0 6px 14px rgba(0, 0, 0, 0.2);
}

.whatsapp-float-icon {
  width: 32px;
  height: 32px;
  fill: #FFFFFF;
  display: block;
}

/* 2. BOTÃO FLUTUANTE DO INSTAGRAM (@settacriacao) */
/* Posicionado diretamente abaixo do WhatsApp, mais compacto, discreto e premium */
.instagram-float-btn {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  text-decoration: none;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 8px 20px rgba(214, 36, 159, 0.3), 0 4px 10px rgba(0, 0, 0, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  transition: transform 0.3s var(--ease-cinematic, cubic-bezier(0.25, 1, 0.5, 1)),
              box-shadow 0.3s ease;
}

.instagram-float-btn:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 12px 26px rgba(214, 36, 159, 0.45), 0 6px 14px rgba(0, 0, 0, 0.18);
}

.instagram-float-icon {
  width: 22px;
  height: 22px;
  stroke: #FFFFFF;
  stroke-width: 2;
  fill: none;
  display: block;
}

/* 2. OVERLAY E MODAL "COMO PODEMOS AJUDAR?" */
.setta-modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 33, 77, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.setta-modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.setta-modal-card {
  background-color: #FFFFFF;
  width: 90%;
  max-width: 520px;
  border-radius: 8px;
  padding: 40px;
  position: relative;
  box-shadow: 0 24px 60px rgba(0, 33, 77, 0.28);
  border: 1px solid rgba(0, 33, 77, 0.08);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.35s var(--ease-cinematic, cubic-bezier(0.25, 1, 0.5, 1));
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.setta-modal-overlay.is-open .setta-modal-card {
  transform: translateY(0) scale(1);
}

.setta-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: rgba(0, 33, 77, 0.4);
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s ease;
}

.setta-modal-close:hover {
  color: var(--setta-navy, #00214D);
}

.setta-modal-title {
  font-family: var(--font-headline, 'Syne', sans-serif);
  font-size: 1.55rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--setta-navy, #00214D);
  letter-spacing: -0.02em;
  margin: 0;
}

.setta-modal-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.setta-option-label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 4px;
  border: 1px solid rgba(0, 33, 77, 0.12);
  cursor: pointer;
  font-family: var(--font-primary, 'Space Grotesk', sans-serif);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--setta-navy, #00214D);
  transition: all 0.2s ease;
}

.setta-option-label:hover {
  border-color: var(--setta-yellow, #F7D417);
  background-color: rgba(247, 212, 23, 0.06);
}

.setta-option-label.is-selected {
  border-color: var(--setta-navy, #00214D);
  background-color: rgba(0, 33, 77, 0.05);
}

.setta-option-radio {
  accent-color: var(--setta-navy, #00214D);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.setta-modal-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  background-color: var(--setta-yellow, #F7D417);
  color: #00214D;
  font-family: var(--font-primary, 'Space Grotesk', sans-serif);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.setta-modal-action-btn:hover {
  background-color: #00214D;
  color: #FFFFFF;
}

/* RESPONSIVIDADE EDITORIAL & TOUCH */
@media (max-width: 600px) {
  .setta-modal-card {
    padding: 26px 18px;
    max-height: 88vh;
    max-height: 88dvh;
    overflow-y: auto;
    width: 92%;
    gap: 18px;
  }
  .setta-modal-title {
    font-size: 1.32rem;
  }
  .setta-modal-close {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 10px;
    right: 10px;
  }
  .floating-actions-dock {
    bottom: calc(18px + var(--safe-area-bottom, 0px));
    right: calc(16px + var(--safe-area-right, 0px));
    gap: 10px;
  }
  .whatsapp-float-btn {
    width: 52px;
    height: 52px;
  }
  .whatsapp-float-icon {
    width: 28px;
    height: 28px;
  }
  .instagram-float-btn {
    width: 44px;
    height: 44px;
  }
  .instagram-float-icon {
    width: 22px;
    height: 22px;
  }
  .setta-option-label {
    min-height: 44px;
    padding: 10px 14px;
    font-size: 0.88rem;
  }
  .setta-modal-action-btn {
    min-height: 48px;
    font-size: 0.90rem;
    padding: 12px 18px;
  }
}
