/* ==========================================================================
   GovernoCerto — paginas.css
   Seções específicas: institucional, planos, entrar, legais e 404.
   ========================================================================== */

[data-parallax] { translate: 0 var(--py, 0px); will-change: translate; }

/* ============================ HERO ============================ */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 56px) 0 110px;
  background: var(--navy-950); color: #fff;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__bg { width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; transform: scale(1.08); animation: heroZoom 14s var(--ease-out) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(4,18,44,.97) 0%, rgba(6,27,63,.9) 30%, rgba(6,27,63,.55) 58%, rgba(6,27,63,.18) 100%),
    linear-gradient(0deg, rgba(4,18,44,.95) 0%, rgba(4,18,44,0) 38%),
    linear-gradient(180deg, rgba(4,18,44,.7) 0%, rgba(4,18,44,0) 22%);
}
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; align-items: center; }
.hero__title { margin-top: 24px; font-size: clamp(2.45rem, 1.3rem + 3.2vw, 4.25rem); line-height: 1; max-width: 15ch; }
.hero__lead { margin-top: 26px; color: rgba(255,255,255,.8); max-width: 34em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 40px; font-size: .88rem; color: rgba(255,255,255,.78); }
.hero__trust li { display: inline-flex; align-items: center; gap: 9px; }
.hero__trust .ic { width: 20px; height: 20px; color: #9CC0FF; }
.hero__visual { position: relative; }
.hero__mock { position: relative; width: 100%; }
.hero__mock .frame { font-size: clamp(5.5px, 1.3cqi, 13.5px); }
@container (max-width: 560px) { .hero__mock .frame { font-size: clamp(8px, 2.85cqi, 12px); } }
.hero__note { margin-top: 18px; display: flex; justify-content: flex-start; }
.tilt { transform: perspective(1600px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .8s var(--ease-out); }

.float-card {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 12px; border-radius: 18px;
  background: rgba(255,255,255,.94); color: var(--ink); box-shadow: 0 24px 50px -20px rgba(0,0,0,.55);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  animation: flutuar 7s ease-in-out infinite;
}
.float-card small { display: block; font-size: .72rem; color: var(--ink-3); font-weight: 550; }
.float-card strong { display: block; font-family: var(--f-display); font-size: .92rem; font-weight: 750; color: var(--navy); letter-spacing: -.01em; white-space: nowrap; }
.float-card > .ic { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--gold-soft); color: var(--navy); }
.float-card--a { left: -4%; bottom: 10%; }
.float-card--b { right: 6%; top: -26px; animation-delay: -3.5s; }
.float-card__ring {
  position: relative; width: 46px; height: 46px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(var(--green) calc(var(--p) * 1%), var(--beige-200) 0);
}
.float-card__ring::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: #fff; }
.float-card__ring b { position: relative; font-size: .72rem; font-weight: 800; color: var(--green-ink); }
@keyframes flutuar { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.hero__scroll { position: absolute; left: 50%; bottom: 30px; width: 28px; height: 46px; margin-left: -14px; border-radius: 20px; border: 1.5px solid rgba(255,255,255,.4); display: none; }
.hero__scroll span { position: absolute; left: 50%; top: 9px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--gold); animation: rolar 2s var(--ease) infinite; }
@keyframes rolar { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(16px); opacity: 0; } 100% { opacity: 0; } }

@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: minmax(0, 5.4fr) minmax(0, 6.6fr); gap: 40px; }
  .hero__mock { width: 122%; }
  .hero__note { justify-content: flex-end; margin-right: -22%; }
  .hero__scroll { display: block; }
}
@media (max-width: 1023.98px) {
  .hero { min-height: auto; padding-bottom: 72px; }
  .hero__shade { background: linear-gradient(180deg, rgba(4,18,44,.75) 0%, rgba(6,27,63,.82) 45%, rgba(4,18,44,.98) 100%); }
  .float-card--b { display: none; }
  .float-card--a { left: 8px; bottom: -22px; }
  .hero__note { margin-top: 42px; }
}
@media (max-width: 560px) {
  .float-card { padding: 9px 14px 9px 9px; }
  .float-card strong { font-size: .82rem; }
  .float-card__ring { width: 38px; height: 38px; }
}
@media (max-width: 480px) {
  .btn--lg { width: 100%; white-space: normal; }
}

/* ============================ PLATAFORMA ============================ */
.plat { align-items: start; }
.plat__media { position: relative; margin: 0; overflow: hidden; border-radius: var(--r-lg); aspect-ratio: 4 / 3.4; box-shadow: var(--shadow); }
.plat__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.plat__cap {
  position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; align-items: center; gap: 16px;
  padding: 16px 18px; border-radius: 18px; color: #fff; font-size: .9rem; line-height: 1.4;
  background: rgba(6,27,63,.74); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.14);
}
.plat__cap small { color: rgba(255,255,255,.78); font-size: .74rem; }
.plat__cap-num { font-family: var(--f-display); font-weight: 800; font-size: 2.6rem; color: var(--gold); letter-spacing: -.045em; line-height: 1; }
.benefits { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: 40px; }
.benefit { position: relative; display: grid; gap: 14px; align-content: start; padding: 30px 0 26px; border-top: 1px solid var(--line-strong); }
.benefit__num { position: absolute; top: 30px; right: 0; font-family: var(--f-display); font-weight: 700; font-size: .85rem; color: var(--gold-deep); }
.benefit p { margin: 0; color: var(--ink-2); }
.benefit:hover .ic-tile { transform: translateY(-4px) rotate(-5deg); box-shadow: var(--shadow); }
@media (min-width: 640px) { .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .plat__media { grid-column: 1 / span 5; position: sticky; top: calc(var(--header-h) + 28px); aspect-ratio: 4 / 4.6; }
  .benefits { grid-column: 7 / span 6; }
}

