/* ============================================================
   PATCH — mobile-fixes.css
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

/* ----------------------------------------------------------
   1. BEBAS NEUE — todos os títulos, desktop + mobile
   ---------------------------------------------------------- */
.hero-headline,
.section-title,
.esp-card h3 {
  font-family: 'Bebas Neue', 'Arial Narrow', Arial, sans-serif !important;
  letter-spacing: 0.03em;
}

.esp-card h3 {
  font-size: 1.6rem !important;
}

.hero-headline {
  font-weight: 400;
  line-height: 0.95;
  text-transform: uppercase;
}

.hero-headline em {
  color: #4a7fc0;
  font-style: normal;
  font-weight: 400;
}

.section-title {
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.05;
  font-size: clamp(2.6rem, 5vw, 4rem);
}

/* Dr. Felipe (sobre) mantém tamanho menor — não aumenta junto */
.sobre-text .section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.section-title em {
  font-style: normal;
  font-weight: 400;
}

/* ----------------------------------------------------------
   2. AVATAR como <img> circular
   ---------------------------------------------------------- */
.dep-avatar-photo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ----------------------------------------------------------
   3. CARROSSEL — nav com setas e dots
   ---------------------------------------------------------- */
.dep-grid {
  display: flex !important;
  flex-direction: row !important;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  gap: 0 !important;
  background: transparent !important;
  border: none !important;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 4px;
}

.dep-grid::-webkit-scrollbar { display: none; }

.dep-card {
  flex: 0 0 340px;
  scroll-snap-align: start;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 8px;
  margin-right: 12px;
}

@media (max-width: 600px) {
  .dep-card { flex: 0 0 88vw; }
}

.dep-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
}

.dep-arrow {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  padding: 0;
}

.dep-arrow:hover { background: rgba(255,255,255,0.18); }

.dep-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dep-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.dep-dot.active {
  background: rgba(255,255,255,0.85);
  transform: scale(1.4);
}

/* ----------------------------------------------------------
   4. HERO MOBILE — rosto livre, texto embaixo
   ---------------------------------------------------------- */
@media (max-width: 600px) {
  .hero-headline { font-size: 54px; line-height: 0.95; }
  .hero-tag { font-size: 9px; margin-bottom: 4px; }
  .hero-sub { font-size: 12px; margin-bottom: 16px; }

  .hero-content {
    padding-top: 0;
    padding-bottom: 18px;
    justify-content: flex-end;
    align-items: flex-start;
    min-height: 100vh;
  }

  .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(14,30,48,0.08) 0%,
      rgba(14,30,48,0.15) 30%,
      rgba(14,30,48,0.60) 50%,
      rgba(14,30,48,0.92) 62%,
      rgba(14,30,48,0.98) 100%
    );
  }

  .hero-img { object-position: center 8%; }
  .btn { padding: 13px 18px; font-size: 11px; }
}

/* ----------------------------------------------------------
   5. BADGE CRM — 3 em linha
   ---------------------------------------------------------- */
@media (max-width: 900px) {
  .hero-badge {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    width: 100%;
  }
  .badge-inner { padding: 10px 6px; }
  .badge-num { font-size: 1.4rem; }
  .hero-scroll-hint { display: none; }
}

/* ----------------------------------------------------------
   6. VIDEO — altura auto no mobile
   ---------------------------------------------------------- */
@media (max-width: 600px) {
  .video-full { height: auto; min-height: unset; }
  .video-full-wrap { position: relative; top: unset; right: unset; bottom: unset; left: unset; }
  .video-full-wrap video { width: 100%; aspect-ratio: 16/9; display: block; }
}

/* ----------------------------------------------------------
   7. PERFORMANCE
   ---------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .hero-img { animation: none; transform: scale(1); }
  [data-animate] { transition: opacity 0.3s; }
}

/* ----------------------------------------------------------
   BOTÃO PRIMÁRIO — mesmo azul do "É POSSÍVEL."
   ---------------------------------------------------------- */
.btn-primary {
  background: #4a7fc0 !important;
  border-color: #4a7fc0 !important;
}

.btn-primary:hover {
  background: #3a6aaa !important;
}

/* ----------------------------------------------------------
   VIDEO — poster preenche container sem bordas
   ---------------------------------------------------------- */
.video-box video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

/* ----------------------------------------------------------
   VÍDEO — título acima + borda fina branca (desk + mobile)
   ---------------------------------------------------------- */
.video-title {
  text-align: center;
  font-family: 'Bebas Neue', 'Arial Narrow', Arial, sans-serif;
  font-size: clamp(1.2rem, 2.8vw, 2.2rem);
  font-weight: 400;
  color: #ffffff;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.video-box {
  border: 3px solid rgba(255,255,255,0.70) !important;
  border-radius: 12px;
  overflow: hidden;
}

/* ----------------------------------------------------------
   MOBILE — alinhar foto do Dr. com o vídeo (mesma margem)
   ---------------------------------------------------------- */
