/* ===============================================
   GRANEL CEREALISTA - ESTILOS
   Design agro: verde, terra, dourado
   =============================================== */

/* ===== VARIÁVEIS ===== */
:root {
  /* Cores principais */
  --color-primary: #2d5016; /* Verde escuro agro */
  --color-secondary: #8b6f47; /* Terra */
  --color-accent: #c9a84c; /* Dourado */
  --color-light: #f5f1e8; /* Bege claro */
  --color-dark: #1a1a1a;
  --color-navy: #081228;
  
  /* Tons de verde */
  --color-green-dark: #2d5016;
  --color-green: #4a7c2c;
  --color-green-light: #6b9d4a;
  
  /* Tipografia */
  --font-primary: 'Inter', sans-serif;
  --font-display: 'Playfair Display', serif;
  
  /* Espaçamento */
  --container-width: 1200px;
  --section-padding: 100px 0;
  
  /* Sombras */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
  
  /* Transições */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  color: var(--color-dark);
  line-height: 1.6;
  background-color: #fff;
  overflow-x: hidden;
}

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

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

/* ===== UTILITÁRIOS ===== */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Section Headers */
.section-header {
  margin-bottom: 60px;
}

.section-header--center {
  text-align: center;
}

.section-header__label {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.section-header__title {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-header__description {
  font-size: 1.125rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

/* Botões */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  box-sizing: border-box;
}

.btn--primary {
  background-color: var(--color-primary);
  color: white;
}

.btn--primary:hover {
  background-color: var(--color-green);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--secondary {
  background-color: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.4);
}

.btn--secondary:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: white;
}

.btn--whatsapp {
  background-color: #25D366;
  color: white;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.0625rem;
  padding: 16px 36px;
}

.btn--whatsapp:hover {
  background-color: #20ba5a;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ===== NAVEGAÇÃO ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(8, 18, 40, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.nav__container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: white;
}

.nav__logo {
  font-size: 1.75rem;
}

.nav__menu {
  display: flex;
  list-style: none;
  gap: 40px;
  align-items: center;
}

.nav__link {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: width 0.3s ease;
}

.nav__link:hover {
  color: white;
}

.nav__link:hover::after {
  width: 100%;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav__toggle span {
  width: 25px;
  height: 2px;
  background-color: white;
  transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 70px;
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('https://images.unsplash.com/photo-1574943320219-553eb213f72d?w=1920&auto=format&fit=crop&q=80');
  background-size: cover;
  background-position: center;
  filter: grayscale(15%) brightness(0.6);
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(8, 18, 40, 0.78) 0%, rgba(45, 80, 22, 0.65) 100%);
  z-index: 1;
}

.hero__grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    repeating-linear-gradient(0deg, transparent, transparent 59px, rgba(201, 168, 76, 0.06) 59px, rgba(201, 168, 76, 0.06) 60px),
    repeating-linear-gradient(90deg, transparent, transparent 59px, rgba(201, 168, 76, 0.06) 59px, rgba(201, 168, 76, 0.06) 60px);
  z-index: 2;
}

.hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
  animation: fadeInUp 1s ease;
}

