/* =========================================================================
   Colóquio SinSaúdeSP — Landing page
   Identidade: azul #2689E5 · amarelo #F2C230 · vermelho #EE4C43
   Fontes: Montserrat (texto e títulos) + Bebas Neue (números/horários)
   ========================================================================= */

:root {
  --blue: #2689e5;
  --blue-600: #1a73d1;
  --blue-700: #135cb0;
  --blue-900: #0b2f5e;
  --navy: #0a2346;
  --sky: #eaf4fe;
  --sky-2: #d7e9fc;
  --yellow: #f2c230;
  --yellow-600: #d9a810;
  --red: #ee4c43;
  --red-600: #d63a31;
  --ink: #12243b;
  --text: #33465e;
  --muted: #5d6f86;
  --line: #d6e5f5;
  --white: #fff;
  --ok: #1f9d63;
  --err: #c62f26;

  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 8px rgba(11, 47, 94, .06);
  --shadow: 0 18px 40px -18px rgba(11, 47, 94, .28);
  --shadow-lg: 0 30px 70px -25px rgba(11, 47, 94, .4);

  --f-sans: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --f-display: "Bebas Neue", "Montserrat", Impact, sans-serif;
  --fs: 1rem;
  --header-h: 72px;
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
html[data-font="1"] { font-size: 112.5%; }
html[data-font="2"] { font-size: 125%; }
html[data-font="-1"] { font-size: 93.75%; }
body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: var(--fs);
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue-700); text-underline-offset: 3px; }
a:hover { color: var(--blue); }
h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0; }
p { margin: 0 0 1rem; }
strong { color: var(--ink); font-weight: 700; }
.ico { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sprite { position: absolute; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.container { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  background: var(--navy); color: #fff; padding: .75rem 1.25rem; border-radius: 10px; font-weight: 700;
}
.skip-link:focus { top: 1rem; color: #fff; }

/* ---------------------------------------------------------------- header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .3s, box-shadow .3s, height .3s;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  box-shadow: 0 1px 0 var(--line), var(--shadow-sm);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--blue); }
.brand img { width: 40px; height: 40px; object-fit: contain; transition: transform .5s cubic-bezier(.34, 1.56, .64, 1); }
.brand:hover img { transform: rotate(-12deg) scale(1.08); }
.brand-text { font-weight: 800; font-size: 1.05rem; letter-spacing: -.01em; text-transform: uppercase; color: var(--blue); }
.brand-text strong { color: var(--blue); font-weight: 900; }

.main-nav { display: flex; align-items: center; gap: .25rem; }
.main-nav a {
  position: relative; padding: .55rem .85rem; border-radius: 999px;
  font-weight: 600; font-size: .92rem; color: var(--ink); text-decoration: none;
  transition: color .2s, background .2s;
}
.main-nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 50%; bottom: .3rem; width: 0; height: 2px; border-radius: 2px;
  background: var(--blue); transition: width .25s, left .25s;
}
.main-nav a:not(.nav-cta):hover::after, .main-nav a.is-active::after { width: 40%; left: 30%; }
.main-nav a:hover, .main-nav a.is-active { color: var(--blue); }
.main-nav .nav-cta {
  margin-left: .5rem; background: var(--blue); color: #fff; padding: .6rem 1.2rem;
  box-shadow: 0 6px 16px -6px rgba(38, 137, 229, .7);
}
.main-nav .nav-cta:hover { background: var(--blue-700); color: #fff; }
.menu-toggle {
  display: none; border: 0; background: var(--sky); color: var(--blue-700);
  width: 46px; height: 46px; border-radius: 14px; place-items: center; cursor: pointer;
}
.menu-toggle .ico { width: 24px; height: 24px; }

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative; isolation: isolate;
  padding: calc(var(--header-h) + 3rem) 0 5rem;
  background: linear-gradient(180deg, #f5faff 0%, #fff 100%);
  overflow: hidden;
}
.hero-waves {
  position: absolute; inset: 0; z-index: -1;
  background: url("../assets/bg-ondas.webp") center / cover no-repeat;
  opacity: .9;
  mask-image: linear-gradient(180deg, #000 70%, transparent);
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; align-items: center; }

.badges { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0 0 1.25rem; }
.badge {
  font-family: var(--f-display); font-size: 1.05rem; letter-spacing: .06em;
  padding: .3rem .85rem .2rem; border-radius: 999px; line-height: 1.2;
}
.badge-blue { background: var(--blue); color: #fff; }
.badge-yellow { background: var(--yellow); color: var(--navy); }
.badge-red { background: var(--red); color: #fff; }

.hero-title { margin: 0 0 1.25rem; }
.ht-line {
  display: block; font-weight: 900; text-transform: uppercase; color: var(--blue);
  font-size: clamp(2.6rem, 7.2vw, 5.6rem); line-height: .98; letter-spacing: -.02em;
  text-shadow: 0 3px 0 #fff, 0 10px 30px rgba(38, 137, 229, .18);
}
.ht-sub {
  display: block; margin-top: .9rem; font-weight: 900; font-style: italic; text-transform: uppercase;
  color: var(--blue); font-size: clamp(1rem, 2.1vw, 1.45rem); letter-spacing: -.01em;
}
.hero-lead { font-size: 1.08rem; max-width: 36rem; color: var(--text); }

.info-cards {
  list-style: none; padding: 0; margin: 1.75rem 0 2rem;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; max-width: 40rem;
}
.info-card {
  display: flex; align-items: center; gap: .85rem; padding: .85rem 1rem;
  background: rgba(255, 255, 255, .85); backdrop-filter: blur(6px);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.info-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--sky-2); }
.info-card--wide { grid-column: 1 / -1; }
.info-ico {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; flex: none;
  background: var(--blue); color: #fff; box-shadow: 0 8px 18px -8px rgba(38, 137, 229, .8);
}
.info-ico .ico { width: 24px; height: 24px; }
.info-card small { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: var(--muted); }
.info-card strong { display: block; font-family: var(--f-display); font-weight: 400; font-size: 1.65rem; letter-spacing: .02em; line-height: 1.05; color: var(--ink); }
.info-card em { display: block; font-style: normal; font-size: .85rem; color: var(--muted); }

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem; }

/* Arte do hero */
.hero-art { position: relative; aspect-ratio: 1; width: 100%; max-width: min(540px, 68vh); justify-self: center; align-self: start; margin-top: -1.5rem; }
.art-glow {
  position: absolute; inset: 10%; border-radius: 50%;
  background: radial-gradient(circle, rgba(38, 137, 229, .28), rgba(38, 137, 229, 0) 70%);
  filter: blur(10px);
}
.art-puzzle { position: relative; width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(11, 47, 94, .25)); animation: float 7s ease-in-out infinite; }
.piece { position: absolute; width: 54px; height: 54px; stroke: none; filter: drop-shadow(0 8px 12px rgba(11, 47, 94, .2)); }
.piece-1 { fill: var(--yellow); top: 2%; right: 8%; animation: drift 9s ease-in-out infinite; }
.piece-2 { fill: var(--red); bottom: 18%; left: -2%; width: 40px; height: 40px; animation: drift 11s ease-in-out -3s infinite reverse; }
.piece-3 { fill: var(--blue); top: 40%; right: -3%; width: 34px; height: 34px; animation: drift 8s ease-in-out -5s infinite; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-16px) rotate(-1.5deg); } }
@keyframes drift { 0%, 100% { transform: translate(0, 0) rotate(0); } 33% { transform: translate(8px, -14px) rotate(25deg); } 66% { transform: translate(-6px, 6px) rotate(-15deg); } }

