@import url("../../../css/botoes.css");

/* MANUTENÇÃO DO ARQUIVO: loja/curso-conserto-celulares-tablets/assets/style.css
   Estilos exclusivos da página de venda do curso.
   Bloco 08: autor e garantia. Bloco 13: pagamento oculto até o clique. A altura mínima usa o cabeçalho medido por page.js. */

/* 01. Fundação: paleta quente da MBCriativo, largura total e acessibilidade. */
@font-face {
  font-family: Montserrat;
  src: url('/fonts/montserrat-400.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Montserrat;
  src: url('/fonts/montserrat-700.ttf') format('truetype');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: Montserrat;
  src: url('/fonts/montserrat-800.ttf') format('truetype');
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  /* Alias de superfície e texto preservam os componentes e o Fit to Viewport. */
  --black: #FFF9F2;
  --surface: #FFFFFF;
  --surface-strong: #FFF0E3;
  --white: #171313;
  --muted: #625149;
  --red: #e50914;
  --orange: #ff6b19;
  --orange-hover: #F05A0A;
  --amber: #A73900;
  --rose: #E50914;
  --line: #E5D6CA;
  /* Fallback sem JavaScript; page.js atualiza a altura real do cabeçalho. */
  --header-height: 73px;
  --viewport-height: 100vh;
  --section-viewport: max(0px, calc(var(--viewport-height) - var(--header-height)));
  --section-space: clamp(1.5rem, 4vh, 4rem);
}

/* svh mantém o enquadramento estável quando a barra do navegador móvel recolhe. */
@supports (height: 100svh) {
  :root { --viewport-height: 100svh; --section-space: clamp(1.5rem, 4svh, 4rem); }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-block-start: var(--header-height); }
body { margin: 0; background: var(--black); color: var(--white); font-family: Montserrat, Arial, sans-serif; line-height: 1.6; }
button, input, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
/* O afastamento do cabeçalho é aplicado uma única vez, no scroll-padding do documento. */
main, section[id] { scroll-margin-block-start: 0; }
main:focus, section[tabindex='-1']:focus { outline: none; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 4px; }
::selection { background: var(--orange); color: #171313; }
.site-shell { width: min(100%, 1200px); margin-inline: auto; background: var(--black); box-shadow: 0 0 64px rgba(69, 34, 20, 0.140); }
.container { width: calc(100% - clamp(2rem, 4vw, 3rem)); min-width: 0; margin-inline: auto; }
.container > *, .benefit > div, .contact-email > span { min-width: 0; }
.skip-link { position: absolute; top: -100px; left: 12px; z-index: 100; padding: 8px 12px; background: #FFFFFF; color: #171313; }
.skip-link:focus { top: 12px; }
.eyebrow { margin: 0 0 12px; color: var(--amber); font-size: .72rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h2 { margin: 0 0 16px; font-size: clamp(1.7rem, 4vw, 2.8rem); line-height: 1.17; letter-spacing: -.04em; }

/* 02. Cabeçalho: navegação destacada, visível durante a rolagem. */
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid #E50914; background: #E50914; box-shadow: 0 12px 30px rgba(69, 34, 20, 0.100); backdrop-filter: blur(16px);
    color: #FFFFFF;
}
.header-inner { display: flex; align-items: center; gap: 12px; min-height: 72px; }
.brand { flex: 0 0 auto; width: 142px; }
.brand img { width: 100%; height: auto;
    filter: brightness(0) invert(1);
}
.desktop-nav { display: none; }
.header-inner > .button { display: none;
    background: #FF6B19;
    color: #171313;
}
.mobile-nav { margin-left: auto; position: relative; }
.mobile-nav summary { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid #E5D6CA; border-radius: 10px; color: #FFFFFF; background: #B80711; cursor: pointer; font-size: .86rem; font-weight: 800; list-style: none;
    border-color: #FFFFFF99;
}
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav[open] summary { border-color: #FFFFFF; color: #FFFFFF; }
.mobile-nav nav { position: absolute; top: calc(100% + 8px); right: 0; width: min(260px, calc(100vw - 32px)); max-height: calc(var(--section-viewport) - 16px); overflow-y: auto; overscroll-behavior: contain; display: grid; gap: 4px; padding: 10px; border: 1px solid #E5D6CA; border-radius: 13px; background: #FFFFFF; box-shadow: 0 18px 30px rgba(69, 34, 20, 0.160);
    color: #171313;
}
.mobile-nav nav a { padding: 10px 12px; border-radius: 8px; font-size: .9rem; font-weight: 700; }
.mobile-nav nav a:hover, .mobile-nav nav a[aria-current='location'] { color: #B80711; background: #FFF0E3; }
.mobile-nav nav .mobile-buy-link { margin-top: 5px; color: #171313; background: var(--orange); text-align: center; }
.mobile-nav nav .mobile-buy-link:hover { background: var(--orange-hover); }

/* 03. Botões e estados compartilhados. */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 12px 20px; border: 0; border-radius: 10px; cursor: pointer; font-size: .86rem; font-weight: 800; line-height: 1.25; text-align: center; transition: transform .2s, background-color .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--orange); color: #171313; box-shadow: 0 10px 24px rgba(69, 34, 20, 0.066); }
.button-primary:hover { background: var(--orange-hover); box-shadow: 0 14px 28px rgba(69, 34, 20, 0.094); }
.button-secondary { border: 1px solid #E5D6CA; background: #FFFAF4; color: #171313; }
.button-secondary:hover { background: #FFFAF4; }
.button-small { min-height: 39px; padding: 8px 15px; font-size: .76rem; }
.header-inner > .button { border: 1px solid #E5D6CA; background: #FF6B19; color: #171313; box-shadow: 0 8px 24px rgba(69, 34, 20, 0.069); }
.header-inner > .button:hover { background: #F05A0A; box-shadow: 0 12px 28px rgba(69, 34, 20, 0.100); }
.text-link { display: inline-block; color: var(--amber); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }

/* 04. Hero: fotografia original, vídeo sob demanda e CTA principal. */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); align-content: center; min-block-size: var(--section-viewport); background: #FFFAF4; }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, #fffaf4ed 0%, #fffaf4f5 56%, #fff9f2 100%), url('hero-repair.webp') center / cover; }
.hero-inner { position: relative; z-index: 1; padding-block: var(--section-space); text-align: center; }
.hero h1 { max-width: 930px; margin: 0 auto 16px; font-size: clamp(2rem, 7vw, 4.4rem); line-height: 1.07; font-weight: 800; letter-spacing: -.065em; text-transform: uppercase; }
.hero h1 em { color: #E50914; font-style: normal; }
.hero-lead { max-width: 760px; margin: 0 auto 26px; color: #625149; font-size: clamp(.92rem, 2vw, 1.12rem); }
.video-shell { width: min(850px, 100%, max(280px, calc(var(--section-viewport) * .72))); aspect-ratio: 16 / 9; margin: 0 auto; overflow: hidden; border: 2px solid rgba(229, 9, 20, 0.49); border-radius: 18px; background: #FFFAF4; box-shadow: 0 28px 65px rgba(69, 34, 20, 0.160), 0 0 40px rgba(69, 34, 20, 0.038); }
.video-trigger { display: flex; width: 100%; height: 100%; flex-direction: column; align-items: center; justify-content: center; gap: 7px; border: 0; color: #FFFFFF; background: linear-gradient(0deg, #1a0b0dd9, #1a0b0d50), url('hero-repair.webp') center / cover; cursor: pointer; text-align: center; }
.video-trigger:hover .play-icon { transform: scale(1.08); background: #E50914; }
.play-icon { display: grid; place-items: center; width: 72px; height: 52px; border-radius: 14px; background: #E50914; font-size: 1.55rem; padding-left: 4px; transition: transform .2s, background-color .2s; }
.video-trigger strong { padding: 0 8px; font-size: clamp(.85rem, 2vw, 1.15rem); text-shadow: 0 2px 6px #000000; }
.video-trigger small { color: #FFFFFF; font-size: .68rem; text-shadow: 0 2px 6px rgba(69, 34, 20, 0.160); }
.video-shell iframe { display: block; width: 100%; height: 100%; border: 0; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(1rem, 3vh, 26px); }
.hero-actions .button { min-width: min(190px, 100%); }
.hero-note { margin: 14px auto 0; color: #625149; font-size: .78rem; }

/* 05. Dados do curso: cartões com cores próprias e contraste consistente. */
.facts-band { padding-block: 34px; border-block: 1px solid rgba(229, 9, 20, 0.30); background: linear-gradient(120deg, #FFF0E3, #FFF9F2); }
.facts-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.fact-card { --fact-color: var(--orange); position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-height: 140px; padding: 17px 18px; overflow: hidden; border: 1px solid #E5D6CA; border-radius: 16px; background: #FFFFFF; box-shadow: 0 12px 28px rgba(69, 34, 20, 0.080); }
.fact-card::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--fact-color); }
.fact-card:nth-child(2) { --fact-color: var(--amber); }
.fact-card:nth-child(3) { --fact-color: var(--rose); }
.fact-card:nth-child(4) { --fact-color: #ffa452; }
.fact-card svg { width: 28px; height: 28px; margin-bottom: 10px; color: var(--fact-color); }
.fact-card strong { color: #E50914; font-size: clamp(1.55rem, 3vw, 2rem); line-height: 1.15; font-weight: 800; letter-spacing: -.04em; }
.fact-card span { margin-top: 5px; color: #171313; font-size: .82rem; font-weight: 700; line-height: 1.35; }

/* Enquadramento: altura mínima, nunca altura fixa. FAQ aberto e formulários podem crescer. */
.section { padding-block: var(--section-space); }
.section[id] {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  min-block-size: var(--section-viewport);
}

/* Benefícios: espaçamento flexível sem diminuir a legibilidade dos textos. */
.two-column { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(1.25rem, 3vw, 30px); }
.section-copy { max-width: 590px; color: var(--muted); font-size: 1rem; }
.benefit-stack { display: grid; gap: 12px; }
.benefit { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border: 1px solid var(--line); border-radius: 15px; background: linear-gradient(110deg, #FFFAF4, #FFFAF4); }
.benefit-icon { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 auto; border-radius: 9px; background: #FFFAF4; color: var(--amber); font-size: .85rem; font-weight: 800; }
.benefit h3 { margin: 0 0 4px; font-size: .95rem; }
.benefit p { margin: 0; color: var(--muted); font-size: .85rem; }

/* 06. Vantagens declaradas pelo produtor. */
.advantages-section { background: radial-gradient(circle at 90% 0%, rgba(229, 9, 20, 0.12), transparent 35%), #FFFAF4; }
.advantages-section .section-heading p:last-child { color: var(--muted); }
.advantages-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(.75rem, 2vw, 1rem); margin: 0; padding: 0; list-style: none; }
.advantages-list li { padding: clamp(1rem, 2vw, 24px); border: 1px solid #E5D6CA; border-top: 4px solid var(--red); border-radius: 16px; background: #FFFFFF; box-shadow: 0 16px 30px rgba(69, 34, 20, 0.060); }
.advantages-list li:nth-child(2) { border-top-color: var(--orange); }
.advantages-list li:nth-child(3) { border-top-color: var(--amber); }
.advantages-list span { display: inline-flex; margin-bottom: 18px; color: var(--amber); font-size: 1.55rem; font-weight: 800; line-height: 1; }
.advantages-list p { margin: 0; color: #171313; font-size: .94rem; }

/* 07. Programa: cards em dominó no celular, com abertura nativa de um módulo por vez. */
.modules-section { background: #FFFFFF; color: #171313; }
.section-heading { max-width: 690px; margin: 0 auto clamp(1rem, 3vh, 30px); text-align: center; }
.modules-section .eyebrow { color: #E50914; }
.section-heading p:last-child { color: #625149; font-size: .85rem; }
.modules-grid { display: grid; grid-template-columns: 1fr; gap: 11px; margin: 0; padding: 0; list-style: none; }
.modules-grid li { min-width: 0; }
.module-card { height: 100%; border: 1px solid #E5D6CA; border-radius: 14px; background: #FFFFFF; box-shadow: 0 8px 20px rgba(69, 34, 20, 0.027); transition: border-color .2s, transform .2s, box-shadow .2s; }
.module-card[open] { border-color: rgba(229, 9, 20, 0.47); box-shadow: 0 14px 30px rgba(69, 34, 20, 0.036); }
.module-card summary { display: flex; align-items: center; gap: 12px; min-height: 72px; padding: 14px 16px; cursor: pointer; list-style: none; }
.module-card summary::-webkit-details-marker { display: none; }
.module-number { display: grid; place-items: center; width: 37px; height: 37px; flex: 0 0 auto; border-radius: 10px; background: var(--red); color: #FFFFFF; font-size: .8rem; font-weight: 800; }
.module-title { flex: 1; font-size: .95rem; font-weight: 800; line-height: 1.3; }
.module-toggle-icon { width: 28px; height: 28px; flex: 0 0 auto; border-radius: 50%; background: #FFFFFF; color: #E50914; text-align: center; font-size: 1.2rem; line-height: 28px; }
.module-toggle-icon::before { content: '+'; }
.module-card[open] .module-toggle-icon::before { content: '−'; }
.module-card p { margin: 0; padding: 0 18px 18px 65px; color: #171313; font-size: .86rem; }

/* O pequeno deslocamento marca a sequência do dominó sem reduzir a área de toque. */
@media (max-width: 699px) {
  .modules-grid li:nth-child(even) { margin-left: 10px; }
  .modules-grid li:nth-child(odd) { margin-right: 10px; }
}

/* 08. Autor e garantia: duas faixas completas, sem moldura de card.
   Cada faixa ocupa no mínimo a tela útil, descontando o cabeçalho medido por page.js.
   A altura pode crescer com texto, zoom ou orientação horizontal: nunca há recorte. */
.producer-section,
.guarantee-section {
  width: 100%;
  min-block-size: var(--section-viewport);
  padding-block: clamp(3rem, 6svh, 6rem);
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

/* O contêiner interno mantém as mesmas margens laterais das demais seções. */
.producer-section { background: #FFFAF4; }
.producer-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(1.5rem, 4vw, 3rem);
}
.producer-photo {
  width: clamp(170px, 24vw, 260px);
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center;
  flex: 0 0 auto;
  border: 0;
  border-radius: 24px;
}
.producer-copy { max-width: 760px; }
.producer-copy p:not(.eyebrow) { margin: 0 0 14px; color: var(--muted); font-size: .91rem; }

/* O fundo da garantia cobre toda a faixa; o conteúdo não forma uma caixa com borda. */
.guarantee-section { background: linear-gradient(105deg, #FFF0E3, #FFFFFF); }
.guarantee-card {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.guarantee-icon { display: grid; place-items: center; width: 62px; height: 62px; border: 0; border-radius: 18px; background: #E50914; color: #FFFFFF; box-shadow: 0 8px 20px rgba(69, 34, 20, 0.080); }
.guarantee-icon svg { width: 35px; height: 35px; }
.guarantee-card p:last-child { max-width: 740px; margin: 0; color: #625149; font-size: .9rem; }

/* 09. FAQ funcional por elementos details/summary nativos. */
.faq-wrap { max-width: 850px; }
.faq-list { display: grid; gap: 10px; }
.faq-list details { border: 1px solid var(--line); border-radius: 11px; background: var(--surface); }
.faq-list summary { position: relative; padding: 18px 48px 18px 20px; cursor: pointer; font-size: 1rem; font-weight: 700; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; position: absolute; right: 18px; top: 12px; color: var(--orange); font-size: 1.35rem; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list details p { margin: 0; padding: 0 20px 20px; color: var(--muted); font-size: .9rem; }

/* 10. Contato: um único atalho de dúvidas por WhatsApp, com compra em destaque. */
.contact-section { background: #FFFAF4; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(1.25rem, 3vw, 28px); }
.contact-grid > div > p:not(.eyebrow) { color: var(--muted); font-size: .86rem; }
.contact-channels { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 22px; }
.contact-channels .button { min-height: 43px; border: 1px solid #E5D6CA; background: #FFFAF4; color: #171313; box-shadow: none; }
.contact-channels .button:hover { background: #FFFAF4; }
.contact-channels .button svg, .contact-email svg { width: 20px; height: 20px; flex: 0 0 auto; }
.contact-email { display: inline-flex; align-items: center; gap: 10px; color: var(--amber); font-size: .86rem; font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.contact-email:hover { color: #B10D17; }
.contact-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; padding: clamp(1rem, 2vw, 23px); border: 1px solid var(--line); border-radius: 18px; background: #FFFAF4; }
.contact-form label { margin-top: 4px; font-size: .73rem; font-weight: 700; }
.contact-form input, .contact-form textarea { width: 100%; min-height: 43px; padding: 10px 12px; border: 1px solid #E5D6CA; border-radius: 8px; outline: none; background: #FFFAF4; color: #171313; font-size: .82rem; }
.contact-form textarea { resize: vertical; min-height: 110px; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--amber); box-shadow: 0 0 0 2px rgba(69, 34, 20, 0.078); }
.contact-form p { margin: 4px 0; color: var(--muted); font-size: .66rem; }
.contact-form p a { color: var(--amber); text-decoration: underline; }
.contact-form .button { width: 100%; }
.form-status { padding: 11px; border-radius: 8px; background: #FFF0DA; color: #714000 !important; }
.form-status[data-state='error'] { background: #FFE9E9; color: #990811 !important; }
.form-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* 11. CTA final e rodapé institucional. */
.final-cta { padding-block: 38px; background: #FFFAF4; border-top: 1px solid rgba(229, 9, 20, 0.70); }
.final-cta-inner { display: grid; gap: 20px; align-items: center; }
.final-cta p:last-child { margin: 0; color: #625149; font-size: .82rem; }
.site-footer { padding-block: 43px 22px; border-top: 1px solid #E5D6CA; background: #FFFAF4; }
.footer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 16px; }
.footer-brand img { width: 175px; height: auto;
    filter: brightness(0);
}
.footer-grid h2 { margin: 0 0 10px; color: #E50914; font-size: .84rem; letter-spacing: 0; }
.footer-grid p, .footer-grid a { display: block; margin: 0 0 7px; color: var(--muted); font-size: .72rem; overflow-wrap: anywhere; }
.footer-grid a:hover { color: #171313; }
.footer-bottom { margin-top: 25px; padding-top: 16px; border-top: 1px solid #E5D6CA; color: #625149; font-size: .67rem; }
.footer-bottom p { max-width: 810px; }

/* 12. Ampliação progressiva para tablets e desktops. */
@media (min-width: 700px) {
  .facts-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .two-column, .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; }
  .advantages-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .modules-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .producer-card { flex-direction: row; align-items: center; }
  .guarantee-card { grid-template-columns: auto minmax(0, 1fr); }
  .guarantee-card > .button { grid-column: 2; justify-self: start; }
  .final-cta-inner { grid-template-columns: 1fr auto; }
  .footer-grid { grid-template-columns: 2fr repeat(3, 1fr); }
}

@media (min-width: 900px) {
  :root { --header-height: 94px; }
  .brand { width: 185px; }
  .header-inner { min-height: 82px; gap: 20px; }
  .desktop-nav { display: flex; align-items: center; gap: 3px; margin-left: auto; padding: 4px; border: 1px solid #E5D6CA; border-radius: 13px; background: rgba(255, 247, 237, 0.043); font-size: .82rem; font-weight: 700; }
  .desktop-nav a { padding: 9px 13px; border-radius: 9px; transition: color .2s, background-color .2s, box-shadow .2s; }
  .desktop-nav a:hover, .desktop-nav a[aria-current='location'] { color: #B80711; background: #FFFFFF; box-shadow: 0 4px 16px rgba(69, 34, 20, 0.060); }
  .header-inner > .button { display: inline-flex;
    background: #FF6B19;
    color: #171313;
}
  .mobile-nav { display: none; }
  .hero h1 { font-size: clamp(2rem, min(5vw, 6svh), 4.4rem); }
  .guarantee-card { grid-template-columns: auto minmax(0, 1fr) auto; }
  .guarantee-card > .button { grid-column: auto; }
  .modules-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Encaixe leve somente com mouse e tela ampla/alta; celular segue com rolagem livre.
   Uma seção extensa continua rolável: não usamos mandatory, height fixa ou overflow oculto. */
@media (min-width: 900px) and (min-height: 700px) and (hover: hover) and (pointer: fine) {
  @supports (height: 100dvh) { :root { --viewport-height: 100dvh; } }
  html { scroll-snap-type: y proximity; }
  .hero, .section[id] { scroll-snap-align: start; scroll-snap-stop: normal; }
}

/* Notebooks baixos e orientação horizontal: prioriza conteúdo, reduzindo apenas os respiros. */
@media (max-height: 700px) {
  :root { --section-space: clamp(1rem, 3svh, 1.5rem); }
  .section-heading { margin-bottom: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; scroll-snap-type: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* 13. Checkout transparente: largura fluida e altura definida pelo conteúdo da Hotmart.
   O pagamento pode crescer sem ser cortado ou preso à altura da viewport.
   [hidden] deve superar display:grid de .section[id], inclusive antes do JavaScript. */
.checkout-section { background: #FFFFFF; border-top: 1px solid var(--line); scroll-snap-align: none; }
.checkout-section[hidden] { display: none; }
.checkout-container.container { width: 100%; max-width: 960px; }
.checkout-toolbar { display: flex; justify-content: flex-end; padding: 0 16px 16px; }
.checkout-close { min-height: 44px; }
.checkout-container .section-heading { padding-inline: 16px; }
.checkout-mount { width: 100%; min-width: 0; background: #FFFFFF; }
.checkout-mount iframe { display: block; width: 100%; min-width: 0; border: 0; }
.checkout-status { margin: 0 16px 16px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: #FFF9F2; color: var(--muted); text-align: center; }
.checkout-status[hidden] { display: none; }
.checkout-section[data-checkout-state="error"] .checkout-status { color: #990811; background: #FFE9E9; }
.checkout-note { margin: 16px 0 0; padding-inline: 16px; color: var(--muted); font-size: .8rem; text-align: center; }
.checkout-note a { color: #A73900; text-decoration: underline; text-underline-offset: 3px; }