/* ============================ MÓDULOS (grade) ============================ */
.modules-intro { overflow: hidden; }
.deco-ondas, .deco-mapa { position: absolute; inset: 0; pointer-events: none; }
.deco-ondas img, .deco-mapa img { width: 100%; height: 100%; object-fit: cover; }
.deco-ondas img { opacity: .38; }
.deco-ondas::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--navy-900) 0%, rgba(6,27,63,.55) 45%, var(--navy-900) 100%); }
.deco-ondas--soft img { opacity: .55; }
.deco-ondas--soft::after { background: linear-gradient(90deg, var(--navy-900) 0%, rgba(6,27,63,.75) 50%, rgba(6,27,63,.35) 100%); }
.section > .container { position: relative; }

.mod-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.mod-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 14px; height: 100%; min-height: 210px;
  padding: 22px 20px; border-radius: 20px; border: 1px solid var(--line-dark);
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.015));
  transition: transform .5s var(--ease-out), border-color .4s, background-color .4s;
}
.mod-card::before {
  content: ""; position: absolute; left: 50%; bottom: -60%; width: 120%; height: 80%; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(212,160,23,.28), transparent); opacity: 0; transition: opacity .5s;
}
.mod-card:hover { transform: translateY(-6px); border-color: rgba(212,160,23,.55); }
.mod-card:hover::before { opacity: 1; }
.mod-card:hover .ic-tile { transform: scale(1.06) rotate(-4deg); }
.mod-card strong { position: relative; font-family: var(--f-display); font-weight: 750; font-size: 1.06rem; line-height: 1.22; letter-spacing: -.015em; color: #fff; }
.mod-card__txt { position: relative; font-size: .87rem; line-height: 1.5; color: rgba(255,255,255,.68); }
.mod-card__num { position: absolute; top: 18px; right: 20px; font-family: var(--f-display); font-weight: 700; font-size: .82rem; color: var(--gold); }
.mod-extra { margin: 36px 0 0; text-align: center; color: rgba(255,255,255,.7); }
.mod-extra strong { color: #fff; font-weight: 650; }
@media (min-width: 768px) { .mod-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .mod-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; } .mod-card { min-height: 240px; } }
@media (max-width: 400px) { .mod-card { padding: 18px 16px; min-height: 0; } .mod-card .ic-tile { width: 46px; height: 46px; } }

/* ============================ CAPÍTULOS / FEATURES ============================ */
.chapter__head { display: flex; flex-direction: column; gap: 18px; margin-bottom: clamp(52px, 6vw, 100px); }
.chapter__title { font-size: clamp(2.7rem, 1.3rem + 5.6vw, 6rem); letter-spacing: -.045em; line-height: .95; }
.feature { align-items: center; row-gap: 44px; }
.feature + .feature, .photo-band + .feature, .feature + .photo-band { margin-top: clamp(90px, 10vw, 160px); }
.feature__copy .h3 { margin-top: 18px; font-size: clamp(1.65rem, 1.15rem + 1.7vw, 2.5rem); line-height: 1.08; letter-spacing: -.03em; }
.feature__copy .muted { margin-top: 18px; font-size: 1.04rem; }
.feature__copy .checklist { margin-top: 22px; }
.feature__visual { min-width: 0; }
@media (min-width: 1024px) {
  .feature__copy { grid-column: 1 / span 4; }
  .feature__visual { grid-column: 6 / span 7; }
  .feature--rev .feature__copy { grid-column: 9 / span 4; grid-row: 1; }
  .feature--rev .feature__visual { grid-column: 1 / span 7; grid-row: 1; }
}
.goals li { grid-template-columns: 7.5em 1fr 2.6em; }

/* Faixa fotográfica */
.photo-band { position: relative; margin: 0; overflow: hidden; border-radius: var(--r-lg); aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.photo-band img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; transition: transform 1.6s var(--ease-out); }
.photo-band.is-in img { transform: scale(1.03); }
.photo-band figcaption {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px;
  padding: clamp(24px, 4vw, 56px); color: #fff;
  background: linear-gradient(0deg, rgba(4,18,44,.92) 0%, rgba(4,18,44,.35) 55%, rgba(4,18,44,0) 80%);
}
.photo-band .eyebrow { color: var(--gold-300); }
.photo-band__quote { max-width: 24ch; font-family: var(--f-display); font-weight: 650; font-size: clamp(1.35rem, .95rem + 1.7vw, 2.4rem); line-height: 1.18; letter-spacing: -.02em; }
.photo-band__quote em { font-style: italic; color: var(--gold-300); }
@media (min-width: 768px) {
  .photo-band { aspect-ratio: 21 / 9; }
  .photo-band figcaption { justify-content: center; background: linear-gradient(90deg, rgba(4,18,44,.92) 0%, rgba(4,18,44,.55) 45%, rgba(4,18,44,0) 75%); }
}

/* ============================ ESCUTA E TERRITÓRIO ============================ */
.chapter--territorio { overflow: hidden; }
.deco-mapa img { opacity: .3; object-position: 80% 50%; }
.deco-mapa::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--navy-950) 0%, rgba(4,18,44,.6) 30%, rgba(4,18,44,.75) 70%, var(--navy-950) 100%); }
.cat-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.cat-list li { padding: 7px 13px; border-radius: var(--r-pill); font-size: .84rem; color: rgba(255,255,255,.86); border: 1px solid var(--line-dark-strong); background: rgba(255,255,255,.04); }
.survey__bars { margin-top: 30px; padding: 22px; border-radius: 20px; background: rgba(255,255,255,.05); border: 1px solid var(--line-dark); }
.survey__bars-title { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 14px; font-weight: 650; font-size: .92rem; }
.hbars li { display: grid; grid-template-columns: 6.6em minmax(0, 1fr) 2.6em; gap: 12px; align-items: center; padding: 6px 0; font-size: .88rem; color: rgba(255,255,255,.8); }
.hbars b { text-align: right; color: #fff; font-variant-numeric: tabular-nums; }
.hbar { height: 8px; border-radius: 99px; overflow: hidden; background: rgba(255,255,255,.1); }
.hbar i { display: block; width: var(--p); height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--gold), var(--gold-300)); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease-out); transition-delay: calc(var(--i) * 120ms + .25s); }
[data-draw].is-in .hbar i { transform: scaleX(1); }

