/* <!-- 
  Built by Christian Vendramel Rebolo
  If you're reading this, give credit  😉
  Unauthorized copying is prohibited.
--> */

/* cr-dev-signature: Christian Vendramel Rebolo */

/* ============================================================
   THIAGOFNX — RESPONSIVE.CSS
   Estratégia: mobile-first puro.
   As regras BASE (sem media query) definem o mobile.
   Cada breakpoint ACRESCENTA ajustes para telas maiores.

   Breakpoints:
   ├── base         → mobile (< 480px)
   ├── min 480px    → celular grande / phablet
   ├── min 769px    → tablet landscape + desktop pequeno
   ├── min 1025px   → laptop / desktop
   ├── min 1281px   → desktop médio (Full HD)
   ├── min 1537px   → monitor 1440p / 27"
   └── min 1921px   → 4K / TV / ultrawide
   ============================================================ */


/* ══════════════════════════════════════════════════
   BASE — MOBILE (sem media query, vale para tudo)
   Estas regras são a base. Os breakpoints sobrescrevem.
══════════════════════════════════════════════════ */

/* Espaçamentos menores em mobile */
:root {
  --space-xl: 3.5rem;
  --space-lg: 2.5rem;
}

/* ── Navbar: esconde links e social, mostra burger ── */
.nav__links {
  display: none;
}
.nav__social {
  display: none;
}
.nav__burger {
  display: flex;
}

/* ── Hero: empilha em coluna única ── */
.hero {
  padding-top: 72px;
}
.hero__inner {
  grid-template-columns: 1fr;
  gap: 2rem;
  text-align: center;
}
.hero__photo-wrap {
  align-items: center;
}
.hero__photo {
  width: 180px;
  height: 180px;
}
.hero__name {
  font-size: 3.2rem;
}
.hero__tagline {
  font-size: 0.93rem;
  margin-inline: auto;
}
.hero__actions {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.hero__actions .btn {
  width: 100%;
  max-width: 290px;
  justify-content: center;
}

/* ── Eyebrow: centraliza em mobile ── */
.eyebrow {
  justify-content: center;
}
.eyebrow::before {
  display: none;
}

/* ── Story ── */
.story__container {
  padding-inline: 1.25rem;
}
.chapter-marker__num {
  display: none;
}
.chapter__title {
  font-size: 1.55rem;
}
.pullquote {
  padding: 1.25rem 1.5rem;
}
.pullquote p {
  font-size: 1.05rem;
}

/* ── Identity ── */
.identity__inner {
  padding-inline: 1.25rem;
}
.identity__mark {
  width: 72px;
  height: 72px;
  font-size: 1.6rem;
}
.identity__title {
  font-size: 1.55rem;
}

/* ── Pilares: 1 coluna ── */
.pillars__grid {
  grid-template-columns: 1fr;
}

/* ── Social cards: 1 coluna ── */
.social-cards {
  grid-template-columns: 1fr;
  padding-inline: 1.25rem;
}

/* ── Timeline ── */
.timeline__strip {
  padding-inline: 1rem;
}
.timeline__item {
  width: 115px;
}

/* ── WhatsApp flutuante: só ícone ── */
.wfloat {
  padding: 0.85rem;
  border-radius: 50%;
}
.wfloat__label {
  display: none;
}


/* ══════════════════════════════════════════════════
   XS EXTRA — Telas muito pequenas (< 360px)
   Ex: iPhone 4, Galaxy Ace, telas antigas
══════════════════════════════════════════════════ */
@media (max-width: 359px) {
  .hero__photo   { width: 140px; height: 140px; }
  .hero__name    { font-size: 2.6rem; }
  .hero__tagline { font-size: 0.86rem; }
  .hero__actions .btn { max-width: 260px; }

  .story__container  { padding-inline: 1rem; }
  .identity__inner   { padding-inline: 1rem; }
  .social-cards      { padding-inline: 1rem; }

  .chapter__title  { font-size: 1.35rem; }
  .prose p         { font-size: 0.9rem; }
  .impact-lines p  { font-size: 0.96rem; }
  .pullquote       { padding: 1rem 1.25rem; }
  .pullquote p     { font-size: 0.96rem; }

  .identity__mark  { width: 60px; height: 60px; font-size: 1.3rem; }
  .identity__title { font-size: 1.35rem; }

  .timeline__item  { width: 100px; }
  .timeline__year  { font-size: 0.95rem; }
}


/* ══════════════════════════════════════════════════
   SM — Celular grande / phablet (≥ 480px)
   Ex: iPhone Plus, Galaxy Ultra, Pixel Pro
══════════════════════════════════════════════════ */
@media (min-width: 480px) {
  .hero__photo { width: 200px; height: 200px; }
  .hero__name  { font-size: 3.8rem; }

  /* Botões do hero lado a lado */
  .hero__actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  .hero__actions .btn {
    width: auto;
    max-width: none;
  }

  /* Social cards: 2 colunas */
  .social-cards { grid-template-columns: 1fr 1fr; }

  .chapter__title  { font-size: 1.7rem; }
  .identity__title { font-size: 1.7rem; }
  .timeline__item  { width: 130px; }
}


/* ══════════════════════════════════════════════════
   MD — Tablet landscape e desktop pequeno (≥ 769px)
   Ex: iPad landscape, Surface, tablets em geral
══════════════════════════════════════════════════ */
@media (min-width: 769px) {
  :root {
    --space-xl: 5rem;
    --space-lg: 3.5rem;
  }

  /* Navbar tablet: links visíveis, sem social, burger para drawer */
  .nav__links  { display: flex; gap: 1.5rem; }
  .nav__social { display: flex; }
  .nav__burger { display: none; }

  /* Hero: grid lado a lado */
  .hero { padding-top: 85px; }
  .hero__inner {
    grid-template-columns: auto 1fr;
    gap: 3.5rem;
    text-align: left;
  }
  .hero__photo-wrap { align-items: center; }
  .hero__photo      { width: 240px; height: 240px; }
  .hero__name       { font-size: clamp(3.5rem, 7vw, 5.5rem); }
  .hero__tagline    { font-size: 1rem; margin-inline: 0; }
  .hero__actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
  }
  .hero__actions .btn { width: auto; max-width: none; }

  /* Eyebrow: alinhamento esquerdo */
  .eyebrow          { justify-content: flex-start; }
  .eyebrow::before  { display: block; }

  /* Story */
  .story__container  { padding-inline: 2rem; }
  .chapter-marker__num { display: block; }
  .chapter__title    { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
  .pullquote         { padding: 2rem 2.5rem; }
  .pullquote p       { font-size: 1.2rem; }

  /* Identity */
  .identity__inner  { padding-inline: 2rem; }
  .identity__mark   { width: 90px; height: 90px; font-size: 2rem; }
  .identity__title  { font-size: clamp(1.8rem, 3.5vw, 2.4rem); }

  /* Pilares: 2 colunas */
  .pillars__grid { grid-template-columns: 1fr 1fr; }

  /* Social cards: 3 colunas */
  .social-cards {
    grid-template-columns: repeat(3, 1fr);
    padding-inline: 2rem;
  }

  /* Timeline */
  .timeline__strip { padding-inline: 2rem; }
  .timeline__item  { width: 140px; }

  /* WhatsApp flutuante: mostra label */
  .wfloat {
    padding: 0.82rem 1.3rem;
    border-radius: 999px;
  }
  .wfloat__label { display: inline; }
}

/* Tablet em portrait: hero volta para coluna única */
@media (min-width: 769px) and (max-width: 1024px) and (orientation: portrait) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }
  .hero__photo-wrap { align-items: center; }
  .hero__tagline    { margin-inline: auto; }
  .hero__actions    { justify-content: center; }
  .eyebrow          { justify-content: center; }
  .eyebrow::before  { display: none; }
  .hero__photo      { width: 220px; height: 220px; }
}


