/* ── HERO CAROUSEL ── */
.hero-carousel { position: relative; overflow: hidden; min-height: 560px; }
.hero-track { display: flex; transition: transform .65s cubic-bezier(.4,0,.2,1); will-change: transform; }
.hero-slide {
  flex: 0 0 100%;
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 560px;
  background-size: cover; background-position: center; overflow: hidden;
}
.hero-content {
  padding: 80px 6% 80px 8%;
  display: flex; flex-direction: column; justify-content: center; gap: 22px;
  background: linear-gradient(to right, rgba(255,255,255,0.72) 70%, rgba(255,255,255,0) 100%);
}
.hero-tag { font-size: 11px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: var(--blue-mid); }
.hero-content h1 { font-size: clamp(28px, 3.5vw, 46px); font-weight: 700; color: var(--navy); line-height: 1.15; }
.hero-content p { font-size: 14.5px; line-height: 1.75; color: var(--gray-text); max-width: 420px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.hero-img { position: relative; display: flex; align-items: flex-start; justify-content: flex-end; background-size: cover; background-position: center; overflow: hidden; }

.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 10; width: 44px; height: 44px;
  background: rgba(255,255,255,.85); border: none; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: 0 2px 12px rgba(10,31,68,.18);
  transition: background .2s, transform .2s; color: var(--navy); font-size: 15px;
}
.hero-arrow:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
.hero-arrow.prev { left: 20px; }
.hero-arrow.next { right: 20px; }

.hero-controls {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
  z-index: 10; display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.55); backdrop-filter: blur(6px);
  padding: 6px 14px; border-radius: 100px;
}
.hero-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(10,31,68,.25); border: none; cursor: pointer; padding: 0;
  transition: background .25s, transform .25s;
}
.hero-dot.active { background: var(--navy); transform: scale(1.3); }
.hero-pause {
  width: 22px; height: 22px; background: none; border: none; cursor: pointer;
  color: var(--navy); font-size: 12px; display: flex; align-items: center; justify-content: center;
  opacity: .7; transition: opacity .2s; padding: 0;
}
.hero-pause:hover { opacity: 1; }

/* ── FEATURES STRIP ── */
.features-strip {
  background: var(--white); border-bottom: 1px solid var(--gray-border);
  padding: 40px 8%; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px;
}
.feat-item { text-align: center; }
.feat-icon { width: 48px; height: 48px; margin: 0 auto 12px; display: flex; align-items: center; justify-content: center; }
.feat-icon svg { width: 36px; height: 36px; stroke: var(--blue-mid); stroke-width: 1.5; fill: none; }
.feat-icon i { font-size: 32px; color: var(--blue-mid); }
.feat-item h4 { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--navy); margin-bottom: 6px; }
.feat-item p { font-size: 12px; color: var(--gray-text); line-height: 1.6; }

/* ── SEÇÕES COMUNS HOME ── */
section { padding: 80px 8%; }

/* ── CICLO ── */
.ciclo { background: var(--gray-light); }
.ciclo-inner { display: grid; grid-template-columns: 1fr 2fr; gap: 60px; align-items: center; }
.ciclo-row { display: flex; align-items: flex-start; }
.ciclo-item { flex: 1; text-align: center; }
.ciclo-circle {
  width: 140px; height: 140px; border-radius: 50%; overflow: hidden;
  margin: 0 auto 16px; background: #1a3a7c center/cover no-repeat;
  border: 3px solid rgba(255,255,255,.6); box-shadow: 0 4px 20px rgba(10,31,68,.15);
}
.ciclo-arrow { color: var(--blue-mid); font-size: 22px; font-weight: 700; margin-top: 58px; padding: 0 6px; flex-shrink: 0; line-height: 1; }
.ciclo-num { font-size: 26px; font-weight: 700; color: var(--blue-mid); line-height: 1; margin-bottom: 6px; }
.ciclo-item h4 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--navy); margin-bottom: 8px; }
.ciclo-item p { font-size: 11.5px; color: var(--gray-text); line-height: 1.6; max-width: 120px; margin: 0 auto; }

