/* ===================================================
   GROUPE PYGASY — Global Stylesheet
   Design: Professional Navy + Teal, Responsive
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Lato:wght@300;400;700&display=swap');

/* ─── CSS Variables ─── */
:root {
  --primary:       #0D1B36;
  --primary-mid:   #162847;
  --accent:        #2c80e0;
  --accent-dark:   #009e91;
  --accent-warm:   #FF6B35;
  --white:         #ffffff;
  --light:         #F4F7FC;
  --light2:        #EBF0F8;
  --text:          #1E293B;
  --text-muted:    #64748B;
  --border:        #E2E8F0;
  --shadow-sm:     0 2px 8px rgba(13,27,54,0.08);
  --shadow:        0 6px 24px rgba(13,27,54,0.12);
  --shadow-lg:     0 16px 48px rgba(13,27,54,0.18);
  --radius:        12px;
  --radius-lg:     20px;
  --transition:    all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Lato', sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.7;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary);
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; transition: var(--transition); }
ul { list-style: none; }

/* ─── Utilities ─── */
.text-accent { color: var(--accent); }
.text-muted  { color: var(--text-muted); }
.section-label {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  color: var(--primary);
  margin-bottom: 1rem;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 620px;
}

/* ─── Buttons ─── */
.btn-pygasy {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.8rem;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}
.btn-pygasy-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-pygasy-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(17, 83, 170, 0.35);
}
.btn-pygasy-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-pygasy-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  color: var(--white);
}
.btn-pygasy-dark {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-pygasy-dark:hover {
  background: var(--primary-mid);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* ─── NAVBAR ─── */
.pgsy-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease;
  padding: 0;
}
.pgsy-nav.scrolled {
  background: var(--primary);
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
}
.pgsy-nav .nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.pgsy-nav .nav-logo img {
  height: 48px;
  width: auto;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: nowrap;
}
.nav-item { position: relative; }
.nav-link {
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  padding: 0.6rem 0.75rem;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
  cursor: pointer;
  background: none;
  border: none;
}
.nav-link:hover, .nav-link.active {
  color: var(--accent);
  background: rgba(255,255,255,0.06);
}
.nav-link i { font-size: 0.65rem; transition: transform 0.25s; }
.nav-item:hover > .nav-link i { transform: rotate(180deg); }

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: all 0.25s ease;
  z-index: 100;
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 0.6rem 1rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  border-radius: 8px;
  transition: var(--transition);
}
.nav-dropdown a:hover {
  background: var(--light);
  color: var(--accent);
  padding-left: 1.3rem;
}

/* CTA button in nav */
.nav-cta {
  background: var(--accent);
  color: var(--white) !important;
  padding: 0.5rem 1.2rem !important;
  border-radius: 50px !important;
  font-weight: 600;
}
.nav-cta:hover {
  background: var(--accent-dark) !important;
  color: var(--white) !important;
  transform: translateY(-1px);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  z-index: 1100;
}
.nav-hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.nav-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--primary);
  z-index: 999;
  flex-direction: column;
  padding: 5rem 2rem 2rem;
  overflow-y: auto;
}
.nav-mobile-overlay.open { display: flex; }
.nav-mobile-item { border-bottom: 1px solid rgba(255,255,255,0.08); }
.nav-mobile-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
}
.nav-mobile-link:hover { color: var(--accent); }
.nav-mobile-dropdown {
  display: none;
  padding: 0.5rem 0 1rem 1rem;
  flex-direction: column;
  gap: 0.25rem;
}
.nav-mobile-dropdown.open { display: flex; }
.nav-mobile-dropdown a {
  font-family: 'Lato', sans-serif;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.65);
  padding: 0.4rem 0;
  transition: color 0.2s;
}
.nav-mobile-dropdown a:hover { color: var(--accent); }
.nav-mobile-cta {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* ─── HERO — Main Pages ─── */
.pgsy-hero {
  min-height: 100vh;
  background: var(--primary);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 100px 0 60px;
}
.pgsy-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(0,196,180,0.12) 0%, transparent 70%);
  border-radius: 50%;
}
.pgsy-hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0,196,180,0.06) 0%, transparent 70%);
  border-radius: 50%;
}
.pgsy-hero .hero-content { position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0,196,180,0.15);
  border: 1px solid rgba(0,196,180,0.3);
  color: var(--accent);
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.pgsy-hero h1 {
  font-size: clamp(2rem, 6vw, 3.5rem);
  color: var(--white);
  margin-bottom: 1.25rem;
  font-weight: 800;
}
.pgsy-hero h1 span { color: var(--accent); }
.pgsy-hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.72);
  margin-bottom: 2rem;
  max-width: 560px;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Hero for service pages (shorter) */