.countdown-card {
  position: absolute; left: 50%; bottom: -1rem; transform: translateX(-50%);
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: 22px; padding: .8rem 1.1rem 1rem;
  box-shadow: var(--shadow-lg); text-align: center; min-width: 290px;
}
.cd-title { display: block; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .18em; color: var(--muted); margin-bottom: .35rem; }
.cd-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .45rem; }
.cd-grid span { background: var(--sky); border-radius: 12px; padding: .35rem .2rem .25rem; }
.cd-grid b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 2rem; line-height: 1; color: var(--blue); font-variant-numeric: tabular-nums; }
.cd-grid i { display: block; font-style: normal; font-size: .68rem; text-transform: uppercase; font-weight: 700; letter-spacing: .08em; color: var(--muted); }
.countdown-card.is-live .cd-grid { display: none; }

/* --------------------------------------------------------------- botões */
/* Botão 3D — adaptado de Uiverse.io by abhayexe (heavy-crab-27), licença MIT.
   Recolorido para o azul do Colóquio e com estados de foco/disabled. */
.btn-3d {
  --b1: #8cc4f7; --b2: #2689e5; --b3: #1a73d1; --b4: #135cb0;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 62px; padding: .9rem 1.9rem; border-radius: 20px;
  font: 800 1.05rem/1 var(--f-sans); letter-spacing: .01em; text-transform: uppercase; text-decoration: none;
  color: #fff; text-shadow: 0 1.5px rgba(10, 35, 70, .3); cursor: pointer;
  background: linear-gradient(180deg, var(--b1) 5%, var(--b2) 55%, var(--b3) 90%, var(--b4) 100%);
  border: 3px solid #b9dcfb; border-bottom-color: #1565c0; border-top-color: #d5ebfd;
  box-shadow: -14px 14px 14px rgba(11, 47, 94, .22), -4px 4px 0 var(--b4), -9px 9px 8px rgba(19, 92, 176, .35);
  transition: transform .35s ease, box-shadow .35s ease, background .35s ease;
}
.btn-3d .ico { width: 1.35em; height: 1.35em; transition: transform .3s; }
.btn-3d:hover { color: #fff; transform: translate(-2px, 4px); box-shadow: -4px 4px 4px rgba(11, 47, 94, .3), -2px 2px 0 var(--b4); background: linear-gradient(180deg, var(--b4) 5%, var(--b2) 55%, var(--b1) 100%); }
.btn-3d:hover .ico { transform: translateX(4px); }
.btn-3d:active { transition-duration: 50ms; transform: translate(-4px, 8px); box-shadow: -1px 1px 0 var(--navy); }
.btn-3d--block { width: 100%; margin-top: .5rem; }
.btn-3d[disabled] { cursor: progress; filter: saturate(.85); transform: translate(-2px, 4px); }

/* Botão pílula com círculo — adaptado de Uiverse.io by elijahgummer (hard-turkey-58), licença MIT. */
.btn-pill {
  position: relative; display: inline-flex; align-items: center; gap: .75rem;
  padding: .45rem .5rem .45rem 1.4rem; border-radius: 999px;
  font-weight: 700; color: var(--blue-700); text-decoration: none;
  background: linear-gradient(180deg, #fff, #eef6ff); border: 1px solid var(--sky-2);
  box-shadow: 0 2px 4px rgba(11, 47, 94, .08), 0 10px 20px rgba(11, 47, 94, .08);
  transition: all .2s ease;
}
.btn-pill:hover { color: var(--blue); box-shadow: 0 2px 4px rgba(11, 47, 94, .1), 0 14px 26px rgba(11, 47, 94, .14); }
.btn-pill:active { transform: translateY(2px); }
.btn-pill-ico {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(180deg, var(--blue), var(--blue-700)); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35);
  transition: transform .4s ease-in-out;
}
.btn-pill:hover .btn-pill-ico { transform: rotate(-35deg); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: .55rem; padding: .7rem 1.15rem; border-radius: 14px;
  font: 700 .92rem/1.2 var(--f-sans); color: var(--blue-700); text-decoration: none; cursor: pointer;
  background: #fff; border: 2px solid var(--sky-2); transition: border-color .2s, background .2s, transform .2s;
}
.btn-ghost:hover { border-color: var(--blue); background: var(--sky); transform: translateY(-2px); color: var(--blue-700); }
.link-btn { background: none; border: 0; color: var(--blue-700); font: 600 .9rem var(--f-sans); text-decoration: underline; cursor: pointer; margin-top: 1.25rem; }

/* --------------------------------------------------------------- marquee */
.marquee { background: var(--blue); color: #fff; overflow: hidden; padding: .85rem 0; transform: rotate(-1.2deg) scale(1.02); box-shadow: var(--shadow); position: relative; z-index: 2; }
.marquee-track { display: flex; align-items: center; gap: 1.6rem; width: max-content; animation: marquee 32s linear infinite; }
.marquee span { font-family: var(--f-display); font-size: 1.9rem; letter-spacing: .05em; white-space: nowrap; }
.dot { width: 14px; height: 14px; border-radius: 4px; transform: rotate(45deg); flex: none; }
.dot-y { background: var(--yellow); } .dot-r { background: var(--red); } .dot-w { background: #fff; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* -------------------------------------------------------------- seções */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; position: relative; }
.section--sky { background: var(--sky); }
.section--waves { background: #fff url("../assets/bg-ondas.webp") center / cover; }
.section-head { max-width: 46rem; margin-bottom: 2.5rem; }
.section-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 .6rem;
  font-family: var(--f-display); font-size: 1.15rem; letter-spacing: .14em; color: var(--blue);
}
.eyebrow::before { content: ""; width: 26px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--yellow) 0 33%, var(--red) 33% 66%, var(--blue) 66%); }
.eyebrow--light { color: #fff; }
.section-title { font-weight: 900; font-size: clamp(1.9rem, 4vw, 2.9rem); letter-spacing: -.025em; text-transform: uppercase; }
.section-title--light { color: #fff; margin-bottom: 1rem; }
.section-sub { color: var(--muted); font-weight: 600; margin: .5rem 0 0; }
.hl { color: var(--blue); position: relative; white-space: nowrap; }
.hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: .08em; height: .28em; background: var(--yellow); opacity: .55; z-index: -1; border-radius: 4px; }

/* Sobre */
.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: start; }
.about-text p { font-size: 1.03rem; }
.about-text .section-title { margin-bottom: 1.4rem; }
.quote {
  display: flex; align-items: center; gap: .8rem; margin: 1.75rem 0 0; padding: 1.1rem 1.3rem;
  background: var(--sky); border-left: 5px solid var(--yellow); border-radius: 0 var(--radius) var(--radius) 0;
  font-weight: 700; color: var(--ink); font-size: 1.1rem;
}
.quote .ico { width: 30px; height: 30px; fill: var(--red); stroke: none; }
.pillars { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.pillar {
  --c: var(--blue);
  position: relative; display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; align-items: center;
  padding: 1.05rem 1.2rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .3s, box-shadow .3s;
}
.pillar::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: var(--c); }
.pillar:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.pillar--yellow { --c: var(--yellow); } .pillar--red { --c: var(--red); }
.pillar-ico { grid-row: span 2; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: color-mix(in srgb, var(--c) 16%, #fff); color: var(--c); }
.pillar--yellow .pillar-ico { color: var(--yellow-600); }
.pillar-ico .ico { width: 26px; height: 26px; }
.pillar h3 { font-size: 1.05rem; font-weight: 800; }
.pillar p { margin: .15rem 0 0; font-size: .92rem; color: var(--muted); line-height: 1.5; }

/* Público */
.audience { list-style: none; padding: 0; margin: 0 0 1.25rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.audience-chip {
  display: inline-flex; align-items: center; gap: .55rem; padding: .75rem 1.3rem .75rem 1rem;
  background: #fff; border: 2px solid var(--sky-2); border-radius: 999px;
  font-weight: 800; color: var(--ink); font-size: 1.05rem; box-shadow: var(--shadow-sm);
  transition: transform .25s, border-color .25s, background .25s;
}
.audience-chip .ico { width: 22px; height: 22px; fill: var(--blue); stroke: none; transition: transform .4s; }
.audience-chip:nth-child(3n+2) .ico { fill: var(--yellow); }
.audience-chip:nth-child(3n) .ico { fill: var(--red); }
.audience-chip:hover { transform: translateY(-3px); border-color: var(--blue); }
.audience-chip:hover .ico { transform: rotate(90deg); }
.audience-note { max-width: 46rem; color: var(--text); }

.stats { list-style: none; padding: 0; margin: 3rem 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stat {
  position: relative; padding: 1.6rem 1.2rem 1.3rem; border-radius: var(--radius-lg); text-align: center;
  background: linear-gradient(160deg, var(--blue) 0%, var(--blue-700) 100%); color: #fff; overflow: hidden;
  box-shadow: var(--shadow);
}
.stat::after { content: ""; position: absolute; width: 120px; height: 120px; right: -40px; top: -40px; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.stat:nth-child(2) { background: linear-gradient(160deg, #f6cf4d, var(--yellow-600)); color: var(--navy); }
.stat:nth-child(3) { background: linear-gradient(160deg, #f36b63, var(--red-600)); }
.stat:nth-child(4) { background: linear-gradient(160deg, var(--blue-700), var(--navy)); }
.stat strong { display: block; font-family: var(--f-display); font-weight: 400; font-size: clamp(3rem, 6vw, 4.2rem); line-height: 1; color: inherit; }
.stat span { display: block; font-weight: 700; font-size: .9rem; opacity: .95; }

/* Programação */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; max-width: 900px; }
.timeline::before { content: ""; position: absolute; top: 12px; bottom: 12px; left: calc(92px + 1rem + 13.5px); width: 3px; border-radius: 3px; background: linear-gradient(var(--blue), var(--sky-2)); }
.tl-item { display: grid; grid-template-columns: 92px 30px 1fr; align-items: start; gap: 0 1rem; padding: .45rem 0; }
.tl-time { font-family: var(--f-display); font-size: 1.9rem; line-height: 1.1; color: var(--blue); text-align: right; padding-top: .55rem; letter-spacing: .02em; }
.tl-dot { position: relative; z-index: 1; width: 30px; height: 30px; margin-top: .7rem; border-radius: 50%; background: #fff; border: 4px solid var(--blue); transition: transform .3s, background .3s; }
.tl-card {
  padding: 1rem 1.3rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s, border-color .25s;
}
.tl-card h3 { font-size: 1.08rem; font-weight: 800; text-transform: uppercase; letter-spacing: -.005em; }
.tl-card p { margin: .3rem 0 0; color: var(--muted); font-weight: 600; font-size: .93rem; }
.tl-item:hover .tl-card { transform: translateX(6px); box-shadow: var(--shadow); border-color: var(--sky-2); }
.tl-item:hover .tl-dot { transform: scale(1.15); background: var(--blue); }
.tl-item--pausa .tl-card { background: var(--sky); border-style: dashed; box-shadow: none; }
.tl-item--pausa .tl-card h3 { color: var(--muted); }
.tl-item--pausa .tl-dot { border-color: var(--sky-2); }
.tl-item--cerimonia .tl-dot { border-color: var(--yellow); }
.tl-item--cerimonia .tl-card { border-left: 5px solid var(--yellow); }
.tl-item--palestra .tl-card { border-left: 5px solid var(--blue); }
.tl-item--palestra:nth-of-type(odd) .tl-card { border-left-color: var(--red); }

/* Palestrantes */
.speakers { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.speaker {
  --c: var(--blue);
  position: relative; padding: 1.75rem 1.5rem 1.5rem; background: rgba(255, 255, 255, .95);
  border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .35s cubic-bezier(.34, 1.56, .64, 1), box-shadow .3s; overflow: hidden;
}
.speaker::after { content: ""; position: absolute; inset: auto 0 0; height: 5px; background: var(--c); transform: scaleX(.25); transform-origin: left; transition: transform .4s; }
.speaker:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.speaker:hover::after { transform: scaleX(1); }
.speaker--yellow { --c: var(--yellow); } .speaker--red { --c: var(--red); }
.avatar {
  display: grid; place-items: center; width: 74px; height: 74px; margin-bottom: 1rem; border-radius: 24px;
  font-family: var(--f-display); font-size: 2.1rem; color: #fff; letter-spacing: .04em;
  background: var(--c); box-shadow: 0 12px 24px -12px var(--c); transform: rotate(-6deg); transition: transform .4s;
}
.speaker--yellow .avatar { color: var(--navy); }
.speaker:hover .avatar { transform: rotate(0) scale(1.05); }
.speaker h3 { font-size: 1.12rem; font-weight: 800; }
.speaker-role { margin: .2rem 0 .8rem; font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-700); }
.speaker-topic { margin: 0; padding-top: .8rem; border-top: 1px dashed var(--line); font-weight: 600; color: var(--text); font-size: .93rem; line-height: 1.45; }
.closing-note { margin: 2rem auto 0; text-align: center; color: var(--text); background: rgba(255, 255, 255, .9); width: fit-content; padding: .7rem 1.3rem; border-radius: 999px; border: 1px solid var(--line); }

/* Local */
.local-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 2.5rem; align-items: center; }
.local-info address { display: flex; gap: .8rem; font-style: normal; font-size: 1.15rem; margin: 1.25rem 0 .75rem; }
.local-info address .ico, .local-when .ico { width: 28px; height: 28px; color: var(--red); margin-top: .1rem; }
.local-when { display: flex; align-items: center; gap: .8rem; font-weight: 600; }
.local-when .ico { color: var(--blue); }
.local-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 6px solid #fff; aspect-ratio: 16 / 11; background: var(--sky-2); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ------------------------------------------------------------ inscrição */
.section--signup { background: linear-gradient(180deg, #fff 0, var(--sky) 100%); }
.signup-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 0; align-items: stretch; border-radius: 32px; box-shadow: var(--shadow-lg); overflow: hidden; background: #fff; }
.signup-aside {
  position: relative; padding: clamp(2rem, 4vw, 3rem); color: #e8f2fe; overflow: hidden;
  background:
    radial-gradient(circle at 110% -10%, rgba(242, 194, 48, .35), transparent 45%),
    radial-gradient(circle at -20% 120%, rgba(238, 76, 67, .3), transparent 45%),
    linear-gradient(160deg, var(--blue) 0%, var(--blue-700) 60%, var(--navy) 100%);
}
.signup-aside p { color: #dcebfd; }
.benefits { list-style: none; padding: 0; margin: 1.75rem 0; display: grid; gap: .8rem; }
.benefits li { display: flex; align-items: center; gap: .85rem; font-weight: 700; color: #fff; }
.benefit-ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25); flex: none; }
.benefits li:nth-child(2) .benefit-ico { color: var(--yellow); }
.benefits li:nth-child(3) .benefit-ico { color: #ffd2cf; }
.aside-when { display: grid; gap: .5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .2); font-weight: 600; font-size: .92rem; }
.aside-when span { display: flex; align-items: center; gap: .6rem; }
.aside-puzzle { position: absolute; width: 190px; height: auto; right: -50px; bottom: -50px; opacity: .16; transform: rotate(-18deg); pointer-events: none; }

.form-card { padding: clamp(1.5rem, 4vw, 3rem); position: relative; }
.form { display: grid; gap: .35rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.25rem; }

/* Campo com label em onda — adaptado de Uiverse.io by AbanoubMagdy1 (afraid-yak-99), licença MIT.
   Usa :placeholder-shown para funcionar também em campos opcionais. */
.field { position: relative; padding-top: 1.1rem; }
.field .input {
  display: block; width: 100%; padding: .7rem .3rem .55rem;
  font: 600 1rem/1.4 var(--f-sans); color: var(--ink);
  background: transparent; border: 0; border-bottom: 2px solid var(--line); border-radius: 0;
  transition: border-color .2s; appearance: none; -webkit-appearance: none;
}
.field textarea.input { resize: vertical; min-height: 64px; }
.field .input:focus { outline: none; }
.field .label {
  position: absolute; left: .3rem; top: 1.85rem; display: flex; pointer-events: none;
  font-weight: 500; font-size: 1rem; color: var(--muted); white-space: pre;
}
.field .label-char { transition: transform .2s ease, font-size .2s ease, color .2s ease; transition-delay: calc(var(--index) * .025s); }
.field .label:not([data-waved]) { transition: transform .2s ease, font-size .2s ease, color .2s ease; transform-origin: left; }
.field .input:focus ~ .label .label-char,
.field :is(input, textarea).input:not(:placeholder-shown) ~ .label .label-char,
.field--select .input:valid ~ .label .label-char { transform: translateY(-24px); font-size: .8rem; color: var(--blue-700); font-weight: 700; }
.field .input:focus ~ .label:not([data-waved]),
.field :is(input, textarea).input:not(:placeholder-shown) ~ .label:not([data-waved]) { transform: translateY(-24px) scale(.8); color: var(--blue-700); font-weight: 700; }
.field .bar { position: relative; display: block; width: 100%; }
.field .bar::before, .field .bar::after { content: ""; position: absolute; bottom: 0; width: 0; height: 2px; background: var(--blue); transition: width .25s ease; }
.field .bar::before { left: 50%; } .field .bar::after { right: 50%; }
.field .input:focus ~ .bar::before, .field .input:focus ~ .bar::after { width: 50%; }
.field--select::after { content: ""; position: absolute; right: .5rem; top: 2.15rem; width: 9px; height: 9px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(45deg); pointer-events: none; }
.field--select .input { padding-right: 2rem; cursor: pointer; }
.field-error { min-height: 1.25rem; margin: .25rem 0 0; font-size: .8rem; font-weight: 700; color: var(--err); }
.field.has-error .input { border-bottom-color: var(--err); }
.field.has-error .label-char, .field.has-error .label { color: var(--err) !important; }
.field.is-valid .input { border-bottom-color: var(--ok); }

.group { border: 0; padding: 0; margin: .6rem 0 .4rem; min-width: 0; }
.group legend { padding: 0; margin-bottom: .6rem; font-weight: 700; color: var(--ink); font-size: .95rem; }

/* Seletor segmentado — adaptado de Uiverse.io by Yaya12085 (rude-mouse-79), licença MIT.
   Input fica visualmente oculto (não display:none) para manter o acesso por teclado. */
.radio-inputs {
  position: relative; display: flex; flex-wrap: wrap; gap: .25rem; padding: .3rem;
  border-radius: 14px; background: var(--sky); box-shadow: inset 0 0 0 1px var(--sky-2);
}
.radio-inputs .radio { flex: 1 1 auto; text-align: center; position: relative; }
.radio-inputs .radio input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.radio-inputs .radio .name {
  display: flex; align-items: center; justify-content: center; padding: .6rem .9rem; border-radius: 11px;
  cursor: pointer; color: var(--text); font-weight: 600; font-size: .92rem; transition: all .15s ease-in-out;
}
.radio-inputs .radio input:checked + .name { background: #fff; color: var(--blue-700); font-weight: 800; box-shadow: 0 2px 8px rgba(11, 47, 94, .12); }
.radio-inputs .radio input:focus-visible + .name { outline: 3px solid var(--yellow); outline-offset: 1px; }

/* Checkbox animado — adaptado de Uiverse.io by elijahgummer (foolish-bulldog-87), licença MIT. */
.checkbox-input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.checkbox-check {
  width: 24px; height: 24px; flex: none; padding: 2px;
  border: 2.5px solid var(--blue); border-radius: 7px; background: #fff;
  fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 25; stroke-dashoffset: 25;
  transition: background .3s, stroke-dashoffset .5s, transform .2s;
}
.checkbox-input:checked + .checkbox-check { background: var(--blue); stroke-dashoffset: 0; }
.checkbox-input:focus-visible + .checkbox-check { outline: 3px solid var(--yellow); outline-offset: 2px; }
label:hover > .checkbox-check { transform: scale(1.06); background: var(--sky); }
label:hover > .checkbox-input:checked + .checkbox-check { background: var(--blue-600); }

.chips { display: flex; flex-wrap: wrap; gap: .55rem; }
.chip {
  position: relative; display: inline-flex; align-items: center; gap: .55rem; padding: .55rem .95rem .55rem .65rem;
  border: 2px solid var(--line); border-radius: 999px; cursor: pointer; font-weight: 600; font-size: .9rem; color: var(--text);
  transition: border-color .2s, background .2s;
}
.chip .checkbox-check { width: 22px; height: 22px; border-radius: 50%; }
.chip:has(input:checked) { border-color: var(--blue); background: var(--sky); color: var(--blue-700); }
.field--area { margin-top: .4rem; }

.consent { position: relative; display: flex; align-items: flex-start; gap: .75rem; margin-top: .75rem; cursor: pointer; font-size: .9rem; line-height: 1.5; }
.consent .checkbox-check { margin-top: .1rem; }
.consent.has-error .checkbox-check { border-color: var(--err); }

.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Loader — adaptado de Uiverse.io by Praashoo7 (green-goat-59), licença MIT. */
.load { display: none; gap: .35rem; }
.load .progress { width: .7em; height: .7em; border-radius: 50%; background: #fff; scale: 0; animation: loading 1.4s ease infinite; }
.load .progress:nth-child(2) { animation-delay: .2s; }
.load .progress:nth-child(3) { animation-delay: .4s; }
@keyframes loading { 50% { scale: 1; } }
.btn-3d.is-loading .btn-label { display: none; }
.btn-3d.is-loading .load { display: inline-flex; }

.form-alert { padding: .85rem 1rem; border-radius: 12px; background: #fdecea; color: #8a1f19; font-weight: 700; font-size: .92rem; border: 1px solid #f6c3bf; margin-bottom: .5rem; }
.form-foot { margin: .9rem 0 0; font-size: .8rem; color: var(--muted); text-align: center; }

/* Sucesso */
.success { text-align: center; padding: 1.5rem 0; outline: none; }
.success-check { width: 92px; height: 92px; margin: 0 auto 1.25rem; }
.success-check circle { fill: none; stroke: var(--ok); stroke-width: 3; stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw .6s ease forwards; }
.success-check path { fill: none; stroke: var(--ok); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .4s .5s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.success h3 { font-size: 1.6rem; font-weight: 900; text-transform: uppercase; margin-bottom: .75rem; }
.protocolo { display: inline-block; font-family: var(--f-display); font-size: 2.4rem; letter-spacing: .12em; color: var(--blue); background: var(--sky); padding: .3rem 1.2rem .1rem; border-radius: 14px; border: 2px dashed var(--blue); }
.success-actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-top: 1.25rem; }
.closed { text-align: center; padding: 3rem 1rem; }
.closed .ico { width: 64px; height: 64px; margin: 0 auto 1rem; fill: var(--yellow); stroke: none; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--navy); color: #c9dbf2; padding: 3.5rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2rem; align-items: start; }
.footer-logo { width: 100%; max-width: 300px; height: auto; background: #fff; border-radius: 18px; padding: .9rem 1.2rem; }
.footer-title { font-family: var(--f-display); font-weight: 400; color: #fff; font-size: 1.3rem; letter-spacing: .1em; margin-bottom: .6rem; }
.site-footer p { margin-bottom: .5rem; font-size: .93rem; }
.site-footer strong { color: #fff; }
.site-footer a { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .75rem; margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .82rem; }
.footer-bottom a { color: #9fc3ec; }

/* ----------------------------------------------------- acessibilidade UI */
.a11y { position: fixed; left: 1rem; bottom: 1rem; z-index: 60; }
.a11y-toggle {
  width: 54px; height: 54px; border-radius: 50%; border: 3px solid #fff; cursor: pointer;
  background: var(--navy); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow);
}
.a11y-toggle .ico { width: 28px; height: 28px; }
.a11y-panel { position: absolute; bottom: 64px; left: 0; width: 220px; padding: 1rem; border-radius: 18px; background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.a11y-title { font-weight: 800; color: var(--ink); margin-bottom: .6rem; }
.a11y-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: .35rem; margin-bottom: .5rem; }
.a11y-panel button { font: 700 .9rem var(--f-sans); padding: .55rem; border-radius: 10px; border: 2px solid var(--sky-2); background: var(--sky); color: var(--ink); cursor: pointer; }
.a11y-panel button[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.a11y-contrast { width: 100%; margin-top: .35rem; }

/* Alto contraste */
html.hc { --text: #000; --muted: #1b1b1b; --line: #000; --sky: #fff; --sky-2: #000; --blue: #0045a8; --blue-700: #002f73; }
html.hc body { background: #fff; color: #000; }
html.hc .hero-waves, html.hc .section--waves { background-image: none; }
html.hc .info-card, html.hc .pillar, html.hc .tl-card, html.hc .speaker, html.hc .audience-chip { border: 2px solid #000; }
html.hc a { text-decoration: underline; }

/* ---------------------------------------------------------------- reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0ms); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  .reveal { opacity: 1; transform: none; }
}
html.reduce-motion { scroll-behavior: auto; }
html.reduce-motion *, html.reduce-motion *::before, html.reduce-motion *::after { animation: none !important; transition: none !important; }
html.reduce-motion .reveal { opacity: 1; transform: none; }
html.reduce-motion .success-check circle, html.reduce-motion .success-check path { stroke-dashoffset: 0; }

/* ------------------------------------------------------------ responsivo */
@media (max-width: 1020px) {
  .hero-grid, .about-grid, .local-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 420px; order: -1; margin: 0 0 1.5rem; align-self: auto; }
  .speakers { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .signup-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .menu-toggle { display: grid; }
  .main-nav {
    position: fixed; inset: var(--header-h) .75rem auto; flex-direction: column; align-items: stretch; gap: .25rem;
    padding: .75rem; background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .2s, transform .2s, visibility .2s;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .main-nav a { padding: .85rem 1rem; font-size: 1rem; }
  .main-nav a::after { display: none; }
  .main-nav .nav-cta { margin: .25rem 0 0; text-align: center; }
  .site-header { background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
}

@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .hero { padding-top: calc(var(--header-h) + 1.5rem); padding-bottom: 3.5rem; }
  .hero-art { max-width: 300px; }
  .countdown-card { min-width: 0; width: 290px; padding: .65rem .8rem .8rem; }
  .cd-grid b { font-size: 1.6rem; }
  .info-cards { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-3d, .btn-pill { justify-content: center; }
  .btn-pill { padding-left: 1.4rem; justify-content: space-between; }
  .field-row { grid-template-columns: 1fr; }
  .speakers, .stats { grid-template-columns: 1fr; }
  .timeline::before { left: 13px; }
  .tl-item { grid-template-columns: 30px 1fr; }
  .tl-time { grid-column: 2; grid-row: 1; text-align: left; padding: 0; font-size: 1.6rem; }
  .tl-dot { grid-column: 1; grid-row: 1 / span 2; margin-top: .2rem; }
  .tl-card { grid-column: 2; }
  .signup-grid { border-radius: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .marquee span { font-size: 1.5rem; }
  .radio-inputs .radio .name { padding: .6rem .5rem; font-size: .85rem; }
  .a11y { left: .75rem; bottom: .75rem; }
  .site-footer { padding-bottom: 5rem; }
  .a11y-toggle { width: 48px; height: 48px; }
}
