/* ==========================================================================
   Power Reviews — Control Space
   Paleta e medidas extraídas do ficheiro de design (Campanha Power Review.svg)
   ========================================================================== */

@font-face{font-family:"Roobert";src:url("../fonts/roobert/Roobert-Regular.woff2") format("woff2"),url("../fonts/roobert/Roobert-Regular.otf") format("opentype");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Roobert";src:url("../fonts/roobert/Roobert-SemiBold.woff2") format("woff2"),url("../fonts/roobert/Roobert-SemiBold.otf") format("opentype");font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:"Roobert";src:url("../fonts/roobert/Roobert-Bold.woff2") format("woff2"),url("../fonts/roobert/Roobert-Bold.otf") format("opentype");font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:"Roobert";src:url("../fonts/roobert/Roobert-Heavy.woff2") format("woff2"),url("../fonts/roobert/Roobert-Heavy.otf") format("opentype");font-weight:800;font-style:normal;font-display:swap}

:root {
  --ink: #0B0B0C;
  --ink-soft: #1A1A1D;
  --muted: #5A5A62;
  --muted-2: #6F6F78;
  --faint: #9A9AA0;
  --page: #E9E9EC;
  --surface: #FFFFFF;
  --soft: #F4F4F6;
  --soft-2: #F6F6F8;
  --line: #E2E2E6;
  --line-2: #ECECEF;

  --lime: #9CCE2B;
  --lime-2: #B4E019;
  --yellow: #FFCC00;
  --yellow-2: #FFE100;
  --green: #17B44C;
  --green-2: #19C63F;
  --purple: #8B2FE0;
  --purple-2: #9E5CF0;
  --pink: #E62E9B;
  --pink-2: #F14CBB;

  --font-body: "Roobert", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Roobert", var(--font-body);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --pad-x: clamp(20px, 5vw, 72px);
  --section-y: clamp(56px, 7vw, 104px);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em; line-height: 1.06; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:where(a, button, select, summary):focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--r-sm);
  z-index: 10;
  text-decoration: none;
}
.skip-link:focus { left: 16px; }

/* ------------------------------- shell ---------------------------------- */
.shell {
  max-width: 1200px;
  overflow-x: clip;
  margin: clamp(12px, 2vw, 28px) auto;
  background: var(--surface);
  border-radius: var(--r-xl);
  overflow: hidden;
}

/* ------------------------------- header --------------------------------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px var(--pad-x);
  border-bottom: 1px solid var(--line-2);
}
.site-header__logo img { width: 132px; height: auto; }
.site-header__tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* -------------------------------- hero ---------------------------------- */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 56px);
  padding: clamp(32px, 5vw, 64px) var(--pad-x) clamp(40px, 5vw, 72px);
}
@media (min-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: center; }
}
.hero__copy, .hero__bento { min-width: 0; }

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  background: var(--soft-2);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: clamp(20px, 3vw, 32px);
}

.stars { display: inline-flex; gap: 5px; }
.star {
  width: 13px;
  height: 13px;
  background: currentColor;
  display: inline-block;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.star--yellow { color: var(--yellow); }
.star--pink   { color: var(--pink-2); }
.star--green  { color: var(--green-2); }
.star--purple { color: var(--purple-2); }
.star--lime   { color: var(--lime-2); }
.star--dim    { color: rgba(255, 255, 255, 0.35); }

.hero h1 {
  font-size: clamp(2.4rem, 5.4vw, 4.05rem);
  max-width: 12ch;
}
.lede {
  margin-top: clamp(18px, 2.4vw, 28px);
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  color: var(--muted);
  max-width: 46ch;
}

/* ------------------------------- picker --------------------------------- */
.picker {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(24px, 3vw, 36px);
  align-items: stretch;
}
.picker--center { justify-content: center; }

.field {
  position: relative;
  flex: 1 1 300px;
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 10px 16px 8px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field:focus-within { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(11, 11, 12, .07); }

.field__label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}
.field__select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  padding: 2px 24px 2px 0;
  cursor: pointer;
}
.field__select:focus { outline: none; }
.field::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 20px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  pointer-events: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--r-md);
  padding: 18px 34px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform .12s ease, filter .15s ease;
}
.btn--lime { background: var(--lime); color: var(--ink); }
.btn--lime:hover { filter: brightness(1.06); }
.btn:active { transform: translateY(1px); }
@media (max-width: 560px) { .picker .btn { flex: 1 1 100%; } }

.picker__error {
  flex: 1 1 100%;
  color: #C0242A;
  font-size: 14px;
  font-weight: 500;
}
.picker__note {
  margin-top: 14px;
  font-size: 14px;
  color: var(--faint);
}
.picker--center + .picker__note { text-align: center; }

