/* =========================================================
   Doutor Jhony 5540 — Deputado Federal
   ========================================================= */

@font-face {
  font-family: "Alexandria";
  src: url("../assets/fonts/Alexandria-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Alexandria";
  src: url("../assets/fonts/Alexandria-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Alexandria";
  src: url("../assets/fonts/Alexandria-Black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --green: #4e9643;
  --green-dark: #3d7a34;
  --green-darker: #2e5e27;
  --cream: #fcf8df;
  --cream-soft: #fffef2;
  --orange: #ea7a22;
  --orange-dark: #d0762e;
  --orange-text: #b34d0d; /* darker orange used specifically for text/small UI, to keep AA contrast on cream */
  --purple: #661081;
  --teal: #86c0c0;
  --yellow: #f7b813;
  --ink: #23331f;

  --font-heading: "Alexandria", sans-serif;

  --container: 1200px;
}

* { box-sizing: border-box; }

/* visually hidden but readable by screen readers / search engines */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 400;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3 { margin: 0; font-family: var(--font-heading); }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* small recurring heart-badge accent, used to echo the hero symbol
   throughout the other sections with a soft heartbeat-like pulse */
.pulse-heart {
  width: 52px;
  height: auto;
  margin: 0 auto 16px;
  animation: heartPulse 2.6s ease-in-out infinite;
}
@keyframes heartPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}
@media (prefers-reduced-motion: reduce) {
  .pulse-heart { animation: none; }
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 14px 20px;
  /* solid translucent base (legible over every section, not just the green hero)
     plus a subtle extra fade for depth right at the very top of the page */
  background:
    linear-gradient(to bottom, rgba(30, 58, 26, .28), rgba(30, 58, 26, 0)),
    rgba(30, 58, 26, .6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  pointer-events: none;
}
.site-header .header-inner { pointer-events: auto; }

.header-inner {
  width: 100%;
  max-width: var(--container);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.header-brand { display: block; }
.header-logo {
  height: 44px;
  width: auto;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.25));
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.18);
  padding: 10px 22px;
  border-radius: 999px;
}
.main-nav a {
  color: var(--cream);
  font-size: .92rem;
  font-weight: 400;
  letter-spacing: .02em;
  transition: color .2s ease, opacity .2s ease;
  opacity: .9;
}
.main-nav a:hover { opacity: 1; color: var(--yellow); }

.nav-number {
  background: var(--purple);
  color: var(--cream);
  font-weight: 900;
  font-size: .95rem;
  padding: 5px 14px;
  border-radius: 999px;
  letter-spacing: .03em;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.1);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--cream);
  border-radius: 2px;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  background: radial-gradient(120% 140% at 22% 30%, var(--green) 0%, var(--green) 45%, var(--green-dark) 78%, var(--green-darker) 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 120px 20px 0;
}

.hero-deco {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  opacity: .95;
  will-change: transform;
}
.hero-deco img { width: 100%; height: 100%; object-fit: contain; }

.hero-deco--tr {
  top: -6%;
  right: -8%;
  width: min(34vw, 420px);
  aspect-ratio: 925 / 2363; /* matches the source artwork so object-fit:contain never leaves a gap */
  transform: scaleX(-1);
}

/* photo: full-bleed to the right edge, anchored flush to the bottom of the section */
.hero-photo {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 52%;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
  will-change: transform;
}
.hero-photo img {
  width: auto;
  height: min(94vh, 980px);
  max-width: none;
  filter: drop-shadow(-24px 24px 40px rgba(0,0,0,.28));
}

.hero-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
}

.hero-content {
  flex: 1 1 480px;
  max-width: 580px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding-bottom: 110px;
}

.hero-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge { width: clamp(150px, 16vw, 210px); will-change: transform; }

