/* ============================================================
   CEOS Network — Feuille de style principale
   Palette : #0A0915 (fond) · #121124 (cartes) · #7C40EB (accent) · #FFFFFF (textes)
   ============================================================ */

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

/* ---- Variables ---- */
:root {
  --bg:         #0A0915;
  --bg-card:    #121124;
  --bg-subtle:  #16152A;
  --border:     rgba(255,255,255,0.08);
  --border-md:  rgba(255,255,255,0.14);

  --orange:     #7C40EB;
  --orange-dk:  #6330C9;
  --orange-lt:  #9A63F5;

  --white:      #FFFFFF;
  --text:       #FFFFFF;
  --text-muted: rgba(255,255,255,0.45);
  --text-dim:   rgba(255,255,255,0.25);

  --green:      #22D597;

  --font-head: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'DM Mono', monospace;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- Typography ---- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--white);
}
h1 { font-size: clamp(36px, 6vw, 64px); }
h2 { font-size: clamp(28px, 4vw, 44px); }
h3 { font-size: clamp(20px, 2.5vw, 26px); }
h4 { font-size: 18px; font-weight: 700; }
p  { font-weight: 300; color: var(--text-muted); }
strong { font-weight: 600; color: var(--white); }
em { color: var(--orange); font-style: normal; }

/* ---- Layout ---- */
.container { max-width: 1100px; margin: 0 auto; padding: 0 40px; }
.section    { padding: 80px 0; }

/* ---- Navigation ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}
.nav__logo-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--orange);
}
.nav__links { display: flex; gap: 28px; }
.nav__links a {
  font-size: 14px; font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav__links a:hover,
.nav__links a.active { color: var(--white); }
.nav__cta {
  background: var(--orange);
  color: var(--white) !important;
  font-weight: 600;
  font-size: 13px;
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  transition: background 0.2s !important;
}
.nav__cta:hover { background: var(--orange-dk) !important; }
.nav__burger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.nav__burger span {
  display: block; width: 24px; height: 2px;
  background: var(--white); border-radius: 2px; transition: 0.3s;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600;
  font-size: 14px; padding: 13px 28px;
  border-radius: var(--radius-sm);
  cursor: pointer; transition: 0.2s; border: none;
}
.btn--primary { background: var(--orange); color: var(--white); }
.btn--primary:hover { background: var(--orange-dk); }
.btn--outline {
  background: transparent; color: var(--white);
  border: 1.5px solid var(--border-md);
}
.btn--outline:hover { border-color: rgba(255,255,255,0.4); }

/* ---- Tags / Labels ---- */
.tag {
  display: inline-block;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.06em; padding: 4px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  color: var(--text-muted);
  background: var(--bg-subtle);
}
.label {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.1em; color: var(--orange);
  margin-bottom: 12px; display: block;
}
.label--light { color: var(--text-dim); }

