/**
 * Ale 360 — Institucional + Solucoes 360
 * Imagem de fundo a direita com overlay branco
 * Padrao ale-* (CSS externo, zero inline)
 */

/* ========== SECTION ========== */
.ale-360 {
  padding: 120px 48px;
  background: #fff;
  position: relative;
  overflow: hidden;
}

/* Imagem de fundo — direita, alinhada ao topo */
.ale-360__bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: auto;
  object-fit: contain;
  object-position: right top;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}

/* Overlay branco: 100% esquerda → 30% direita */
.ale-360__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #fff 50%, rgba(255, 255, 255, 0.3) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Container */
.ale-360__container {
  max-width: 1312px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* ========== HEADER ========== */
.ale-360__header {
  text-align: center;
  margin-bottom: 72px;
}

.ale-360__label {
  display: inline-block;
  color: var(--color-text-brand-primary, #0099D6);
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.ale-360__title {
  color: #121926;
  font-family: 'Mont', sans-serif;
  font-size: 44px;
  font-weight: 700;
  line-height: 115%;
  margin: 0 auto 16px;
  max-width: 700px;
  letter-spacing: -0.02em;
}

.ale-360__title .is-highlight {
  color: var(--color-text-brand-primary, #0099D6);
}

.ale-360__subtitle {
  color: #697586;
  font-family: 'Poppins', sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 160%;
  max-width: 560px;
  margin: 0 auto;
}

/* ========== GRID ========== */
.ale-360__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

/* ========== CARD ========== */
.ale-360__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 36px 24px;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.ale-360__card:hover {
  border-color: rgba(0, 174, 239, 0.3);
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 174, 239, 0.08);
}

/* Icone */
.ale-360__icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: rgba(0, 174, 239, 0.08);
  border: 1px solid rgba(0, 174, 239, 0.15);
  margin-bottom: 20px;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.ale-360__card:hover .ale-360__icon {
  background: rgba(0, 174, 239, 0.15);
  border-color: rgba(0, 174, 239, 0.3);
}

.ale-360__icon svg {
  width: 28px;
  height: 28px;
  stroke: #0099D6;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Textos */
.ale-360__card-title {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #121926;
  margin-bottom: 8px;
  line-height: 135%;
}

.ale-360__card-desc {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #697586;
  line-height: 155%;
}

/* ========== FECHAMENTO ========== */
.ale-360__closing {
  text-align: center;
  padding-top: 16px;
}

.ale-360__closing-text {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  line-height: 145%;
}

.ale-360__closing-text .is-highlight {
  color: var(--color-text-brand-primary, #0099D6);
  font-weight: 600;
}

.ale-360__closing-text .is-dark {
  color: #121926;
  font-weight: 400;
}

/* ========== ANIMACAO ========== */
.ale-360__card.ale-anim,
.ale-360__header .ale-anim,
.ale-360__closing.ale-anim {
  opacity: 0;
  transform: translateY(30px);
}

.ale-360__card.ale-anim.is-visible,
.ale-360__header .ale-anim.is-visible,
.ale-360__closing.ale-anim.is-visible {
  animation: ale360FadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.ale-360__card.ale-anim.is-visible {
  animation-delay: var(--card-delay, 0s);
}

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

.ale-no-anim .ale-anim {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

/* ========== RESPONSIVO ========== */
@media (max-width: 1024px) {
  .ale-360 { padding: 80px 32px; }
  .ale-360__title { font-size: 36px; }
  .ale-360__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .ale-360 { padding: 64px 20px; }
  .ale-360__title { font-size: 30px; }
  .ale-360__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .ale-360__bg { width: 70%; opacity: 0.2; }
}

@media (max-width: 480px) {
  .ale-360 { padding: 48px 16px; }
  .ale-360__title { font-size: 26px; }
  .ale-360__grid { grid-template-columns: 1fr; }
  .ale-360__card { padding: 28px 20px; }
  .ale-360__bg { display: none; }
}