/* -------------------------------- bento --------------------------------- */
.bento {
  display: grid;
  grid-template-columns: 0.34fr 1.25fr 1fr 0.9fr;
  grid-auto-rows: minmax(38px, auto);
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.bento__item { border-radius: 12px; min-height: 38px; min-width: 0; overflow-wrap: anywhere; }

.bento__logo { grid-column: 1 / span 2; grid-row: 1; display: flex; align-items: center; }
.bento__logo img { width: min(100%, 190px); }

.bento__outline {
  grid-column: 3 / span 2;
  grid-row: 1;
  border: 4px solid var(--ink);
  border-radius: 14px;
  display: flex;
  align-items: center;
  padding: 14px 16px;
}
.bento__outline p {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(14px, 1.5vw, 20px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.bento__yellow {
  grid-column: 1 / span 2;
  grid-row: 2 / span 3;
  background: var(--yellow);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  font-size: clamp(11px, 1.05vw, 14px);
  font-weight: 600;
  line-height: 1.35;
}

.bento__media { background: var(--ink); }
.bento__media--a { grid-column: 3; grid-row: 2; }
.bento__media--b { grid-column: 4; grid-row: 2; }
.bento__media--c { grid-column: 3; grid-row: 4; }
.bento__media--tall { grid-column: 4; grid-row: 4 / span 2; }
.bento__media--narrow { grid-column: 1; grid-row: 5; }

.bento__tier {
  padding: 12px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  font-size: clamp(10px, 1vw, 13px);
  font-weight: 500;
  line-height: 1.25;
}
.bento__tier-value { font-family: var(--font-display); font-size: 11px; text-align: right; }
.bento__tier-value b { display: block; font-size: clamp(16px, 1.9vw, 26px); line-height: 1; }
.bento__tier--pink {
  grid-column: 3 / span 2;
  grid-row: 3;
  background: var(--pink-2);
  flex-direction: row;
  align-items: center;
}
.bento__tier--pink .bento__tier-value { margin-left: auto; }
.bento__tier--green  { grid-column: 2; grid-row: 5; background: var(--green-2); }
.bento__tier--purple { grid-column: 3; grid-row: 5; background: var(--purple-2); }
.bento__tier--green .bento__tier-value,
.bento__tier--purple .bento__tier-value { text-align: left; }

/* -------------------------------- stats --------------------------------- */
.stats { background: var(--ink); color: #fff; padding: clamp(40px, 5vw, 64px) var(--pad-x); }
.stats__grid {
  margin: 0;
  display: grid;
  gap: 32px;
  text-align: center;
}
@media (min-width: 760px) {
  .stats__grid { grid-template-columns: repeat(3, 1fr); gap: 0; }
  .stat + .stat { border-left: 1px solid rgba(255, 255, 255, .16); }
}
.stat__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 4.6vw, 3.9rem);
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat__label { margin: 12px 0 0; color: var(--faint); font-size: 15px; }
/* nota fora da secção .stats (fundo escuro) — mesmo layout do antigo
   .bento__legal: pequena, alinhada à direita, sobre o fundo claro da página.
   Margem inferior generosa para respirar da secção seguinte (vídeo). */
.stats__legal {
  margin: 18px var(--pad-x) clamp(48px, 6.5vw, 80px);
  text-align: right;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
}

/* ----------------------------- como funciona ---------------------------- */
.how {
  display: grid;
  gap: clamp(36px, 5vw, 64px);
  padding: var(--section-y) var(--pad-x);
}
@media (min-width: 900px) { .how { grid-template-columns: 1fr 1fr; align-items: center; } }

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 18px;
}
.eyebrow--light { color: rgba(255, 255, 255, .55); }
.eyebrow--center { text-align: center; }

.how h2, .cause h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }

.steps { margin-top: clamp(28px, 4vw, 44px); display: grid; gap: 26px; }
.step { display: grid; grid-template-columns: 44px 1fr; column-gap: 18px; row-gap: 4px; }
.step__num {
  grid-row: 1 / span 2;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  display: grid;
  place-items: center;
}
.step__title { font-size: 1.15rem; }
.step__text { color: var(--muted); }

/* -------------------------------- vídeo --------------------------------- */
.how__video { margin: 0; }
.video {
  position: relative;
  background: var(--ink);
  border-radius: var(--r-lg);
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: flex-end;
  padding: 26px;
  overflow: hidden;
}
.video__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 78px;
  height: 78px;
  border-radius: 50%;
  border: 0;
  background: var(--soft);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform .15s ease;
}
.video__play:hover { transform: translate(-50%, -50%) scale(1.05); }
.video__play[aria-disabled="true"] { cursor: default; opacity: .85; }
.video__play span {
  width: 0;
  height: 0;
  border-left: 17px solid var(--ink);
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  margin-left: 5px;
}
.video__caption { position: relative; color: #fff; }
.video__title { font-family: var(--font-display); font-weight: 700; }
.video__meta { font-size: 14px; color: var(--faint); }
/* .video iframe absoluto só se aplica ao facade do YouTube — o iframe que o
   Instagram injeta (via embed.js) precisa de fluir normalmente para não
   colapsar a 0px de altura (sem isto, inset:0 estica-o ao container vazio). */
.video:not(.video--instagram) iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.video--instagram {
  background: var(--surface);
  border: 1px solid var(--line);
  aspect-ratio: auto;
  align-items: center;
  justify-content: center;
  padding: 10px;
}
.video--instagram .instagram-media { margin: 0 auto !important; border-radius: var(--r-md) !important; }

.how__video figcaption {
  margin-top: 16px;
  text-align: center;
  color: var(--faint);
  font-size: 15px;
}

/* ------------------------------- escada --------------------------------- */
.ladder {
  margin: 0 var(--pad-x) var(--section-y);
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-xl);
  padding: clamp(32px, 4.5vw, 64px);
}
.ladder h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); max-width: 18ch; }
.tiers {
  margin-top: clamp(28px, 4vw, 48px);
  display: grid;
  gap: 18px;
}
@media (min-width: 820px) { .tiers { grid-template-columns: repeat(3, 1fr); } }

