/* Studya Design System — premium agency UI */
:root {
  --sty-navy: #0b1437;
  --sty-navy-2: #1e2a6b;
  --sty-navy-3: #333279;
  --sty-blue: #2563eb;
  --sty-blue-2: #1d4ed8;
  --sty-accent: #3b82f6;
  --sty-cyan: #22d3ee;
  --sty-gold: #fbbf24;
  --sty-text: #1f2937;
  --sty-muted: #6b7280;
  --sty-bg: #f5f7fb;
  --sty-border: #e5e9f2;
  --sty-white: #ffffff;
  --sty-radius: 14px;
  --sty-radius-sm: 8px;
  --sty-shadow: 0 18px 40px -20px rgba(11, 20, 55, 0.35);
  --sty-shadow-sm: 0 8px 24px rgba(11, 20, 55, 0.08);
  --sty-wrap: min(1440px, calc(100% - 48px));
  --sty-font: 'Poppins', system-ui, sans-serif;
  --sty-display: 'Playfair Display', Georgia, serif;
}

.sty-root, .sty-home, .sty-staff, .sty-partner, .sty-espace, .sty-catalog, .sty-lead, .sty-exam {
  font-family: var(--sty-font);
  color: var(--sty-text);
  line-height: 1.6;
  box-sizing: border-box;
}
.sty-root *, .sty-home *, .sty-staff *, .sty-partner *, .sty-espace *, .sty-catalog *, .sty-lead *, .sty-exam *,
.sty-root *::before, .sty-home *::before, .sty-staff *::before {
  box-sizing: border-box;
}
.sty-root a, .sty-home a, .sty-staff a, .sty-partner a, .sty-catalog a, .sty-lead a, .sty-exam a {
  text-decoration: none;
  color: inherit;
  transition: .25s;
}
.sty-root img, .sty-home img, .sty-catalog img, .sty-exam img { max-width: 100%; height: auto; display: block; }
.sty-root h1, .sty-root h2, .sty-root h3,
.sty-home h1, .sty-home h2, .sty-home h3,
.sty-catalog h1, .sty-catalog h2, .sty-catalog h3,
.sty-exam h1, .sty-exam h2, .sty-exam h3,
.sty-lead h1, .sty-lead h2,
.sty-espace h1, .sty-espace h2 {
  font-family: var(--sty-display);
  line-height: 1.2;
  color: var(--sty-navy);
  font-weight: 700;
  margin: 0 0 .5em;
}
.sty-wrap { width: var(--sty-wrap); margin: 0 auto; }

