/* ============================================================
   GABRIEL PEREZ — Link da Bio
   Bloom Estúdio de Design | Identidade Visual Oficial
   ============================================================ */

/* ── CSS VARIABLES ───────────────────────────────────────── */
:root {
  /* Paleta oficial */
  --midnight:   #1A1223;
  --lilas:      #A8A0EF;
  --violeta:    #362563;
  --ametista:   #704FBA;
  --off-white:  #F5F4F2;
  --cinza:      #C7C7C7;
  --bege:       #EDDED6;

  /* Aliases funcionais */
  --bg-base:    var(--midnight);
  --bg-card:    #1e1530;
  --bg-card2:   #211733;
  --border:     rgba(168, 160, 239, 0.14);
  --border-hov: rgba(168, 160, 239, 0.40);

  /* Tipografia */
  --font-serif:  'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans:   'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-script: 'Dancing Script', cursive;

  /* Radii */
  --r-sm:   8px;
  --r-md:   16px;
  --r-lg:   22px;
  --r-xl:   28px;
  --r-full: 999px;

  /* Espaçamentos */
  --sp-xs: 0.5rem;
  --sp-sm: 1rem;
  --sp-md: 1.5rem;
  --sp-lg: 2.5rem;
  --sp-xl: 4rem;

  /* Transições */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* Layout */
  --max-w: 480px;
}

/* ── RESET ───────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  background-color: var(--bg-base);
  color: var(--off-white);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ── AMBIENT GLOW ────────────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 55% at 50% 0%,   rgba(112, 79, 186, 0.20) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 10% 75%,  rgba(54,  37,  99, 0.22) 0%, transparent 60%),
    radial-gradient(ellipse 40% 30% at 88% 88%,  rgba(168,160, 239, 0.07) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}

/* ── LAYOUT ──────────────────────────────────────────────── */
.page-wrapper {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-md) var(--sp-xl);
  position: relative;
  z-index: 1;
}

/* ── KEYFRAMES ───────────────────────────────────────────── */
@keyframes hero-zoom {
  from { transform: scale(1.04); }
  to   { transform: scale(1.12); }
}

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

@keyframes ripple {
  to { transform: scale(2.8); opacity: 0; }
}

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  position: relative;
  width: calc(100% + var(--sp-md) * 2);
  margin-left: calc(-1 * var(--sp-md));
  min-height: 520px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/hero.jpg');
  background-size: cover;
  background-position: center top;
  animation: hero-zoom 14s ease-in-out infinite alternate;
  will-change: transform;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(26, 18, 35, 0.10) 0%,
      rgba(26, 18, 35, 0.05) 20%,
      rgba(26, 18, 35, 0.30) 55%,
      rgba(26, 18, 35, 0.88) 78%,
      rgba(26, 18, 35, 0.98) 100%
    ),
    linear-gradient(135deg, rgba(54, 37, 99, 0.20) 0%, transparent 55%);
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  text-align: center;
  padding: 0 var(--sp-md) var(--sp-lg);
  animation: fadeUp 0.9s 0.1s both;
}

.hero__logo {
  width: min(230px, 62vw);
  height: auto;
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.28rem 0.9rem;
  border-radius: var(--r-full);
  border: 1px solid rgba(168, 160, 239, 0.30);
  background: rgba(168, 160, 239, 0.08);
  font-size: 0.66rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--lilas);
  font-weight: 500;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.hero__tag::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ametista);
  box-shadow: 0 0 7px var(--ametista);
  flex-shrink: 0;
}

.hero__headline {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 4.8vw, 1.45rem);
  font-weight: 300;
  font-style: italic;
  color: var(--off-white);
  line-height: 1.32;
  max-width: 340px;
}

.hero__headline strong {
  font-style: normal;
  font-weight: 500;
  color: var(--lilas);
}

.hero__sub {
  font-size: 0.75rem;
  color: rgba(245, 244, 242, 0.55);
  letter-spacing: 0.04em;
}

.hero__divider {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  width: 120px;
}

.hero__divider::before,
.hero__divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(168, 160, 239, 0.4));
}

.hero__divider::after {
  background: linear-gradient(to left, transparent, rgba(168, 160, 239, 0.4));
}

