/* IXXOS Business IT — feuille de style */
/* Polices hébergées localement (SIL Open Font License) */
@font-face { font-family: "Outfit"; src: url("../fonts/outfit-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("../fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("../fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --navy: #2B2D72;
  --navy-deep: #1E1F55;
  --navy-ink: #15163D;
  --orange: #D9820E;
  --orange-soft: #F6E3C6;
  --paper: #FAF8F4;
  --white: #FFFFFF;
  --text: #22233F;
  --muted: #5D5F7E;
  --line: #E4E1DA;
  --radius: 18px;
  --max: 1160px;
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.075rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); }
h1, h2, h3 { font-family: var(--font-display); color: var(--navy-ink); line-height: 1.12; margin: 0 0 .6em; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--font-display); font-weight: 600; font-size: .82rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: currentColor; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 248, 244, .9);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 40px; height: 40px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--navy); letter-spacing: .02em; }
.brand-sub { font-family: var(--font-display); font-weight: 400; font-size: .72rem; letter-spacing: .24em; color: var(--orange); margin-top: 3px; }
.menu { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.menu a {
  display: block; padding: 8px 14px; border-radius: 999px; text-decoration: none;
  font-family: var(--font-display); font-weight: 500; color: var(--navy-ink); font-size: .98rem;
}
.menu a:hover { background: rgba(43, 45, 114, .07); }
.menu a[aria-current="page"] { color: var(--orange); }
.menu .lang a { border: 1.5px solid var(--navy); font-size: .82rem; font-weight: 600; letter-spacing: .08em; padding: 6px 12px; margin-left: 8px; }
.menu .lang a:hover { background: var(--navy); color: var(--white); }
.menu .cta a { background: var(--navy); color: var(--white); }
.menu .cta a:hover { background: var(--orange); }
.burger { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.burger span { display: block; height: 2.5px; background: var(--navy); border-radius: 2px; margin: 5px 0; transition: transform .25s, opacity .2s; }
.nav-open .burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  padding: 15px 26px; border-radius: 999px; text-decoration: none; border: 0; cursor: pointer;
  transition: transform .15s, background .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: #C27209; }
.btn-ghost { color: var(--navy); background: transparent; box-shadow: inset 0 0 0 1.5px var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--white); }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 96px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 .accent { color: var(--orange); }
.hero .lead { font-size: 1.22rem; color: var(--muted); max-width: 36ch; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-art { position: relative; aspect-ratio: 1; }
.hero-art .dots { position: absolute; inset: 0; }
.hero-art .halo {
  position: absolute; inset: 8%; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--orange-soft), transparent 65%);
}
.dot-anim circle { transform-box: fill-box; transform-origin: center; animation: pop .7s cubic-bezier(.3,1.6,.5,1) both; }
.dot-anim path { stroke-dasharray: 260; stroke-dashoffset: 260; animation: draw .9s .55s ease-out forwards; }
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .dot-anim circle, .dot-anim path { animation: none; stroke-dashoffset: 0; }
}

/* ---------- Sections ---------- */
section { padding: 96px 0; }
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head p { color: var(--muted); font-size: 1.12rem; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; position: relative; transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -22px rgba(43, 45, 114, .35); }
.card p { color: var(--muted); margin: 0; }
.icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: var(--navy); color: var(--white); margin-bottom: 22px;
}
.card:nth-child(2) .icon { background: var(--orange); }
.icon svg { width: 28px; height: 28px; }

/* Dark band */
.band { background: var(--navy); color: #D6D7EE; position: relative; overflow: hidden; }
.band h2, .band h3 { color: var(--white); }
.band .section-head p { color: #B8BADB; }
.band::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(255,255,255,.07) 0 22%, transparent 23%) 0 0/140px 140px;
  pointer-events: none;
}
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; position: relative; z-index: 1; }
.step { border-top: 2px solid rgba(255,255,255,.18); padding-top: 22px; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-family: var(--font-display); font-weight: 700; font-size: 2.4rem; color: var(--orange); margin-bottom: 8px;
}
.step p { margin: 0; font-size: 1rem; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 0 0 2rem; }
.checks li { position: relative; padding-left: 34px; margin-bottom: 14px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat;
}
.quote-box {
  background: var(--white); border-radius: 28px; padding: 44px; border: 1px solid var(--line);
  position: relative;
}
.quote-box .big { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; color: var(--navy-ink); line-height: 1.35; margin: 0; }
.quote-box .mini-dots { position: absolute; top: -22px; right: 36px; display: flex; gap: 8px; }
.quote-box .mini-dots span { width: 22px; height: 22px; border-radius: 50%; background: var(--navy); }
.quote-box .mini-dots span:nth-child(2) { background: var(--orange); }

