/* ==========================================================================
   Ponto Seguro Corretora — Landing Page
   Paleta e direção visual conforme briefing
   ========================================================================== */

:root {
  --navy: #082F65;
  --navy-dark: #041F45;
  --red: #E21B23;
  --red-dark: #B90F17;
  --red-light: #FF6B6E;       /* vermelho legível sobre fundos azuis escuros */
  --white: #FFFFFF;
  --bg-light: #F5F7FA;
  --text: #172033;
  --gray: #64748B;
  --border: #E2E8F0;
  --whatsapp: #25D366;

  --font-title: 'Montserrat', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  --radius: 16px;
  --radius-btn: 10px;
  --header-h: 76px;

  --shadow-card: 0 6px 18px rgba(8, 47, 101, 0.06);
  --shadow-card-hover: 0 14px 32px rgba(8, 47, 101, 0.12);
  --shadow-media: 0 20px 45px rgba(8, 47, 101, 0.14);

  /* Contorno de escudo (motivo da logo) usado nos elementos decorativos */
  --shield-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z' fill='none' stroke='%23000' stroke-width='2.2' stroke-linejoin='round'/%3E%3C/svg%3E");
}


/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

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

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  padding-top: var(--header-h);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

h1, h2, h3 {
  font-family: var(--font-title);
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 0.6em;
  text-wrap: balance;
}

h1 { font-size: clamp(2rem, 4.6vw, 3.05rem); font-weight: 800; line-height: 1.14; letter-spacing: -0.5px; }
h2 { font-size: clamp(1.65rem, 3.4vw, 2.35rem); font-weight: 800; letter-spacing: -0.5px; }
h3 { font-size: 1.12rem; font-weight: 700; }

p { margin: 0 0 1em; }

a { color: var(--navy); }

::selection { background: rgba(226, 27, 35, 0.18); }

:focus-visible {
  outline: 3px solid rgba(226, 27, 35, 0.55);
  outline-offset: 3px;
  border-radius: 4px;
}

.tx-red { color: var(--red); }
.tx-red-light { color: var(--red-light); }

.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* ---------- Layout ---------- */

.container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 24px;
}

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

/* Header e hero alinhados mais à esquerda que o resto da página */
.container--wide { max-width: 1400px; }

.section {
  padding-block: clamp(64px, 9vw, 96px);
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.section--light { background: var(--bg-light); }

.section--navy {
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.05) 0%, transparent 45%),
    var(--navy);
  color: var(--white);
}

.section--navy h2 { color: var(--white); }
.section--navy h3 { color: var(--white); }

.section__head {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

.section__head p { color: var(--gray); font-size: 1.06rem; }

.section__cta { text-align: center; margin-top: 48px; }

/* ---------- Botões ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: var(--radius-btn);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  text-align: center;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn--primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(226, 27, 35, 0.28);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(226, 27, 35, 0.34);
}

.btn--secondary {
  background: var(--white);
  color: var(--navy);
  border-color: var(--navy);
}

.btn--secondary:hover,
.btn--secondary:focus-visible {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--lg { padding: 18px 34px; font-size: 1.06rem; }
.btn--sm { padding: 11px 20px; font-size: 0.94rem; }

.btn .icon { width: 21px; height: 21px; }

/* ---------- Header ---------- */

.header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  background: var(--white);
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.header.is-scrolled {
  border-color: var(--border);
  box-shadow: 0 6px 24px rgba(8, 47, 101, 0.08);
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header__logo { display: inline-flex; align-items: center; }
.header__logo img { height: 46px; width: auto; }

.header__nav {
  display: none;
  align-items: center;
  gap: 30px;
}

.header__nav > a:not(.btn) {
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--navy);
  text-decoration: none;
  transition: color 0.2s ease;
}

.header__nav > a:not(.btn):hover { color: var(--red); }

.header__nav.is-open {
  display: flex;
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  flex-direction: column;
  align-items: stretch;
  text-align: center;
  gap: 20px;
  background: var(--white);
  padding: 28px 24px 32px;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 20px 30px rgba(8, 47, 101, 0.12);
}

.header__toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 11px;
  background: none;
  border: 0;
  cursor: pointer;
}