.hero__divider-gem {
  width: 5px;
  height: 5px;
  border-radius: 1px;
  background: var(--ametista);
  box-shadow: 0 0 8px var(--ametista);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* ── SOCIALS ─────────────────────────────────────────────── */
.socials {
  display: flex;
  justify-content: center;
  gap: 0.65rem;
  padding: var(--sp-md) 0 var(--sp-lg);
  animation: fadeUp 0.7s 0.3s both;
  flex-wrap: wrap;
}

.social-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(168, 160, 239, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease),
              color 0.3s var(--ease), transform 0.3s var(--ease),
              box-shadow 0.3s var(--ease);
  color: var(--cinza);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  text-decoration: none;
}

.social-btn:hover,
.social-btn:focus-visible {
  border-color: var(--border-hov);
  background: rgba(168, 160, 239, 0.13);
  color: var(--lilas);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(112, 79, 186, 0.22);
  outline: none;
}

.social-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* ── SECTION LABEL ───────────────────────────────────────── */
.sec-label {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  margin-bottom: var(--sp-md);
}

.sec-label__line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

.sec-label__text {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ametista);
  font-weight: 500;
  white-space: nowrap;
}

/* ── CARDS BASE ──────────────────────────────────────────── */
.cards-stack {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
  margin-bottom: var(--sp-lg);
}

.card {
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
  overflow: hidden;
  cursor: pointer;
  transition:
    transform 0.32s var(--ease),
    box-shadow 0.32s var(--ease),
    border-color 0.32s var(--ease);
  text-decoration: none;
  color: inherit;
  display: block;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}

.card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(168, 160, 239, 0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.card:hover,
.card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--border-hov);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45), 0 0 40px rgba(112, 79, 186, 0.13);
  outline: none;
}

.card:hover::after,
.card:focus-visible::after {
  opacity: 1;
}

.card:active {
  transform: translateY(-1px);
}

.card-row {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  align-items: center;
  gap: var(--sp-md);
  padding: var(--sp-md);
}

.card-icon {
  width: 76px;
  height: 76px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.card-icon svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Icon themes */
.card--instagram .card-icon {
  background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
  color: #fff;
}

.card--whatsapp .card-icon {
  background: linear-gradient(135deg, #075e54 0%, #25d366 100%);
  color: #fff;
}

.card--youtube .card-icon {
  background: linear-gradient(135deg, #1a0808 0%, #c4302b 100%);
  color: #fff;
}

.card--rezga .card-icon {
  background: rgba(168, 160, 239, 0.06);
  border: 1px solid rgba(168, 160, 239, 0.15);
  padding: 12px;
}

/* Card text */
.card-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.card-eyebrow {
  font-size: 0.61rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ametista);
  font-weight: 500;
}

.card-title {
  font-family: var(--font-serif);
  font-size: 1.18rem;
  font-weight: 500;
  color: var(--off-white);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-desc {
  font-size: 0.73rem;
  color: var(--cinza);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Arrow */
.card-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease),
              color 0.3s var(--ease), transform 0.3s var(--ease);
  color: var(--cinza);
}

.card-arrow svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

.card:hover .card-arrow,
.card:focus-visible .card-arrow {
  border-color: var(--ametista);
  background: var(--ametista);
  color: #fff;
  transform: translateX(2px);
}

/* ── DECP CARD ───────────────────────────────────────────── */
.card--decp {
  background: linear-gradient(160deg, #231640 0%, #1a1223 60%, #120d1d 100%);
}

.card--decp .card-cover {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--sp-md);
  padding: var(--sp-md);
  min-height: 110px;
  overflow: hidden;
}

.card--decp .card-cover::before {
  content: '';
  position: absolute;
  top: -30px; right: -30px;
  width: 200px; height: 200px;
  border-radius: 50%;
  border: 1px solid rgba(168, 160, 239, 0.10);
  pointer-events: none;
}

.card--decp .card-cover::after {
  content: '';
  position: absolute;
  top: 10px; right: 10px;
  width: 100px; height: 100px;
  border-radius: 50%;
  border: 1px solid rgba(168, 160, 239, 0.07);
  pointer-events: none;
}

.card-cover-glow {
  position: absolute;
  top: -40px; right: -40px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(112, 79, 186, 0.35) 0%, transparent 70%);
  pointer-events: none;
}

.decp-divider {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, transparent, rgba(168, 160, 239, 0.35), transparent);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.decp-logo-side {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.decp-logo {
  height: 42px;
  width: auto;
}

.decp-text-side {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  min-width: 0;
}

.cover-eyebrow {
  font-size: 0.59rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lilas);
  opacity: 0.8;
  font-weight: 500;
}

.cover-title {
  font-family: var(--font-serif);
  font-size: 1.22rem;
  font-weight: 300;
  color: var(--off-white);
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.cover-title em {
  font-style: italic;
  color: var(--lilas);
}

.card--decp .card-body {
  padding: var(--sp-sm) var(--sp-md) var(--sp-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-sm);
  border-top: 1px solid rgba(168, 160, 239, 0.10);
}

.card-body-desc {
  font-size: 0.74rem;
  color: var(--cinza);
  line-height: 1.6;
  flex: 1;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 1.1rem;
  border-radius: var(--r-full);
  background: linear-gradient(135deg, var(--ametista), var(--violeta));
  color: var(--off-white);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
  box-shadow: 0 4px 18px rgba(112, 79, 186, 0.38);
}

.btn-primary svg {
  width: 11px;
  height: 11px;
  fill: currentColor;
}

.card:hover .btn-primary,
.card:focus-visible .btn-primary {
  box-shadow: 0 6px 26px rgba(112, 79, 186, 0.60);
  transform: scale(1.03);
}

/* ── INSTAGRAM POST CARD ─────────────────────────────────── */
.card--instagram-post {
  background: var(--bg-card2);
  padding: var(--sp-md);
}

.insta-post-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: var(--sp-sm);
}

.insta-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid transparent;
  background:
    linear-gradient(var(--bg-card2), var(--bg-card2)) padding-box,
    linear-gradient(135deg, #833ab4, #fcb045) border-box;
}

.insta-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.insta-handle {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--off-white);
}

