/* =========================================================
   Grupo Felimaq × Expoagro Luziânia 2026 — v4 (mobile-first)
   ========================================================= */

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

:root{
  --white:      #ffffff;
  --bg-soft:    #f4f5f1;
  --ink:        #0c1a15;
  --ink-soft:   #4c5c56;

  --near-black: #081310;
  --teal-950:   #0a231b;
  --teal-900:   #0c4a3a;
  --teal-700:   #12785d;
  --teal-500:   #22ab84;
  --teal-300:   #6fd3b2;
  --teal-100:   #e4f2ec;

  --amber:      #e59a3f;
  --gold:       #d4a017;

  --line:       rgba(13,27,22,.10);
  --line-strong:rgba(13,27,22,.20);
  --line-dark:  rgba(255,255,255,.14);
  --line-dark-strong: rgba(255,255,255,.28);

  --font-display: 'Poppins', sans-serif;
  --font-body:    'Inter', sans-serif;

  --pad: 22px;
}
@media (min-width:640px){ :root{ --pad: 28px; } }

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; }
svg{ display:block; }
button{ font-family: inherit; }

h1,h2,h3{
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.01em;
  margin:0;
}

.wrap{ max-width: 1200px; margin:0 auto; padding: 0 var(--pad); }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}
:focus-visible{ outline: 2px solid var(--teal-500); outline-offset: 3px; }

