/* ============================================
   SEGA INGENIERIE - Site Web V2
   Inspire Senova, palette SEGA
   Navy #2D3748, Grey-Blue #8B9DAF, Accent #4A90A4
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --navy: #2D3748;
  --navy-light: #3D4F65;
  --navy-dark: #1A202C;
  --grey-blue: #8B9DAF;
  --grey-blue-light: #B0BEC9;
  --light-bg: #F8F8F8;
  --white: #FFFFFF;
  --accent: #4A90A4;
  --accent-dark: #3A7A8E;
  --accent-light: #5BA8BE;
  --text: #333333;
  --text-light: #666666;
  --text-lighter: #999999;
  --border: #E2E8F0;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 15px 50px rgba(0,0,0,0.12);
  --shadow-hover: 0 20px 60px rgba(0,0,0,0.15);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-dark); }

img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  color: var(--navy);
  font-weight: 700;
  line-height: 1.25;
}

h1 { font-size: 3.2rem; letter-spacing: -0.02em; }
h2 { font-size: 2.4rem; margin-bottom: 1rem; letter-spacing: -0.01em; }
h3 { font-size: 1.4rem; margin-bottom: 0.75rem; }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; }

.section-subtitle {
  color: var(--text-light);
  font-size: 1.15rem;
  max-width: 650px;
  margin-bottom: 3rem;
  line-height: 1.8;
}

.text-center { text-align: center; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 16px 36px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-align: center;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--accent-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(74,144,164,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover {
  background: var(--navy-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(45,55,72,0.35);
}

.btn-white {
  background: var(--white);
  color: var(--navy);
}
.btn-white:hover {
  background: var(--light-bg);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-sm { padding: 10px 24px; font-size: 0.9rem; }

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.header.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.header.scrolled .nav-links a { color: var(--navy); }
.header.scrolled .nav-links a:hover,
.header.scrolled .nav-links a.active { color: var(--accent); }
.header.scrolled .nav-logo-light { display: none; }
.header.scrolled .nav-logo-dark { display: block; }
.header:not(.scrolled) .nav-logo-light { display: block; }
.header:not(.scrolled) .nav-logo-dark { display: none; }
.header.scrolled .nav-toggle span { background: var(--navy); }

/* For inner pages - always dark header */
.header-dark { background: var(--white); box-shadow: 0 2px 20px rgba(0,0,0,0.06); }
.header-dark .nav-links a { color: var(--navy); }
.header-dark .nav-links a:hover,
.header-dark .nav-links a.active { color: var(--accent); }
.header-dark .nav-logo-light { display: none !important; }
.header-dark .nav-logo-dark { display: block !important; }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 110px;
}

.nav-logo img {
  height: 90px;
  width: auto;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 6px;
  align-items: center;
}

.nav-links a {
  color: var(--white);
  font-weight: 500;
  padding: 10px 18px;
  border-radius: var(--radius);
  transition: var(--transition);
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(255,255,255,0.15);
}

.nav-links .btn-primary {
  background: var(--accent);
  color: var(--white) !important;
}
.nav-links .btn-primary:hover {
  background: var(--accent-dark);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
  border-radius: 2px;
}

/* ============================================
   HERO - FULLSCREEN
   ============================================ */
.hero-fullscreen {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--navy-dark);
}

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

.hero-bg img,
.hero-bg svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(6px);
  transform: scale(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(26,32,44,0.7) 0%, rgba(45,55,72,0.85) 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 850px;
  padding: 0 30px;
}

.hero-fullscreen h1 {
  color: var(--white);
  font-size: 3.6rem;
  margin-bottom: 24px;
  font-weight: 800;
}

.hero-fullscreen h1 span {
  color: var(--accent-light);
}

.hero-fullscreen p {
  color: rgba(255,255,255,0.85);
  font-size: 1.25rem;
  margin-bottom: 40px;
  line-height: 1.8;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: rgba(255,255,255,0.5);
  animation: bounce 2s infinite;
  cursor: pointer;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-8px); }
  60% { transform: translateX(-50%) translateY(-4px); }
}

/* ============================================
   ACCENT BAR (Senova style colored dividers)
   ============================================ */