.insta-handle span {
  display: block;
  font-size: 0.68rem;
  color: var(--cinza);
  font-weight: 400;
}

.insta-embed-wrap {
  border-radius: var(--r-md);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.3);
  margin-bottom: var(--sp-sm);
}

.insta-embed-wrap blockquote {
  width: 100% !important;
  min-width: unset !important;
}

.insta-post-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-sm);
}

.insta-post-caption {
  font-size: 0.73rem;
  color: var(--cinza);
  line-height: 1.5;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.btn-insta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.48rem 1rem;
  border-radius: var(--r-full);
  border: 1px solid rgba(168, 160, 239, 0.25);
  background: rgba(168, 160, 239, 0.07);
  color: var(--lilas);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.btn-insta:hover,
.btn-insta:focus-visible {
  background: rgba(168, 160, 239, 0.14);
  border-color: rgba(168, 160, 239, 0.50);
  outline: none;
}

.btn-insta svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

/* ── SOBRE MIM ───────────────────────────────────────────── */
.about {
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  background: var(--bg-card);
  overflow: hidden;
  margin-bottom: var(--sp-lg);
  position: relative;
}

.about::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--violeta), var(--ametista), var(--lilas));
  z-index: 1;
}

.about__visual {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.about__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  filter: saturate(0.85);
}

.about__photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26, 18, 35, 0.10) 0%,
    rgba(26, 18, 35, 0.00) 40%,
    rgba(26, 18, 35, 0.85) 85%,
    rgba(26, 18, 35, 1.00) 100%
  );
}

.about__photo-tag {
  position: absolute;
  bottom: var(--sp-md);
  left: var(--sp-md);
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 300;
  font-style: italic;
  color: var(--off-white);
  line-height: 1.3;
}

.about__photo-tag em {
  color: var(--lilas);
  font-style: italic;
}

.about__body {
  padding: var(--sp-md) var(--sp-md) var(--sp-lg);
}

.about__eyebrow {
  font-size: 0.61rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ametista);
  font-weight: 500;
  margin-bottom: var(--sp-sm);
}

.about__text {
  font-size: 0.82rem;
  color: var(--cinza);
  line-height: 1.85;
  margin-bottom: 0.85rem;
}

.about__text:last-of-type {
  margin-bottom: 0;
}

