/* xT Ressources - feuille de style commune
   Polices Inter hebergees sur le site (aucun appel a Google Fonts). */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../assets/fonts/inter-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../assets/fonts/inter-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --yellow: #FFD800;
  --black: #111111;
  --dark: #16181F;
  --slate: #1C2340;
  --muted: #3B4057;
  --soft: #4A4F63;
  --grey: #F4F4F2;
  --line: #7A8094;
  --on-dark: #D5D8E1;
  --radius: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* Affichage reduit a 80 % sur ordinateur et tablette (rendu plus fin). Les telephones gardent la taille normale. */
@media (min-width: 641px) { html { zoom: 0.8; } }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--slate);
  background: #fff;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; }
a { color: inherit; }
a:hover { opacity: .85; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 3px solid var(--black); outline-offset: 2px; }
.on-dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible, .band-dark :focus-visible { outline-color: var(--yellow); }
[hidden] { display: none !important; }

.skip { position: absolute; left: -999px; top: 0; background: var(--yellow); color: var(--black); padding: 12px 18px; font-weight: 700; z-index: 20; }
.skip:focus { left: 8px; top: 8px; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.wrap-narrow { max-width: 960px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* ---------- boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 14px 26px;
  border-radius: 6px; border: 2px solid transparent;
  font: inherit; font-size: 17px; font-weight: 700; text-decoration: none; cursor: pointer;
}
.btn-yellow { background: var(--yellow); color: var(--black); }
.btn-dark { background: var(--black); color: #fff; }
.btn-outline-light { border-color: #fff; color: #fff; font-weight: 600; }
.btn-outline-dark { border-color: var(--black); color: var(--black); background: #fff; }
.btn-sm { font-size: 15px; padding: 12px 20px; min-height: 44px; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- en-tete ---------- */
.site-header { background: var(--dark); color: #fff; }
.header-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-top: 14px; padding-bottom: 14px; }
.logo { display: flex; text-decoration: none; }
.logo img { display: block; width: 72px; height: 72px; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: 15px; font-weight: 500; }
.nav a { text-decoration: none; color: #E4E6EC; padding: 10px 0; }
.nav a[aria-current="page"] { color: #fff; font-weight: 700; border-bottom: 3px solid var(--yellow); }
.nav a.btn { color: var(--black); padding: 12px 20px; }

/* ---------- titres de section ---------- */
.eyebrow-bar { width: 56px; height: 6px; background: var(--yellow); }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--soft); }
.on-dark .eyebrow { color: #C9CCD6; }
.h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.1; font-weight: 800; letter-spacing: -1px; color: var(--black); }
.lead { font-size: 18px; line-height: 1.65; color: var(--slate); }
.stack { display: flex; flex-direction: column; }
.gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-20 { gap: 20px; } .gap-24 { gap: 24px; } .gap-28 { gap: 28px; }

/* ---------- hero ---------- */
.hero { background: var(--dark); color: #fff; }
.hero-grid {
  display: grid; gap: 56px; align-items: start;
  grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
  padding-top: 56px;
}
.hero h1 { font-size: clamp(38px, 6vw, 72px); line-height: 1.04; font-weight: 800; letter-spacing: -1.5px; }
.hero h1 .accent, .hero-sub h1 .accent { color: var(--yellow); }
.hero .kicker { font-size: 14px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: #C9CCD6; }
.hero .intro { font-size: 19px; line-height: 1.6; color: var(--on-dark); max-width: 560px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 16px; }
.video-box { width: 100%; aspect-ratio: 4 / 3; background: #000; border-radius: var(--radius); overflow: hidden; }
.video-box video { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }

.band-yellow-wrap { padding-top: 56px; padding-bottom: 72px; }
.band-yellow {
  background: var(--yellow); color: var(--black); border-radius: var(--radius);
  padding: 28px 36px; display: grid; gap: 24px 48px; align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
}
.band-yellow .label { font-size: 13px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; }
.band-yellow .big { font-size: clamp(44px, 6vw, 64px); line-height: 1; font-weight: 800; letter-spacing: -1.5px; margin-top: 6px; }
.band-yellow .cap { font-size: 18px; font-weight: 600; line-height: 1.4; margin-top: 6px; }
.band-yellow h2 { font-size: 20px; line-height: 1.25; font-weight: 800; }
.band-yellow p + p, .band-yellow h2 + p { margin-top: 8px; font-size: 16px; line-height: 1.55; }

/* ---------- sections ---------- */
.section { padding: 96px 0; }
.section-grey { background: var(--grey); }
.two-col { display: grid; gap: 56px; align-items: start; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); }
.info-card { background: var(--grey); border-radius: 10px; padding: 24px 28px; }
.info-card strong { display: block; font-size: 18px; color: var(--black); }
.info-card p { margin-top: 6px; font-size: 16px; color: var(--muted); }

.cards-3 { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.card { background: #fff; border-radius: var(--radius); padding: 32px 28px; display: flex; flex-direction: column; gap: 16px; }
.card h3 { font-size: 22px; line-height: 1.25; font-weight: 800; color: var(--black); }
.card p { font-size: 16px; color: var(--muted); }
.num { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--yellow); color: var(--black); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px; }
.num-sm { width: 40px; height: 40px; font-size: 15px; }

.panels-2 { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); }
.panel { background: var(--grey); border-radius: var(--radius); padding: 36px 32px; display: flex; flex-direction: column; gap: 20px; }
.panel h3 { font-size: 24px; font-weight: 800; color: var(--black); }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.checks li { display: flex; align-items: flex-start; gap: 14px; font-size: 17px; }
.checks li::before {
  content: ''; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5l4 4 8-9' fill='none' stroke='%23111111' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}

/* ---------- espace entreprises ---------- */
.section-yellow { background: var(--yellow); color: var(--black); }
.section-yellow .eyebrow-bar { background: var(--black); }
.section-yellow .eyebrow { color: var(--black); }
.section-yellow .h2 { color: var(--black); }
.bullets-strong { font-size: 17px; font-weight: 600; display: flex; flex-direction: column; gap: 12px; }

.form-card { background: #fff; color: var(--slate); border-radius: 14px; padding: 32px 28px; }
.form-card.flat { padding: 32px 28px; }
.fgrid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.fgrid-3 { grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr)); gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > label, .field > .lbl { font-size: 14px; font-weight: 600; color: var(--black); }
.input, .select, .textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--black); background: #fff;
  border: 1.5px solid var(--line); border-radius: 8px;
}
.input, .select { height: 48px; padding: 0 14px; }
.select { padding: 0 12px; }
.textarea { padding: 12px 14px; line-height: 1.5; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: 3px solid var(--black); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.seg { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr)); }
.seg.tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); background: var(--grey); padding: 6px; border-radius: 10px; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg label {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 48px; padding: 10px 14px; border-radius: 8px; cursor: pointer;
  font-size: 15px; font-weight: 700; color: var(--black); background: #fff; border: 2px solid var(--black);
}
.seg.tabs label { border: none; background: transparent; color: var(--slate); font-size: 16px; }
.seg input:checked + label { background: var(--black); color: #fff; }
.seg input:focus-visible + label { outline: 3px solid var(--black); outline-offset: 2px; }

.profile-seg { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.profile-seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.profile-seg label { display: block; min-height: 96px; border-radius: var(--radius); padding: 18px 20px; cursor: pointer; border: 2px solid var(--black); background: #fff; color: var(--black); }
.profile-seg label strong { display: block; font-size: 19px; font-weight: 800; }
.profile-seg label span { display: block; font-size: 14px; font-weight: 500; margin-top: 6px; }
.profile-seg input:checked + label { background: var(--yellow); }
.profile-seg input:focus-visible + label { outline: 3px solid var(--black); outline-offset: 2px; }

.rdv-box { border: 2px dashed var(--line); border-radius: 10px; padding: 20px 22px; background: #FAFAF8; }
.rdv-box strong { display: block; font-size: 16px; color: var(--black); }
.rdv-box p { margin-top: 6px; font-size: 15px; color: var(--muted); }

.consent { display: flex; align-items: flex-start; gap: 12px; }
.consent input { flex: none; width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--black); }
.consent label { font-size: 15px; line-height: 1.55; color: var(--muted); }
.consent a { font-weight: 600; }

.form-msg { margin-top: 12px; font-size: 15px; font-weight: 600; }
.form-msg.err { color: #8A1C1C; }
.success { display: flex; flex-direction: column; gap: 18px; padding: 8px 4px; }
.success .tick { width: 56px; height: 56px; border-radius: 50%; background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5l4 4 8-9' fill='none' stroke='%23111111' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 28px no-repeat; }
.success h3 { font-size: 26px; font-weight: 800; color: var(--black); }
.success p { font-size: 17px; line-height: 1.6; }

/* mode d'affichage du formulaire entreprises */
#form-entreprises[data-mode="contact"] .only-besoin { display: none; }
#form-entreprises[data-mode="besoin"] .only-contact { display: none; }
#form-entreprises[data-suite="recontact"] .only-rdv { display: none; }

/* ---------- bandeau consultants (accueil) ---------- */
.consult-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.consult-band .txt { max-width: 720px; }

/* ---------- pied de page ---------- */
.site-footer { background: var(--dark); color: #fff; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding-top: 56px; }
.footer-top img { display: block; width: 112px; height: 112px; }
.footer-sign { font-size: 18px; font-weight: 600; font-style: italic; text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 6px; margin-top: 16px; }
.footer-col { display: flex; flex-direction: column; gap: 8px; font-size: 16px; color: var(--on-dark); }
.footer-col a { text-decoration: none; }
.footer-line { height: 1px; background: #3A3E4C; margin: 40px 0 20px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: #C9CCD6; padding-bottom: 40px; }
.footer-bottom a { text-decoration: underline; }

/* ---------- page consultants ---------- */
.hero-sub { background: var(--dark); color: #fff; }
.hero-sub .hero-grid { padding-bottom: 88px; }
.hero-sub h1 { font-size: clamp(36px, 5.4vw, 64px); line-height: 1.06; font-weight: 800; letter-spacing: -1.4px; }
.steps-card { background: var(--yellow); color: var(--black); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.steps-card .label { font-size: 14px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; }
.step { display: flex; align-items: flex-start; gap: 16px; font-size: 17px; line-height: 1.5; }
.step .num { background: var(--black); color: #fff; width: 40px; height: 40px; font-size: 15px; }

.form-section { display: flex; flex-direction: column; gap: 24px; }
.fs-card { background: #fff; border-radius: 14px; padding: 32px 28px; display: flex; flex-direction: column; gap: 22px; }
.fs-title { display: flex; align-items: center; gap: 14px; }
.fs-title h3 { font-size: 22px; font-weight: 800; color: var(--black); }
.help { font-size: 15px; line-height: 1.6; color: var(--muted); }
.rows { display: flex; flex-direction: column; gap: 10px; }
.row-item { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; padding: 8px 16px; border-radius: 10px; border: 1.5px solid #C9CBD3; background: #fff; }
.row-item.on { border-color: var(--black); background: #FFF8CC; }
.row-item .chk { display: flex; align-items: center; gap: 12px; min-height: 44px; font-size: 16px; font-weight: 600; color: var(--black); cursor: pointer; }
.row-item .chk input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--black); }
.lv { display: flex; flex-wrap: wrap; gap: 8px; }
.lv input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.lv label { display: flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 8px; font-size: 14px; font-weight: 700; cursor: pointer; border: 2px solid var(--black); background: #fff; color: var(--black); }
.lv input:checked + label { background: var(--black); color: #fff; }
.lv input:focus-visible + label { outline: 3px solid var(--black); outline-offset: 2px; }
.row-item:not(.on) .lv { display: none; }

.cv-box { background: var(--dark); color: #fff; border-radius: 14px; padding: 44px 40px; display: flex; flex-direction: column; gap: 24px; }
.cv-box .h2 { color: #fff; font-size: clamp(28px, 3.6vw, 38px); letter-spacing: -.8px; }
.cv-box .p { font-size: 17px; line-height: 1.65; color: var(--on-dark); }
.cv-box .small { font-size: 15px; line-height: 1.6; color: #C9CCD6; }
.copy-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.copy-box { background: #0E1016; border: 2px solid var(--yellow); border-radius: 10px; padding: 18px 22px; display: flex; flex-direction: column; gap: 6px; }
.copy-box .k { font-size: 13px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: #C9CCD6; }
.copy-box .v { font-size: 18px; font-weight: 700; color: #fff; word-break: break-word; user-select: all; }
.copy-box .hint { font-size: 14px; line-height: 1.5; color: #C9CCD6; }
.copy-btn { align-self: flex-start; margin-top: 8px; }
.cv-steps { margin: 0; padding-left: 22px; font-size: 16px; line-height: 1.7; color: var(--on-dark); }
.btn.cv-mobile-only { display: none; }
@media (hover: none) and (pointer: coarse) { .btn.cv-mobile-only { display: inline-flex; } }

/* ---------- pages texte ---------- */
.legal { padding: 72px 0 96px; }
.legal h1 { font-size: clamp(32px, 4vw, 44px); font-weight: 800; letter-spacing: -1px; color: var(--black); }
.legal h2 { font-size: 24px; font-weight: 800; color: var(--black); margin-top: 40px; }
.legal p, .legal li { font-size: 17px; line-height: 1.7; color: var(--slate); margin-top: 12px; }
.legal ul { padding-left: 22px; margin: 8px 0 0; }
.todo { background: #FFF3B0; padding: 0 4px; border-radius: 3px; }
.notice { background: var(--grey); border-left: 6px solid var(--yellow); padding: 16px 20px; border-radius: 6px; margin-top: 24px; }

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .cv-box { padding: 32px 22px; }
  .band-yellow { padding: 24px 22px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