/* ---- Hero ---- */
.hero {
  background: var(--bg); padding: 100px 0 80px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -200px; right: -200px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124,64,235,0.10) 0%, transparent 70%);
  pointer-events: none;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.08em; color: var(--orange);
  border: 1px solid rgba(124,64,235,0.3);
  background: rgba(124,64,235,0.08);
  padding: 6px 14px; border-radius: var(--radius-sm); margin-bottom: 28px;
}
.hero__badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--orange); animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:0.5; transform:scale(0.7); }
}
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero__sub {
  font-size: 18px; color: var(--text-muted);
  max-width: 500px; margin-bottom: 40px;
  font-weight: 300; line-height: 1.7;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__stats {
  display: flex; gap: 48px; margin-top: 60px;
  padding-top: 40px; border-top: 1px solid var(--border); flex-wrap: wrap;
}
.hero__stat-num {
  font-family: var(--font-head); font-size: 24px;
  font-weight: 800; color: var(--white); display: block;
}
.hero__stat-label { font-size: 12px; color: var(--text-dim); letter-spacing: 0.03em; }

/* ---- Ticker ---- */
.ticker {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 12px 0; overflow: hidden; white-space: nowrap;
}
.ticker__inner { display: inline-flex; animation: ticker 24s linear infinite; }
.ticker__item {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--text-dim); padding: 0 32px; letter-spacing: 0.07em;
}
.ticker__sep { color: var(--orange); opacity: 0.5; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---- Section header ---- */
.section-header { margin-bottom: 48px; }
.section-header h2 { margin-bottom: 12px; }
.section-header p { font-size: 17px; max-width: 540px; font-weight: 300; }

/* ---- Services grid ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1px; background: var(--border);
  border: 1px solid var(--border);
  overflow: hidden; border-radius: var(--radius-lg);
}
.service-card {
  background: var(--bg-card); padding: 36px;
  position: relative; transition: background 0.2s;
}
.service-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: var(--orange); opacity: 0; transition: opacity 0.2s;
}
.service-card:hover { background: var(--bg-subtle); }
.service-card:hover::before { opacity: 1; }
.service-card__icon {
  width: 48px; height: 48px; border-radius: var(--radius-md);
  background: rgba(124,64,235,0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 20px;
}
.service-card h3 { font-size: 20px; margin-bottom: 10px; color: var(--white); }
.service-card p { font-size: 14px; line-height: 1.7; margin-bottom: 16px; }
.service-card__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.service-card a {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--orange);
  margin-top: 16px;
}
.service-card a:hover { color: var(--orange-lt); }

/* ---- About ---- */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.about-quote {
  font-size: 18px; font-weight: 600; line-height: 1.6;
  border-left: 3px solid var(--orange);
  padding-left: 20px; margin-top: 28px; color: var(--white);
}
.about-visual {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px;
  display: flex; flex-direction: column; gap: 10px;
}
.about-visual__title {
  font-family: var(--font-mono); font-size: 10px;
  color: var(--text-dim); letter-spacing: 0.1em; margin-bottom: 4px;
}
.infra-line {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono); font-size: 12px;
}
.infra-line__label { color: var(--text-muted); }
.infra-line__status {
  display: flex; align-items: center; gap: 6px;
  color: var(--green); font-size: 11px;
}
.infra-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green); animation: pulse 2.5s infinite;
}

/* ---- Partners ---- */
.partners-section {
  background: var(--bg-card); padding: 60px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.partners-label {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--text-dim); letter-spacing: 0.1em;
  text-align: center; margin-bottom: 32px;
}
.partners-grid {
  display: flex; gap: 12px; flex-wrap: wrap; justify-content: center;
}
.partner-pill {
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 12px 28px; font-size: 14px; font-weight: 500;
  color: var(--text-muted); background: var(--bg-subtle);
  transition: border-color 0.2s, color 0.2s;
}
.partner-pill:hover { border-color: var(--orange); color: var(--white); }

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 28px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color 0.25s, background 0.25s;
  min-width: 140px;
}
.partner-logo img {
  height: 36px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  opacity: 0.5;
  transition: opacity 0.25s;
}
.partner-logo:hover {
  border-color: rgba(124,64,235,0.4);
  background: rgba(124,64,235,0.06);
}
.partner-logo:hover img { opacity: 1; }

/* ---- CTA section ---- */
.cta-section {
  background: var(--bg-card); padding: 100px 0;
  text-align: center; position: relative; overflow: hidden;
  border-top: 1px solid var(--border);
}
.cta-section::before {
  content: ''; position: absolute;
  bottom: -200px; left: 50%; transform: translateX(-50%);
  width: 700px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124,64,235,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section h2 { color: var(--white); margin-bottom: 16px; }
.cta-section p  { color: var(--text-muted); font-size: 18px; max-width: 480px; margin: 0 auto 36px; }
.cta-email {
  font-family: var(--font-mono); font-size: 13px;
  color: var(--text-dim); margin-top: 20px;
}

/* ---- Process / Steps ---- */
.process-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px; background: var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border);
}
.process-step { background: var(--bg-card); padding: 32px; }
.process-step__num {
  font-family: var(--font-head); font-size: 42px;
  font-weight: 800; color: var(--border-md);
  line-height: 1; margin-bottom: 16px;
}
.process-step h4 { margin-bottom: 8px; font-size: 17px; color: var(--white); }
.process-step p  { font-size: 14px; }

/* ---- Page hero (inner pages) ---- */
.page-hero { background: var(--bg-card); padding: 70px 0 60px; border-bottom: 1px solid var(--border); }
.page-hero h1 { color: var(--white); font-size: clamp(30px, 5vw, 52px); margin-bottom: 14px; }
.page-hero p  { color: var(--text-muted); font-size: 17px; max-width: 520px; font-weight: 300; }