@media (max-width: 600px) {
  .sobre-img-wrap {
    margin: 0 auto;
    border-radius: 12px;
    max-width: 90%;
  }

  .sobre-media {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .sobre-social {
    justify-content: center;
  }

  .video-section .container,
  .sobre .container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* ----------------------------------------------------------
   SOBRE — foto de fundo, rosto direita, texto esquerda
   ---------------------------------------------------------- */
.sobre {
  position: relative;
  background: #0e1e30;
  overflow: hidden;
  padding: 0 !important;
  min-height: 640px;
}

.sobre-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('/assets/FB9-BiQW_7Si.jpg');
  background-repeat: no-repeat;
  background-size: 60%;
  background-position: right 18%;
}

.sobre-bg img { display: none; }

/* Overlay desktop: escuro à esquerda, transparente à direita,
   + fade na borda direita para sumir o limite */
.sobre-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(14,30,48,1.00) 0%,
    rgba(14,30,48,1.00) 38%,
    rgba(14,30,48,0.85) 48%,
    rgba(14,30,48,0.35) 58%,
    rgba(14,30,48,0.00) 70%
  );
}

.sobre .container { position: relative; z-index: 2; }
.sobre-media { display: none !important; }
.sobre-grid { display: block; }

.sobre-text {
  max-width: 520px;
  padding: 80px 0;
}

.sobre-text .section-label { color: #6a9ac4; }
.sobre-text .section-title { color: #ffffff; }
.sobre-text .section-title em { color: #6a9ac4; font-style: normal; }
.sobre-desc p { color: rgba(255,255,255,0.75) !important; }
.sobre-desc strong { color: #ffffff !important; }
.sobre-credentials { border-top-color: rgba(255,255,255,0.15) !important; }
.credential-icon { background: rgba(255,255,255,0.08) !important; border-color: rgba(255,255,255,0.15) !important; color: #6a9ac4 !important; }
.credential strong { color: #ffffff !important; }
.credential span { color: rgba(255,255,255,0.55) !important; }

/* MOBILE — foto cobre tudo, rosto no topo, texto empurrado pra baixo */
@media (max-width: 900px) {
  .sobre {
    min-height: 0;
  }

  /* Foto fixa no topo com altura proporcional à largura da tela */
  .sobre-bg {
    background-size: cover;
    background-position: center top;
    height: 95vw;
    bottom: auto;
  }

  .sobre-bg-overlay {
    height: 95vw;
    bottom: auto;
    background: linear-gradient(
      180deg,
      rgba(14,30,48,0.10) 0%,
      rgba(14,30,48,0.25) 45%,
      rgba(14,30,48,0.80) 78%,
      rgba(14,30,48,1.00) 100%
    );
  }

  /* Texto começa logo abaixo da foto (95vw) */
  .sobre-text {
    padding: 62vw 0 48px;
  }
}

/* ----------------------------------------------------------
   NAVBAR CTA — mesmo visual dos badges do hero
   ---------------------------------------------------------- */
.nav-links .nav-cta {
  background: rgba(255,255,255,0.08) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255,255,255,0.20) !important;
}

.nav-links .nav-cta:hover {
  background: rgba(255,255,255,0.16) !important;
  border-color: rgba(255,255,255,0.35) !important;
}

/* ----------------------------------------------------------
   ESPECIALIDADE — reduzir espaço vazio no topo
   ---------------------------------------------------------- */
.especialidade {
  padding-top: 56px !important;
  padding-bottom: 56px !important;
}

/* ----------------------------------------------------------
   REDUZIR GAPS ENTRE SEÇÕES (desktop/tablet)
   ---------------------------------------------------------- */
.video-section {
  padding: 40px 0 !important;
}

.depoimentos {
  padding-top: 56px !important;
  padding-bottom: 56px !important;
}

.contato {
  padding-top: 64px !important;
  padding-bottom: 64px !important;
}

.sobre-text {
  padding: 80px 0 56px !important;
}

/* ----------------------------------------------------------
   BOTÃO CTA — glow pulsante + brilho contínuo
   ---------------------------------------------------------- */
.btn-shine {
  position: relative;
  overflow: hidden;
  animation: btnPulse 1.8s ease-in-out infinite;
}

.btn-primary.btn-shine {
  box-shadow: 0 0 0 0 rgba(74,127,192,0.6);
}

.btn-whatsapp.btn-shine {
  box-shadow: 0 0 0 0 rgba(37,211,102,0.6);
}

@keyframes btnPulse {
  0%   { box-shadow: 0 0 0 0 currentColor; }
  50%  { box-shadow: 0 0 18px 6px currentColor; }
  100% { box-shadow: 0 0 0 0 currentColor; }
}

.btn-shine::after {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    115deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.65) 50%,
    rgba(255,255,255,0) 100%
  );
  transform: skewX(-20deg);
  animation: btnShine 1.8s linear infinite;
}

@keyframes btnShine {
  0%   { left: -150%; }
  100% { left: 150%; }
}

@media (prefers-reduced-motion: reduce) {
  .btn-shine, .btn-shine::after { animation: none !important; box-shadow: none !important; }
}

/* ----------------------------------------------------------
   FAQ — perguntas frequentes
   ---------------------------------------------------------- */
.faq {
  background: #0a1828;
  padding: 64px 0;
}

.faq-header {
  text-align: center;
  margin-bottom: 32px;
}

.faq .section-title.light em {
  color: #6a9ac4;
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 18px 4px;
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-family: var(--font-sans);
}

.faq-icon {
  color: #ffffff;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item.open .faq-a {
  max-height: 300px;
}

.faq-a p {
  font-size: 14px;
  line-height: 1.7;
  color: #ffffff !important;
  padding: 0 4px 20px;
  margin: 0;
}

@media (max-width: 600px) {
  .faq { padding: 48px 0; }
}

/* ----------------------------------------------------------
   TÍTULO DO VÍDEO — tamanho expandido
   ---------------------------------------------------------- */
.video-title-xl {
  font-size: clamp(2rem, 5.5vw, 4.5rem) !important;
  letter-spacing: 0.04em;
}

/* ----------------------------------------------------------
   VÍDEOS DE DEPOIMENTO — player com setas
   ---------------------------------------------------------- */
.dep-videos {
  margin-bottom: 48px;
}

.dep-vid-player-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 860px;
  margin: 0 auto;
}

.dep-vid-arrow {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  padding: 0;
  flex-shrink: 0;
}

.dep-vid-arrow:hover { background: rgba(255,255,255,0.18); }
.dep-vid-arrow:disabled { opacity: 0.3; cursor: default; }

.dep-vid-box {
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
  border: 3px solid rgba(255,255,255,0.70) !important;
  aspect-ratio: 16/9;
  background: #111;
  position: relative;
}

.dep-vid-box video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.dep-vid-box.dep-vid-vertical {
  background: #000;
}

.dep-vid-box.dep-vid-vertical video {
  object-fit: contain;
}

.dep-vid-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.30);
  transition: background 0.2s;
  cursor: pointer;
}

