/* ═══════════════════════════════════════════════
   LARISSA FER — Bordeaux · Circular Avatar
═══════════════════════════════════════════════ */

:root {
  --bg:            #5B0A25;
  --bg-dark:       #3E0619;
  --bg-mid:        #6e1030;
  --rose:          #E8C7C9;
  --rose-dark:     #d4a8ab;
  --gold:          #DAB97F;
  --gold-light:    #EDD59E;
  --gold-dark:     #b8974f;
  --offwhite:      #F5F0E8;
  --text-muted:    rgba(245, 240, 232, 0.50);

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Jost', system-ui, sans-serif;
  --radius-btn: 50px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

/* ── BODY ── */
body {
  font-family: var(--font-sans);
  color: var(--offwhite);
  min-height: 100dvh;
  overflow-x: hidden;
  background: radial-gradient(
    ellipse 140% 60% at 50% 0%,
    #7a1535 0%,
    var(--bg)      50%,
    var(--bg-dark) 100%
  ) fixed;
  background-color: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;   /* vertical centering on tall screens */
  padding: 3rem 0 2.5rem;
}

/* ── GRAIN ── */
.grain {
  position: fixed;
  inset: -50%; width: 200%; height: 200%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.20;
  pointer-events: none;
  z-index: 0;
  animation: grain 8s steps(10) infinite;
}
@keyframes grain {
  0%,100%{transform:translate(0,0)} 10%{transform:translate(-2%,-3%)} 20%{transform:translate(3%,2%)}
  30%{transform:translate(-1%,3%)} 40%{transform:translate(2%,-2%)} 50%{transform:translate(-3%,1%)}
  60%{transform:translate(1%,-1%)} 70%{transform:translate(-2%,3%)} 80%{transform:translate(3%,-2%)}
  90%{transform:translate(-1%,2%)}
}

/* ══════════════════════════════════════════════
   PAGE
══════════════════════════════════════════════ */
.page {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 0 1.5rem;
  opacity: 0;
  animation: fadeIn 0.9s ease 0.1s forwards;
}

/* ══════════════════════════════════════════════
   AVATAR CIRCULAR
══════════════════════════════════════════════ */
.avatar-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.8rem;
  opacity: 0;
  animation: fadeSlideDown 0.9s ease 0.2s forwards;
}

/* Anel externo decorativo — gradiente dourado */
.avatar-ring {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    var(--gold-dark)  0%,
    var(--gold-light) 25%,
    var(--gold)       50%,
    var(--gold-light) 75%,
    var(--gold-dark)  100%
  );
  opacity: 0.55;
  animation: ringRotate 12s linear infinite;
}

@keyframes ringRotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Segundo anel: borda sólida para "isolar" a foto do anel cónico */
.avatar-wrap::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 3px solid var(--bg);
  z-index: 1;
}

/* A foto circular */
.avatar {
  position: relative;
  z-index: 2;
  width: 148px;
  height: 148px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 75% 0%;      /* rosto no lado direito da foto → 75% centraliza no círculo */
  display: block;
  box-shadow:
    0 0 0 2px rgba(218,185,127,0.35),
    0 12px 40px rgba(0,0,0,0.50),
    0 4px 16px rgba(0,0,0,0.30);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.5s ease;
}
.avatar:hover {
  transform: scale(1.04);
  box-shadow:
    0 0 0 2px rgba(218,185,127,0.55),
    0 18px 52px rgba(0,0,0,0.55),
    0 6px 20px rgba(0,0,0,0.35);
}

/* ══════════════════════════════════════════════
   IDENTITY
══════════════════════════════════════════════ */
.identity {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  padding-bottom: 1.8rem;
  opacity: 0;
  animation: fadeSlideUp 0.8s ease 0.5s forwards;
}