.pgsy-hero-sm {
  min-height: 55vh;
  background: linear-gradient(135deg, var(--primary) 0%, #1a3a6e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 100px 1.5rem 60px;
}
.pgsy-hero-sm::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2300C4B4' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.pgsy-hero-sm .hero-icon {
  width: 72px; height: 72px;
  background: rgba(0,196,180,0.15);
  border: 1px solid rgba(0,196,180,0.3);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--accent);
}
.pgsy-hero-sm h1 {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  color: var(--white);
  margin-bottom: 1rem;
  position: relative;
}
.pgsy-hero-sm p {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

/* ─── SECTIONS ─── */
.pgsy-section {
  padding: 80px 0;
}
.pgsy-section-alt {
  padding: 80px 0;
  background: var(--light);
}
.pgsy-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ─── CARDS ─── */
.pgsy-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  height: 100%;
}
.pgsy-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(0,196,180,0.3);
}
.card-icon-wrap {
  width: 56px; height: 56px;
  background: rgba(0,196,180,0.1);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 1.25rem;
  transition: var(--transition);
}
.pgsy-card:hover .card-icon-wrap {
  background: var(--accent);
  color: var(--white);
}
.pgsy-card h3 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
}
.pgsy-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Service page feature section */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.feature-split.reverse { direction: rtl; }
.feature-split.reverse > * { direction: ltr; }
.feature-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.feature-img img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}
.feature-img::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: rgba(0,196,180,0.15);
  border-radius: var(--radius);
  z-index: -1;
}
.feature-content { padding: 1rem 0; }
.feature-content h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 1rem; }
.feature-content p { color: var(--text-muted); margin-bottom: 1rem; }
.feature-list { display: flex; flex-direction: column; gap: 0.6rem; margin: 1.25rem 0; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--text);
  font-size: 0.95rem;
}
.feature-list li i { color: var(--accent); margin-top: 0.2rem; flex-shrink: 0; }

/* ─── STATS ─── */
.stats-bar {
  background: var(--primary);
  padding: 3rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-item {
  padding: 1.5rem;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stat-item:last-child { border-right: none; }
.stat-item .stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  display: block;
}
.stat-item .stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  margin-top: 0.25rem;
}

/* ─── CONTACT PAGE ─── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 3rem;
  align-items: start;
}
.contact-info-block {
  background: var(--primary);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  color: var(--white);
}
.contact-info-block h2 { color: var(--white); margin-bottom: 0.5rem; }
.contact-info-block > p { color: rgba(255,255,255,0.65); margin-bottom: 2rem; }
.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}
.contact-info-icon {
  width: 44px; height: 44px;
  background: rgba(0,196,180,0.15);
  border: 1px solid rgba(0,196,180,0.3);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.contact-info-text h4 { font-size: 0.85rem; color: rgba(255,255,255,0.5); font-weight: 400; margin-bottom: 0.2rem; }
.contact-info-text p { color: var(--white); font-size: 0.95rem; margin: 0; }
.contact-social { display: flex; gap: 0.75rem; margin-top: 2rem; }
.contact-social a {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  transition: var(--transition);
}
.contact-social a:hover { background: var(--accent); color: var(--white); transform: translateY(-2px); }

/* Contact Form */
.contact-form-block {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.contact-form-block h2 { margin-bottom: 0.5rem; }
.contact-form-block > p { color: var(--text-muted); margin-bottom: 2rem; }
.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.25s, box-shadow 0.25s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,196,180,0.12);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-submit {
  width: 100%;
  padding: 0.9rem;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.form-submit:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,196,180,0.3);
}
.form-submit:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

/* Alert messages */
.form-alert {
  display: none;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  font-size: 0.92rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  align-items: center;
  gap: 0.75rem;
}
.form-alert.success { background: rgba(0,196,180,0.1); border: 1px solid rgba(0,196,180,0.3); color: #007a70; }
.form-alert.error   { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3); color: #c41a1a; }
.form-alert.show    { display: flex; }

/* Map */
.contact-map { border-radius: var(--radius-lg); overflow: hidden; margin-top: 3rem; }
.contact-map iframe { display: block; width: 100%; height: 420px; border: none; }

/* ─── ABOUT PAGE ─── */
.about-hero {
  background: linear-gradient(135deg, var(--primary) 0%, #0d3160 100%);
  min-height: 60vh;
  display: flex; align-items: center;
  padding: 100px 0 60px;
  position: relative;
  overflow: hidden;
}
.about-hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 50%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Ccircle cx='40' cy='40' r='2' fill='%2300C4B4' fill-opacity='0.05'/%3E%3C/g%3E%3C/svg%3E") repeat;
}
.about-hero h1 { color: var(--white); font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 1rem; }
.about-hero h1 span { color: var(--accent); }
.about-hero p { color: rgba(255,255,255,0.72); font-size: 1.05rem; max-width: 560px; }
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: var(--transition);
}
.value-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.value-card i { font-size: 1.75rem; color: var(--accent); margin-bottom: 0.75rem; display: block; }
.value-card h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.value-card p { font-size: 0.88rem; color: var(--text-muted); }

