@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300..700;1,9..40,300..700&display=swap');

:root {
  --bg: #0A0A0F;
  --bg-card: #12141C;
  --bg-card-hover: #181B26;
  --primary: #0066FF;
  --primary-glow: rgba(0, 102, 255, 0.15);
  --secondary: #00D4FF;
  --cta: #FF6B00;
  --cta-hover: #FF8533;
  --text: #F0F0F5;
  --text-secondary: #8A8A9A;
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Sora', system-ui, sans-serif;
  line-height: 1.2;
  font-weight: 700;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container {
  width: min(1200px, 90%);
  margin: 0 auto;
}

/* ─── NAVBAR ────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  background: rgba(10, 10, 15, 0.75);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.nav.scrolled {
  background: rgba(10, 10, 15, 0.92);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.nav-brand {
  font-family: 'Sora', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.nav-brand span {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav-links a {
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
}

.nav-cta {
  background: var(--cta) !important;
  color: #fff !important;
  padding: 10px 20px !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  transition: all var(--transition) !important;
  border: none;
}

.nav-cta:hover {
  background: var(--cta-hover) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(255, 107, 0, 0.3);
}

.nav-cta::after { display: none !important; }

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  line-height: 1;
}

/* ─── HERO ──────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
  filter: brightness(0.6);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,15,0.3) 0%, rgba(10,10,15,0.6) 50%, var(--bg) 100%),
    radial-gradient(ellipse at 20% 50%, rgba(0,102,255,0.15), transparent 60%),
    radial-gradient(ellipse at 80% 30%, rgba(0,212,255,0.08), transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--primary-glow);
  border: 1px solid rgba(0, 102, 255, 0.25);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--secondary);
  margin-bottom: 24px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--secondary);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  line-height: 1.05;
}

.hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 560px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ─── SCROLL INDICATOR ──────────────────────────── */
.scroll-indicator {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 1;
  transition: opacity 0.4s ease;
  cursor: pointer;
  z-index: 2;
}
.scroll-indicator.hidden {
  opacity: 0;
  pointer-events: none;
}
.mouse {
  width: 26px;
  height: 42px;
  border: 2px solid rgba(148, 163, 184, 0.5);
  border-radius: 14px;
  position: relative;
  transition: border-color 0.3s;
}
.scroll-indicator:hover .mouse {
  border-color: var(--cta);
}
.mouse-wheel {
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--cta);
  border-radius: 3px;
  animation: scrollWheel 1.8s ease-in-out infinite;
}
@keyframes scrollWheel {
  0%   { opacity: 1; transform: translateX(-50%) translateY(0); }
  50%  { opacity: 0.4; transform: translateX(-50%) translateY(12px); }
  100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}
.scroll-arrows {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.scroll-arrows span {
  display: block;
  width: 12px;
  height: 12px;
  border-right: 2px solid rgba(148, 163, 184, 0.4);
  border-bottom: 2px solid rgba(148, 163, 184, 0.4);
  transform: rotate(45deg);
  animation: chevronBounce 1.8s ease-in-out infinite;
}
.scroll-arrows span:nth-child(2) {
  animation-delay: 0.15s;
}
@keyframes chevronBounce {
  0%, 100% { opacity: 0.3; transform: rotate(45deg) translateY(0); }
  50%       { opacity: 1;   transform: rotate(45deg) translateY(4px); }
}
.scroll-label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.5);
  font-weight: 600;
  animation: labelPulse 2.5s ease-in-out infinite;
}
@keyframes labelPulse {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 0.8; }
}

/* ─── BUTTONS ───────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  font-family: 'Sora', sans-serif;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--cta);
  color: #fff;
}

.btn-primary:hover {
  background: var(--cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 107, 0, 0.25);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-hover);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-glow);
}

/* ─── SECTIONS ──────────────────────────────────── */
.section {
  padding: 100px 0;
  position: relative;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 48px;
}

.section-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
  margin-bottom: 48px;
}

/* ─── CARDS ─────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
  background: var(--primary-glow);
  border: 1px solid rgba(0, 102, 255, 0.15);
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.card-glow::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.card-glow:hover::before { opacity: 1; }

/* ─── GRID LAYOUTS ──────────────────────────────── */
.grid {
  display: grid;
  gap: 20px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ─── KPI / STATS ───────────────────────────────── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 48px 0;
}

.stat {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.stat:hover {
  border-color: rgba(0, 102, 255, 0.3);
  background: linear-gradient(180deg, rgba(0, 102, 255, 0.05), transparent);
}

.stat-number {
  font-family: 'Sora', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
}

/* ─── GALLERY ───────────────────────────────────── */
.gallery {
  display: grid;
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/10;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 10, 15, 0.7) 100%);
  pointer-events: none;
}

