/* Orios IA — feuille de style du site vitrine.
   Charte V1.2 : bleu nuit structure, bleu moyen et cyan portent l'information,
   le jaune sert d'accent (jamais de fond). Calibri partout, serif réservé au logo. */

@font-face { font-family: 'Carlito'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/carlito-400-latin.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: 'Carlito'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/carlito-400-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Carlito'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/carlito-700-latin.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: 'Carlito'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/carlito-700-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Carlito'; font-style: italic; font-weight: 400; font-display: swap; src: url('fonts/carlito-400-italic-latin.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: 'Carlito'; font-style: italic; font-weight: 400; font-display: swap; src: url('fonts/carlito-400-italic-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --nuit: #082A44;
  --nuit-2: #19355A;
  --moyen: #2C79A0;
  --jaune: #FFC001;
  --navy: #002060;
  --cyan: #00B0F0;
  --bleu-clair: #CBE0E9;
  --jaune-clair: #FFF2C9;
  --gris-clair: #F3F3F3;
  --gris-tableau: #ECECEC;
  --filet: #DCDCDC;
  --gris-titre: #666666;
  --texte: #1B2733;
  --texte-doux: #4A5560;
  --erreur: #B42318;
  --bandeau: linear-gradient(90deg, var(--nuit) 0%, #12466B 55%, var(--moyen) 100%);
  --police: Calibri, Carlito, 'Segoe UI', system-ui, -apple-system, sans-serif;
  --header-h: 92px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body { margin: 0; overflow-x: hidden; overflow-x: clip; background: #fff; color: var(--texte); font-family: var(--police); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; text-wrap: balance; }
p { margin: 0; }
::selection { background: var(--nuit); color: #fff; }
:focus-visible { outline: 2px solid var(--moyen); outline-offset: 3px; border-radius: 2px; }

.shell { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: clamp(20px, 5vw, 72px); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--nuit); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; }

/* Rubrique : numéro jaune, filet, intitulé */
.kicker { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; font-size: 0.8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--moyen); }
.kicker .num { color: var(--nuit); }
.kicker .rule { width: 32px; height: 2px; background: var(--jaune); }
.dark .kicker { color: var(--bleu-clair); }
.dark .kicker .num { color: var(--jaune); }

.section { padding-block: clamp(72px, 9vw, 112px); }
.section h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); line-height: 1.12; letter-spacing: -0.01em; color: var(--nuit); max-width: 24ch; margin-bottom: clamp(36px, 5vw, 60px); }
.dark { background: var(--nuit); color: #fff; }
.dark h2, .dark h3 { color: #fff; }
.light { background: var(--gris-clair); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 13px 28px; border-radius: 4px; border: 0; background: var(--nuit); color: #fff; font-family: inherit; font-size: 1rem; font-weight: 700; text-decoration: none; cursor: pointer; transition: background .2s ease, transform .2s ease, box-shadow .2s ease; }
.btn:hover { background: var(--moyen); transform: translateY(-1px); box-shadow: 0 10px 22px -10px rgba(8, 42, 68, .55); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.link-arrow { color: var(--moyen); font-weight: 700; text-decoration: none; border-bottom: 2px solid rgba(44, 121, 160, .3); padding-bottom: 2px; transition: border-color .2s ease; }
.link-arrow:hover { border-color: var(--moyen); }

/* En-tête */
.nav-bar { position: sticky; top: 0; z-index: 80; background: #fff; border-bottom: 1px solid var(--filet); transition: box-shadow .3s ease; }
.nav-bar.scrolled { box-shadow: 0 8px 24px -18px rgba(8, 42, 68, .6); }
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.nav-logo img { width: 116px; height: auto; }
.nav-right { display: flex; align-items: center; gap: 36px; }
.nav-links { display: flex; gap: 30px; font-size: 1rem; }
.nav-links a { color: var(--nuit); text-decoration: none; font-weight: 700; padding-block: 6px; border-bottom: 2px solid transparent; transition: border-color .2s ease, color .2s ease; }
.nav-links a:hover { color: var(--moyen); border-color: var(--jaune); }
.burger { display: none; width: 48px; height: 48px; align-items: center; justify-content: center; background: none; border: 0; cursor: pointer; padding: 0; }
.burger span { position: relative; display: block; width: 24px; height: 2px; background: var(--nuit); transition: background .2s ease; }
.burger span::before, .burger span::after { content: ''; position: absolute; left: 0; width: 24px; height: 2px; background: var(--nuit); transition: transform .3s ease, top .3s ease; }
.burger span::before { top: -7px; }
.burger span::after { top: 7px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }
.mobile-menu { display: none; border-top: 1px solid var(--filet); }
.mobile-menu.open { display: block; }
.mobile-menu a:not(.btn) { display: block; padding: 14px 0; border-bottom: 1px solid var(--filet); color: var(--nuit); font-weight: 700; font-size: 1.08rem; text-decoration: none; }
.mobile-menu .btn { width: 100%; margin: 18px 0 22px; }

/* Héros */
.hero { border-bottom: 1px solid var(--filet); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(36px, 5vw, 72px); align-items: center; padding-block: clamp(56px, 7vw, 96px); }
.hero-copy { animation: up .8s ease both; }
.hero h1 { font-size: clamp(2.3rem, 4.4vw, 3.9rem); line-height: 1.06; letter-spacing: -0.015em; color: var(--nuit); margin-bottom: 26px; }
.hero .lead { font-size: 1.18rem; color: var(--texte-doux); max-width: 36em; margin-bottom: 18px; }
.hero .sectors { font-size: 1rem; color: var(--gris-titre); margin-bottom: 36px; }
.hero .sectors strong { color: var(--moyen); }
.hero-ctas { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.hero-media { position: relative; align-self: stretch; min-height: 500px; overflow: hidden; border-radius: 4px; animation: fade 1.1s ease both; }
.hero-media img { position: absolute; top: 0; left: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.hero-media img.on { opacity: 1; }
.hero-media::after { content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: linear-gradient(180deg, rgba(8, 42, 68, .05) 30%, rgba(8, 42, 68, .7) 100%); }
.hero-badge { position: absolute; right: 22px; bottom: 20px; z-index: 1; }
.dots { display: flex; gap: 8px; }
.dots span, .dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; background: rgba(255, 255, 255, .4); transition: background .35s ease; }
.hero-badge .dots .on { background: var(--jaune); }

/* Bande de différenciation */
.band { background: var(--bandeau); color: #fff; }
.band p { padding-block: clamp(40px, 5vw, 60px); font-size: clamp(1.35rem, 2.4vw, 2rem); line-height: 1.35; max-width: 34ch; font-weight: 400; }
.band strong { color: var(--jaune); font-weight: 700; }

/* 01 — Constat */
.constat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; max-width: 980px; border-left: 3px solid var(--jaune); padding-left: 28px; }
.constat-grid .quote { font-size: 1.32rem; font-style: italic; color: var(--nuit); line-height: 1.45; }
.constat-grid p:not(.quote) { color: var(--texte-doux); }

/* 02 — Méthode : cartes du gabarit Orios IA */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { background: #fff; border: 1px solid var(--filet); border-radius: 4px; overflow: hidden; display: flex; flex-direction: column; }
.step-head { display: flex; align-items: center; gap: 14px; background: var(--nuit); color: #fff; padding: 18px 20px; }
.step-head .n { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--jaune); color: var(--nuit); display: grid; place-items: center; font-weight: 700; }
.step-head h3 { font-size: 1.2rem; color: #fff; }
.step p { padding: 22px 20px 26px; font-size: 1rem; color: var(--texte-doux); }

/* 03 — Secteurs */
.sectors-list { border-top: 1px solid rgba(255, 255, 255, .18); }
.sector { display: grid; grid-template-columns: 1fr 1.7fr; gap: 32px; padding: 36px 0; border-bottom: 1px solid rgba(255, 255, 255, .18); align-items: start; }
.sector h3 { display: flex; gap: 14px; align-items: baseline; font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.2; }
.hex { flex: none; width: 14px; height: 16px; background: var(--jaune); -webkit-clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); transform: translateY(1px); }
.sector .who { font-size: 1.1rem; color: var(--bleu-clair); margin-bottom: 10px; font-weight: 700; }
.sector p:not(.who) { color: #C7D6E2; }
.where { margin-top: 32px; color: var(--bleu-clair); }

/* 04 — Réalisations */
.cases { display: grid; }
.case { grid-area: 1 / 1; display: grid; grid-template-columns: 1.25fr .75fr; background: #fff; border: 1px solid var(--filet); border-radius: 4px; overflow: hidden; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s; }
.case.on { opacity: 1; visibility: visible; }
.case-body { padding: clamp(28px, 4vw, 48px); }
.case-tag { display: block; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--moyen); font-weight: 700; margin-bottom: 18px; }
.case-body h3 { font-size: clamp(1.5rem, 2.5vw, 2.1rem); line-height: 1.15; color: var(--nuit); max-width: 22ch; margin-bottom: 30px; }
.case-body dl { display: grid; gap: 22px; margin: 0; max-width: 60ch; }
.case-body dt { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gris-titre); font-weight: 700; }
.case-body dd { margin: 6px 0 0; color: var(--texte-doux); }
.case-result { background: var(--nuit); color: #fff; padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; justify-content: center; }
.case-result .label { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--jaune); font-weight: 700; }
.case-result .big { font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.1; font-weight: 700; margin: 14px 0 0; }
.case-result .big.xl { font-size: clamp(2.8rem, 4vw, 3.6rem); }
.case-result p { font-size: .98rem; color: var(--bleu-clair); margin-top: 16px; }
.case-result hr { border: 0; height: 1px; background: rgba(255, 255, 255, .2); margin: 26px 0; }
/* Points de 10 px, cible tactile de 44 px grâce à la bordure transparente */
.case-dots { justify-content: center; gap: 0; margin-top: 10px; }
.case-dots button { box-sizing: content-box; width: 10px; height: 10px; border: 17px solid transparent; background: var(--filet); background-clip: padding-box; cursor: pointer; }
.case-dots button.on { background-color: var(--nuit); }

/* 05 — Engagements */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 84px); align-items: start; }
.split h2 { margin-bottom: 0; }
.commitments { border-top: 1px solid var(--filet); margin: 0; padding: 0; list-style: none; counter-reset: c; }
.commitments li { counter-increment: c; display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--filet); font-size: 1.08rem; }
.commitments li::before { content: counter(c, decimal-leading-zero); font-weight: 700; font-size: 1.3rem; color: var(--moyen); line-height: 1.3; }
.callout { margin-top: 28px; background: var(--jaune-clair); padding: 16px 20px; border-radius: 4px; color: var(--nuit); }

/* 06 — FAQ */
.faq-wrap { max-width: 1000px; }
.faq { border-top: 1px solid var(--filet); }
.faq-item { border-bottom: 1px solid var(--filet); }
.faq-item h3 { font-size: inherit; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; background: none; border: 0; cursor: pointer; text-align: left; font-family: inherit; font-size: 1.22rem; font-weight: 700; color: var(--nuit); }
.faq-q .plus { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--moyen); color: var(--moyen); display: grid; place-items: center; font-size: 1.2rem; line-height: 1; transition: transform .3s ease, background .2s ease, color .2s ease; }
.faq-q[aria-expanded="true"] .plus { transform: rotate(45deg); background: var(--moyen); color: #fff; }
.faq-a { overflow: hidden; max-height: 0; transition: max-height .35s ease; }
.faq-a p { padding-bottom: 26px; max-width: 66ch; color: var(--texte-doux); }

/* 07 — Qui sommes-nous */
.about { position: relative; overflow: hidden; }
.about::after { content: ''; position: absolute; right: -60px; bottom: -40px; width: 420px; height: 336px; background: url('img/orios-ia-symbole.svg') no-repeat center / contain; opacity: .08; pointer-events: none; }
.about .split { position: relative; z-index: 1; }
.about p { font-size: 1.16rem; color: #D5E3ED; max-width: 46ch; }
.about .where { font-size: 1rem; }

/* 08 — Contact */
.contact-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.contact-grid h2 { max-width: 18ch; margin-bottom: 22px; }
.contact-grid .intro { font-size: 1.12rem; color: var(--texte-doux); max-width: 42ch; margin-bottom: 36px; }
.contact-lines { display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--filet); padding-top: 26px; }
.contact-lines a { align-self: flex-start; color: var(--nuit); font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--jaune); padding-bottom: 2px; }
.form-card { background: #fff; border: 1px solid var(--filet); border-top: 4px solid var(--nuit); border-radius: 4px; padding: clamp(24px, 3.5vw, 40px); box-shadow: 0 30px 60px -36px rgba(8, 42, 68, .45); }
.form-card .tag { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--moyen); font-weight: 700; }
.form-card .hint { font-size: .98rem; color: var(--gris-titre); margin: 8px 0 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: block; }
.field.full { grid-column: 1 / -1; }
.field > span { display: block; font-size: .9rem; font-weight: 700; color: var(--nuit); margin-bottom: 6px; }
.field > span em { font-style: normal; font-weight: 400; color: var(--gris-titre); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid #C4CBD1; border-radius: 4px; background: #fff; font-family: inherit; font-size: 1rem; color: var(--texte); transition: border-color .2s ease, box-shadow .2s ease; }
.field textarea { resize: vertical; min-height: 84px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--moyen) 50%), linear-gradient(135deg, var(--moyen) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--moyen); box-shadow: 0 0 0 3px rgba(44, 121, 160, .18); }
.field [aria-invalid="true"] { border-color: var(--erreur); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-error { display: none; margin-top: 16px; color: var(--erreur); font-size: .95rem; }
.form-error.show { display: block; }
.form-card .btn { width: 100%; margin-top: 22px; }
.form-note { font-size: .92rem; color: var(--gris-titre); text-align: center; margin-top: 14px; }
.sent { display: none; text-align: center; padding: 20px 0; }
.sent.show { display: block; animation: fade .4s ease both; }
.sent .check { width: 56px; height: 56px; border-radius: 50%; background: var(--nuit); color: var(--jaune); display: grid; place-items: center; margin: 0 auto 20px; }
.sent h3 { font-size: 1.6rem; color: var(--nuit); margin-bottom: 10px; }
.sent p { color: var(--texte-doux); margin: 0 auto 24px; max-width: 40ch; }
.btn-ghost { background: none; color: var(--nuit); border: 1px solid var(--filet); }
.btn-ghost:hover { background: var(--gris-clair); box-shadow: none; }

/* Pied de page + bandeau de la charte */
.footer { background: var(--nuit); color: var(--bleu-clair); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 44px; padding-block: 64px 52px; }
.footer-grid img { width: 150px; height: auto; margin-bottom: 20px; }
.footer-grid .label { display: block; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--jaune); font-weight: 700; margin-bottom: 18px; }
.footer-grid nav, .footer-grid .lines { display: flex; flex-direction: column; gap: 10px; }
.footer-grid a { color: #fff; text-decoration: none; }
.footer-grid a:hover { color: var(--jaune); }
.bandeau { background: var(--bandeau); color: #fff; }
.bandeau .shell { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; font-size: .95rem; }
.bandeau img { width: 64px; height: auto; }

/* Safari < 16 : pas d'overflow « clip ». « hidden » sur body casserait l'en-tête collant,
   on le porte donc sur html, qui le transmet à la fenêtre. */
@supports not (overflow: clip) {
  html { overflow-x: hidden; }
  body { overflow-x: visible; }
}

/* Apparition au défilement */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2, .6, .2, 1), transform .7s cubic-bezier(.2, .6, .2, 1); }
.reveal.in-view { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@keyframes up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 1024px) {
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero-grid, .constat-grid, .split, .contact-grid, .case, .footer-grid { grid-template-columns: 1fr; }
  .sector { grid-template-columns: 1fr; gap: 12px; }
  .hero-media { min-height: 320px; }
}
@media (max-width: 820px) {
  :root { --header-h: 84px; }
  .nav-links, .nav-cta { display: none; }
  .burger { display: inline-flex; }
  .nav-logo img { width: 104px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .steps, .form-grid { grid-template-columns: 1fr; }
  .bandeau .shell { flex-direction: column; align-items: flex-start; padding-block: 16px; }
  .about::after { width: 260px; height: 208px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
