:root {
  --bg: #f5f5f5;
  --white: #ffffff;
  --text: #000000;
  --muted: #3c4b66;
  --primary: #644997;
  --primary-dark: #523d7c;
  --accent: #66c6ec;
  --surface: #eaf2fb;
  --max-content: 1200px;
  --section-content-max: 880px;
  --page-gutter: 1rem;
  --security-expanded-width: 360px;
  /* Pilhas próximas às webfonts reduzem o “salto” antes do Google Fonts aplicar */
  --font-display: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-ui: "Montserrat", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-width: 320px;
  font-family: var(--font-display);
  color: var(--text);
  background: var(--bg);
  /* Evita “bounce” / faixa clara acima do header e abaixo do footer (Safari, Chrome, etc.) */
  overscroll-behavior-y: none;
  overscroll-behavior-x: none;
}

html {
  scroll-behavior: smooth;
}

.site-header,
.site-header *,
.site-footer,
.site-footer *,
input,
select,
textarea,
button,
.btn {
  font-family: var(--font-ui);
}

img {
  max-width: 100%;
  display: block;
}

/* Fade após decode — ícones SVG costumam vir do cache no mesmo frame */
img:not([src$=".svg"]) {
  opacity: 0;
  transition: opacity 0.45s ease;
}

img.img-loaded,
img[loading="eager"],
img[src$=".svg"] {
  opacity: 1;
}

/* Blocos de mídia ao rolar: fade + subida + zoom leve dentro do recorte */
.media-reveal[data-media-reveal] {
  --media-reveal-duration: 0.88s;
  --media-reveal-delay: 0ms;
  opacity: 0;
  transform: translate3d(0, 36px, 0);
  transition:
    opacity var(--media-reveal-duration) cubic-bezier(0.22, 1, 0.36, 1) var(--media-reveal-delay),
    transform var(--media-reveal-duration) cubic-bezier(0.22, 1, 0.36, 1) var(--media-reveal-delay);
}

.media-reveal[data-media-reveal].is-media-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.focus-card-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  overflow: hidden;
  background-color: #e4e6ec;
}

.focus-card-media .focus-card-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12) translate3d(0, 14px, 0);
  transform-origin: 50% 55%;
  transition:
    transform 1.12s cubic-bezier(0.22, 1, 0.36, 1) calc(var(--media-reveal-delay) + 70ms),
    opacity 0.5s ease;
}

.focus-card-media.is-media-visible .focus-card-photo {
  transform: scale(1) translate3d(0, 0, 0);
}

.section-solutions .focus-card:nth-of-type(1) .focus-card-media {
  --media-reveal-delay: 0ms;
}

.section-solutions .focus-card:nth-of-type(2) .focus-card-media {
  --media-reveal-delay: 95ms;
}

.section-solutions .focus-card:nth-of-type(3) .focus-card-media {
  --media-reveal-delay: 185ms;
}

.security-slide-shell {
  flex: 1 1 120px;
  min-width: 92px;
  min-height: 0;
  align-self: stretch;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  background-color: #e4e6ec;
  transition: flex 0.7s cubic-bezier(0.25, 0.8, 0.25, 1), min-width 0.7s cubic-bezier(0.25, 0.8, 0.25, 1),
    max-width 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.security-slide-shell.is-shell-expanded {
  flex: 0 0 var(--security-expanded-width);
  min-width: var(--security-expanded-width);
  max-width: var(--security-expanded-width);
}

.security-slide-shell .security-slide {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border-radius: inherit;
  object-fit: cover;
  transform: scale(1.08) translate3d(0, 12px, 0);
  transform-origin: center 42%;
  transition:
    filter 0.45s ease,
    transform 1s cubic-bezier(0.22, 1, 0.36, 1) calc(var(--media-reveal-delay) + 60ms);
  filter: saturate(90%);
}

.security-slide-shell.is-media-visible .security-slide {
  transform: scale(1) translate3d(0, 0, 0);
}

.security-carousel .security-slide-shell:nth-child(1) .security-slide {
  object-position: 10% center;
}

.security-carousel .security-slide-shell:nth-child(4) .security-slide {
  object-position: 30% center;
}

.security-slide-shell.is-shell-expanded .security-slide {
  filter: saturate(100%);
}

.security-slide-shell:nth-child(1) {
  --media-reveal-delay: 0ms;
}

.security-slide-shell:nth-child(2) {
  --media-reveal-delay: 55ms;
}

.security-slide-shell:nth-child(3) {
  --media-reveal-delay: 110ms;
}

.security-slide-shell:nth-child(4) {
  --media-reveal-delay: 165ms;
}

.highlight-image-wrap {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  justify-self: center;
  width: 100%;
  max-width: 300px;
  border-radius: 16px;
  overflow: hidden;
  background-color: #e8eaef;
}

.highlight-image-parallax {
  width: 100%;
  border-radius: inherit;
  overflow: hidden;
}

.highlight-image-parallax img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  object-position: 70% center;
  transform: scale(1.14) translate3d(0, 18px, 0);
  transform-origin: 72% 40%;
  transition:
    transform 1.15s cubic-bezier(0.22, 1, 0.36, 1) calc(var(--media-reveal-delay) + 90ms),
    filter 1s ease calc(var(--media-reveal-delay) + 90ms),
    opacity 0.5s ease;
  filter: saturate(0.88) brightness(0.92);
}

.highlight-image-wrap.media-reveal.is-media-visible .highlight-image-parallax img {
  transform: scale(1) translate3d(0, 0, 0);
  filter: saturate(1) brightness(1);
}

