/* === NEWSEC — STYLE === */
:root {
  --bg: #080c10;
  --bg2: #0d1318;
  --bg3: #111920;
  --surface: #141e28;
  --border: #1e2d3d;
  --accent: #00e5a0;
  --accent2: #0077ff;
  --red: #ff3b3b;
  --text: #c8d8e8;
  --text-muted: #5a7a96;
  --white: #f0f8ff;
  --font-display: 'Syne', sans-serif;
  --font-mono: 'Space Mono', monospace;
  --radius: 4px;
  --transition: 0.25s cubic-bezier(0.4,0,0.2,1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

/* TYPOGRAPHY */
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.1; color: var(--white); }
h1 { font-size: clamp(2.6rem, 6vw, 5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); letter-spacing: -0.02em; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { color: var(--text); }
a { color: inherit; text-decoration: none; }

.label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: block;
}
.accent { color: var(--accent); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* BUTTONS */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #000;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  transition: all var(--transition);
  border: 2px solid var(--accent);
}
.btn-primary:hover { background: transparent; color: var(--accent); }
.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-large { padding: 1.1rem 2.8rem; font-size: 0.9rem; }
.btn-full { width: 100%; text-align: center; }
.btn-urgence {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius);
  margin-top: 0.5rem;
  transition: all var(--transition);
}
.btn-urgence:hover { opacity: 0.85; }

/* NAV */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
  padding: 1.2rem 0;
}
#navbar.scrolled {
  background: rgba(8,12,16,0.95);
  backdrop-filter: blur(12px);
  border-color: var(--border);
  padding: 0.8rem 0;
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 800;
  color: var(--white); letter-spacing: -0.02em;
}
.logo span { color: var(--accent); }
.nav-links { list-style: none; display: flex; align-items: center; gap: 2rem; }
.nav-links a { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); transition: color var(--transition); }
.nav-links a:hover { color: var(--white); }
.btn-nav {
  border: 1px solid var(--accent) !important;
  color: var(--accent) !important;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius);
}
.btn-nav:hover { background: var(--accent); color: #000 !important; }
.burger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 4px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 1px; transition: all 0.3s; }

/* HERO */
#hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 8rem 2rem 4rem;
  max-width: 1200px; margin: 0 auto;
  position: relative; gap: 4rem;
}
.hero-grid-bg {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    linear-gradient(rgba(0,229,160,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,229,160,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none; z-index: -1;
}
.hero-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem; color: var(--accent);
  letter-spacing: 0.15em; margin-bottom: 1.2rem;
  opacity: 0; animation: fadeUp 0.6s ease 0.2s forwards;
}
.hero-content h1 { opacity: 0; animation: fadeUp 0.7s ease 0.35s forwards; }
.hero-sub {
  margin-top: 1.5rem; font-size: 1.05rem; color: var(--text);
  max-width: 500px; line-height: 1.7;
  opacity: 0; animation: fadeUp 0.7s ease 0.5s forwards;
}
.hero-cta {
  display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2.5rem;
  opacity: 0; animation: fadeUp 0.7s ease 0.65s forwards;
}
.scroll-hint {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-muted);
  letter-spacing: 0.15em; animation: bounce 2s ease infinite;
}

/* HEX GRID */
.hero-visual {
  display: flex; align-items: center; justify-content: center;
  opacity: 0; animation: fadeIn 1s ease 0.8s forwards;
}
.hexgrid {
  display: grid;
  grid-template-columns: repeat(3, 110px);
  grid-template-rows: repeat(2, 110px);
  gap: 12px;
}
.hex {
  width: 110px; height: 110px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s ease; cursor: default;
  animation: hexPulse 4s ease infinite;
}
.hex:nth-child(1){ animation-delay:0s; }
.hex:nth-child(2){ animation-delay:0.5s; }
.hex:nth-child(3){ animation-delay:1s; }
.hex:nth-child(4){ animation-delay:1.5s; }
.hex:nth-child(5){ animation-delay:2s; }
.hex:nth-child(6){ animation-delay:2.5s; }
.hex:hover { background: rgba(0,229,160,0.1); transform: scale(1.05); }
.hex-in { text-align: center; }
.hex-icon { font-size: 1.8rem; display: block; }
.hex small { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.1em; color: var(--text-muted); text-transform: uppercase; }

/* STATS TICKER */
.stats-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden; padding: 1rem 0;
}
.stats-track {
  display: flex; white-space: nowrap;
  animation: ticker 25s linear infinite;
}
.stat-item {
  font-family: var(--font-mono); font-size: 0.78rem;
  color: var(--text-muted); padding: 0 2rem;
}
.stat-item strong { color: var(--accent); }
.sep { color: var(--border); font-size: 1.2rem; line-height: 1; }

/* ABOUT STRIP */
.about-strip { padding: 7rem 0; background: var(--bg2); }
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-text h2 { margin-bottom: 1.2rem; }
.about-text p { margin-bottom: 1rem; color: var(--text); line-height: 1.8; }
.about-text .btn-primary { margin-top: 1.5rem; }
.about-metrics {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
}
.metric {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  transition: border-color var(--transition);
}
.metric:hover { border-color: var(--accent); }
.metric .num {
  font-family: var(--font-display);
  font-size: 2.2rem; font-weight: 800;
  color: var(--accent); display: block; line-height: 1;
}
.metric span:last-child { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-top: 0.4rem; display: block; }