/* ── BIOREVIX SECTION ── */
.biorevix-section {
  background-color: var(--navy); color: #ffffff; padding: 80px 8%;
  position: relative; overflow: hidden;
}
.biorevix-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 0% 50%, rgba(30,79,173,.18) 0%, transparent 70%);
  pointer-events: none;
}
.biorevix-inner { position: relative; z-index: 1; }
.biorevix-main {
  display: grid; grid-template-columns: minmax(0, .95fr) minmax(360px, 1fr);
  gap: 56px; align-items: center; margin-bottom: 52px;
}
.biorevix-subtitle { font-size: 11px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 14px; }
.biorevix-title { font-size: clamp(22px, 2.8vw, 36px); font-weight: 700; color: #ffffff; line-height: 1.2; margin-bottom: 16px; }
.biorevix-text { font-size: 14px; line-height: 1.8; color: rgba(255,255,255,.55); max-width: 560px; }
.biorevix-image-card {
  position: relative; min-height: 180px; border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px; overflow: hidden; background: rgba(255,255,255,.04);
  box-shadow: 0 22px 48px rgba(0,0,0,.20);
}
.biorevix-image-card img { width: 100%; height: 100%; min-height: 180px; object-fit: cover; display: block; }
.biorevix-image-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,31,68,.18), rgba(10,31,68,0)); pointer-events: none;
}
.biorevix-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.bfeat-item { border-left: 2px solid rgba(255,255,255,.15); padding-left: 20px; }
.bfeat-header { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.bfeat-icon { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: rgba(255,255,255,.55); stroke-width: 2; font-size: 18px; color: rgba(255,255,255,.55); }
.bfeat-title { font-size: 13.5px; font-weight: 700; color: #ffffff; }
.bfeat-desc { font-size: 12.5px; line-height: 1.55; color: rgba(255,255,255,.45); }

/* ── PRODUTOS ── */
.produtos-inner { display: grid; grid-template-columns: 1fr 2fr; gap: 60px; align-items: center; }
.products-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.product-card {
  border-radius: 14px; overflow: hidden; position: relative; min-height: 400px;
  background-size: cover; background-position: center; display: flex; flex-direction: column;
  justify-content: flex-end; transition: transform .25s, box-shadow .25s; cursor: pointer; text-decoration: none;
}
.product-card:hover { transform: translateY(-5px); box-shadow: 0 16px 48px rgba(10,31,68,.22); }
.product-card-overlay {
  background: linear-gradient(to top, rgba(6,16,42,0.95) 0%, rgba(6,16,42,0.65) 55%, transparent 100%);
  padding: 28px 24px 22px; color: #fff;
}
.product-card-overlay h3 { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 2px; letter-spacing: .3px; }
.product-card-overlay .subtitle { font-size: 13px; font-weight: 600; margin-bottom: 12px; }
.sub-granular, .sub-injetavel { color: #0d6b91; }
.product-card-overlay p { font-size: 13px; color: rgba(255,255,255,.78); line-height: 1.65; margin-bottom: 16px; }
.product-card-overlay .link-arrow { color: rgba(255,255,255,.85); margin-top: 0; font-size: 12.5px; }

/* ── APLICAÇÕES ── */
.aplicacoes { background: var(--white); padding: 0; }
.aplicacoes-inner { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: center; padding: 56px 8%; }
.apps-row { display: flex; gap: 0; justify-content: space-between; align-items: flex-end; }
.app-item { text-align: center; flex: 1; padding: 0 8px; }
.app-icon-lg { height: 80px; margin: 0 auto 10px; display: flex; align-items: center; justify-content: center; }
.app-icon-lg img { max-height: 80px; max-width: 100%; width: auto; object-fit: contain; display: block; }
.app-item span { font-size: 12px; font-weight: 600; color: var(--navy); display: block; line-height: 1.4; margin-top: 10px; }

/* ── CIÊNCIA ── */
.ciencia-section { background: #f4f6fa; }
.ciencia-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.science-img-card {
  border-radius: 24px; overflow: hidden; position: relative; aspect-ratio: 4 / 3; width: 100%;
  background-size: auto 84%; background-position: center; background-repeat: no-repeat;
  background-color: #ffffff; box-shadow: 0 20px 60px rgba(10,31,68,.18);
  transition: transform .35s ease, box-shadow .35s ease;
}
.science-img-card:hover { transform: translateY(-6px); box-shadow: 0 28px 72px rgba(10,31,68,.26); }

/* ── FOOTER (home) ── */
footer { background: var(--white); color: var(--navy); border-top: 1px solid var(--gray-border); padding: 72px 8% 54px; }
.footer-brand .logo-text span:first-child { color: var(--navy); }

/* ── TABLET ── */
@media (max-width: 900px) {
  .hero-slide { grid-template-columns: 1fr; background-size: cover !important; background-position: center !important; }
  .hero-content { padding: 64px 6% 64px; background: linear-gradient(to bottom, rgba(255,255,255,0.88) 60%, rgba(255,255,255,0.72) 100%); }
  .hero-img { display: none; }
  .hero-arrow { width: 36px; height: 36px; font-size: 13px; }
  .hero-arrow.prev { left: 10px; }
  .hero-arrow.next { right: 10px; }
  .features-strip { grid-template-columns: repeat(2, 1fr); padding: 32px 6%; gap: 24px; }
  .ciclo-inner { grid-template-columns: 1fr; gap: 36px; }
  .ciclo-row { flex-wrap: wrap; justify-content: center; }
  .ciclo-item { flex: 0 0 45%; max-width: 45%; margin-bottom: 20px; }
  .ciclo-arrow { display: none; }
  .biorevix-main { grid-template-columns: 1fr; gap: 32px; }
  .biorevix-features { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .produtos-inner { grid-template-columns: 1fr; gap: 36px; }
  .products-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .product-card { min-height: 320px; }
  .aplicacoes-inner { grid-template-columns: 1fr; gap: 30px; padding: 48px 6%; }
  .apps-row { flex-wrap: wrap; gap: 20px 10px; justify-content: center; }
  .app-item { flex: 0 0 calc(33% - 10px); max-width: calc(33% - 10px); padding: 0 4px; }
  .ciencia-section { padding: 0 !important; overflow: hidden; }
  .ciencia-inner { display: block; position: relative; min-height: 480px; gap: 0; }
  .ciencia-inner > div:first-child { position: relative; z-index: 2; padding: 48px 6% 80px; background: linear-gradient(to bottom, #f4f6fa 55%, rgba(244,246,250,0) 100%); }
  .science-img-card { position: absolute !important; inset: 0 !important; border-radius: 0 !important; aspect-ratio: unset !important; width: 100% !important; height: 100% !important; background-size: cover !important; background-position: center !important; box-shadow: none !important; margin: 0 !important; }
  .science-img-card:hover { transform: none !important; }
  section { padding: 64px 6%; }
}

/* ── MOBILE ── */
@media (max-width: 480px) {
  .hero-content { padding: 48px 4% 44px; gap: 16px; }
  .hero-content h1 { font-size: clamp(24px, 7vw, 32px); }
  .hero-btns { flex-direction: column; gap: 10px; }
  .hero-btns .btn { width: 100%; justify-content: center; }
  .features-strip { grid-template-columns: 1fr; padding: 24px 4%; gap: 20px; }
  .ciclo-item { flex: 0 0 80%; max-width: 80%; }
  .ciclo-circle { width: 110px; height: 110px; }
  .biorevix-features { grid-template-columns: 1fr; }
  .biorevix-section { padding: 60px 4%; }
  .products-grid { grid-template-columns: 1fr; }
  .product-card { min-height: 280px; }
  .app-item { flex: 0 0 calc(50% - 8px); max-width: calc(50% - 8px); }
  .app-icon-lg { height: 68px; }
  section { padding: 48px 4%; }
  .features-strip { padding: 24px 4%; }
}