a {
  color: inherit;
  text-decoration: none;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.85s ease-out, transform 0.85s ease-out;
  transition-delay: var(--reveal-delay, 0ms);
  pointer-events: none;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.hero-copy,
.cpf-form,
.sobre-hero h1 {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease-out, transform 0.9s ease-out;
}

body.is-loaded .hero-copy,
body.is-loaded .cpf-form,
body.is-loaded .sobre-hero h1 {
  opacity: 1;
  transform: translateY(0);
}

body.is-loaded .cpf-form {
  transition-delay: 120ms;
}

body.page-fale-conosco .fale-contato-form {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease-out, transform 0.9s ease-out;
}

body.page-fale-conosco.is-loaded .fale-contato-form {
  opacity: 1;
  transform: translateY(0);
}

.story-sticky {
  position: sticky;
  top: 104px;
}

.container {
  width: min(var(--max-content), calc(100% - 2 * var(--page-gutter)));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 80px;
  background: #ebedf3;
  border-bottom: 0;
  padding-inline: 0;
  /* Permite o painel “Acesso rápido” absoluto ultrapassar a caixa do header e sobrepor o main */
  overflow: visible;
  transition: opacity 0.14s ease;
}

html.fonts-pending .site-header {
  opacity: 0;
}

html.fonts-ready .site-header {
  opacity: 1;
}

.site-header .container {
  width: min(var(--max-content), calc(100% - 2 * var(--page-gutter)));
  max-width: var(--max-content);
  margin-inline: auto;
  padding-inline: 0;
}

.hero .container {
  width: min(var(--max-content), calc(100% - 2 * var(--page-gutter)));
  max-width: var(--max-content);
  margin-inline: auto;
  padding-inline: 0;
}

.site-footer .container {
  width: min(var(--max-content), calc(100% - 2 * var(--page-gutter)));
  max-width: var(--max-content);
  margin-inline: auto;
}

main .section .container {
  width: min(var(--section-content-max), calc(100% - 2 * var(--page-gutter)));
  max-width: var(--section-content-max);
  margin-inline: auto;
}

.section-faq .container {
  width: min(var(--section-content-max), calc(100% - 2 * var(--page-gutter)));
  max-width: var(--section-content-max);
  margin-inline: auto;
}

.header-inner {
  width: 100%;
  max-width: none;
  height: 100%;
  min-height: 0;
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem;
}

.header-left {
  display: inline-flex;
  align-items: center;
  gap: 40px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-weight: 600;
  font-size: 1.03rem;
  color: #10131d;
}

.brand-mark img {
  width: 33px;
}

.main-nav {
  display: inline-flex;
  gap: 40px;
  color: #10131d;
  font-weight: 600;
  font-size: 0.97rem;
}

.main-nav a,
.site-header .btn {
  white-space: nowrap;
}

.site-header .btn {
  padding: 0.65rem 1.7rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--primary);
  cursor: pointer;
  touch-action: manipulation;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.nav-menu-toggle:hover,
.nav-menu-toggle:focus {
  background: transparent;
}

.nav-menu-toggle:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.nav-menu-toggle-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-menu-toggle-icon--close {
  display: none;
}

.site-header.is-menu-open .nav-menu-toggle-icon--open {
  display: none;
}

.site-header.is-menu-open .nav-menu-toggle-icon--close {
  display: flex;
}

.acesso-rapido-panel {
  width: 100%;
  border-top: 1px solid rgba(100, 73, 151, 0.12);
  background: linear-gradient(180deg, #ebe8f4 0%, #e8e4f1 100%);
  box-sizing: border-box;
}

.acesso-rapido-inner {
  padding: 1rem 0 1.2rem;
}

.acesso-rapido-title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.acesso-rapido-cards {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.acesso-rapido-card {
  flex: 0 0 auto;
  scroll-snap-align: start;
  min-width: min(6.8rem, 74vw);
  max-width: 30%;
  min-height: 4.35rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0.95rem 1rem 0.85rem;
  border-radius: 1.1rem;
  background: var(--white);
  color: var(--text);
  font-weight: 600;
  font-size: 0.88rem;
  line-height: 1.25;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(17, 23, 37, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  padding: 0.8rem 1.8rem;
  transition: transform 0.25s ease-out, box-shadow 0.35s ease-out, background-color 0.3s ease-in-out;
}

input,
select {
  height: 48px;
}

.btn-primary {
  color: var(--white);
  background: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-light {
  color: var(--text);
  background: var(--white);
}

.hero {
  position: relative;
  min-height: calc(100svh - 56px);
  padding: clamp(2rem, 3.5vw, 3rem) 0 clamp(4.5rem, 7vw, 7rem);
  display: flex;
  align-items: flex-end;
  background-color: white;
  background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url("./img/img-section-1.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 0 0 34px 34px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: clamp(1.5rem, 3vw, 2.8rem);
  align-items: end;
}

.hero-copy h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 0 0 1rem;
  line-height: 1.1;
  color: var(--white);
  max-width: 680px;
}

.hero-copy p {
  line-height: 1.3;
  font-size: clamp(1rem, 1.1vw + 0.75rem, 1.7rem);
  color: #f2f6ff;
  max-width: 600px;
  margin: 0;
}

.eyebrow {
  color: #3f5e8f;
  letter-spacing: 0.02em;
  font-weight: 600;
}

.cpf-form,
.fale-contato-form {
  display: grid;
  gap: 0.85rem;
  background: var(--white);
  border-radius: 28px;
  padding: 1.65rem 1.35rem 1.2rem;
  box-shadow: 0 20px 48px #12254436;
}

.cpf-form-title {
  margin: 0;
  font-weight: 600;
  color: #111a2f;
  font-size: 1.1rem;
  line-height: 1.35;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cpf-form input,
.fale-contato-form input {
  width: 100%;
  border: 1px solid #d7dced;
  border-radius: 999px;
  padding: 0 1rem;
  font-size: 1rem;
  font-weight: 600;
  background: #e6e9f2;
}

.fale-contato-form textarea {
  width: 100%;
  border: 1px solid #d7dced;
  border-radius: 1.75rem;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  background: #e6e9f2;
  min-height: 8.75rem;
  resize: vertical;
  line-height: 1.45;
}

.cpf-form input::placeholder,
.fale-contato-form input::placeholder,
.fale-contato-form textarea::placeholder {
  font-size: 0.8rem;
  font-weight: 600;
  color: #6b7285;
  opacity: 1;
}

.cpf-form .btn {
  width: 100%;
  justify-content: space-between;
  padding: 0.85rem 1.1rem;
  font-size: 0.8rem;
  font-weight: 600;
}

.fale-contato-form .btn {
  width: 100%;
  justify-content: center;
  padding: 0.85rem 1.1rem;
  font-size: 0.8rem;
  font-weight: 600;
}

.fale-contato-form {
  position: relative;
  min-height: 470px;
}

.fale-form-submit {
  gap: 0.55rem;
}

.fale-submit-spinner {
  width: 15px;
  height: 15px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #ffffff;
  border-radius: 999px;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.fale-contato-form.is-submitting .fale-submit-spinner {
  opacity: 1;
  transform: scale(1);
  animation: fale-spin 0.8s linear infinite;
}

.fale-contato-form.is-submitting .fale-form-submit {
  opacity: 0.88;
  pointer-events: none;
}

.fale-form-feedback {
  margin: 0.15rem 0 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #7a2032;
}

.fale-form-feedback:empty {
  display: none;
}

.fale-contato-form .is-field-invalid {
  border-color: #d48a2d;
  box-shadow: 0 0 0 2px rgba(212, 138, 45, 0.14);
}

.fale-field-error {
  margin: -0.35rem 0 0.1rem;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
  color: #8f5a15;
}

.fale-field-error:empty {
  display: none;
}

.fale-form-success-card {
  position: absolute;
  inset: 1.15rem;
  border-radius: 22px;
  padding: 1.5rem 1.35rem 1.25rem;
  background: #ffffff;
  color: #121621;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 0.95rem;
  opacity: 0;
  transform: translateY(18px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.fale-form-success-card[hidden] {
  display: none;
}

.fale-form-success-icon {
  position: relative;
  width: 124px;
  height: 124px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #d9dce6;
  color: #ffffff;
  overflow: hidden;
}

.fale-form-success-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #644997;
  border-radius: inherit;
  clip-path: circle(0% at 50% 50%);
}

.fale-success-check {
  position: relative;
  z-index: 1;
}

.fale-success-check path {
  stroke-dasharray: 24;
  stroke-dashoffset: 24;
}

.fale-form-success-card h2 {
  margin: 0;
  font-size: clamp(1.55rem, 2vw, 1.95rem);
  line-height: 1.15;
  font-family: var(--font-display);
  color: #644997;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.62s ease, transform 0.62s cubic-bezier(0.22, 1, 0.36, 1);
}

.fale-success-title-primary {
  color: #644997;
}

.fale-success-title-secondary {
  color: #121621;
  margin-left: 0.35rem;
}

.fale-form-success-card p {
  margin: 0;
  max-width: 40ch;
  font-size: 0.95rem;
  line-height: 1.48;
  color: #121621;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.72s ease, transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
}

.fale-form-success-bottom {
  width: 100%;
  margin-top: auto;
  display: grid;
  justify-content: center!important;
  grid-template-rows: 1fr auto;
  min-height: 138px;
  gap: 0.75rem;
}

.fale-form-success-divider {
  width: 100%;
  max-width: none;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.35rem;
  margin: 0;
  color: #7b8296;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
}

.fale-form-success-divider::before,
.fale-form-success-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #d9deea;
}

.fale-form-success-actions {
  width: 100%;
  max-width: none;
  margin-top: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.fale-form-success-actions .btn {
  width: auto;
  min-width: 188px;
  height: 44px;
  padding: 0.72rem 1.35rem;
  font-size: 0.88rem;
  border: 1px solid #cfd3df;
}

.fale-form-success-actions .btn.btn-primary {
  border-color: transparent;
}

.fale-form-success-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.72s ease, transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
}

.fale-contato-form.is-sent-prep > :not(.fale-form-success-card) {
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
}

.fale-contato-form.is-sent-prep .fale-form-success-card {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.fale-contato-form.is-sent-animate .fale-form-success-icon::before {
  animation: fale-icon-fill 0.95s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.fale-contato-form.is-sent-animate .fale-success-check path {
  animation: fale-check-draw 0.62s ease-out 0.55s forwards;
}

.fale-contato-form.is-sent .fale-form-success-card {
  pointer-events: auto;
}

.fale-contato-form.is-sent .fale-form-success-card h2,
.fale-contato-form.is-sent .fale-form-success-card p,
.fale-contato-form.is-sent .fale-form-success-reveal {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fale-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes fale-icon-fill {
  0% {
    clip-path: circle(0% at 50% 50%);
  }
  100% {
    clip-path: circle(76% at 50% 50%);
  }
}

@keyframes fale-check-draw {
  0% {
    stroke-dashoffset: 24;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

.fale-contato-form .fale-form-field-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  transition-delay: var(--fale-field-delay, 0ms);
}

body.page-fale-conosco.is-loaded .fale-contato-form .fale-form-field-reveal,
.fale-contato-form.is-visible .fale-form-field-reveal {
  opacity: 1;
  transform: translateY(0);
}

.cpf-form-btn-arrow {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: block;
}

.section {
  padding: 4.5rem 0;
}

.section h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  margin: 0;
  font-weight: 600;
}

.section p {
  line-height: 1.3;
}

.section-solutions {
  background: #F5F5F5;
}

.section-solutions h2 {
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(1.75rem, 2.35vw + 0.75rem, 2.875rem);
  font-weight: 600;
  line-height: 1.3;
}

.section-solutions>.container>p {
  text-align: center;
  max-width: 870px;
  margin: 1rem auto 0;
  font-size: clamp(0.935rem, 1.15vw + 0.4rem, 1.5rem);
  font-weight: 400;
  line-height: 1.4;
}

.focus-carousel {
  margin-top: 2.3rem;
  display: grid;
  justify-items: center;
  gap: 1rem;
}

.focus-track {
  position: relative;
  width: 680px;
  height: 440px;
}

.focus-card {
  position: relative;
  width: 272px;
  height: 382px;
  border-radius: 16px;
  overflow: hidden;
  color: var(--white);
  text-align: center;
  position: absolute;
  left: 50%;
  top: 0;
  margin-top: 0;
  z-index: 1;
  transform: translateX(-50%) translateY(24px);
  transition: transform 0.35s ease, width 0.35s ease, height 0.35s ease, opacity 0.35s ease;
  will-change: transform, width, height;
  perspective: 1400px;
}

.focus-card-inner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  transform-style: preserve-3d;
  transition: transform 0.85s cubic-bezier(0.65, 0.05, 0.25, 1);
}

.focus-card.is-flipped .focus-card-inner {
  transform: rotateY(180deg);
}

.focus-card.is-flipped {
  z-index: 4;
}

.focus-card-face {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.focus-card-face--front {
  z-index: 2;
}

.focus-card-face--front::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #0f1b31a8 25%, #0f1b3115 70%);
  pointer-events: none;
}

.focus-card-face--back {
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.25rem 1.6rem 6.5rem;
  text-align: center;
  background: linear-gradient(150deg, #d9d2ea 0%, #cfc4e6 100%);
  color: #2a2148;
  box-shadow: inset 0 0 0 1px rgba(100, 73, 151, 0.12);
  pointer-events: none;
}

.focus-card.is-flipped .focus-card-face--back {
  pointer-events: auto;
}

.focus-card.is-flipped .focus-card-face--front {
  pointer-events: none;
}

.focus-card-back-text {
  position: relative;
  margin: 0;
  max-width: 22ch;
  font-family: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-style: normal;
  font-size: 1rem;
  line-height: 1.55;
  font-weight: 600;
  color: #2a2148;
}

.focus-card-back-close {
  position: absolute;
  left: 50%;
  bottom: 42px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 84px;
  height: 54px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  background: #644997;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.focus-card-back-close:hover {
  background: var(--primary-dark);
  transform: translateX(-50%) translateY(-1px);
}

.focus-card-back-close:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .focus-card-inner {
    transition-duration: 0.01s;
  }
}

.focus-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  padding: 0 0.75rem;
}

.focus-card h3 {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 1.5rem);
  margin: 0;
  font-size: 2rem;
  line-height: 1.02;
  font-weight: 700;
  color: var(--white);
}

.focus-card a {
  display: inline-flex;
  position: absolute;
  left: 50%;
  bottom: 42px;
  transform: translateX(-50%);
  justify-content: center;
  align-items: center;
  min-width: 84px;
  height: 54px;
  margin-top: 0;
  border-radius: 999px;
  padding: 0 28px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #644997;
  background: #d1cade;
}

.focus-card.pos-left {
  transform: translateX(calc(-50% - 269px)) translateY(24px);
  z-index: 1;
}

.focus-card.pos-center {
  transform: translateX(-50%) translateY(0);
  width: 308px;
  height: 440px;
  z-index: 2;
}

.focus-card.pos-right {
  transform: translateX(calc(-50% + 269px)) translateY(24px);
  z-index: 1;
}

.focus-card.is-fading {
  opacity: 0.72;
}

.focus-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.focus-pagination {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.4rem;
  border-radius: 999px;
  background: #eceff6;
}

.focus-dot {
  border: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #cfd4e0;
  cursor: pointer;
  transition: all 0.22s ease;
}

.focus-dot.is-active {
  width: 22px;
  background: #10121e;
}

.focus-pause {
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 999px;
  background: #eceff6;
  color: #232739;
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  cursor: pointer;
}

.section-highlight {
  background: #f3f4f7;
}

.highlight-layout {
  display: grid;
  grid-template-columns: minmax(0, 560px) minmax(0, 1fr);
  grid-template-rows: auto auto;
  justify-content: space-between;
  align-items: start;
  column-gap: 3rem;
  row-gap: 1.5rem;
}

.highlight-copy {
  grid-column: 1;
  grid-row: 1;
}

.highlight-copy h2 {
  font-size: clamp(1.65rem, 2.8vw, 3rem);
  line-height: 1.3;
}

.highlight-copy p {
  margin: 4.5rem 0 5rem;
  max-width: 560px;
  color: #131822;
  font-size: clamp(1rem, 0.85vw + 0.65rem, 1.35rem);
  line-height: 1.4;
}

.highlight-btn {
  grid-column: 1;
  grid-row: 2;
  justify-self: start;
  padding: 0.8rem 1.7rem;
  font-size: 0.93rem;
}

.section-slider {
  background: #F5F5F5;
}

.slider-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  align-items: center;
}

.chip-list {
  margin: 1.25rem 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.chip {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: #edf3fd;
  color: #264372;
  font-weight: 500;
}

.image-slider {
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  min-height: 470px;
}

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.slide.is-active {
  opacity: 1;
}

.section-card {
  background: #F5F5F5;
}

.security-card {
  max-width: 100%;
  margin: 0 auto;
  text-align: left;
}

.security-card h2 {
  font-size: clamp(2.15rem, 2.8vw, 3.3rem);
  line-height: 1.08;
  margin-bottom: 1.8rem;
  color: #0f131d;
  text-align: left;
}

.security-carousel {
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0.8rem;
  min-height: 420px;
  width: 100%;
}

.security-carousel-wrap {
  width: 100%;
}

.security-carousel-focus-controls {
  display: none;
}

.security-copy {
  width: var(--security-expanded-width);
  min-width: var(--security-expanded-width);
  max-width: var(--security-expanded-width);
  margin-top: 1rem;
  margin-left: 0;
  text-align: left;
  min-height: 9.5rem;
}

.security-copy p {
  margin: 0;
  color: #131822;
  font-size: clamp(1rem, 1vw, 1.7rem);
  line-height: 1.45;
  text-align: left;
}

.security-link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.4rem;
  margin-top: 0.8rem;
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  text-align: left;
}

.security-link-arrow {
  display: block;
  flex-shrink: 0;
  filter: brightness(0) saturate(100%) invert(32%) sepia(18%) saturate(1876%) hue-rotate(234deg) brightness(92%) contrast(92%);
}

.section-future {
  background: #f5f5f5;
  text-align: center;
  padding-top: 6.75rem;
}

.future-card {
  position: relative;
  max-width: 100%;
  margin-inline: auto;
  padding: 6.75rem 2.25rem 2.5rem;
  background: #ffffff;
  border-radius: 26px;
  box-shadow: 0 8px 40px rgba(15, 19, 29, 0.08);
  color: #131822;
  line-height: 1.4;
}

.future-icon-wrap {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  pointer-events: none;
}

.future-icon-wrap img {
  width: clamp(112px, 12vw, 152px);
  display: block;
  opacity: 0;
  transform: scale(0.82) rotate(-8deg);
  transition: opacity 0.75s ease, transform 0.85s cubic-bezier(0.34, 1.45, 0.48, 1);
  transition-delay: 0.15s;
}

.future-card.is-visible .future-icon-wrap img {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.future-card h2 {
  font-size: clamp(1.45rem, 1.9vw + 0.65rem, 2.35rem);
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 1.5rem;
  color: #0f131d;
}

.future-card p {
  max-width: 590px;
  margin: 0 auto;
  color: #131822;
  font-size: clamp(0.8125rem, 0.95vw + 0.38rem, 1.2rem);
  font-weight: 400;
  line-height: 1.4;
}

.future-options {
  margin: 2.4rem auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 85%;
}

.future-option {
  aspect-ratio: 1 / 1;
  width: 100%;
  min-height: 9.25rem;
  border-radius: 14px;
  background: #e9ede6;
  color: #121316;
  text-decoration: none;
  text-align: left;
  padding: 1.1rem 1rem 0.95rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.65rem;
  box-sizing: border-box;
}

.future-option-text {
  font-size: clamp(0.9rem, 0.65vw + 0.58rem, 1rem);
  font-weight: 600;
  line-height: 1.3;
  align-self: flex-start;
  flex: initial;
  min-width: 0;
  max-width: 100%;
}

.future-option-arrow {
  align-self: flex-end;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #d5d9d2;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.future-option-arrow img {
  display: block;
  width: 15px;
  height: 15px;
  object-fit: contain;
  filter: brightness(0);
}

.future-cta {
  display: inline-flex;
  width: auto;
  max-width: none;
  padding: 0.9rem 2.35rem;
  font-size: 1rem;
  box-sizing: border-box;
}

@media (hover: hover) and (pointer: fine) {
  .btn:hover {
    transform: scale(1.03);
    box-shadow: 0 14px 24px #1f335c26;
  }

  .future-option:hover,
  .faq-items details:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px #10172714;
    transition: transform 0.3s ease-out, box-shadow 0.35s ease-out;
  }

  .security-slide-shell:hover .security-slide {
    filter: saturate(105%);
  }
}

.section-faq {
  background: #f5f5f5;
}

.link-underline {
  color: #644997;
  text-decoration: underline;
  font-weight: 700;
}

.faq-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  align-items: start;
  gap: 2.1rem;
  max-width: 100%;
}

.faq-layout h2 {
  font-size: clamp(2.2rem, 2.5vw, 3rem);
  line-height: 1.2;
  margin-top: 0.3rem;
  font-weight: 700;
}

.faq-items {
  display: grid;
  gap: 1rem;
}

.faq-items details {
  background: #ffffff;
  border-radius: 16px;
  padding: 1rem 1.15rem;
}

.faq-items details .faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.48s cubic-bezier(0.32, 0.72, 0, 1);
}

.faq-items details .faq-answer>* {
  min-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease 0.06s, transform 0.45s cubic-bezier(0.32, 0.72, 0, 1) 0.04s;
}

.faq-items details[open] .faq-answer {
  grid-template-rows: 1fr;
}

.faq-items details[open] .faq-answer>* {
  opacity: 1;
  transform: translateY(0);
}

.faq-items summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  font-size: clamp(1.55rem, 1.2vw, 2rem);
  line-height: 1.3;
  font-weight: 600;
  color: #11131a;
  list-style: none;
}

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

.faq-items summary::after {
  content: "";
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  background: url("./img/plus.svg") center / contain no-repeat;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: rotate(0deg);
  transform-origin: center;
  transition: transform 0.25s ease;
}

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

.faq-items .faq-answer p {
  margin: 0.85rem 0 0;
  color: #202531;
  font-size: 1.02rem;
  line-height: 1.55;
}

.faq-items details.is-reading {
  box-shadow: 0 10px 24px #11172514;
}

.site-footer {
  background: #050608;
  color: #f6f7fb;
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.4rem;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-column h3 {
  color: #b8bacf;
  margin: 0;
  font-size: 1.02rem;
  font-weight: 600;
}

.footer-column h3~h3 {
  margin-top: calc(1.8rem);
}

.footer-column a,
.footer-column p {
  display: block;
  margin: 0;
  color: #ffffff;
  font-size: 1.02rem;
}

.footer-column p {
  color: #cfd3dd;
}

.social-links {
  display: flex;
  gap: 0.7rem;
  margin-top: 0;
}

.social-links img {
  width: 34px;
}

.social-links a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-legal {
  margin-top: 1.8rem;
  padding-top: 1.1rem;
  font-size: 0.82rem;
  color: #d2d6de;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  text-align: center;
}

.footer-legal img {
  width: 82px;
  flex: 0 0 auto;
}

.footer-legal>div {
  flex: 0 1 auto;
  max-width: 56rem;
  text-align: start;
}

.footer-legal p {
  margin: 0.22rem 0;
  font-size: 0.7rem;
  line-height: 1.4;
}

.footer-legal a {
  color: inherit;
  text-decoration: underline;
}

/* —— Página Sobre a Guru —— */
.sobre-hero {
  position: relative;
  min-height: calc(100svh - 56px);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: clamp(2rem, 3.5vw, 3rem) 0 clamp(4.5rem, 7vw, 7rem);
  background-color: #ffffff;
  background-image:
    linear-gradient(rgba(100, 73, 151, 0.3), rgba(100, 73, 151, 0.3)),
    url("./img/img-section-1-sobre-a-guru.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 0 0 34px 34px;
  overflow: hidden;
  color: var(--white);
}

.sobre-hero-inner {
  width: min(var(--max-content), calc(100% - 2 * var(--page-gutter)));
  max-width: var(--max-content);
  margin-inline: auto;
}

.sobre-hero h1 {
  margin: 0;
  max-width: 18ch;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 5vw, 3.35rem);
  font-weight: 700;
  line-height: 1.08;
  color: var(--white);
}

.sobre-intro {
  background: var(--white);
  min-height: 100svh;
  padding: clamp(2rem, 5vh, 3rem) 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sobre-intro-inner {
  width: min(var(--max-content), calc(100% - 2 * var(--page-gutter)));
  max-width: var(--max-content);
  margin-inline: auto;
  flex: 0 1 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
  grid-template-rows: auto auto;
  column-gap: clamp(2.25rem, 4.5vw, 3.75rem);
  row-gap: clamp(1.25rem, 2.5vw, 1.75rem);
  align-items: stretch;
}

.sobre-intro-title {
  grid-column: 1 / -1;
  grid-row: 1;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3rem, 2.4vw + 0.85rem, 2.65rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--primary);
}

.sobre-intro-text {
  grid-column: 1;
  grid-row: 2;
  max-width: min(42rem, 100%);
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  color: #1f2430;
  font-size: clamp(1.2rem, 0.65vw + 0.84rem, 1.12rem);
  line-height: 1.58;
  font-family: var(--font-display);
}

.sobre-intro-text p {
  margin: 0;
}

.sobre-intro-visual {
  grid-column: 2;
  grid-row: 2;
  justify-self: end;
  align-self: stretch;
  width: min(100%, 400px);
  max-width: 400px;
  min-height: 0;
  height: 100%;
  border-radius: 0.9rem;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  box-shadow: 0 22px 50px rgba(100, 73, 151, 0.28);
}

.sobre-intro-visual img {
  width: 52%;
  max-width: 220px;
  min-width: 128px;
  height: auto;
}

/* Página Fale conosco */
.fale-contato {
  background: var(--bg);
  padding: clamp(6rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 6rem);
}

.fale-contato-inner {
  width: min(var(--max-content), calc(100% - 2 * var(--page-gutter)));
  max-width: var(--max-content);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: start;
}

.fale-contato-copy h1 {
  margin: 0 0 3rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 2.8vw + 1rem, 2.85rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}

.fale-contato-copy p {
  margin: 0;
  max-width: min(27rem, 100%);
  color: #2b3142;
  font-size: clamp(1.05rem, 0.5vw + 0.95rem, 1.15rem);
  line-height: 1.58;
  font-family: var(--font-display);
}

.sobre-stats {
  background: var(--bg);
  padding: clamp(3.5rem, 6vw, 5rem) 0;
}

.sobre-stats-inner {
  width: min(var(--max-content), calc(100% - 2 * var(--page-gutter)));
  max-width: var(--max-content);
  margin-inline: auto;
}

.sobre-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
}

.sobre-stats-grid .sobre-stat-card.reveal {
  transform: translate3d(0, 56px, 0);
  transition:
    opacity 0.78s ease-out,
    transform 0.78s cubic-bezier(0.25, 0.82, 0.35, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.sobre-stats-grid .sobre-stat-card.reveal.is-visible {
  transform: translate3d(0, 0, 0);
}

.sobre-stat-card {
  background: var(--white);
  border-radius: 20px;
  padding: clamp(1.75rem, 3vw, 2.25rem) clamp(1.5rem, 2.5vw, 2rem);
  box-shadow: 0 10px 30px rgba(17, 23, 37, 0.06);
}

.sobre-stat-card h3 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--primary);
}

.sobre-stat-card p {
  margin: 0;
  color: #2b3142;
  font-size: clamp(0.95rem, 1vw + 0.8rem, 1.05rem);
  line-height: 1.5;
  font-family: var(--font-display);
}

@media (max-width: 900px) {
  .sobre-intro {
    min-height: auto;
    justify-content: flex-start;
    padding: clamp(2.5rem, 6vw, 3.5rem) 0;
  }

  .sobre-intro-inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    align-items: stretch;
    row-gap: clamp(1.5rem, 4vw, 2rem);
  }

  .sobre-intro-title {
    grid-column: 1;
    grid-row: 1;
  }

  .sobre-intro-text {
    grid-column: 1;
    grid-row: 2;
    max-width: 42rem;
  }

  .sobre-intro-visual {
    grid-column: 1;
    grid-row: 3;
    justify-self: center;
    align-self: center;
    width: min(358px, 86vw);
    max-width: 358px;
    height: auto;
    aspect-ratio: 1;
    margin-inline: auto;
  }

  .sobre-intro-visual img {
    width: 50%;
    max-width: 180px;
    min-width: 120px;
  }

  .sobre-stats-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1080px) {
  :root {
    --security-expanded-width: 250px;
  }

  .site-header {
    padding-inline: 0;
  }

  .story-sticky {
    position: static;
  }

  .header-inner {
    flex-wrap: nowrap;
    justify-content: space-between;
    padding: 0.6rem 1.5rem;
    min-width: max-content;
  }

  .header-left {
    flex-wrap: nowrap;
    gap: 1.1rem;
  }

  .main-nav {
    gap: 1.15rem;
    font-size: 0.9rem;
  }

  .site-header .btn {
    padding: 0.58rem 1.2rem;
    font-size: 0.8rem;
  }

  .site-header {
    overflow-x: auto;
  }

  .hero-grid,
  .highlight-layout,
  .slider-layout,
  .footer-grid,
  .faq-layout,
  .fale-contato-inner {
    grid-template-columns: 1fr;
  }

  .footer-legal {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .footer-legal>div {
    max-width: 100%;
  }

  .hero,
  .sobre-hero {
    min-height: calc(100svh - 88px);
    padding-bottom: clamp(3.5rem, 7vw, 5rem);
    background-position: center;
    border-radius: 0 0 24px 24px;
  }

  .focus-track {
    position: relative;
    display: block;
    width: 680px;
    height: 440px;
    max-width: 100%;
    margin-inline: auto;
    overflow: visible;
  }

  .focus-card {
    position: absolute;
    left: 50%;
    top: 0;
    width: 272px;
    height: 382px;
    margin-top: 0;
    transform: translateX(-50%) translateY(24px);
  }

  .focus-carousel {
    justify-items: center;
  }

  .focus-controls {
    justify-content: center;
  }

  .image-slider {
    min-height: 360px;
  }

  .highlight-layout {
    grid-template-rows: auto;
    justify-items: center;
    row-gap: 1.35rem;
  }

  .highlight-copy {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
    max-width: 560px;
  }

  .highlight-image-wrap {
    grid-column: 1;
    grid-row: auto;
    align-self: center;
    width: 100%;
    max-width: min(300px, 88vw);
  }

  .highlight-btn {
    grid-column: 1;
    grid-row: auto;
    justify-self: center;
    width: 100%;
    max-width: min(300px, 88vw);
    box-sizing: border-box;
  }

  .security-carousel {
    min-height: 320px;
  }

  .security-slide-shell {
    flex: 1 1 84px;
    min-width: 72px;
  }

  .security-slide-shell.is-shell-expanded {
    flex: 0 0 var(--security-expanded-width);
    min-width: var(--security-expanded-width);
    max-width: var(--security-expanded-width);
  }

  .security-copy {
    width: var(--security-expanded-width);
    min-width: var(--security-expanded-width);
    max-width: var(--security-expanded-width);
  }

  .future-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .future-option {
    aspect-ratio: auto;
    min-height: 8.25rem;
  }
}

@media (max-width: 680px) {
  :root {
    --page-gutter: 0.75rem;
    --security-expanded-width: 170px;
  }

  .site-header .container,
  .hero .container,
  .sobre-hero-inner,
  .sobre-intro-inner,
  .sobre-stats-inner,
  .fale-contato-inner,
  .site-footer .container,
  main .section .container,
  .section-faq .container {
    width: calc(100% - 2 * var(--page-gutter));
    margin-inline: auto;
  }

  .site-header .container,
  .hero .container,
  .sobre-hero-inner,
  .sobre-intro-inner,
  .sobre-stats-inner,
  .fale-contato-inner,
  .site-footer .container {
    max-width: var(--max-content);
  }

  main .section .container,
  .section-faq .container {
    max-width: var(--section-content-max);
  }

  .section {
    padding: 3.3rem 0;
  }

  .main-nav {
    width: auto;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 0.8rem;
    font-size: 0.82rem;
  }

  .header-left {
    gap: 0.8rem;
  }

  .site-header .btn {
    padding: 0.5rem 0.9rem;
    font-size: 0.8rem;
  }

  .faq-items summary {
    font-size: clamp(1.25rem, 5vw, 1.6rem);
  }

  .sobre-hero {
    min-height: calc(100svh - 120px);
    padding-top: 3rem;
    padding-bottom: 2.6rem;
  }

  /* Home — menos zoom que “cover” (mostra mais cena), altura até o fim da tela */
  .hero {
    min-height: calc(100dvh - 4.35rem);
    min-height: calc(100svh - 4.35rem);
    padding: 1.35rem 0 2.35rem;
    background-color: white;
    background-image: linear-gradient(rgba(0, 0, 0, 0.26), rgba(0, 0, 0, 0.38)),
      url("./img/img-section-1.png");
    background-repeat: no-repeat;
    background-position: center 40%;
    background-size: auto 102%;
    background-color: #ffffff;
  }

  .hero-copy h1,
  .sobre-hero h1 {
    font-size: clamp(1.8rem, 8vw, 2.6rem);
  }

  .highlight-copy p {
    margin: 1.5rem 0 2rem;
  }

  /* Segurança (≤680px): uma imagem por vez, largura do container + focus-controls */
  .security-carousel-wrap {
    max-width: 100%;
  }

  .security-carousel-wrap .security-carousel {
    position: relative;
    display: block;
    width: 100%;
    min-height: 0;
    aspect-ratio: 308 / 440;
    max-height: 78vh;
    overflow: hidden;
    gap: 0;
  }

  /* Sobrepõe .media-reveal (opacity 1) para permitir fade entre slides */
  .security-carousel-wrap .security-slide-shell.media-reveal[data-media-reveal].is-media-visible {
    position: absolute;
    left: 0;
    top: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    flex: none !important;
    margin: 0;
    border-radius: 1.05rem;
    opacity: 0;
    transform: none;
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.48s ease;
  }

  .security-carousel-wrap .security-slide-shell .security-slide {
    min-height: 0;
    height: 100%;
    border-radius: 1.05rem;
    object-fit: cover;
    filter: saturate(90%);
    transition: filter 0.4s ease;
  }

  .security-carousel-wrap .security-slide-shell.is-shell-expanded.media-reveal[data-media-reveal].is-media-visible {
    opacity: 1;
    z-index: 2;
    pointer-events: auto;
  }

  .security-carousel-wrap .security-slide-shell.is-shell-expanded .security-slide {
    filter: saturate(100%);
  }

  .security-carousel-wrap~.security-copy {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-left: 0 !important;
    text-align: center;
  }

  .security-carousel-wrap~.security-copy p {
    text-align: center;
  }

  .security-carousel-wrap~.security-copy .security-link {
    justify-content: center;
    width: 100%;
    max-width: 100%;
  }

  .security-carousel-wrap .security-carousel-focus-controls {
    display: flex;
    margin-top: 0.65rem;
    justify-content: center;
    width: 100%;
  }

  .future-card {
    margin-top: 2.75rem;
    padding: 5rem clamp(1rem, 4vw, 1.5rem) 1.75rem;
    border-radius: 20px;
  }

  .future-options {
    grid-template-columns: 1fr;
  }

  .future-option {
    aspect-ratio: auto;
    min-height: 3.75rem;
    flex-direction: row;
    align-items: center;
  }

  /* Carrossel Soluções: só o card “central” visível, proporção 308×440 (como no desktop) */
  .focus-track {
    position: relative;
    display: block;
    width: min(358px, calc(100vw - 2 * var(--page-gutter)));
    max-width: 100%;
    margin-inline: auto;
    aspect-ratio: 308 / 440;
    height: auto;
    max-height: 78vh;
    overflow: hidden;
    padding: 0;
  }

  .focus-carousel .focus-card,
  .focus-carousel .focus-card.pos-center,
  .focus-carousel .focus-card.pos-left,
  .focus-carousel .focus-card.pos-right {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    transform: none !important;
    opacity: 0;
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.32s ease;
  }

  .focus-carousel .focus-card.is-focus {
    opacity: 1;
    z-index: 2;
    pointer-events: auto;
  }

  .focus-carousel .focus-card.is-fading:not(.is-focus) {
    opacity: 0 !important;
  }

  /* Troca de conteúdo no card visível: fade na face (imagem + overlay), não só no card */
  .focus-carousel .focus-card.is-focus .focus-card-face--front {
    transition: opacity 0.32s ease;
  }

  .focus-carousel .focus-card.is-focus.is-fading .focus-card-face--front {
    opacity: 0;
  }

  .focus-carousel .focus-card.is-focus.is-fading {
    opacity: 1 !important;
  }
}

/* Header compacto + “Acesso rápido” (telas ≤680px) */
@media (max-width: 680px) {
  body.is-nav-open {
    overflow: hidden;
  }

  .site-header {
    position: sticky;
    height: auto;
    overflow: visible;
    z-index: 40;
  }

  .header-left {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    min-width: 0;
    gap: 0;
  }

  .header-left .main-nav {
    display: none;
  }

  .header-inner {
    min-width: 0;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 0;
    width: 100%;
  }

  .site-header .header-inner>.btn,
  .site-header .header-primary-cta {
    flex: 1 1 auto;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 2.5rem;
    max-width: 225px;
    touch-action: manipulation;
    margin-inline: 0;
    justify-content: center;
  }

  .site-header .header-inner>.btn,
  .site-header .header-primary-cta,
  .nav-menu-toggle {
    height: 32px;
  }

  .nav-menu-toggle {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: transparent;
    color: var(--primary);
    cursor: pointer;
    touch-action: manipulation;
    transition: color 0.2s ease, opacity 0.2s ease;
    min-height: 2.75rem;
  }

  /* Painel por cima do hero/conteúdo — transição ao abrir/fechar */
  .acesso-rapido-panel {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 5;
    max-height: 0;
    margin: 0;
    padding-block: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translate3d(0, -12px, 0);
    pointer-events: none;
    box-shadow: none;
    border-top-color: transparent;
    border-radius: 0 0 1.1rem 1.1rem;
    transition:
      opacity 0.32s ease,
      transform 0.36s cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0.36s,
      max-height 0.38s cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 0.28s ease,
      border-top-color 0.2s ease,
      padding-block 0.32s ease;
  }

  .acesso-rapido-panel.is-acesso-panel-open {
    max-height: min(72vh, 28rem);
    padding-block: 0;
    overflow-y: auto;
    overflow-x: visible;
    opacity: 1;
    visibility: visible;
    transform: translate3d(0, 0, 0);
    pointer-events: auto;
    box-shadow: 0 14px 36px rgba(17, 23, 37, 0.16);
    border-top-color: rgba(100, 73, 151, 0.12);
  }

  .fale-form-success-card {
    gap: 0.75rem;
  }

  .fale-form-success-card p {
    width: 100%;
    max-width: none;
    font-size: 0.85rem;
  }

  .fale-form-success-actions {
    width: 100%;
    max-width: none;
  }

  .fale-form-success-actions .btn {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 680px) and (prefers-reduced-motion: reduce) {
  .acesso-rapido-panel {
    transition: none;
  }
}

/* Celulares estreitos (≤500px): só vale aqui; telas maiores permanecem como nos breakpoints acima */
@media (max-width: 500px) {
  :root {
    --page-gutter: 1rem;
  }

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

 

  .section-solutions h2 {
    font-size: clamp(1.6rem, 2.35vw + 0.75rem, 2.875rem);
  }

  .sobre-hero {
    min-height: calc(100svh - 6.5rem);
    padding: 1.5rem 0 2.25rem;
    border-radius: 0 0 1.25rem 1.25rem;
  }

  .hero {
    min-height: calc(100dvh - 3.5rem);
    min-height: calc(100svh - 3.5rem);
    padding: 1.1rem 0 1.9rem;
    border-radius: 0 0 1.25rem 1.25rem;
    background-position: 43%;
    background-color: white;
    background-size: cover;
  }

  .hero-grid {
    gap: 1.1rem;
  }

  .hero-copy h1,
  .sobre-hero h1 {
    font-size: clamp(1.55rem, 8.5vw, 2rem);
    line-height: 1.12;
    margin-bottom: 0.65rem;
  }

  /* Sobre — hero estilo mobile (referência Nubank): imagem + overlay escuro, título branco maior no canto inferior */
  .page-sobre .sobre-hero {
    align-items: flex-end;
    justify-content: flex-start;
    padding: 0 0 max(2.75rem, 12vh);
    min-height: calc(100dvh - 3.5rem);
    min-height: calc(100svh - 3.5rem);
    background-color: #ffffff;
    background-image:
      linear-gradient(rgba(100, 73, 151, 0.3), rgba(100, 73, 151, 0.3)),
      url("./img/img-section-1-sobre-a-guru.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
  }

  .page-sobre .sobre-hero-inner {
    width: 100%;
    max-width: none;
    margin-inline: 0;
    padding-inline: var(--page-gutter);
    box-sizing: border-box;
  }

  .page-sobre .sobre-hero h1 {
    max-width: 16ch;
    margin: 0;
    font-size: clamp(2.05rem, 10.5vw, 2.75rem);
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -0.035em;
    text-shadow: 0 0.15rem 1.75rem rgba(0, 0, 0, 0.45);
  }

  .hero-copy p {
    font-size: 0.94rem;
    line-height: 1.45;
  }

  .cpf-form,
  .fale-contato-form {
    padding: 1.25rem 1rem 1rem;
    border-radius: 1.5rem;
    gap: 0.75rem;
  }

  .cpf-form-title {
    font-size: 0.98rem;
    line-height: 1.4;
  }

  .cpf-form .btn,
  .fale-contato-form .btn {
    min-height: 2.75rem;
    touch-action: manipulation;
  }

  .section {
    padding-top: 2.6rem;
    padding-bottom: 0;
  }

  .section.section-faq {
    padding-bottom: 2.6rem!important;
  }

  .section-solutions>.container>p {
    margin-top: 0.75rem;
  }

  .highlight-layout {
    gap: 1.35rem;
  }

  .highlight-copy p {
    margin: 1.1rem 0 1.5rem;
  }

  .highlight-image-wrap {
    max-width: min(358px, 86vw);
  }

  .highlight-btn {
    max-width: min(280px, 88vw);
  }

  .highlight-image-parallax img {
    height: 32rem;
  }

  .slider-layout {
    gap: 0.85rem;
  }

  .chip-list {
    margin: 0.9rem 0 1.1rem;
    gap: 0.45rem;
  }

  .chip {
    padding: 0.38rem 0.68rem;
    font-size: 0.8rem;
  }

  .focus-track {
    width: 100%;
    max-width: 100%;
  }

  .image-slider {
    min-height: 15rem;
    border-radius: 1.1rem;
  }

  .security-carousel-wrap .security-carousel {
    max-height: min(70vh, 24rem);
  }

  .security-card h2 {
    margin-bottom: 1.25rem;
    font-size: clamp(1.8rem, 2.8vw, 3.3rem);
  }

  .section-future {
    padding-top: 2.6rem;
  }

  .future-card {
    margin-top: 2.1rem;
    padding: 5rem 1rem 1.5rem;
    border-radius: 1.15rem;
  }

  .future-options {
    margin: 1.35rem auto 1.5rem;
    max-width: 100%;
    gap: 0.6rem;
  }

  .future-option {
    padding: 0.85rem 0.7rem 0.7rem;
    min-height: 3.75rem;
    border-radius: 0.85rem;
  }

  .future-cta {
    padding: 0.65rem 1.35rem;
    font-size: 0.88rem;
    min-height: 2.75rem;
  }

  .faq-layout {
    gap: 1.15rem;
  }

  .faq-layout h2 {
    font-size: clamp(1.4rem, 7vw, 1.75rem);
    margin-top: 0;
    line-height: 1.2;
  }

  .faq-items {
    gap: 0.75rem;
  }

  .faq-items details {
    padding: 0.85rem 0.9rem;
    border-radius: 0.95rem;
  }

  .faq-items summary {
    font-size: 0.98rem;
    line-height: 1.35;
    gap: 0.6rem;
    min-height: 2.75rem;
    touch-action: manipulation;
  }

  .faq-items summary::after {
    width: 1.5rem;
    height: 1.5rem;
  }

  .faq-items .faq-answer p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .site-footer {
    padding: 2.1rem 0 1.15rem;
  }

  .footer-grid {
    gap: 1.5rem;
  }

  .footer-column {
    gap: 0.55rem;
  }

  .footer-column h3 {
    font-size: 0.94rem;
  }

  .footer-column h3~h3 {
    margin-top: 1.25rem;
  }

  .footer-column a,
  .footer-column p {
    font-size: 0.94rem;
    line-height: 1.45;
  }

  .footer-legal {
    padding-top: 0.9rem;
    gap: 0.65rem;
  }

  .footer-legal>div {
    text-align: center;
  }

  .sobre-intro {
    padding: 1.65rem 0 1.85rem;
  }

  .sobre-intro-title {
    font-size: clamp(1.55rem, 6.5vw, 2rem);
  }

  .sobre-intro-text {
    font-size: 0.94rem;
    line-height: 1.55;
  }

  .sobre-intro-visual {
    width: min(358px, 86vw);
  }

  .sobre-stat-card {
    padding: 1.3rem 1.05rem;
  }

  .sobre-stat-card h3 {
    font-size: clamp(1.35rem, 6vw, 1.75rem);
  }

  .fale-contato {
    padding: 2.25rem 0 2.75rem;
  }

  .fale-contato-inner {
    gap: 1.35rem;
  }

  .fale-contato-copy h1 {
    margin-bottom: 0.85rem;
    font-size: clamp(1.55rem, 7vw, 1.95rem);
  }

  .fale-contato-copy p {
    font-size: 0.94rem;
    line-height: 1.55;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .hero-copy,
  .cpf-form,
  .sobre-hero h1,
  body.is-loaded .sobre-hero h1 {
    opacity: 1;
    transform: none;
    transition: none;
    pointer-events: auto;
  }

  .faq-items details .faq-answer,
  .faq-items details .faq-answer>* {
    transition: none;
  }

  .faq-items details[open] .faq-answer>* {
    transform: none;
  }

  .media-reveal[data-media-reveal],
  .media-reveal[data-media-reveal].is-media-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .focus-card-media .focus-card-photo,
  .security-slide-shell .security-slide,
  .highlight-image-parallax img,
  .highlight-image-wrap.media-reveal.is-media-visible .highlight-image-parallax img {
    transform: none;
    filter: none;
    transition: none;
  }

  .future-icon-wrap img,
  .future-card.is-visible .future-icon-wrap img {
    opacity: 1;
    transform: none;
    transition: none;
  }

  body.page-fale-conosco .fale-contato-form,
  body.page-fale-conosco.is-loaded .fale-contato-form,
  .fale-contato-form .fale-form-field-reveal,
  body.page-fale-conosco.is-loaded .fale-contato-form .fale-form-field-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  @media (max-width: 680px) {
    .focus-carousel .focus-card.is-focus .focus-card-face--front,
    .focus-carousel .focus-card.is-focus.is-fading .focus-card-face--front {
      transition: none;
      opacity: 1;
    }

    .security-carousel-wrap .security-slide-shell.media-reveal[data-media-reveal].is-media-visible,
    .security-carousel-wrap .security-slide-shell.is-shell-expanded.media-reveal[data-media-reveal].is-media-visible {
      transition: none;
    }
  }
}