/* ---- Contact form ---- */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 60px; align-items: start;
}
.contact-info h3 { margin-bottom: 20px; }
.contact-info p  { font-size: 15px; margin-bottom: 28px; }
.contact-detail {
  display: flex; align-items: flex-start; gap: 12px; margin-bottom: 20px;
}
.contact-detail__icon {
  width: 38px; height: 38px; border-radius: var(--radius-md);
  background: rgba(124,64,235,0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0; margin-top: 2px;
}
.contact-detail__label {
  font-size: 11px; font-weight: 600; color: var(--text-dim);
  letter-spacing: 0.05em; margin-bottom: 2px;
}
.contact-detail__val { font-size: 15px; color: var(--white); font-weight: 500; }
.form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 13px; font-weight: 600;
  color: var(--text-muted); letter-spacing: 0.01em;
}
.form-group input,
.form-group textarea,
.form-group select {
  font-family: var(--font-body); font-size: 15px;
  color: var(--white);
  background: var(--bg-subtle);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px; outline: none;
  transition: border-color 0.2s; width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-dim); }
.form-group select option { background: var(--bg-subtle); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--orange); }
.form-group textarea { resize: vertical; min-height: 140px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---- Features list (infogérance) ---- */
.features-list { display: flex; flex-direction: column; gap: 16px; }
.feature-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 24px; background: var(--bg-card);
  border-radius: var(--radius-md); border: 1px solid var(--border);
  transition: border-color 0.2s;
}
.feature-item:hover { border-color: var(--orange); }
.feature-item__icon {
  width: 42px; height: 42px; border-radius: var(--radius-md);
  background: rgba(124,64,235,0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.feature-item h4 { margin-bottom: 4px; font-size: 16px; color: var(--white); }
.feature-item p  { font-size: 14px; }
.audit-banner {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 40px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.audit-banner h3 { color: var(--white); font-size: 22px; margin-bottom: 6px; }
.audit-banner p  { color: var(--text-muted); font-size: 14px; }

/* ---- Mentions légales ---- */
.legal-content { max-width: 720px; }
.legal-content h3 {
  font-size: 18px; margin: 36px 0 10px;
  border-bottom: 1px solid var(--border); padding-bottom: 8px;
  color: var(--white);
}
.legal-content h3:first-child { margin-top: 0; }
.legal-content p  { font-size: 15px; line-height: 1.8; margin-bottom: 12px; }
.legal-content ul { margin: 10px 0; padding-left: 20px; }
.legal-content ul li { font-size: 15px; color: var(--text-muted); margin-bottom: 6px; list-style: disc; }
.legal-content a { color: var(--orange); }
.legal-content a:hover { text-decoration: underline; }
.legal-meta {
  font-family: var(--font-mono); font-size: 12px;
  color: var(--text-dim); display: flex; gap: 6px; margin-bottom: 6px;
}

/* ---- Footer ---- */
.footer {
  background: var(--bg-card); padding: 60px 0 32px;
  border-top: 1px solid var(--border);
}
.footer__grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer__brand h3 {
  font-size: 17px; color: var(--white); margin-bottom: 10px;
  display: flex; align-items: center; gap: 8px;
}
.footer__brand p { font-size: 14px; color: var(--text-dim); max-width: 260px; line-height: 1.7; }
.footer__col h4 {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.1em; color: var(--text-dim);
  font-weight: 500; margin-bottom: 16px;
}
.footer__col a {
  display: block; font-size: 14px; color: var(--text-muted);
  margin-bottom: 10px; transition: color 0.2s;
}
.footer__col a:hover { color: var(--white); }
.footer__col .footer__email { font-family: var(--font-mono); font-size: 12px; color: var(--orange); }
.footer__bottom {
  border-top: 1px solid var(--border); padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; color: var(--text-dim); font-family: var(--font-mono);
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .container { padding: 0 24px; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .nav__links { display: none; }
  .nav__burger { display: flex; }
}
@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .hero { padding: 70px 0 56px; }
  .hero__stats { gap: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .audit-banner { flex-direction: column; }
}

/* ---- Mobile nav ---- */
.nav__mobile {
  display: none; flex-direction: column;
  background: var(--bg-card); border-top: 1px solid var(--border);
  padding: 16px 24px; gap: 4px;
}
.nav__mobile a {
  font-size: 15px; color: var(--text-muted);
  padding: 10px 0; border-bottom: 1px solid var(--border);
}
.nav__mobile a:hover { color: var(--white); }
.nav__mobile.open { display: flex; }

/* ---- Utility ---- */
.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }  .mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; } .mt-40 { margin-top: 40px; }
.mb-8  { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; } .mb-40 { margin-bottom: 40px; }
