/* ================================================
   BCUNHA AVICULTURA — Folha de Estilos Principal
   Versão: 1.0 | Autor: BCunha Dev
   ================================================ */

/* ================================================
   TOKENS DE DESIGN
   ================================================ */
:root {
  --yellow:      #F5C400;
  --yellow-dark: #C9A200;
  --yellow-glow: rgba(245, 196, 0, 0.18);
  --dark:        #1A1A1A;
  --dark2:       #111111;
  --gray-800:    #2D2D2D;
  --gray-600:    #555555;
  --gray-400:    #999999;
  --gray-100:    #F5F5F2;
  --white:       #FFFFFF;
  --border:      #E8E8E2;

  --font-h: 'Montserrat', sans-serif;
  --font-b: 'Inter', sans-serif;

  --radius-sm: 4px;
  --radius:    8px;
  --shadow-sm: 0 2px 12px rgba(0,0,0,0.06);
  --shadow:    0 8px 32px rgba(0,0,0,0.10);
  --shadow-lg: 0 16px 56px rgba(0,0,0,0.14);
  --ease:      cubic-bezier(0.4, 0, 0.2, 1);
  --t:         0.3s;
}

/* ================================================
   RESET & BASE
   ================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-b);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img  { max-width: 100%; display: block; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }

::-webkit-scrollbar             { width: 5px; }
::-webkit-scrollbar-track       { background: #f1f1f1; }
::-webkit-scrollbar-thumb       { background: var(--yellow); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--yellow-dark); }

/* ================================================
   TIPOGRAFIA
   ================================================ */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-h);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--yellow-dark);
  background: var(--yellow-glow);
  padding: 6px 14px;
  border-radius: 2px;
  margin-bottom: 18px;
}

.heading {
  font-family: var(--font-h);
  font-weight: 900;
  line-height: 1.1;
  color: var(--dark);
}

.heading--xl  { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
.heading--lg  { font-size: clamp(1.9rem, 3.5vw, 2.9rem); }

.heading em   { font-style: normal; color: var(--yellow-dark); }
.heading--inv { color: var(--white); }
.heading--inv em { color: var(--yellow); }

.lead {
  font-size: 1.02rem;
  line-height: 1.82;
  color: var(--gray-600);
  max-width: 560px;
}

/* ================================================
   BOTÕES
   ================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  padding: 15px 30px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  transition: all var(--t) var(--ease);
  cursor: pointer;
  white-space: nowrap;
}

.btn--yellow {
  background: var(--yellow);
  color: var(--dark);
  border-color: var(--yellow);
}
.btn--yellow:hover {
  background: var(--yellow-dark);
  border-color: var(--yellow-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245,196,0,0.35);
}

.btn--ghost-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.28);
}
.btn--ghost-light:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.07);
}

.btn--dark {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}
.btn--dark:hover {
  background: transparent;
  color: var(--dark);
}

/* ================================================
   LAYOUT
   ================================================ */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 100px 0; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }

.d1 { transition-delay: 0.10s; }
.d2 { transition-delay: 0.20s; }
.d3 { transition-delay: 0.30s; }
.d4 { transition-delay: 0.40s; }
.d5 { transition-delay: 0.50s; }

/* ================================================
   HEADER
   ================================================ */
#header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--white);
  border-bottom: 3px solid var(--yellow);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--t);
}

#header.scrolled { box-shadow: var(--shadow); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.nav-logo {
  height: 50px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-family: var(--font-h);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--gray-800);
  position: relative;
  padding-bottom: 3px;
  transition: color var(--t);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--yellow);
  transition: width var(--t) var(--ease);
}