/* ─── ACCUEIL (HOME) ─── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.5rem;
}
.cta-band {
  background: linear-gradient(135deg, var(--accent) 0%, #0096a0 100%);
  padding: 5rem 0;
  text-align: center;
}
.cta-band h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); color: var(--white); margin-bottom: 1rem; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 560px; margin: 0 auto 2rem; }

/* ─── FOOTER ─── */
.pgsy-footer {
  background: var(--primary);
  color: rgba(255,255,255,0.7);
  padding: 5rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand img { height: 50px; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; color: rgba(255,255,255,0.55); }
.footer-col h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.9);
  margin-bottom: 1.25rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s, padding-left 0.2s;
}
.footer-links a:hover { color: var(--accent); padding-left: 4px; }
.footer-contact-item { display: flex; gap: 0.75rem; align-items: flex-start; margin-bottom: 0.75rem; }
.footer-contact-item i { color: var(--accent); margin-top: 0.15rem; font-size: 0.85rem; flex-shrink: 0; }
.footer-contact-item span { font-size: 0.88rem; color: rgba(255,255,255,0.55); }
.footer-social { display: flex; gap: 0.6rem; margin-top: 1.5rem; }
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--accent); color: var(--white); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  font-size: 0.84rem;
  color: rgba(255,255,255,0.35);
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.fade-up  { animation: fadeUp 0.7s ease forwards; }
.fade-in  { animation: fadeIn 0.7s ease forwards; }
.delay-1  { animation-delay: 0.1s; opacity: 0; }
.delay-2  { animation-delay: 0.25s; opacity: 0; }
.delay-3  { animation-delay: 0.4s; opacity: 0; }
.delay-4  { animation-delay: 0.55s; opacity: 0; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .feature-split { grid-template-columns: 1fr; gap: 2.5rem; }
  .feature-split.reverse { direction: ltr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-menu { display: none; }
  .nav-hamburger { display: flex; }

  .pgsy-hero { padding: 90px 0 50px; }
  .pgsy-hero h1 { font-size: 2rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn-pygasy { width: 100%; justify-content: center; }

  .pgsy-section, .pgsy-section-alt { padding: 50px 0; }

  .services-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .stat-item:last-child { border-bottom: none; }

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

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }

  .feature-img img { height: 240px; }
}

@media (max-width: 480px) {
  .pgsy-container { padding: 0 1rem; }
  .pgsy-hero-sm { min-height: 45vh; }
  .contact-info-block, .contact-form-block { padding: 1.5rem; }
}


/* ─── ACTIVITIES SECTION (Accueil grid) ─── */
.activities-full-section {
  padding: 5rem 0;
  background: var(--light);
}
.activities-grid-full {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.activity-pill {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 0.65rem 1.1rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  transition: var(--transition);
  cursor: default;
  animation: fadeUp 0.5s ease forwards;
  opacity: 0;
}
.activity-pill i {
  color: var(--accent);
  font-size: 1rem;
  flex-shrink: 0;
}
.activity-pill:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.activity-pill:hover i { color: var(--accent); }

/* stagger delays for pills */
.activity-pill:nth-child(1)  { animation-delay: 0.05s; }
.activity-pill:nth-child(2)  { animation-delay: 0.10s; }
.activity-pill:nth-child(3)  { animation-delay: 0.15s; }
.activity-pill:nth-child(4)  { animation-delay: 0.20s; }
.activity-pill:nth-child(5)  { animation-delay: 0.25s; }
.activity-pill:nth-child(6)  { animation-delay: 0.30s; }
.activity-pill:nth-child(7)  { animation-delay: 0.35s; }
.activity-pill:nth-child(8)  { animation-delay: 0.40s; }
.activity-pill:nth-child(9)  { animation-delay: 0.45s; }
.activity-pill:nth-child(10) { animation-delay: 0.50s; }
.activity-pill:nth-child(11) { animation-delay: 0.55s; }
.activity-pill:nth-child(12) { animation-delay: 0.60s; }
.activity-pill:nth-child(13) { animation-delay: 0.65s; }
.activity-pill:nth-child(14) { animation-delay: 0.70s; }
.activity-pill:nth-child(15) { animation-delay: 0.75s; }
.activity-pill:nth-child(16) { animation-delay: 0.80s; }
.activity-pill:nth-child(17) { animation-delay: 0.85s; }
.activity-pill:nth-child(18) { animation-delay: 0.90s; }
.activity-pill:nth-child(19) { animation-delay: 0.95s; }
.activity-pill:nth-child(20) { animation-delay: 1.00s; }
.activity-pill:nth-child(21) { animation-delay: 1.05s; }
.activity-pill:nth-child(22) { animation-delay: 1.10s; }
.activity-pill:nth-child(23) { animation-delay: 1.15s; }
.activity-pill:nth-child(24) { animation-delay: 1.20s; }
.activity-pill:nth-child(25) { animation-delay: 1.25s; }
.activity-pill:nth-child(26) { animation-delay: 1.30s; }
.activity-pill:nth-child(27) { animation-delay: 1.35s; }

/* ─── ENHANCED ANIMATIONS ─── */
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,196,180,0.4); }
  50%       { box-shadow: 0 0 0 12px rgba(0,196,180,0); }
}
.pulse-cta { animation: pulse-glow 2.5s infinite; }
.slide-left  { animation: slideInLeft  0.7s ease forwards; }
.slide-right { animation: slideInRight 0.7s ease forwards; }
.scale-in    { animation: scaleIn      0.6s ease forwards; }

