:root{
  --bg:#f4f7fb;
  --card:#ffffff;
  --text:#111827;
  --muted:#6b7280;
  --primary:#0057b7;
  --primary2:#0b66d6;
  --border:#e5e7eb;
  --shadow:0 10px 25px rgba(0,0,0,.08);
  --radius:16px;
  --radius2:22px;
  --max:1100px;
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family: Arial, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, sans-serif;
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(11,102,214,.14), transparent 60%),
    radial-gradient(900px 500px at 95% 0%, rgba(236,72,153,.12), transparent 55%),
    var(--bg);
  color:var(--text);
  line-height:1.5;
}
a{color:inherit}

.wrap{max-width:var(--max); margin:0 auto; padding:24px;}
.section{margin-top:18px}

.topbar{
  position:sticky; top:0; z-index:50;
  background:rgba(244,247,251,.88);
  backdrop-filter: blur(10px);
  border-bottom:1px solid rgba(229,231,235,.7);
}

/* Nav strip (not sticky) */
.navstrip{
  background: transparent;
}
.navstrip .nav{
  position: static;
  margin: 10px auto 0;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:center;
}


.topbar-inner{
  display:flex; align-items:center; justify-content:space-between;
  gap:12px; padding:12px 24px;
}
.brand{
  display:flex; align-items:center; gap:12px;
  text-decoration:none;
  min-width:220px;
}
.logo{
  width:56px; height:56px;
  border-radius:14px;
  background:#fff;
  border:1px solid var(--border);
  box-shadow: var(--shadow);
  display:grid; place-items:center;
  overflow:hidden;
}
.logo img{width:100%; height:100%; object-fit:contain; display:block;}
.brand h1{font-size:16px; margin:0}
.brand p{font-size:12px; margin:0; color:var(--muted)}

.nav{
  display:flex; gap:10px; flex-wrap:wrap;
  justify-content:flex-end; align-items:center;
}
.chip{
  font-size:13px;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid var(--border);
  background:#fff;
  text-decoration:none;
  transition:.15s ease;
  cursor:pointer;
  font-weight:800;
  color:#374151;
}
.chip:hover{transform:translateY(-1px); box-shadow:0 8px 16px rgba(0,0,0,.06)}

.lang{
  display:flex; gap:6px; align-items:center;
  padding:6px;
  border:1px solid var(--border);
  background:#fff;
  border-radius:999px;
  box-shadow:0 8px 16px rgba(0,0,0,.04);
}
.lang button{
  border:0; background:transparent; cursor:pointer;
  font-weight:900; font-size:13px; color:var(--muted);
  padding:7px 10px; border-radius:999px;
}
.lang button.active{
  background:linear-gradient(135deg, var(--primary), var(--primary2));
  color:#fff;
}

section{scroll-margin-top:96px}

.btn{
  appearance:none; border:0; cursor:pointer;
  border-radius:14px; padding:12px 14px;
  font-weight:900; font-size:14px;
  text-decoration:none;
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  transition:.15s ease;
  user-select:none;
}
.btn-primary{
  background:linear-gradient(135deg, var(--primary), var(--primary2));
  color:#fff;
  box-shadow: 0 12px 22px rgba(0,87,183,.25);
}
.btn-primary:hover{transform:translateY(-1px)}
.btn-ghost{
  background:#fff;
  border:1px solid var(--border);
  color:#111827;
}
.btn-ghost:hover{transform:translateY(-1px); box-shadow:0 10px 18px rgba(0,0,0,.06)}
.btn-small{padding:10px 12px; font-size:13px; border-radius:12px;}

.actions{display:flex; gap:10px; flex-wrap:wrap; margin-top:14px}
.muted{color:var(--muted)}
.mini-note{font-size:12px; color:var(--muted); margin-top:10px}
.strong{font-weight:900}
.mono{font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;}

.section-title{
  display:flex; align-items:flex-end; justify-content:space-between; gap:12px;
  margin:18px 0 10px;
}
.section-title h3{margin:0; font-size:20px}
.section-title p{margin:0; color:var(--muted); font-size:14px}

.card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius2);
  box-shadow: var(--shadow);
  padding:18px;
}

.cards{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:16px;
}
@media (max-width: 920px){ .cards{grid-template-columns:1fr} }

