:root {
  --fundo: #A48A82;
  --titulo: #2E2725;
  --card: #6F4B45;
  --card-escuro: #5B3C37;
  --dourado: #D6B464;
  --dourado-escuro: #A4823B;
  --claro: #F2DE9B;
  --branco: #FFF9F5;
  --sans: 'Mulish', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serifa: 'Cormorant Garamond', Georgia, serif;
  --borda: linear-gradient(135deg, var(--claro) 0%, var(--dourado) 25%, var(--dourado-escuro) 55%, var(--dourado) 80%, var(--claro) 100%);
  --pilula: linear-gradient(180deg, var(--claro) 0%, var(--dourado) 55%, var(--dourado-escuro) 100%);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; background: var(--fundo); }
body { min-height: 100dvh; font-family: var(--sans); color: var(--branco); background: var(--fundo); -webkit-font-smoothing: antialiased; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--dourado); outline-offset: 4px; border-radius: 12px; }

.pagina { width: 100%; max-width: 440px; margin: 0 auto; padding-bottom: calc(44px + env(safe-area-inset-bottom)); background: var(--fundo); overflow: hidden; }
@media (min-width: 520px) {
  body { padding: 40px 0; background: radial-gradient(900px 600px at 50% 0%, color-mix(in srgb, var(--fundo) 80%, #fff) 0%, var(--fundo) 70%); }
  .pagina { border-radius: 30px; box-shadow: 0 0 0 1px color-mix(in srgb, var(--dourado) 30%, transparent), 0 40px 100px -30px color-mix(in srgb, var(--dourado) 30%, transparent); }
}

/* ---------- Topo ---------- */
.hero { position: relative; text-align: center; }
.hero-foto { position: relative; aspect-ratio: 1 / 0.92; overflow: hidden; background: var(--fundo); }
.hero-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; animation: aproximar 1.6s cubic-bezier(.2,.7,.2,1) both; }
@keyframes aproximar { from { transform: scale(1.06); } }
.hero-foto::after { content: ''; position: absolute; inset: 0 0 -2px; background: linear-gradient(180deg, transparent 40%, color-mix(in srgb, var(--fundo) 70%, transparent) 76%, var(--fundo) 96%); }
.hero-foto.sem-img img { display: none; }

.nome {
  position: relative;
  margin-top: -64px;
  font-weight: 300;
  font-size: clamp(54px, 17vw, 76px);
  line-height: 1;
  letter-spacing: -.035em;
  color: var(--titulo);
  background: linear-gradient(180deg, var(--claro) 0%, var(--titulo) 55%, var(--dourado-escuro) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  padding-bottom: .08em;
  animation: entrar .8s cubic-bezier(.2,.7,.2,1) .15s both;
}
.subtitulo {
  position: relative;
  margin: 14px auto 0;
  max-width: 12em;
  font-family: var(--serifa);
  font-weight: 600;
  font-size: clamp(25px, 7.6vw, 32px);
  line-height: 1.02;
  text-transform: uppercase;
  color: var(--branco);
  text-shadow: 0 2px 16px rgba(0,0,0,.6);
  animation: entrar .8s cubic-bezier(.2,.7,.2,1) .25s both;
}
@keyframes entrar { from { opacity: 0; transform: translateY(14px); } }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 44px; padding: 44px 22px 0; }

.card {
  position: relative;
  display: grid;
  grid-template-columns: 47% 1fr;
  min-height: 152px;
  isolation: isolate;
  text-align: center;
  animation: entrar .6s cubic-bezier(.2,.7,.2,1) calc(.35s + var(--i) * .1s) both;
  transition: transform .3s ease;
}
.card:hover { transform: translateY(-2px); }

.card-moldura {
  position: absolute; inset: 0; z-index: -1;
  border-radius: 16px;
  border: 1.5px solid transparent;
  background: linear-gradient(160deg, var(--card) 0%, var(--card-escuro) 100%) padding-box, var(--borda) border-box;
  box-shadow: 0 2px 0 rgba(255,255,255,.08) inset;
}
/* reflexo embaixo do card, como no modelo */
.card-sombra {
  position: absolute; z-index: -2;
  left: 8%; right: 8%; bottom: -14px; height: 22px;
  border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--dourado) 28%, transparent), transparent);
  filter: blur(2px);
}

.card-texto {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px;
  min-width: 0;
  padding: 16px 12px 16px 4px;
}
.card small { font-weight: 200; font-size: 21px; line-height: 1.05; letter-spacing: -.02em; color: var(--branco); opacity: .92; }
.card strong { font-weight: 800; font-size: 27px; line-height: 1; letter-spacing: -.01em; }

