/* ============================================================
   JESSICA PAZ — Bio Link  |  Design System: Studio Pacis
   Figma canvas: 3000px · Escala responsiva via clamp()
   ============================================================ */

/* ── IVY ORA DISPLAY ──────────────────────────────────────── */
@font-face {
  font-family: 'IvyOra Display';
  src: url('fonts/IvyOraDisplay-Light.woff2') format('woff2');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'IvyOra Display';
  src: url('fonts/IvyOraDisplay-LightItalic.woff2') format('woff2');
  font-weight: 300; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'IvyOra Display';
  src: url('fonts/IvyOraDisplay-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'IvyOra Display';
  src: url('fonts/IvyOraDisplay-RegularItalic.woff2') format('woff2');
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'IvyOra Display';
  src: url('fonts/IvyOraDisplay-Medium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'IvyOra Display';
  src: url('fonts/IvyOraDisplay-MediumItalic.woff2') format('woff2');
  font-weight: 500; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'IvyOra Display';
  src: url('fonts/IvyOraDisplay-Bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'IvyOra Display';
  src: url('fonts/IvyOraDisplay-BoldItalic.woff2') format('woff2');
  font-weight: 700; font-style: italic; font-display: swap;
}

/* ── TOKENS ───────────────────────────────────────────────── */
:root {
  --orange:    #FE552A;
  --dark:      #0B0B0B;
  --dark-2:    #0B0B0B;
  --dark-3:    #0B0B0B;
  --light:     #F5F9FF;
  --white:     #FFFFFF;
  --muted:     rgba(255,255,255,0.56);

  --font-display: 'IvyOra Display', serif;
  --font-cond:    'Barlow Condensed', sans-serif;
  --font-ui:      'Inter', sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-base: 300ms;
  --dur-fast: 150ms;
}

/* ── SELEÇÃO DE TEXTO ─────────────────────────────────────── */
::selection {
  background: var(--orange);
  color: var(--white);
}

/* ── SCROLL REVEAL — Design System Studio Pacis ───────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.40s; }
.reveal-delay-6 { transition-delay: 0.48s; }

.reveal-scale {
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* ── HERO: animações de entrada no carregamento ───────────── */
.profile-outer-ring { animation: fadeIn 0.8s var(--ease-out) 0.1s both; }
.hero-name          { animation: fadeUp 0.8s var(--ease-out) 0.22s both; }
.hero-subtitle      { animation: fadeUp 0.7s var(--ease-out) 0.34s both; }
.social-icons       { animation: fadeUp 0.7s var(--ease-out) 0.44s both; }
.hero-buttons       { animation: fadeUp 0.7s var(--ease-out) 0.54s both; }
.scroll-arrow       { animation: fadeIn 0.6s var(--ease-out) 0.68s both; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── RESET ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
html::-webkit-scrollbar { display: none; }
body {
  font-family: var(--font-ui);
  color: var(--white);
  background: var(--dark);
  overflow-x: hidden;
  position: relative; /* fix iOS Safari overflow-x */
  max-width: 100vw;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }

/* ── BOTÕES ─────────────────────────────────────────────── */
/* Figma: Inter Medium, tracking-[-3.2px@3000px] → -0.05em, rounded-[21px@3000px] ≈ 14px */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75em 2em;
  font-family: var(--font-ui);
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  transition: all var(--dur-base) var(--ease-out);
  white-space: nowrap;
  text-transform: none;
}
.btn:hover { transform: translateY(-2px); opacity: 0.9; }

/* Primary — Figma: bg #fe552a, white text */
.btn-orange {
  background: var(--orange);
  color: var(--white);
}
.btn-orange:hover { opacity: 1; filter: brightness(1.08); }

/* Secondary — Figma: bg #121212, white text */
.btn-dark {
  background: var(--dark-2);
  color: var(--white);
}

/* CTA — Figma: bg #0b0b0b, white text */
.btn-cta {
  background: var(--dark);
  color: var(--white);
  flex: 0 0 auto;
  align-self: flex-end;
}
.btn-cta:hover { background: var(--dark-2); }

/* ── HERO ─────────────────────────────────────────────────── */
/* Figma: bg #f5f9ff + BG7 a 84% opacity */
.hero {
  background-color: var(--light);
  background-image: url('images/bg7.png');
  background-size: cover;
  background-position: center top;
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 24px;
  position: relative;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(14px, 2vw, 22px);
  max-width: 560px;
  width: 100%;
}

/* Duplo anel — anel externo + anel interno ao redor da foto */
.profile-outer-ring {
  width: clamp(210px, 34vw, 270px);
  height: clamp(210px, 34vw, 270px);
  border-radius: 50%;
  border: 2px solid #1E1E1E;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.profile-ring {
  width: clamp(162px, 26vw, 208px);
  height: clamp(162px, 26vw, 208px);
  border-radius: 50%;
  border: 2px solid #1E1E1E;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-photo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: #ccc;
}
.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Nome — Figma: JESSICA = Barlow Condensed ExtraBold 220px, text-black
                 Paz     = IvyOra Display Medium Italic 220px, #fe552a, tracking-[-6.6px@3000px] = -0.03em */
.hero-name {
  display: flex;
  align-items: baseline;
  gap: 0.06em;
  flex-wrap: wrap;
  justify-content: center;
  line-height: 1;
}
.name-bold {
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: clamp(2.8rem, 12vw, 5.8rem);
  color: var(--dark);
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.name-italic {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2.3rem, 9.8vw, 4.8rem);
  color: var(--orange);
  letter-spacing: -0.03em;
}

/* Subtítulo — Figma: Inter Regular 72px, text-black, tracking-[-2.16px@3000] = -0.03em */
.hero-subtitle {
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: clamp(0.9rem, 2.4vw, 1.35rem);
  color: var(--dark);
  letter-spacing: -0.03em;
  line-height: 1.5;
}

/* Ícones sociais — Figma: rounded-[9000px] bg-[#121212] */
.social-icons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.social-btn {
  width: clamp(44px, 7vw, 52px);
  height: clamp(44px, 7vw, 52px);
  border-radius: 50%;
  background: var(--dark-2);
  color: #454545;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur-base) var(--ease-out), transform var(--dur-fast);
}
.social-btn:hover { background: var(--orange); transform: translateY(-2px); }
.social-btn svg { width: 22px; height: 22px; }

/* Botões hero */
.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 360px;
}
.hero-buttons .btn { width: 100%; }

/* Seta */
.scroll-arrow {
  color: var(--dark);
  opacity: 0.4;
  margin-top: clamp(16px, 3vw, 32px);
  animation: bounce 2.2s ease-in-out infinite;
}
.scroll-arrow svg { width: 28px; height: 28px; }

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(8px); }
}