.nav-links a:hover,
.nav-links a.active { color: var(--yellow-dark); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta { margin-left: 12px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all var(--t) var(--ease);
}
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 860px) {
  .hamburger { display: flex; }
  .nav-cta   { display: none; }

  .nav-links {
    position: fixed;
    inset: 74px 0 0 auto;
    width: min(280px, 80vw);
    height: calc(100dvh - 74px);
    background: var(--dark);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 20px 0;
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
    box-shadow: -4px 0 24px rgba(0,0,0,0.2);
  }
  .nav-links.open { transform: translateX(0); }

  .nav-links a {
    color: rgba(255,255,255,0.75);
    display: block;
    padding: 16px 32px;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .nav-links a:hover,
  .nav-links a.active { color: var(--yellow); }
  .nav-links a::after { display: none; }
}

/* ================================================
   HERO
   ================================================ */
#inicio {
  background: var(--dark);
  padding: 0;
  min-height: calc(100dvh - 74px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

#inicio::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.hero-stripe {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, transparent 0%, var(--yellow) 30%, var(--yellow) 70%, transparent 100%);
}

.hero-glow {
  position: absolute;
  right: -10%;
  bottom: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245,196,0,0.10) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 80px;
  align-items: center;
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,196,0,0.12);
  border: 1px solid rgba(245,196,0,0.35);
  color: var(--yellow);
  font-family: var(--font-h);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 2px;
  margin-bottom: 26px;
}

.hero-title {
  font-family: var(--font-h);
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 22px;
}

.hero-title .accent { color: var(--yellow); }

.hero-sub {
  font-size: 1.05rem;
  line-height: 1.78;
  color: rgba(255,255,255,0.55);
  max-width: 500px;
  margin-bottom: 42px;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.stat dt {
  font-family: var(--font-h);
  font-size: 2.1rem;
  font-weight: 900;
  color: var(--yellow);
  line-height: 1;
}

.stat dd {
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-top: 5px;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-frame {
  position: relative;
  width: 420px;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-ring {
  position: absolute;
  inset: 0;
  border: 1px dashed rgba(245,196,0,0.20);
  border-radius: 50%;
  animation: slowSpin 28s linear infinite;
}

.hero-ring-inner {
  position: absolute;
  inset: 48px;
  border: 1px solid rgba(245,196,0,0.08);
  border-radius: 50%;
  animation: slowSpin 18s linear infinite reverse;
}

@keyframes slowSpin { to { transform: rotate(360deg); } }

.hero-logo-wrap {
  width: 340px;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 48px rgba(245,196,0,0.18));
}

.hero-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--yellow);
  border-radius: 50%;
  animation: pulse 2.5s ease-in-out infinite;
}
.hero-dot:nth-child(1) { top: 8%;  left: 50%; animation-delay: 0.0s; }
.hero-dot:nth-child(2) { top: 50%; right: 8%; animation-delay: 0.6s; }
.hero-dot:nth-child(3) { bottom: 8%; left: 50%; animation-delay: 1.2s; }
.hero-dot:nth-child(4) { top: 50%; left: 8%;  animation-delay: 1.8s; }

@keyframes pulse {
  0%, 100% { opacity: 0.25; transform: scale(1); }
  50%       { opacity: 1;    transform: scale(1.5); }
}

@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  #inicio { min-height: auto; padding: 60px 0; }
}

/* ================================================
   SOBRE
   ================================================ */
#sobre { background: var(--gray-100); }

.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 88px;
  align-items: center;
}

.sobre-img-col { position: relative; }

.sobre-img-outer {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 18px 18px 0px var(--yellow);
}

.sobre-img-outer img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.sobre-badge-float {
  position: absolute;
  bottom: -18px;
  left: -18px;
  background: var(--dark);
  color: var(--white);
  padding: 20px 26px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.sobre-badge-float strong {
  display: block;
  font-family: var(--font-h);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--yellow);
  line-height: 1;
}

.sobre-badge-float span {
  display: block;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 4px;
}

.sobre-text .lead { margin-bottom: 18px; }

.sobre-quote {
  border-left: 3px solid var(--yellow);
  padding: 14px 20px;
  background: rgba(245,196,0,0.06);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--gray-800);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 26px 0 30px;
}

.sobre-pilares {
  display: flex;
  gap: 16px;
  margin-top: 36px;
}

.pilar {
  flex: 1;
  text-align: center;
  padding: 18px 10px;
  background: var(--white);
  border-radius: var(--radius-sm);
  border-bottom: 3px solid var(--yellow);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t);
}

.pilar:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.pilar .icon  { font-size: 1.7rem; margin-bottom: 7px; }
.pilar .label {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 0.72rem;
  color: var(--dark);
  letter-spacing: 1px;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .sobre-grid { grid-template-columns: 1fr; gap: 56px; }
  .sobre-img-col { order: -1; }
}

/* ================================================
   SERVIÇOS
   ================================================ */
#servicos { background: var(--white); }

.servicos-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 64px;
}

