/* EXYMLAB – feuille de style
   Couleurs reprises du logo. Pour changer une couleur partout, modifier les variables ci-dessous. */
:root {
  --navy: #13295B;
  --navy-dark: #0B1C40;
  --navy-soft: #233E78;
  --blue: #1565C0;
  --blue-dark: #0D4A94;
  --blue-pale: #EEF5FD;
  --sky: #9CCBF3;
  --yellow: #F2B705;
  --grey: #6B7280;
  --ink: #13202B;
  --text: #34424F;
  --muted: #4A5866;
  --line: #E2E8EE;
  --bg-soft: #F4F6F8;
  --white: #FFFFFF;
  --radius: 12px;
  --font-body: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-title: "Space Grotesk", Inter, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--white); line-height: 1.6; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--font-title); line-height: 1.15; margin: 0; }
h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.125rem); }
h3 { font-size: 1.3rem; }
p { margin: 0; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section--soft { background: var(--bg-soft); }
.section--pale { background: var(--blue-pale); }
.section--navy { background: var(--navy); color: var(--white); }
.section--blue { background: var(--blue); color: var(--white); }
.section__head { display: flex; flex-direction: column; gap: 10px; max-width: 760px; margin-bottom: 32px; }
.lead { font-size: 1.125rem; color: var(--text); }
.section--navy .lead, .section--blue .lead { color: #D3DEE8; }
.eyebrow { font-size: 0.875rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.section--navy .eyebrow { color: var(--sky); }
.stack { display: flex; flex-direction: column; gap: 18px; }
.row { display: flex; flex-wrap: wrap; gap: 24px; }
.row > * { flex: 1 1 260px; min-width: 0; }
.row--wide > * { flex-basis: 340px; }
.row--center { align-items: center; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border-radius: 8px; font-weight: 600; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: inherit; }
.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: var(--blue-dark); color: var(--white); }
.btn--yellow { background: var(--yellow); color: var(--navy); }
.btn--yellow:hover { background: #D9A404; color: var(--navy); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-dark); color: var(--white); }
.btn--white { background: var(--white); color: var(--navy); }
.btn--white:hover { background: #E6EDF3; color: var(--navy); }
.btn--outline { border-color: var(--blue); color: var(--blue-dark); background: transparent; }
.btn--outline-white { border-color: var(--white); color: var(--white); background: transparent; }
.btn--outline-white:hover { background: var(--white); color: var(--navy); }

/* Bandeau supérieur et en-tête */
.topbar { background: var(--navy); color: #E6EDF3; font-size: 0.875rem; }
.topbar .container { display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: var(--white); text-decoration: none; }
.header { border-bottom: 1px solid var(--line); background: var(--white); position: sticky; top: 0; z-index: 20; }
.header .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 54px; height: 48px; object-fit: contain; }
.brand__name { font-family: var(--font-title); font-weight: 600; font-size: 1.375rem; letter-spacing: 0.18em; color: var(--navy); }
.brand__name span { color: var(--grey); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-weight: 500; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; padding: 10px 0; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--blue); }
.nav a[aria-current="page"] { font-weight: 600; }
.nav-toggle { display: none; min-height: 44px; padding: 8px 14px; border: 2px solid var(--navy); border-radius: 8px; background: var(--white); color: var(--navy); font-weight: 600; font-family: inherit; font-size: 1rem; cursor: pointer; }

/* Accueil */
.hero { background: var(--bg-soft); padding: 72px 0 64px; }
.hero .stack { max-width: 780px; margin-bottom: 40px; }
.door { display: flex; flex-direction: column; gap: 16px; padding: 32px; border-radius: 16px; text-decoration: none; border-top: 6px solid var(--blue); }
.door--light { background: var(--white); color: var(--ink); border-left: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.door--dark { background: var(--navy); color: var(--white); border-top-color: var(--sky); }
.door:hover { color: inherit; box-shadow: 0 8px 24px rgba(19, 41, 91, 0.16); }
.door--dark:hover { color: var(--white); }
.door__tag { font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--blue); }
.door--dark .door__tag { color: var(--sky); }
.door__title { font-family: var(--font-title); font-size: 1.75rem; font-weight: 700; line-height: 1.15; }
.door__text { color: var(--text); }
.door--dark .door__text { color: #D3DEE8; }
.door .btn { margin-top: auto; align-self: flex-start; }

/* Cartes */
.card { background: var(--bg-soft); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.card p { font-size: 0.95rem; color: var(--text); }
.card svg { color: var(--blue); }
.section--soft .card, .section--pale .card { background: var(--white); }
.card--line { background: var(--white); border: 1px solid #D6E2EC; border-top: 5px solid var(--blue); padding: 28px; }
.card__num { font-size: 0.875rem; font-weight: 600; color: var(--blue); }
.step__num { font-family: var(--font-title); font-size: 2.25rem; font-weight: 700; color: var(--blue); line-height: 1; }
.list { margin: 0; padding-left: 20px; color: var(--text); line-height: 1.9; }
.link-more { font-weight: 600; margin-top: auto; align-self: flex-start; }

.service { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; background: var(--white); }
.service__icon { height: 140px; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; color: var(--blue); }
.service__body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex-grow: 1; }
.service__body .list { font-size: 0.95rem; line-height: 1.8; }

.env { border: 1px solid #D6E2EC; border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; background: var(--white); }
.env__body { padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.env__body p { color: var(--text); font-size: 0.95rem; }

/* Emplacements à compléter (photos, avis, références) */
.placeholder { border: 2px dashed #B9CBDB; border-radius: var(--radius); padding: 32px 16px; min-height: 180px; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--muted); background: transparent; }
.placeholder--photo { background: #D6E6F7; border: none; color: #234A78; min-height: 300px; border-radius: 16px; }
.placeholder--dark { background: var(--navy-soft); color: #C5D5E3; }
.env .placeholder { border-radius: 0; min-height: 180px; background: #DCE7F1; border: none; }

/* Bandeau d'appel */
.cta .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta { padding: 56px 0; }

/* Formulaires */
.form-layout { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.form-card { flex: 999 1 560px; min-width: 0; background: var(--white); border-radius: 16px; padding: 36px; display: flex; flex-direction: column; gap: 28px; color: var(--ink); }
.form-side { flex: 1 1 300px; display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 16px; border: none; margin: 0; padding: 0; min-width: 0; }
.form-group > legend, .form-title { font-weight: 600; font-size: 1.06rem; padding: 0; margin-bottom: 4px; }
.fields { display: flex; flex-wrap: wrap; gap: 16px; }
.field { flex: 1 1 220px; display: flex; flex-direction: column; gap: 6px; font-size: 0.875rem; font-weight: 500; }
.field--full { flex-basis: 100%; }
.field input, .field select, .field textarea { font-family: inherit; font-size: 1rem; border: 1px solid #C9D3DC; border-radius: 8px; padding: 12px; background: var(--white); color: var(--ink); width: 100%; }
.field input, .field select { min-height: 48px; }
.field input[type="file"] { border-style: dashed; }
.field textarea { resize: vertical; }
.pills { display: flex; flex-wrap: wrap; gap: 12px; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.pill span { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 2px solid #C9D3DC; font-weight: 600; background: var(--white); }
.pill input:checked + span { background: var(--blue); border-color: var(--blue); color: var(--white); }
.pill input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.875rem; color: var(--text); font-weight: 400; }
.consent input { width: 20px; height: 20px; margin-top: 2px; flex: none; }
.hidden { position: absolute; left: -9999px; }
.side-card { border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.side-card--navy { background: var(--navy); color: #E6EDF3; }
.side-card--navy h2 { color: var(--white); font-size: 1.375rem; }
.side-card--white { background: var(--white); color: var(--text); }
.side-card--white h2 { color: var(--ink); font-size: 1.25rem; }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.checks li { padding-left: 26px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 2px; top: 0.45em; width: 12px; height: 6px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }

.person { display: flex; align-items: center; gap: 16px; }
.person__photo { width: 72px; height: 72px; border-radius: 50%; background: var(--navy-soft); display: flex; align-items: center; justify-content: center; font-size: 0.75rem; color: #C5D5E3; flex: none; }

/* Pages de texte (mentions légales, merci) */
.prose { max-width: 760px; display: flex; flex-direction: column; gap: 16px; color: var(--text); }
.prose h1, .prose h2 { color: var(--ink); }
.prose h2 { font-size: 1.4rem; margin-top: 16px; }

/* Pied de page */
.footer { background: var(--navy-dark); color: #D3DEE8; font-size: 0.95rem; padding: 48px 0 24px; }
.footer .row { justify-content: space-between; gap: 32px; }
.footer .row > * { flex-basis: 200px; display: flex; flex-direction: column; gap: 8px; }
.footer strong { color: var(--white); }
.footer a { color: var(--sky); }
.footer__legal { margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--navy-soft); font-size: 0.875rem; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

/* Téléphone */
@media (max-width: 820px) {
  .section { padding: 48px 0; }
  .hero { padding: 48px 0; }
  .nav-toggle { display: inline-flex; align-items: center; }
  .nav { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 4px; padding-bottom: 8px; }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 8px; }
  .form-card { padding: 24px; }
  .brand__name { font-size: 1.15rem; }
}

/* Cartes « Pourquoi nous faire confiance » en couleur */
.trust { border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.trust p { font-size: 0.95rem; }
.trust__icon { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.trust--blue { background: var(--blue-pale); border-top: 5px solid var(--blue); }
.trust--blue .trust__icon { background: var(--blue); color: var(--white); }
.trust--blue p { color: var(--text); }
.trust--yellow { background: #FFF6D6; border-top: 5px solid var(--yellow); }
.trust--yellow .trust__icon { background: var(--yellow); color: var(--navy); }
.trust--yellow p { color: var(--text); }
.trust--navy { background: var(--navy); color: var(--white); border-top: 5px solid var(--sky); }
.trust--navy .trust__icon { background: var(--white); color: var(--navy); }
.trust--navy p { color: #D3DEE8; }

/* Visuels des prestations */
.service__visual { height: 150px; background-size: cover; background-position: center; position: relative; }
.service__badge { position: absolute; left: 20px; bottom: -24px; width: 52px; height: 52px; border-radius: 50%; background: var(--white); color: var(--blue); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(19, 41, 91, 0.18); }
.service__visual + .service__body { padding-top: 36px; }

/* Photos page Industrie */
.hero-photo { flex: 1 1 360px; min-width: 0; width: 100%; height: auto; border-radius: 16px; background: #F4F9FF; }
.env--wide { flex-direction: row; flex-wrap: wrap; }
.env--wide img { flex: 1 1 380px; min-width: 0; width: 100%; height: 320px; object-fit: cover; }
.env--wide .env__body { flex: 1 1 340px; justify-content: center; padding: 32px; }
.contact-logo { width: 108px; height: auto; background: var(--white); border-radius: 16px; padding: 12px; }