.header__toggle span {
  display: block;
  height: 2.5px;
  width: 100%;
  border-radius: 2px;
  background: var(--navy);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.header__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.header__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.header__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (min-width: 992px) {
  .header__nav { display: flex; }
  .header__toggle { display: none; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background: var(--bg-light);
  overflow: hidden;
}

.hero__decor::before {
  content: '';
  position: absolute;
  top: -120px;
  left: -110px;
  width: 380px;
  height: 400px;
  background: rgba(8, 47, 101, 0.06);
  -webkit-mask: var(--shield-mask) no-repeat center / contain;
  mask: var(--shield-mask) no-repeat center / contain;
  transform: rotate(-14deg);
  pointer-events: none;
}

.hero__decor::after {
  content: '';
  position: absolute;
  bottom: 70px;
  left: -34px;
  width: 130px;
  height: 140px;
  background: rgba(226, 27, 35, 0.09);
  -webkit-mask: var(--shield-mask) no-repeat center / contain;
  mask: var(--shield-mask) no-repeat center / contain;
  transform: rotate(10deg);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  padding-block: clamp(56px, 8vw, 96px);
}

.hero__content { max-width: 600px; }

.hero__lead {
  font-size: 1.15rem;
  color: var(--gray);
  max-width: 540px;
  margin-bottom: 32px;
}

.hero__cta { margin-bottom: 36px; }

.hero__badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.hero__badges li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
  box-shadow: 0 3px 10px rgba(8, 47, 101, 0.05);
}

.hero__badges .icon { width: 18px; height: 18px; color: var(--red); }

.hero__mobile-img {
  display: block;
  width: calc(100% - 48px);
  max-width: 640px;
  margin: 0 auto;
  padding-bottom: 56px;
  border-radius: var(--radius);
}

@media (min-width: 992px) {
  .hero {
    background:
      url('../assets/img/hero-bg-desktop.jpg') right center / cover no-repeat,
      var(--bg-light);
  }

  .hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
      90deg,
      rgba(245, 247, 250, 0.98) 0%,
      rgba(245, 247, 250, 0.9) 32%,
      rgba(245, 247, 250, 0.45) 46%,
      rgba(245, 247, 250, 0) 60%
    );
    z-index: 1;
  }

  .hero__inner {
    display: flex;
    align-items: center;
    min-height: 640px;
  }

  .hero__content { max-width: 580px; }

  .hero__mobile-img { display: none; }
}

/* ---------- Blocos em duas colunas ---------- */

.split {
  display: grid;
  gap: 44px;
  align-items: center;
}

.split__text .btn { margin-top: 10px; }

.split__text > p { color: var(--gray); font-size: 1.03rem; }

.section--navy .split__text > p { color: #B9C7DE; }

.media-frame {
  position: relative;
  max-width: 560px;
  margin-inline: auto;
}

.media-frame::before {
  content: '';
  position: absolute;
  top: -34px;
  right: -30px;
  width: 120px;
  height: 130px;
  background: rgba(8, 47, 101, 0.10);
  -webkit-mask: var(--shield-mask) no-repeat center / contain;
  mask: var(--shield-mask) no-repeat center / contain;
  transform: rotate(12deg);
  z-index: 0;
}

.media-frame::after {
  content: '';
  position: absolute;
  bottom: -24px;
  left: -22px;
  width: 74px;
  height: 80px;
  background: rgba(226, 27, 35, 0.16);
  -webkit-mask: var(--shield-mask) no-repeat center / contain;
  mask: var(--shield-mask) no-repeat center / contain;
  transform: rotate(-10deg);
  z-index: 0;
}

.media-frame img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow-media);
}

.media-frame--navy::before { background: rgba(255, 255, 255, 0.10); }
.media-frame--navy::after { background: rgba(226, 27, 35, 0.4); }
.media-frame--navy img { box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35); }

.media-frame--tall img { aspect-ratio: 4 / 3.4; object-fit: cover; }

/* No mobile, texto sempre antes da imagem */
.split__text { order: 1; }
.split__media { order: 2; }

@media (min-width: 992px) {
  .split {
    grid-template-columns: 1.05fr 1fr;
    gap: 72px;
  }

  .split__text, .split__media { order: 0; }

  .split--rev { grid-template-columns: 1fr 1.05fr; }
}