.pills{display:flex; flex-wrap:wrap; gap:8px; margin:10px 0 12px;}
.pill{
  font-size:12px; padding:7px 10px;
  border-radius:999px;
  border:1px solid var(--border);
  background:#fff;
  color:#374151;
  font-weight:900;
}

/* Countries top art */
.countries-hero{padding:18px 0 8px;}
.countries-card{
  background: linear-gradient(135deg, rgba(0,87,183,1), rgba(11,102,214,1));
  border-radius:28px;
  padding:22px;
  color:#fff;
  box-shadow:0 18px 40px rgba(0,0,0,.16);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  position:relative;
  overflow:hidden;
}
.countries-card:before{
  content:"";
  position:absolute;
  width:340px; height:340px;
  right:-160px; top:-170px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.28), transparent 55%);
  border-radius:999px;
}
.countries-card:after{
  content:"";
  position:absolute;
  width:280px; height:280px;
  left:-140px; bottom:-160px;
  background: radial-gradient(circle at 60% 40%, rgba(236,72,153,.28), transparent 55%);
  border-radius:999px;
}
.countries-left{position:relative; z-index:1}
.kicker{
  display:inline-flex; align-items:center; gap:10px;
  font-size:13px; color:rgba(255,255,255,.92);
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.24);
  padding:8px 12px;
  border-radius:999px;
  margin-bottom:10px;
  font-weight:900;
}
.countries-title{margin:0 0 8px; font-size:26px; line-height:1.15;}
.countries-sub{margin:0; opacity:.95; max-width:560px}

.flags{
  position:relative; z-index:1;
  display:grid;
  grid-template-columns: repeat(2, minmax(140px, 1fr));
  gap:10px;
}
.flag{
  display:flex; align-items:center; gap:10px;
  padding:12px 14px;
  border-radius:18px;
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.22);
  font-weight:900;
}
.flag .emoji{font-size:22px}
@media (max-width: 920px){
  .countries-card{flex-direction:column; align-items:flex-start}
  .flags{grid-template-columns: repeat(2, 1fr); width:100%}
}

/* Course highlight */
.course-highlight{
  background: linear-gradient(180deg, rgba(255,255,255,1), rgba(248,250,252,1));
  border:1px solid rgba(229,231,235,.9);
  border-radius:28px;
  box-shadow:0 24px 60px rgba(0,0,0,.12);
  padding:26px;
}
.course-badge{
  display:inline-block;
  background:#eaf2ff;
  border:1px solid #dbe7ff;
  color:#0b66d6;
  padding:8px 14px;
  border-radius:999px;
  font-weight:900;
  font-size:13px;
  margin-bottom:10px;
}
.course-title{margin:0 0 10px; font-size:34px; line-height:1.15;}
.course-sub{margin:0 0 16px; color:var(--muted); font-size:15px;}

.course-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:16px;
  align-items:stretch;
}
@media (max-width: 920px){ .course-grid{grid-template-columns:1fr} }

.course-list{
  margin:0;
  padding:0;
  list-style:none;
  display:grid;
  gap:10px;
}
.course-list li{
  background:#ffffff;
  border:1px solid #eef2f7;
  border-radius:14px;
  padding:10px 12px;
  font-weight:800;
  color:#374151;
}

.course-pricebox{
  background:#ffffff;
  border:1px solid #eef2f7;
  border-radius:18px;
  padding:16px;
}
.price-row{display:flex; flex-direction:column; gap:8px}
.price strong{font-size:26px}
.price span{display:block; font-size:13px; color:var(--muted); margin-top:4px}

/* Copy box */
.copy{
  display:flex; gap:10px; align-items:center; flex-wrap:wrap;
  background:#f8fafc;
  border:1px solid #eef2f7;
  border-radius:14px;
  padding:10px 12px;
}