.accent-bar {
  padding: 16px 0;
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.accent-bar-accent {
  background: var(--accent);
  color: var(--white);
}

.accent-bar-navy {
  background: var(--navy);
  color: var(--white);
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: 100px 0;
}

.section-lg {
  padding: 120px 0;
}

.section-alt {
  background: var(--light-bg);
}

/* ============================================
   PROFILE CARDS (Senova flip-card style)
   ============================================ */
.profile-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.profile-card {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  cursor: pointer;
}

.profile-card-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.profile-card-bg img,
.profile-card-bg svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(3px);
  transform: scale(1.08);
  transition: transform 0.6s ease;
}

.profile-card:hover .profile-card-bg img,
.profile-card:hover .profile-card-bg svg {
  transform: scale(1.13);
}

.profile-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(45,55,72,0.3) 0%, rgba(26,32,44,0.85) 100%);
  transition: var(--transition);
}

.profile-card:hover .profile-card-overlay {
  background: linear-gradient(180deg, rgba(74,144,164,0.4) 0%, rgba(26,32,44,0.9) 100%);
}

.profile-card-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px 35px;
  color: var(--white);
}

.profile-card-tag {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  padding: 5px 14px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  width: fit-content;
}

.profile-card h3 {
  color: var(--white);
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.profile-card p {
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

.profile-card .btn {
  width: fit-content;
  padding: 10px 24px;
  font-size: 0.85rem;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
}

.profile-card:hover .btn {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
  background: var(--navy);
  padding: 50px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-item h3 {
  color: var(--white);
  font-size: 2.8rem;
  margin-bottom: 6px;
}

.stat-item p {
  color: var(--grey-blue-light);
  font-size: 0.85rem;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* ============================================
   CARDS GRID
   ============================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 45px 35px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid transparent;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(74,144,164,0.2);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--white);
  font-size: 1.5rem;
}

.card h3 { color: var(--navy); }
.card p { color: var(--text-light); font-size: 0.95rem; margin-bottom: 0; line-height: 1.7; }

/* ============================================
   ENGAGEMENT SECTION (Senova mission style)
   ============================================ */
.engagement-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.engagement-text h2 {
  margin-bottom: 20px;
}

.engagement-text p {
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.8;
}

.engagement-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.engagement-value {
  padding: 28px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}

.engagement-value:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.engagement-value-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 16px;
  background: rgba(74,144,164,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.engagement-value h4 { font-size: 1rem; margin-bottom: 6px; }
.engagement-value p { font-size: 0.85rem; color: var(--text-light); margin: 0; }

/* ============================================
   SERVICE DETAIL
   ============================================ */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  margin-bottom: 100px;
}

.service-detail:last-child { margin-bottom: 0; }

.service-detail.reverse { direction: rtl; }
.service-detail.reverse > * { direction: ltr; }

.service-detail-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.service-detail-img img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.service-phases {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.phase-tag {
  background: rgba(74,144,164,0.08);
  color: var(--accent-dark);
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* ============================================
   PROJECT GALLERY
   ============================================ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: pointer;
  background: var(--white);
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.project-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover img {
  transform: scale(1.03);
}

.project-info {
  padding: 24px;
}

.project-info h3 { font-size: 1.1rem; margin-bottom: 6px; }
.project-info p { color: var(--text-light); font-size: 0.9rem; margin: 0; }

.project-type {
  display: inline-block;
  background: rgba(74,144,164,0.1);
  color: var(--accent);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ============================================
   TRUST LOGOS (Ils nous font confiance)
   ============================================ */
.trust-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

.trust-logo {
  padding: 20px 32px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  font-weight: 700;
  color: var(--navy);
  font-size: 0.95rem;
  transition: var(--transition);
  letter-spacing: 0.02em;
}

.trust-logo:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  border-color: var(--accent);
  color: var(--accent);
}

/* ============================================
   TEAM
   ============================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.team-card {
  text-align: center;
  padding: 45px 30px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.team-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--grey-blue));
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 2.2rem;
  font-weight: 700;
}

.team-card h3 { margin-bottom: 4px; }
.team-card .role {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 16px;
}
.team-card p { color: var(--text-light); font-size: 0.9rem; margin: 0; line-height: 1.7; }

/* ============================================
   CONTACT
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-form .form-group { margin-bottom: 22px; }

.contact-form label {
  display: block;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
  background: var(--white);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(74,144,164,0.12);
}

.contact-form textarea { resize: vertical; min-height: 150px; }

.contact-info-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 45px;
  color: var(--white);
}

.contact-info-card h3 {
  color: var(--white);
  margin-bottom: 30px;
  font-size: 1.6rem;
}

.contact-info-item {
  display: flex;
  gap: 18px;
  margin-bottom: 28px;
  align-items: flex-start;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: rgba(255,255,255,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.contact-info-item h4 {
  color: var(--grey-blue-light);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.contact-info-item p {
  color: var(--white);
  margin: 0;
  font-size: 1rem;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 100px 0;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(74,144,164,0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 2.4rem;
}

.cta-section p {
  color: var(--grey-blue-light);
  font-size: 1.2rem;
  max-width: 550px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

/* ============================================
   PAGE HEADER (inner pages)
   ============================================ */
.page-header {
  padding: 150px 0 70px;
  background: linear-gradient(135deg, var(--light-bg) 0%, #EDF2F7 100%);
  text-align: center;
}

.page-header h1 { margin-bottom: 16px; }
.page-header p {
  color: var(--text-light);
  font-size: 1.15rem;
  max-width: 550px;
  margin: 0 auto;
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--grey-blue); }
.breadcrumb a:hover { color: var(--accent); }

/* ============================================
   VALUES / PROCESS
   ============================================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.value-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 28px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.value-card:hover {
  box-shadow: var(--shadow);
  border-color: transparent;
}

.value-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: rgba(74,144,164,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--accent);
}

/* ============================================
   TIMELINE (Process)
   ============================================ */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  margin-bottom: 30px;
  padding-left: 30px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -30px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--accent);
}

.timeline-item h4 { color: var(--navy); margin-bottom: 4px; }
.timeline-item p { color: var(--text-light); font-size: 0.9rem; margin: 0; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--navy-dark);
  color: var(--grey-blue-light);
  padding: 70px 0 30px;
}

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

.footer-brand img {
  height: 40px;
  margin-bottom: 20px;
  filter: brightness(0) invert(1) opacity(0.8);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 350px;
}

.footer h4 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }

