/* =========================================================
   SABOR E SAÚDE HORTIFRUT LTDA — Premium "Em Construção"
   Paleta:
   Verde Escuro #0E4B2A | Verde Médio #2E7D32
   Verde Claro #66BB6A  | Laranja #F57C00
   ========================================================= */

:root {
  --green-900: #0e4b2a;
  --green-800: #0f5a35;
  --green-700: #2e7d32;
  --green-600: #388e3c;
  --green-500: #66bb6a;
  --green-400: #81c784;
  --orange: #f57c00;
  --orange-dark: #e65100;
  --white: #ffffff;
  --gray-50: #f8faf9;
  --gray-100: #f1f5f2;
  --gray-200: #e6ece8;
  --gray-300: #d3ddd6;
  --gray-500: #7a8a80;
  --gray-700: #3f4a44;
  --gray-900: #1a2420;

  --shadow-sm: 0 2px 8px rgba(14, 75, 42, 0.06);
  --shadow-md: 0 10px 30px rgba(14, 75, 42, 0.10);
  --shadow-lg: 0 24px 60px rgba(14, 75, 42, 0.16);
  --shadow-glow: 0 12px 40px rgba(245, 124, 0, 0.25);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --container: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', system-ui, sans-serif;
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    background 0.35s var(--ease), color 0.35s var(--ease);
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(135deg, var(--green-700), var(--green-500));
  color: var(--white);
  box-shadow: 0 8px 24px rgba(46, 125, 50, 0.35);
}
.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(46, 125, 50, 0.45);
  background: linear-gradient(135deg, var(--green-600), var(--green-400));
}
.btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-3px);
}
.btn--lg { padding: 16px 34px; font-size: 1rem; }
.btn--block { width: 100%; justify-content: center; }

/* ===== LOADER ===== */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}
.loader.is-hidden { opacity: 0; visibility: hidden; }
.loader__inner { text-align: center; }
.loader__icon {
  font-size: 2.6rem;
  color: var(--green-500);
  margin-bottom: 22px;
  animation: leafPulse 1.4s ease-in-out infinite;
}
@keyframes leafPulse {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.18); opacity: 1; }
}
.loader__bar {
  width: 220px;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin: 0 auto 18px;
}
.loader__bar span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--green-500), var(--orange));
  border-radius: var(--radius-pill);
  animation: loadFill 1.6s var(--ease) forwards;
}
@keyframes loadFill { to { width: 100%; } }
.loader__text {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.4s var(--ease), background 0.4s var(--ease);
}
.header.is-scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.98);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo__mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--green-700), var(--green-500));
  color: var(--white);
  font-size: 1.3rem;
  box-shadow: 0 6px 16px rgba(46, 125, 50, 0.3);
}
.logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.logo__title {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--green-900);
}
.logo__sub {
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green-700);
  font-weight: 500;
}

.nav { display: flex; gap: 6px; }
.nav__link {
  position: relative;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--gray-700);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  transition: color 0.3s var(--ease), background 0.3s var(--ease);
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 0;
  height: 2px;
  background: var(--green-500);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width 0.3s var(--ease);
}
.nav__link:hover,
.nav__link.active { color: var(--green-700); }
.nav__link:hover::after,
.nav__link.active::after { width: 22px; }

.header__cta { padding: 10px 22px; font-size: 0.88rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--green-900);
  border-radius: 3px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  padding-top: 76px;
}
.hero__left {
  background: linear-gradient(160deg, var(--green-900) 0%, var(--green-800) 60%, var(--green-700) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero__left::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(102, 187, 106, 0.25), transparent 70%);
  border-radius: 50%;
}
.hero__left::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(245, 124, 0, 0.18), transparent 70%);
  border-radius: 50%;
}
.hero__content {
  position: relative;
  padding: 60px 64px;
  max-width: 640px;
  color: var(--white);
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(102, 187, 106, 0.18);
  border: 1px solid rgba(102, 187, 106, 0.4);
  color: var(--green-400);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 26px;
  backdrop-filter: blur(8px);
}
.hero__title {
  font-size: clamp(2.4rem, 4.4vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1px;
  margin-bottom: 22px;
}
.hero__title span {
  background: linear-gradient(90deg, var(--green-400), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__subtitle {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.35;
}
.hero__text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 34px;
  max-width: 520px;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }

.hero__stats {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.hero__stat { display: flex; flex-direction: column; }
.hero__stat-num {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--green-400);
}
.hero__stat-label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.hero__stat-divider {
  width: 1px;
  height: 38px;
  background: rgba(255, 255, 255, 0.15);
}

.hero__right {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: heroZoom 14s var(--ease) infinite alternate;
}
@keyframes heroZoom { to { transform: scale(1.16); } }
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(14, 75, 42, 0.35), transparent 40%);
}
.hero__glass {
  position: absolute;
  left: 32px;
  bottom: 40px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  color: var(--white);
}
.hero__glass-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  font-size: 1.3rem;
  box-shadow: var(--shadow-glow);
}
.hero__glass strong { display: block; font-size: 1rem; }
.hero__glass span { font-size: 0.82rem; opacity: 0.85; }

/* ===== SECTION SHARED ===== */
.section__eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green-700);
  margin-bottom: 14px;
}
.section__eyebrow--center { display: block; text-align: center; }
.section__eyebrow--light { color: var(--green-400); }
.section__title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--green-900);
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}
.section__title--center { text-align: center; }
.section__title--light { color: var(--white); }

