/* ═══════════════════════════════════════════════════════
   NEKTON FORMATION MARITIME — Shared Stylesheet
   ═══════════════════════════════════════════════════════ */

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

/* ── Variables ── */
:root {
  --navy:        #0f2744;
  --navy-mid:    #1a3a5c;
  --navy-light:  #1e4976;
  --blue:        #0ea5e9;
  --blue-light:  #38bdf8;
  --blue-pale:   #e0f2fe;
  --teal:        #0d9488;
  --bg:          #f8fafc;
  --surface:     #ffffff;
  --border:      #e2e8f0;
  --border-dark: #cbd5e1;
  --text:        #0f172a;
  --text-muted:  #64748b;
  --text-light:  #94a3b8;
  --success:     #10b981;
  --success-bg:  #d1fae5;
  --warn:        #f59e0b;

  --radius-sm: 6px;
  --radius:    12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow:     0 4px 16px rgba(0,0,0,.08);
  --shadow-lg:  0 12px 40px rgba(0,0,0,.12);
  --shadow-xl:  0 20px 60px rgba(15,39,68,.2);

  --nav-h: 68px;
  --max-w: 1160px;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
a, button, [role="button"] { touch-action: manipulation; }
ul { list-style: none; }

/* ── Layout ── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section { padding: 5rem 0; }
.section-sm { padding: 3.5rem 0; }

/* ── Typography ── */
.label {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 1rem;
}
.label::before {
  content: ''; display: block;
  width: 20px; height: 2px; background: var(--blue);
  border-radius: 2px;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
h3 { font-size: 1.15rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 600; }
p.lead { font-size: 1.1rem; color: var(--text-muted); line-height: 1.65; }
p { color: var(--text-muted); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.5rem; border-radius: var(--radius-sm);
  font-size: .9rem; font-weight: 600;
  border: none; transition: all .2s ease;
  white-space: nowrap; cursor: pointer;
}
.btn-primary {
  background: var(--blue); color: #fff;
  box-shadow: 0 4px 14px rgba(14,165,233,.35);
}
.btn-primary:hover { background: var(--blue-light); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(14,165,233,.4); }
.btn-navy {
  background: var(--navy); color: #fff;
  box-shadow: 0 4px 14px rgba(15,39,68,.25);
}
.btn-navy:hover { background: var(--navy-mid); transform: translateY(-1px); }
.btn-outline {
  background: transparent; color: var(--navy);
  border: 1.5px solid var(--border-dark);
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-pale); }
.btn-outline-white {
  background: transparent; color: #fff;
  border: 1.5px solid rgba(255,255,255,.5);
}
.btn-outline-white:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.btn-white {
  background: #fff; color: var(--navy);
  box-shadow: 0 4px 14px rgba(0,0,0,.15);
}
.btn-white:hover { background: var(--blue-pale); transform: translateY(-1px); }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; border-radius: var(--radius); }
.btn-sm { padding: .5rem 1rem; font-size: .82rem; }
.btn-icon { padding: .75rem; }
.btn svg { flex-shrink: 0; }

/* ── Badges ── */
.badge {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .3rem .7rem; border-radius: 99px;
  font-size: .75rem; font-weight: 600;
}
.badge-blue   { background: var(--blue-pale); color: #0369a1; border: 1px solid #bae6fd; }
.badge-green  { background: var(--success-bg); color: #065f46; border: 1px solid #a7f3d0; }
.badge-navy   { background: rgba(15,39,68,.08); color: var(--navy); border: 1px solid rgba(15,39,68,.15); }
.badge-orange { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; }

/* ── Cards ── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .25s, transform .25s;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.card-body { padding: 1.75rem; }

/* ══════════════════════════
   NAV
══════════════════════════ */
nav {
  position: sticky; top: 0; z-index: 200;
  height: var(--nav-h);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center;
  height: var(--nav-h); gap: 2rem;
}
.nav-logo {
  display: flex; align-items: center; gap: .6rem;
  font-weight: 800; font-size: 1.05rem; color: var(--navy);
  flex-shrink: 0; text-decoration: none;
}
.nav-logo-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; flex-shrink: 0;
}
.nav-logo-icon svg { width: 20px; height: 20px; }
.nav-links {
  display: flex; align-items: center; gap: .25rem;
  flex: 1;
}
.nav-link {
  padding: .45rem .75rem; border-radius: var(--radius-sm);
  font-size: .82rem; font-weight: 500; color: var(--text-muted);
  transition: all .15s; white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--navy); background: var(--bg); }