.servicos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 700px) {
  .servicos-header { grid-template-columns: 1fr; }
  .servicos-grid   { grid-template-columns: 1fr; }
}

.scard {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
  transition: transform var(--t) var(--ease),
              box-shadow var(--t) var(--ease),
              border-color var(--t);
}

.scard::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.scard:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.scard:hover::after { transform: scaleX(1); }

.scard-num {
  position: absolute;
  top: 20px; right: 24px;
  font-family: var(--font-h);
  font-weight: 900;
  font-size: 4rem;
  color: rgba(0,0,0,0.035);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.scard-icon {
  width: 54px;
  height: 54px;
  background: var(--yellow-glow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 22px;
  transition: background var(--t);
}

.scard:hover .scard-icon { background: var(--yellow); }

.scard h3 {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--dark);
  margin-bottom: 12px;
}

.scard p {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--gray-600);
  margin-bottom: 20px;
}

.scard ul { display: flex; flex-direction: column; gap: 8px; }

.scard ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--gray-600);
}

.scard ul li::before {
  content: '';
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  background: var(--yellow);
  border-radius: 50%;
  margin-top: 6px;
}

/* ================================================
   CTA STRIP
   ================================================ */
.cta-strip {
  background: var(--yellow);
  padding: 72px 0;
}

.cta-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-strip h2 {
  font-family: var(--font-h);
  font-weight: 900;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--dark);
  line-height: 1.2;
}

.cta-strip p {
  font-size: 0.95rem;
  color: rgba(0,0,0,0.55);
  margin-top: 8px;
}

/* ================================================
   CONTATO
   ================================================ */
#contato { background: var(--gray-100); }

.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px;
  align-items: start;
}

.contato-info .lead { margin-bottom: 36px; }

.info-list { display: flex; flex-direction: column; gap: 22px; }

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.info-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  background: var(--yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.info-body strong {
  display: block;
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 3px;
}

.info-body span {
  font-size: 0.9rem;
  color: var(--gray-600);
}

/* Form */
.form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 48px 44px;
  box-shadow: var(--shadow);
}

.form-card h3 {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--dark);
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1.5px solid var(--border);
}

.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fgroup { margin-bottom: 18px; }

.fgroup label {
  display: block;
  font-family: var(--font-h);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 8px;
}

.fgroup input,
.fgroup textarea,
.fgroup select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-b);
  font-size: 0.9rem;
  color: var(--dark);
  background: var(--white);
  outline: none;
  transition: border-color var(--t);
  -webkit-appearance: none;
}

.fgroup input:focus,
.fgroup textarea:focus,
.fgroup select:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(245,196,0,0.12);
}

.fgroup textarea { resize: vertical; min-height: 118px; }
.fgroup select   { cursor: pointer; }

.form-submit {
  width: 100%;
  justify-content: center;
  margin-top: 6px;
  font-size: 0.8rem;
}

@media (max-width: 900px) {
  .contato-grid { grid-template-columns: 1fr; }
  .form-card { padding: 32px 24px; }
  .frow { grid-template-columns: 1fr; }
}

/* ================================================
   FOOTER
   ================================================ */
footer {
  background: var(--dark2);
  color: rgba(255,255,255,0.45);
  padding-top: 72px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-brand img {
  height: 44px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  font-size: 0.86rem;
  line-height: 1.74;
  color: rgba(255,255,255,0.38);
  max-width: 300px;
  margin-bottom: 28px;
}

.socials { display: flex; gap: 10px; }

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  font-size: 0.9rem;
  transition: all var(--t);
}

.social-btn:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--dark);
}

.footer-col h4 {
  font-family: var(--font-h);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 22px;
}

.footer-col li { margin-bottom: 10px; }

.footer-col a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.38);
  transition: color var(--t);
}
.footer-col a:hover { color: var(--yellow); }

.footer-bottom {
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.22);
}

.footer-cnpj {
  font-size: 0.74rem;
  color: rgba(255,255,255,0.18);
  font-family: var(--font-h);
  letter-spacing: 1px;
}

@media (max-width: 860px) {
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ================================================
   TOAST
   ================================================ */
.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9999;
  background: var(--dark);
  color: var(--white);
  padding: 16px 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--yellow);
  font-size: 0.9rem;
  font-weight: 500;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s var(--ease);
  max-width: 320px;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}
