/* ============================================================
   ROUND — Charte graphique (site vitrine)
   Palette reprise du logo ROUND Information System
   (navy + trio teal / bleu / vert du cercle VOIR·CHECKER·VALIDER)
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&display=swap');

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

:root {
  --navy:    #0f1f3d; /* Bleu marine — couleur dominante, texte "ROUND" */
  --navy2:   #0a1730;
  --teal:    #0d9488; /* VOIR */
  --blue:    #2563eb; /* CHECKER */
  --green:   #65a30d; /* VALIDER */
  --soft:    #eef2f7;
  --bg:      #f7f9fb;
  --slate:   #64748b;
  --slate2:  #475569;
  --border:  #e2e8f0;
  --white:   #ffffff;
  --radius:  20px;
  --shadow:  0 16px 40px rgba(15,31,61,.08);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--navy);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; }
img { max-width: 100%; display: block; }

/* Nav */
.rd-nav { display: flex; align-items: center; justify-content: space-between; padding: 18px 40px; background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 40; }
.rd-nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 18px; color: var(--navy); }
.rd-nav-logo-img { width: 30px; height: 30px; object-fit: contain; display: block; }
.rd-nav-links { display: flex; gap: 28px; list-style: none; }
.rd-nav-links a { text-decoration: none; font-weight: 600; font-size: 14px; color: var(--slate2); }
.rd-nav-links a:hover { color: var(--navy); }
.rd-nav-cta { background: var(--navy); color: var(--white); padding: 10px 20px; border-radius: 12px; text-decoration: none; font-weight: 700; font-size: 14px; }

/* Hero */
.rd-hero { padding: 70px 40px 50px; max-width: 1100px; margin: 0 auto; text-align: center; }
.rd-tag { display: inline-flex; align-items: center; gap: 6px; background: var(--soft); color: var(--navy); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 6px 16px; border-radius: 20px; margin-bottom: 20px; }
.rd-tag.soon { background: #fef3c7; color: #b45309; }
.rd-hero h1 { font-size: clamp(28px, 4.4vw, 44px); font-weight: 800; letter-spacing: -.02em; margin-bottom: 18px; }
.rd-hero h1 span { color: var(--blue); }
.rd-hero-sub { font-size: 17px; color: var(--slate2); max-width: 680px; margin: 0 auto 30px; }
.rd-cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 34px; }
.rd-btn-primary { background: var(--navy); color: var(--white); padding: 14px 26px; border-radius: 14px; text-decoration: none; font-weight: 700; font-size: 15px; border: none; cursor: pointer; }
.rd-btn-secondary { background: var(--white); color: var(--navy); padding: 14px 26px; border-radius: 14px; text-decoration: none; font-weight: 700; font-size: 15px; border: 1px solid var(--border); cursor: pointer; }

/* Trio VOIR / CHECKER / VALIDER */
.rd-loop { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; margin: 0 auto; }
.rd-loop-step { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.rd-loop-dot { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 15px; color: var(--white); }
.rd-loop-arrow { color: var(--slate); font-size: 16px; }

/* Sections */
.rd-section { padding: 60px 40px; }
.rd-section-inner { max-width: 1100px; margin: 0 auto; }
.rd-section-head { text-align: center; max-width: 700px; margin: 0 auto 40px; }
.rd-section-title { font-size: clamp(22px, 3vw, 32px); font-weight: 800; margin-bottom: 12px; }
.rd-section-sub { color: var(--slate2); font-size: 15px; }
.rd-bg-soft { background: var(--white); }

/* Cards */
.rd-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.rd-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.rd-card-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 14px; }
.rd-card-title { font-weight: 800; font-size: 16px; margin-bottom: 8px; }
.rd-card-desc { font-size: 13.5px; color: var(--slate2); }

/* Flux automatique */
.rd-flow { display: flex; flex-direction: column; gap: 0; max-width: 620px; margin: 0 auto; }
.rd-flow-step { display: flex; align-items: flex-start; gap: 16px; padding: 14px 0; }
.rd-flow-num { width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; background: var(--soft); color: var(--navy); font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.rd-flow-text { font-size: 14.5px; color: var(--slate2); padding-top: 4px; }
.rd-flow-text b { color: var(--navy); }
.rd-flow-line { width: 2px; height: 20px; background: var(--border); margin-left: 15px; }

/* Deux univers PC / mobile */
.rd-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.rd-split-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.rd-split-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 12px; }
.rd-split-card ul { list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--slate2); }
.rd-split-card ul li::before { content: '— '; color: var(--slate); }

/* Bandeau bientôt disponible */
.rd-soon-banner { background: var(--navy); color: var(--white); text-align: center; padding: 34px 20px; border-radius: var(--radius); }
.rd-soon-banner h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.rd-soon-banner p { font-size: 14px; color: rgba(255,255,255,.75); max-width: 520px; margin: 0 auto 18px; }

/* Footer */
.rd-footer { background: var(--navy); color: rgba(255,255,255,.75); padding: 40px; text-align: center; font-size: 13px; }
.rd-footer a { color: rgba(255,255,255,.9); }
.rd-footer-links { display: flex; gap: 20px; justify-content: center; margin-bottom: 16px; flex-wrap: wrap; }

@media (max-width: 760px) {
  .rd-nav-links { display: none; }
  .rd-nav { padding: 14px 20px; }
  .rd-hero { padding: 46px 20px 36px; }
  .rd-section { padding: 40px 20px; }
}
