/* =========================================================
   Santiago Cesar — Site de Campanha
   Deputado Federal · Santa Catarina · Nº 1477
   Preto profundo + âmbar, tipografia editorial, textura de
   pinta de onça (referência ao partido), mobile-first.
========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600;700;800&display=swap');

:root{
  --bg: #100f0e;
  --bg-elev: #171512;
  --card: #1b1815;
  --card-2: #201c18;
  --line: #322e28;
  --line-soft: #232019;
  --yellow: #f2b705;
  --yellow-bright: #ffcf33;
  --yellow-deep: #c99000;
  --text: #f5f2ec;
  --text-muted: #a9a397;
  --text-faint: #6f6a60;
  --ink: #171310;
  --radius-sm: 3px;
  --radius: 6px;
  --radius-lg: 14px;
  --maxw: 1160px;
  --shadow-soft: 0 1px 2px rgba(0,0,0,.4), 0 20px 40px -20px rgba(0,0,0,.6);
  --shadow-glow: 0 8px 30px -6px rgba(242,183,5,.35);
  --ease: cubic-bezier(.22,1,.36,1);
}

*{ box-sizing: border-box; }
html{
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

body{
  margin:0;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 900px 500px at 15% -10%, rgba(242,183,5,.07), transparent 60%),
    radial-gradient(ellipse 700px 500px at 100% 10%, rgba(242,183,5,.045), transparent 55%),
    url("jaguar-pattern.svg");
  background-repeat: no-repeat, no-repeat, repeat;
  background-attachment: scroll, scroll, fixed;
  color: var(--text);
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

h1,h2,h3,h4,.display{
  font-family: "Space Grotesk", "Inter", sans-serif;
  letter-spacing: -.01em;
}

a{ color: inherit; text-decoration: none; }
img{ max-width:100%; display:block; }
button{ font-family: inherit; }

::selection{ background: var(--yellow); color: var(--ink); }

/* thin custom scrollbar (webkit) */
::-webkit-scrollbar{ width: 10px; height: 10px; }
::-webkit-scrollbar-track{ background: var(--bg); }
::-webkit-scrollbar-thumb{ background: var(--line); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover{ background: var(--yellow-deep); }

.wrap{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 640px){ .wrap{ padding: 0 32px; } }

.eyebrow{
  display:flex;
  align-items:center;
  gap:8px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 14px;
}
.eyebrow::before{
  content:"";
  width:7px;
  height:7px;
  border-radius: 1px;
  background: var(--yellow);
  display:inline-block;
  flex: none;
  box-shadow: 0 0 10px rgba(242,183,5,.7);
}

/* ---------- divider ---------- */
.rule{
  display:flex;
  align-items:center;
  gap: 14px;
  margin: 0 auto;
  max-width: var(--maxw);
  padding: 0 20px;
}
.rule::before, .rule::after{
  content:"";
  flex:1;
  height:1px;
  background: linear-gradient(90deg, transparent, var(--line) 20%, var(--line) 80%, transparent);
}
.rule .mark{
  width: 7px; height:7px;
  background: var(--yellow);
  transform: rotate(45deg);
  flex: none;
  opacity: .8;
}
.section-gap{ height: 56px; }
@media (min-width: 800px){ .section-gap{ height: 88px; } }

/* ---------- reveal-on-scroll ---------- */
.reveal{
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible{ opacity:1; transform: translateY(0); }
.reveal-stagger > *{ transition-delay: calc(var(--i, 0) * 70ms); }

/* ---------- grain overlay ---------- */
.grain{
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: .035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* ---------- SLOGAN RIBBON ---------- */
.slogan-bar{
  position: relative;
  z-index: 210;
  background: linear-gradient(90deg, var(--yellow-deep), var(--yellow-bright) 50%, var(--yellow-deep));
  color: var(--ink);
  overflow: hidden;
}
.slogan-bar-inner{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  flex-wrap: wrap;
  text-align:center;
  padding: 9px 16px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
@media (min-width: 640px){ .slogan-bar-inner{ font-size: 12px; letter-spacing: .16em; } }
.slogan-bar-inner .sep{ opacity:.55; font-weight:600; }
@media (max-width: 460px){ .slogan-bar-inner .sep{ display:none; } }
.slogan-bar-inner .num-chip{
  background: var(--ink);
  color: var(--yellow);
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: .04em;
}

/* ---------- HEADER ---------- */
header.site-header{
  position: sticky;
  top:0;
  z-index: 200;
  background: rgba(16,15,14,.78);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  border-bottom: 1px solid var(--line-soft);
  transition: background .25s ease, border-color .25s ease;
}
header.site-header.scrolled{
  background: rgba(14,13,12,.94);
  border-bottom-color: var(--line);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  max-width: var(--maxw);
  margin: 0 auto;
}
@media (min-width: 640px){ .header-inner{ padding: 16px 32px; } }

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: .01em;
  font-size: 16px;
  text-transform: none;
  flex: none;
}
.brand img{ width: 56px; height: auto; flex: none; }
.brand .num{
  background: var(--yellow);
  color: var(--ink);
  font-family: "Inter", sans-serif;
  font-weight: 800;
  font-size: 11px;
  padding: 3px 7px;
  border-radius: var(--radius-sm);
  letter-spacing: 0;
}

nav.main-nav{
  display:none;
  align-items:center;
  gap: 8px;
}
nav.main-nav a{
  position: relative;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: 999px;
  transition: color .15s ease, background .15s ease;
}
nav.main-nav a:hover{ color: var(--text); background: rgba(255,255,255,.04); }
nav.main-nav a.active{ color: var(--ink); background: var(--yellow); }

.header-actions{ display:flex; align-items:center; gap: 10px; }

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: .01em;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor:pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s ease, border-color .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn-primary{
  background: linear-gradient(180deg, var(--yellow-bright), var(--yellow));
  color: var(--ink);
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover{ transform: translateY(-2px); box-shadow: 0 12px 34px -8px rgba(242,183,5,.55); }
.btn-primary:active{ transform: translateY(0); }
.btn-ghost{
  border-color: var(--line);
  color: var(--text);
  background: rgba(255,255,255,.02);
}
.btn-ghost:hover{ border-color: var(--yellow); color: var(--yellow); transform: translateY(-2px); }
.btn-block{ width:100%; }
.btn svg{ width:16px; height:16px; flex: none; }

.header-actions .btn-primary{ display:none; }

/* hamburger */
.nav-toggle{
  display: flex;
  align-items:center;
  justify-content:center;
  width: 42px; height: 42px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.02);
  cursor:pointer;
  flex: none;
}
.nav-toggle .bars{ position: relative; width: 16px; height: 12px; }
.nav-toggle .bars span{
  position:absolute; left:0; width:100%; height:2px; background: var(--text);
  border-radius: 2px; transition: transform .25s var(--ease), opacity .2s ease, top .25s var(--ease);
}
.nav-toggle .bars span:nth-child(1){ top:0; }
.nav-toggle .bars span:nth-child(2){ top:5px; }
.nav-toggle .bars span:nth-child(3){ top:10px; }
.nav-open .nav-toggle .bars span:nth-child(1){ top:5px; transform: rotate(45deg); }
.nav-open .nav-toggle .bars span:nth-child(2){ opacity:0; }
.nav-open .nav-toggle .bars span:nth-child(3){ top:5px; transform: rotate(-45deg); }

.mobile-drawer{
  position: fixed;
  inset: 0;
  z-index: 190;
  background: rgba(10,9,8,.7);
  backdrop-filter: blur(3px);
  opacity:0;
  pointer-events:none;
  transition: opacity .25s ease;
}
.nav-open .mobile-drawer{ opacity:1; pointer-events:auto; }
.mobile-drawer-panel{
  position:absolute;
  top:0; right:0;
  height:100%;
  width: min(86vw, 380px);
  background: var(--bg-elev);
  border-left: 1px solid var(--line);
  padding: 90px 30px 40px;
  display:flex;
  flex-direction:column;
  gap: 6px;
  transform: translateX(100%);
  transition: transform .32s var(--ease);
  background-image: url("jaguar-pattern.svg");
  background-repeat: repeat;
}
.nav-open .mobile-drawer-panel{ transform: translateX(0); }
.mobile-drawer-panel a{
  font-family: "Space Grotesk", sans-serif;
  font-size: 26px;
  font-weight: 600;
  padding: 12px 4px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--text);
}
.mobile-drawer-panel a.active{ color: var(--yellow); }
.mobile-drawer-panel a.drawer-cta{
  margin-top: 22px;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 700;
  border-bottom: none;
  padding: 15px 22px;
}
.mobile-drawer-panel a.btn-primary.drawer-cta{ color: var(--ink); }
.mobile-drawer-panel a.btn-ghost.drawer-cta{ color: var(--text); }
.mobile-drawer-panel .drawer-note{
  margin-top: auto;
  font-size: 12px;
  color: var(--text-faint);
  letter-spacing: .04em;
}

@media (min-width: 980px){
  nav.main-nav{ display:flex; }
  .nav-toggle{ display:none; }
  .header-actions .btn-primary{ display:inline-flex; }
}

/* ---------- HERO ---------- */
.hero{
  position: relative;
  padding: 44px 0 20px;
  overflow: hidden;
}
@media (min-width: 800px){ .hero{ padding: 84px 0 30px; } }

.hero-watermark{
  position:absolute;
  top: -8%;
  right: -12%;
  width: 620px;
  max-width: 90vw;
  opacity: .06;
  filter: saturate(0) brightness(1.6);
  pointer-events:none;
  z-index:0;
}

.hero-grid{
  position: relative;
  z-index:1;
  display:grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items:center;
}
@media (min-width: 900px){
  .hero-grid{ grid-template-columns: 1.25fr .75fr; gap: 56px; align-items:start; }
}

.ballot-chip{
  display:inline-flex;
  align-items:baseline;
  gap: 8px;
  background: rgba(242,183,5,.08);
  border: 1px solid rgba(242,183,5,.3);
  color: var(--yellow);
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.ballot-chip b{ font-size: 15px; font-family:"Space Grotesk",sans-serif; }

.hero h1{
  font-size: clamp(34px, 6.4vw, 62px);
  line-height: 1.03;
  font-weight: 700;
  margin: 0 0 20px;
}
.hero h1 .accent{
  background: linear-gradient(100deg, var(--yellow-bright), var(--yellow) 60%, var(--yellow-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead{
  font-size: clamp(15px, 2vw, 17.5px);
  color: var(--text-muted);
  max-width: 46ch;
  margin: 0 0 30px;
}
.hero-actions{ display:flex; gap:12px; margin-bottom: 30px; flex-wrap: wrap; }

.tag-row{ display:flex; gap:10px; flex-wrap:wrap; }
.tag{
  border: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(255,255,255,.015);
}
.tag.strong{
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--ink);
}
.tag-icon{ display:inline-flex; align-items:center; gap:6px; padding-left: 8px; }
.tag-icon img{ width:14px; height:auto; flex:none; }

/* candidate card */
.candidate-card{
  position:relative;
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  max-width: 360px;
  margin: 0 auto;
  transition: transform .4s var(--ease);
}
@media (min-width: 900px){
  .candidate-card{ margin: 0; }
  .candidate-card:hover{ transform: translateY(-4px); }
}
.candidate-card .photo-wrap{
  position:relative;
  overflow:hidden;
  background: var(--card-2);
}
.candidate-card .photo{
  width:100%;
  height:auto;
  aspect-ratio: 3/4;
  object-fit: contain;
  display:block;
}
.candidate-card .photo-wrap::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, transparent 55%, rgba(16,15,14,.9) 100%);
}
.candidate-card .status{
  position:absolute;
  top: 14px; left:14px;
  z-index:2;
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--yellow);
  padding: 6px 11px 6px 8px;
  border-radius: 999px;
}
.candidate-card .status .dot{
  width:6px; height:6px; border-radius:50%;
  background: var(--ink);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse{ 0%,100%{ opacity:1; transform:scale(1);} 50%{ opacity:.4; transform:scale(1.3);} }

.candidate-card .info{ padding: 20px 22px 24px; position:relative; }
.candidate-card h3{
  margin: 0 0 4px;
  font-size: 21px;
  font-weight: 700;
}
.candidate-card .role{
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.candidate-card .party{
  font-size: 12.5px;
  color: var(--text-faint);
  margin-bottom: 16px;
}
.candidate-card .divider-mini{ height:1px; background: var(--line); margin: 0 0 16px; }
.candidate-card .number-row{ display:flex; align-items:flex-end; justify-content:space-between; }
.candidate-card .number-label{ font-size:10.5px; letter-spacing:.1em; text-transform:uppercase; color:var(--text-faint); margin-bottom:4px; }
.candidate-card .number{
  font-family: "Space Grotesk", sans-serif;
  font-size: 34px;
  font-weight: 700;
  color: var(--yellow);
  line-height:1;
}

.scroll-cue{
  display:none;
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  color: var(--text-faint);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  flex-direction:column;
  align-items:center;
  gap:6px;
}
.scroll-cue .line{ width:1px; height:26px; background: linear-gradient(var(--yellow), transparent); animation: scrollcue 1.8s ease-in-out infinite; }
@keyframes scrollcue{ 0%{ transform: scaleY(0); transform-origin: top;} 50%{ transform: scaleY(1); transform-origin: top;} 51%{ transform: scaleY(1); transform-origin: bottom;} 100%{ transform: scaleY(0); transform-origin: bottom;} }
@media (min-width: 900px){ .scroll-cue{ display:flex; } }

/* ---------- STATS STRIP ---------- */
.stats-strip{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow:hidden;
}
@media (min-width: 700px){ .stats-strip{ grid-template-columns: repeat(4, 1fr); } }
.stat-cell{
  background: var(--bg-elev);
  padding: 24px 18px;
  text-align:center;
}
.stat-cell .num{
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  color: var(--yellow);
  line-height:1;
  margin-bottom: 8px;
}
.stat-cell .label{
  font-size: 11.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ---------- SECTION HEADINGS ---------- */
section{ position: relative; }
.section-head{ margin-bottom: 36px; }
.section-head h2{
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 700;
  margin: 0;
}
.section-head p.sub{
  color: var(--text-muted);
  font-size: 15px;
  max-width: 60ch;
  margin: 12px 0 0;
}

/* ---------- ABOUT ---------- */
.about-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items:start;
}
@media (min-width: 860px){ .about-grid{ grid-template-columns: .78fr 1.22fr; gap: 54px; } }
.about-photo-wrap{ position:relative; max-width: 380px; }
@media (min-width: 860px){ .about-photo-wrap{ max-width: none; } }
.about-photo-wrap::before{
  content:"";
  position:absolute;
  top: 16px; left: 16px;
  right: -16px; bottom: -16px;
  border: 1px solid var(--yellow);
  border-radius: var(--radius);
  z-index:0;
  opacity:.55;
}
.about-photo{
  position:relative;
  z-index:1;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow-soft);
}

/* ---------- CAMPAIGN BANNER ---------- */
.banner-frame{
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  line-height: 0;
}
.banner-frame img{ width:100%; height:auto; display:block; }

/* ---------- OFFICIAL POSTER SPOTLIGHT ---------- */
.poster-spotlight{
  display:grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items:center;
}
@media (min-width: 860px){
  .poster-spotlight{ grid-template-columns: .8fr 1.2fr; gap: 52px; }
}
.poster-frame{
  position:relative;
  max-width: 340px;
  margin: 0 auto;
}
@media (min-width: 860px){ .poster-frame{ max-width: 380px; margin: 0; } }
.poster-frame::before{
  content:"";
  position:absolute;
  top: 16px; left: -16px;
  right: 16px; bottom: -16px;
  border: 1px solid var(--yellow);
  border-radius: var(--radius-lg);
  z-index:0;
  opacity:.55;
}
.poster-frame img{
  position:relative;
  z-index:1;
  width:100%;
  height:auto;
  display:block;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
.poster-quote{
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.15;
  margin: 0 0 16px;
  background: linear-gradient(90deg, var(--yellow-bright), var(--yellow-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.poster-desc{
  color: var(--text-muted);
  font-size: 15.5px;
  line-height:1.6;
  max-width: 52ch;
  margin: 0 0 6px;
}
.poster-actions{
  display:flex;
  flex-wrap:wrap;
  gap: 12px;
  margin-top: 24px;
}
.about-photo img{ width:100%; height:auto; display:block; }
.about-body p{
  color: var(--text-muted);
  font-size: 15.5px;
  margin: 0 0 16px;
}
.fact-row{ display:flex; gap:10px; flex-wrap:wrap; margin-top: 20px; }

/* ---------- QUOTE ---------- */
.quote-block{
  position: relative;
  border-left: 3px solid var(--yellow);
  padding: 8px 0 8px 28px;
}
.quote-block .qmark{
  font-family: "Space Grotesk", sans-serif;
  position:absolute;
  left: 6px; top: -34px;
  font-size: 90px;
  color: var(--yellow);
  opacity:.18;
  line-height:1;
  user-select:none;
}
.quote-block p{
  font-size: clamp(19px, 2.6vw, 25px);
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 14px;
  font-family: "Space Grotesk", sans-serif;
}
.quote-block cite{
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* ---------- REEL FEATURE (standalone destaque) ---------- */
.reel-feature{
  display:flex;
  justify-content:center;
}
.reel-card-lg{ max-width: 420px; }
@media (min-width: 640px){ .reel-card-lg{ max-width: 460px; } }

/* ---------- INSTAGRAM FEED (auto, via widget embed) ---------- */
.insta-feed{
  min-height: 220px;
}

/* ---------- REEL VIDEO GRID ---------- */
.insta-grid{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap: 24px;
}
.reel-card{
  width:100%;
  max-width: 320px;
  border-radius: var(--radius-lg);
  overflow:hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  background: var(--card);
}
.reel-video{
  display:block;
  width:100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: #000;
}
.reel-caption{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  padding: 14px 16px;
  border-top: 1px solid var(--line);
}
.reel-caption span{
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
}
.reel-caption a{
  display:inline-flex;
  align-items:center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--yellow);
  text-decoration:none;
  white-space:nowrap;
}
.reel-caption a svg{ width:13px; height:13px; }
.reel-caption a:hover{ color: var(--yellow-bright); }

/* ---------- INSTAGRAM CALLOUT ---------- */
.insta-panel{
  position:relative;
  display:grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items:center;
  text-align:center;
  padding: 34px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 160% at 50% -20%, rgba(232,166,34,.14), transparent 60%),
    var(--card);
  overflow:hidden;
}
@media (min-width: 780px){
  .insta-panel{
    grid-template-columns: auto 1fr auto;
    text-align:left;
    padding: 32px 40px;
    gap: 28px;
  }
}
.insta-icon{
  width: 54px; height:54px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--yellow-bright), var(--yellow-deep));
  color: var(--ink);
  display:flex; align-items:center; justify-content:center;
  flex: none;
  margin: 0 auto;
  box-shadow: var(--shadow-glow);
}
@media (min-width: 780px){ .insta-icon{ margin: 0; } }
.insta-icon svg{ width:26px; height:26px; }
.insta-body h3{
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(19px, 2.4vw, 23px);
  margin: 4px 0 8px;
}
.insta-body p{
  color: var(--text-muted);
  font-size: 14.5px;
  line-height:1.6;
  max-width: 46ch;
  margin: 0 auto;
}
@media (min-width: 780px){ .insta-body p{ margin: 0; } }
.insta-panel .btn{ margin: 0 auto; }
@media (min-width: 780px){ .insta-panel .btn{ margin:0; white-space:nowrap; } }

/* ---------- PILLAR CARDS ---------- */
.pillar-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 700px){ .pillar-grid{ grid-template-columns: 1fr 1fr; gap: 18px; } }
.pillar-card{
  position:relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform .25s var(--ease), border-color .25s ease, background .25s ease;
  overflow:hidden;
}
.pillar-card::before{
  content:"";
  position:absolute; inset:0;
  background: radial-gradient(220px 140px at 0% 0%, rgba(242,183,5,.08), transparent 70%);
  opacity:0;
  transition: opacity .25s ease;
}
.pillar-card:hover{ transform: translateY(-4px); border-color: rgba(242,183,5,.4); }
.pillar-card:hover::before{ opacity:1; }
.pillar-card .icon-badge{
  width: 46px; height:46px;
  display:flex; align-items:center; justify-content:center;
  background: rgba(242,183,5,.1);
  border: 1px solid rgba(242,183,5,.28);
  border-radius: var(--radius);
  font-size: 21px;
  margin-bottom: 16px;
}
.pillar-card .idx{
  position:absolute;
  top: 22px; right: 22px;
  font-family:"Space Grotesk",sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-faint);
}
.pillar-card h4{
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
}
.pillar-card p{
  margin:0;
  color: var(--text-muted);
  font-size: 14.5px;
}

/* ---------- PROPOSTAS PAGE ---------- */
.propostas-hero{ padding: 40px 0 8px; }
@media (min-width: 800px){ .propostas-hero{ padding: 64px 0 8px; } }
.propostas-hero h1{
  font-size: clamp(30px, 5vw, 44px);
  font-weight: 700;
  margin: 0 0 14px;
}
.propostas-hero p.lead{
  color: var(--text-muted);
  font-size: 15.5px;
  max-width: 68ch;
}

/* quick jump chips */
.chip-nav{
  display:flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 20px 14px;
  margin: 0 -20px;
  scrollbar-width: none;
}
.chip-nav::-webkit-scrollbar{ display:none; }
@media (min-width: 860px){
  .chip-nav{
    justify-content: center;
    flex-wrap: wrap;
    overflow-x: visible;
    margin: 0 auto;
    padding: 4px 0 8px;
  }
}
.chip-nav a{
  flex: none;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--text-muted);
  border: 1px solid var(--line);
  padding: 9px 15px;
  border-radius: 999px;
  background: var(--card);
  transition: color .15s ease, border-color .15s ease, background .15s ease;
  white-space:nowrap;
}
.chip-nav a:hover, .chip-nav a.active{ color: var(--ink); background: var(--yellow); border-color: var(--yellow); }

.category-block{ padding: 40px 0 6px; scroll-margin-top: 130px; }
@media (min-width: 800px){ .category-block{ padding: 56px 0 6px; } }
.category-head{
  display:flex;
  align-items:center;
  gap:16px;
  margin-bottom: 26px;
}
.category-head .icon-badge{
  width: 52px; height:52px;
  flex: none;
  display:flex; align-items:center; justify-content:center;
  background: rgba(242,183,5,.1);
  border: 1px solid rgba(242,183,5,.28);
  border-radius: var(--radius);
  font-size: 24px;
}
.category-head h2{
  margin:0;
  font-size: clamp(21px, 3vw, 27px);
  font-weight: 700;
}
.category-head .count{
  margin-left:auto;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-faint);
  letter-spacing: .05em;
  border: 1px solid var(--line);
  padding: 5px 11px;
  border-radius: 999px;
  flex: none;
}