.footer-links a {
  color: var(--grey-blue-light);
  font-size: 0.9rem;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--white); padding-left: 4px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
  text-align: center;
  font-size: 0.85rem;
}

/* ============================================
   ANIMATIONS (reveal on scroll)
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
  h1 { font-size: 2.4rem; }
  h2 { font-size: 1.8rem; }
  .hero-fullscreen h1 { font-size: 2.6rem; }

  .profile-cards { grid-template-columns: 1fr; }
  .profile-card { min-height: 320px; }

  .service-detail,
  .contact-grid,
  .engagement-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .service-detail.reverse { direction: ltr; }

  .cards-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  .hero-fullscreen h1 { font-size: 2rem; }
  .hero-fullscreen p { font-size: 1.05rem; }

  .section { padding: 70px 0; }
  .section-lg { padding: 80px 0; }

  .nav-links {
    display: none;
    position: absolute;
    top: 90px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open { display: flex; }
  .nav-links a { color: var(--navy) !important; }
  .nav-toggle { display: flex; }

  .cards-grid, .team-grid, .projects-grid { grid-template-columns: 1fr; }
  .values-grid, .engagement-values { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .page-header { padding: 130px 0 50px; }

  .hero-fullscreen { min-height: 90vh; }
}

/* ============================================
   FILTER BUTTONS
   ============================================ */
.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 10px 22px;
  font-size: 0.85rem;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid var(--border);
  background: var(--white);
  color: var(--text);
}

.filter-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.filter-btn.active-filter {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

/* ============================================
   HERO TAG
   ============================================ */
.hero-tag {
  display: inline-block;
  background: rgba(74,144,164,0.1);
  color: var(--accent);
  padding: 6px 18px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