.hero-logo {
  position: relative;
  width: clamp(300px, 32vw, 460px);
  margin-top: -6px;
  will-change: transform;
}
.hero-logo img { position: relative; z-index: 1; }
.hero-logo-glow {
  position: absolute;
  top: 48%;
  left: 50%;
  width: 92%;
  height: 92%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(247,184,19,.65) 0%, rgba(234,122,34,.32) 45%, rgba(234,122,34,0) 72%);
  filter: blur(6px);
  z-index: 0;
  pointer-events: none;
}

.hero-tagline {
  width: clamp(220px, 24vw, 320px);
  margin: -4px 0 10px;
  will-change: transform;
}

.hero-number {
  background: var(--purple);
  padding: 14px 40px;
  border-radius: 8px;
  will-change: transform;
}
.hero-number span {
  color: var(--cream);
  font-weight: 900;
  font-size: clamp(3.2rem, 7.5vw, 5.5rem);
  letter-spacing: .01em;
  line-height: 1;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid rgba(252,248,223,.7);
  border-radius: 14px;
  z-index: 3;
}
.scroll-cue span {
  position: absolute;
  top: 7px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  background: var(--cream);
  border-radius: 2px;
  animation: scrollcue 1.8s ease-in-out infinite;
}
@keyframes scrollcue {
  0% { opacity: 1; transform: translateY(0); }
  60% { opacity: 0; transform: translateY(14px); }
  100% { opacity: 0; transform: translateY(14px); }
}

/* =========================================================
   BIOGRAFIA
   ========================================================= */
.bio {
  background: var(--cream-soft);
  padding: 90px 20px;
}
.bio-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.bio-kicker {
  display: block;
  font-style: italic;
  font-weight: 300;
  color: var(--orange-text);
  font-size: clamp(1.3rem, 2.6vw, 1.6rem);
  margin-bottom: 2px;
}
.bio-heading h2 {
  font-weight: 900;
  color: var(--green-darker);
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 30px;
}

.bio-scroll-frame {
  position: relative;
  height: 260px;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 10%, #000 90%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 10%, #000 90%, transparent 100%);
  border-radius: 16px;
  cursor: default;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.bio-scroll-frame::-webkit-scrollbar { display: none; }
.bio-scroll-frame:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
}

.bio-text-block { padding-bottom: 34px; }

.bio-text {
  font-weight: 300;
  font-size: .98rem;
  line-height: 1.75;
  color: var(--ink);
  margin: 0 0 20px;
  text-align: left;
}

.bio-hint {
  margin: 10px 0 0;
  font-size: .8rem;
  font-weight: 300;
  color: var(--green-darker);
  opacity: .85;
}

.bio-motto {
  margin: 22px 0 0;
  font-size: clamp(1.1rem, 2.4vw, 1.35rem);
  color: var(--green-darker);
  font-weight: 300;
}
.bio-motto strong {
  font-weight: 900;
  color: var(--orange);
}

/* =========================================================
   FEITOS
   ========================================================= */
.feitos {
  background: var(--cream);
  padding: 90px 20px;
  border-top: 1px solid rgba(46,94,39,.08);
}
.feitos-inner { max-width: 1080px; margin: 0 auto; }

.feitos-heading { text-align: center; max-width: 700px; margin: 0 auto 56px; }
.feitos-kicker {
  display: block;
  font-style: italic;
  font-weight: 300;
  color: var(--orange-text);
  font-size: clamp(1.1rem, 2.4vw, 1.3rem);
  margin-bottom: 6px;
}
.feitos-heading h2 {
  font-weight: 900;
  color: var(--green-darker);
  font-size: clamp(1.9rem, 4.6vw, 2.8rem);
  line-height: 1.15;
}

.feitos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
}

.feitos-card {
  background: var(--cream-soft);
  border-radius: 18px;
  padding: 30px 28px 32px;
  border-top: 5px solid var(--orange);
  box-shadow: 0 18px 40px rgba(46,94,39,.08);
}
.feitos-card--orange { border-top-color: var(--orange); }
.feitos-card--purple { border-top-color: var(--purple); }
.feitos-card--teal { border-top-color: var(--teal); }

