/* SCIMS consulting — Site statique sans dépendance externe */
:root {
  --navy-950: #030b18;
  --navy-900: #07152d;
  --navy-800: #0b2248;
  --navy-700: #12366d;
  --blue-600: #0969e8;
  --blue-500: #1682ff;
  --blue-300: #7dbbff;
  --steel-100: #eef3f8;
  --steel-200: #d8e1eb;
  --steel-400: #8798aa;
  --steel-600: #536579;
  --text: #0c1c31;
  --muted: #5e6b7a;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(3, 18, 45, 0.14);
  --radius-lg: 28px;
  --radius-md: 18px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, .button, a { -webkit-tap-highlight-color: transparent; }

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}
.section { padding: 104px 0; }
.section-heading {
  max-width: 760px;
  margin: 0 auto 52px;
  text-align: center;
}
.section-heading.left { margin-inline: 0; text-align: left; }
.section-heading h2,
.contact-intro h2,
.principles-panel h2 {
  margin: 0 0 18px;
  color: var(--navy-900);
  font-size: clamp(2rem, 4vw, 3.55rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}
.section-heading p,
.contact-intro > p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}
.eyebrow,
.mini-label,
.card-kicker {
  margin: 0 0 16px;
  color: var(--blue-600);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--white);
  color: var(--navy-900);
  box-shadow: var(--shadow);
}
.skip-link:focus { transform: translateY(0); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid rgba(12, 36, 72, .08);
  backdrop-filter: blur(18px);
}
.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand { display: block; width: min(250px, 49vw); }
.brand img { width: 100%; height: auto; }
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #203047;
  font-size: .94rem;
  font-weight: 700;
}
.main-nav a { position: relative; }
.main-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: -9px;
  height: 2px;
  background: var(--blue-600);
  transition: right .25s ease;
}
.main-nav a:hover::after,
.main-nav a:focus-visible::after { right: 0; }
.nav-cta {
  padding: 12px 17px;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-600), #054cae);
  box-shadow: 0 10px 26px rgba(9, 105, 232, .24);
}
.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  padding: 10px;
  border: 0;
  border-radius: 11px;
  background: var(--steel-100);
}
.menu-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--navy-900);
  transition: transform .25s, opacity .25s;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  display: grid;
  align-items: center;
  color: var(--white);
  background:
    radial-gradient(circle at 85% 15%, rgba(25, 132, 255, .35), transparent 28%),
    radial-gradient(circle at 5% 80%, rgba(52, 117, 205, .18), transparent 30%),
    linear-gradient(135deg, #020914 0%, #07152d 52%, #0a2854 100%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  opacity: .18;
  background-image:
    linear-gradient(rgba(255,255,255,.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.10) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.85), transparent 96%);
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(122, 188, 255, .18);
}
.hero::before { width: 520px; height: 520px; right: -160px; top: 70px; }
.hero::after { width: 310px; height: 310px; right: 40px; top: 175px; }
.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, .75fr);
  align-items: center;
  gap: 72px;
  padding-top: 72px;
  padding-bottom: 72px;
}
.hero .eyebrow { color: var(--blue-300); }
.hero h1 {
  max-width: 780px;
  margin: 0 0 26px;
  font-size: clamp(3.1rem, 7vw, 6.7rem);
  line-height: .94;
  letter-spacing: -.065em;
}
.hero h1 span {
  color: transparent;
  background: linear-gradient(90deg, #82c4ff, #1682ff 50%, #9fd2ff);
  -webkit-background-clip: text;
  background-clip: text;
}
.hero-lead {
  max-width: 700px;
  margin: 0;
  color: #c7d5e6;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-500), #075cc8);
  box-shadow: 0 16px 36px rgba(9, 105, 232, .3);
}
.button-secondary {
  color: var(--white);
  border-color: rgba(255,255,255,.2);
  background: rgba(255,255,255,.07);
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 32px;
}
.hero-trust span {
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 999px;
  color: #dce8f5;
  background: rgba(255,255,255,.045);
  font-size: .84rem;
}
.hero-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.08);
  box-shadow: 0 35px 80px rgba(0,0,0,.26);
  backdrop-filter: blur(18px);
}
.logo-stage {
  padding: 24px;
  background: linear-gradient(145deg, rgba(255,255,255,.99), rgba(233,241,249,.96));
}
.logo-stage img { max-height: 340px; margin: auto; object-fit: contain; }
.hero-card-body { padding: 28px 30px 32px; }
.hero-card-body h2 {
  margin: 0 0 10px;
  font-size: 1.6rem;
  line-height: 1.2;
}
.hero-card-body p:last-child { margin: 0; color: #c7d5e6; }
.hero-card .mini-label { color: #8dc7ff; }

/* Cards */
.cards { display: grid; gap: 24px; }
.three-columns { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service-card {
  position: relative;
  min-height: 510px;
  padding: 34px;
  overflow: hidden;
  border: 1px solid var(--steel-200);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 14px 40px rgba(6, 30, 65, .07);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card::after {
  content: "";
  position: absolute;
  width: 170px; height: 170px;
  right: -80px; top: -80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 128, 255, .12), transparent 70%);
}
.service-card:hover {
  transform: translateY(-7px);
  border-color: #a9cdf6;
  box-shadow: var(--shadow);
}
.service-icon {
  width: 66px; height: 66px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border: 1px solid #b9d8fb;
  border-radius: 18px;
  color: var(--blue-600);
  background: linear-gradient(145deg, #fff, #e7f2ff);
  box-shadow: inset 0 0 0 5px rgba(255,255,255,.65), 0 12px 26px rgba(20, 90, 180, .12);
  font-size: 1.35rem;
  font-weight: 900;
}
.gear-icon { font-size: 2rem; }
.ai-icon { letter-spacing: -.08em; }
.service-card h3 {
  margin: 0 0 14px;
  color: var(--navy-900);
  font-size: 1.55rem;
}
.service-card > p:not(.card-kicker) { color: var(--muted); }
.service-card ul {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.service-card li {
  position: relative;
  padding: 8px 0 8px 26px;
  color: #35465a;
}
.service-card li::before {
  content: "";
  position: absolute;
  left: 0; top: 17px;
  width: 9px; height: 9px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--blue-500), #0b4da7);
  transform: rotate(45deg);
}

/* Expertise */
.expertise { background: var(--steel-100); }
.expertise-layout {
  display: grid;
  grid-template-columns: .85fr 1.45fr;
  gap: 78px;
  align-items: start;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  color: var(--blue-600);
  font-weight: 800;
}
.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid #cfd9e4;
  border-left: 1px solid #cfd9e4;
}
.capability {
  min-height: 230px;
  padding: 30px;
  border-right: 1px solid #cfd9e4;
  border-bottom: 1px solid #cfd9e4;
  background: rgba(255,255,255,.55);
}
.capability > span {
  display: inline-block;
  margin-bottom: 35px;
  color: var(--blue-600);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .15em;
}
.capability h3 { margin: 0 0 8px; font-size: 1.24rem; }
.capability p { margin: 0; color: var(--muted); }

/* Method */
.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.steps li {
  position: relative;
  min-height: 270px;
  padding: 28px 26px;
  border-top: 1px solid var(--steel-200);
  border-bottom: 1px solid var(--steel-200);
}
.steps li + li { border-left: 1px solid var(--steel-200); }
.steps li::before {
  content: "";
  position: absolute;
  left: 0; top: -2px;
  width: 0; height: 3px;
  background: var(--blue-600);
  transition: width .35s ease;
}
.steps li:hover::before { width: 100%; }
.step-number {
  display: block;
  margin-bottom: 60px;
  color: var(--blue-600);
  font-weight: 900;
  letter-spacing: .14em;
}
.steps h3 { margin: 0 0 12px; font-size: 1.24rem; }
.steps p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Principles */
.principles { padding-top: 0; }
.principles-panel {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 70px;
  padding: 62px;
  border-radius: var(--radius-lg);
  color: var(--white);
  background:
    radial-gradient(circle at 95% 0%, rgba(35, 137, 255, .35), transparent 35%),
    linear-gradient(135deg, var(--navy-950), var(--navy-800));
  box-shadow: var(--shadow);
}
.principles-panel h2 { color: var(--white); }
.principles-panel .eyebrow { color: var(--blue-300); }
.principle-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.principle-list strong { display: block; font-size: 1.15rem; }
.principle-list p { margin: 8px 0 0; color: #b9c9da; }

/* About */
.about { background: #f8fafc; }
.about-layout {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 82px;
  align-items: center;
}
.about-visual {
  padding: 28px;
  border: 1px solid var(--steel-200);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}
.company-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 34px;
}
.company-facts div {
  padding: 18px;
  border: 1px solid var(--steel-200);
  border-radius: 14px;
  background: var(--white);
}
.company-facts span { display: block; color: var(--muted); font-size: .8rem; }
.company-facts strong { display: block; margin-top: 3px; color: var(--navy-900); }

/* FAQ */
.faq-layout {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 90px;
}
.accordion details {
  border-top: 1px solid var(--steel-200);
}
.accordion details:last-child { border-bottom: 1px solid var(--steel-200); }
.accordion summary {
  position: relative;
  padding: 24px 46px 24px 0;
  color: var(--navy-900);
  font-size: 1.08rem;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  color: var(--blue-600);
  font-size: 1.55rem;
  font-weight: 400;
}
.accordion details[open] summary::after { content: "−"; }
.accordion details p { margin: 0; padding: 0 42px 24px 0; color: var(--muted); }

/* Contact */
.contact {
  color: var(--white);
  background:
    radial-gradient(circle at 0 0, rgba(29, 131, 255, .28), transparent 32%),
    linear-gradient(145deg, #061326, #0a2b59);
}
.contact-layout {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.contact .eyebrow { color: var(--blue-300); }
.contact-intro h2 { color: var(--white); }
.contact-intro > p { color: #bccbdd; }
.contact-points { display: grid; gap: 10px; margin-top: 30px; }
.contact-points span {
  position: relative;
  padding-left: 24px;
  color: #d8e5f4;
}
.contact-points span::before {
  content: "";
  position: absolute;
  left: 0; top: .7em;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--blue-500);
  box-shadow: 0 0 0 5px rgba(22, 130, 255, .13);
}
.contact-form {
  padding: 34px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.07);
  box-shadow: 0 28px 70px rgba(0,0,0,.20);
  backdrop-filter: blur(14px);
}
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.contact-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 17px;
  color: #e9f1fa;
  font-size: .9rem;
  font-weight: 700;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px;
  outline: none;
  color: var(--white);
  background: rgba(2, 14, 31, .62);
  transition: border-color .2s, box-shadow .2s;
}
.contact-form input,
.contact-form select { height: 49px; padding: 0 14px; }
.contact-form textarea { padding: 13px 14px; resize: vertical; }
.contact-form select option { color: var(--text); background: var(--white); }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #67b2ff;
  box-shadow: 0 0 0 4px rgba(22,130,255,.18);
}
.consent { grid-template-columns: 20px 1fr !important; align-items: start; font-weight: 400 !important; }
.consent input { width: 18px; height: 18px; margin-top: 3px; }
.honeypot { position: absolute !important; left: -9999px !important; }
.submit-button { border: 0; }
.form-status { min-height: 24px; margin: 14px 0 0; color: #cfe6ff; }

/* Footer */
.site-footer {
  padding: 66px 0 24px;
  color: #bdc9d8;
  background: var(--navy-950);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr .65fr .65fr;
  gap: 70px;
  padding-bottom: 48px;
}
.footer-brand img {
  width: min(290px, 100%);
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--white);
}
.footer-brand p { max-width: 420px; }
.site-footer h2 {
  margin: 0 0 15px;
  color: var(--white);
  font-size: .96rem;
}
.site-footer a { display: block; margin: 9px 0; }
.site-footer a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.11);
  font-size: .84rem;
}

