/* ============================================================
   Miguel Duque 2000 · landing de campanha
   v6 — layout oficial da gráfica (MGU000126 · SITE), enxuta:
   hero azul + minha história + chapa + galeria + rodapé legal
   Azul #124892 · amarelo #FAB600 · Poppins Black Italic
   ============================================================ */

@font-face {
  font-family: 'Poppins';
  src: url('assets/fonts/Poppins-Light.ttf') format('truetype');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('assets/fonts/Poppins-Regular.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('assets/fonts/Poppins-SemiBold.ttf') format('truetype');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('assets/fonts/Poppins-BlackItalic.ttf') format('truetype');
  font-weight: 900; font-style: italic; font-display: swap;
}

:root {
  --azul: #124892;
  --tinta: #1C2540;
  --tinta-suave: #56618A;
  --amarelo: #FAB600;
  --fundo: #FBFBF9;
  --tint: #F1F3F7;
  --tint-azul: #E9F1FA;
  --branco: #FFFFFF;
  --linha: rgba(18, 72, 146, 0.14);
  --sombra: 0 24px 60px rgba(18, 72, 146, 0.14);
  --r-bloco: 20px;
  --wrap: 1160px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 400;
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--tinta);
  background: var(--fundo);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- tipografia ---------- */
h1, h2 {
  font-weight: 900;
  font-style: italic;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--azul);
}
h1 { font-size: clamp(2.5rem, 4.6vw, 3.9rem); padding-bottom: 0.1em; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); padding-bottom: 0.1em; }
h4 { font-weight: 600; font-size: 1.06rem; line-height: 1.4; color: var(--tinta); }
.intro { color: var(--tinta-suave); max-width: 58ch; }

.marcado {
  background-image: linear-gradient(var(--amarelo), var(--amarelo));
  background-repeat: no-repeat;
  background-position: 0 88%;
  background-size: 100% 0.16em;
  padding-bottom: 0.06em;
}

/* ---------- reveals (JS ativa) ---------- */
html.js .rev { opacity: 0; transform: translateY(28px); }
html.js .rev.vis {
  opacity: 1; transform: none;
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
@media (prefers-reduced-motion: reduce) {
  html.js .rev { opacity: 1; transform: none; transition: none; }
}

/* ---------- botões ---------- */
.btn {
  display: inline-block;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  padding: 16px 28px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(0.98); }
.btn-sol { background: var(--amarelo); color: #14264A; }
.btn-sol:hover { box-shadow: 0 12px 28px rgba(250, 182, 0, 0.35); }
.btn-mini { padding: 12px 20px; font-size: 0.88rem; }

/* ---------- header (barra azul, como no layout oficial) ---------- */
#topo-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 40;
  background: var(--azul);
  transition: transform 0.35s ease;
}
#topo-bar.esconde { transform: translateY(-100%); }
.barra {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.marca img { height: 34px; width: auto; }
#nav { display: flex; align-items: center; gap: 26px; }
#nav a {
  color: var(--branco);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
}
#nav a:not(.btn):hover { color: var(--amarelo); }
#nav a.btn-sol { color: #14264A; }
.menu-btn { display: none; }

/* ---------- hero (bloco azul + grafismo oficial) ---------- */
.hero {
  position: relative;
  background: var(--azul);
  color: var(--branco);
  padding: 112px 0 0;
  overflow: hidden;
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.75fr 1fr 1.05fr;
  align-items: end;
  gap: clamp(24px, 4vw, 56px);
}
.hero-logo { padding-bottom: clamp(36px, 5vw, 64px); }
.hero-logo img { width: min(100%, 250px); }

.hero-foto {
  position: relative;
  align-self: end;
  display: flex;
  justify-content: center;
}
.hero-foto .arco {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 400px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--amarelo);
  bottom: -32%;
}
.hero-foto .pessoa {
  position: relative;
  z-index: 1;
  width: min(92%, 430px);
  filter: drop-shadow(0 20px 36px rgba(7, 20, 44, 0.4));
}

.hero-txt { padding-bottom: clamp(44px, 6vw, 76px); }
.hero-txt h1 { color: var(--branco); max-width: 12ch; }
.hero-txt h1 .marcado { background-position: 0 92%; }
.hero .sub {
  margin: 20px 0 30px;
  font-size: 1.1rem;
  max-width: 38ch;
  color: rgba(255, 255, 255, 0.88);
}
.acoes { display: flex; gap: 14px; flex-wrap: wrap; }
.ig-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: var(--branco);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  transition: border-color 0.18s ease, background-color 0.18s ease;
}
.ig-pill:hover { border-color: var(--branco); background: rgba(255, 255, 255, 0.08); }