.survey__visual { position: relative; }
.survey__photo { margin: 0; overflow: hidden; border-radius: var(--r-lg); aspect-ratio: 4 / 5; box-shadow: 0 40px 80px -40px rgba(0,0,0,.8); }
.survey__photo img { width: 100%; height: 100%; object-fit: cover; }
.survey__phone { position: relative; z-index: 2; display: flex; justify-content: center; margin-top: -170px; }
.survey__phone .phone { width: 250px; }
.survey__phone .phone__screen { font-size: 11.2px; }
.survey__qr { position: absolute; z-index: 3; top: 16px; right: 16px; }
.survey__qr .qr-card { width: 118px; padding: 10px; border-radius: 16px; }
@media (min-width: 1024px) {
  .survey .feature__copy { grid-column: 1 / span 5; }
  .survey .feature__visual { grid-column: 7 / span 6; }
  .survey__visual { min-height: 660px; }
  .survey__photo { width: 74%; margin-left: auto; }
  .survey__phone { position: absolute; left: 0; top: 16%; margin: 0; }
  .survey__phone .phone { width: 272px; }
  .survey__phone .phone__screen { font-size: 12.2px; }
  .survey__qr { top: auto; right: -14px; bottom: -30px; }
  .survey__qr .qr-card { width: 150px; padding: 14px; }
}