.proposal-grid{ display:flex; flex-direction:column; }
.proposal{
  border-top: 1px solid var(--line-soft);
  padding: 22px 0;
  display:grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  transition: padding-left .25s var(--ease);
}
@media (min-width: 700px){ .proposal{ grid-template-columns: 56px 1fr; gap: 22px; padding: 24px 0; } }
.proposal:hover{ padding-left: 6px; }
.proposal .num{
  font-family: "Space Grotesk", sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--yellow);
}
.proposal h3{
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
}
.proposal p{
  margin:0;
  color: var(--text-muted);
  font-size: 14.5px;
  max-width: 68ch;
}
.category-block .proposal-grid .proposal:last-child{ border-bottom: 1px solid var(--line-soft); }

.principle{
  position:relative;
  margin-top: 54px;
  background: linear-gradient(155deg, var(--card-2), var(--card));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  overflow:hidden;
}
@media (min-width: 700px){ .principle{ padding: 46px 50px; } }
.principle::before{
  content:"";
  position:absolute;
  top:0; left:0; bottom:0;
  width: 3px;
  background: linear-gradient(var(--yellow-bright), var(--yellow-deep));
}
.principle h2{
  font-size: clamp(22px, 3vw, 27px);
  font-weight: 700;
  margin: 0 0 16px;
}
.principle p{
  color: var(--text-muted);
  font-size: 15px;
  margin: 0 0 14px;
  max-width: 74ch;
}
.principle .closing{
  color: var(--yellow);
  font-weight: 700;
  font-size: 15.5px;
  letter-spacing: .01em;
  font-family: "Space Grotesk", sans-serif;
}