/* ── TICKER CLIP — evita overflow lateral da faixa rotacionada */
.ticker-clip {
  position: relative;
  width: 100%;
  max-width: 100vw;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

/* ── TICKER (faixa laranja separadora) ────────────────────── */
.tickers-outer {
  position: relative;
  z-index: 10;
  margin: -20px 0;
}

.ticker-strip {
  position: relative;
  height: clamp(42px, 6vw, 58px);
  overflow: hidden;
  width: 100%;
}
.ticker-strip--orange {
  background: var(--orange);
  box-shadow: 0 4px 32px rgba(254,85,42,0.35);
}

.ticker-track {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  display: inline-flex;
  white-space: nowrap;
  animation: ticker-left 28s linear infinite;
  will-change: transform;
}

.ticker-item {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: clamp(0.68rem, 1.8vw, 1.2rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  padding: 0 12px;
  flex-shrink: 0;
}
.ticker-item b {
  font-size: 0.55em;
  vertical-align: middle;
  margin: 0 4px;
  opacity: 0.7;
}

@keyframes ticker-left {
  from { transform: translateX(0) translateY(-50%); }
  to   { transform: translateX(-33.333%) translateY(-50%); }
}

/* ── PROJETOS ─────────────────────────────────────────────── */
/* Figma: bg implied dark, "PROJETOS RECENTES" = Barlow Condensed ExtraBold 170px, #f5f9ff, tracking-[-5.1px@3000] = -0.03em */
.projects {
  background: var(--dark-2);
  padding: clamp(60px, 10vw, 96px) 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(36px, 5vw, 52px);
}

.section-title {
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: clamp(2rem, 8vw, 4.2rem);
  color: var(--light);
  letter-spacing: -0.03em;
  text-transform: uppercase;
  text-align: center;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(10px, 1.5vw, 16px);
  width: 100%;
  max-width: 740px;
}
.project-item {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--dark-3);
  display: block;
  border: 1.5px solid rgba(255,255,255,0.5);
  transition: transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}
.project-item:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.5); }
.project-item img { width: 100%; height: 100%; object-fit: cover; }

/* ── CTA ──────────────────────────────────────────────────── */
/* Figma: bg #fe552a, texto Barlow Condensed ExtraBold 200px #f5f9ff, tracking-[-6px@3000]
         juntos? = IvyOra Display Medium Italic 220px #0b0b0b */
