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

:root {
  --navy:        #080D24;
  --navy2:       #0C1232;
  --navy3:       #111840;
  --navy4:       #1A2254;
  --teal:        #2DD4B4;
  --teal-dark:   #1A9E88;
  --teal-glow:   rgba(45,212,180,0.12);
  --teal-border: rgba(45,212,180,0.25);
  --white:       #FFFFFF;
  --text:        #E8EDF8;
  --muted:       #7B8DB0;
  --muted2:      #4A5980;
  --border:      rgba(255,255,255,0.07);
  --border2:     rgba(255,255,255,0.12);
  --card:        rgba(255,255,255,0.04);
  --card2:       rgba(255,255,255,0.07);
  --radius:      10px;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--navy);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
}

.glow-orb { position: fixed; border-radius: 50%; filter: blur(100px); pointer-events: none; z-index: 0; }
.glow1 { width: 500px; height: 500px; background: rgba(45,212,180,0.07); top: -150px; right: -100px; }
.glow2 { width: 400px; height: 400px; background: rgba(45,212,180,0.05); bottom: 10%; left: -150px; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 80px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
  background: rgba(8,13,36,0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 4px 32px rgba(0,0,0,0.4); }

.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 36px; width: auto; display: block; }

.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { font-size: 13.5px; font-weight: 500; color: var(--muted); letter-spacing: 0.3px; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a.active { color: var(--teal); }

.nav-right { display: flex; align-items: center; gap: 10px; }

.btn-outline { font-size: 13px; font-weight: 600; color: var(--teal); border: 1px solid var(--teal-border); padding: 8px 18px; border-radius: var(--radius); transition: all 0.2s; display: inline-flex; align-items: center; gap: 6px; }
.btn-outline:hover { background: var(--teal-glow); }

.btn-teal { font-size: 13px; font-weight: 700; color: var(--navy); background: var(--teal); padding: 9px 20px; border-radius: var(--radius); transition: all 0.2s; display: inline-flex; align-items: center; gap: 6px; }
.btn-teal:hover { background: #3AEFD0; box-shadow: 0 4px 20px rgba(45,212,180,0.35); transform: translateY(-1px); }

.btn-primary { font-size: 14px; font-weight: 700; color: var(--navy); background: var(--teal); padding: 13px 26px; border-radius: var(--radius); transition: all 0.2s; display: inline-flex; align-items: center; gap: 8px; }
.btn-primary:hover { background: #3AEFD0; box-shadow: 0 6px 28px rgba(45,212,180,0.4); transform: translateY(-2px); }

.btn-secondary { font-size: 14px; font-weight: 600; color: var(--muted); border: 1px solid var(--border2); padding: 13px 26px; border-radius: var(--radius); transition: all 0.2s; display: inline-flex; align-items: center; gap: 8px; }
.btn-secondary:hover { color: var(--white); border-color: var(--teal-border); background: var(--teal-glow); }

.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.burger span { width: 22px; height: 1.5px; background: var(--text); border-radius: 2px; display: block; }

/* ── LAYOUT ── */
.section { padding: 100px 0; position: relative; z-index: 1; }
.section-inner { max-width: 1200px; margin: 0 auto; padding: 0 5%; }
.section-alt { background: var(--navy2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.label-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.label-tag::before { content: ''; width: 18px; height: 2px; background: var(--teal); border-radius: 2px; }

.sec-title { font-family: 'Syne', sans-serif; font-size: clamp(30px, 3.2vw, 48px); font-weight: 800; line-height: 1.15; color: var(--white); margin-bottom: 16px; }
.sec-title .teal { color: var(--teal); }
.sec-desc { font-size: 15.5px; color: var(--muted); line-height: 1.78; max-width: 600px; }

/* ── PAGE HERO (sous-pages) ── */
.page-hero {
  margin-top: 80px;
  padding: 80px 5% 70px;
  position: relative; z-index: 1;
  background: linear-gradient(180deg, var(--navy2) 0%, var(--navy) 100%);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(45,212,180,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(45,212,180,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black, transparent);
}
.page-hero-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted2); margin-bottom: 24px; }
.breadcrumb a { color: var(--muted); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--teal); }
.breadcrumb span { color: var(--muted2); }
.page-title { font-family: 'Syne', sans-serif; font-size: clamp(36px, 5vw, 68px); font-weight: 800; line-height: 1.1; color: var(--white); max-width: 800px; }
.page-title .teal { color: var(--teal); }
.page-subtitle { font-size: 17px; color: var(--muted); line-height: 1.75; max-width: 600px; margin-top: 20px; }

/* ── HERO BADGE ── */
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--teal-glow); border: 1px solid var(--teal-border); padding: 5px 14px 5px 10px; border-radius: 100px; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--teal); margin-bottom: 28px; }
.badge-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--teal); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(1.5)} }

