/* ==========================================================================
   NAATAL SG — STYLE VITRINE INSTITUTIONNELLE
   Secrétariat Général du Sénégal
   ========================================================================== */

:root {
  --sg-navy: #102d30;
  --sg-navy-2: #173b3e;
  --sg-navy-dark: #0b2528;
  --sg-ink: #1b3031;
  --sg-muted: #647475;
  --sg-sand: #e7ddcd;
  --sg-cream: #f5f0e8;
  --sg-paper: #fbfaf7;
  --sg-lime: #d9ed72;
  --sg-lime-deep: #b7d338;
  --sg-clay: #c86c51;
  --sg-gold: #d4a34e;
  --sg-line: rgba(16, 45, 48, 0.13);
  --sg-line-light: rgba(255, 255, 255, 0.14);
  --sg-radius: 18px;
}

.naatal-sg-page {
  font-family: 'DM Sans', Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--sg-ink);
  background: var(--sg-paper);
  line-height: 1.6;
  overflow-x: hidden;
}

.naatal-sg-page * { box-sizing: border-box; }
.naatal-sg-page h1, .naatal-sg-page h2, .naatal-sg-page h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.03em;
  margin-top: 0;
}

.naatal-sg-page .sg-container {
  width: calc(100% - 56px);
  max-width: 1180px;
  margin: 0 auto;
}

/* --- BANDEAU ANNONCE --- */
.sg-announcement {
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--sg-lime);
  color: var(--sg-navy);
  font-family: 'DM Mono', monospace, monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.sg-announcement .sg-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sg-clay);
  display: inline-block;
}

/* --- NAVIGATION --- */
.sg-nav {
  position: absolute;
  z-index: 20;
  top: 36px;
  left: 0;
  width: 100%;
  border-bottom: 1px solid var(--sg-line-light);
  color: #fff;
  background: rgba(16, 45, 48, 0.7);
  backdrop-filter: blur(10px);
}
.sg-nav-inner {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.sg-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
  color: #fff !important;
}
.sg-brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 11px 11px 11px 3px;
  color: #fff;
  font-family: 'DM Serif Display', serif;
  font-size: 17px;
  font-weight: bold;
}
.sg-brand-mark::before {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  border: 1px solid var(--sg-lime);
  border-radius: 50%;
  transform: translate(9px, -8px);
  opacity: 0.95;
}
.sg-brand-copy {
  display: flex;
  flex-direction: column;
}
.sg-brand-copy strong {
  font-family: 'DM Serif Display', serif;
  font-size: 19px;
  line-height: 1;
}
.sg-brand-copy small {
  color: rgba(255, 255, 255, 0.6);
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.sg-nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}
.sg-nav-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}
.sg-nav-links a:hover {
  color: var(--sg-lime);
}
.sg-nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* --- BOUTONS --- */
.sg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
  cursor: pointer;
  transition: transform 0.16s, background 0.2s, box-shadow 0.2s;
}
.sg-btn:hover {
  transform: translateY(-2px);
}
.sg-btn-lime {
  background: var(--sg-lime);
  color: var(--sg-navy) !important;
  box-shadow: 0 10px 25px rgba(217, 237, 114, 0.2);
}
.sg-btn-lime:hover {
  background: #e4f591;
  box-shadow: 0 12px 30px rgba(217, 237, 114, 0.35);
}
.sg-btn-ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff !important;
  background: rgba(255, 255, 255, 0.05);
}
.sg-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
}
.sg-btn-dark {
  background: var(--sg-navy);
  color: #fff !important;
}
.sg-btn-dark:hover {
  background: var(--sg-navy-2);
}

/* --- HERO --- */
.sg-hero {
  position: relative;
  background: var(--sg-navy);
  color: #fff;
  min-height: 760px;
  padding-top: 150px;
  padding-bottom: 80px;
  overflow: hidden;
}
.sg-hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
}
.sg-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: 60px;
}
.sg-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  color: var(--sg-lime);
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.sg-hero h1 {
  font-size: clamp(40px, 4.8vw, 68px);
  line-height: 1.05;
  margin-bottom: 22px;
}
.sg-hero h1 em, .sg-section h2 em {
  color: var(--sg-lime);
  font-style: normal;
}
.sg-hero-lede {
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
  line-height: 1.65;
  max-width: 520px;
  margin-bottom: 30px;
}
.sg-hero-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 35px;
}
.sg-hero-proof {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  font-family: 'DM Mono', monospace;
  text-transform: uppercase;
}
.sg-hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.sg-hero-proof i {
  color: var(--sg-lime);
  font-style: normal;
}

