/* =========================================================
   Colégio Unibarão — bio (bio.colegiounibarao.com)
   Mesma identidade do site: verde da marca, Playfair + DM Sans.
   ========================================================= */

@font-face {
  font-family: 'DM Sans';
  src: url('fonts/dm-sans.woff2') format('woff2');
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('fonts/playfair-display.woff2') format('woff2');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-green-deep: #013B21;
  --color-brand-green: #0A6D37;
  --color-green-vivid: #17A65C;
  --color-green-on-dark: #52CF8C;
  --color-surface: #FFFFFF;
  --color-ink: #0B211A;
  --color-ink-muted: #4B5D56;
  --tint-green-soft: #EAF3ED;
  --tint-green-line: rgba(10, 109, 55, 0.16);
  --font-display: 'Playfair Display', 'Iowan Old Style', Georgia, serif;
  --font-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease-out: cubic-bezier(0.22, 0.75, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; background-color: #01231A; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--font-body);
  color: #fff;
  background-color: #01231A;
  background-image:
    radial-gradient(120% 900px at 50% -10%, rgba(23, 166, 92, 0.38), transparent 60%),
    linear-gradient(180deg, #013B21 0%, #022E1B 55%, #01231A 100%);
  background-repeat: no-repeat;
  overflow-x: hidden;
}

/* brilho suave que respira atrás do brasão */
.glow {
  position: fixed;
  top: -140px;
  left: 50%;
  width: 520px;
  height: 520px;
  margin-left: -260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(82, 207, 140, 0.22), transparent 65%);
  pointer-events: none;
  animation: respira 7s ease-in-out infinite;
}

.bio {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 48px 16px 32px;
}

/* ---------- Perfil ---------- */
.perfil { text-align: center; }

.brasao {
  display: block;
  width: 120px;
  height: 120px;
  margin: 0 auto 18px;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.35));
}

.perfil h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 8.5vw, 2.6rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
}

.lema {
  margin: 12px 0 0;
  font-size: 1.0625rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
}
.lema strong { color: var(--color-green-on-dark); font-weight: 700; }

.foco {
  display: inline-block;
  margin: 12px 0 0;
  padding: 6px 14px;
  border: 1px solid rgba(82, 207, 140, 0.4);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-green-on-dark);
  background: rgba(82, 207, 140, 0.08);
}

/* ---------- Botão principal ---------- */
.cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 30px auto 0;
  max-width: 420px;
  min-height: 64px;
  padding: 16px 24px;
  border-radius: 18px;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  color: var(--color-green-deep);
  background: var(--color-green-on-dark);
  box-shadow: 0 18px 34px -16px rgba(23, 166, 92, 0.75);
  overflow: hidden;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background-color 0.25s;
}
/* reflexo que passa pelo botão de tempos em tempos */
.cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.55) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: brilho 4.5s ease-in-out 1.6s infinite;
}
.cta:hover {
  transform: translateY(-2px);
  background: #66DA9B;
  box-shadow: 0 22px 40px -16px rgba(23, 166, 92, 0.85);
}

/* ---------- Ícones sociais ---------- */
.sociais {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: 28px 0 0;
}
.sociais a {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  color: var(--color-green-deep);
  background: var(--color-surface);
  box-shadow: 0 10px 22px -14px rgba(0, 0, 0, 0.6);
  transition: transform 0.25s var(--ease-out), background-color 0.25s;
}
.sociais a:hover { transform: translateY(-3px); background: var(--tint-green-soft); }
.sociais svg { width: 24px; height: 24px; }

/* ---------- Lista de links ---------- */
.links {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 20px 20px 18px;
  border-radius: 24px;
  text-decoration: none;
  color: var(--color-ink);
  background: var(--color-surface);
  box-shadow: 0 16px 34px -24px rgba(0, 0, 0, 0.7);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.link:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 40px -22px rgba(0, 0, 0, 0.75);
}

.icone {
  flex: none;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  color: var(--color-brand-green);
  background: var(--tint-green-soft);
  border: 1px solid var(--tint-green-line);
  transition: background-color 0.25s, color 0.25s;
}
.icone svg { width: 24px; height: 24px; }
.link:hover .icone { background: var(--color-brand-green); color: #fff; }

.texto { flex: 1; min-width: 0; display: grid; gap: 3px; }

.titulo {
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.desc {
  font-size: 0.9375rem;
  line-height: 1.4;
  color: var(--color-ink-muted);
}
.selo {
  justify-self: start;
  margin-bottom: 4px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--color-brand-green);
  background: var(--tint-green-soft);
  border: 1px solid var(--tint-green-line);
}

.seta {
  flex: none;
  width: 22px;
  height: 22px;
  transition: transform 0.25s var(--ease-out);
}
.link .seta { color: var(--color-ink-muted); }
.link:hover .seta, .cta:hover .seta { transform: translateX(4px); }
.link:hover .seta { color: var(--color-brand-green); }

/* traço padrão dos ícones */
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
svg .ponto { fill: currentColor; stroke: none; }

/* número de telefone não quebra no meio */
.nowrap { white-space: nowrap; }

/* ---------- Rodapé ---------- */
.rodape {
  margin-top: 36px;
  text-align: center;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
}
.rodape p { margin: 0; }

/* ---------- Foco visível ---------- */
a:focus-visible {
  outline: 3px solid var(--color-green-on-dark);
  outline-offset: 3px;
}

/* ---------- Entrada em cascata ---------- */
.perfil, .cta, .sociais, .links li, .rodape {
  animation: sobe 0.7s var(--ease-out) both;
}
.cta { animation-delay: 0.12s; }
.sociais { animation-delay: 0.2s; }
.links li:nth-child(1) { animation-delay: 0.28s; }
.links li:nth-child(2) { animation-delay: 0.34s; }
.links li:nth-child(3) { animation-delay: 0.40s; }
.links li:nth-child(4) { animation-delay: 0.46s; }
.links li:nth-child(5) { animation-delay: 0.52s; }
.rodape { animation-delay: 0.6s; }

@keyframes sobe {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes brilho {
  0% { transform: translateX(-120%); }
  35%, 100% { transform: translateX(120%); }
}
@keyframes respira {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

/* ---------- Telas pequenas ---------- */
@media (max-width: 380px) {
  .link { gap: 12px; padding: 16px 14px; border-radius: 20px; }
  .icone { width: 44px; height: 44px; }
  .titulo { letter-spacing: 0.08em; }
  .selo { font-size: 0.625rem; letter-spacing: 0.04em; padding: 3px 8px; }
  .sociais { gap: 10px; }
  .sociais a { width: 52px; height: 52px; }
}

@media (min-width: 720px) {
  .bio { padding-top: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