.about__text strong {
  color: var(--bege);
  font-weight: 500;
}

.about__pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin-top: var(--sp-md);
}

.about__pillar {
  text-align: center;
  padding: 0.75rem 0.5rem;
  border-radius: var(--r-md);
  background: rgba(168, 160, 239, 0.05);
  border: 1px solid var(--border);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.about__pillar:hover {
  border-color: var(--border-hov);
  background: rgba(168, 160, 239, 0.09);
}

.about__pillar-icon {
  font-size: 1.3rem;
  margin-bottom: 0.35rem;
  display: block;
}

.about__pillar-label {
  font-size: 0.65rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--lilas);
  font-weight: 500;
}

/* ── CTA FINAL ───────────────────────────────────────────── */
.cta {
  text-align: center;
  padding: var(--sp-lg) 0 var(--sp-md);
}

.cta__script {
  font-family: var(--font-script);
  font-size: 1.05rem;
  color: var(--lilas);
  opacity: 0.8;
  margin-bottom: 0.4rem;
}

.cta__heading {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 6vw, 2rem);
  font-weight: 300;
  color: var(--off-white);
  line-height: 1.2;
  margin-bottom: var(--sp-sm);
}

.cta__heading em {
  font-style: italic;
  color: var(--lilas);
}

.cta__sub {
  font-size: 0.78rem;
  color: var(--cinza);
  line-height: 1.7;
  max-width: 270px;
  margin: 0 auto var(--sp-lg);
}

.cta-btns {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.5rem;
  border-radius: var(--r-full);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  transition: box-shadow 0.32s var(--ease), transform 0.32s var(--ease),
              background 0.32s var(--ease), border-color 0.32s var(--ease);
  text-decoration: none;
  width: 100%;
  -webkit-tap-highlight-color: transparent;
}

.btn svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  flex-shrink: 0;
}

.btn--fill {
  background: linear-gradient(135deg, var(--ametista), var(--violeta));
  color: var(--off-white);
  border: 1px solid transparent;
  box-shadow: 0 4px 20px rgba(112, 79, 186, 0.40);
}

.btn--fill:hover,
.btn--fill:focus-visible {
  box-shadow: 0 8px 32px rgba(112, 79, 186, 0.62);
  transform: translateY(-2px);
  outline: none;
}

.btn--outline {
  background: transparent;
  color: var(--off-white);
  border: 1px solid var(--border);
}

.btn--outline:hover,
.btn--outline:focus-visible {
  border-color: var(--border-hov);
  background: rgba(168, 160, 239, 0.07);
  transform: translateY(-2px);
  outline: none;
}

.btn--ghost {
  background: transparent;
  color: var(--cinza);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.74rem;
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  color: var(--lilas);
  border-color: var(--border);
  outline: none;
}

/* ── FOOTER ──────────────────────────────────────────────── */
.footer {
  text-align: center;
  padding: var(--sp-lg) 0 var(--sp-md);
  border-top: 1px solid var(--border);
  margin-top: var(--sp-sm);
}

.footer__logo {
  height: 22px;
  width: auto;
  margin: 0 auto var(--sp-xs);
  opacity: 0.35;
}

.footer__copy {
  font-size: 0.66rem;
  color: rgba(199, 199, 199, 0.30);
  letter-spacing: 0.06em;
}

/* ── SCROLL REVEAL ───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── RESPONSIVO — TABLET (481–768px) ─────────────────────── */
@media (min-width: 481px) {
  .page-wrapper {
    padding-left: var(--sp-lg);
    padding-right: var(--sp-lg);
  }

  .hero {
    min-height: 580px;
  }

  .hero__logo {
    width: min(260px, 55vw);
  }

  .hero__headline {
    font-size: 1.5rem;
  }

  .card-row {
    gap: var(--sp-lg);
    padding: var(--sp-lg) var(--sp-md);
  }

  .card-icon {
    width: 84px;
    height: 84px;
  }

  .card-title {
    font-size: 1.28rem;
  }

  .about__visual {
    height: 280px;
  }

  .cta__heading {
    font-size: 2.1rem;
  }
}