.territory { margin-top: clamp(100px, 11vw, 170px); }
.territory__copy { row-gap: 20px; align-items: end; }
.territory__intro .h3 { margin-top: 18px; font-size: clamp(1.65rem, 1.15rem + 1.7vw, 2.5rem); line-height: 1.08; letter-spacing: -.03em; }
.territory__text .checklist { margin-top: 18px; }
@media (min-width: 1024px) {
  .territory__intro { grid-column: 1 / span 6; }
  .territory__text { grid-column: 8 / span 5; }
}
.map-card {
  margin-top: 48px; padding: clamp(12px, 2vw, 24px); border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.03)); border: 1px solid var(--line-dark-strong);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 60px 120px -60px rgba(0,0,0,.9);
}
.map-card__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 6px 6px 18px; }
.map-card__title { display: flex; align-items: center; gap: 10px; font-weight: 650; }
.map-card__title .ic { width: 22px; height: 22px; color: #9CC0FF; }
.map-card__export { display: flex; gap: 8px; }
.map-card__export .mchip { font-size: .8rem; background: rgba(255,255,255,.06); color: rgba(255,255,255,.85); border-color: var(--line-dark); padding: 8px 12px; }
.map-card__export .ic { width: 15px; height: 15px; }
.segmented { display: flex; gap: 4px; padding: 4px; max-width: 100%; overflow-x: auto; border-radius: var(--r-pill); background: rgba(0,0,0,.28); border: 1px solid var(--line-dark); }
.segmented button { min-height: 44px; padding: 0 16px; border-radius: var(--r-pill); font-size: .86rem; font-weight: 600; color: rgba(255,255,255,.78); white-space: nowrap; transition: background-color .3s, color .3s; }
.segmented button:hover { color: #fff; }
.segmented button[aria-pressed="true"] { background: #fff; color: var(--navy); }
.map-card__body { display: grid; gap: 14px; }
.map-card .mapa-wrap { padding: clamp(8px, 1.5vw, 18px); border-radius: 20px; background: var(--beige); }
.map-legend { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: 20px; background: rgba(4,18,44,.55); border: 1px solid var(--line-dark); }
.map-legend__k { margin: 0; font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.map-legend__t { margin: 0; font-family: var(--f-display); font-weight: 750; font-size: 1.35rem; letter-spacing: -.02em; }
.map-legend__scale { display: flex; align-items: center; gap: 10px; font-size: .76rem; color: rgba(255,255,255,.65); }
.map-legend__scale i { flex: 1; height: 10px; border-radius: 99px; background: linear-gradient(90deg, rgba(15,157,118,.18), var(--green)); transition: background .5s; }
.map-legend[data-camada="atendimentos"] .map-legend__scale i { background: linear-gradient(90deg, rgba(46,123,255,.18), var(--blue)); }
.map-legend[data-camada="demandas"] .map-legend__scale i { background: linear-gradient(90deg, rgba(212,160,23,.18), var(--gold)); }
.map-legend__note { margin: 0; font-size: .86rem; color: rgba(255,255,255,.7); }
.map-legend .tag-ficticio { align-self: flex-start; margin-top: auto; }
@media (min-width: 1024px) { .map-card__body { grid-template-columns: minmax(0, 1fr) 270px; } }
@media (max-width: 640px) {
  .mapa__rotulo { display: none; }
  .segmented button { padding: 0 12px; font-size: .8rem; }
  .map-card__export { display: none; }
}

/* ============================ SEGURANÇA ============================ */
.security { overflow: hidden; }
.deco-glow { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(45% 35% at 85% 8%, rgba(46,123,255,.2), transparent 70%),
    radial-gradient(35% 30% at 5% 55%, rgba(212,160,23,.1), transparent 70%);
}
.deco-glow::after { content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent 80%); mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent 80%);
}
.pillars { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.pillar h3 { margin-top: 22px; }
.pillar p { margin: 10px 0 0; font-size: .95rem; color: rgba(255,255,255,.72); }
@media (min-width: 640px) { .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .pillars { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.sec-mocks { margin-top: clamp(70px, 8vw, 120px); row-gap: 70px; }
.sec-mock .h3 { margin: 14px 0 28px; }
@media (min-width: 1024px) { .sec-mock { grid-column: span 6 !important; } }
.sec-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 34px; margin-top: 60px; padding: 22px 28px; border-radius: 22px; border: 1px solid var(--line-dark); background: rgba(255,255,255,.03); color: rgba(255,255,255,.82); font-size: .92rem; }
.sec-strip li { display: inline-flex; align-items: center; gap: 10px; }
.sec-strip .ic { width: 20px; height: 20px; color: #9CC0FF; }
@media (max-width: 640px) { .sec-strip { flex-direction: column; align-items: flex-start; } }

/* ============================ NÚMEROS ============================ */
.numbers__head { max-width: 920px; }
.numbers__head .h2 { margin-top: 20px; }
.numbers__disclaimer { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 24px 0 0; font-size: .92rem; color: var(--ink-2); }
.numbers__grid { list-style: none; padding: 0; width: 100%; margin: clamp(48px, 6vw, 80px) auto 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 20px; justify-items: stretch; align-items: stretch; }
.num { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 14px; padding-top: 24px; text-align: center; border-top: 1px solid var(--line-strong); min-width: 0; }
.num__value { max-width: 100%; white-space: nowrap; font-family: var(--f-display); font-weight: 800; font-size: clamp(2rem, 1.2rem + 3.4vw, 4.6rem); line-height: .95; letter-spacing: -.045em; color: var(--gold-deep); font-variant-numeric: tabular-nums; }
.num__value small { margin-left: 2px; font-size: .42em; color: var(--ink-3); letter-spacing: -.02em; }
.num__label { max-width: 28ch; margin-inline: auto; font-size: .95rem; line-height: 1.45; color: var(--ink-2); }
@media (min-width: 1024px) { .numbers__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 44px 32px; } }

/* ============================ IMPLANTAÇÃO ============================ */
.steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.step { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 28px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .5s var(--ease-out), box-shadow .5s; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step__n { position: absolute; top: 18px; right: 22px; font-family: var(--f-display); font-weight: 800; font-size: 3.4rem; line-height: 1; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1px rgba(154,114,0,.55); }
.step p { margin: 0; color: var(--ink-2); }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ============================ PLANOS (chamada) ============================ */
.plans-teaser { overflow: hidden; }
.plans-teaser__inner { display: grid; gap: 44px; align-items: center; }
.plans-teaser .h2 { margin-top: 20px; }
.plans-teaser .lead { margin-top: 22px; }
.plans-teaser__card {
  display: flex; flex-direction: column; gap: 6px; width: 100%; max-width: 440px; padding: clamp(26px, 3vw, 38px); border-radius: 28px;
  background: rgba(255,255,255,.08); border: 1px solid var(--line-dark-strong);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: 0 50px 100px -50px rgba(0,0,0,.8);
}
.plans-teaser__from { font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.plans-teaser__price { font-family: var(--f-display); font-weight: 800; font-size: clamp(3rem, 2rem + 3vw, 4.8rem); line-height: 1; letter-spacing: -.045em; color: var(--gold); }
.plans-teaser__price small { font-size: .32em; font-weight: 650; letter-spacing: 0; color: rgba(255,255,255,.72); }
.plans-teaser__per { margin-bottom: 22px; color: rgba(255,255,255,.72); }
@media (min-width: 1024px) { .plans-teaser__inner { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); } .plans-teaser__card { justify-self: end; } }

/* ============================ FAQ ============================ */
.faq-wrap { align-items: start; }
.faq-wrap__head .h2 { margin-top: 20px; }
.faq-wrap__head .muted { margin-top: 20px; }
@media (min-width: 1024px) {
  .faq-wrap__head { grid-column: 1 / span 4; position: sticky; top: calc(var(--header-h) + 32px); }
  .faq-wrap .faq { grid-column: 6 / span 7; }
}

/* ============================ CTA FINAL ============================ */
.cta-final { position: relative; overflow: hidden; isolation: isolate; padding: clamp(110px, 12vw, 190px) 0; text-align: center; color: #fff; background: var(--navy-950); }
.cta-final__bg { position: absolute; inset: 0; z-index: -1; }
.cta-final__bg img { width: 100%; height: 100%; object-fit: cover; animation: respirar 16s ease-in-out infinite alternate; }
.cta-final__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 70% at 50% 50%, rgba(4,18,44,.62), rgba(4,18,44,.9)); }
@keyframes respirar { from { transform: scale(1); } to { transform: scale(1.08) translateX(-1.5%); } }
.cta-final__inner { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.cta-final__title { max-width: 13ch; font-size: clamp(2.6rem, 1.3rem + 5vw, 5.8rem); }
.cta-final .lead { margin: 0 auto; color: rgba(255,255,255,.84); }
.cta-final__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 12px; }

/* ============================ PLANOS (página) ============================ */
.p-hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + clamp(56px, 7vw, 110px)) 0 clamp(48px, 5vw, 72px); background: var(--beige); }
.p-hero::before { content: ""; position: absolute; right: -10%; top: -30%; width: 70%; height: 140%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(212,160,23,.14), transparent 70%); }
.p-hero__inner { position: relative; }
.p-hero .display { margin-top: 22px; max-width: 15ch; font-size: clamp(2.5rem, 1.3rem + 4.4vw, 5rem); color: var(--navy); }
.p-hero .lead { margin-top: 24px; }
.period { display: inline-flex; flex-wrap: wrap; gap: 4px; margin-top: 40px; padding: 5px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.period button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 52px; padding: 6px 18px; border-radius: 15px; font-weight: 650; font-size: .95rem; color: var(--navy); transition: background-color .3s, color .3s; }
.period button small { font-size: .7rem; font-weight: 650; color: var(--green-ink); }
.period button[aria-checked="true"] { background: var(--navy); color: #fff; }
.period button[aria-checked="true"] small { color: var(--gold-300); }
.period button:hover:not([aria-checked="true"]) { background: var(--beige); }
@media (max-width: 560px) { .period { display: grid; grid-template-columns: 1fr 1fr; width: 100%; } }

.plans { padding: 0 0 clamp(80px, 8vw, 130px); background: var(--beige); }
.plan-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: stretch; }
@media (min-width: 720px) { .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1180px) { .plan-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.plan { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 30px 26px; border-radius: 26px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .5s var(--ease-out), box-shadow .5s; }
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.plan__name { font-family: var(--f-display); font-weight: 800; font-size: 1.5rem; letter-spacing: -.03em; color: var(--navy); }
.plan__for { margin-top: 4px; font-size: .88rem; color: var(--ink-3); }
@media (min-width: 720px) { .plan__for { min-height: 2.9em; } }
.plan__price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.plan__value { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.4rem, 2rem + 1.2vw, 3rem); line-height: 1; letter-spacing: -.045em; color: var(--navy); font-variant-numeric: tabular-nums; }
.plan__value--consult { font-size: 2rem; }
.plan__unit { font-weight: 600; color: var(--ink-3); }
.plan__bill { min-height: 2.8em; font-size: .84rem; color: var(--ink-2); }
.plan__old { color: var(--ink-3); text-decoration: line-through; margin-right: 6px; }
.plan__sum { margin: 0; color: var(--ink-2); font-size: .95rem; }
.plan__limits { display: flex; flex-wrap: wrap; gap: 6px; }
.plan__limits li { padding: 5px 10px; border-radius: 99px; font-size: .76rem; font-weight: 650; color: var(--navy); background: var(--beige); }
.plan .checklist { font-size: .92rem; margin-top: -6px; }
.plan .btn { margin-top: auto; }
.plan--rec { color: #fff; background: linear-gradient(170deg, var(--navy) 0%, var(--navy-950) 100%); border-color: transparent; box-shadow: 0 40px 80px -36px rgba(6,27,63,.8); }
.plan--rec .plan__name, .plan--rec .plan__value { color: #fff; }
.plan--rec .plan__for, .plan--rec .plan__unit, .plan--rec .plan__old { color: rgba(255,255,255,.62); }
.plan--rec .plan__bill, .plan--rec .plan__sum { color: rgba(255,255,255,.78); }
.plan--rec .plan__limits li { color: #fff; background: rgba(255,255,255,.1); }
.plan--rec .checklist li::before { background-color: rgba(15,157,118,.25); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4L18 8' fill='none' stroke='%2367E0B5' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.plan__badge { position: absolute; top: -13px; left: 26px; padding: 6px 12px; border-radius: 99px; font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--navy-950); background: var(--gold); box-shadow: 0 8px 20px -8px rgba(212,160,23,.9); }
.plans__note { margin: 26px 0 0; font-size: .85rem; color: var(--ink-3); text-align: center; }

.cmp-sec { background: var(--paper); }
.cmp-tabs { display: none; }
.cmp-wrap { border-radius: 24px; border: 1px solid var(--line); background: #fff; overflow: hidden; box-shadow: var(--shadow-sm); }
.cmp { width: 100%; font-size: .94rem; }
.cmp th, .cmp td { padding: 16px 18px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.cmp thead th { position: sticky; top: var(--header-h); z-index: 2; background: #fff; font-family: var(--f-display); font-weight: 800; font-size: 1.05rem; color: var(--navy); letter-spacing: -.02em; }
.cmp thead th.is-rec { color: var(--navy); box-shadow: inset 0 3px 0 var(--gold); }
.cmp thead th:first-child { text-align: left; font-family: var(--f-text); font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.cmp tbody th { text-align: left; font-weight: 550; color: var(--ink); }
.cmp .cmp__group th { padding-top: 26px; background: #FAF8F3; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); }
.cmp td.is-rec { background: rgba(212,160,23,.05); }
.cmp-yes { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: var(--green-ink); background: var(--green-soft); }
.cmp-no { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: #9CA3AF; background: #F1EFEA; }
.cmp-yes .ic, .cmp-no .ic { width: 15px; height: 15px; }
.cmp-txt { font-size: .86rem; font-weight: 600; color: var(--navy); }
@media (max-width: 719.98px) {
  .cmp-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 14px; }
  .cmp-tabs button { flex: 1; min-height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line-strong); font-weight: 650; font-size: .86rem; color: var(--navy); background: #fff; white-space: nowrap; }
  .cmp-tabs button[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
  .cmp th, .cmp td { padding: 14px 12px; }
  .cmp [data-col] { display: none; }
  .cmp.ver-0 [data-col="0"], .cmp.ver-1 [data-col="1"], .cmp.ver-2 [data-col="2"], .cmp.ver-3 [data-col="3"] { display: table-cell; }
  .cmp thead th { position: static; }
  .cmp td { width: 40%; }
}

.incl { padding: clamp(70px, 7vw, 110px) 0; background: var(--navy-900); color: #fff; position: relative; overflow: hidden; }
.incl__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.incl__item { display: flex; gap: 16px; align-items: flex-start; }
.incl__item h3 { font-size: 1.05rem; }
.incl__item p { margin: 6px 0 0; font-size: .92rem; color: rgba(255,255,255,.7); }
@media (min-width: 720px) { .incl__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .incl__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Checkout (diálogo) */
.checkout { width: min(1080px, calc(100% - 32px)); max-width: none; max-height: calc(100% - 32px); padding: 0; border: 0; border-radius: 28px; background: var(--beige); color: var(--ink); box-shadow: 0 60px 140px -40px rgba(4,18,44,.7); overflow: hidden; }
.checkout::backdrop { background: rgba(4,18,44,.62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.checkout[open] { animation: abrirDialogo .5s var(--ease-out); }
@keyframes abrirDialogo { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
.checkout__shell { display: grid; grid-template-columns: minmax(0, 1fr); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow-y: auto; }
.checkout__main { padding: clamp(22px, 3.4vw, 44px); }
.checkout__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.checkout__head h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); color: var(--navy); margin-top: 10px; }
.checkout__close { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: var(--navy); border: 1px solid var(--line-strong); background: #fff; }
.checkout__close .ic { width: 20px; height: 20px; }
.ck-steps { display: flex; gap: 8px; margin: 22px 0 28px; }
.ck-steps li { flex: 1; display: flex; flex-direction: column; gap: 8px; font-size: .78rem; font-weight: 650; color: var(--ink-3); }
.ck-steps li::before { content: ""; height: 4px; border-radius: 4px; background: var(--beige-300); transition: background .4s; }
.ck-steps li.is-done::before, .ck-steps li.is-on::before { background: var(--navy); }
.ck-steps li.is-on { color: var(--navy); }
.ck-fieldset { border: 0; margin: 0 0 26px; padding: 0; }
.ck-fieldset legend { padding: 0; margin-bottom: 14px; font-family: var(--f-display); font-weight: 750; font-size: 1.1rem; color: var(--navy); letter-spacing: -.01em; }
.ck-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 640px) { .ck-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ck-grid .span-2 { grid-column: 1 / -1; } .ck-grid--uf { grid-template-columns: minmax(0, 1fr) 120px; } }
.pay-opts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
@media (min-width: 640px) { .pay-opts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pay-opt { position: relative; display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 14px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line-strong); cursor: pointer; font-weight: 650; color: var(--navy); transition: border-color .25s, box-shadow .25s; }
.pay-opt input { width: 18px; height: 18px; accent-color: var(--navy); }
.pay-opt:has(input:checked) { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(11,47,107,.12); }
.ck-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; margin-top: 8px; }
.ck-review { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; margin: 0 0 22px; border-radius: 18px; background: #fff; border: 1px solid var(--line); overflow: hidden; }
.ck-review div { display: grid; grid-template-columns: 11em minmax(0, 1fr); gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--line); font-size: .92rem; }
.ck-review div:last-child { border-bottom: 0; }
.ck-review dt { color: var(--ink-3); }
.ck-review dd { margin: 0; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
@media (max-width: 480px) { .ck-review div { grid-template-columns: 1fr; gap: 2px; } }
.ck-done { text-align: center; padding: 20px 0; }
.ck-done__icon { width: 84px; height: 84px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--green-ink); box-shadow: 0 0 0 12px rgba(15,157,118,.14); animation: pop .7s var(--ease-out); }
.ck-done__icon .ic { width: 40px; height: 40px; }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.08); } 100% { transform: scale(1); opacity: 1; } }
.ck-done h3 { font-size: 1.8rem; color: var(--navy); }
.ck-done p { max-width: 44ch; margin: 14px auto 0; color: var(--ink-2); }
.ck-done .alert { text-align: left; margin: 22px auto 0; max-width: 520px; }
.ck-done__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }

.checkout__aside { padding: clamp(22px, 3vw, 36px); color: #fff; background: linear-gradient(170deg, var(--navy) 0%, var(--navy-950) 100%); position: relative; overflow: hidden; }
.checkout__aside::after { content: ""; position: absolute; right: -40%; bottom: -30%; width: 90%; height: 70%; background: radial-gradient(closest-side, rgba(212,160,23,.25), transparent); pointer-events: none; }
.summary { position: relative; display: flex; flex-direction: column; gap: 16px; }
.summary .eyebrow { color: rgba(255,255,255,.75); }
.summary .field > label { color: rgba(255,255,255,.85); }
.summary .select { background-color: rgba(255,255,255,.08); color: #fff; border-color: var(--line-dark-strong); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.summary .select option { color: var(--ink); }
.summary__lines { display: flex; flex-direction: column; gap: 10px; padding: 18px 0; border-block: 1px solid var(--line-dark); font-size: .92rem; }
.summary__lines div { display: flex; justify-content: space-between; gap: 12px; color: rgba(255,255,255,.78); }
.summary__lines b { color: #fff; font-weight: 650; text-align: right; }
.summary__lines .is-disc b { color: #67E0B5; }
.summary__total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.summary__total span { color: rgba(255,255,255,.78); }
.summary__total strong { font-family: var(--f-display); font-weight: 800; font-size: 2rem; letter-spacing: -.04em; color: var(--gold); }
.summary__note { margin: 0; font-size: .8rem; color: rgba(255,255,255,.6); }
.summary__secure { display: flex; gap: 10px; align-items: flex-start; font-size: .82rem; color: rgba(255,255,255,.72); }
.summary__secure .ic { width: 20px; height: 20px; color: #9CC0FF; }
@media (min-width: 900px) {
  .checkout__shell { grid-template-columns: minmax(0, 1fr) 340px; overflow: hidden; }
  .checkout__main { overflow-y: auto; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); }
}
@media (max-width: 560px) {
  .checkout { width: 100%; max-height: 100%; height: 100%; border-radius: 0; margin: 0; }
  .checkout__shell { max-height: 100dvh; }
}

/* ============================ ENTRAR ============================ */
.auth { display: grid; grid-template-columns: minmax(0, 1fr); min-height: 100vh; min-height: 100svh; background: var(--beige); }
.auth__side { position: relative; overflow: hidden; isolation: isolate; display: none; color: #fff; background: var(--navy-950); }
.auth__side img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.auth__side::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4,18,44,.45) 0%, rgba(4,18,44,.55) 30%, rgba(4,18,44,.94) 58%, rgba(4,18,44,.98) 100%), linear-gradient(90deg, rgba(4,18,44,.45), transparent); }
.auth__side-inner { height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: 40px clamp(32px, 4vw, 64px) 48px; }
.auth__side .brand__word { color: #fff; }
.auth__quote { font-family: var(--f-display); font-weight: 750; font-size: clamp(2rem, 1.2rem + 2.2vw, 3.3rem); line-height: 1.05; letter-spacing: -.035em; max-width: 14ch; }
.auth__quote em { font-style: italic; color: var(--gold); }
.auth__points { display: grid; gap: 12px; margin-top: 28px; font-size: .95rem; color: rgba(255,255,255,.82); }
.auth__points li { display: flex; gap: 12px; align-items: center; }
.auth__points .ic { width: 22px; height: 22px; color: #9CC0FF; }
.auth__main { display: flex; flex-direction: column; min-width: 0; }
.auth__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px var(--gutter); }
.auth__top .brand__word { color: var(--navy); }
.auth__top .brand__word b { color: var(--gold-deep); }
.auth__back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 6px; font-size: .9rem; font-weight: 600; color: var(--navy); }
.auth__back .ic { width: 18px; height: 18px; }
.auth__center { flex: 1; display: grid; place-items: center; padding: 12px var(--gutter) 48px; }
.auth-card { width: 100%; max-width: 460px; }
.auth-view { display: none; }
.auth-view.is-active { display: block; animation: entrarVista .55s var(--ease-out); }
@keyframes entrarVista { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.auth-view__icon { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; color: var(--navy); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); margin-bottom: 22px; }
.auth-view__icon .ic { width: 28px; height: 28px; }
.auth-view h1 { font-size: clamp(1.9rem, 1.5rem + 1.4vw, 2.6rem); color: var(--navy); letter-spacing: -.035em; }
.auth-view .lead { margin-top: 12px; font-size: 1rem; }
.auth-form { display: grid; gap: 18px; margin-top: 30px; }
.auth-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.auth-row a, .auth-link { font-size: .9rem; font-weight: 600; color: var(--blue-ink); }
.auth-row a:hover, .auth-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.auth-alt { display: grid; gap: 10px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line-strong); }
.auth-alt a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 0 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); font-weight: 600; color: var(--navy); transition: border-color .25s, transform .3s var(--ease-out); }
.auth-alt a:hover { border-color: var(--navy); transform: translateX(3px); }
.auth-alt a span { display: flex; align-items: center; gap: 12px; }
.auth-alt .ic { width: 20px; height: 20px; }
.auth-foot { display: flex; gap: 10px; align-items: flex-start; margin-top: 26px; font-size: .82rem; color: var(--ink-3); }
.auth-foot .ic { width: 18px; height: 18px; color: var(--green-ink); --ic-accent: var(--green-ink); margin-top: 1px; }
.otp { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.otp input { width: 100%; min-width: 0; height: 62px; text-align: center; font-family: var(--f-display); font-size: 1.6rem; font-weight: 800; color: var(--navy); border-radius: 14px; border: 1px solid var(--line-strong); background: #fff; transition: border-color .2s, box-shadow .25s, transform .2s; }
.otp input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(46,123,255,.18); transform: translateY(-2px); }
.otp input.is-filled { border-color: var(--navy); }
.otp.is-invalid input { border-color: var(--danger); animation: tremer .4s; }
@keyframes tremer { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.strength { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.strength i { height: 5px; border-radius: 5px; background: var(--beige-300); transition: background .3s; }
.strength[data-n="1"] i:nth-child(-n+1) { background: var(--danger); }
.strength[data-n="2"] i:nth-child(-n+2) { background: var(--gold); }
.strength[data-n="3"] i:nth-child(-n+3) { background: var(--blue); }
.strength[data-n="4"] i { background: var(--green); }
.rules { display: grid; gap: 6px; font-size: .82rem; color: var(--ink-3); }
.rules li { display: flex; align-items: center; gap: 8px; }
.rules li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--beige-300); transition: background .3s; }
.rules li.is-ok { color: var(--green-ink); }
.rules li.is-ok::before { background: var(--green); }
.invite { display: flex; gap: 14px; align-items: center; margin-top: 24px; padding: 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.invite .ava { width: 48px; height: 48px; font-size: .95rem; }
.invite strong { display: block; color: var(--navy); font-family: var(--f-display); font-size: 1.05rem; }
.invite small { display: block; color: var(--ink-3); font-size: .84rem; }
.resend { font-size: .88rem; color: var(--ink-3); }
.resend button { font-weight: 650; color: var(--blue-ink); min-height: 44px; }
.resend button[disabled] { color: var(--ink-3); cursor: default; }
@media (min-width: 1024px) {
  .auth { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
  .auth__side { display: block; }
  .auth__top .brand { visibility: hidden; }
}

/* ============================ LEGAIS ============================ */
.legal-hero { padding: calc(var(--header-h) + clamp(48px, 6vw, 90px)) 0 clamp(36px, 4vw, 56px); background: var(--beige); }
.legal-hero h1 { margin-top: 20px; font-size: clamp(2.3rem, 1.4rem + 3.4vw, 4.2rem); color: var(--navy); }
.legal-hero p { margin-top: 18px; color: var(--ink-2); }
.minuta { display: flex; gap: 14px; align-items: flex-start; margin-top: 28px; padding: 18px 20px; border-radius: 18px; background: #FBF1D3; border: 1px dashed rgba(154,114,0,.6); color: #5C4300; font-size: .95rem; }
.minuta strong { display: block; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.minuta .ic { width: 24px; height: 24px; flex: none; color: #8A6400; --ic-accent: #8A6400; }
.legal { padding: clamp(40px, 5vw, 80px) 0 clamp(80px, 8vw, 130px); background: var(--paper); }
.legal__grid { align-items: start; }
.legal__toc { font-size: .9rem; }
.legal__toc p { margin-bottom: 12px; font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
.legal__toc ol { display: grid; gap: 2px; counter-reset: toc; }
.legal__toc a { display: block; padding: 7px 0; color: var(--ink-2); border-left: 2px solid transparent; padding-left: 12px; }
.legal__toc a:hover { color: var(--navy); border-left-color: var(--gold); }
.legal__body { max-width: 72ch; color: var(--ink-2); font-size: 1.02rem; }
.legal__body h2 { margin: 48px 0 14px; font-size: 1.45rem; color: var(--navy); letter-spacing: -.02em; }
.legal__body h2:first-child { margin-top: 0; }
.legal__body ul { margin: 0 0 1em; padding-left: 1.2em; list-style: disc; }
.legal__body li { margin: 6px 0; }
.legal__body .ph { padding: 1px 6px; border-radius: 6px; background: var(--gold-soft); color: #5C4300; font-weight: 600; font-size: .92em; }
@media (min-width: 1024px) {
  .legal__toc { grid-column: 1 / span 3; position: sticky; top: calc(var(--header-h) + 32px); }
  .legal__body { grid-column: 5 / span 8; }
}

/* ============================ 404 ============================ */
.nf { position: relative; overflow: hidden; isolation: isolate; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: calc(var(--header-h) + 40px) 0 80px; color: #fff; background: var(--navy-950); text-align: center; }
.nf__bg { position: absolute; inset: 0; z-index: -1; }
.nf__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.nf__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at 50% 50%, rgba(4,18,44,.5), var(--navy-950)); }
.nf__code { font-family: var(--f-display); font-weight: 800; font-size: clamp(7rem, 4rem + 18vw, 17rem); line-height: .85; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 2px var(--gold); }
.nf h1 { margin-top: 18px; font-size: clamp(2rem, 1.4rem + 2.6vw, 3.4rem); }
.nf p { margin: 16px auto 0; max-width: 40ch; color: rgba(255,255,255,.78); }
.nf__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.nf__pin { display: inline-block; position: relative; width: 18px; height: 18px; margin: 0 6px; vertical-align: middle; }
.nf__pin::before, .nf__pin::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--gold); }
.nf__pin::after { animation: anel 2s var(--ease-out) infinite; }

/* ---------- Login com Google e boas-vindas ---------- */
.gbox { margin-top: 28px; }
.gbtn { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 56px; padding: 0 22px; border-radius: 14px; background: #fff; color: #1F1F1F; border: 1px solid #747775; font: 600 1rem/1 var(--font-body, Inter, sans-serif); cursor: pointer; transition: background .25s, box-shadow .25s, transform .3s var(--ease-out); }
.gbtn:hover { background: #F8FAFD; box-shadow: 0 6px 16px -8px rgba(11,47,107,.35); transform: translateY(-2px); }
.gbtn:active { transform: scale(.98); }
.gbtn:focus-visible { outline: 3px solid var(--gold, #D4A017); outline-offset: 3px; }
.gbtn.is-loading { opacity: .7; pointer-events: none; }
.gbtn.is-loading .gbtn__g { animation: gbtnGira 1s linear infinite; }
@keyframes gbtnGira { to { transform: rotate(360deg); } }
.gbox__msg { margin-top: 12px; padding: 12px 14px; border-radius: 12px; font-size: .9rem; line-height: 1.45; background: #FBF1D3; border: 1px solid rgba(212,160,23,.4); color: #5C4300; }
.gbox__msg[hidden] { display: none; }
.auth-ou { display: flex; align-items: center; gap: 14px; margin-top: 24px; font-size: .85rem; color: var(--ink-3); }
.auth-ou::before, .auth-ou::after { content: ""; flex: 1; height: 1px; background: var(--line-strong); }
.auth-form--apos { margin-top: 20px; }
.perfil { margin-bottom: 22px; }
.perfil__foto { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; overflow: hidden; background: linear-gradient(135deg, #3A5585, var(--navy)); color: #fff; font: 800 1.6rem/1 Manrope, sans-serif; border: 3px solid #fff; box-shadow: var(--shadow-sm); }
.perfil__foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
