/* ============================================================
   Psicologia no Sofá — standalone platform styles (Poppins).
   Palette: Petróleo #2C4A54 · Sálvia #8FAEA8 · Coral #E8846A · Areia #EFDCC4 · Menta #DCE8E3 · Creme #F5EEE1
   ============================================================ */
:root {
  --petrol: #2C4A54; --petrol-deep: #1F3740; --sage: #8FAEA8; --coral: #E8846A; --coral-deep: #C9674F;
  --sand: #EFDCC4; --mint: #DCE8E3; --cream: #F5EEE1; --paper: #FBF7EF; --line: #E4DAC8;
  --ink: #22383F; --muted: #5F6E72;
  --font: "Poppins", "Avenir Next", "Century Gothic", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1160px; --navh: 68px;
  --shadow: 0 1px 2px rgba(34,56,63,.05), 0 12px 32px rgba(34,56,63,.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--navh) + 16px); }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--petrol); text-decoration: none; }
a:hover { color: var(--coral-deep); }
h1, h2, h3, h4 { font-family: var(--font); font-weight: 600; line-height: 1.15; letter-spacing: -.015em; color: var(--petrol); margin: 0; text-wrap: balance; }
p { margin: 0; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(18px, 4vw, 40px); }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.skip-link { position: absolute; left: 8px; top: -60px; background: var(--petrol); color: var(--mint); padding: 8px 12px; border-radius: 6px; z-index: 100; }
.skip-link:focus { top: 8px; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; border-radius: 4px; }
[data-lang="pt"] .en, [data-lang="en"] .pt { display: none !important; }

/* ---------- type scale ---------- */
.eyebrow { font-size: .72rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--sage); }
.eyebrow.coral { color: var(--coral-deep); }
.h-xl { font-size: clamp(2.2rem, 5.2vw, 3.6rem); font-weight: 600; letter-spacing: -.025em; line-height: 1.05; }
.h-l  { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.h-m  { font-size: clamp(1.25rem, 2.2vw, 1.55rem); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); line-height: 1.6; color: var(--muted); max-width: 40em; }
.small { font-size: .85rem; color: var(--muted); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; font-size: .9rem; letter-spacing: .01em; padding: 13px 22px; border-radius: 10px; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease, border-color .15s ease, color .15s ease; text-decoration: none; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--petrol); color: var(--mint); border-color: var(--petrol); }
.btn-primary:hover { background: var(--petrol-deep); color: #fff; }
.btn-secondary { background: transparent; color: var(--petrol); border-color: var(--petrol); }
.btn-secondary:hover { background: var(--mint); color: var(--petrol); }
.btn-coral { background: var(--coral); color: #fff; border-color: var(--coral); }
.btn-coral:hover { background: var(--coral-deep); border-color: var(--coral-deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--mint); border-color: rgba(220,232,227,.5); }
.btn-ghost:hover { background: rgba(220,232,227,.12); color: #fff; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.btn-sm { padding: 9px 16px; font-size: .8rem; border-radius: 8px; }
.cta { composes: btn; } /* legacy alias (kept for app pages) */
.chip { font-size: .72rem; font-weight: 600; letter-spacing: .04em; border: 1px solid var(--line); background: var(--paper); color: var(--muted); border-radius: 999px; padding: 6px 14px; cursor: pointer; transition: all .15s ease; text-decoration: none; display: inline-block; }
.chip:hover { border-color: var(--coral); color: var(--coral-deep); }
.chip.active { background: var(--petrol); border-color: var(--petrol); color: var(--mint); }
.tag { display: inline-block; font-size: .62rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--petrol); background: var(--mint); border-radius: 999px; padding: 4px 10px; vertical-align: middle; }
.tag-coral { background: var(--coral); color: #fff; }
.tag-outline { background: transparent; border: 1px dashed var(--line); color: var(--muted); }

/* ---------- navigation ---------- */
.nav { position: sticky; top: 0; z-index: 60; background: color-mix(in srgb, var(--cream) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 20px; min-height: var(--navh); }
.nav-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--petrol); margin-right: auto; }
.nav-brand svg { width: 40px; height: auto; }
.nav-brand span { font-weight: 900; font-size: .84rem; letter-spacing: .12em; text-transform: uppercase; line-height: 1.05; }
.nav-brand span b { color: var(--coral); }
.nav-links { display: flex; gap: clamp(12px, 2vw, 26px); align-items: center; }
.nav-links a { font-size: .82rem; font-weight: 500; color: var(--ink); padding: 8px 2px; border-bottom: 2px solid transparent; }
.nav-links a:hover { color: var(--coral-deep); }
.nav-links a[aria-current="page"] { color: var(--petrol); border-bottom-color: var(--coral); font-weight: 600; }
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-account { display: inline-flex; align-items: center; gap: 8px; }
.lang { display: inline-flex; gap: 2px; border: 1px solid var(--line); border-radius: 999px; padding: 2px; }
.lang button { font-size: .66rem; font-weight: 600; letter-spacing: .08em; border: 0; border-radius: 999px; padding: 5px 10px; background: transparent; color: var(--muted); cursor: pointer; }
.lang button.active { background: var(--petrol); color: var(--mint); }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 8px; background: none; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--petrol); }
@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 8px 0 12px; }
  .nav.open .nav-links { display: flex; }
  .nav-links a { padding: 12px clamp(18px, 4vw, 40px); border-bottom: 0; border-left: 3px solid transparent; }
  .nav-links a[aria-current="page"] { border-left-color: var(--coral); background: var(--mint); }
  .nav-account .email { display: none; }
}