.nav-actions {
  display: flex; align-items: center; gap: .75rem;
  margin-left: auto;
}
.nav-phone {
  display: flex; align-items: center; gap: .4rem;
  font-size: .82rem; font-weight: 600; color: var(--text-muted);
  padding: .4rem .75rem; border-radius: var(--radius-sm);
  transition: color .15s;
}
.nav-phone:hover { color: var(--navy); }
.nav-phone svg { width: 14px; height: 14px; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; width: 40px; height: 40px;
  background: none; border: 1px solid var(--border); border-radius: var(--radius-sm);
  cursor: pointer; margin-left: auto;
}
.nav-toggle span {
  display: block; width: 18px; height: 2px;
  background: var(--navy); border-radius: 2px;
  transition: all .25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav Drawer */
.nav-drawer {
  display: none;
  position: fixed; inset: var(--nav-h) 0 0 0;
  background: #fff; z-index: 199;
  padding: 1.5rem;
  flex-direction: column; gap: .5rem;
  overflow-y: auto;
  border-top: 1px solid var(--border);
}
.nav-drawer.open { display: flex; }
.nav-drawer .nav-link {
  padding: .85rem 1rem; font-size: 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
}
.nav-drawer .nav-link:hover { border-color: var(--border); }
.nav-drawer .btn { justify-content: center; width: 100%; margin-top: .5rem; }
.nav-drawer-sep { height: 1px; background: var(--border); margin: .5rem 0; }

/* ══════════════════════════
   HERO
══════════════════════════ */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-mid) 50%, #0d3461 100%);
  color: #fff;
  padding: 5rem 0 4rem;
}
.hero::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='%23ffffff' fill-opacity='0.03'%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");
}
.hero-wave {
  position: absolute; bottom: -1px; left: 0; right: 0;
}
/* ── Hero décoration droite (logo + tampon) ── */
.hero-decoration {
  position: absolute;
  top: 50%; right: 0;
  transform: translateY(-50%);
  width: 420px;
  pointer-events: none; z-index: 1;
}
.hero-logo-white {
  display: block; width: 100%; height: auto; opacity: .82;
}
.hero-stamp {
  position: absolute;
  top: -70px; right: 10px;
  transform: rotate(15deg);
  width: 170px; height: 170px;
  opacity: .85;
}
.hero-stamp svg { width: 170px; height: 170px; }
@media (max-width: 900px) { .hero-decoration { display: none; } }
.hero-content { position: relative; z-index: 1; }
.hero-badges { display: flex; gap: .6rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .35rem;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.9); backdrop-filter: blur(8px);
  padding: .3rem .75rem; border-radius: 99px;
  font-size: .75rem; font-weight: 600; letter-spacing: .03em;
}
.hero-badge svg { width: 12px; height: 12px; opacity: .8; }
.hero h1 { color: #fff; margin-bottom: 1.25rem; }
.hero h1 span { color: var(--blue-light); }
.hero p.lead { color: rgba(255,255,255,.75); margin-bottom: 2rem; }
.hero-btns { display: flex; gap: .75rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-stats {
  display: flex; gap: 2rem; flex-wrap: wrap;
  padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.12);
}
.hero-stat .num { font-size: 1.9rem; font-weight: 800; color: #fff; line-height: 1; }
.hero-stat .txt { font-size: .8rem; color: rgba(255,255,255,.6); margin-top: .2rem; }

/* Page hero (inner pages) */
.page-hero {
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: #fff; padding: 3.5rem 0;
}
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); color: #fff; }
.page-hero p { color: rgba(255,255,255,.7); margin-top: .75rem; font-size: 1rem; }
.breadcrumb {
  display: flex; align-items: center; gap: .5rem;
  font-size: .82rem; color: rgba(255,255,255,.5);
  margin-bottom: 1rem;
}
.breadcrumb a { color: rgba(255,255,255,.6); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb svg { width: 12px; height: 12px; }

/* ══════════════════════════
   SECTORS
══════════════════════════ */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.sector-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: all .25s;
  text-decoration: none;
  color: var(--text);
  display: flex; flex-direction: column; align-items: center; gap: .75rem;
}
.sector-card:hover {
  border-color: var(--blue); background: var(--blue-pale);
  box-shadow: var(--shadow); transform: translateY(-3px);
  color: var(--navy);
}
.sector-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: #0369a1;
  transition: all .25s;
}
.sector-card:hover .sector-icon {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: #fff;
}
.sector-icon svg { width: 24px; height: 24px; }
.sector-name { font-size: .85rem; font-weight: 700; }
.sector-count { font-size: .75rem; color: var(--text-muted); }

