/* ─────────────────────────────────────────
   DRA INGRID OLIVEIRA — OFF-WHITE PROFESSIONAL SITE
   ───────────────────────────────────────── */

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

:root {
  --offwhite:        #f6f2ea;
  --offwhite-2:       #efe8d9;
  --btn:              #e9e0cd;
  --btn-hover:        #ded2b6;
  --btn-primary:      #e2d5b8;
  --btn-primary-hover:#d5c49f;
  --border:           rgba(51,41,31,.10);
  --ink:              #332918;
  --ink-soft:         #6b5d4d;
  --ink-dim:          #9c8f79;
  --accent:           #8a7350;
}

html, body {
  height: 100%;
}

body {
  background: var(--offwhite);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* ── SOFT RADIAL GRADIENT BG ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, #efe6d2 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 80% 100%, #ece2cc 0%, transparent 60%),
    linear-gradient(160deg, #f8f4ec 0%, #efe7d6 100%);
  z-index: 0;
  pointer-events: none;
}

/* ── NOISE GRAIN ── */
.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 1;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
}

/* ── SUBTLE GLOW ── */
.bg-glow {
  pointer-events: none;
  position: fixed;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(200,175,130,.16) 0%, transparent 70%);
  z-index: 1;
}

/* ── LAYOUT ── */
main {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 480px;
  padding: 56px 28px 44px;
  display: flex;
  flex-direction: column;
}

/* ── HEADER ── */
header {
  text-align: center;
  margin-bottom: 28px;
  animation: rise 0.65s cubic-bezier(.22,.68,0,1.15) both;
}

.brand-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 25px;
  font-weight: 600;
  letter-spacing: .2px;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.25;
}

.brand-logo {
  display: block;
  width: 100%;
  max-width: 230px;
  height: auto;
  margin: 0 auto 32px;
}

.subtitle {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .2px;
  color: var(--ink-soft);
  background: var(--offwhite-2);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 999px;
}

/* ── RULE ── */
.rule {
  width: 36px;
  height: 2px;
  background: rgba(51,41,31,0.18);
  margin: 26px auto 30px;
  border-radius: 2px;
  animation: rise 0.6s .08s cubic-bezier(.22,.68,0,1.15) both;
}

/* ── BUTTONS ── */
nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 40px;
}

.btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: 12px;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    background 0.16s ease;
  position: relative;
  overflow: hidden;
  animation: rise 0.55s cubic-bezier(.22,.68,0,1.15) both;
}

.btn:active { transform: scale(0.983); }

/* PRIMARY — deeper off-white pill (main CTAs) */
.btn--primary {
  background: var(--btn-primary);
  border: 1px solid rgba(51,41,31,.06);
  box-shadow:
    0 2px 8px rgba(51,41,31,.08),
    0 6px 18px rgba(51,41,31,.06);
}

.btn--primary:hover {
  background: var(--btn-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(51,41,31,.12), 0 2px 8px rgba(51,41,31,.08);
}

.btn--primary .btn__icon { background: rgba(51,41,31,.07); color: var(--accent); }
.btn--primary .btn__label { color: var(--ink); font-weight: 600; }
.btn--primary .btn__arrow { color: var(--accent); }

/* GHOST — lighter off-white card */
.btn--ghost {
  background: var(--btn);
  border: 1px solid var(--border);
}

.btn--ghost:hover {
  background: var(--btn-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(51,41,31,.08);
}

.btn--ghost .btn__icon  { color: var(--accent); }
.btn--ghost .btn__label { color: var(--ink); }
.btn--ghost .btn__arrow { color: var(--ink-dim); }

/* stagger */
nav .btn:nth-child(1) { animation-delay: .14s; }
nav .btn:nth-child(2) { animation-delay: .20s; }
nav .btn:nth-child(3) { animation-delay: .26s; }
nav .btn:nth-child(4) { animation-delay: .32s; }
nav .btn:nth-child(5) { animation-delay: .38s; }

/* INTERNALS */
.btn__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(51,41,31,.05);
  transition: transform 0.16s ease;
}

.btn:hover .btn__icon {
  transform: scale(1.06);
}

.btn__label {
  flex: 1;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .1px;
}

.btn__arrow {
  font-size: 17px;
  font-weight: 300;
  transition: transform 0.16s ease, opacity 0.16s ease;
}

.btn:hover .btn__arrow {
  transform: translateX(4px);
}

/* ── FOOTER ── */
footer {
  text-align: center;
  animation: rise 0.5s .44s ease both;
}

.footer-link {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(51,41,31,.35);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-link:hover {
  color: rgba(51,41,31,.7);
}

/* ── ACESSIBILIDADE / SEO (conteúdo lido por leitores de tela e crawlers, sem alterar o visual) ── */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── KEYFRAMES ── */
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE ── */
@media (max-width: 400px) {
  main { padding: 40px 20px 32px; }
  .brand-title { font-size: 21px; }
  .brand-logo { max-width: 190px; margin-bottom: 20px; }
  .btn__label { font-size: 13px; }
}