/* Footer */
footer{margin:22px 0 36px; color:var(--muted); font-size:13px;}
.footerBox{
  background:#fff;
  border:1px solid var(--border);
  border-radius:22px;
  box-shadow: var(--shadow);
  padding:16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
.footer-brand{font-weight:900; color:#111827;}
.footer-sub{font-size:13px; color:var(--muted);}

.social{
  display:flex; gap:10px; flex-wrap:wrap; align-items:center;
}
.social a{
  display:inline-flex; align-items:center; gap:10px;
  padding:10px 12px;
  border:1px solid var(--border);
  border-radius:999px;
  background:#fff;
  text-decoration:none;
  font-weight:900;
  font-size:13px;
  color:#374151;
  transition:.15s ease;
}
.social a:hover{transform:translateY(-1px); box-shadow:0 10px 18px rgba(0,0,0,.06)}
.icon{width:18px; height:18px; display:inline-block;}

/* Modal */
.modal-backdrop{
  position:fixed; inset:0;
  background:rgba(17,24,39,.55);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:999;
  padding:18px;
}
.modal{
  width:min(820px, 100%);
  background:#fff;
  border-radius:22px;
  box-shadow: 0 30px 80px rgba(0,0,0,.25);
  overflow:hidden;
  border:1px solid rgba(229,231,235,.8);
}
.modal-head{
  padding:16px 18px;
  border-bottom:1px solid var(--border);
  display:flex; justify-content:space-between; align-items:flex-start; gap:10px;
  background:linear-gradient(135deg, rgba(11,102,214,.10), rgba(236,72,153,.08));
}
.modal-head h4{margin:0; font-size:17px}
.modal-head p{margin:4px 0 0; color:var(--muted); font-size:13px}
.x{
  border:1px solid var(--border);
  background:#fff;
  border-radius:12px;
  padding:8px 10px;
  cursor:pointer;
  font-weight:900;
}
.modal-body{padding:16px 18px}

.seg{
  display:flex; gap:10px; flex-wrap:wrap;
  background:#fff;
  border:1px solid var(--border);
  border-radius:999px;
  padding:6px;
  width:fit-content;
  box-shadow:0 10px 20px rgba(0,0,0,.05);
}
.seg button{
  border:0; cursor:pointer;
  padding:10px 12px;
  border-radius:999px;
  background:transparent;
  font-weight:900;
  font-size:13px;
  color:var(--muted);
}
.seg button.active{
  background:linear-gradient(135deg, var(--primary), var(--primary2));
  color:#fff;
}

.modalGrid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  margin-top:12px;
}
@media (max-width: 860px){ .modalGrid{grid-template-columns:1fr} }

.choice{
  border:1px solid rgba(229,231,235,.95);
  border-radius:16px;
  padding:12px;
  background:#fff;
}
.choice h5{margin:0 0 8px; font-size:14px}
.steps{margin:10px 0 0; padding-left:18px; color:#374151; font-size:14px;}
.steps li{margin:8px 0}
.spacer{height:10px}

.privateSelectWrap{margin-top:12px; display:none}
select{
  width:100%;
  border:1px solid rgba(229,231,235,.95);
  border-radius:14px;
  padding:12px;
  font-weight:800;
  outline:none;
  background:#fff;
}

.toast{
  position:fixed;
  left:50%;
  transform:translateX(-50%);
  bottom:18px;
  background:#111827;
  color:#fff;
  padding:10px 14px;
  border-radius:999px;
  font-size:13px;
  display:none;
  z-index:1000;
  box-shadow:0 12px 30px rgba(0,0,0,.25);
}

/* Floating WhatsApp */
.wa-float{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:1200;
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:12px 14px;
  border-radius:999px;
  background:#111827;
  color:#fff;
  text-decoration:none;
  font-weight:900;
  box-shadow:0 14px 30px rgba(0,0,0,.25);
  transition:.15s ease;
}
.wa-float:hover{transform:translateY(-2px)}
.wa-float .icon{width:20px; height:20px}
.pre-question{
  font-size:14px;
  font-weight:900;
  color:#0b66d6;
  text-transform:uppercase;
  letter-spacing:.6px;
  margin:0 0 6px;
}
/* ===== Mobile: reduzir altura do topo ===== */
@media (max-width: 640px){
  .topbar .wrap{
    padding: 8px 14px !important;
    gap: 8px !important;
  }

  .logo{ width:40px !important; height:40px !important; border-radius:12px !important; }
  .brand{ min-width: unset !important; gap:10px !important; }
  .brand h1{ font-size:14px !important; }
  .brand p{ font-size:11px !important; }

  .chip{
    padding: 8px 10px !important;
    font-size: 12px !important;
    font-weight: 800 !important;
  }

  .lang{ padding:4px !important; }
  .lang button{ padding:6px 8px !important; font-size:12px !important; }

  /* Importantíssimo: diminui o espaço que o sticky reserva nas âncoras */
  section{ scroll-margin-top: 70px !important; }
}
@media (max-width: 640px){
  .nav{
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    gap: 8px !important;
    justify-content: flex-start !important;
    padding-bottom: 4px;
  }
  .nav::-webkit-scrollbar{ display:none; }
  .chip{ white-space: nowrap; }
}
@media (max-width: 640px){
  .wa-float{
    right: 12px !important;
    bottom: 12px !important;
    padding: 10px 12px !important;
  }
}
/* ===== Mobile header redesign: logo maior + botões visíveis ===== */
@media (max-width: 640px){

  /* Topo mais “clean” */
  .topbar{
    position: sticky;
    top: 0;
    z-index: 50;
  }

  .topbar .wrap{
    padding: 10px 14px !important;
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 10px !important;
    align-items: start;
  }

  /* Brand: só logo (maior) */
  .brand{
    min-width: unset !important;
    gap: 10px !important;
  }

  .logo{
    width: 64px !important;
    height: 64px !important;
    border-radius: 18px !important;
  }

  /* Esconde o texto do brand no mobile */
  .brand h1,
  .brand p{
    display: none !important;
  }

  /* Navegação: mostrar todos os botões (grid) */
  .nav{
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 10px !important;
    justify-content: stretch !important;
    align-items: stretch !important;
  }

  .chip{
    width: 100%;
    text-align: center;
    padding: 10px 10px !important;
    font-size: 13px !important;
    border-radius: 16px !important;
    white-space: normal !important; /* permite quebrar linha */
  }

  /* Idioma fica como “linha” embaixo e ocupa 2 colunas */
  .lang{
    grid-column: 1 / -1;
    justify-content: center;
    width: fit-content;
    margin: 0 auto;
  }

  /* Em telas bem pequenas, 1 coluna */
  @media (max-width: 380px){
    .nav{ grid-template-columns: 1fr; }
    .lang{ width: 100%; }
  }

  /* Ajusta âncoras para a altura nova do sticky */
  section{ scroll-margin-top: 110px !important; }
}
@media (max-width: 640px){
  .brand{ justify-content: center; }
}
@media (max-width: 640px){
  .wa-float{ padding: 12px !important; }
  .wa-float{ border-radius: 999px !important; }
  .wa-float{ width: 52px; height: 52px; justify-content: center; }
  .wa-float{ font-size: 0; } /* esconde texto */
}
/* Links clicáveis sempre acima */
.actions a{
  position: relative;
  z-index: 5;
  display: inline-flex;
}

/* Evita qualquer overlay capturar o toque */
.card{
  position: relative;
  z-index: 1;
}
/* Backdrop: nunca bloquear cliques quando fechado */
.modal-backdrop{
  display:none;
  pointer-events:none; /* <- ESSENCIAL */
}

/* Quando abrir o modal, aí sim permite cliques */
.modal-backdrop.open{
  display:flex;
  pointer-events:auto;
}
a, button { pointer-events: auto; }

/* Por padrão (desktop): mostra o longo e esconde o curto */
.countries-long { display: block; }
.countries-short { display: none; }

.countries-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}

.country-pill{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:14px 12px;
  border-radius:16px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.18);
  color:#fff;
  font-weight:900;
  text-align:center;
}