/* ─── TICKER / SCROLLING BANNER ─── */
.activities-ticker {
  background: var(--primary);
  overflow: hidden;
  padding: 0.9rem 0;
  position: relative;
}
.activities-ticker::before,
.activities-ticker::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
}
.activities-ticker::before { left: 0; background: linear-gradient(to right, var(--primary), transparent); }
.activities-ticker::after  { right: 0; background: linear-gradient(to left, var(--primary), transparent); }
.ticker-inner {
  display: flex;
  gap: 2rem;
  animation: tickerScroll 35s linear infinite;
  width: max-content;
}
.ticker-inner:hover { animation-play-state: paused; }
@keyframes tickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.ticker-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.75);
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.ticker-item i { color: var(--accent); font-size: 0.8rem; }
.ticker-sep {
  color: var(--accent);
  font-size: 1rem;
  opacity: 0.4;
}
/* ─── MEGA MENU ─── */

.nav-megamenu {
  /* Centrage par rapport à la navbar, pas au parent .nav-item */
  position: fixed;
  top: auto; /* sera défini via JS ou via le parent */
  left: 50%;
  transform: translateX(-50%);

  width: 1150px;
  max-width: 95vw;

  background: #fff;
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.15);

  padding: 1.5rem;
  z-index: 999;

  display: none;
  flex-wrap: wrap;
  gap: 1.2rem;
}

/* affichage au survol */
.nav-item:hover .nav-megamenu,
.nav-item:focus-within .nav-megamenu {
  display: flex;
}

/* ── 3 premières colonnes : largeur égale sur la 1ère ligne ── */
.megamenu-col {
  flex: 1 1 0;
  min-width: 200px;
}

/* ── 4ème colonne : pleine largeur en bas ── */
.megamenu-col:last-child {
  flex: 1 1 100%;
  border-top: 1px solid var(--border, #e5e7eb);
  margin-top: 0.2rem;
  padding-top: 1rem;
}

/* 4ème colonne : liens en grille horizontale (5 par ligne) */
.megamenu-col:last-child .megamenu-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.megamenu-col:last-child .megamenu-list li {
  flex: 0 0 20%;
  min-width: 170px;
}

/* titres de colonnes */
.megamenu-col-title {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.7rem;
  padding-bottom: 0.45rem;
  border-bottom: 2px solid var(--light2, #e5e7eb);
}

/* reset liste */
.megamenu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* liens */
.nav-megamenu a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
  font-size: 0.82rem;
  line-height: 1.2;
  color: var(--text);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.nav-megamenu a i {
  width: 16px;
  flex-shrink: 0;
  color: var(--accent);
}

.nav-megamenu a:hover {
  background: var(--light);
  color: var(--accent);
}
/* ─── RESPONSIVE adjustments for megamenu ─── */
@media (max-width: 1280px) {
  .nav-megamenu { min-width: 720px; }
}
@media (max-width: 1100px) {
  .nav-megamenu { min-width: 600px; }
  .megamenu-col { padding: 0 0.6rem; }
  .nav-megamenu li a { font-size: 0.8rem; }
}


/* Fix visibilité mega-menu */
.nav-megamenu {
  min-height: 400px !important;
  max-height: 500px !important;
  overflow-y: auto !important;
}
.nav-megamenu .megamenu-col {
  flex: 1;
  min-width: 200px;
}
.nav-megamenu .megamenu-col li a {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
