/* ══ AZIENDA — layout da mockup "azienda_3" ══ */

/* sezioni su contenitore largo, come da mockup */
.container { max-width: 1560px; }

/* ── HERO: foto quadri + velo a gradiente brand ── */
#azienda-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  padding: 150px 0 4rem;
  background-color: var(--clr-bg);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
#azienda-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(28,63,145,0.72), rgba(0,106,156,0.62));
  z-index: 0;
}
#azienda-hero .container {
  position: relative; z-index: 1;
  max-width: none; width: 100%;
  padding: 0 clamp(1.5rem, 6vw, 7rem);
  flex: 1; display: flex; flex-direction: column; justify-content: space-between;
}
.azienda-hero-title { text-align: center; margin: auto 0; padding-top: 4rem; }
.azienda-hero-title h1 {
  font-family: var(--font-display);
  color: #ffffff; line-height: 1;
}
.azienda-hero-title .h1-light {
  display: block;
  font-weight: 300; letter-spacing: 0;
  font-size: clamp(1.6rem, 3.4vw, 3.4rem);
  margin-bottom: 0.4rem;
}
.azienda-hero-title strong {
  display: block;
  font-weight: 800; text-transform: uppercase;
  font-size: clamp(2.6rem, 9vw, 9rem);
  letter-spacing: -0.01em;
}
.azienda-hero-lead {
  max-width: 560px;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1rem, 1.3vw, 1.3rem);
  line-height: 1.45;
  text-align: justify;
  color: #ffffff;
}

/* ── LA NOSTRA STORIA — sfondo chiaro ── */
#storia { background: #f4f6f9; padding: 110px 0 120px; }
.storia-title {
  font-family: var(--font-display);
  font-weight: 300; text-transform: uppercase;
  font-size: clamp(2rem, 3.6vw, 3.6rem);
  color: #1c3f91;
  margin-bottom: 4.5rem;
}
.storia-title strong {
  font-weight: 800;
  background: linear-gradient(90deg, #1c3f91, #006a9c);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.storia-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 4.5rem;
  align-items: center;
}
.storia-img {
  border-radius: clamp(40px, 5.2vw, 100px);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(13,22,40,0.18);
}
.storia-img img { width: 100%; height: auto; display: block; }

.storia-text h3 {
  font-family: var(--font-display);
  font-weight: 300; line-height: 1.12;
  font-size: clamp(1.7rem, 2.6vw, 2.6rem);
  color: #5f6368;
  margin-bottom: 2.25rem;
}
.storia-text h3 em { font-style: italic; font-weight: 400; }
.storia-text p {
  font-family: var(--font-display);
  font-weight: 300; text-align: justify;
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  line-height: 1.5; color: #5f6368;
  margin-bottom: 1.75rem;
}
.storia-text strong { font-weight: 800; color: #4a5058; }

/* ── FONDATORI — striscia a tutta larghezza ── */
#team { background: #ffffff; padding: 0 0 80px; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.team-member { margin: 0; position: relative; }
.team-member img {
  width: 100%; height: auto; display: block;
  aspect-ratio: 480 / 465; object-fit: cover;
}
.team-member figcaption {
  position: relative;
  margin: 0 8.5% 0;
  padding: 1.6rem 1.25rem 1.7rem;
  min-height: 160px;
  text-align: center;
  color: #ffffff;
  background: var(--grad-brand);
  border-radius: 30px;
  display: flex; flex-direction: column; justify-content: center; gap: 0.7rem;
  font-family: var(--font-display);
}
/* il "becco" in alto che punta alla foto */
.team-member figcaption::before {
  content: '';
  position: absolute; left: 50%; top: -46px;
  transform: translateX(-50%);
  border-left: 46px solid transparent;
  border-right: 46px solid transparent;
  border-bottom: 46px solid #14509a;
}
.team-member figcaption strong {
  font-size: clamp(0.95rem, 1.15vw, 1.2rem);
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.01em;
}
.team-member figcaption span {
  font-size: clamp(0.85rem, 1vw, 1.05rem);
  font-weight: 400; line-height: 1.3;
}

/* ── CIFRE — gradiente blu ── */
#cifre { background: var(--grad-brand); padding: 130px 0 150px; }
.cifre-title {
  font-family: var(--font-display);
  font-weight: 300; text-align: center; color: #ffffff;
  font-size: clamp(1.8rem, 3.6vw, 3.6rem);
  margin-bottom: 4rem;
}
.cifre-title strong { font-weight: 800; }
.cifre-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.cifra-card {
  background: #ffffff;
  border-radius: clamp(36px, 4vw, 70px);
  padding: 2.5rem 1.5rem 2.25rem;
  text-align: center;
}
.cifra-num {
  font-family: var(--font-display);
  font-weight: 800; line-height: 1;
  font-size: clamp(3.4rem, 6.4vw, 6.6rem);
  margin-bottom: 0.9rem;
  background: linear-gradient(90deg, #1c3f91, #006a9c);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.cifra-label {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.3vw, 1.3rem);
  color: #5f6368;
}

/* ── MISSIONE — sfondo chiaro ── */
#missione { background: #f4f6f9; padding: 80px 0 120px; }
.missione-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  align-items: center;
  margin-top: 4rem;
}
.missione-title {
  font-family: var(--font-display);
  font-weight: 300; line-height: 1.05;
  font-size: clamp(2.4rem, 5.2vw, 5.4rem);
  letter-spacing: -0.02em;
  color: #5f6368;
}
.missione-title strong { font-weight: 800; }
.missione-text {
  font-family: var(--font-display);
  font-weight: 300; text-align: justify;
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  line-height: 1.5; color: #5f6368;
}
.missione-text strong { font-weight: 800; color: #4a5058; }

/* ══ VALORI — sfondo bianco ══ */
.azienda-valori-section {
  background: #ffffff;
  padding: 100px 0;
}

.azienda-valori-section .section-badge { border-color: rgba(30,80,180,0.3); color: var(--clr-blue); }
.azienda-valori-section .section-header h2 { color: #0d1628; }
.azienda-valori-section .section-header p   { color: #4a5568; }
.azienda-valori-section .divider { background: var(--clr-blue); }

.valori-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.valore-card {
  background: #ffffff;
  border: 1px solid #d0d7e3;
  border-left: 4px solid var(--clr-blue);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 2rem;
}

.valore-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; color: #0d1628; }
.valore-card p  { font-size: 0.875rem; color: #4a5568; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 0 0; }
  .team-member { margin-bottom: 2.5rem; }
  .cifre-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
}
@media (max-width: 768px) {
  #azienda-hero { padding: 120px 0 3rem; }
  .azienda-hero-lead { text-align: left; }
  .storia-grid, .missione-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .storia-text p, .missione-text { text-align: left; }
  #storia, #missione { padding: 70px 0; }
  #cifre { padding: 80px 0; }
  .team-grid { grid-template-columns: 1fr; }
  .team-member figcaption { margin: 0 1.5rem; }
  .valori-grid { grid-template-columns: 1fr; }
}