.sty-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sty-blue);
  margin-bottom: 12px;
}
.sty-eyebrow--light { color: #93c5fd; }

.sty-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
  background: var(--sty-blue);
  color: #fff !important;
}
.sty-btn:hover { background: var(--sty-blue-2); }
.sty-btn--white { background: #fff; color: var(--sty-blue) !important; }
.sty-btn--white:hover { background: var(--sty-navy); color: #fff !important; }
.sty-btn--outline {
  background: transparent;
  border-color: var(--sty-blue);
  color: var(--sty-blue) !important;
}
.sty-btn--outline:hover { background: var(--sty-blue); color: #fff !important; }
.sty-btn--ghost {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.3);
  color: #fff !important;
}
.sty-btn--sm { padding: 8px 16px; font-size: 12px; }
.sty-btn--danger { background: #dc2626; }
.sty-btn:disabled { opacity: .55; cursor: not-allowed; }

.sty-card {
  background: #fff;
  border: 1px solid var(--sty-border);
  border-radius: var(--sty-radius);
  box-shadow: var(--sty-shadow-sm);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.sty-card:hover { transform: translateY(-4px); box-shadow: var(--sty-shadow); }

.sty-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(37,99,235,.1);
  color: var(--sty-blue);
}
.sty-pill--ok { background: rgba(16,185,129,.12); color: #059669; }
.sty-pill--warn { background: rgba(245,158,11,.15); color: #d97706; }
.sty-pill--danger { background: rgba(220,38,38,.12); color: #dc2626; }
.sty-pill--muted { background: #f3f4f6; color: #6b7280; }

.sty-hero-band {
  position: relative;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(51,50,121,.18) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(34,211,238,.12) 0%, transparent 55%),
    linear-gradient(135deg, #0b1437 0%, #1e2a6b 50%, #333279 100%);
  color: #fff;
  overflow: hidden;
  padding: 72px 0;
}
.sty-hero-band::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, #000 35%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 35%, transparent 80%);
}
.sty-hero-band .sty-wrap { position: relative; z-index: 1; }
.sty-hero-band h1, .sty-hero-band h2 { color: #fff; }

/* Page header — style À propos UNIVGA */
.sty-page-header {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 72px 24px 80px;
  text-align: center;
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(51,50,121,.22) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(34,211,238,.10) 0%, transparent 55%),
    linear-gradient(135deg, #0b1437 0%, #1e2a6b 48%, #333279 100%);
}
.sty-page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, #000 40%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 40%, transparent 78%);
}
.sty-page-header::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 15% 50%, rgba(251,191,36,.08) 0%, transparent 22%),
    radial-gradient(circle at 85% 45%, rgba(34,211,238,.10) 0%, transparent 22%);
}
.sty-page-header__inner {
  position: relative;
  z-index: 1;
  width: min(900px, calc(100% - 24px));
  margin: 0 auto;
}
.sty-page-header__eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #fbbf24;
  margin-bottom: 16px;
}
.sty-page-header__title {
  font-family: 'Poppins', system-ui, sans-serif !important;
  font-size: clamp(28px, 4.2vw, 46px) !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  color: #fff !important;
  margin: 0 0 18px !important;
  letter-spacing: -0.01em;
}
.sty-page-header__accent {
  display: block;
  color: #ff6a00;
  margin-top: 4px;
}
.sty-page-header__sub {
  margin: 0 auto;
  max-width: 62ch;
  font-size: clamp(14px, 1.5vw, 17px);
  line-height: 1.7;
  color: rgba(255,255,255,.92);
  font-weight: 400;
}

@media (max-width: 720px) {
  .sty-page-header { padding: 48px 16px 56px; }
}

.sty-section { padding: 80px 0; }
.sty-section__head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.sty-section__head h2 { font-size: clamp(28px, 3.4vw, 42px); }
.sty-section__head p { color: var(--sty-muted); margin: 0; }

.sty-grid { display: grid; gap: 22px; }
.sty-grid--2 { grid-template-columns: repeat(2, 1fr); }
.sty-grid--3 { grid-template-columns: repeat(3, 1fr); }
.sty-grid--4 { grid-template-columns: repeat(4, 1fr); }

.sty-stat {
  background: #fff;
  border-radius: var(--sty-radius);
  padding: 24px;
  border: 1px solid var(--sty-border);
}
.sty-stat strong {
  display: block;
  font-family: var(--sty-display);
  font-size: 36px;
  color: var(--sty-blue);
  line-height: 1;
}
.sty-stat span { font-size: 13px; color: var(--sty-muted); font-weight: 600; }

.sty-field { margin-bottom: 16px; }
.sty-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--sty-navy);
}
.sty-field input,
.sty-field select,
.sty-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--sty-border);
  border-radius: var(--sty-radius-sm);
  font-family: inherit;
  font-size: 14px;
  background: #fff;
  color: var(--sty-text);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.sty-field input:focus,
.sty-field select:focus,
.sty-field textarea:focus {
  border-color: var(--sty-blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,.15);
}
.sty-field textarea { min-height: 110px; resize: vertical; }

.sty-alert {
  padding: 14px 16px;
  border-radius: var(--sty-radius-sm);
  font-size: 14px;
  margin-bottom: 16px;
}
.sty-alert--error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.sty-alert--ok { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.sty-alert--info { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }

.sty-table-wrap { overflow-x: auto; border-radius: var(--sty-radius); border: 1px solid var(--sty-border); background: #fff; }
.sty-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.sty-table th, .sty-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--sty-border); }
.sty-table th { background: var(--sty-bg); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--sty-muted); }
.sty-table tr:last-child td { border-bottom: 0; }
.sty-table tr:hover td { background: #f8fafc; }

@keyframes styFade {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
.sty-fade { animation: styFade .45s ease; }

@media (max-width: 1100px) {
  .sty-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .sty-grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .sty-grid--2, .sty-grid--3, .sty-grid--4 { grid-template-columns: 1fr; }
  .sty-section { padding: 56px 0; }
  .sty-hero-band { padding: 52px 0; }
}