/* grafismos decorativos do hero */
.graf-hero {
  position: absolute;
  z-index: 1;
  right: -40px;
  top: 60px;
  width: clamp(160px, 18vw, 260px);
  opacity: 0.95;
  pointer-events: none;
}
.meia-lua {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  pointer-events: none;
}
.ml-am {
  width: 300px; height: 300px;
  background: var(--amarelo);
  left: -150px; bottom: -150px;
  opacity: 0.9;
}
.ml-verm {
  width: 190px; height: 190px;
  background: rgba(255, 255, 255, 0.07);
  left: 60px; top: 100px;
}

/* ---------- minha história (texto à esquerda, foto à direita) ---------- */
.historia { padding: clamp(60px, 8vw, 100px) 0; }
.hist-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.hist-foto img {
  border-radius: var(--r-bloco);
  box-shadow: var(--sombra);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 12%;
}
.hist-txt h2 { margin-bottom: 28px; }
.hist-txt p { margin-bottom: 20px; max-width: 58ch; }
.aspas {
  margin-top: 32px;
  padding-left: 22px;
  border-left: 3px solid var(--amarelo);
  font-weight: 600;
  font-size: 1.06rem;
  line-height: 1.6;
  color: var(--azul);
  max-width: 50ch;
}

/* ---------- chapa (faixa oficial da gráfica) ---------- */
.chapa { line-height: 0; background: var(--azul); }
.chapa img { width: 100%; }

/* ---------- jingle (oculta até o mp3 existir) ---------- */
.jingle {
  background: var(--branco);
  border-top: 1px solid var(--linha);
  padding: clamp(52px, 7vw, 84px) 0;
}
.jingle .intro { margin: 14px 0 32px; }
.audios { display: grid; gap: 20px; max-width: 520px; }
.audio {
  background: var(--tint);
  border-radius: var(--r-bloco);
  padding: 24px;
  display: grid;
  gap: 14px;
}
.audio h4 { color: var(--azul); }
.audio audio { width: 100%; }
.audio .btn { justify-self: start; }

/* ---------- galeria ---------- */
.galeria { background: var(--tint-azul); padding: clamp(60px, 8vw, 100px) 0; }
.galeria h2 { margin-bottom: clamp(22px, 4vw, 36px); }
.grade-fotos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.grade-fotos figure { line-height: 0; }
.grade-fotos img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 50% 18%;
  border-radius: var(--r-bloco);
}

/* ---------- footer ---------- */
footer { background: var(--branco); border-top: 1px solid var(--linha); padding: 56px 0 44px; }
footer .topo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
footer .topo .selo-logo {
  background: var(--azul);
  border-radius: var(--r-bloco);
  padding: 22px 30px;
  display: inline-block;
}
footer .topo img { height: 96px; width: auto; }
footer .links { display: flex; gap: 26px; flex-wrap: wrap; }
footer .links a {
  color: var(--tinta);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
}
footer .links a:hover { color: var(--azul); }
.legal {
  font-size: 0.82rem;
  line-height: 1.8;
  color: var(--tinta-suave);
  border-top: 1px solid var(--linha);
  padding-top: 28px;
}
.legal a.sub { color: var(--azul); }

/* ============================================================
   responsivo
   ============================================================ */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 0.9fr 1.1fr; }
  .hero-logo { display: none; }
}

@media (max-width: 1024px) {
  .grade-fotos { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .menu-btn {
    display: grid;
    gap: 5px;
    background: none;
    border: 0;
    padding: 10px;
    cursor: pointer;
  }
  .menu-btn span {
    width: 22px; height: 2px;
    background: var(--branco);
    border-radius: 2px;
  }
  #nav {
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--azul);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 20px;
    display: none;
  }
  #nav.aberto { display: flex; }

  .hero { padding-top: 96px; }
  .hero-grid { grid-template-columns: 1fr; gap: 12px; }
  .hero-txt { order: 1; padding-bottom: 0; }
  .hero-foto { order: 2; margin-top: 32px; width: 100%; }
  .hero-foto .pessoa { width: min(78%, 360px); }
  .graf-hero { display: none; }
  .ml-verm { display: none; }

  .hist-grid { grid-template-columns: 1fr; }
  .hist-foto img { aspect-ratio: 4 / 3; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .grade-fotos { grid-template-columns: 1fr; }
  .acoes .btn { width: 100%; text-align: center; }
  footer .topo img { height: 80px; }
}