/* SERVICES OFFENSIFS */
.services-section { padding: 7rem 0; }
.section-header { margin-bottom: 4rem; }
.section-header.light h2 { color: var(--white); }
.section-desc { max-width: 560px; margin-top: 1rem; color: var(--text-muted); }
.cards-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all var(--transition);
  position: relative; overflow: hidden;
}
.card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s ease;
}
.card:hover { border-color: var(--accent); transform: translateY(-2px); }
.card:hover::before { transform: scaleX(1); }
.card-num {
  font-family: var(--font-mono); font-size: 0.7rem; color: var(--accent);
  letter-spacing: 0.15em; margin-bottom: 1rem; opacity: 0.6;
}
.card h3 { margin-bottom: 0.75rem; }
.card p { color: var(--text); font-size: 0.92rem; margin-bottom: 1.2rem; }
.card ul { list-style: none; }
.card ul li { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; color: var(--text-muted); padding: 0.3rem 0; border-bottom: 1px solid var(--border); }
.card ul li::before { content: '→ '; color: var(--accent); }
.card ul li:last-child { border-bottom: none; }

/* DEFENSIVE */
.defensive-section {
  padding: 7rem 0;
  background: var(--bg3);
  position: relative; overflow: hidden;
}
.defensive-section::before {
  content: '';
  position: absolute; top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,119,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.def-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.def-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all var(--transition);
}
.def-card:hover { border-color: var(--accent2); transform: translateY(-3px); }
.def-icon { font-size: 1.8rem; margin-bottom: 1rem; display: block; }
.def-card h3 { margin-bottom: 0.6rem; font-size: 1.05rem; }
.def-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; }

/* GRC */
.grc-section { padding: 7rem 0; }
.grc-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.grc-text h2 { margin-bottom: 1.2rem; }
.grc-text > p { color: var(--text); margin-bottom: 2rem; }
.grc-items { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 2.5rem; }
.grc-item {
  border-left: 2px solid var(--accent);
  padding-left: 1.2rem;
}
.grc-item strong { color: var(--white); font-family: var(--font-display); }
.grc-item p { font-size: 0.88rem; color: var(--text-muted); margin-top: 0.3rem; }
.compliance-badges {
  display: flex; flex-wrap: wrap; gap: 0.75rem;
  padding-top: 1rem;
}
.badge {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em;
  text-transform: uppercase; padding: 0.5rem 1rem;
  border: 1px solid var(--accent); border-radius: 2px;
  color: var(--accent);
  background: rgba(0,229,160,0.04);
  transition: all var(--transition);
}
.badge:hover { background: var(--accent); color: #000; }

/* CTA BAND */
.cta-band {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 5rem 0; text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(0,229,160,0.04) 0%, transparent 60%);
  pointer-events: none;
}
.cta-band h2 { margin-bottom: 1rem; }
.cta-band p { color: var(--text-muted); max-width: 500px; margin: 0 auto 2rem; }

/* CONTACT */
.contact-section { padding: 7rem 0; background: var(--bg2); }
.contact-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 5rem; }
.contact-info h2 { margin-bottom: 1.2rem; }
.contact-info > p { color: var(--text); margin-bottom: 2rem; }
.contact-details { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2.5rem; }
.cdet { font-family: var(--font-mono); font-size: 0.82rem; color: var(--text-muted); display: flex; gap: 0.8rem; align-items: center; }
.cdet a { color: var(--text); transition: color var(--transition); }
.cdet a:hover { color: var(--accent); }
.urgence-box {
  background: rgba(255,59,59,0.07);
  border: 1px solid rgba(255,59,59,0.25);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.urgence-box strong { color: var(--red); font-family: var(--font-display); }
.urgence-box p { font-size: 0.85rem; color: var(--text-muted); margin: 0.5rem 0 0.8rem; }

/* FORM */
.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.92rem;
  transition: border-color var(--transition);
  outline: none;
}
.form-group select option { background: var(--bg2); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--accent); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); font-size: 0.85rem; }
.form-success {
  background: rgba(0,229,160,0.1);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 1rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  text-align: center;
}

/* FOOTER */
footer {
  background: #050810;
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}
.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}
.footer-brand .logo { font-size: 1.6rem; }
.footer-brand p { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.8rem; line-height: 1.7; }
.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links strong { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--white); margin-bottom: 0.3rem; }
.footer-links a { font-size: 0.85rem; color: var(--text-muted); transition: color var(--transition); }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { text-align: center; padding-top: 2rem; }
.footer-bottom p { font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-muted); letter-spacing: 0.05em; }

/* ANIMATIONS */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(6px); }
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes hexPulse {
  0%,100% { opacity: 1; }
  50%      { opacity: 0.6; }
}

/* SCROLL REVEAL */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.7s cubic-bezier(0.4,0,0.2,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 900px) {
  #hero { grid-template-columns: 1fr; text-align: center; }
  .hero-visual { display: none; }
  .hero-cta { justify-content: center; }
  .hero-sub { margin: 1.5rem auto 0; }
  .about-inner { grid-template-columns: 1fr; gap: 3rem; }
  .cards-grid { grid-template-columns: 1fr; }
  .def-grid { grid-template-columns: 1fr 1fr; }
  .grc-inner { grid-template-columns: 1fr; gap: 3rem; }
  .contact-inner { grid-template-columns: 1fr; gap: 3rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 640px) {
  .nav-links { display: none; flex-direction: column; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--bg); align-items: center; justify-content: center; gap: 2rem; z-index: 99; }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1rem; }
  .burger { display: flex; z-index: 101; position: relative; }
  .def-grid { grid-template-columns: 1fr; }
  .about-metrics { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hexgrid { grid-template-columns: repeat(3, 90px); grid-template-rows: repeat(2, 90px); }
  .hex { width: 90px; height: 90px; }
}