/* announcement bar (launch state) */
.announce { background: var(--petrol); color: var(--mint); font-size: .84rem; }
.announce .wrap { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 42px; flex-wrap: wrap; text-align: center; padding-block: 6px; }
.announce b { color: #fff; font-weight: 600; }
.announce a { color: var(--coral); font-weight: 600; }
.announce a:hover { color: #fff; }

/* ---------- sections ---------- */
.section { padding: clamp(52px, 8vw, 104px) 0; }
.section-tight { padding: clamp(36px, 5vw, 64px) 0; }
.section-mint { background: var(--mint); }
.section-sand { background: var(--sand); }
.section-petrol { background: var(--petrol); color: var(--mint); }
.section-petrol h2, .section-petrol h3 { color: #fff; }
.section-petrol .lead, .section-petrol .small { color: var(--mint); opacity: .9; }
.section-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: clamp(28px, 4vw, 44px); max-width: 44em; }
.section-head .row { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.more { font-weight: 600; font-size: .9rem; color: var(--petrol); white-space: nowrap; }
.more:hover { color: var(--coral-deep); }
.rule-coral { display: block; width: 56px; height: 3px; background: var(--coral); border-radius: 2px; }

/* ---------- hero ---------- */
.hero { padding: clamp(44px, 7vw, 96px) 0 clamp(40px, 6vw, 80px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 45fr) minmax(0, 55fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero h1 { margin: 14px 0 18px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; font-size: .82rem; color: var(--muted); font-weight: 500; }
.trust > span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); margin-right: 8px; vertical-align: 1px; }
.hero-visual { position: relative; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { order: 2; min-width: 0; }
}

/* ---------- proof strip ---------- */
.proof { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-item { padding: clamp(18px, 3vw, 30px) clamp(14px, 2vw, 26px); border-left: 1px solid var(--line); }
.proof-item:first-child { border-left: 0; padding-left: 0; }
.proof-item b { display: block; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 600; color: var(--petrol); letter-spacing: -.02em; line-height: 1.1; }
.proof-item > span { display: block; font-size: .82rem; color: var(--muted); margin-top: 6px; line-height: 1.45; }
@media (max-width: 760px) { .proof-grid { grid-template-columns: repeat(2, 1fr); } .proof-item:nth-child(3) { border-left: 0; padding-left: 0; } .proof-item { border-top: 1px solid var(--line); } .proof-item:nth-child(-n+2) { border-top: 0; } }

/* ---------- speakers ---------- */
.speakers { display: grid; grid-template-columns: 1.3fr repeat(6, 1fr); gap: 14px; }
.speaker { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .18s ease; }
.speaker:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.speaker .portrait { aspect-ratio: 4 / 5; background: var(--mint); display: grid; place-items: center; overflow: hidden; }
.speaker .portrait img { width: 100%; height: 100%; object-fit: cover; }
.speaker .initials { font-weight: 600; font-size: clamp(1.6rem, 3vw, 2.6rem); color: var(--petrol); letter-spacing: -.02em; }
.speaker .body { padding: 14px 16px 16px; }
.speaker h3 { font-size: 1rem; }
.speaker .body p { font-size: .78rem; color: var(--muted); margin-top: 4px; line-height: 1.45; }
.speaker.featured { grid-row: span 1; }
.speaker.featured .portrait { aspect-ratio: 4 / 4.2; background: var(--sand); }
.speaker.featured h3 { font-size: 1.2rem; }
.speaker.featured .initials { font-size: clamp(2.4rem, 5vw, 4rem); }
.speaker .tag { position: absolute; top: 12px; left: 12px; }
@media (max-width: 1000px) { .speakers { grid-template-columns: repeat(3, 1fr); } .speaker.featured { grid-column: span 3; } .speaker.featured .portrait { aspect-ratio: 16 / 7; } }
@media (max-width: 560px) { .speakers { grid-template-columns: repeat(2, 1fr); } .speaker.featured { grid-column: span 2; } }

/* ---------- conversation cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card-conv { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .18s ease; }
.card-conv:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-conv .media { position: relative; aspect-ratio: 16 / 9; background: var(--mint); overflow: hidden; }
.card-conv .media img { width: 100%; height: 100%; object-fit: cover; }
.card-conv .media .tag { position: absolute; top: 10px; left: 10px; }
.card-conv .body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-conv .who { font-size: .74rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--coral-deep); }
.card-conv h3 { font-size: 1.05rem; line-height: 1.3; }
.card-conv .desc { font-size: .84rem; color: var(--muted); }
.card-conv .meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: auto; padding-top: 12px; font-size: .78rem; color: var(--muted); }
.card-conv .meta .has-cert { color: var(--petrol); font-weight: 600; }
.card-conv .foot { padding: 0 18px 18px; }
.card-conv .foot .btn { width: 100%; }
@media (max-width: 900px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding-bottom: 8px; margin: 0 -18px; padding-left: 18px; padding-right: 18px; } .card-conv { flex: 0 0 82%; scroll-snap-align: start; } }

/* ---------- launch reveal: three doors ---------- */
.reveal-head { text-align: center; max-width: 36em; margin: 0 auto clamp(28px, 4vw, 48px); }
.doors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.door { display: block; position: relative; padding: clamp(24px, 3vw, 40px); border-radius: 18px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); min-height: 250px; overflow: hidden; transition: transform .18s ease, box-shadow .18s ease; }
.door:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }
.door .k { font-size: .7rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--sage); }
.door h3 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin: 10px 0 4px; letter-spacing: -.025em; }
.door .verb { font-size: 1rem; color: var(--coral-deep); font-weight: 600; }
.door p { margin-top: 16px; font-size: .92rem; color: var(--muted); }
.door .go { position: absolute; right: 22px; bottom: 18px; font-weight: 600; color: var(--petrol); font-size: .88rem; }
.door.d2 { background: var(--mint); } .door.d3 { background: var(--sand); }
@media (max-width: 760px) { .doors { grid-template-columns: 1fr; } .door { min-height: 0; } }