/* ── TEMOIGNAGES ── */
.testimonials { padding: 100px 0; position: relative; z-index: 1; background: var(--navy2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.testi-card {
  background: var(--navy3); border: 1px solid var(--border2);
  border-radius: 16px; padding: 36px 30px;
  position: relative; transition: all 0.3s;
}
.testi-card::before {
  content: ''; position: absolute; top: 0; left: 30px; right: 30px;
  height: 1px; background: linear-gradient(90deg, transparent, var(--teal), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.testi-card:hover::before { opacity: 1; }
.testi-card:hover { transform: translateY(-4px); border-color: var(--teal-border); }
.testi-quote { font-size: 36px; color: var(--teal); opacity: 0.5; line-height: 1; margin-bottom: 18px; font-family: Georgia, serif; }
.testi-text { font-size: 14.5px; color: var(--text); line-height: 1.78; margin-bottom: 28px; font-style: italic; }
.testi-footer { display: flex; align-items: center; gap: 14px; }
.testi-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--teal-glow); border: 1px solid var(--teal-border); display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 800; color: var(--teal); flex-shrink: 0; font-family: 'Syne', sans-serif; }
.testi-name { font-weight: 700; font-size: 14px; color: var(--white); }
.testi-role { font-size: 12px; color: var(--muted); margin-top: 2px; }
.testi-stars { display: flex; gap: 3px; margin-bottom: 4px; }
.testi-stars span { color: var(--teal); font-size: 12px; }
.testi-featured { grid-column: span 2; }

/* ── FOOTER ── */
footer { background: #060A1C; border-top: 1px solid var(--border); padding: 64px 5% 36px; position: relative; z-index: 1; }
.foot-inner { max-width: 1200px; margin: 0 auto; }
.foot-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--border); margin-bottom: 32px; }
.foot-logo { display: inline-block; margin-bottom: 16px; }
.foot-logo img { height: 36px; width: auto; display: block; }
.foot-tagline { font-size: 13.5px; color: var(--muted); line-height: 1.75; margin-bottom: 22px; max-width: 270px; }
.social-row { display: flex; gap: 8px; }
.soc { width: 36px; height: 36px; border-radius: 8px; background: var(--card2); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 14px; color: var(--muted); transition: all 0.2s; }
.soc:hover { background: var(--teal-glow); border-color: var(--teal-border); color: var(--teal); }
.foot-col h4 { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--muted2); margin-bottom: 18px; }
.foot-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.foot-col a { font-size: 13.5px; color: var(--muted); transition: color 0.2s; }
.foot-col a:hover { color: var(--white); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
.foot-copy { font-size: 12.5px; color: var(--muted2); }
.foot-links { display: flex; gap: 18px; }
.foot-links a { font-size: 12.5px; color: var(--muted2); transition: color 0.2s; }
.foot-links a:hover { color: var(--muted); }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }



/* ── FORMS ── */
.f-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.f-label { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted2); }
.f-input, .f-select, .f-textarea { background: var(--card); border: 1px solid var(--border); border-radius: 8px; padding: 11px 14px; font-size: 14px; color: var(--white); font-family: 'Plus Jakarta Sans', sans-serif; outline: none; transition: border-color 0.2s; width: 100%; }
.f-input::placeholder, .f-textarea::placeholder { color: var(--muted2); }
.f-input:focus, .f-select:focus, .f-textarea:focus { border-color: var(--teal-border); box-shadow: 0 0 0 3px rgba(45,212,180,0.08); }
.f-select { cursor: pointer; }
.f-select option { background: var(--navy3); }
.f-textarea { resize: vertical; min-height: 110px; }
.btn-form { width: 100%; background: var(--teal); color: var(--navy); font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 15px; padding: 14px; border-radius: 10px; border: none; cursor: pointer; transition: all 0.2s; }
.btn-form:hover { background: #3AEFD0; box-shadow: 0 6px 24px rgba(45,212,180,0.4); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .foot-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .testi-grid { grid-template-columns: 1fr 1fr; }
  .testi-featured { grid-column: span 2; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-right { display: none; }
  .burger { display: flex; }
  .foot-top { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; text-align: center; }
  .testi-grid { grid-template-columns: 1fr; }
  .testi-featured { grid-column: span 1; }
  .page-hero { padding: 60px 5% 50px; }
}

/* ── MOBILE NAV OPEN ── */
@media (max-width: 768px) {
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; top: 80px; left: 0; right: 0;
    background: rgba(8,13,36,0.98);
    padding: 24px 5%; gap: 20px;
    border-bottom: 1px solid var(--border);
    z-index: 99;
  }
  .nav-right.open {
    display: flex; flex-direction: column;
    position: fixed; top: calc(80px + 220px); left: 0; right: 0;
    background: rgba(8,13,36,0.98);
    padding: 16px 5%; gap: 10px;
    z-index: 99;
  }
}