/* Console de pilotage interactive */
.sg-hero-console {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: linear-gradient(142deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.03));
  box-shadow: 25px 35px 80px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(14px);
  padding: 24px;
}
.sg-console-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.1em;
}
.sg-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sg-lime);
  display: inline-block;
  box-shadow: 0 0 0 3px rgba(217, 237, 114, 0.25);
  margin-right: 6px;
}
.sg-metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.3fr;
  gap: 10px;
  margin-bottom: 18px;
}
.sg-metric-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 14px 12px;
}
.sg-metric-card span {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.5);
  display: block;
  font-family: 'DM Mono', monospace;
}
.sg-metric-card strong {
  display: block;
  font-size: 26px;
  margin: 6px 0 4px;
  font-family: 'DM Serif Display', serif;
  color: #fff;
}
.sg-metric-card small {
  font-size: 9px;
  font-family: 'DM Mono', monospace;
}
.sg-metric-card small.pos { color: var(--sg-lime); }
.sg-metric-card small.urg { color: #f59e0b; }
.sg-console-bars {
  background: rgba(5, 20, 22, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 16px;
}
.sg-bars-head {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 14px;
}
.sg-bars-grid {
  display: flex;
  height: 90px;
  align-items: flex-end;
  justify-content: space-around;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 8px;
}
.sg-bar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 45px;
}
.sg-bar-col .bar {
  width: 12px;
  border-radius: 3px 3px 0 0;
  background: var(--sg-lime);
}
.sg-bar-col .bar-sub {
  width: 12px;
  border-radius: 3px 3px 0 0;
  background: rgba(255, 255, 255, 0.25);
  margin-top: 2px;
}
.sg-bar-col label {
  font-size: 8px;
  color: rgba(255, 255, 255, 0.45);
  font-family: 'DM Mono', monospace;
}

/* --- BANDE DE CONFIANCE --- */
.sg-logo-strip {
  background: #f0ebe2;
  border-bottom: 1px solid var(--sg-line);
  padding: 24px 0;
}
.sg-logo-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.sg-logo-lead {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--sg-muted);
  letter-spacing: 0.08em;
}
.sg-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  color: var(--sg-ink);
  letter-spacing: 0.06em;
}

/* --- SECTIONS GÉNÉRALES --- */
.sg-section {
  padding: 100px 0;
}
.sg-section-sand {
  background: var(--sg-sand);
}
.sg-section-cream {
  background: var(--sg-paper);
}
.sg-section-dark {
  background: var(--sg-navy);
  color: #fff;
}
.sg-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--sg-clay);
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.sg-section h2 {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.1;
  color: var(--sg-ink);
}
.sg-section-dark h2 {
  color: #fff;
}

/* Section Solution (2 colonnes) */
.sg-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.sg-strong-paragraph {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  line-height: 1.4;
  color: var(--sg-ink);
  margin: 20px 0;
}

/* Grille des 11 modules */
.sg-modules-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 50px;
}
@media (max-width: 1024px) {
  .sg-modules-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .sg-modules-grid { grid-template-columns: 1fr; }
}
.sg-module-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--sg-line);
  border-radius: 14px;
  padding: 26px 22px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s, box-shadow 0.25s;
}
.sg-module-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(16, 45, 48, 0.1);
  border-color: #cbd5e1;
}
.sg-module-card:nth-child(3n) { background: #fbf5ee; }
.sg-module-card:nth-child(4n) { background: #eef4e8; }
.sg-module-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.sg-module-num {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--sg-clay);
  font-weight: 700;
}
.sg-module-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--sg-lime);
  color: var(--sg-navy);
  display: grid;
  place-items: center;
  font-size: 18px;
}
.sg-module-card h3 {
  font-size: 21px;
  line-height: 1.2;
  margin-bottom: 10px;
  color: var(--sg-ink);
}
.sg-module-card p {
  font-size: 13px;
  color: var(--sg-muted);
  line-height: 1.55;
  margin: 0;
}