/* CTA */
.cta-band {
  background: var(--orange); border-radius: 32px; padding: 64px; color: var(--white);
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.cta-band h2 { color: var(--white); margin: 0 0 .3em; }
.cta-band p { margin: 0; color: #FFF3E2; font-size: 1.12rem; }
.cta-band .btn { background: var(--navy); color: var(--white); }
.cta-band .btn:hover { background: var(--navy-ink); }

/* Page header (inner pages) */
.page-head { padding: 72px 0 40px; }
.page-head p { font-size: 1.2rem; color: var(--muted); max-width: 60ch; }

/* Services detail */
.service {
  display: grid; grid-template-columns: 80px 1fr 1fr; gap: 40px; padding: 48px 0; border-top: 1px solid var(--line);
}
.service:last-child { border-bottom: 1px solid var(--line); }
.service .num { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--orange); padding-top: 6px; }
.service h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.service p { color: var(--muted); }
.service ul { margin: 0; padding: 0; list-style: none; }
.service li { padding: 10px 0; border-bottom: 1px dashed var(--line); display: flex; gap: 12px; }
.service li::before { content: ""; flex: 0 0 9px; height: 9px; margin-top: .62em; border-radius: 50%; background: var(--navy); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; padding-bottom: 96px; }
.contact-info { background: var(--navy); color: #D6D7EE; border-radius: 28px; padding: 40px; position: sticky; top: 100px; }
.contact-info h2 { color: var(--white); font-size: 1.7rem; }
.contact-info a { color: var(--white); }
.contact-info .row { display: flex; gap: 14px; align-items: flex-start; margin-top: 22px; }
.contact-info .row svg { flex: 0 0 22px; width: 22px; height: 22px; color: var(--orange); margin-top: 3px; }
form.contact { background: var(--white); border: 1px solid var(--line); border-radius: 28px; padding: 40px; }
.field { margin-bottom: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
label { display: block; font-family: var(--font-display); font-weight: 500; font-size: .95rem; margin-bottom: 7px; color: var(--navy-ink); }
input, textarea, select {
  width: 100%; font: inherit; color: var(--text); background: var(--paper);
  border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 15px; transition: border-color .2s, box-shadow .2s;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(43,45,114,.12); }
textarea { min-height: 160px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--muted); margin-bottom: 24px; }
.consent input { width: auto; margin-top: .3em; accent-color: var(--orange); }
.alert { border-radius: 14px; padding: 16px 20px; margin-bottom: 24px; font-weight: 600; }
.alert-ok { background: #E6F4EA; color: #1C5E2E; }
.alert-err { background: #FCE8E6; color: #8A1C12; }
.alert[hidden] { display: none; }

/* Footer */
.site-footer { background: var(--navy-ink); color: #A9ABCF; padding: 56px 0 36px; font-size: .95rem; }
.footer-grid { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.site-footer .brand-name { color: var(--white); }
.site-footer a { color: #D6D7EE; text-decoration: none; }
.site-footer a:hover { color: var(--orange); }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 36px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 360px; margin: 0 auto; order: -1; }
  .pillars { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .service { grid-template-columns: 1fr; gap: 12px; }
  .contact-info { position: static; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .burger { display: block; }
  .menu {
    position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 12px 16px 20px; gap: 4px;
    display: none;
  }
  .nav-open .menu { display: flex; }
  .menu a { padding: 12px 14px; }
  .menu .lang a { margin: 8px 0 0; text-align: center; }
  section { padding: 64px 0; }
  .hero { padding: 32px 0 64px; }
  .steps { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 28px; }
  .field-row { grid-template-columns: 1fr; }
  form.contact, .contact-info, .quote-box { padding: 28px 22px; }
}
