/* Foto original intacta; a máscara e os quadrados são camadas da interface. */
.photo-frame {
  position: relative;
  isolation: isolate;
  overflow: visible;
  aspect-ratio: 1;
  height: auto;
  min-height: 0;
  background: transparent;
  border-radius: 0;
}
.photo-frame::before,
.photo-frame::after {
  content: "";
  position: absolute;
  width: 84%;
  height: 84%;
  border-radius: clamp(18px, 3vw, 34px);
  pointer-events: none;
}
.photo-frame::before {
  z-index: 0;
  top: 12%;
  left: 3%;
  background: #11263e;
}
.photo-frame::after {
  z-index: 1;
  top: 3%;
  left: 12%;
  border: 3px solid #0759c7;
}
.photo-frame > img,
.panel-image > img,
.planning-photo > img {
  position: absolute;
  z-index: 2;
  top: 7%;
  left: 7%;
  width: 86%;
  height: 86%;
  border-radius: clamp(18px, 3vw, 34px);
  object-fit: cover;
}
.hero-media {
  width: 100%;
  max-width: none;
  height: 420px;
  aspect-ratio: auto;
  margin-inline: 0;
  overflow: hidden;
  border-radius: 10px;
}
.hero-media::before,
.hero-media::after { display: none; }
.hero-media > img {
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-position: center 57%;
}
.panel-image { aspect-ratio: 1; }
.process-photo { width: min(100%, 460px); }
.heritage-photo { aspect-ratio: 1; }
.heritage-photo > img { object-fit: cover; object-position: center 36%; }

/* Chamada direta da Fort Seguros, com suas duas famílias de seguros. */
.fort-seguros-callout { background: #13231c; color: #fff; }
.fort-seguros-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(48px, 6vw, 96px);
}
.fort-seguros-photo { width: 100%; max-width: 570px; }
.fort-seguros-photo::before { background: #f8a73a; }
.fort-seguros-photo::after { border-color: #dcebdd; }
.fort-seguros-photo > img { object-position: center 36%; }
.fort-seguros-logo { width: 140px; height: auto; margin-bottom: 28px; }
.fort-seguros-copy h2 { font-size: clamp(36px, 3.4vw, 54px); max-width: 16ch; }
.fort-seguros-copy > p { max-width: 57ch; margin-top: 24px; color: #e3ece5; }
.fort-seguros-options { display: grid; gap: 12px; margin: 32px 0; }
.fort-seguros-option {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 18px 20px;
  background: #dcebdd;
  border-radius: 12px;
  color: #13231c;
}
.fort-seguros-option-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: #fff;
  border-radius: 50%;
}
.fort-seguros-option-icon svg { width: 22px; height: 22px; }
.fort-seguros-option h3 { font-size: 19px; line-height: 1.35; }
.fort-seguros-option p { margin-top: 4px; font-size: 15px; line-height: 1.55; }
.fort-seguros-button { background: #f8a73a; color: #11263e; }
.fort-seguros-button:hover { background: #f9b758; }

/* Rodapé institucional e contatos públicos conferidos no WordPress. */
.site-footer { background: #11263e; color: #fff; padding: 72px 0 28px; scroll-margin-top: 100px; }
.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  padding-bottom: 64px;
}
.footer-brand { display: inline-flex; min-height: 66px; align-items: center; }
.footer-brand img { width: 150px; height: auto; }
.footer-about > p { margin-top: 26px; max-width: 36ch; color: #d7e5f6; }
.footer-nav, .footer-contact { display: flex; flex-direction: column; align-items: flex-start; font-style: normal; }
.footer-nav h2, .footer-contact h2 { margin: 8px 0 24px; font-size: 19px; line-height: 1.4; letter-spacing: -.02em; }
.footer-nav a, .footer-contact a, .footer-bottom a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #d7e5f6;
  text-decoration: none;
  text-underline-offset: 4px;
}
.footer-nav a:hover, .footer-contact a:hover, .footer-bottom a:hover { color: #fff; text-decoration: underline; }
.footer-contact p { margin: 0 0 18px; color: #d7e5f6; line-height: 1.7; }
.footer-bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px 48px;
  border-top: 1px solid #71849b;
  padding-top: 20px;
  color: #c7d6e8;
  font-size: 13px;
  line-height: 1.7;
}
.footer-bottom p { max-width: 75ch; }
.footer-bottom-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-bottom a { min-height: 32px; white-space: nowrap; }

/* Mesmo botão do WhatsApp usado pela Fort Seguros. */
.floating-whatsapp {
  --pulse-spread: 24px;
  position: fixed;
  z-index: 90;
  right: 40px;
  bottom: 30px;
  display: grid;
  place-items: center;
  width: 80px;
  height: 80px;
  min-width: 80px;
  min-height: 80px;
  padding: 0;
  color: #fff;
  background: #25d366;
  border-radius: 50%;
  text-decoration: none;
  animation: fortbank-whatsapp-pulse 1.25s cubic-bezier(.66, 0, 0, 1) infinite;
}
.floating-whatsapp:hover { background: #20c760; }
.floating-whatsapp:focus-visible {
  animation: none;
  outline: 3px solid #11263e;
  outline-offset: 4px;
  box-shadow: 0 0 0 8px #fff;
}
.floating-whatsapp svg { width: 39px; height: 39px; }
.grecaptcha-badge { bottom: 124px !important; }
@keyframes fortbank-whatsapp-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .48); }
  70%, 100% { box-shadow: 0 0 0 var(--pulse-spread) rgba(37, 211, 102, 0); }
}

@media (max-width: 700px) {
  .floating-whatsapp {
    --pulse-spread: 16px;
    right: 10px;
    bottom: 10px;
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
  }
  .grecaptcha-badge { bottom: 72px !important; }
  .floating-whatsapp svg { width: 25px; height: 25px; }
  .hero-media { height: auto; aspect-ratio: 3 / 2; }
  .process-photo, .panel-image, .heritage-photo { aspect-ratio: 1; }
}
@media (max-width: 900px) {
  .fort-seguros-layout { grid-template-columns: 1fr; gap: 36px; }
  .fort-seguros-photo { max-width: 620px; }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
  .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .fort-seguros-copy h2 { font-size: 32px; }
  .fort-seguros-option { padding: 16px; }
  .fort-seguros-button { width: 100%; }
  .footer-main { grid-template-columns: 1fr; gap: 30px; padding-bottom: 42px; }
  .footer-about { grid-column: auto; }
  .footer-nav h2, .footer-contact h2 { margin-bottom: 12px; }
  .footer-bottom { flex-direction: column; }
  .footer-bottom-links { gap: 4px 20px; }
  .site-footer { padding-bottom: 80px; }
}
@media (prefers-reduced-motion: reduce) {
  .floating-whatsapp { animation: none; box-shadow: 0 5px 18px rgba(19, 35, 28, .2); }
}