.cta {
  background: var(--orange);
  padding: clamp(48px, 6vw, 80px) clamp(48px, 8vw, 96px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(40px, 6vw, 80px);
  flex-wrap: wrap;
}
.cta-text {
  flex: 0 1 auto;
}
.cta-heading {
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: clamp(2.2rem, 7vw, 5.5rem);
  color: var(--light);
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.cta-italic {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 0.88em;
  color: var(--dark);
  text-transform: none;
  letter-spacing: -0.03em;
}

/* ── SOBRE ────────────────────────────────────────────────── */
/* Figma: foto com border-7 border-[#fe552a] rounded-[69px@3000]
         "Jessica Paz" = IvyOra Display Medium Italic 190px #fe552a tracking-[-5.7px@3000]
         bio = Inter Medium 60px white tracking-[-1.8px@3000] leading-[81px@3000] */
.about {
  background: var(--dark-3);
  width: 100%;
  padding: clamp(48px, 6vw, 80px) 0;
}
.about-inner {
  display: flex;
  align-items: flex-start;
  gap: clamp(32px, 5vw, 60px);
  flex-wrap: wrap;
  margin: 0 clamp(12px, 2vw, 24px);
  padding: 0 clamp(20px, 4vw, 48px);
}

/* Foto — Figma: orange border, rounded corners, alinha no topo */
.about-photo {
  flex: 0 0 clamp(240px, 32vw, 340px);
  max-width: clamp(240px, 32vw, 340px);
  border-radius: clamp(14px, 2vw, 22px);
  overflow: hidden;
  border: 1.5px solid var(--orange);
  flex-shrink: 0;
  align-self: flex-start;
  position: sticky;
  top: clamp(20px, 3vw, 40px);
}
.about-photo img {
  width: 100%;
  height: clamp(340px, 52vw, 480px);
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Conteúdo — alinhado pelo topo sem padding extra */
.about-content {
  flex: 1;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 2vw, 20px);
}

/* "Jessica Paz" — IvyOra Medium Italic, laranja */
.about-name {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2.6rem, 8vw, 3.8rem);
  color: var(--orange);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

/* Bio — Inter Medium, white, tracking estreito */
.about-content p {
  font-family: var(--font-ui);
  font-size: clamp(0.88rem, 2vw, 1.05rem);
  font-weight: 500;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.75;
}

/* ── FAQ ──────────────────────────────────────────────────── */
/* Desktop (Figma): PERGUNTAS (esq) + frequentes. (dir) na mesma linha
   PERGUNTAS = Barlow Condensed ExtraBold 290px #f5f9ff tracking-[-8.7px@3000] = -0.03em
   frequentes. = IvyOra Display Medium Italic 220px #fe552a tracking-[-6.6px@3000] */
.faq {
  background: url('images/bottom-image.png') center bottom / auto no-repeat, var(--dark);
  padding: clamp(64px, 8vw, 96px) clamp(28px, 5vw, 56px);
  width: 100%;
}
.faq-header,
.faq-list {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

/* Cabeçalho lado a lado no desktop */
.faq-header {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  margin-bottom: clamp(36px, 5vw, 60px);
  flex-wrap: wrap;
}

.faq-bold {
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: clamp(3.5rem, 12vw, 6.2rem);
  color: var(--light);
  letter-spacing: -0.03em;
  text-transform: uppercase;
  line-height: 0.9;
}
.faq-italic {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2.8rem, 9.5vw, 4.8rem);
  color: var(--orange);
  letter-spacing: -0.03em;
  line-height: 1;
}

/* Lista FAQ */
.faq-list { display: flex; flex-direction: column; }

.faq-item { border-top: 1px solid rgba(255,255,255,0.1); }
.faq-item:last-child { border-bottom: 1px solid rgba(255,255,255,0.1); }

/* Perguntas — Barlow Condensed para texto normal + IvyOra Italic para keywords */
.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: clamp(18px, 2.5vw, 24px) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: clamp(1.675rem, 5vw, 2.275rem);
  color: var(--light);
  letter-spacing: -0.01em;
  text-transform: uppercase;
  transition: color var(--dur-fast);
}
.faq-q:hover { color: var(--white); }

/* Keywords — IvyOra Display Medium Italic laranja */
.faq-q em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: var(--orange);
  font-size: 1.05em;
  text-transform: none;
  letter-spacing: -0.02em;
}