.reveal{ opacity:0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in-view{ opacity:1; transform: translateY(0); }

/* ---------- marquee ---------- */
.marquee{ background: var(--ink); overflow:hidden; white-space:nowrap; padding: 12px 0; }
.marquee-track{ display:inline-flex; animation: marquee 30s linear infinite; }
.marquee-track span{
  font-family: var(--font-display); font-weight:700;
  font-size: 12.5px; letter-spacing:.04em; color: var(--teal-300);
  padding: 0 18px; display:inline-flex; align-items:center; gap:18px;
}
.marquee-track span::after{ content:'✦'; color: var(--amber); font-size:10px; }
@keyframes marquee{ from{ transform: translateX(0); } to{ transform: translateX(-50%); } }

/* ---------- top bar: transparente -> sólido ao rolar ---------- */
.topbar{
  position: fixed; top:0; left:0; right:0; z-index:50;
  display:flex; align-items:center; justify-content:center;
  padding: 18px var(--pad);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .35s ease, border-color .35s ease, padding .35s ease;
}
.topbar img{ height: 24px; width:auto; filter: brightness(0) invert(1); transition: filter .35s ease; }
.topbar.scrolled{
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  padding: 12px var(--pad);
}
.topbar.scrolled img{ filter:none; }

/* ---------- HERO ---------- */
.hero{
  position:relative;
  min-height: 100svh; min-height:100vh;
  display:flex; align-items:flex-end;
  background: var(--near-black);
  overflow:hidden;
}
.hero-bg{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
  object-position: center 22%;
  z-index:0;
  will-change: transform;
}
.hero::after{
  content:'';
  position:absolute; inset:0;
  background:
    linear-gradient(180deg, rgba(6,14,12,.62) 0%, rgba(6,14,12,.12) 22%, rgba(6,14,12,.2) 50%, rgba(5,12,10,.98) 100%);
  z-index:1;
}
.hero-inner{
  position:relative; z-index:2;
  width:100%;
  padding: 100px var(--pad) 100px;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-eyebrow{
  display:flex; align-items:center; gap:12px;
  margin-bottom: 22px;
}
.hero-eyebrow img{ height:34px; }
.hero-eyebrow span{
  font-family: var(--font-display); font-weight:600;
  font-size: 13.5px; letter-spacing:.12em; text-transform:uppercase;
  color: var(--teal-300);
}
.hero h1{
  font-size: clamp(2.3rem, 8vw, 4.4rem);
  color: var(--white);
  max-width: 16ch;
  font-weight: 700;
}
.hero h1 em{ font-style:normal; color: var(--teal-300); }
.hero p{
  margin-top: 20px;
  font-size: clamp(1rem, 3vw, 1.2rem);
  color: rgba(255,255,255,.85);
  max-width: 42ch;
}
.scroll-cue{
  position:absolute; left:50%; bottom:28px; z-index:2;
  transform: translateX(-50%);
  display:flex; flex-direction:column; align-items:center; gap:8px;
  font-size: 11.5px; color: rgba(255,255,255,.65);
  font-weight:500; letter-spacing:.08em; text-transform:uppercase;
  animation: bob 2.4s ease-in-out infinite;
}
.scroll-cue .line{ width:1px; height:22px; background: var(--teal-300); }
@keyframes bob{
  0%,100%{ transform: translateX(-50%) translateY(0); }
  50%{ transform: translateX(-50%) translateY(6px); }
}

/* ---------- section shell ---------- */
.section{ padding: 72px 0; }
@media (min-width:768px){ .section{ padding: 104px 0; } }
.section.light{ background: var(--white); color: var(--ink); }
.section.soft{ background: var(--bg-soft); color: var(--ink); }
.section.dark{ background: var(--near-black); color: var(--white); }
.section.teal{ background: var(--teal-950); color: var(--white); }

.section-head{ max-width: 640px; margin-bottom: 40px; }
@media (min-width:768px){ .section-head{ margin-bottom: 54px; } }
.section-kicker{
  font-family: var(--font-display); font-weight:600;
  font-size:12.5px; letter-spacing:.1em; text-transform:uppercase;
  margin-bottom:12px;
}
.section.light .section-kicker, .section.soft .section-kicker{ color: var(--teal-700); }
.section.dark .section-kicker, .section.teal .section-kicker{ color: var(--teal-300); }

.section-head h2{ font-size: clamp(1.8rem, 6vw, 2.7rem); }
.section-head p{ margin-top:14px; font-size:1.05rem; }
.section.light .section-head p, .section.soft .section-head p{ color: var(--ink-soft); }
.section.dark .section-head p, .section.teal .section-head p{ color: rgba(255,255,255,.72); }

/* ---------- EMPRESAS — cards horizontais, sem logo ---------- */
.empresas{ display:flex; flex-direction:column; gap:18px; }
.empresa-card{
  position:relative;
  aspect-ratio: 16/10;
  overflow:hidden;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 30px 100%, 0 calc(100% - 30px));
  isolation:isolate;
}
.empresa-card img{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  transition: transform .6s ease; z-index:-2;
}
.empresa-card:hover img{ transform: scale(1.06); }
.empresa-card::before{
  content:'';
  position:absolute; inset:0;
  background: linear-gradient(90deg, rgba(6,14,12,.88) 0%, rgba(6,14,12,.35) 55%, rgba(6,14,12,.1) 100%);
  z-index:-1;
}
.empresa-content{
  position:absolute; left:0; top:0; bottom:0;
  display:flex; flex-direction:column; justify-content:center;
  padding: 24px 22px;
  max-width: 78%;
}
.empresa-content h3{ color: var(--white); font-size: clamp(1.15rem, 4.5vw, 1.5rem); }
.empresa-content p{ color: rgba(255,255,255,.82); margin-top:8px; font-size:.92rem; line-height:1.5; }

@media (min-width:768px){
  .empresa-content{ max-width:55%; padding: 34px 40px; }
}

/* ---------- CONHEÇA O STAND ---------- */
.stand{ display:flex; flex-direction:column; gap:36px; }
.stand-photo{
  position:relative;
  aspect-ratio: 4/5;
  overflow:hidden;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 34px 100%, 0 calc(100% - 34px));
}
.stand-photo img{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  opacity:0; transition: opacity 1.4s ease;
}
.stand-photo img.active{ opacity:1; }
.stand-text h2{ font-size: clamp(2.1rem, 7vw, 3.1rem); }
.stand-text p{ color: rgba(255,255,255,.8); margin-top:18px; font-size: clamp(1.05rem, 3vw, 1.22rem); line-height:1.65; }
.stand-text p + p{ margin-top:14px; }

@media (min-width:860px){
  .stand{ flex-direction:row; align-items:center; gap:60px; }
  .stand-photo{ flex:0 0 44%; }
  .stand-text{ flex:1; }
}

/* ---------- PROGRAMAÇÃO — banners na íntegra, empilhados ---------- */
.prog-head-row{
  display:flex; flex-direction:column; gap:24px;
  margin-bottom: 40px;
}
@media (min-width:768px){
  .prog-head-row{ flex-direction:row; align-items:center; justify-content:space-between; margin-bottom:54px; }
}
.prog-expoagro-lockup{ display:flex; align-items:center; gap:14px; }
.prog-expoagro-lockup img{ height: 52px; }
.prog-expoagro-lockup .lx-text{
  font-family: var(--font-display); font-weight:700;
  font-size: 12.5px; letter-spacing:.05em; color: rgba(255,255,255,.55);
  line-height:1.4; text-transform:uppercase;
}