/* ---------- Cards de benefícios ---------- */

.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

@media (min-width: 640px) { .cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .cards-grid { grid-template-columns: repeat(3, 1fr); } }

.card {
  position: relative;
  background: var(--white);
  border: 1px solid #E6EBF2;
  border-radius: var(--radius);
  padding: 34px 30px 30px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 30px;
  width: 42px;
  height: 4px;
  border-radius: 0 0 4px 4px;
  background: var(--red);
  transition: width 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
}

.card:hover::before { width: 72px; }

.card__icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: #EDF2F9;
  color: var(--navy);
  margin-bottom: 20px;
}

.card__icon .icon { width: 27px; height: 27px; stroke-width: 1.8; }

.card__icon::after {
  content: '';
  position: absolute;
  top: -4px;
  right: -4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--red);
  border: 2.5px solid var(--white);
}

.card h3 { margin-bottom: 8px; }
.card p { color: var(--gray); font-size: 0.97rem; margin: 0; }

/* ---------- Público / perfis ---------- */

.split--publico { align-items: stretch; }

.split--publico .split__media { display: flex; }
.split--publico .media-frame { width: 100%; display: flex; }
.split--publico .media-frame img { width: 100%; height: 100%; object-fit: cover; }

.profile-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
  order: 1;
}

.split--publico .split__media { order: 2; }

@media (min-width: 992px) {
  .split--publico .split__media, .profile-list { order: 0; }
}

.profile {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid #E6EBF2;
  border-radius: var(--radius);
  padding: 26px 28px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.profile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.profile__icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #EDF2F9;
  color: var(--navy);
}

.profile__icon .icon { width: 25px; height: 25px; stroke-width: 1.8; }

.profile__icon::after {
  content: '';
  position: absolute;
  top: -4px;
  right: -4px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--red);
  border: 2.5px solid var(--white);
}

.profile h3 { margin-bottom: 6px; font-size: 1.08rem; }
.profile p { color: var(--gray); font-size: 0.96rem; margin: 0; }

/* ---------- Operadoras parceiras ---------- */

/* Mesmo tom de fundo da imagem dos logos, para o PNG se fundir com a seção */
.operadoras { background: #F8FAFC; }

.operadoras__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 22px;
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--navy);
  box-shadow: 0 3px 10px rgba(8, 47, 101, 0.05);
}

.operadoras__badge .icon { width: 18px; height: 18px; color: var(--red); }

/* O PNG dos logos já traz um pequeno respiro embutido, então o head fica sem margem */
.operadoras .section__head { margin-bottom: 0; }

.operadoras__logos {
  display: block;
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
}

.operadoras__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
  max-width: 980px;
  margin: 24px auto 0;
  padding: 28px 32px;
  background: var(--white);
  border: 1px solid #E6EBF2;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.operadoras__cta-icon {
  display: inline-flex;
  flex-shrink: 0;
  color: var(--navy);
}

.operadoras__cta-icon .icon { width: 46px; height: 46px; stroke-width: 1.6; }

.operadoras__cta-text strong {
  display: block;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--navy);
}

.operadoras__cta-text p { margin: 2px 0 0; color: var(--gray); font-size: 0.98rem; }

@media (min-width: 900px) {
  .operadoras__cta {
    flex-direction: row;
    text-align: left;
    gap: 26px;
  }

  .operadoras__cta-text {
    padding-left: 26px;
    border-left: 1px solid var(--border);
  }

  .operadoras__cta .btn { margin-left: auto; flex-shrink: 0; }
}

/* ---------- Diferenciais (fundo azul) ---------- */

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.feature-list li { display: flex; gap: 18px; align-items: flex-start; }

.feature-list__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--red-light);
}

.feature-list__icon .icon { width: 24px; height: 24px; stroke-width: 1.8; }