/* ══════════════════════════
   STATS
══════════════════════════ */
.stats-section {
  background: var(--navy);
  color: #fff; padding: 4rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem; text-align: center;
}
.stat-box { padding: 1rem; }
.stat-box .num {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; color: #fff; line-height: 1;
  margin-bottom: .5rem;
}
.stat-box .num span { color: var(--blue-light); }
.stat-box .lbl { font-size: .85rem; color: rgba(255,255,255,.6); }
.stat-box .icon {
  width: 44px; height: 44px;
  background: rgba(255,255,255,.1);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-light);
  margin: 0 auto 1rem;
}
.stat-box .icon svg { width: 22px; height: 22px; }

/* ══════════════════════════
   STEPS / HOW IT WORKS
══════════════════════════ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute; top: 2rem; left: calc(12.5% + 1.5rem); right: calc(12.5% + 1.5rem);
  height: 2px; background: var(--border);
  z-index: 0;
}
.step-card {
  text-align: center; padding: 1.5rem 1rem;
  position: relative; z-index: 1;
}
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 800; color: var(--navy);
  margin: 0 auto 1.25rem;
  transition: all .25s;
  position: relative; z-index: 2;
}
.step-card:hover .step-num {
  background: var(--navy); color: #fff; border-color: var(--navy);
}
.step-card h3 { margin-bottom: .5rem; font-size: 1rem; }
.step-card p { font-size: .875rem; line-height: 1.55; }

/* ══════════════════════════
   FORMATION CARDS
══════════════════════════ */
.formations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.formation-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: all .25s;
}
.formation-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.formation-card-top {
  padding: 1.5rem 1.5rem 1rem;
  border-bottom: 1px solid var(--border);
  flex: 1;
}
.formation-card-top h3 { margin-bottom: .5rem; font-size: 1.05rem; }
.formation-card-top p { font-size: .875rem; line-height: 1.55; margin-bottom: 1rem; }
.formation-tags { display: flex; gap: .4rem; flex-wrap: wrap; }
.formation-card-bottom {
  padding: 1rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  background: var(--bg);
}
.formation-meta {
  display: flex; flex-direction: column; gap: .2rem;
}
.formation-meta .duration { font-size: .78rem; color: var(--text-muted); font-weight: 500; }
.rate-badge {
  display: flex; flex-direction: column; align-items: flex-end;
}
.rate-badge .rate { font-size: 1.2rem; font-weight: 800; color: var(--success); line-height: 1; }
.rate-badge .rate-lbl { font-size: .68rem; color: var(--text-muted); font-weight: 500; }
.formation-card-footer {
  padding: 1rem 1.5rem;
  display: flex; gap: .75rem;
  border-top: 1px solid var(--border);
}
.formation-card-footer .btn { flex: 1; justify-content: center; }