/* Extension réglementaire */
.sg-reg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 30px;
}
.sg-reg-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(16, 45, 48, 0.14);
  border-radius: 14px;
  padding: 24px;
}
.sg-reg-card strong {
  display: block;
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  margin: 12px 0 8px;
}
.sg-reg-card span {
  font-size: 13px;
  color: var(--sg-muted);
}

/* Méthode en 5 étapes */
.sg-steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 50px;
}
@media (max-width: 900px) {
  .sg-steps-grid { grid-template-columns: 1fr; }
}
.sg-step {
  position: relative;
  padding-top: 40px;
}
.sg-step-num {
  position: absolute;
  top: 0;
  left: 0;
  width: 32px;
  height: 32px;
  border: 1px solid var(--sg-clay);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  color: var(--sg-clay);
}
.sg-step h3 {
  font-size: 22px;
  margin-bottom: 8px;
}
.sg-step p {
  font-size: 13px;
  color: var(--sg-muted);
  line-height: 1.5;
}

/* Offres (3 colonnes) */
.sg-offers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 50px;
}
@media (max-width: 900px) {
  .sg-offers-grid { grid-template-columns: 1fr; }
}
.sg-offer-card {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--sg-line);
  border-radius: 16px;
  padding: 32px 28px;
  position: relative;
}
.sg-offer-card.featured {
  background: var(--sg-navy);
  color: #fff;
  border-color: var(--sg-navy);
  box-shadow: 0 20px 50px rgba(16, 45, 48, 0.2);
}
.sg-offer-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid var(--sg-line);
  font-size: 10px;
  font-family: 'DM Mono', monospace;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.sg-offer-card.featured .sg-offer-pill {
  background: var(--sg-lime);
  color: var(--sg-navy);
  border-color: var(--sg-lime);
  font-weight: 700;
}
.sg-offer-card h3 {
  font-size: 30px;
  margin-bottom: 10px;
}
.sg-offer-card ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 30px;
  border-top: 1px solid var(--sg-line);
  padding-top: 20px;
}
.sg-offer-card.featured ul {
  border-color: rgba(255, 255, 255, 0.15);
}
.sg-offer-card li {
  padding: 6px 0;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sg-offer-card li::before {
  content: "✓";
  color: var(--sg-clay);
  font-weight: bold;
}
.sg-offer-card.featured li::before {
  color: var(--sg-lime);
}

/* FAQ Accordion */
.sg-faq-list details {
  border-bottom: 1px solid var(--sg-line);
  padding: 20px 0;
}
.sg-faq-list summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 17px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sg-faq-list summary::-webkit-details-marker { display: none; }
.sg-faq-list summary::after {
  content: "+";
  font-size: 22px;
  color: var(--sg-clay);
}
.sg-faq-list details[open] summary::after {
  content: "−";
}
.sg-faq-list p {
  margin-top: 12px;
  color: var(--sg-muted);
  font-size: 15px;
  line-height: 1.6;
}

/* CTA */
.sg-cta {
  background: var(--sg-navy);
  color: #fff;
  padding: 90px 0;
  text-align: center;
}
.sg-cta h2 {
  font-size: clamp(32px, 4vw, 50px);
  margin-bottom: 18px;
  color: #fff;
}
.sg-cta p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto 30px;
  font-size: 16px;
}

/* FOOTER */
.sg-footer {
  background: var(--sg-navy-dark);
  color: #fff;
  padding: 60px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.sg-footer-main {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  margin-bottom: 50px;
}
@media (max-width: 800px) {
  .sg-footer-main { grid-template-columns: 1fr; gap: 40px; }
}
.sg-footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.sg-footer-links strong {
  display: block;
  color: var(--sg-lime);
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.sg-footer-links a {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  text-decoration: none;
  margin-bottom: 8px;
  transition: color 0.2s;
}
.sg-footer-links a:hover {
  color: #fff;
}
.sg-footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.4);
  font-family: 'DM Mono', monospace;
  font-size: 10px;
}