/* ══════════════════════════════════════════════════
   LG — Laptop e desktop (≥ 1025px)
   Ex: MacBook, notebooks, monitor 1280px
══════════════════════════════════════════════════ */
@media (min-width: 1025px) {
  :root {
    --space-xl: 6rem;
    --space-lg: 4rem;
  }

  /* Navbar completa — burger oculto, links e social visíveis */
  .nav__links  { display: flex; gap: 2rem; }
  .nav__social { display: flex; }
  .nav__burger { display: none; }

  /* Hero */
  .hero { padding-top: 80px; }
  .hero__inner { gap: 5rem; }
  .hero__photo { width: 300px; height: 300px; }
  .hero__name  { font-size: clamp(4rem, 8vw, 7rem); }

  /* Pilares: 3 colunas */
  .pillars__grid { grid-template-columns: repeat(3, 1fr); }

  /* Social cards: 3 colunas */
  .social-cards { grid-template-columns: repeat(3, 1fr); }

  /* Timeline */
  .timeline__item { width: 148px; }
}


/* ══════════════════════════════════════════════════
   XL — Desktop médio (≥ 1281px)
   Ex: Full HD 1920×1080, iMac, Dell 1440p
══════════════════════════════════════════════════ */
@media (min-width: 1281px) {
  .container       { max-width: 860px; }
  .container--wide { max-width: 1200px; }
  .hero__inner { gap: 5rem; }
}