.pilula {
  display: inline-flex; align-items: center; justify-content: center;
  height: 27px; padding: 0 14px;
  border-radius: 8px;
  background: var(--pilula);
  color: #2A1212;
  font-family: var(--sans);
  font-size: 15px; font-weight: 900; letter-spacing: .01em; text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), inset 0 -2px 0 rgba(0,0,0,.15), 0 4px 10px -4px rgba(30,15,10,.6);
  transition: filter .2s ease, transform .18s ease;
  margin-bottom: 6px;
}
.card:hover .pilula { filter: brightness(1.07); transform: translateY(-1px); }
.card:active .pilula { transform: translateY(1px); }

/* card 2: "TRABALHO" em caixa alta, texto menor */
.card-trabalho small { font-size: 15px; font-weight: 300; }
.card-trabalho strong { text-transform: uppercase; font-size: clamp(22px, 7.2vw, 27px); font-weight: 900; text-shadow: 0 2px 6px rgba(0,0,0,.3); }
.card-trabalho .pilula { font-size: 13.5px; height: 24px; }

/* card 3: "SERVIÇOS" grande */
.card-servicos small { font-size: 20px; letter-spacing: -.06em; }
.card-servicos strong { font-weight: 900; font-size: clamp(30px, 9.4vw, 40px); letter-spacing: -.07em; padding-right: .07em; text-transform: uppercase; text-shadow: 0 3px 8px rgba(0,0,0,.35); }

/* card 4: WhatsApp */
.card-whatsapp small.fino { font-size: 27px; font-weight: 200; letter-spacing: -.07em; line-height: .98; max-width: 7.5em; }
.pilula.serifa { font-family: var(--serifa); font-weight: 700; font-size: 17px; letter-spacing: 0; height: 28px; padding: 0 22px; margin: 10px 0 0; border-radius: 9px; }

/* foto do lado esquerdo (sempre dentro do card) */
.card-visual { position: relative; z-index: 1; overflow: hidden; border-radius: 16px 0 0 16px; }
.card-visual img {
  position: absolute; left: 1.5px; bottom: 1.5px;
  width: calc(100% - 1.5px); height: calc(100% - 3px);
  object-fit: cover;
  border-radius: 15px 0 0 15px;
  -webkit-mask-image: linear-gradient(90deg, #000 62%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 62%, transparent 100%);
  transition: transform .45s cubic-bezier(.2,.7,.2,1);
}
.card:hover .card-visual img { transform: scale(1.02); transform-origin: 50% 100%; }
.card.sem-foto { grid-template-columns: 1fr; }
.card.sem-foto .card-visual { display: none; }

.icone-whats { position: absolute; inset: 0; display: grid; place-items: center; }
.icone-whats svg { width: 118px; height: 118px; transform: rotate(-10deg); transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.card:hover .icone-whats svg { transform: rotate(-5deg) scale(1.04); }

/* enfeites nos cantos */
.selo { position: absolute; z-index: 3; pointer-events: none; }
.selo svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 4px 6px rgba(0,0,0,.45)); }
.selo-agenda { right: -6px; top: -26px; width: 50px; height: 50px; }
.selo-brilho { right: -12px; top: -30px; width: 64px; height: 64px; animation: brilhar 3.2s ease-in-out infinite; }
.selo-whats { right: -10px; top: -26px; width: 54px; height: 54px; transform: rotate(8deg); }
@keyframes brilhar { 50% { transform: scale(1.1) rotate(8deg); opacity: .85; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ===== Evellyn: diferenças em relação ao modelo da Gaby ===== */
/* linha na fonte de máquina de escrever, igual à bio do Instagram dela */
.linha-bio {
  position: relative; margin: 14px auto 0; padding: 0 16px;
  font-family: "Courier Prime", "Courier New", monospace; font-size: 13px; white-space: nowrap;
  color: var(--titulo);
  animation: entrar .8s cubic-bezier(.2,.7,.2,1) .32s both;
}
/* cards 2 e 4 com a foto do lado direito (zigue-zague) */
.card:nth-child(even) { grid-template-columns: 1fr 47%; }
.card:nth-child(even) .card-visual { order: 2; border-radius: 0 16px 16px 0; }
.card:nth-child(even) .card-visual img {
  left: 0; border-radius: 0 15px 15px 0;
  -webkit-mask-image: linear-gradient(270deg, #000 62%, transparent 100%);
  mask-image: linear-gradient(270deg, #000 62%, transparent 100%);
}
.card:nth-child(even) .card-texto { padding: 16px 4px 16px 12px; }
.card:nth-child(even) .selo { right: auto; left: -10px; }
.card:nth-child(even) .selo-whats { transform: rotate(-8deg); }
.card:nth-child(even) .icone-whats svg { transform: rotate(10deg); }
.card:nth-child(even):hover .icone-whats svg { transform: rotate(5deg) scale(1.04); }