.live-banner{
  display:flex; align-items:center; gap:16px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--line-dark);
  border-left: 3px solid var(--amber);
  padding: 20px 22px;
  margin-bottom: 36px;
}
.live-dot{ width:10px; height:10px; border-radius:50%; background: var(--amber); flex-shrink:0; }
.live-dot.on{ background:#ff5b45; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse{
  0%,100%{ box-shadow:0 0 0 0 rgba(255,91,69,.5); }
  50%{ box-shadow:0 0 0 9px rgba(255,91,69,0); }
}
.live-label{ font-family: var(--font-display); font-weight:700; font-size:11px; letter-spacing:.06em; color: rgba(255,255,255,.55); }
.live-text{ font-size: 1.02rem; color: var(--white); font-weight:500; margin-top:2px; }

.dias{ display:flex; flex-direction:column; gap:18px; }
.dia-card{
  border: 1px solid var(--line-dark);
  transition: border-color .3s ease, transform .3s ease;
  overflow:hidden;
}
.dia-card:hover{ transform: translateY(-4px); }
.dia-card.hoje{ border-color: var(--amber); }
.dia-card img{ width:100%; height:auto; display:block; }
.dia-card-meta{
  display:flex; align-items:center; justify-content:space-between;
  padding: 12px 16px;
  background: rgba(255,255,255,.03);
  flex-wrap:wrap; gap:8px;
}
.dia-card-meta .data{
  font-family: var(--font-display); font-weight:700;
  font-size: 12.5px; letter-spacing:.06em; color: var(--white);
  text-transform:uppercase;
}
.dia-card-meta .hora{
  font-family: var(--font-display); font-weight:600;
  font-size: 11.5px; letter-spacing:.04em; color: var(--amber);
}
.dia-card-meta .ao-vivo-chip{
  display:none; align-items:center; gap:6px;
  font-family: var(--font-display); font-weight:700;
  font-size: 11px; letter-spacing:.05em; color:#ff5b45;
  text-transform:uppercase;
}
.dia-card.hoje .ao-vivo-chip{ display:inline-flex; }
.dia-card.hoje .ao-vivo-chip .pt{ width:7px; height:7px; border-radius:50%; background:#ff5b45; animation: pulse 1.6s ease-in-out infinite; }

.dj-nota{ margin-top: 28px; font-size: .92rem; color: rgba(255,255,255,.6); }
.programacao-footer{ margin-top: 8px; font-size: .82rem; color: rgba(255,255,255,.4); }

/* Programação em fundo claro */
.section.light .prog-expoagro-lockup .lx-text{ color: var(--ink-soft); }
.section.light .live-banner{ background: var(--bg-soft); border-color: var(--line); }
.section.light .live-label{ color: var(--ink-soft); }
.section.light .live-text{ color: var(--ink); }
.section.light .dia-card{ border-color: var(--line); }
.section.light .dia-card-meta{ background: var(--bg-soft); }
.section.light .dia-card-meta .data{ color: var(--ink); }
.section.light .dia-card-meta .hora{ color: #b9752a; }
.section.light .dj-nota{ color: var(--ink-soft); }
.section.light .programacao-footer{ color: var(--ink-soft); opacity:.65; }

/* ---------- GALERIA ---------- */
.galeria-grid{ display:grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width:768px){ .galeria-grid{ grid-template-columns: repeat(3, 1fr); gap:16px; } }
.galeria-grid a{ display:block; overflow:hidden; aspect-ratio: 4/3; }
.galeria-grid img{ width:100%; height:100%; object-fit:cover; transition: transform .5s ease; }
.galeria-grid a:hover img{ transform: scale(1.06); }
.galeria-vazia{ border: 1px dashed var(--line-strong); padding: 56px 24px; text-align:center; color: var(--ink-soft); }

.galeria-actions{ margin-top: 30px; display:flex; justify-content:center; }

/* Teaser da galeria (logo após o hero) */
.galeria-teaser{ padding: 60px 0 72px; }
@media (min-width:768px){ .galeria-teaser{ padding: 84px 0 96px; } }
.galeria-teaser .section-head p a{
  color: var(--teal-700); font-weight:600; text-decoration: underline;
  text-underline-offset: 3px;
}
.btn-outline{
  display:inline-flex; align-items:center; gap:10px;
  font-family: var(--font-display); font-weight:700;
  font-size: 14px;
  background: var(--ink); color: var(--white);
  border: none;
  padding: 16px 30px;
  cursor:pointer;
  transition: background .25s ease, transform .25s ease;
  width:100%; justify-content:center;
}
@media (min-width:640px){ .btn-outline{ width:auto; } }
.btn-outline:hover{ background: var(--teal-900); transform: translateY(-2px); }

/* Instagram callout */
.ig-card{
  margin-top: 50px;
  background: linear-gradient(135deg, var(--teal-900), var(--near-black));
  padding: 34px 26px;
  display:flex; flex-direction:column; gap:22px;
}
@media (min-width:768px){ .ig-card{ flex-direction:row; align-items:center; justify-content:space-between; padding: 42px 38px; gap:28px; } }
.ig-card .ig-kicker{
  display:flex; align-items:center; gap:8px;
  font-family: var(--font-display); font-weight:700;
  font-size: 11.5px; letter-spacing:.08em; color: var(--teal-300); text-transform:uppercase;
  margin-bottom: 8px;
}
.ig-card h3{ font-size: clamp(1.3rem, 5vw, 1.7rem); color: var(--white); }
.ig-card p{ color: rgba(255,255,255,.74); margin-top:10px; max-width:44ch; font-size:.96rem; }
.btn-solid{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  font-family: var(--font-display); font-weight:700;
  font-size: 14px;
  background: var(--white); color: var(--teal-900);
  padding: 16px 26px;
  text-decoration:none; white-space:nowrap;
  transition: background .25s ease, transform .25s ease;
}
.btn-solid:hover{ background: var(--teal-100); transform: translateY(-2px); }

/* ---------- Lightbox ---------- */
.lightbox{
  position:fixed; inset:0; z-index:100;
  background: rgba(6,14,12,.97);
  display:none; padding: 50px 18px; overflow-y:auto;
}
.lightbox.open{ display:block; }
.lightbox-inner{ max-width: 1100px; margin:0 auto; }
.lightbox-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:24px; }
.lightbox-head h3{ color: var(--white); font-size:1.15rem; }
.lightbox-close{
  background:none; border:1px solid rgba(255,255,255,.3);
  color: var(--white); width:38px; height:38px;
  cursor:pointer; font-size:18px;
  display:flex; align-items:center; justify-content:center;
}
.lightbox-close:hover{ border-color: var(--white); }
.lightbox-grid{ display:grid; grid-template-columns: repeat(2, 1fr); gap:10px; }
@media (min-width:640px){ .lightbox-grid{ grid-template-columns: repeat(4, 1fr); gap:12px; } }
.lightbox-grid a{ display:block; overflow:hidden; aspect-ratio:1/1; }
.lightbox-grid img{ width:100%; height:100%; object-fit:cover; transition: transform .4s ease; }
.lightbox-grid a:hover img{ transform: scale(1.06); }

/* ---------- CTA FINAL ---------- */
.cta-final{ text-align:center; padding: 90px 0; }
@media (min-width:768px){ .cta-final{ padding: 116px 0; } }
.cta-final h2{ font-size: clamp(2rem, 7vw, 3rem); }
.cta-final p{ color: var(--ink-soft); margin-top:16px; font-size:1.05rem; }
.cta-links{ margin-top: 32px; display:flex; justify-content:center; }
.cta-links a{
  font-family: var(--font-display); font-weight:700; font-size:14px;
  border: 1px solid var(--line-strong);
  color: var(--teal-900);
  padding: 15px 30px;
  text-decoration:none;
  transition: border-color .25s ease, background .25s ease;
}
.cta-links a:hover{ border-color: var(--teal-500); background: var(--teal-100); }

/* ---------- FOOTER ---------- */
footer{
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  padding: 54px 0 40px;
  text-align:center;
}
.footer-logo{ height: 40px; margin: 0 auto 20px; }
.footer-rule{ width:40px; height:2px; background: var(--teal-500); margin: 0 auto 20px; }
.footer-empresas{
  font-family: var(--font-display); font-weight:700;
  font-size: .95rem; color: var(--teal-900);
  letter-spacing:.01em;
}
.footer-meta{ margin-top:10px; color: var(--ink-soft); font-size:.88rem; }
.footer-copy{ margin-top: 28px; color: var(--ink-soft); opacity:.6; font-size:.78rem; }

/* ---------- Responsive tweaks extra ---------- */
@media (max-width: 480px){
  .hero h1{ max-width: none; }
}
