  @import url('https://fonts.googleapis.com/css2?family=Golos+Text:wght@800&family=Nunito:ital,wght@0,300;0,400;0,500;0,600;0,800;1,300&display=swap');

/* =============================================
       CSS CUSTOM PROPERTIES
    ============================================= */
    .speaker-section {
      --bg:         #242D5D;
      --bg-deep:    #1a2148;
      --bg-glass:   rgba(36, 45, 93, 0.55);
      --accent:     #FE48B4;
      --accent-dim: rgba(254, 72, 180, 0.18);
      --accent-glow:rgba(254, 72, 180, 0.45);
      --white:      #FFFFFF;
      --white-60:   rgba(255,255,255,0.60);
      --white-20:   rgba(255,255,255,0.10);
      --gold:       #E8C76A;          /* kept for subtle badges */
      --radius-pill: 999px;
      --radius-card: 24px;
      --font-display: 'Golos Text', sans-serif;
      --font-body:    'Nunito', sans-serif;
      --font-serif:   'Nunito', sans-serif;
    }

    /* =============================================
       RESET + BASE
    ============================================= */
    .speaker-section *, .speaker-section *::before, .speaker-section *::after { box-sizing: border-box !important; }

    /* =============================================
       SECTION WRAPPER
    ============================================= */
    .speaker-section {
      position: relative !important;
      width: 100% !important;
      min-height: 100vh !important;
      background: linear-gradient(160deg, #242D5D 0%, #0d1235 100%) !important;
      overflow: hidden !important;
      display: flex !important;
      align-items: center !important;
      padding: 40px 0 !important;
      font-family: var(--font-body) !important;
      color: var(--white) !important;
      line-height: 1.4 !important;
      text-rendering: optimizeLegibility;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }

    .speaker-section,
    .speaker-section div,
    .speaker-section span,
    .speaker-section p,
    .speaker-section a,
    .speaker-section strong,
    .speaker-section em,
    .speaker-section small,
    .speaker-section button {
      font-family: var(--font-body) !important;
      color: inherit;
    }

    .speaker-section h1,
    .speaker-section h2,
    .speaker-section h3,
    .speaker-section h4,
    .speaker-section h5,
    .speaker-section h6 {
      color: var(--white) !important;
      font-family: var(--font-display) !important;
      font-weight: 800 !important;
      line-height: 1 !important;
      margin: 0 !important;
    }

    /* ── Subtle grid overlay ───────────────────── */
    /* ANIMATION HOOK: fade-in this layer on load */
    .speaker-section::before {
      content: '';
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(rgba(255,255,255,0.007) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.007) 1px, transparent 1px);
      background-size: 48px 48px;
      pointer-events: none;
    }

    /* ── Radial glow blob (bottom-left) ───────── */
    .speaker-section::after {
      content: '';
      position: absolute;
      width: 640px;
      height: 640px;
      background: radial-gradient(circle, rgba(254,72,180,0.22) 0%, transparent 70%);
      bottom: -200px;
      left: -200px;
      pointer-events: none;
      border-radius: 50%;
      /* ANIMATION HOOK: subtle pulse / breathing scale */
    }

    /* ── Secondary glow (top-right) ───────────── */
    .glow-tr {
      position: absolute;
      width: 500px;
      height: 500px;
      background: radial-gradient(circle, rgba(232,199,106,0.12) 0%, transparent 70%);
      top: -180px;
      right: -100px;
      pointer-events: none;
      border-radius: 50%;
    }

    /* =============================================
       INNER LAYOUT  (2-col: photo | content)
    ============================================= */
    .speaker-inner {
      position: relative;
      z-index: 1;
      max-width: 1280px;
      width: 100%;
      margin: 0 auto;
      padding: 0 48px;
      display: grid;
      grid-template-columns: 1fr 1.1fr;
      gap: 64px;
      align-items: center;
    }

    /* =============================================
       LEFT: PHOTO COLUMN
    ============================================= */
    .photo-col {
      position: relative;
      display: flex;
      justify-content: center;
    }

    /* ── Photo frame card ──────────────────────── */
    .photo-frame {
      position: relative;
      width: min(420px, 100%);
    }

    /* Decorative vertical line left of photo */
    .photo-frame::before {
      content: '';
      position: absolute;
      left: -32px;
      top: 10%;
      height: 80%;
      width: 2px;
      background: linear-gradient(to bottom, transparent, var(--accent), transparent);
    }

    /* ── Glassmorphism card behind photo ──────── */
    .photo-card {
      position: relative;
      border-radius: var(--radius-card);
      overflow: hidden;
      background: var(--bg-glass);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border: 1px solid rgba(255,255,255,0.10);
      box-shadow:
        0 0 0 1px rgba(254,72,180,0.15),
        0 24px 80px rgba(0,0,0,0.5),
        0 0 120px -20px var(--accent-glow);
      aspect-ratio: 3/4;
      display: flex;
      align-items: flex-end;
      justify-content: center;
    }

    /* Placeholder photo using a CSS gradient silhouette */
    /* REPLACE: swap .photo-placeholder for an <img> tag with the real photo */
    .photo-placeholder {
      position: absolute;
      inset: 0;
      background:
        radial-gradient(ellipse 60% 50% at 50% 35%, rgba(255,255,255,0.12) 0%, transparent 70%),
        linear-gradient(170deg, #3a4580 0%, #1a2148 100%);
      display: flex;
      align-items: flex-end;
      justify-content: center;
      overflow: hidden;
    }

    /* Silhouette shape — replace with <img> in production */
    .photo-placeholder svg {
      width: 70%;
      opacity: 0.25;
      margin-bottom: 0;
      fill: var(--white);
    }

    /* ── Floating badges ──────────────────────── */
    .badge {
      position: absolute;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-family: var(--font-body);
      font-size: 11px;
      font-weight: 500;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      padding: 8px 16px;
      border-radius: var(--radius-pill);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      white-space: nowrap;
      z-index: 10;
    }

    .badge-keynote {
      background: rgba(30, 8, 22, 0.80);
      border: 1px solid rgba(254,72,180,0.60);
      color: var(--accent);
      bottom: 28px;
      left: -20px;
      box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    }

    .badge-live {
      background: rgba(20, 16, 4, 0.80);
      border: 1px solid rgba(232,199,106,0.60);
      color: var(--gold);
      top: 28px;
      right: -24px;
      box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    }

    /* ── Ticket count chip ─────────────────────── */
    .ticket-chip {
      position: absolute;
      bottom: -22px;
      left: 50%;
      transform: translateX(-50%);
      background: var(--bg-deep);
      border: 1px solid rgba(255,255,255,0.12);
      border-radius: var(--radius-pill);
      padding: 10px 24px;
      display: flex;
      align-items: center;
      gap: 12px;
      font-size: 12px;
      color: var(--white-60);
      white-space: nowrap;
      box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    }

    .ticket-chip strong {
      color: var(--white);
      font-size: 14px;
    }

    .ticket-chip .bar {
      width: 60px;
      height: 4px;
      background: rgba(255,255,255,0.12);
      border-radius: 2px;
      overflow: hidden;
    }

    .ticket-chip .bar-fill {
      height: 100%;
      width: 72%;
      background: linear-gradient(90deg, var(--accent), var(--gold));
      border-radius: 2px;
    }

    /* =============================================
       RIGHT: CONTENT COLUMN
    ============================================= */
    .content-col {
      display: flex;
      flex-direction: column;
      gap: 0;
    }

    /* ── Eyebrow label ────────────────────────── */
    /* ANIMATION HOOK: fade in from left, delay 0.1s */
    .eyebrow {
      display: inline-flex !important;
      align-items: center !important;
      gap: 10px !important;
      font-size: 11px !important;
      font-weight: 500 !important;
      letter-spacing: 0.2em !important;
      text-transform: uppercase !important;
      color: var(--accent) !important;
      margin-bottom: 12px !important;
    }

    .eyebrow::before {
      content: '';
      display: block;
      width: 32px;
      height: 1px;
      background: var(--accent);
    }

    /* ── Speaker name ─────────────────────────── */
    /* ANIMATION HOOK: clip-path reveal from bottom, delay 0.2s */
    .speaker-name {
      font-family: var(--font-display) !important;
      font-size: clamp(38px, 4.5vw, 66px) !important;
      font-weight: 800 !important;
      text-transform: uppercase !important;
      line-height: 0.95 !important;
      letter-spacing: 0.01em !important;
      color: var(--white) !important;
      margin-bottom: 4px !important;
    }

    .speaker-name .name-accent {
      color: var(--accent) !important;
    }

    /* ── Flag + profession row ────────────────── */
    .meta-row {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 6px;
      margin-bottom: 20px;
      margin-top: 10px;
    }

    .meta-location {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .flag-chip {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: var(--white-20);
      border: 1px solid rgba(255,255,255,0.14);
      border-radius: var(--radius-pill);
      padding: 4px 12px 4px 6px;
      font-size: 12px;
      color: var(--white-60);
    }

    .flag-chip span.flag-emoji {
      font-size: 16px;
      line-height: 1;
    }

    .flag-img-wrap {
      width: 42px;
      height: 28px;
      border-radius: 4px;
      overflow: hidden;
      border: 1px solid rgba(255,255,255,0.20);
      box-shadow: 0 4px 16px rgba(0,0,0,0.35);
      flex-shrink: 0;
    }

    .flag-img-wrap img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
      display: block;
    }

    .location-text {
      font-size: 10px !important;
      font-weight: 500 !important;
      letter-spacing: 0.2em !important;
      text-transform: uppercase !important;
      color: var(--white-60) !important;
    }

    .profession {
      font-family: var(--font-body) !important;
      font-style: normal !important;
      font-weight: 600 !important;
      font-size: clamp(13px, 1.2vw, 15px) !important;
      color: var(--white) !important;
      position: relative !important;
    }

    /* ── Divider ─────────────────────────────── */
    .divider {
      width: 48px;
      height: 2px;
      background: linear-gradient(90deg, var(--accent), transparent);
      margin-bottom: 16px;
      border: none;
    }

    /* ── Bio text ─────────────────────────────── */
    /* ANIMATION HOOK: staggered paragraph fade-in, delays 0.4–0.8s */
    .bio {
      font-size: clamp(13px, 1.1vw, 15px) !important;
      font-weight: 300 !important;
      line-height: 1.75 !important;
      color: rgba(255,255,255,0.78) !important;
      max-width: 560px !important;
      margin-bottom: 24px !important;
    }

    .bio p + p {
      margin-top: 18px;
    }

    .bio strong {
      color: var(--white) !important;
      font-weight: 500 !important;
    }

    .bio em {
      color: var(--accent) !important;
      font-style: normal !important;
    }

    /* ── Stats row ────────────────────────────── */
    .stats-row {
      display: flex;
      gap: 32px;
      margin-bottom: 44px;
      padding-bottom: 40px;
      border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    .stat-item {
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    .stat-number {
      font-family: var(--font-display);
      font-size: clamp(28px, 3vw, 40px);
      color: var(--white);
      line-height: 1;
    }

    .stat-number span {
      color: var(--accent);
    }

    .stat-label {
      font-size: 11px;
      font-weight: 400;
      color: var(--white-60);
      letter-spacing: 0.06em;
      text-transform: uppercase;
    }

    /* ── Expertise tags ─────────────────────────── */
    .tags-row {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 24px;
      padding-bottom: 24px;
      border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    .tag {
      display: inline-flex !important;
      align-items: center !important;
      font-size: 11px !important;
      font-weight: 500 !important;
      letter-spacing: 0.08em !important;
      text-transform: uppercase !important;
      padding: 6px 14px !important;
      border-radius: var(--radius-pill) !important;
      background: var(--accent-dim) !important;
      border: 1px solid rgba(254,72,180,0.35) !important;
      color: var(--accent) !important;
    }

    .tag.tag-accent {
      background: var(--accent-dim) !important;
      border-color: rgba(254,72,180,0.35) !important;
      color: var(--accent) !important;
    }

    /* ── Contribution block ─────────────────────── */
    .contribution-block {
      margin-top: 20px;
      padding: 18px 20px;
      background: rgba(255,255,255,0.04);
      border-left: 2px solid rgba(254,72,180,0.50);
      border-radius: 0 10px 10px 0;
    }

    .contribution-label {
      font-size: 10px !important;
      font-weight: 500 !important;
      letter-spacing: 0.20em !important;
      text-transform: uppercase !important;
      color: var(--accent) !important;
      margin-bottom: 10px !important;
    }

    /* ── CTA Buttons ──────────────────────────── */
    /* ANIMATION HOOK: slide up from below, delay 0.9s */
    .cta-group {
      display: flex;
      gap: 16px;
      align-items: center;
      flex-wrap: wrap;
    }

    .btn {
      display: inline-flex !important;
      align-items: center !important;
      gap: 10px !important;
      font-family: var(--font-body) !important;
      font-size: 13px !important;
      font-weight: 800 !important;
      letter-spacing: 0.06em !important;
      text-transform: uppercase !important;
      text-decoration: none !important;
      padding: 16px 32px !important;
      border-radius: var(--radius-pill) !important;
      transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease !important;
      cursor: pointer !important;
      border: none !important;
      outline: none !important;
    }

    /* Primary: solid pink */
    .btn-primary {
      background: var(--accent) !important;
      color: var(--white) !important;
      box-shadow:
        0 0 0 0 var(--accent-glow),
        0 12px 40px -8px var(--accent-glow) !important;
    }

    .btn-primary:hover {
      transform: translateY(-3px) scale(1.03);
      box-shadow:
        0 0 0 6px rgba(254,72,180,0.18),
        0 20px 60px -10px var(--accent-glow);
      /* ANIMATION HOOK: ripple on click */
    }

    .btn-primary svg { transition: transform 0.2s ease; }
    .btn-primary:hover svg { transform: translateX(4px); }

    /* Secondary: ghost */
    .btn-ghost {
      background: transparent;
      color: var(--white);
      border: 1px solid rgba(255,255,255,0.25);
      box-shadow: inset 0 0 0 0 rgba(255,255,255,0.06);
    }

    .btn-ghost:hover {
      background: rgba(255,255,255,0.07);
      border-color: rgba(255,255,255,0.45);
      transform: translateY(-2px);
      box-shadow: 0 12px 32px rgba(0,0,0,0.25);
    }

    /* ── Scroll hint ───────────────────────────── */
    .scroll-hint {
      position: absolute;
      bottom: 32px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
      font-size: 10px;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--white-60);
      z-index: 5;
      /* ANIMATION HOOK: fade in after 1.5s, then subtle bounce */
    }

    .scroll-hint .mouse {
      width: 20px;
      height: 32px;
      border: 1.5px solid rgba(255,255,255,0.30);
      border-radius: 10px;
      display: flex;
      justify-content: center;
      padding-top: 6px;
    }

    .scroll-hint .wheel {
      width: 3px;
      height: 6px;
      background: var(--accent);
      border-radius: 2px;
      animation: scroll-wheel 1.8s ease infinite;
    }

    @keyframes scroll-wheel {
      0%   { transform: translateY(0); opacity: 1; }
      80%  { transform: translateY(8px); opacity: 0; }
      100% { transform: translateY(0); opacity: 0; }
    }

    /* =============================================
       RESPONSIVE
    ============================================= */

    /* ── Desktop largo ─────────────────────────── */
    @media (max-width: 1400px) and (min-width: 901px) {
      .speaker-inner {
        gap: 40px;
        padding: 0 40px;
      }
      .bio {
        margin-bottom: 16px;
      }
      .tags-row {
        margin-bottom: 16px;
        padding-bottom: 16px;
      }
      .speaker-section {
        padding: 32px 0;
      }
    }

    /* ── Tablet retrato (601–900px) ─────────────── */
    @media (min-width: 601px) and (max-width: 900px) {
      .speaker-section {
        align-items: flex-start !important;
        padding: 36px 0 48px !important;
        min-height: auto !important;
        overflow-y: auto !important;
      }

      .speaker-inner {
        grid-template-columns: 1fr 1.3fr;
        gap: 28px;
        padding: 0 28px;
        align-items: start;
      }

      .photo-col { order: 1; }
      .content-col { order: 2; }

      .photo-frame {
        width: 100%;
      }

      /* Reduz a altura da foto — menos que 3/4 puro */
      .photo-card {
        aspect-ratio: 3/4 !important;
      }

      .badge-keynote {
        left: 0;
        right: auto;
        font-size: 10px;
        padding: 6px 12px;
      }

      .badge-live {
        right: 0;
        left: auto;
        font-size: 10px;
        padding: 6px 12px;
      }

      .speaker-name {
        font-size: clamp(28px, 5vw, 44px) !important;
      }

      .bio {
        font-size: 13px !important;
        max-width: 100% !important;
        margin-bottom: 16px !important;
      }

      .contribution-block {
        padding: 14px 16px;
      }

      .tags-row {
        margin-bottom: 16px;
        padding-bottom: 16px;
      }

      .btn {
        padding: 13px 24px !important;
        font-size: 12px !important;
      }

      .stats-row {
        gap: 20px;
      }
    }

    /* ── Mobile (≤600px) ──────────────────────── */
    @media (max-width: 600px) {
      .speaker-section {
        align-items: flex-start !important;
        padding: 32px 0 60px !important;
        overflow-y: auto !important;
        min-height: auto !important;
      }

      body {
        display: block;
        min-height: auto;
      }

      .speaker-inner {
        grid-template-columns: 1fr;
        padding: 0 20px;
        gap: 32px;
      }

      .photo-col { order: 1; }
      .content-col { order: 2; }

      .photo-frame {
        width: min(320px, 100%);
        margin: 0 auto;
      }

      .badge-keynote { left: 0; right: auto; }
      .badge-live    { left: 0; right: auto; }

      .speaker-name {
        font-size: clamp(34px, 10vw, 52px) !important;
      }

      .bio {
        max-width: 100% !important;
      }

      .stats-row {
        gap: 24px;
        flex-wrap: wrap;
      }

      .cta-group {
        flex-direction: column;
        align-items: stretch;
      }

      .btn {
        justify-content: center !important;
      }
    }

    /* ── Back link ──────────────────────────────── */
    .back-link {
      position: absolute;
      top: 20px;
      left: 28px;
      z-index: 20;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-family: var(--font-body);
      font-size: 11px;
      font-weight: 500;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--white-60);
      text-decoration: none;
      transition: color 0.2s ease;
    }
    .back-link:hover {
      color: var(--white);
    }
    .back-link svg {
      transition: transform 0.2s ease;
    }
    .back-link:hover svg {
      transform: translateX(-3px);
    }