/* ==========================================================================
   HORBACH AGRÍCOLA - DESIGN SYSTEM & CORE STYLES
   ========================================================================== */

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

:root {
  /* Brand Colors - Horbach Agrícola */
  --color-primary: #2E9A38;
  --color-primary-hover: #237D2D;
  --color-primary-dark: #195C21;
  --color-primary-light: #44B94F;
  --color-primary-soft: rgba(46, 154, 56, 0.12);
  --color-primary-border: rgba(46, 154, 56, 0.3);

  /* Secondary & Accents */
  --color-accent-gold: #E5A93C;
  --color-accent-gold-hover: #CC922B;
  --color-accent-blue: #1976D2;
  --color-whatsapp: #25D366;
  --color-whatsapp-hover: #1EBE5D;

  /* Neutral Dark / Graphite */
  --color-dark-900: #111417;
  --color-dark-800: #181C20;
  --color-dark-700: #22272E;
  --color-dark-600: #2D333B;
  --color-dark-500: #444D56;

  /* Neutral Grays / Steel */
  --color-gray-600: #57606A;
  --color-gray-500: #6E7781;
  --color-gray-400: #8C959F;
  --color-gray-300: #D0D7DE;
  --color-gray-200: #E1E4E8;
  --color-gray-100: #F6F8FA;
  --color-gray-50:  #FAFBFC;

  /* Surface & Backgrounds */
  --color-bg-page: #F8FAF9;
  --color-bg-card: #FFFFFF;
  --color-bg-surface: #FFFFFF;
  --color-text-main: #181C20;
  --color-text-muted: #57606A;
  --color-text-light: #FFFFFF;

  /* Elevation & Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 6px 16px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 12px 28px rgba(0, 0, 0, 0.12), 0 4px 10px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 14px 32px rgba(46, 154, 56, 0.15), 0 4px 10px rgba(0, 0, 0, 0.05);

  /* Borders & Radius */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Layout */
  --container-max-width: 1280px;
  --header-height: 86px;
  --topbar-height: 40px;
  
  /* Transitions */
  --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Montserrat', 'Inter', sans-serif;
  color: var(--color-text-main);
  background-color: var(--color-bg-page);
  line-height: 1.55;
  overflow-x: hidden;
}

img, picture, svg, video {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.section-padding {
  padding-top: 64px;
  padding-bottom: 64px;
}

.section-padding-lg {
  padding-top: 84px;
  padding-bottom: 84px;
}

.section-header {
  margin-bottom: 40px;
  text-align: center;
}

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

.section-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-primary);
  background-color: var(--color-primary-soft);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-dark-900);
  line-height: 1.25;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.section-title strong {
  color: var(--color-primary);
  font-weight: 800;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.section-header.text-left .section-desc {
  margin-left: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(46, 154, 56, 0.25);
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(46, 154, 56, 0.35);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(46, 154, 56, 0.2);
}

.btn-dark {
  background-color: var(--color-dark-800);
  color: #FFFFFF;
}

.btn-dark:hover {
  background-color: var(--color-dark-900);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.82rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: var(--radius-full);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  background: var(--color-dark-900);
  color: #FFFFFF;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  border-left: 4px solid var(--color-primary);
  transform: translateX(120%);
  transition: transform var(--transition-normal);
  min-width: 280px;
  max-width: 380px;
}

.toast.show {
  transform: translateX(0);
}

.toast-icon {
  color: var(--color-primary-light);
  flex-shrink: 0;
}

/* Responsive Breakpoints */
@media (max-width: 900px) {
  .section-title {
    font-size: 1.85rem;
  }
}