/* ---------- courses split ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.split .visual { border-radius: 18px; overflow: hidden; background: var(--mint); min-height: 320px; position: relative; display: flex; align-items: center; padding: clamp(28px, 4vw, 48px) 9%; }
.split .visual .texture { position: absolute; inset: 0; background:
  repeating-linear-gradient(0deg, transparent 0 34px, rgba(44,74,84,.10) 34px 35px),
  linear-gradient(135deg, var(--mint), var(--sand)); }
.split .visual .quote { position: relative; margin: 0; width: 100%; font-size: clamp(1rem, 1.5vw, 1.2rem); font-weight: 500; color: var(--petrol); line-height: 1.6; }
.split .visual .quote::before { content: "“"; display: block; font-size: 3rem; line-height: .6; color: var(--coral); margin-bottom: 10px; }
.split .visual .quote cite { display: block; margin-top: 14px; font-style: normal; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.course-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 22px; }
.course-meta .tag { background: var(--paper); border: 1px solid var(--line); }
.soon { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 600; color: var(--coral-deep); }
.soon::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .soon::before { animation: none; } .btn, .card-conv, .speaker, .door { transition: none; } }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ---------- immersion band ---------- */
.immersion { position: relative; overflow: hidden; }
.immersion .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .9fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.immersion h2 { font-size: clamp(1.9rem, 4vw, 3rem); letter-spacing: -.025em; }
.immersion .facts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 22px 0 26px; font-size: .9rem; color: var(--mint); }
.immersion .facts > span { display: inline-flex; align-items: center; gap: 8px; }
.immersion .facts > span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--coral); }
.immersion .visual { aspect-ratio: 4 / 3; border-radius: 18px; background: linear-gradient(160deg, rgba(220,232,227,.16), rgba(220,232,227,.04)); border: 1px solid rgba(220,232,227,.25); display: grid; place-items: center; text-align: center; padding: 24px; color: var(--mint); }
.immersion .visual .big { font-size: clamp(3rem, 6vw, 5rem); font-weight: 600; line-height: 1; color: #fff; letter-spacing: -.03em; }
.immersion .visual .big small { display: block; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--coral); margin-top: 10px; font-weight: 600; }
@media (max-width: 860px) { .immersion .wrap { grid-template-columns: 1fr; } .immersion .visual { aspect-ratio: 16 / 9; } }