/* Filter tabs */
.filter-tabs {
  display: flex; gap: .5rem; flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.filter-tab {
  padding: .5rem 1.1rem; border-radius: 99px;
  font-size: .85rem; font-weight: 600;
  background: var(--surface); border: 1.5px solid var(--border);
  color: var(--text-muted); cursor: pointer;
  transition: all .2s;
}
.filter-tab:hover { border-color: var(--blue); color: var(--blue); }
.filter-tab.active {
  background: var(--navy); color: #fff; border-color: var(--navy);
}
.filter-type-group {
  display: flex; gap: .4rem; margin-left: auto; flex-shrink: 0;
}
.filter-type {
  padding: .45rem 1rem; border-radius: 99px;
  font-size: .82rem; font-weight: 600;
  background: var(--surface); border: 1.5px solid var(--border);
  color: var(--text-muted); cursor: pointer;
  transition: all .2s;
}
.filter-type:hover { border-color: #f59e0b; color: #b45309; }
.filter-type.active { background: #f59e0b; color: #fff; border-color: #f59e0b; }

/* ══════════════════════════
   TESTIMONIALS
══════════════════════════ */
.testimonials-section { background: var(--bg); }
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.testimonial-stars { display: flex; gap: .2rem; margin-bottom: 1rem; color: var(--warn); }
.testimonial-stars svg { width: 16px; height: 16px; }
.testimonial-text { font-size: .9rem; line-height: 1.65; color: var(--text); margin-bottom: 1.25rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: .75rem; }
.testimonial-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; font-weight: 700; color: #fff; flex-shrink: 0;
}
.testimonial-name { font-size: .875rem; font-weight: 700; }
.testimonial-role { font-size: .78rem; color: var(--text-muted); }
.testimonial-formation { font-size: .75rem; color: var(--blue); font-weight: 600; }
.rating-bar {
  display: flex; align-items: center; gap: 1rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.25rem 1.75rem;
  margin-bottom: 2rem;
}
.rating-num { font-size: 2.5rem; font-weight: 800; color: var(--navy); line-height: 1; }
.rating-details { flex: 1; }
.rating-stars-lg { display: flex; gap: .3rem; color: var(--warn); margin-bottom: .3rem; }
.rating-stars-lg svg { width: 20px; height: 20px; }
.rating-count { font-size: .82rem; color: var(--text-muted); }
.rating-logo { font-size: .75rem; color: var(--text-light); font-weight: 500; }

/* ══════════════════════════
   PARTNERS
══════════════════════════ */
.partners-section {
  background: var(--surface);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 3rem 0;
}
.partners-label {
  text-align: center; font-size: .78rem; font-weight: 600;
  color: var(--text-muted); text-transform: uppercase; letter-spacing: .1em;
  margin-bottom: 2rem;
}
.partners-logos {
  display: flex; align-items: center; justify-content: center;
  gap: 3rem; flex-wrap: wrap;
}
.partner-logo {
  display: flex; flex-direction: column; align-items: center; gap: .4rem;
  opacity: .55; transition: opacity .2s;
}
.partner-logo:hover { opacity: 1; }
.partner-logo-box {
  height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: .5rem 1rem;
  font-size: .78rem; font-weight: 700; color: var(--navy);
  letter-spacing: .03em;
}
.partner-logo-sub { font-size: .65rem; color: var(--text-muted); text-align: center; }

/* ══════════════════════════
   CTA BAND
══════════════════════════ */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 4.5rem 0; text-align: center; color: #fff;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(14,165,233,.2) 0%, transparent 70%);
}
.cta-section h2 { color: #fff; position: relative; margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,.7); position: relative; margin-bottom: 2rem; max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-btns { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; position: relative; }

/* ══════════════════════════
   VERIFY SECTION
══════════════════════════ */
.verify-section {
  background: var(--blue-pale);
  border-top: 1px solid #bae6fd; border-bottom: 1px solid #bae6fd;
  padding: 2.5rem 0;
}
.verify-inner {
  display: flex; align-items: center; gap: 2rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.75rem 2rem;
}
.verify-icon {
  width: 56px; height: 56px; flex-shrink: 0;
  background: var(--success-bg);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--success);
}
.verify-icon svg { width: 28px; height: 28px; }
.verify-text h3 { margin-bottom: .25rem; }
.verify-text p { font-size: .875rem; }
.verify-form { display: flex; gap: .75rem; flex: 1; justify-content: flex-end; flex-wrap: wrap; }
.verify-form input {
  padding: .65rem 1rem; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); font-size: .9rem; font-family: var(--font);
  background: var(--bg); flex: 1; min-width: 200px;
  transition: border-color .2s; outline: none;
}
.verify-form input:focus { border-color: var(--blue); }

/* ══════════════════════════
   ABOUT PAGE SPECIFIC
══════════════════════════ */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.value-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem;
  transition: all .25s;
}
.value-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.value-icon {
  width: 50px; height: 50px;
  background: linear-gradient(135deg, var(--blue-pale), #bae6fd);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: #0369a1; margin-bottom: 1.25rem;
}
.value-icon svg { width: 24px; height: 24px; }
.value-card h3 { margin-bottom: .5rem; }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.team-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; text-align: center;
  transition: all .25s;
}
.team-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.team-avatar {
  height: 120px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; color: #fff;
}
.team-card-body { padding: 1.25rem; }
.team-card-body h4 { margin-bottom: .2rem; }
.team-role { font-size: .8rem; color: var(--blue); font-weight: 600; margin-bottom: .4rem; }
.team-exp { font-size: .78rem; color: var(--text-muted); }