.feitos-card h3 {
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--green-darker);
  margin-bottom: 14px;
}
.feitos-card--orange h3 { color: var(--orange-dark); }
.feitos-card--purple h3 { color: var(--purple); }
.feitos-card--teal h3 { color: #2f7373; }

.feitos-card-lead {
  font-size: .92rem;
  font-weight: 300;
  color: var(--ink);
  opacity: .8;
  margin: 0 0 14px;
}

.feitos-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.feitos-card li {
  position: relative;
  padding-left: 22px;
  font-size: .96rem;
  font-weight: 300;
  line-height: 1.5;
  color: var(--ink);
}
.feitos-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .5em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--orange);
}
.feitos-card--orange li::before { background: var(--orange); }
.feitos-card--purple li::before { background: var(--purple); }
.feitos-card--teal li::before { background: var(--teal); }

.feitos-card li strong { font-weight: 700; }

.feitos-stat {
  display: inline-block;
  margin-top: 6px;
  padding: 3px 12px;
  border-radius: 999px;
  background: rgba(234,122,34,.12);
  color: var(--orange-text);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .01em;
}

.feitos-outro {
  text-align: center;
  max-width: 700px;
  margin: 56px auto 0;
}
.feitos-outro p {
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink);
  margin: 0;
}
.feitos-outro p.feitos-motto {
  margin-top: 16px;
  font-size: clamp(1.1rem, 2.4vw, 1.35rem);
  color: var(--green-darker);
  font-weight: 300;
}
.feitos-motto strong {
  font-weight: 900;
  color: var(--orange);
}

@media (max-width: 900px) {
  .feitos-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   JINGLE
   ========================================================= */
.jingle {
  position: relative;
  overflow: hidden;
  background: var(--cream-soft);
  padding: 80px 20px;
  text-align: center;
  border-top: 1px solid rgba(46,94,39,.08);
}
.jingle-inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }

/* floating music notes — decorative, echo the jingle theme in the site's palette */
.jingle-notes {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.jingle-note {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  animation: jingleNoteFloat 5s ease-in-out infinite;
}
.jingle-note--orange { top: 16%; left: 9%; background: rgba(234,122,34,.14); animation-delay: 0s; }
.jingle-note--purple { top: 62%; left: 6%; background: rgba(102,16,129,.12); animation-delay: 1.1s; font-size: 1.2rem; width: 40px; height: 40px; }
.jingle-note--teal { top: 20%; right: 9%; background: rgba(134,192,192,.22); animation-delay: .6s; }
.jingle-note--yellow { top: 64%; right: 7%; background: rgba(247,184,19,.2); animation-delay: 1.7s; font-size: 1.2rem; width: 40px; height: 40px; }

@keyframes jingleNoteFloat {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  50% { transform: translateY(-16px) rotate(6deg); }
}
@media (prefers-reduced-motion: reduce) {
  .jingle-note { animation: none; }
}
@media (max-width: 720px) {
  .jingle-note--purple, .jingle-note--yellow { display: none; }
  .jingle-note--orange { top: auto; bottom: 14px; left: 6%; width: 38px; height: 38px; font-size: 1.1rem; }
  .jingle-note--teal { top: auto; bottom: 14px; right: 6%; width: 38px; height: 38px; font-size: 1.1rem; }
}

.jingle-kicker {
  display: block;
  font-style: italic;
  font-weight: 300;
  color: var(--orange-text);
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  margin-bottom: 6px;
}
.jingle h2 {
  font-weight: 900;
  color: var(--green-darker);
  font-size: clamp(1.8rem, 4.2vw, 2.5rem);
  line-height: 1.15;
}
.jingle-sub {
  margin: 12px 0 36px;
  font-weight: 300;
  font-size: 1.02rem;
  color: var(--ink);
  opacity: .85;
}
.jingle-sub strong { font-weight: 900; color: var(--green-dark); }

.jingle-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}
.jingle-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 26px;
  border-radius: 16px;
  color: var(--cream);
  box-shadow: 0 18px 34px rgba(46,94,39,.16);
  transition: transform .25s ease, box-shadow .25s ease;
  text-align: left;
}
.jingle-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 40px rgba(46,94,39,.24);
}
.jingle-btn--soundcloud { background: var(--orange-text); }
.jingle-btn--suamusica { background: var(--purple); }