/* Mobile: esconde o longo e mostra o curto */
@media (max-width: 640px){
  .countries-long { display: none; }
  .countries-short { display: block; }
.after-countries{
  margin-top: 14px;
  font-size: 0.95rem;
  line-height: 1.4;
  opacity: 0.95;
  text-align: center;
}
.country-pill{
  background: rgba(255,255,255,.10);
}

.country-pill{
  padding: 10px 12px;
}
@media (max-width: 640px){

  /* 🔽 Reduz espaço entre frase inicial e países */
  .countries-kicker{
    margin-bottom: 8px;   /* antes devia estar 16–20px */
  }

  .countries-grid{
    margin-top: 6px;      /* aproxima os pills do texto */
  }
}
.countries-kicker{
  margin-bottom: 4px;
}
@media (max-width: 640px){
  .countries-card{
    padding-top: 14px;  /* antes: ~22–24px */
  }
}
.lead{
  font-size: 14px;
  line-height: 1.6;
  color: #475569;
}

.list{
  margin: 8px 0 0;
  padding-left: 18px;
}

.item{
  margin-bottom: 6px;
  font-size: 14px;
  color: #334155;
}

.note{
  margin-top: 8px;
  font-size: 13px;
  color: #475569;
}
.brand-power{
  color:#0057b7; /* azul PTE Power */
  font-weight:800;
}

.brand-prep{
  color:#e53935; /* vermelho Prep */
  font-weight:800;
}
/* ===== Brand: PTE PowerPrep (reutilizável no site todo) ===== */
:root{
  --pp-blue:#0057b7;   /* PTE Power */
  --pp-red:#e53935;    /* Prep */
}

/* wrapper opcional */
.pp-brand{
  font-weight:900;
  letter-spacing:.2px;
  white-space:nowrap;
}

/* partes coloridas */
.pp-brand .pp-power{ color:var(--pp-blue); }
.pp-brand .pp-prep{ color:var(--pp-red); }

/* quando estiver dentro de botão/hero e precisar manter contraste */
.pp-brand.on-dark .pp-power,
.pp-brand.on-dark .pp-prep{
  filter:brightness(1.05);
}

}
:root{
  --pp-blue:#0057b7;
  --pp-red:#e53935;
}