.feature-list h3 { margin-bottom: 4px; font-size: 1.06rem; }
.feature-list p { color: #B9C7DE; font-size: 0.96rem; margin: 0; }

/* ---------- Como funciona / passos ---------- */

.steps {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.step {
  position: relative;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding-bottom: 30px;
}

.step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 21px;
  top: 48px;
  bottom: 4px;
  width: 2px;
  background: #D8E0EB;
}

.step__num {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.05rem;
  box-shadow: 0 6px 14px rgba(226, 27, 35, 0.3);
}

.step h3 { margin: 8px 0 4px; font-size: 1.08rem; }
.step p { color: var(--gray); font-size: 0.98rem; margin: 0; }

/* ---------- Confiança ---------- */

.trust {
  background: var(--white);
  border: 1px solid #E6EBF2;
  border-radius: 24px;
  padding: clamp(36px, 6vw, 64px);
  box-shadow: var(--shadow-card);
}

.trust .section__head { margin-bottom: 36px; }

.checklist {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 760px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px 32px;
}

@media (min-width: 640px) { .checklist { grid-template-columns: repeat(2, 1fr); } }

.checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  color: var(--navy);
}

.checklist .icon {
  width: 22px;
  height: 22px;
  stroke-width: 2.6;
  color: var(--red);
}

/* Último item centralizado quando a grade tem 2 colunas */
@media (min-width: 640px) {
  .checklist li:last-child { grid-column: 1 / -1; justify-self: center; }
}

/* ---------- FAQ ---------- */

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

.faq__item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq__item[open] {
  border-color: rgba(8, 47, 101, 0.35);
  box-shadow: var(--shadow-card);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__marker {
  position: relative;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
}

.faq__marker::before,
.faq__marker::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--red);
  border-radius: 2px;
  transition: transform 0.25s ease;
}

.faq__marker::before {
  width: 14px;
  height: 2.5px;
  transform: translate(-50%, -50%);
}

.faq__marker::after {
  width: 2.5px;
  height: 14px;
  transform: translate(-50%, -50%);
}

.faq__item[open] .faq__marker::after { transform: translate(-50%, -50%) scaleY(0); }

.faq__item p {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--gray);
}

/* ---------- Última dobra ---------- */

.final-cta {
  position: relative;
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 40%),
    var(--navy-dark);
  color: var(--white);
  text-align: center;
  padding-block: clamp(72px, 10vw, 110px);
  overflow: hidden;
  scroll-margin-top: var(--header-h);
}

.final-cta__decor::before {
  content: '';
  position: absolute;
  top: -130px;
  right: -120px;
  width: 420px;
  height: 440px;
  background: rgba(255, 255, 255, 0.05);
  -webkit-mask: var(--shield-mask) no-repeat center / contain;
  mask: var(--shield-mask) no-repeat center / contain;
  transform: rotate(16deg);
  pointer-events: none;
}

.final-cta__decor::after {
  content: '';
  position: absolute;
  bottom: -56px;
  left: -46px;
  width: 200px;
  height: 210px;
  background: rgba(226, 27, 35, 0.18);
  -webkit-mask: var(--shield-mask) no-repeat center / contain;
  mask: var(--shield-mask) no-repeat center / contain;
  transform: rotate(-12deg);
  pointer-events: none;
}

.final-cta__inner { position: relative; z-index: 1; }

.final-cta h2 {
  color: var(--white);
  max-width: 820px;
  margin-inline: auto;
}

.final-cta__inner > p {
  color: #B9C7DE;
  font-size: 1.08rem;
  max-width: 660px;
  margin: 0 auto 36px;
}

/* ---------- Footer ---------- */

.footer {
  background: var(--navy-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: 36px;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.footer img { height: 40px; width: auto; }

.footer p {
  margin: 0;
  font-size: 0.88rem;
  color: #7C8DB0;
}

/* ---------- Botão flutuante do WhatsApp ---------- */

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float .icon { width: 32px; height: 32px; }

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: scale(1.08);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
}

@media (prefers-reduced-motion: no-preference) {
  .whatsapp-float::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--whatsapp);
    opacity: 0.45;
    z-index: -1;
    animation: pulse 2.4s ease-out infinite;
  }

  @keyframes pulse {
    0% { transform: scale(1); opacity: 0.45; }
    70%, 100% { transform: scale(1.55); opacity: 0; }
  }
}

/* ---------- Animações de entrada ---------- */

html.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

html.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html.js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn, .card, .profile { transition: none; }
}
