/* ADMITEC — feuille de style
   Palette dérivée du logo : encre #1A1A1A, accent #FF3D00, acier #6B6B6B
*/

:root{
  --paper: #FAFAF9;
  --paper-alt: #F2F1ED;
  --ink: #1A1A1A;
  --ink-soft: #3A3A38;
  --steel: #6B6B6B;
  --steel-light: #9E9E9E;
  --accent: #FF3D00;
  --accent-ink: #C22F00;
  --deep: #141414;
  --deep-ink: #EDEBE6;
  --hairline: #E1DFDA;
  --hairline-deep: #2A2A28;

  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;

  --max: 1140px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body{
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; }

.wrap{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}
@media (max-width: 480px){
  .wrap{ padding: 0 18px; }
  .site-header .wrap{ height: 68px; }
  .header-cta{ padding: 9px 14px; font-size: 12px; }
  .brand img{ height: 18px; }
}

.eyebrow{
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before{
  content: "";
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid var(--accent);
  display: inline-block;
}

h1, h2, h3{
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.08;
  margin: 0;
}

/* ---------- Header ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250,250,249,0.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--hairline);
}
.site-header .wrap{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.brand img{ height: 22px; width: auto; }
.header-cta{
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  padding: 11px 20px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.header-cta:hover{ background: var(--ink); color: var(--paper); }
.header-cta:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---------- Hero ---------- */
.hero{
  padding: 68px 0 60px;
}
.hero-grid{
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero .eyebrow{ margin-bottom: 22px; }
.hero h1{
  font-size: clamp(2.2rem, 4.2vw, 3.3rem);
  max-width: 15ch;
}
.hero h1 em{
  font-style: normal;
  color: var(--accent);
}
.hero-sub{
  margin: 20px 0 0;
  max-width: 46ch;
  font-size: 1.06rem;
  color: var(--ink-soft);
}
.hero-actions{
  margin-top: 30px;
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}
.btn{
  font-family: var(--mono);
  font-size: 13.5px;
  letter-spacing: 0.03em;
  text-decoration: none;
  padding: 15px 26px;
  border-radius: 2px;
  display: inline-block;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary{
  background: var(--ink);
  color: var(--paper);
}
.btn-primary:hover{ background: var(--accent); transform: translateY(-1px); }
.btn-ghost{
  color: var(--ink);
  border-bottom: 1px solid var(--steel-light);
  padding: 15px 2px;
}
.btn-ghost:hover{ border-color: var(--ink); }

/* Signature: vertical route visual */
.hero-visual{
  position: relative;
  padding: 6px 0 6px 0;
}
.visual-track{
  position: absolute;
  left: 27px;
  top: 30px;
  bottom: 30px;
  width: 0;
  border-left: 2px dashed var(--steel-light);
}
.visual-node{
  position: relative;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.visual-node + .visual-node{ margin-top: 30px; }
.visual-node.is-shift{ margin-left: 44px; }
.visual-dot{
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  color: var(--accent);
}
.visual-dot svg{ width: 22px; height: 22px; }
.visual-node.is-admitec .visual-dot{
  background: var(--ink);
  border-color: var(--ink);
  color: var(--accent);
  width: 64px;
  height: 64px;
}
.visual-body{ padding-top: 10px; }
.visual-body .vlabel{
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--steel);
}
.visual-body .vname{
  margin-top: 4px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.12rem;
}
.visual-node.is-admitec .visual-body .vname{ color: var(--ink); }

@media (max-width: 900px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-visual{ margin-top: 44px; max-width: 420px; }
}

/* ---------- Section shell ---------- */
section{ padding: 72px 0; }
.section-head{ max-width: 60ch; }
.section-head h2{
  margin-top: 18px;
  font-size: clamp(1.6rem, 2.8vw, 2.15rem);
}
.section-head p{
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 1.02rem;
  max-width: 52ch;
}

/* ---------- Activité (services) ---------- */
.activite{ background: var(--paper-alt); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.service-grid{
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hairline);
}
.service-card{
  background: var(--paper-alt);
  padding: 30px 28px 32px;
}
.service-icon{
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 16px;
}
.service-icon svg{ width: 20px; height: 20px; }
.service-card .tag{
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--accent-ink);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.service-card h3{
  margin-top: 10px;
  font-size: 1.15rem;
  font-weight: 800;
}
.service-card p{
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 0.98rem;
}
@media (max-width: 820px){
  .service-grid{ grid-template-columns: 1fr; }
}

/* ---------- Approche (timeline) ---------- */
.approche{ background: var(--paper); }
.steps{
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}
.step{ position: relative; }
.step .badge{
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--accent);
  font-family: var(--mono);
  font-weight: 500;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.step .stepname{
  font-family: var(--mono);
  font-size: 12px;
  color: var(--steel);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.step h3{
  margin-top: 8px;
  font-size: 1.12rem;
  font-weight: 800;
}
.step p{
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 0.97rem;
}
@media (max-width: 820px){
  .steps{ grid-template-columns: 1fr; gap: 30px; }
}

/* ---------- Note (précision statut) ---------- */
.note{
  margin-top: 40px;
  padding: 20px 24px;
  border-left: 2px solid var(--accent);
  background: var(--paper-alt);
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.note strong{ color: var(--ink); }

/* ---------- Contact ---------- */
.contact{ background: var(--deep); color: var(--deep-ink); }
.contact .eyebrow{ color: var(--accent); }
.contact .eyebrow::before{ background: var(--accent); }
.contact-grid{
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
}
.contact-intro h2{ color: var(--deep-ink); font-size: clamp(1.6rem, 2.8vw, 2.1rem); }
.contact-intro p{ margin-top: 18px; color: #B9B7B1; max-width: 42ch; }
.contact-email{
  margin-top: 30px;
  display: inline-block;
  font-family: var(--mono);
  font-size: 1.02rem;
  color: var(--deep-ink);
  text-decoration: none;
  border-bottom: 1px solid var(--hairline-deep);
  padding-bottom: 4px;
}
.contact-email:hover{ border-color: var(--accent); color: var(--accent); }

.field{ margin-bottom: 20px; }
.field label{
  display: block;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #A9A7A1;
  margin-bottom: 8px;
}
.field input, .field textarea{
  width: 100%;
  background: transparent;
  border: 1px solid var(--hairline-deep);
  border-radius: 2px;
  color: var(--deep-ink);
  font-family: var(--body);
  font-size: 1rem;
  padding: 13px 14px;
  transition: border-color 0.15s ease;
}
.field input:focus, .field textarea:focus{ border-color: var(--accent); outline: none; }
.field textarea{ resize: vertical; min-height: 120px; }
.hp{ position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.submit-row{ display: flex; align-items: center; gap: 20px; margin-top: 10px; }
.submit-row .btn-primary{ background: var(--accent); color: #17110D; }
.submit-row .btn-primary:hover{ background: #FF6640; }
.form-note{ font-size: 0.86rem; color: #8F8D88; }

@media (max-width: 820px){
  .contact-grid{ grid-template-columns: 1fr; gap: 40px; }
}

/* ---------- Footer ---------- */
.site-footer{
  background: var(--deep);
  color: #8F8D88;
  border-top: 1px solid var(--hairline-deep);
  padding: 34px 0;
  font-size: 0.88rem;
}
.footer-row{
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-brand{
  font-family: var(--mono);
  color: #B9B7B1;
  letter-spacing: 0.04em;
}
.footer-links a{
  text-decoration: none;
  color: #8F8D88;
  margin-left: 24px;
}
.footer-links a:hover{ color: var(--accent); }