.pp-brand{
  font-weight:900;
  letter-spacing:.2px;
  white-space:nowrap;
}

.pp-brand .pp-power{ color:var(--pp-blue) !important; }
.pp-brand .pp-prep{  color:var(--pp-red)  !important; }

/* Se algum lugar usa text-fill (às vezes em botões/gradientes) */
.pp-brand .pp-power{ -webkit-text-fill-color: var(--pp-blue) !important; }
.pp-brand .pp-prep{  -webkit-text-fill-color: var(--pp-red)  !important; }
/* ===== Reviews Premium ===== */

.reviews-highlight{
  text-align:center;
  padding:42px 32px;
  background:linear-gradient(135deg,#f8fbff,#eef5ff);
  border:1px solid #dbe7ff;
}

.reviews-badge{
  display:inline-block;
  background:linear-gradient(135deg,#0057b7,#0b66d6);
  color:#fff;
  font-weight:900;
  padding:10px 18px;
  border-radius:999px;
  margin-bottom:18px;
  font-size:14px;
  letter-spacing:.5px;
}

.reviews-highlight h3{
  font-size:24px;
  margin-bottom:12px;
}

.btn-large{
  padding:14px 24px;
  font-size:15px;
}
.highlight{
  font-weight:800;
  background:linear-gradient(135deg,#fff6e5,#fff1cc);
  border:1px solid #ffd580;
  padding:14px 20px;
  border-radius:16px;
  text-align:center;
  margin:20px auto;
  max-width:760px;
  font-size:15px;
}
.break-row{
  display:flex;
  justify-content:space-between;
  margin:6px 0;
  font-size:14px;
}

.break-total{
  margin-top:10px;
  font-weight:900;
  font-size:15px;
  padding-top:8px;
  border-top:1px solid var(--border);
}
.platformSpacing {
  margin-top: 24px;
}
/* impede scroll do fundo quando modal abre */
body.modal-open{
  overflow: hidden;
  touch-action: none;
}

/* permite scroll dentro do modal (principalmente iPhone) */
#modalBackdrop .modal{
  max-height: 90vh;
  overflow: hidden; /* trava a caixa externa */
}

#modalBackdrop .modal .modalGrid{
  max-height: 90vh;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain; /* evita “vazar” pro fundo */
}

.choice-right .actions{
  position: sticky;
  bottom: 0;
  background: #fff;
  padding-top: 10px;
  padding-bottom: 10px;
}
.choice-right .actions::before{
  content:"";
  position:absolute;
  left:0; right:0; top:-12px;
  height:12px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
}
.choice-right{
  position: relative;
}

@media (max-width: 520px){
  .modal{ width: 100%; max-height: 96dvh; border-radius: 18px; }
  .modal-body{ padding: 12px; }
}
.pre-question{
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(0,87,183,.08);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.section .card > .section-title h3 {
  margin-top: 0;
}