/* ---------- FOOTER ---------- */
footer.site-footer{ margin-top: 70px; position:relative; }
@media (min-width: 800px){ footer.site-footer{ margin-top: 100px; } }

.footer-cta{
  position:relative;
  background: linear-gradient(155deg, var(--yellow-bright), var(--yellow) 55%, var(--yellow-deep));
  color: var(--ink);
  padding: 50px 0 40px;
  overflow:hidden;
}
.footer-cta .fw-mark{
  position:absolute;
  right: -60px; bottom: -60px;
  width: 320px;
  opacity: .12;
  filter: brightness(0);
  pointer-events:none;
}
.footer-cta-grid{
  position:relative; z-index:1;
  display:grid;
  grid-template-columns: 1fr;
  gap: 34px;
}
@media (min-width: 720px){ .footer-cta-grid{ grid-template-columns: 1fr .8fr; } }
@media (min-width: 1080px){ .footer-cta-grid{ grid-template-columns: 1.1fr .78fr .78fr .78fr; } }
.footer-support-btn{
  background: var(--ink);
  color: var(--yellow-bright);
  padding: 12px 20px;
  font-size: 13.5px;
}
.footer-support-btn:hover{ background:#000; transform: translateY(-2px); }
.footer-cta h2{
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  margin: 0 0 12px;
}
.footer-cta p{
  font-size: 14.5px;
  max-width: 34ch;
  margin: 0;
  color: rgba(23,19,16,.72);
}
.footer-col h5{
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin: 0 0 16px;
  color: rgba(23,19,16,.65);
}
.footer-contact-item{
  display:flex;
  align-items:flex-start;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 13px;
}
.footer-contact-item svg{ width:16px; height:16px; flex:none; margin-top:1px; }
.footer-social{ display:flex; gap:10px; margin-top: 6px; }
.footer-social a{
  width: 38px; height:38px;
  display:flex; align-items:center; justify-content:center;
  border: 1px solid rgba(23,19,16,.35);
  border-radius: 999px;
  transition: background .2s ease, transform .2s ease;
}
.footer-social a:hover{ background: rgba(23,19,16,.12); transform: translateY(-2px); }
.footer-social svg{ width:17px; height:17px; }

.footer-bottom{
  background: var(--bg);
  background-image: url("jaguar-pattern.svg");
  background-repeat: repeat;
  padding: 20px 0 calc(20px + env(safe-area-inset-bottom));
  display:flex;
  flex-direction:column;
  gap: 10px;
  align-items:center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-faint);
  text-align:center;
}
@media (min-width: 640px){ .footer-bottom{ flex-direction:row; text-align:left; } }
.footer-bottom a{ color: var(--text-muted); font-weight:600; }
.footer-bottom a:hover{ color: var(--yellow); }

