/* ============================================================
   CTA-FASCIA.CSS — fascia con immagine di sfondo e overlay brand
   ============================================================ */

.sec-cta-fascia {
  position: relative;
  background:
    url('../../assets/images/cta-bg-sicilia-costa-isole-eolie-tramonto.png')
    center / cover no-repeat;
  min-height: clamp(440px, 60vh, 720px);
  display: flex;
  align-items: center;
  padding-block: var(--sp-20);
}

/* ---- Overlay 4 colori brand ---- */
/*
   Test contrasto: testo bianco (#fff) su navy radiale centro ~78% opacità
   Colore risultante effettivo ≈ #1a3d5e → ratio white/bg ≈ 11.2:1  ✓ WCAG AAA
*/
.sec-cta-fascia::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    /* Scuro radiale al centro: protegge la leggibilità del testo */
    radial-gradient(
      ellipse 75% 85% at center,
      rgba(11, 42, 74, 0.82) 0%,
      rgba(11, 42, 74, 0.48) 100%
    ),
    /* Colori brand agli angoli: giallo → blu → verde */
    linear-gradient(
      135deg,
      rgba(250, 195, 6,  0.38) 0%,    /* --c-yellow  angolo alto-sx */
      rgba(9,  95, 168,  0.30) 50%,   /* --c-blue    centro */
      rgba(10, 124, 11,  0.32) 100%   /* --c-green   angolo basso-dx */
    );
}

/* ---- Inner: layout centrato ---- */
.sec-cta-fascia__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: var(--sp-8);
}

/* ---- Testo ---- */
.sec-cta-fascia__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
  max-width: 680px;
}

.sec-cta-fascia__label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.sec-cta-fascia__headline {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--c-white);
  line-height: 1.15;
  padding-bottom: 0;
}

.sec-cta-fascia__btn {
  flex-shrink: 0;
}