/* ══════════════════════════════════════════════════
   2XL — Monitor grande 1440p (≥ 1537px)
   Ex: 27" 1440p, MacBook Pro 16"
══════════════════════════════════════════════════ */
@media (min-width: 1537px) {
  :root {
    --space-xl: 8rem;
    --space-lg: 5rem;
  }

  .container        { max-width: 960px; }
  .container--wide  { max-width: 1360px; }
  .story__container { max-width: 720px; }
  .identity__inner  { max-width: 720px; }

  .nav__links { gap: 2.5rem; }
  .nav__link  { font-size: 0.85rem; }

  .hero__inner          { gap: 6rem; }
  .hero__photo          { width: 340px; height: 340px; }
  .hero__name           { font-size: 8rem; }
  .hero__name .name-sub { font-size: 1.6rem; }
  .hero__tagline        { font-size: 1.08rem; max-width: 500px; }

  .chapter__title  { font-size: 2.8rem; }
  .prose p         { font-size: 1.08rem; }
  .impact-lines p  { font-size: 1.2rem; }
  .pullquote p     { font-size: 1.35rem; }

  .pillar       { padding: 2.5rem 2rem; }
  .pillar__title { font-size: 1.12rem; }
  .pillar__text  { font-size: 0.92rem; }

  .social-cards   { max-width: 960px; }
  .timeline__item { width: 170px; }
  .timeline__year { font-size: 1.5rem; }
}


/* ══════════════════════════════════════════════════
   3XL — 4K / TV / Ultrawide (≥ 1921px)
   Ex: TV 4K, monitor 32"+ 4K, ultrawide 3440px
══════════════════════════════════════════════════ */
@media (min-width: 1921px) {
  :root {
    --space-xl: 10rem;
    --space-lg: 6rem;
  }

  .container        { max-width: 1100px; }
  .container--wide  { max-width: 1600px; }
  .story__container { max-width: 820px; }
  .identity__inner  { max-width: 820px; }
  .social-cards     { max-width: 1100px; padding-inline: 0; }

  .nav              { padding: 1.4rem 0; }
  .nav__links       { gap: 3rem; }
  .nav__link        { font-size: 0.9rem; letter-spacing: 0.12em; }
  .nav__social      { gap: 1.2rem; }
  .nav__social a    { font-size: 1.15rem; }
  .nav__logo        { font-size: 1.3rem; }
  .nav__logo-badge  { width: 42px; height: 42px; font-size: 1.9rem; }

  .hero             { padding-top: 100px; }
  .hero__inner      { gap: 8rem; }
  .hero__photo      { width: 420px; height: 420px; }
  .hero__photo-label { font-size: 0.85rem; letter-spacing: 0.16em; }
  .hero__name           { font-size: clamp(8rem, 9vw, 12rem); }
  .hero__name .name-sub { font-size: clamp(1.4rem, 2vw, 2rem); }
  .hero__tagline    { font-size: 1.15rem; max-width: 580px; line-height: 2; }
  .btn              { padding: 0.9rem 2rem; font-size: 0.9rem; }

  .chapter-marker__num { font-size: 6rem; }
  .chapter__title      { font-size: 3.2rem; }
  .prose p             { font-size: 1.12rem; line-height: 2; }
  .impact-lines p      { font-size: 1.3rem; }
  .pullquote           { padding: 2.5rem 3rem; }
  .pullquote p         { font-size: 1.5rem; }

  .identity__mark  { width: 110px; height: 110px; font-size: 2.5rem; border-radius: 22px; }
  .identity__title { font-size: 3rem; }

  .pillars__grid   { gap: 2rem; }
  .pillar          { padding: 3rem 2.5rem; }
  .pillar__icon    { font-size: 2rem; margin-bottom: 1.5rem; }
  .pillar__title   { font-size: 1.25rem; }
  .pillar__text    { font-size: 0.98rem; }

  .social-cards        { gap: 1.5rem; }
  .social-card         { padding: 1.75rem 2rem; }
  .social-card__icon   { width: 54px; height: 54px; font-size: 1.5rem; border-radius: 12px; }
  .social-card__name   { font-size: 1rem; }
  .social-card__handle { font-size: 0.85rem; }

  .timeline__item  { width: 200px; }
  .timeline__year  { font-size: 1.7rem; }
  .timeline__event { font-size: 0.88rem; }

  .footer             { padding-block: 4rem; }
  .footer__logo       { font-size: 1.3rem; margin-bottom: 1.25rem; }
  .footer__logo-badge { width: 42px; height: 42px; font-size: 1.85rem; }
  .footer__tagline    { font-size: 1rem; }
  .footer__social a   { width: 46px; height: 46px; font-size: 1.1rem; }
  .footer__copy       { font-size: 0.82rem; }

  .btt    { width: 52px; height: 52px; font-size: 1.1rem; bottom: 2.5rem; left: 2.5rem; }
  .wfloat { padding: 1rem 1.75rem; font-size: 0.92rem; bottom: 2.5rem; right: 2.5rem; }
  .wfloat i { font-size: 1.3rem; }
}