.hero__badge {
  display: inline-block;
  padding: 6px 16px;
  background-color: rgba(201, 168, 76, 0.2);
  border: 1px solid rgba(201, 168, 76, 0.4);
  border-radius: 20px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero__title {
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 700;
  color: white;
  line-height: 1.1;
  margin-bottom: 20px;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero__subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.hero__description {
  font-size: 1.1875rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero__actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.hero__scroll-indicator {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  position: relative;
}

.hero__scroll-indicator::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 2px;
  animation: scroll 2s infinite;
}

@keyframes scroll {
  0%, 100% { top: 8px; opacity: 1; }
  50% { top: 20px; opacity: 0.5; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== SOBRE ===== */
.sobre {
  padding: var(--section-padding);
  background-color: white;
}

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

.sobre__text {
  font-size: 1.0625rem;
  color: #444;
  line-height: 1.8;
}

.sobre__lead {
  font-size: 1.3125rem;
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: 24px;
  line-height: 1.6;
}

.sobre__text p {
  margin-bottom: 20px;
}

.sobre__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 48px;
}

.stat {
  text-align: center;
  padding: 24px;
  background: linear-gradient(135deg, rgba(45, 80, 22, 0.05) 0%, rgba(201, 168, 76, 0.05) 100%);
  border-radius: 12px;
  border: 1px solid rgba(45, 80, 22, 0.1);
}

.stat__value {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat__label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #666;
}

.sobre__image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.sobre__image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.sobre__image:hover img {
  transform: scale(1.05);
}

/* ===== NEGÓCIOS ===== */
.negocios {
  padding: var(--section-padding);
  background: linear-gradient(180deg, #f9f7f3 0%, white 100%);
}

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

/* Cards */
.card {
  position: relative;
  height: 400px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  cursor: pointer;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.card__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: grayscale(10%) brightness(0.6);
  transition: var(--transition);
  z-index: 0;
}

.card:hover .card__bg {
  filter: grayscale(0%) brightness(0.7);
  transform: scale(1.05);
}

.card__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(8, 18, 40, 0.75) 0%, rgba(45, 80, 22, 0.60) 100%);
  z-index: 1;
}

.card__content {
  position: relative;
  z-index: 3;
  padding: 40px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: white;
}

.card__icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.card__title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.2;
}

.card__description {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.card__badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 6px 14px;
  background-color: var(--color-accent);
  color: var(--color-dark);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===== VALORES ===== */
.valores {
  padding: var(--section-padding);
  background-color: var(--color-primary);
  color: white;
}

.valores__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.valor {
  text-align: center;
  padding: 32px 20px;
}

.valor__icon {
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.valor__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-accent);
}

.valor__text {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
}

/* ===== CONTATO ===== */
.contato {
  padding: var(--section-padding);
  background-color: white;
}

.contato__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 60px;
}

.contato__info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.info-card {
  padding: 32px;
  background: linear-gradient(135deg, rgba(45, 80, 22, 0.05) 0%, rgba(201, 168, 76, 0.05) 100%);
  border-radius: 12px;
  border: 1px solid rgba(45, 80, 22, 0.1);
  transition: var(--transition);
}

.info-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
}

.info-card__icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.info-card__title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.info-card__text {
  font-size: 1.0625rem;
  color: #666;
  line-height: 1.6;
}

.info-card__link {
  color: var(--color-primary);
  font-weight: 600;
  transition: var(--transition);
}

.info-card__link:hover {
  color: var(--color-green);
}

.contato__cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 60px 40px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-green) 100%);
  border-radius: 16px;
  text-align: center;
  color: white;
}

.contato__cta-title {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.contato__cta-text {
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
  max-width: 400px;
}

/* ===== FOOTER ===== */
.footer {
  background-color: var(--color-navy);
  color: rgba(255, 255, 255, 0.8);
  padding: 60px 0 30px;
}

.footer__content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 50px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__logo {
  font-size: 2.5rem;
}

.footer__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}

.footer__tagline {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer__heading {
  font-size: 1.125rem;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
}

.footer__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__link {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
  transition: var(--transition);
}

.footer__link:hover {
  color: var(--color-accent);
}

.footer__text {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 8px;
}

.footer__text a {
  color: var(--color-accent);
  transition: var(--transition);
}

.footer__text a:hover {
  color: white;
}

.footer__bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer__copyright {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer__dev {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.25);
}

.footer__dev a {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.8rem;
  text-decoration: none;
  transition: color 0.2s;
}

.footer__dev a:hover {
  color: rgba(201, 168, 76, 0.6);
}

/* ===== RESPONSIVO ===== */
@media (max-width: 768px) {
  /* Navigation */
  .nav__menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    background-color: rgba(8, 18, 40, 0.98);
    padding: 40px 20px;
    gap: 24px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }
  
  .nav__menu.active {
    transform: translateX(0);
  }
  
  .nav__toggle {
    display: flex;
  }
  
  /* Hero */
  .hero__title {
    font-size: 2.5rem;
  }
  
  .hero__subtitle {
    font-size: 1.125rem;
  }
  
  .hero__description {
    font-size: 1rem;
  }
  
  .hero__actions {
    flex-direction: column;
  }
  
  .hero__actions .btn {
    width: 100%;
    padding: 16px 20px;
  }
  
  /* Section Headers */
  .section-header__title {
    font-size: 2rem;
  }
  
  /* Sobre */
  .sobre__content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .sobre__stats {
    grid-template-columns: 1fr;
  }
  
  /* Negócios */
  .negocios__grid {
    grid-template-columns: 1fr;
  }
  
  .card {
    height: 350px;
  }
  
  /* Valores */
  .valores__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  /* Contato */
  .contato__content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  /* Footer */
  .footer__content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 2rem;
  }
  
  .section-header__title {
    font-size: 1.75rem;
  }
}