/* ── RESPONSIVO — DESKTOP (769px+) ──────────────────────── */
@media (min-width: 769px) {
  :root {
    --max-w: 520px;
  }

  body {
    font-size: 16px;
  }

  .hero {
    min-height: 620px;
  }

  .hero__content {
    gap: 0.7rem;
  }

  .hero__logo {
    width: 270px;
  }

  .hero__tag {
    font-size: 0.7rem;
  }

  .hero__headline {
    font-size: 1.55rem;
  }

  .about__pillars {
    gap: 0.8rem;
  }

  .about__pillar {
    padding: 1rem 0.5rem;
  }

  .cta-btns {
    max-width: 380px;
    margin: 0 auto;
  }
}

/* ── RESPONSIVO — MOBILE PEQUENO (≤360px) ────────────────── */
@media (max-width: 360px) {
  :root {
    --sp-md: 1.1rem;
    --sp-lg: 1.8rem;
  }

  .hero {
    min-height: 460px;
  }

  .hero__logo {
    width: min(200px, 68vw);
  }

  .hero__tag {
    font-size: 0.6rem;
    padding: 0.25rem 0.75rem;
  }

  .hero__headline {
    font-size: 1.15rem;
  }

  .socials {
    gap: 0.5rem;
  }

  .social-btn {
    width: 38px;
    height: 38px;
  }

  .card-row {
    grid-template-columns: 64px 1fr auto;
    gap: 0.75rem;
    padding: 0.85rem;
  }

  .card-icon {
    width: 64px;
    height: 64px;
  }

  .card-title {
    font-size: 1rem;
  }

  .card-desc {
    font-size: 0.68rem;
  }

  .card--decp .card-cover {
    gap: 0.75rem;
    padding: 0.85rem;
    min-height: 95px;
  }

  .decp-logo {
    height: 32px;
  }

  .cover-title {
    font-size: 1.05rem;
  }

  .about__visual {
    height: 200px;
  }

  .about__photo-tag {
    font-size: 1.1rem;
  }

  .about__pillars {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .about__pillar:last-child {
    grid-column: 1 / -1;
  }

  .btn {
    padding: 0.85rem 1.2rem;
    font-size: 0.74rem;
  }

  .cta__heading {
    font-size: 1.5rem;
  }
}

/* ── PRINT / REDUCED MOTION ──────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero__bg {
    animation: none;
  }
}

/* ── YOUTUBE BANNER CARD ─────────────────────────────────── */
.card--youtube-banner {
  background: #0d0d18;
  overflow: hidden;
  contain: layout style;
}

.yt-banner-wrap {
  width: 100%;
  height: 160px;
  overflow: hidden;
  display: block;
  position: relative;
  line-height: 0;
  font-size: 0;
}

.yt-banner-wrap img.yt-banner-img {
  width: 100% !important;
  height: 160px !important;
  max-height: 160px !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

.yt-card-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-sm);
  padding: var(--sp-sm) var(--sp-md) var(--sp-md);
  border-top: 1px solid rgba(168, 160, 239, 0.10);
}

.yt-card-info { display: flex; align-items: center; gap: .75rem; }

.yt-icon {
  width: 36px; height: 36px;
  min-width: 36px; max-width: 36px;
  min-height: 36px; max-height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a0808, #c4302b);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; overflow: hidden;
}
.yt-icon svg { width: 16px !important; height: 16px !important; fill: #fff !important; }

.yt-label { display: flex; flex-direction: column; gap: .1rem; }
.yt-eyebrow { font-size: .59rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ametista); font-weight: 500; }
.yt-name { font-family: var(--font-serif); font-size: 1.05rem; font-weight: 500; color: var(--off-white); line-height: 1.2; }

.btn-yt {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .48rem 1.1rem;
  border-radius: var(--r-full);
  background: linear-gradient(135deg, #c4302b, #a01f1a);
  color: #fff;
  font-size: .68rem; font-weight: 500; letter-spacing: .07em; text-transform: uppercase;
  white-space: nowrap; flex-shrink: 0;
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
  box-shadow: 0 4px 14px rgba(196, 48, 43, .35);
}
.btn-yt svg { width: 12px !important; height: 12px !important; fill: currentColor !important; }
.card:hover .btn-yt,
.card:focus-visible .btn-yt { box-shadow: 0 6px 20px rgba(196,48,43,.55); transform: scale(1.03); }