.equipment-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.equipment-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem; display: flex; gap: 1rem;
}
.equipment-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--navy); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.equipment-icon svg { width: 22px; height: 22px; }
.equipment-card h4 { margin-bottom: .3rem; }
.equipment-card p { font-size: .82rem; }

/* ══════════════════════════
   CONTACT PAGE
══════════════════════════ */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.6fr; gap: 3rem; align-items: start;
}
.contact-info-cards { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }
.contact-info-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.25rem;
  display: flex; gap: 1rem; align-items: flex-start;
}
.contact-info-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--blue-pale); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center; color: #0369a1;
}
.contact-info-icon svg { width: 18px; height: 18px; }
.contact-info-card h4 { font-size: .875rem; margin-bottom: .2rem; }
.contact-info-card p { font-size: .82rem; }
.contact-info-card a { color: var(--blue); }

.form-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2.5rem;
}
.form-title { margin-bottom: .5rem; }
.form-subtitle { font-size: .875rem; margin-bottom: 2rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; margin-bottom: .75rem; }
.form-group.full { grid-column: 1 / -1; }
label { font-size: .8rem; font-weight: 600; color: var(--text); }
input, select, textarea {
  padding: .7rem 1rem; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); font-size: .9rem; font-family: var(--font);
  background: var(--bg); color: var(--text);
  transition: border-color .2s, box-shadow .2s; outline: none;
  width: 100%;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(14,165,233,.12);
}
textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: .78rem; color: var(--text-muted); margin-top: .5rem; }

.faq-list { display: flex; flex-direction: column; gap: .75rem; }
.faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
}
.faq-q {
  width: 100%; background: #fff; border: none;
  padding: 1rem 1.25rem;
  text-align: left; font-weight: 600; font-size: .875rem;
  color: var(--navy); cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  transition: background .15s;
}
.faq-q:hover { background: #f8fafc; }
.faq-q::after {
  content: '+'; font-size: 1.25rem; color: var(--blue);
  font-weight: 700; flex-shrink: 0;
}
.faq-item.open .faq-q::after { content: '−'; }
.faq-a {
  display: none; padding: 0 1.25rem 1rem;
  font-size: .855rem; line-height: 1.65; color: var(--text-muted);
}
.faq-item.open .faq-a { display: block; }

/* ══════════════════════════
   FOOTER
══════════════════════════ */
footer {
  background: var(--navy); color: rgba(255,255,255,.7);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand-logo {
  display: flex; align-items: center; gap: .6rem;
  font-weight: 800; font-size: 1.05rem; color: #fff;
  margin-bottom: 1rem;
}
.footer-brand-logo .nav-logo-icon {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
}
.footer-desc { font-size: .85rem; line-height: 1.65; margin-bottom: 1.5rem; }
.footer-social { display: flex; gap: .6rem; }
.footer-social a {
  width: 34px; height: 34px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6);
  transition: all .2s;
}
.footer-social a:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.footer-social a svg { width: 16px; height: 16px; }
.footer-col h5 {
  font-size: .82rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: rgba(255,255,255,.4); margin-bottom: 1.25rem;
}
.footer-links { display: flex; flex-direction: column; gap: .6rem; }
.footer-links a {
  font-size: .875rem; color: rgba(255,255,255,.6);
  transition: color .15s;
}
.footer-links a:hover { color: #fff; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 1rem; padding: 1.5rem 0;
  font-size: .78rem; color: rgba(255,255,255,.35);
}
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { color: rgba(255,255,255,.4); transition: color .15s; }
.footer-bottom-links a:hover { color: rgba(255,255,255,.8); }

/* ══════════════════════════
   UTILITIES
══════════════════════════ */
.text-center { text-align: center; }
.text-navy { color: var(--navy); }
.text-blue { color: var(--blue); }
.text-muted { color: var(--text-muted); }
.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-4 { margin-top: 2rem; }
.gap-2 { gap: 1rem; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.section-header { margin-bottom: 3rem; }
.section-header.centered { text-align: center; }
.section-header h2 { margin-bottom: .75rem; }
.divider { height: 1px; background: var(--border); margin: 2rem 0; }

/* ══════════════════════════
   RESPONSIVE
══════════════════════════ */
@media (max-width: 1024px) {
  .sectors-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --nav-h: 60px; }
  .section { padding: 3.5rem 0; }
  .section-sm { padding: 2.5rem 0; }

  .nav-links, .nav-phone, .nav-actions { display: none; }
  .nav-toggle { display: flex; }

  .hero { padding: 3.5rem 0 3rem; }
  .hero-stats { gap: 1.25rem; }

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

  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }

  .formations-grid { grid-template-columns: 1fr 1fr; }

  .testimonials-grid { grid-template-columns: 1fr; }

  .contact-grid { grid-template-columns: 1fr; }

  .values-grid { grid-template-columns: 1fr; }
  .equipment-grid { grid-template-columns: 1fr 1fr; }

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

  .verify-inner { flex-direction: column; }
  .verify-form { justify-content: flex-start; width: 100%; }

  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 1.5rem; }
}