.identity__name {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 700;
  font-size: clamp(2.4rem, 10vw, 3.2rem);
  letter-spacing: 0.02em;
  line-height: 1.05;
  background: linear-gradient(
    135deg,
    var(--gold-light) 0%,
    var(--gold)       45%,
    var(--gold-light) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.identity__divider {
  display: flex; align-items: center; gap: 0.55rem; margin: 0.05rem 0;
}
.identity__divider-line {
  display: block; width: 44px; height: 0.5px;
  background: linear-gradient(90deg, transparent, rgba(218,185,127,0.70) 60%, transparent);
}
.identity__divider-icon { width: 11px; height: 11px; flex-shrink: 0; }

.identity__tags {
  font-size: 0.68rem; font-weight: 400;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-muted);
}

/* ══════════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════════ */
.links {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

/* Card button — thumbnail + label + gold arrow tab */
.card-btn {
  display: flex;
  align-items: stretch;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
  outline: none;
  border: none;
  position: relative;
  opacity: 0;
  box-shadow:
    0 4px 20px rgba(0,0,0,0.30),
    0 1px 0 rgba(255,255,255,0.04) inset;
  transition: transform var(--transition), box-shadow var(--transition);
  -webkit-tap-highlight-color: transparent;
  background: transparent;
}
.card-btn:hover  { transform: translateY(-3px); box-shadow: 0 10px 36px rgba(0,0,0,0.40); }
.card-btn:active { transform: translateY(-1px) scale(0.99); }
.card-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Thumbnail — left square */
.card-btn__thumb {
  flex-shrink: 0;
  width: 68px;
  height: 68px;
  overflow: hidden;
  background: var(--bg-dark);
}
.card-btn__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
/* Logo thumbnail — contain on dark bg */
.card-btn__thumb--logo {
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}
.card-btn__thumb--logo img {
  object-fit: contain;
  object-position: center;
}

/* Label — dark section fills remaining space */
.card-btn__label {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  background: rgba(45, 4, 18, 0.92);
  color: var(--offwhite);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.3;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* Gold arrow tab — right side */
.card-btn__arrow {
  flex-shrink: 0;
  width: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
  color: var(--bg-dark);
  transition: background 0.3s ease;
}
.card-btn__arrow svg {
  width: 20px;
  height: 20px;
  transition: transform var(--transition);
}
.card-btn:hover .card-btn__arrow svg {
  transform: rotate(-135deg);
}

/* Staggered entrance animations */
#btn-consulta { animation: fadeSlideUp 0.7s ease 0.80s forwards; }
#btn-make     { animation: fadeSlideUp 0.7s ease 0.95s forwards; }
#btn-loja     { animation: fadeSlideUp 0.7s ease 1.10s forwards; }
#btn-insta    { animation: fadeSlideUp 0.7s ease 1.25s forwards; }



/* ── FOOTER ── */
.footer {
  width: 100%; text-align: center;
  padding: 2rem 0 0;
  display: flex; flex-direction: column; align-items: center; gap: 0.35rem;
  opacity: 0;
  animation: fadeIn 1s ease 1.5s forwards;
}
.footer__ornament { width: 100px; margin-bottom: 0.3rem; }
.footer__ornament svg { width: 100%; overflow: visible; }
.footer__name {
  font-family: var(--font-serif); font-size: 0.88rem; font-style: italic;
  font-weight: 300; letter-spacing: 0.12em; color: rgba(218,185,127,0.45);
}

/* ── ANIMATIONS ── */
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── TABLET ── */
@media (min-width: 600px) {
  .page { max-width: 460px; }
  .avatar { width: 164px; height: 164px; }
  .link-btn { padding: 1.1rem 2rem; font-size: 0.92rem; }
}

/* ── DESKTOP ── */
@media (min-width: 1024px) {
  .page { max-width: 440px; }
  .avatar { width: 172px; height: 172px; }
  .identity__name { font-size: 3rem; }
  .link-btn { padding: 1.15rem 2rem; }
}

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .grain { display: none; }
  .avatar-ring { animation: none; }
  .page, .avatar-wrap, .identity, .link-btn, .footer {
    opacity: 1 !important; transform: none !important; animation: none !important;
  }
}