.tier {
  position: relative;
  border-radius: var(--r-lg);
  padding: 26px 24px 30px;
  color: #fff;
}
.tier--pink { background: var(--pink-2); }
.tier--green { background: var(--green-2); }
.tier--purple { background: var(--purple-2); }

.stars--tier { margin-bottom: 26px; }
/* cada cartão mostra só as 4 estrelas que contrastam com o próprio fundo —
   a estrela da mesma cor do cartão fica de fora do markup (ver pt/en index.html) */
.stars--tier .star { width: 18px; height: 18px; }

.tier__badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--lime-2);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}
.tier__value { font-family: var(--font-display); font-size: 15px; }
.tier__value b { font-size: clamp(2.1rem, 3vw, 2.6rem); letter-spacing: -.03em; margin-right: 8px; }
.tier__title { font-size: 1.2rem; margin: 10px 0 8px; }
.tier__text { color: rgba(255, 255, 255, .85); font-size: 15px; }

/* -------------------------------- causa --------------------------------- */
.cause {
  margin: 0 var(--pad-x) var(--section-y);
  display: grid;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
}
@media (min-width: 900px) { .cause { grid-template-columns: 1fr 1fr; } }

.cause__copy { padding: clamp(28px, 4vw, 56px); }
.cause__copy p { color: var(--muted); margin-top: 18px; max-width: 46ch; }

.ong-chips {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 28px !important;
}
.ong-chip {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  background: var(--soft);
  border-radius: var(--r-md);
  padding: 14px 20px 14px 14px;
  color: var(--ink) !important;
}
.ong-chip__mark {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  flex: none;
  overflow: hidden;
}
.ong-chip__mark img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.ong-chip strong { font-family: var(--font-display); display: block; }
.ong-chip small { color: var(--muted-2); font-size: 13px; }

.cause__quote {
  margin: 0;
  background: var(--ink);
  color: #fff;
  padding: clamp(28px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 26px;
}
.stars--quote .star { width: 26px; height: 26px; }
.cause__quote blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

/* ------------------------------ cta final ------------------------------- */
.cta {
  margin: 0 var(--pad-x) var(--section-y);
  background: var(--soft);
  border-radius: var(--r-xl);
  padding: clamp(40px, 5.5vw, 72px) clamp(24px, 4vw, 56px);
  text-align: center;
}
.cta h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
.cta > p { color: var(--muted); margin-top: 14px; }
.cta .picker { max-width: 720px; margin-inline: auto; }
.cta .field { background: var(--surface); text-align: left; }

/* --------------------------------- faq ---------------------------------- */
.faq { padding: 0 var(--pad-x) var(--section-y); }
.faq h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); text-align: center; }
.faq__list { max-width: 860px; margin: clamp(32px, 4vw, 52px) auto 0; }

.faq__item { border-bottom: 1px solid var(--line-2); }
.faq__item:first-child { border-top: 1px solid var(--line-2); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 4px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  letter-spacing: -0.01em;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  color: var(--lime);
  font-size: 26px;
  font-weight: 500;
  line-height: 1;
  flex: none;
}
.faq__item[open] summary::after { content: "–"; }
.faq__answer { padding: 0 60px 26px 4px; color: var(--muted); }

/* -------------------------------- footer -------------------------------- */
.site-footer {
  background: var(--ink);
  color: #fff;
  padding: clamp(28px, 3.5vw, 44px) var(--pad-x);
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}
.site-footer__brands { display: flex; align-items: center; gap: 22px; }
.site-footer__cs { width: 118px; filter: invert(1); }
.site-footer__brands img:last-child { width: 74px; }
.site-footer__divider { width: 1px; height: 34px; background: rgba(255, 255, 255, .25); }
.site-footer__meta { text-align: right; color: var(--faint); font-size: 14px; }
.site-footer__meta a { text-decoration: none; }
.site-footer__meta a:hover { text-decoration: underline; }
@media (max-width: 560px) { .site-footer__meta { text-align: left; } }

/* ------------------------------ responsivo ------------------------------ */
@media (max-width: 620px) {
  .shell { border-radius: var(--r-lg); margin: 0; }
  .bento { padding: 10px; gap: 7px; }
  .bento__logo img { width: min(100%, 130px); }
  .bento__outline { border-width: 3px; padding: 10px; }
  .site-header__tag { font-size: 10px; }
}