.jingle-icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  display: inline-flex;
}
.jingle-icon svg { width: 100%; height: 100%; }

.jingle-btn-text { display: flex; flex-direction: column; gap: 2px; }
.jingle-btn-text strong { font-size: 1rem; font-weight: 700; }
.jingle-btn-text small {
  font-size: .74rem;
  font-weight: 300;
  opacity: .85;
  letter-spacing: .03em;
  text-transform: uppercase;
}

@media (max-width: 560px) {
  .jingle-buttons { flex-direction: column; align-items: stretch; }
  .jingle-btn { justify-content: flex-start; }
}

/* =========================================================
   REDES SOCIAIS
   ========================================================= */
.social {
  background: var(--green-darker);
  padding: 90px 20px;
  text-align: center;
}
.social-inner { max-width: 760px; margin: 0 auto; }
.social h2 {
  color: var(--cream);
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 2.8rem);
}
.social-sub {
  color: rgba(252,248,223,.75);
  font-weight: 300;
  margin: 10px 0 0;
  font-size: 1.05rem;
}

.social-tagline {
  color: var(--cream);
  font-weight: 300;
  font-size: 1rem;
  max-width: 560px;
  margin: 14px auto 36px;
  line-height: 1.6;
}
.social-tagline strong {
  font-weight: 900;
  color: var(--yellow);
}

.social-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin: 0;
  padding: 0;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  background: rgba(252,248,223,.08);
  border: 1px solid rgba(252,248,223,.25);
  color: var(--cream);
  font-size: .98rem;
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}
.social-link:hover {
  transform: translateY(-3px);
  background: var(--orange);
  border-color: var(--orange);
}
.social-icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
}
.social-icon svg { width: 100%; height: 100%; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--green-darker);
  border-top: 1px solid rgba(252,248,223,.15);
  padding: 26px 20px 34px;
  text-align: center;
}
.footer-logo {
  height: 34px;
  margin: 0 auto 14px;
  opacity: .9;
}
.site-footer p {
  color: rgba(252,248,223,.8);
  font-size: .82rem;
  font-weight: 300;
  margin: 0;
}
.site-footer p.footer-legal {
  margin-top: 8px;
  color: rgba(252,248,223,.85);
  font-size: .72rem;
  letter-spacing: .02em;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .main-nav.is-open {
    display: flex;
    position: absolute;
    top: 64px;
    right: 20px;
    left: 20px;
    flex-direction: column;
    align-items: flex-start;
    background: var(--green-darker);
    border-radius: 18px;
    padding: 18px 22px;
  }

  .hero {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 110px 0 0;
  }
  .hero-deco--tr { width: 34vw; opacity: .6; }

  /* content first, photo last — anchored to the very bottom of the screen */
  .hero-inner { order: 1; justify-content: center; text-align: center; padding: 0 20px; }
  .hero-photo {
    order: 2;
    position: relative;
    inset: auto;
    flex: 1 1 auto;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 100%;
    min-height: 220px;
    margin: 14px 0 0;
  }
  .hero-photo img {
    height: auto;
    width: 82%;
    max-width: 400px;
    margin: 0 auto;
    filter: drop-shadow(0 18px 30px rgba(0,0,0,.28));
  }

  .hero-content { align-items: center; max-width: 100%; padding-bottom: 20px; margin: 0 auto; }
  .hero-tagline { margin-left: 0; }

  /* a bit more breathing room between the heart badge and the logo below it */
  .hero-badge { margin-bottom: 14px; }
  .hero-logo { margin-top: 0; }
}

@media (max-width: 560px) {
  .hero-deco--tr { width: 38vw; }
  .bio-scroll-frame { height: 210px; }
}