/* Inner legal pages */
.inner-page {
  min-height: 60vh;
  padding: 90px 0 110px;
  background: #f7f9fc;
}
.inner-page article {
  max-width: 860px;
  margin: auto;
  padding: 46px;
  border: 1px solid var(--steel-200);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 18px 50px rgba(5, 30, 65, .07);
}
.inner-page h1 {
  margin-top: 0;
  color: var(--navy-900);
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -.045em;
}
.inner-page h2 { margin-top: 36px; color: var(--navy-900); }
.inner-page p, .inner-page li { color: #46576a; }
.notice {
  padding: 16px 18px;
  border-left: 4px solid var(--blue-600);
  border-radius: 8px;
  background: #eef6ff;
}
.back-link { display: inline-flex; margin-top: 24px; color: var(--blue-600); font-weight: 800; }

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1040px) {
  .main-nav { gap: 18px; }
  .hero-content { grid-template-columns: 1fr .72fr; gap: 38px; }
  .three-columns { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .expertise-layout,
  .about-layout,
  .faq-layout,
  .contact-layout { grid-template-columns: 1fr; gap: 48px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li { border: 1px solid var(--steel-200); }
  .principles-panel { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .section { padding: 80px 0; }
  .menu-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0; right: 0;
    display: grid;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 18px 35px rgba(0,0,0,.10);
    transition: max-height .3s ease, padding .3s ease;
  }
  .main-nav.open { max-height: 420px; padding-top: 16px; padding-bottom: 20px; }
  .main-nav a { padding: 13px 4px; }
  .main-nav a:not(.nav-cta)::after { display: none; }
  .nav-cta { margin-top: 8px; text-align: center; }
  .hero { min-height: auto; }
  .hero-content { grid-template-columns: 1fr; padding-top: 82px; padding-bottom: 82px; }
  .hero-card { max-width: 560px; }
  .capability-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps li { min-height: 0; }
  .step-number { margin-bottom: 26px; }
  .principles-panel { padding: 38px 26px; }
  .company-facts { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .header-inner { min-height: 72px; }
  .brand { width: 210px; }
  .hero h1 { font-size: clamp(2.75rem, 15vw, 4.2rem); }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .service-card { padding: 28px 24px; }
  .principle-list,
  .form-grid,
  .footer-top { grid-template-columns: 1fr; }
  .contact-form { padding: 24px 18px; }
  .inner-page article { padding: 28px 22px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { display: block; }
}