/* ---------- BACK TO TOP ---------- */
.back-to-top{
  position: fixed;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom));
  z-index: 150;
  width: 46px; height:46px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  display:flex; align-items:center; justify-content:center;
  border: none;
  cursor:pointer;
  box-shadow: var(--shadow-glow);
  opacity:0;
  transform: translateY(12px) scale(.9);
  pointer-events:none;
  transition: opacity .25s ease, transform .25s ease;
}
.back-to-top.visible{ opacity:1; transform: translateY(0) scale(1); pointer-events:auto; }
.back-to-top svg{ width:18px; height:18px; }

/* ---------- MOBILE STICKY CTA ---------- */
.mobile-cta-bar{
  position: fixed;
  left:0; right:0; bottom:0;
  z-index: 140;
  display:flex;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(16,15,14,.9);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
}
.mobile-cta-bar .btn{ flex:1; padding: 13px 16px; }
@media (min-width: 720px){ .mobile-cta-bar{ display:none; } }
.mobile-cta-spacer{ display:block; height: 76px; }
@media (min-width: 720px){ .mobile-cta-spacer{ display:none; } }

/* ---------- misc ---------- */
.container-pad{ padding-top: 8px; }

/* ---------- SITE LOADER ---------- */
body.is-loading{ overflow: hidden; }
#site-loader{
  position: fixed;
  inset: 0;
  z-index: 900;
  display:flex;
  flex-direction: column;
  align-items:center;
  justify-content:center;
  gap: 22px;
  background:
    radial-gradient(120% 90% at 50% 8%, rgba(232,166,34,.10), transparent 60%),
    var(--bg);
  transition: opacity .55s var(--ease), visibility .55s var(--ease);
}
#site-loader::before{
  content:"";
  position:absolute;
  inset:0;
  background-image: url("jaguar-pattern.svg");
  background-size: 260px;
  opacity: .05;
  pointer-events:none;
}
body:not(.is-loading) #site-loader{
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-mark{
  position: relative;
  width: 108px;
  height: 108px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.loader-mark img{
  width: 54px;
  height: auto;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,.5));
  animation: loaderPulse 1.8s ease-in-out infinite;
}
.loader-claws{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  z-index: 1;
}
.loader-claws .claw{
  stroke-dasharray: 90;
  stroke-dashoffset: 90;
  filter: drop-shadow(0 0 6px rgba(232,166,34,.55));
  animation: clawScratch 1.8s cubic-bezier(.65,0,.35,1) infinite;
}
.loader-claws .claw-2{ animation-delay: .12s; }
.loader-claws .claw-3{ animation-delay: .24s; }
@keyframes clawScratch{
  0%{ stroke-dashoffset: 90; opacity: 0; }
  12%{ opacity: 1; }
  45%{ stroke-dashoffset: 0; opacity: 1; }
  70%{ opacity: .9; }
  100%{ stroke-dashoffset: -90; opacity: 0; }
}
@keyframes loaderPulse{
  0%, 100%{ transform: scale(1); }
  50%{ transform: scale(1.08); }
}
.loader-text{
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .06em;
  color: var(--text-muted);
}
.loader-text span{ color: var(--yellow-bright); }
.loader-bar{
  width: 148px;
  height: 3px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}
.loader-bar span{
  display:block;
  width: 40%;
  height:100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--yellow-deep), var(--yellow-bright));
  animation: loaderBar 1.4s ease-in-out infinite;
}
@keyframes loaderBar{
  0%{ transform: translateX(-120%); }
  100%{ transform: translateX(360%); }
}
@media (prefers-reduced-motion: reduce){
  .loader-mark img{ animation: none; }
  .loader-claws .claw{ animation: none; stroke-dashoffset: 0; opacity: .7; }
  .loader-bar span{ animation: none; transform: translateX(30%); }
}