.gallery-caption {
  position: absolute;
  bottom: 14px;
  left: 16px;
  z-index: 1;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
}

/* ─── ACCORDION / TALKS ─────────────────────────── */
.talk-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}

.talk-card:hover {
  border-color: var(--border-hover);
}

.talk-card summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 28px;
  cursor: pointer;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  list-style: none;
  transition: all var(--transition);
}

.talk-card summary::-webkit-details-marker { display: none; }

.talk-card summary::before {
  content: '';
  width: 4px;
  height: 24px;
  background: var(--primary);
  border-radius: 2px;
  flex-shrink: 0;
}

.talk-card summary::after {
  content: '+';
  margin-left: auto;
  font-size: 1.4rem;
  color: var(--text-secondary);
  transition: transform var(--transition);
  font-weight: 300;
}

.talk-card[open] summary::after {
  content: '−';
  color: var(--primary);
}

.talk-card summary:hover {
  background: rgba(255, 255, 255, 0.02);
}

.talk-body {
  padding: 0 28px 24px 48px;
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 0.95rem;
}

.talk-body .talk-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.talk-tag {
  padding: 4px 12px;
  background: var(--primary-glow);
  border: 1px solid rgba(0, 102, 255, 0.15);
  border-radius: 100px;
  font-size: 0.75rem;
  color: var(--secondary);
  font-weight: 500;
}

/* ─── TIMELINE ──────────────────────────────────── */
.timeline {
  position: relative;
  padding-left: 32px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), var(--secondary), transparent);
}

.timeline-item {
  position: relative;
  padding-bottom: 40px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -37px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid var(--bg);
  box-shadow: 0 0 0 4px var(--primary-glow);
}

.timeline-year {
  font-family: 'Sora', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.timeline-title {
  font-family: 'Sora', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.timeline-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ─── CONTACT FORM ──────────────────────────────── */
.form-grid {
  display: grid;
  gap: 16px;
}

.form-grid-2 {
  grid-template-columns: 1fr 1fr;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  transition: all var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(138, 138, 154, 0.5);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238A8A9A' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group select option {
  background: var(--bg-card);
  color: var(--text);
}

.form-submit {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: var(--radius-sm);
  background: var(--cta);
  color: #fff;
  font-family: 'Sora', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.form-submit:hover {
  background: var(--cta-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(255, 107, 0, 0.25);
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ─── SOCIAL LINKS ──────────────────────────────── */
.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition);
  position: relative;
}

.social-label {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.social-link::before {
  content: '';
  width: 20px;
  height: 20px;
  background: currentColor;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
}

.social-linkedin::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M19 3A2 2 0 0 1 21 5V19A2 2 0 0 1 19 21H5A2 2 0 0 1 3 19V5A2 2 0 0 1 5 3H19M8.34 17V10.93H6.32V17H8.34M7.33 10.1A1.17 1.17 0 1 0 7.33 7.76A1.17 1.17 0 0 0 7.33 10.1M17 17V13.48C17 11.59 15.92 10.73 14.56 10.73C13.45 10.73 12.96 11.35 12.71 11.79V10.93H10.77V17H12.79V13.61C12.79 12.72 13.36 12.42 13.87 12.42C14.37 12.42 14.98 12.71 14.98 13.61V17H17Z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M19 3A2 2 0 0 1 21 5V19A2 2 0 0 1 19 21H5A2 2 0 0 1 3 19V5A2 2 0 0 1 5 3H19M8.34 17V10.93H6.32V17H8.34M7.33 10.1A1.17 1.17 0 1 0 7.33 7.76A1.17 1.17 0 0 0 7.33 10.1M17 17V13.48C17 11.59 15.92 10.73 14.56 10.73C13.45 10.73 12.96 11.35 12.71 11.79V10.93H10.77V17H12.79V13.61C12.79 12.72 13.36 12.42 13.87 12.42C14.37 12.42 14.98 12.71 14.98 13.61V17H17Z'/%3E%3C/svg%3E");
}

.social-link-instagram::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7.8 2H16.2C19.42 2 22 4.58 22 7.8V16.2C22 19.42 19.42 22 16.2 22H7.8C4.58 22 2 19.42 2 16.2V7.8C2 4.58 4.58 2 7.8 2M7.6 4A3.6 3.6 0 0 0 4 7.6V16.4A3.6 3.6 0 0 0 7.6 20H16.4A3.6 3.6 0 0 0 20 16.4V7.6A3.6 3.6 0 0 0 16.4 4H7.6M17.25 5.5A1.25 1.25 0 0 1 18.5 6.75A1.25 1.25 0 0 1 17.25 8A1.25 1.25 0 0 1 16 6.75A1.25 1.25 0 0 1 17.25 5.5M12 7A5 5 0 0 1 17 12A5 5 0 0 1 12 17A5 5 0 0 1 7 12A5 5 0 0 1 12 7M12 9A3 3 0 0 0 9 12A3 3 0 0 0 12 15A3 3 0 0 0 15 12A3 3 0 0 0 12 9Z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7.8 2H16.2C19.42 2 22 4.58 22 7.8V16.2C22 19.42 19.42 22 16.2 22H7.8C4.58 22 2 19.42 2 16.2V7.8C2 4.58 4.58 2 7.8 2M7.6 4A3.6 3.6 0 0 0 4 7.6V16.4A3.6 3.6 0 0 0 7.6 20H16.4A3.6 3.6 0 0 0 20 16.4V7.6A3.6 3.6 0 0 0 16.4 4H7.6M17.25 5.5A1.25 1.25 0 0 1 18.5 6.75A1.25 1.25 0 0 1 17.25 8A1.25 1.25 0 0 1 16 6.75A1.25 1.25 0 0 1 17.25 5.5M12 7A5 5 0 0 1 17 12A5 5 0 0 1 12 17A5 5 0 0 1 7 12A5 5 0 0 1 12 7M12 9A3 3 0 0 0 9 12A3 3 0 0 0 12 15A3 3 0 0 0 15 12A3 3 0 0 0 12 9Z'/%3E%3C/svg%3E");
}

.social-link:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-glow);
  transform: translateY(-2px);
}