/* ---------- certificates stepper ---------- */
.cert-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.steps li::before { counter-increment: s; content: counter(s); width: 44px; height: 44px; border-radius: 50%; background: var(--petrol); color: var(--mint); display: grid; place-items: center; font-weight: 600; }
.steps h3 { font-size: 1.02rem; }
.steps p { font-size: .88rem; color: var(--muted); margin-top: 2px; }
.cert-shot { position: relative; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); aspect-ratio: 1200 / 700; }
.cert-shot img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
.cert-shot .lbl { position: absolute; top: 12px; left: 12px; }
@media (max-width: 860px) { .cert-grid { grid-template-columns: 1fr; } }

/* ---------- origin & founder ---------- */
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.prose p { margin-bottom: 1.1em; max-width: 62ch; color: var(--ink); }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--petrol); }
.founder { display: grid; grid-template-columns: minmax(200px, 320px) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.founder .photo { border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--mint); }
.founder .photo img { width: 100%; height: 100%; object-fit: cover; }
.founder .roles { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin: 8px 0 16px; }
@media (max-width: 760px) { .story, .founder { grid-template-columns: 1fr; } .founder .photo { max-width: 280px; } }

/* ---------- final CTA ---------- */
.final { text-align: center; }
.final h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
.final .actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* ---------- footer ---------- */
.footer { background: var(--petrol); color: var(--mint); padding: clamp(40px, 6vw, 72px) 0 32px; margin-top: clamp(40px, 6vw, 80px); }
.footer a { color: var(--mint); }
.footer a:hover { color: var(--coral); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 28px; }
.footer .brand { display: flex; align-items: center; gap: 10px; color: #fff; }
.footer .brand svg { width: 44px; height: auto; }
.footer .brand span { font-weight: 900; font-size: .84rem; letter-spacing: .12em; text-transform: uppercase; }
.footer .brand span b { color: var(--coral); }
.footer h4 { color: #fff; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 12px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .88rem; }
.footer .tagline { margin-top: 14px; font-size: .88rem; opacity: .85; max-width: 32em; }
.footer .colophon { margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(220,232,227,.25); font-size: .78rem; opacity: .8; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- page hero (sub pages) ---------- */
.page-hero { padding: clamp(40px, 6vw, 80px) 0 clamp(28px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.page-hero h1 { margin: 12px 0 14px; font-size: clamp(2rem, 4.6vw, 3.2rem); letter-spacing: -.025em; }
.page-hero .sofa { color: var(--coral); }

/* ---------- forms (shared by app pages) ---------- */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: clamp(20px, 3vw, 30px); }
.app-card { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: clamp(20px, 3vw, 30px); max-width: 44em; }
.app-card h3 { margin-bottom: 6px; font-size: 1.2rem; }
.grid-2 { display: grid; grid-template-columns: minmax(200px, 300px) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.grid-2 .side { position: sticky; top: calc(var(--navh) + 20px); }
.grid-2 .side h2 { font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--coral-deep); padding-top: 12px; border-top: 3px solid var(--petrol); margin-bottom: 10px; }
.grid-2 .side p { font-size: .86rem; color: var(--muted); }
@media (max-width: 820px) { .grid-2 { grid-template-columns: 1fr; } .grid-2 .side { position: static; } }
.sec-grid { display: grid; grid-template-columns: minmax(200px, 300px) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; }   /* legacy alias */
.sec-label { position: sticky; top: calc(var(--navh) + 20px); }
.sec-label h2 { font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--coral-deep); padding-top: 12px; border-top: 3px solid var(--petrol); margin-bottom: 10px; }
.sec-label p { font-size: .86rem; color: var(--muted); }
@media (max-width: 820px) { .sec-grid { grid-template-columns: 1fr; } .sec-label { position: static; } }
.cert-form, .form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.field label span:not(.pt):not(.en) { font-weight: 400; letter-spacing: 0; text-transform: none; }
.field input, .field textarea, .field select { font-family: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; width: 100%; }
.field textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--petrol); box-shadow: 0 0 0 3px rgba(44,74,84,.15); }
.form-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-note { font-size: .84rem; color: var(--muted); }
.cert-error { font-size: .86rem; color: #B4462E; font-weight: 500; }
.cert-hint { font-size: .8rem; color: var(--muted); }
.cert-hint.ok { color: var(--petrol); font-weight: 600; }
.cert-talk { background: var(--mint); border-left: 3px solid var(--sage); padding: 14px 18px; border-radius: 0 10px 10px 0; }
.cert-talk .media-kind { font-size: .66rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--petrol); margin-bottom: 4px; }
.cert-talk h3 { font-size: 1.1rem; }
.cert-talk p:last-child { font-size: .82rem; color: var(--muted); }
.media-kind { font-size: .66rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--coral-deep); }
.cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; font-size: .9rem; padding: 13px 22px; border-radius: 10px; border: 1.5px solid var(--petrol); background: var(--petrol); color: var(--mint); cursor: pointer; text-decoration: none; transition: transform .15s ease, background .15s ease; }
.cta:hover { background: var(--petrol-deep); color: #fff; transform: translateY(-1px); }
.cta[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.app-link { font-size: .84rem; color: var(--muted); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.app-link:hover { color: var(--coral-deep); }
.app-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.app-tab { font-size: .8rem; font-weight: 600; letter-spacing: .04em; background: none; border: 0; border-bottom: 2px solid transparent; padding: 10px 14px; color: var(--muted); cursor: pointer; margin-bottom: -1px; }
.app-tab.active { color: var(--petrol); border-bottom-color: var(--coral); }
.app-check { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; color: var(--muted); line-height: 1.5; }
.app-check input { margin-top: 4px; }
.app-msg { margin-top: 18px; padding: 14px 18px; background: var(--mint); border-left: 3px solid var(--sage); border-radius: 0 10px 10px 0; font-size: .88rem; }
.callout { margin-top: 26px; padding: 16px 20px; border-left: 3px solid var(--sage); background: var(--mint); border-radius: 0 10px 10px 0; font-size: .9rem; }
.callout.ok { border-left-color: var(--sage); }
.callout.bad { background: #F6DED3; border-left-color: var(--coral); }
.links-row { display: flex; flex-wrap: wrap; gap: 10px; }
.link-pill { font-size: .78rem; font-weight: 600; border: 1px solid var(--line); border-radius: 999px; padding: 9px 18px; color: var(--petrol); background: var(--paper); }
.link-pill:hover { border-color: var(--coral); color: var(--coral-deep); }
.cert-tabs { display: flex; gap: 4px; margin: 28px 0 -10px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.cert-tabs a { font-size: .8rem; font-weight: 600; color: var(--muted); padding: 12px 16px; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.cert-tabs a[aria-current="true"] { color: var(--petrol); border-bottom-color: var(--coral); }
.cert-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; align-items: center; }
.cert-stage { overflow: hidden; }
.cert-scale { transform-origin: top left; width: 1123px; }
.app-steps { margin: 12px 0 0; padding-left: 22px; font-size: .95rem; line-height: 1.6; color: var(--muted); }
.app-steps li { margin-bottom: 8px; }
.app-steps strong { color: var(--ink); }
.ios-share { width: 18px; height: 18px; vertical-align: -3px; fill: var(--petrol); }

/* ---------- library (conversas) ---------- */
.app-filters { display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px; }
.app-search { font-family: inherit; font-size: .95rem; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; width: 100%; max-width: 520px; }
.app-search:focus { outline: none; border-color: var(--petrol); box-shadow: 0 0 0 3px rgba(44,74,84,.15); }
.app-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.season-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin: 40px 0 8px; padding-top: 14px; border-top: 3px solid var(--petrol); }
.season-head:first-child { margin-top: 0; }
.season-head h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); }
.season-head p { font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.app-tema-desc { margin: 0 0 14px; font-size: .86rem; color: var(--muted); }
.programme { list-style: none; margin: 0; padding: 0; }
.programme li { display: grid; grid-template-columns: 96px minmax(0, 1fr) 170px; gap: 4px 22px; padding: 18px 0; border-top: 1px solid var(--line); align-items: start; }
.programme li:first-child { border-top: 0; }
.programme .tl-year { font-size: .78rem; font-weight: 600; color: var(--coral-deep); padding-top: 4px; }
.programme .tl-year small { display: block; font-weight: 500; color: var(--muted); margin-top: 2px; }
.programme .tl-title { font-size: 1.08rem; }
.programme .tl-title a { color: var(--petrol); }
.programme .tl-title a:hover { color: var(--coral-deep); }
.programme .topic { margin-top: 3px; font-size: .88rem; color: var(--muted); }
.programme .app-meta { margin-top: 4px; font-size: .74rem; color: var(--sage); font-weight: 500; }
.programme .thumb { display: block; position: relative; aspect-ratio: 16 / 9; background: var(--mint); overflow: hidden; border-radius: 10px; }
.programme .thumb img { width: 100%; height: 100%; object-fit: cover; }
.programme .thumb .dur { position: absolute; right: 6px; bottom: 6px; font-size: .62rem; font-weight: 600; background: rgba(34,56,63,.85); color: var(--cream); padding: 3px 7px; border-radius: 4px; }
.tl-tag { display: inline-block; font-size: .6rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--petrol); background: var(--mint); border-radius: 999px; padding: 3px 9px; vertical-align: middle; margin-left: 8px; white-space: nowrap; }
.tl-tag.tag-done { background: var(--coral); color: #fff; }
.tl-tag.tag-new { background: transparent; border: 1px dashed var(--line); color: var(--muted); }
.app-progress { height: 4px; background: var(--line); border-radius: 2px; overflow: hidden; margin: 10px 0 8px; max-width: 420px; }
.app-progress span { display: block; height: 100%; background: var(--coral); transition: width .3s ease; }
.app-progress.big { height: 6px; max-width: none; margin: 14px 0 8px; }
.app-status p { font-size: .84rem; color: var(--muted); }
.app-status b { color: var(--ink); }
.app-cta { display: inline-block; font-size: .8rem; font-weight: 600; color: var(--coral-deep); background: none; border: 0; padding: 0; cursor: pointer; }
.app-cta:hover { color: var(--petrol); }
.app-side { margin-top: 12px !important; }
#continue .programme { margin-bottom: 26px; }
@media (max-width: 640px) { .programme li { grid-template-columns: 1fr; } .programme .thumb { max-width: 280px; } }

/* ---------- player ---------- */
.app-player-wrap { background: #142229; border-radius: 16px; overflow: hidden; border-top: 3px solid var(--coral); padding: 0 0 12px; }
.app-player-wrap:fullscreen { display: flex; flex-direction: column; justify-content: center; border-radius: 0; }
.app-player { position: relative; aspect-ratio: 16 / 9; background: #0d171c; }
.app-player iframe, .app-player #yt { position: absolute; inset: 0; width: 100%; height: 100%; }
.app-player-shield { position: absolute; inset: 0; cursor: pointer; }
.app-controls { display: flex; align-items: center; gap: 12px; padding: 12px 16px 6px; color: var(--cream); }
.app-btn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(245,238,225,.25); background: transparent; color: var(--cream); display: grid; place-items: center; cursor: pointer; flex: none; }
.app-btn svg { width: 20px; height: 20px; fill: currentColor; }
.app-btn:hover { background: rgba(245,238,225,.12); }
.app-btn.off { opacity: .5; }
.app-time { font-size: .74rem; font-variant-numeric: tabular-nums; color: var(--sand); flex: none; min-width: 96px; }
.app-bar { position: relative; flex: 1; height: 8px; background: rgba(245,238,225,.18); border-radius: 4px; cursor: pointer; overflow: hidden; }
.app-bar-allowed { position: absolute; left: 0; top: 0; bottom: 0; background: rgba(143,174,168,.45); }
.app-bar-pos { position: absolute; left: 0; top: 0; bottom: 0; background: var(--coral); }
.app-hint { margin: 4px 16px 0; font-size: .74rem; color: var(--sand); opacity: .8; transition: opacity .2s, color .2s; }
.app-hint.flash { opacity: 1; color: var(--coral); }
.app-title { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 6px; }
.app-speaker { font-size: .9rem; color: var(--muted); margin-bottom: 14px; }
.app-desc { font-size: 1rem; color: var(--muted); max-width: 60ch; margin-bottom: 22px; }
@media (max-width: 640px) { .app-time { display: none; } }

/* ---------- certificate preview (live certificate page) ---------- */
.cert { position: relative; width: 1123px; height: 794px; box-sizing: border-box; background: #F5EEE1; color: #22383F; padding: 54px 90px 46px; display: flex; flex-direction: column; align-items: center; text-align: center; box-shadow: var(--shadow); font-family: "Fraunces", Georgia, serif; }
.cert-frame { position: absolute; inset: 22px; border: 2px solid #2C4A54; pointer-events: none; }
.cert-frame::after { content: ""; position: absolute; inset: 7px; border: 1px solid #E8846A; }
.cert-corner { position: absolute; width: 26px; height: 26px; border: 2px solid #E8846A; pointer-events: none; }
.cert-corner.tl { top: 40px; left: 40px; border-right: 0; border-bottom: 0; } .cert-corner.tr { top: 40px; right: 40px; border-left: 0; border-bottom: 0; }
.cert-corner.bl { bottom: 40px; left: 40px; border-right: 0; border-top: 0; } .cert-corner.br { bottom: 40px; right: 40px; border-left: 0; border-top: 0; }
.cert-top { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.cert-emblem { width: 118px; height: auto; display: block; margin-bottom: 2px; }
.cert-brand { font-family: var(--font); font-weight: 900; font-size: 15px; letter-spacing: .28em; text-transform: uppercase; color: #2C4A54; }
.cert-brand span { color: #E8846A; }
.cert-title { margin: 10px 0 0; font-family: "Fraunces", Georgia, serif; font-weight: 400; font-size: 46px; line-height: 1; color: #2C4A54; }
.cert-rule { display: block; width: 72px; height: 2px; background: #E8846A; margin-top: 16px; }
.cert-body { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 0 20px; }
.cert-lead { margin: 0 0 8px; font-family: var(--font); font-size: 13px; letter-spacing: .3em; text-transform: uppercase; color: #5F6E72; }
.cert-name { margin: 0 0 20px; font-size: 60px; font-weight: 400; font-style: italic; line-height: 1.1; color: #22383F; padding: 0 28px 10px; border-bottom: 1px solid #2C4A54; min-width: 460px; max-width: 920px; }
.cert-text { max-width: 800px; font-size: 19.5px; line-height: 1.6; }
.cert-text em { color: #2C4A54; } .cert-text strong { font-weight: 600; color: #2C4A54; }
.cert-bottom { width: 100%; display: grid; grid-template-columns: 1fr 190px 1fr; align-items: end; gap: 24px; }
.cert-sign { text-align: center; padding-top: 12px; border-top: 1px solid #2C4A54; max-width: 380px; justify-self: end; width: 100%; height: 92px; }
.cert-sig-name { font-size: 16.5px; font-weight: 600; color: #2C4A54; white-space: nowrap; }
.cert-sig-role { margin-top: 3px; font-family: var(--font); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: #5F6E72; }
.cert-sig-cred { margin-top: 7px; font-family: var(--font); font-size: 10px; line-height: 1.5; color: #5F6E72; }
.cert-seal svg { width: 176px; height: 176px; display: block; margin: 0 auto -6px; }
.cert-issue { text-align: center; justify-self: start; max-width: 380px; width: 100%; padding-top: 12px; height: 92px; border-top: 1px solid #2C4A54; font-family: var(--font); font-size: 10.5px; line-height: 1.7; color: #5F6E72; }
.cert-issue b { color: #22383F; font-weight: 600; }
@media print { .nav, .footer, .page-hero, .section:not(#preview-section), .sec-label, .announce, .cert-tabs { display: none !important; } @page { size: A4 landscape; margin: 0; } .cert-scale { transform: none !important; height: auto !important; } .sec-grid { display: block; } .cert { box-shadow: none; width: 297mm; height: 210mm; } }

/* ---------- misc ---------- */
.state { padding: 18px 20px; border-radius: 12px; background: var(--paper); border: 1px dashed var(--line); font-size: .9rem; color: var(--muted); }
.reveal { opacity: 1; }
@media (max-width: 600px) {
  .nav-inner { gap: 10px; }
  .nav-brand span { display: none; }
  .nav-right { gap: 6px; }
  .nav-account .btn-sm { padding: 8px 12px; font-size: .74rem; }
  .lang button { padding: 5px 8px; }
}
.cards { max-width: 100%; }

/* hero carousel */
.hero-visual { min-height: 0; min-width: 0; max-width: 100%; }
.strip { min-width: 0; max-width: 100%; }
.strip { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 4px 14px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.strip::-webkit-scrollbar { display: none; }
.strip-card { flex: 0 0 min(62%, 250px); scroll-snap-align: start; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; color: var(--ink); box-shadow: var(--shadow); transition: transform .18s ease; }
.strip-card:hover { transform: translateY(-3px); color: var(--ink); }
.strip-card .media { aspect-ratio: 16 / 10; background: var(--mint); overflow: hidden; }
.strip-card .media img { width: 100%; height: 100%; object-fit: cover; }
.strip-card .media .mono { width: 100%; height: 100%; display: grid; place-items: center; background: var(--petrol); color: var(--mint); font-weight: 600; font-size: 2rem; }
.strip-card .cap { padding: 10px 12px 12px; display: grid; gap: 2px; }
.strip-card .cap b { font-size: .86rem; font-weight: 600; color: var(--petrol); }
.strip-card .cap span { font-size: .74rem; color: var(--muted); }
.strip-nav { display: flex; justify-content: flex-end; gap: 8px; margin-top: 2px; }
.strip-btn { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--petrol); font-size: 1.2rem; line-height: 1; cursor: pointer; }
.strip-btn:hover { border-color: var(--coral); color: var(--coral-deep); }
@media (max-width: 860px) { .strip-card { flex-basis: min(66%, 240px); } .strip-founders .strip-card { flex-basis: min(78%, 260px); } }

/* portraits & team */
.speaker .portrait img, .strip-card .media img.portrait { width: 100%; height: 100%; object-fit: cover; display: block; }
.strip-card .media img.portrait { object-fit: contain; padding: 10px 0; box-sizing: border-box; }
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 22px; margin-top: 28px; }
.member { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 22px 20px; text-align: center; }
.member .avatar { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 14px; background: var(--mint); display: grid; place-items: center; overflow: hidden; color: var(--petrol); font-weight: 600; font-size: 1.4rem; letter-spacing: .04em; }
.member .avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transform: scale(1.5); transform-origin: 50% 26%; }
.member h3 { font-size: 1.05rem; margin: 0 0 4px; }
.member .role { font-size: .82rem; color: var(--coral); font-weight: 600; margin: 0 0 8px; }
.member .bio { font-size: .88rem; color: var(--muted); margin: 0; }

/* founders carousel */
.strip-founders .strip-card { flex: 0 0 min(78%, 260px); }
.founder-card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 26px 18px 22px; }
.founder-card .avatar { width: 110px; height: 110px; border-radius: 50%; background: var(--mint); display: grid; place-items: center; overflow: hidden; color: var(--petrol); font-weight: 600; font-size: 1.5rem; letter-spacing: .04em; margin-bottom: 14px; border: 3px solid var(--sand); }
.founder-card .avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transform: scale(1.5); transform-origin: 50% 26%; }
.founder-card .cap { padding: 0; gap: 4px; justify-items: center; }
.founder-card .cap b { font-size: .98rem; }
.founder-card .cap .role { color: var(--coral); font-weight: 600; font-size: .78rem; }
.founder-card .cap .ig { color: var(--petrol); font-weight: 600; font-size: .76rem; margin-top: 4px; }
.section-head .row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }

/* founder spotlight */
.spotlight { display: grid; margin-top: 8px; }
.spotlight .spot { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }
.spotlight .spot.active { opacity: 1; visibility: visible; }
.founder .photo .mono { width: 100%; height: 100%; display: grid; place-items: center; background: var(--petrol); color: var(--mint); font-weight: 600; font-size: clamp(3rem, 8vw, 5rem); letter-spacing: .04em; }
.founder .photo img { object-position: 50% 15%; }
.spot-dots { display: flex; gap: 8px; margin-top: 22px; }
.spot-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: var(--line); cursor: pointer; padding: 0; transition: transform .2s, background .2s; }
.spot-dots button.active { background: var(--coral); transform: scale(1.3); }
.spot-dots button:hover { background: var(--sage); }