/* ===== ABOUT ===== */
.about { padding: 110px 0; background: var(--gray-50); }
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.about__media { position: relative; }
.about__img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.about__badge {
  position: absolute;
  right: -20px;
  bottom: 30px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 24px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.about__badge i {
  font-size: 1.6rem;
  color: var(--orange);
}
.about__badge strong { display: block; color: var(--green-900); font-size: 0.98rem; }
.about__badge span { font-size: 0.8rem; color: var(--gray-500); }
.about__text { font-size: 1.05rem; color: var(--gray-700); margin-bottom: 26px; }
.about__list { display: flex; flex-direction: column; gap: 14px; }
.about__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  color: var(--gray-900);
}
.about__list i { color: var(--green-500); font-size: 1.1rem; }

/* ===== SERVICES ===== */
.services { padding: 110px 0; background: var(--white); }
.services__head { max-width: 680px; margin: 0 auto 60px; }
.services__lead {
  text-align: center;
  color: var(--gray-700);
  font-size: 1.05rem;
  margin-top: 8px;
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.card {
  position: relative;
  padding: 44px 28px 36px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
    border-color 0.4s var(--ease);
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--green-700), var(--orange));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.card:hover::before { transform: scaleX(1); }
.card__icon {
  width: 84px;
  height: 84px;
  margin: 0 auto 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 2rem;
  color: var(--white);
  background: linear-gradient(135deg, var(--green-700), var(--green-500));
  box-shadow: 0 10px 26px rgba(46, 125, 50, 0.3);
  transition: transform 0.4s var(--ease), background 0.4s var(--ease);
}
.card:hover .card__icon {
  transform: rotate(-8deg) scale(1.08);
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  box-shadow: var(--shadow-glow);
}
.card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--green-900);
  margin-bottom: 12px;
}
.card__text { font-size: 0.92rem; color: var(--gray-700); line-height: 1.55; }

/* ===== COMPANY ===== */
.company {
  padding: 110px 0;
  background: linear-gradient(160deg, var(--green-900), var(--green-800));
  position: relative;
  overflow: hidden;
}
.company::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(102, 187, 106, 0.15), transparent 70%);
  border-radius: 50%;
}
.company__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: start;
  position: relative;
}

/* Data list */
.data-list { display: flex; flex-direction: column; gap: 22px; margin-top: 10px; }
.data-list__item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  transition: background 0.35s var(--ease), transform 0.35s var(--ease);
  backdrop-filter: blur(8px);
}
.data-list__item:hover {
  background: rgba(255, 255, 255, 0.09);
  transform: translateX(6px);
}
.data-list__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(102, 187, 106, 0.18);
  color: var(--green-400);
  font-size: 1.1rem;
}
.data-list__body { display: flex; flex-direction: column; }
.data-list__label {
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 4px;
}
.data-list__value {
  color: var(--white);
  font-weight: 500;
  font-size: 0.98rem;
}
.data-list__value a { color: var(--green-400); transition: color 0.3s; }
.data-list__value a:hover { color: var(--orange); }

/* Portal card */
.portal-card {
  position: relative;
  padding: 44px 38px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: center;
  color: var(--white);
  overflow: hidden;
}
.portal-card::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(245, 124, 0, 0.22), transparent 70%);
  border-radius: 50%;
}
.portal-card__icon {
  position: relative;
  width: 90px;
  height: 90px;
  margin: 0 auto 24px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  font-size: 2.4rem;
  color: var(--white);
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  box-shadow: var(--shadow-glow);
}
.portal-card__tag {
  display: inline-block;
  font-size: 0.74rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--orange);
  background: rgba(245, 124, 0, 0.15);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}
.portal-card__title {
  position: relative;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 16px;
}
.portal-card__text {
  position: relative;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.98rem;
  margin-bottom: 28px;
}
.portal-card__progress { position: relative; margin-bottom: 30px; }
.portal-card__progress-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin-bottom: 10px;
}
.portal-card__progress-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--green-500), var(--orange));
  border-radius: var(--radius-pill);
  transition: width 1.8s var(--ease);
}
.portal-card.is-visible .portal-card__progress-bar span { width: 72%; }
.portal-card__progress-label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--green-900);
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer__copy,
.footer__dev {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}
.footer__social { display: flex; gap: 12px; }
.footer__social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
    transform 0.35s var(--ease);
}
.footer__social-link:hover {
  background: linear-gradient(135deg, var(--green-500), var(--orange));
  color: var(--white);
  transform: translateY(-4px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; }
  .hero__left { min-height: auto; }
  .hero__content { padding: 90px 40px 60px; max-width: 100%; }
  .hero__right { min-height: 60vh; }
  .about__inner { grid-template-columns: 1fr; gap: 50px; }
  .about__img { height: 420px; }
  .company__grid { grid-template-columns: 1fr; gap: 40px; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav, .header__cta { display: none; }
  .nav-toggle { display: flex; }
  .nav {
    position: fixed;
    top: 76px;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: var(--white);
    padding: 20px 24px;
    gap: 4px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-150%);
    transition: transform 0.4s var(--ease);
    border-radius: 0 0 20px 20px;
  }
  .nav.is-open { transform: translateY(0); }
  .nav__link { padding: 14px 16px; }
  .nav__link::after { display: none; }
  .hero__content { padding: 80px 24px 50px; }
  .hero__stats { flex-wrap: wrap; gap: 18px; }
  .hero__stat-divider { display: none; }
  .about, .services, .company { padding: 70px 0; }
  .services__grid { grid-template-columns: 1fr; }
  .portal-card { padding: 34px 24px; }
  .footer__inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 2.2rem; }
  .hero__actions { flex-direction: column; }
  .btn--lg { width: 100%; justify-content: center; }
  .hero__glass { left: 16px; right: 16px; bottom: 20px; }
  .about__badge { right: 10px; bottom: 14px; padding: 14px 18px; }
}