/* ─── FORMATION CARDS (Sobre) ───────────────────── */
.formation-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}

.formation-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.formation-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.formation-card-body {
  padding: 24px;
}

.formation-card-body h3 {
  margin-bottom: 8px;
}

.formation-card-body p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ─── EVENT CARDS ───────────────────────────────── */
.event-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}

.event-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.event-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.event-card-body {
  padding: 20px;
}

.event-card-body h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.event-card-body p {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

/* ─── FOOTER ────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  font-family: 'Sora', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.footer-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  max-width: 360px;
  line-height: 1.7;
}

.footer-heading {
  font-family: 'Sora', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--text);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

/* ─── CTA BAND ──────────────────────────────────── */
.cta-band {
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(0, 102, 255, 0.12), transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(255, 107, 0, 0.08), transparent 50%);
}

.cta-band .container {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: 12px;
}

.cta-band p {
  color: var(--text-secondary);
  margin-bottom: 28px;
  font-size: 1.05rem;
}

/* ─── PROFILE SECTION ───────────────────────────── */
.profile-row {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: start;
}

.profile-photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.profile-info h1 {
  font-size: 2.4rem;
  margin-bottom: 8px;
}

.profile-role {
  color: var(--primary);
  font-weight: 500;
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.profile-bio {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
  font-size: 1rem;
}

/* ─── TOAST / FEEDBACK ──────────────────────────── */
.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.9rem;
  z-index: 1000;
  transform: translateY(120%);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  max-width: 400px;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-success {
  background: #0d2e1a;
  border: 1px solid #1a5c34;
  color: #4ade80;
}

.toast-error {
  background: #2e0d0d;
  border: 1px solid #5c1a1a;
  color: #f87171;
}

/* ─── ANIMATIONS ────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ─── PAGE HEADER ───────────────────────────────── */
.page-header {
  padding: 140px 0 60px;
  position: relative;
}

.page-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 80%, rgba(0, 102, 255, 0.08), transparent 50%);
  pointer-events: none;
}

.page-header .container {
  position: relative;
  z-index: 1;
}

/* ─── ADMIN STYLES ──────────────────────────────── */
.admin-grid { display: grid; gap: 16px; }
.response { margin-top: 8px; padding: 10px 14px; border-left: 3px solid var(--secondary); color: #cbefff; background: rgba(0,212,255,0.04); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 0.9rem; }

/* ─── CONTACT INFO SIDEBAR ──────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
}

.contact-sidebar .info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 16px;
}

.contact-sidebar .info-card h3 {
  font-size: 1rem;
  margin-bottom: 12px;
}

.contact-sidebar .info-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ─── RESPONSIVE ────────────────────────────────── */
@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .profile-row { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 780px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 15, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    z-index: 200;
  }

  .nav-links.show { display: flex; }

  .nav-links a {
    font-size: 1.2rem;
    padding: 12px 24px;
  }

  .menu-toggle { display: block; z-index: 300; }

  .section { padding: 60px 0; }
  .page-header { padding: 100px 0 40px; }

  .hero h1 { font-size: 2.2rem; }
  .hero-subtitle { font-size: 1rem; }

  .gallery { grid-template-columns: 1fr !important; }
}

@media (max-width: 480px) {
  .stats-row { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