.dep-vid-overlay:hover { background: rgba(0,0,0,0.18); }

.dep-vid-play-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 2px solid rgba(255,255,255,0.55);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
}

.dep-vid-play-btn:hover {
  background: rgba(255,255,255,0.30);
  transform: scale(1.08);
}

.dep-vid-play-btn svg {
  width: 30px;
  height: 30px;
  margin-left: 4px;
  fill: #fff;
}

.dep-vid-name {
  text-align: center;
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  margin: 14px 0 10px;
  letter-spacing: 0.04em;
}

.dep-vid-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 40px;
}

.dep-vid-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.dep-vid-dot.active {
  background: rgba(255,255,255,0.85);
  transform: scale(1.4);
}

@media (max-width: 600px) {
  .dep-vid-player-wrap { gap: 8px; }
  .dep-vid-arrow { width: 36px; height: 36px; font-size: 20px; }
  .dep-vid-box { border-radius: 8px; }
}
.footer-links-col a {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links-col a svg {
  flex-shrink: 0;
  color: #6a9ac4;
}

/* ----------------------------------------------------------
   BOTÃO FLUTUANTE WHATSAPP
   ---------------------------------------------------------- */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 999;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 22px rgba(0,0,0,0.45);
}

.whatsapp-float.btn-shine {
  box-shadow: 0 0 0 0 rgba(37,211,102,0.6);
}

@media (max-width: 600px) {
  .whatsapp-float {
    width: 64px;
    height: 64px;
    right: 16px;
    bottom: 16px;
  }
  .whatsapp-float svg { width: 32px; height: 32px; }
}

/* ----------------------------------------------------------
   HERO — frase Método MAP / enxaqueca
   ---------------------------------------------------------- */
.hero-map-phrase {
  font-family: var(--font-sans);
  font-size: clamp(15px, 1.6vw, 19px);
  font-weight: 600;
  color: #cfe0f2;
  margin: 14px 0 18px;
  line-height: 1.4;
}

@media (max-width: 600px) {
  .hero-map-phrase {
    font-size: 13px;
    margin: 8px 0 12px;
  }
}

/* ----------------------------------------------------------
   VÍDEO — botão "veja os comentários" + página maior
   ---------------------------------------------------------- */
.video-box {
  max-width: 1100px;
  margin: 0 auto;
}

.video-comments-btn-wrap {
  text-align: center;
  margin-top: 24px;
}

.video-comments-btn {
  display: inline-block;
}

@media (max-width: 600px) {
  .video-comments-btn-wrap { margin-top: 18px; }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    grid-template-areas: "brand brand" "nav social" !important;
    gap: 24px !important;
  }
  .footer-brand { grid-area: brand; }
  .footer-links-col:nth-of-type(1) { grid-area: nav; }
  .footer-links-col:nth-of-type(2) { grid-area: social; }
  .footer-about { max-width: none; }
}