.faq-arrow {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--orange);
  transition: transform var(--dur-base) var(--ease-out);
}
.faq-item.open .faq-arrow { transform: rotate(90deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s var(--ease-out), padding 0.38s var(--ease-out);
}
.faq-item.open .faq-a {
  max-height: 300px;
  padding-bottom: clamp(16px, 2vw, 24px);
}

/* Respostas — Inter Medium */
.faq-a p {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: clamp(1rem, 2.2vw, 1.1rem);
  color: rgba(255,255,255,0.7);
  letter-spacing: -0.02em;
  line-height: 1.8;
  padding-left: 14px;
  border-left: 2px solid rgba(254,85,42,0.4);
}

/* ── BOTTOM CARD (FAQ list + footer dentro do card) ────────── */
.bottom-card {
  border-radius: 16px;
  overflow: hidden;
  padding: clamp(28px, 4vw, 48px) clamp(28px, 5vw, 56px) clamp(28px, 4vw, 48px);
}

.footer-text {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: clamp(0.68rem, 1.6vw, 0.9rem);
  color: var(--muted);
  letter-spacing: -0.03em;
  text-align: center;
  padding-top: clamp(32px, 6vw, 64px);
  display: block;
}

/* ── RESPONSIVO ───────────────────────────────────────────── */
@media (min-width: 641px) {
  .hero-buttons {
    flex-direction: row;
    max-width: none;
    justify-content: center;
  }
  .hero-buttons .btn { flex: 1 1 0; min-width: 0; }
}

@media (max-width: 640px) {

  /* ── Hero: imagem mobile específica ── */
  .hero {
    background-image: url('images/bg-mobile.png');
    background-size: cover;
    background-position: center center;
    padding: 30px 20px !important;
    min-height: auto;
  }

  /* ── FAQ/Footer: imagem mobile específica ── */
  .faq {
    background-image: url('images/bg-mobile2.png'), none;
  }
  .hero-inner { gap: 12px; }
  .profile-outer-ring { width: 170px; height: 170px; }
  .profile-ring        { width: 130px; height: 130px; }

  /* ── CTA: texto e botão centralizados no mobile ── */
  .cta {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 36px 24px;
    gap: 20px;
  }
  .btn-cta { align-self: center; }

  /* ── About ── */
  .about { padding: 40px 0; }
  .about-inner {
    flex-direction: column;
    margin: 0 10px;
    padding: 0 16px;
    gap: 20px;
  }
  .about-photo { flex: none; max-width: 100%; width: 100%; }
  .about-photo img { height: 320px; }

  /* ── FAQ ── */
  .faq { padding: 40px 0; }
  .bottom-card { margin: 0 10px; padding: 0 16px 28px; }
  .faq-header { flex-direction: column; align-items: flex-start; gap: 0; margin-bottom: 24px; margin-left: 0; margin-right: 0; }
  .faq-list { margin-left: 0; margin-right: 0; text-align: left; }

  /* ── Projetos ── */
  .projects { padding: 40px 20px; gap: 24px; }

  /* ── Geral: reduzir gaps e paddings ── */
  .section-title { font-size: clamp(1.8rem, 7vw, 2.6rem); }
  .faq-bold   { font-size: clamp(2.2rem, 10vw, 3.5rem); }
  .faq-italic { font-size: clamp(1.8rem, 8vw, 2.8rem); }

  /* ── Ticker: fonte menor no mobile ── */
  .ticker-item { font-size: 0.75rem !important; letter-spacing: 0.06em; padding: 0 10px; }
  .ticker-track { animation-delay: -5s; left: 50%; transform: translateY(-50%); animation-name: ticker-left-mobile; }
  @keyframes ticker-left-mobile {
    from { transform: translateX(-50%) translateY(-50%); }
    to   { transform: translateX(calc(-50% - 33.333%)) translateY(-50%); }
  }

  /* ── FAQ alinhamento mobile ── */
  .faq { padding: 40px 0 !important; }
  .bottom-card { margin: 0 10px !important; padding: 0 16px 28px !important; }
  .faq-bold   { font-size: clamp(3rem, 11vw, 4rem) !important; }
  .faq-italic { font-size: clamp(2.5rem, 9vw, 3.2rem) !important; }
}

/* Limita o conteúdo interno do about em telas grandes */
@media (min-width: 1080px) {
  .about-inner  { max-width: 860px; margin-left: auto; margin-right: auto; }
  .about-photo  { flex: 0 0 340px; }
  .about-content { max-width: none; flex: 1; }
}