@media (max-width: 540px) {
  .sectors-grid { grid-template-columns: repeat(2, 1fr); }
  .formations-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; justify-content: center; }
  .cta-btns { flex-direction: column; align-items: center; }
  .partners-logos { gap: 1.5rem; }
  .equipment-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .filter-tabs { gap: .35rem; }
}

/* ══════════════════════════
   FORMATION DETAIL PAGES (IME-inspired)
══════════════════════════ */
.fd-entry {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(15,39,68,.07);
  border: 1px solid #e2e8f0;
  overflow: hidden;
}
.fd-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
  padding: 1.5rem 2rem;
  background: linear-gradient(90deg, var(--navy) 0%, #1a3a6e 100%);
  color: #fff;
}
.fd-header-left { display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; }
.fd-ref {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .05em;
  padding: .25rem .65rem;
  border-radius: 20px;
  text-transform: uppercase;
  white-space: nowrap;
}
.fd-ref-reval { background: rgba(14,165,233,.3); border-color: rgba(14,165,233,.5); }
.fd-header h1, .fd-header h2 { margin: 0; font-size: 1.4rem; font-weight: 800; color: #fff; }
.fd-header-right { display: flex; gap: .5rem; flex-shrink: 0; flex-wrap: wrap; }
.fd-pill {
  background: rgba(255,255,255,.12);
  color: #e0f2fe;
  font-size: .72rem;
  font-weight: 600;
  padding: .25rem .65rem;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.2);
  white-space: nowrap;
}
.fd-body {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 0;
}
.fd-main {
  padding: 2.5rem 2.25rem;
  border-right: 1px solid #e2e8f0;
}
.fd-side {
  padding: 1.75rem;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.fd-section-title {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 2rem 0 1rem;
  display: flex;
  align-items: center;
  gap: .4rem;
}
.fd-main > .fd-section-title:first-of-type { margin-top: 0; }
.fd-section-title::after { content: ''; flex: 1; height: 1px; background: #e2e8f0; }

/* ── Intro image + text ── */
.fd-intro {
  display: flex;
  gap: 1.75rem;
  align-items: flex-start;
  margin-bottom: 2.25rem;
}
.fd-intro-img {
  width: 200px;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(15,39,68,.13);
}
.fd-desc {
  font-size: .95rem;
  color: var(--text);
  margin: 0;
  line-height: 1.8;
}
@media (max-width: 640px) {
  .fd-intro { flex-direction: column; }
  .fd-intro-img { width: 100%; height: 180px; }
}

.fd-prog-list {
  list-style: none; padding: 0; margin: 0 0 2.25rem;
  display: flex; flex-direction: column; gap: .75rem;
}
.fd-prog-list li {
  display: flex; gap: .7rem; font-size: .9rem;
  color: var(--text); align-items: baseline;
  padding-bottom: .75rem;
  border-bottom: 1px solid #f1f5f9;
}
.fd-prog-list li:last-child { border-bottom: none; padding-bottom: 0; }
.fd-prog-list li::before { content: '›'; color: var(--blue); font-weight: 700; flex-shrink: 0; }
.fd-prog-list li .fd-hours {
  margin-left: auto;
  font-size: .73rem; color: var(--text-muted);
  background: #f1f5f9; padding: .15rem .55rem;
  border-radius: 4px; white-space: nowrap; flex-shrink: 0;
}
.fd-prereq-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: .65rem;
}
.fd-prereq-list li {
  font-size: .9rem; color: var(--text);
  display: flex; gap: .6rem; align-items: baseline;
  padding-bottom: .65rem;
  border-bottom: 1px solid #f1f5f9;
}
.fd-prereq-list li:last-child { border-bottom: none; padding-bottom: 0; }
.fd-prereq-list li::before { content: '✓'; color: #10b981; font-weight: 700; flex-shrink: 0; }

/* Side blocks */
.fd-price-block {
  background: #fff; border: 1px solid #e2e8f0;
  border-radius: 10px; padding: 1.1rem 1.25rem;
}
.fd-price { font-size: 1.6rem; font-weight: 800; color: var(--navy); line-height: 1; margin-bottom: .2rem; }
.fd-price-sub { font-size: .73rem; color: var(--text-muted); margin-bottom: .75rem; }
.fd-cpf {
  display: inline-flex; align-items: center; gap: .3rem;
  background: #dbeafe; color: #1d4ed8;
  font-size: .7rem; font-weight: 700;
  padding: .25rem .6rem; border-radius: 20px;
}
.fd-duree-list {
  display: flex; flex-direction: column; gap: .35rem;
}
.fd-duree-item {
  display: flex; align-items: center;
  justify-content: space-between; font-size: .83rem;
}
.fd-duree-item span:first-child { color: var(--text-muted); }
.fd-duree-item span:last-child { font-weight: 700; color: var(--navy); }
.fd-session-rows { display: flex; flex-direction: column; gap: .4rem; margin-top: .25rem; }
.fd-session-row {
  display: flex; align-items: center;
  justify-content: space-between; gap: .5rem; font-size: .82rem;
}
.fd-session-date { font-weight: 600; color: var(--navy); }
.fd-session-places {
  font-size: .7rem; color: var(--text-muted);
  background: #f1f5f9; padding: .15rem .4rem; border-radius: 4px; white-space: nowrap;
}
.fd-session-places.few { background: #fef9c3; color: #854d0e; }
.fd-sessions-link {
  margin-top: .5rem; display: inline-flex; align-items: center; gap: .25rem;
  font-size: .78rem; color: var(--blue); font-weight: 600; text-decoration: none;
}
.fd-sessions-link:hover { text-decoration: underline; }
.fd-no-sessions { font-size: .8rem; color: var(--text-muted); font-style: italic; }
.fd-ctas { display: flex; flex-direction: column; gap: .6rem; }
.fd-ctas a, .fd-ctas button { justify-content: center; width: 100%; text-align: center; font-size: .85rem; }
.fd-ref-link {
  display: inline-flex; align-items: center; gap: .3rem;
  font-size: .78rem; color: var(--text-muted); text-decoration: none;
}
.fd-ref-link:hover { color: var(--blue); text-decoration: underline; }
.fd-back-bar {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
  margin-bottom: 1.75rem;
}
.fd-back-link {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .85rem; color: var(--blue); font-weight: 600; text-decoration: none;
}
.fd-back-link:hover { text-decoration: underline; }
.fd-related {
  margin-top: 2rem; padding: 1.25rem 1.5rem;
  background: #eff6ff; border-radius: 10px;
  border: 1px solid #bfdbfe;
}
.fd-related p { font-size: .85rem; color: var(--navy); font-weight: 600; margin: 0 0 .6rem; }
.fd-related-links { display: flex; flex-wrap: wrap; gap: .5rem; }
.fd-related-links a {
  font-size: .8rem; color: var(--blue); font-weight: 600;
  background: #fff; border: 1px solid #bfdbfe;
  padding: .3rem .75rem; border-radius: 20px; text-decoration: none;
}
.fd-related-links a:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

@media (max-width: 768px) {
  .fd-body { grid-template-columns: 1fr; }
  .fd-side { order: -1; }
  .fd-main { border-right: none; border-bottom: 1px solid #e2e8f0; }
  .fd-header h1, .fd-header h2 { font-size: 1.1rem; }
  .fd-header { padding: 1.25rem 1.25rem; }
  .fd-main { padding: 1.5rem 1.25rem; }
  .fd-side { padding: 1.25rem; }
}

/* Formations catalogue card grid clickable */
.formation-card-link {
  text-decoration: none;
  display: block;
  color: inherit;
}
.formation-card-link .formation-card {
  cursor: pointer;
  transition: all .2s;
}
.formation-card-link .formation-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(15,39,68,.15);
  border-color: var(--blue);
}
.fd-ref-block { margin-top: 1.25rem; padding: 1rem; background: #f1f5f9; border-radius: 10px; border: 1px solid #e2e8f0; }
.fd-ref-link { display: flex; align-items: flex-start; gap: .5rem; font-size: .74rem; color: var(--blue); text-decoration: none; margin-bottom: .5rem; line-height: 1.4; }
.fd-ref-link:last-child { margin-bottom: 0; }
.fd-ref-link:hover { text-decoration: underline; }

/* ── Formation cards (fc-*) — shared across all pages ── */
.fc-link {
  text-decoration: none; color: inherit;
  display: flex; flex-direction: column; height: 100%;
}
.fc-link:hover .fc-card { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(15,39,68,.16); border-color: var(--blue); }
.fc-coming { pointer-events: none; }
.fc-coming .fc-body { opacity: .6; }
.fc-card {
  background: #fff;
  border-radius: 14px;
  border: 1.5px solid #e2e8f0;
  overflow: hidden;
  display: flex; flex-direction: column; height: 100%;
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
.fc-card.reval { border-top: 3px solid #f59e0b; }
.fc-thumb {
  position: relative !important;
  height: 155px;
  overflow: hidden;
  flex-shrink: 0;
}
.fc-thumb img {
  position: absolute !important;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.fc-cat-tag {
  position: absolute; bottom: .7rem; left: .8rem; z-index: 2;
  font-size: .58rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
  background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.4);
  color: #fff; padding: .22rem .6rem; border-radius: 20px; backdrop-filter: blur(4px);
}
.fc-card.reval .fc-cat-tag {
}
/* ── CGV / Mentions légales modal ── */
.cgv-overlay {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,.6); align-items: center; justify-content: center;
  padding: 1.5rem;
}
.cgv-overlay.open { display: flex; }
.cgv-modal {
  background: #fff; border-radius: 14px; max-width: 780px; width: 100%;
  max-height: 88vh; display: flex; flex-direction: column;
  box-shadow: 0 24px 60px rgba(0,0,0,.3);
}
.cgv-modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 1.75rem; border-bottom: 1px solid #e5e7eb; flex-shrink: 0;
}
.cgv-modal-header h2 { font-size: 1.1rem; font-weight: 800; color: var(--navy); margin: 0; }
.cgv-close {
  width: 32px; height: 32px; border-radius: 50%; border: none;
  background: #f3f4f6; cursor: pointer; font-size: 1.1rem; line-height: 32px;
  display: flex; align-items: center; justify-content: center;
}
.cgv-close:hover { background: #e5e7eb; }
.cgv-modal-body {
  overflow-y: auto; padding: 1.75rem; flex: 1;
  font-size: .875rem; line-height: 1.75; color: #374151;
}
.cgv-modal-body h3 {
  font-size: 1rem; font-weight: 700; color: var(--navy);
  margin: 1.75rem 0 .5rem;
}
.cgv-modal-body h3:first-child { margin-top: 0; }
.cgv-modal-body p { margin: .5rem 0; }
.cgv-modal-body ul { padding-left: 1.25rem; margin: .5rem 0; }
.cgv-modal-body li { margin: .25rem 0; }
.cgv-modal-body .cgv-section {
  border-top: 2px solid var(--navy); margin-top: 2rem; padding-top: 1.25rem;
}
.cgv-modal-body .cgv-section:first-child { border-top: none; margin-top: 0; padding-top: 0; }
.cgv-modal-body h2 {
  font-size: 1.15rem; font-weight: 900; color: var(--navy);
  text-transform: uppercase; letter-spacing: .04em; margin: 0 0 1rem;
}

/* ── À propos — mobile stack (photo en premier) ── */
@media (max-width: 768px) {
  .about-intro-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  .about-photo-col {
    order: -1;
  }
}
