/* BizhFlow — site de présentation. Charte marine + or + crème, Montserrat + Inter.
   Polices servies par le site (aucun appel externe). Préfixe des classes : .bfs- */
@font-face { font-family: 'Inter'; font-weight: 400; font-display: swap; src: url('polices/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 500; font-display: swap; src: url('polices/inter-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-display: swap; src: url('polices/inter-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-weight: 600; font-display: swap; src: url('polices/montserrat-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-weight: 700; font-display: swap; src: url('polices/montserrat-latin-700-normal.woff2') format('woff2'); }

:root {
  --bf-marine: #1C3A5E;
  --bf-marine-fonce: #122B49;
  --bf-marine-tres-fonce: #0C2038;
  --bf-marine-clair: #185FA5;
  --bf-marine-bg: #E6F1FB;
  --bf-or: #C9A84C;
  --bf-or-vibrant: #D4B057;
  --bf-or-txt: #8B6F2A;
  --bf-hl-or: #F7EFDB;
  --bf-creme: #F8F6F1;
  --bf-anthracite: #2C2C2C;
  --bg1: #fff;
  --txt1: #1a1a19;
  --txt2: #5e5d58;
  --brd1: rgba(0, 0, 0, .15);
  --brd2: rgba(0, 0, 0, .08);
  --green-bg: #eaf3de; --green-txt: #1b4332;
  --amber-bg: #faeeda; --amber-txt: #854f0b;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-title: 'Montserrat', 'Inter', system-ui, sans-serif;
  --largeur: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--txt1); background: var(--bf-creme); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--bf-marine-clair); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--bf-or); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-title); color: var(--bf-marine); line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); font-weight: 700; letter-spacing: -.5px; }
h2 { font-size: clamp(1.55rem, 3vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.12rem; font-weight: 600; }
p { margin: 0 0 1em; }
.bfs-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bfs-saut { position: absolute; left: -999px; top: 8px; background: var(--bf-or); color: var(--bf-marine-tres-fonce); padding: 8px 14px; border-radius: 6px; z-index: 10; font-weight: 600; }
.bfs-saut:focus { left: 8px; }
.bfs-cadre { max-width: var(--largeur); margin: 0 auto; padding: 0 22px; }

/* En-tête */
.bfs-tete { background: var(--bf-marine-tres-fonce); color: var(--bf-creme); position: sticky; top: 0; z-index: 5; }
.bfs-tete .bfs-cadre { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.bfs-marque { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--bf-creme); font-family: var(--font-title); font-weight: 700; font-size: 1.35rem; letter-spacing: -.3px; }
.bfs-marque-carre { width: 30px; height: 30px; border-radius: 6px; background: var(--bf-or-vibrant); color: var(--bf-marine-fonce); display: inline-grid; place-items: center; font-size: 1.05rem; }
.bfs-marque b { color: var(--bf-or-vibrant); font-weight: 700; }
.bfs-nav { display: flex; gap: 22px; align-items: center; }
.bfs-nav a { color: var(--bf-creme); text-decoration: none; font-size: .95rem; opacity: .9; }
.bfs-nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.bfs-nav .bfs-bouton, .bfs-nav .bfs-bouton:hover { opacity: 1; color: var(--bf-marine-tres-fonce); text-decoration: none; }
@media (max-width: 860px) { .bfs-nav a:not(.bfs-bouton) { display: none; } }

/* Boutons */
.bfs-bouton { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 20px; border-radius: 6px; background: var(--bf-or); color: var(--bf-marine-tres-fonce); font-weight: 600; text-decoration: none; border: 0; transition: background .15s; }
.bfs-bouton:hover { background: var(--bf-or-vibrant); }
.bfs-bouton:active { transform: scale(.98); }
.bfs-bouton-sec { background: transparent; color: var(--bf-creme); border: 1px solid rgba(248, 246, 241, .45); }
.bfs-bouton-sec:hover { background: rgba(248, 246, 241, .08); }

/* Ouverture */
.bfs-ouverture { background: linear-gradient(180deg, var(--bf-marine-tres-fonce), var(--bf-marine)); color: var(--bf-creme); padding: 64px 0 72px; }
.bfs-ouverture h1 { color: var(--bf-creme); max-width: 820px; }
.bfs-ouverture h1 em { font-style: normal; color: var(--bf-or-vibrant); }
.bfs-chapeau { font-size: 1.18rem; max-width: 720px; color: #dfe6ee; }
.bfs-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 40px; }
.bfs-ecran { margin: 0; border-radius: 12px; box-shadow: 0 20px 50px rgba(0, 0, 0, .35); position: relative; background: var(--bg1); }
.bfs-ecran img { border-radius: 12px; }
.bfs-fictif { position: absolute; top: -13px; right: 18px; box-shadow: 0 1px 4px rgba(0, 0, 0, .15); z-index: 1; background: var(--bf-hl-or); color: var(--bf-or-txt); font-size: .78rem; font-weight: 600; padding: 4px 10px; border-radius: 20px; letter-spacing: .3px; }
.bfs-legende { font-size: .9rem; color: #c9d3de; margin-top: 12px; }

/* Sections */
.bfs-section { padding: 72px 0; }
.bfs-section-blanche { background: var(--bg1); }
.bfs-surtitre { font-size: .78rem; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 600; color: var(--bf-or-txt); margin-bottom: 10px; }
.bfs-intro { max-width: 760px; color: var(--txt2); font-size: 1.08rem; }
.bfs-grille { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-top: 32px; }
.bfs-carte { background: var(--bg1); border: .5px solid var(--brd1); border-radius: 10px; padding: 22px; box-shadow: 0 1px 6px rgba(0, 0, 0, .05); }
.bfs-section-blanche .bfs-carte { background: var(--bf-creme); }
.bfs-carte h3 { margin-bottom: .4em; }
.bfs-carte p { color: var(--txt2); margin: 0; font-size: .98rem; }
.bfs-carte ul { margin: .4em 0 0; padding-left: 1.1em; color: var(--txt2); font-size: .98rem; }

/* Parcours */
.bfs-etapes { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); counter-reset: etape; }
.bfs-etapes li { counter-increment: etape; background: var(--bg1); border-radius: 10px; border: .5px solid var(--brd1); padding: 18px; position: relative; }
.bfs-etapes li::before { content: counter(etape); display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--bf-marine); color: var(--bf-creme); font-family: var(--font-title); font-weight: 700; font-size: .9rem; margin-bottom: 10px; }
.bfs-etapes strong { display: block; color: var(--bf-marine); font-family: var(--font-title); }
.bfs-etapes span { color: var(--txt2); font-size: .95rem; }

/* Captures */
.bfs-galerie { display: grid; gap: 48px; margin-top: 36px; }
.bfs-capture { display: grid; gap: 28px; align-items: center; grid-template-columns: 1.5fr 1fr; }
.bfs-capture:nth-child(even) { grid-template-columns: 1fr 1.5fr; }
.bfs-capture:nth-child(even) .bfs-ecran { order: 2; }
.bfs-capture .bfs-ecran { box-shadow: 0 10px 30px rgba(28, 58, 94, .18); border: .5px solid var(--brd1); }
@media (max-width: 860px) { .bfs-capture, .bfs-capture:nth-child(even) { grid-template-columns: 1fr; } .bfs-capture:nth-child(even) .bfs-ecran { order: 0; } }

/* Engagements */
.bfs-principes { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(196px, 1fr)); margin-top: 28px; }
.bfs-principe { border-left: 3px solid var(--bf-or); padding: 4px 0 4px 16px; }
.bfs-principe strong { color: var(--bf-marine); display: block; font-family: var(--font-title); }
.bfs-principe span { color: var(--txt2); font-size: .97rem; }

/* Plateformes */
.bfs-tableau-zone { overflow-x: auto; margin-top: 28px; }
.bfs-tableau { width: 100%; border-collapse: collapse; background: var(--bg1); border-radius: 10px; overflow: hidden; font-size: .97rem; min-width: 560px; }
.bfs-tableau th, .bfs-tableau td { text-align: left; padding: 14px 16px; border-bottom: .5px solid var(--brd1); vertical-align: top; }
.bfs-tableau thead th { background: var(--bf-marine); color: var(--bf-creme); font-family: var(--font-title); font-weight: 600; }
.bfs-badge { display: inline-block; padding: 2px 10px; border-radius: 20px; font-size: .82rem; font-weight: 600; white-space: nowrap; }
.bfs-badge-ok { background: var(--green-bg); color: var(--green-txt); }
.bfs-badge-prep { background: var(--amber-bg); color: var(--amber-txt); }
.bfs-badge-or { background: var(--bf-hl-or); color: var(--bf-or-txt); }

/* Formules */
.bfs-formules { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin-top: 28px; }
.bfs-formule { background: var(--bg1); border: .5px solid var(--brd1); border-radius: 10px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.bfs-formule h3 { margin: 0; }
.bfs-formule p { color: var(--txt2); font-size: .97rem; margin: 0; }
.bfs-note { margin-top: 20px; font-size: .95rem; color: var(--txt2); background: var(--bf-hl-or); border-radius: 8px; padding: 14px 16px; }

/* Contact */
.bfs-contact { background: var(--bf-marine); color: var(--bf-creme); }
.bfs-contact h2 { color: var(--bf-creme); }
.bfs-contact p { color: #dfe6ee; max-width: 720px; }
.bfs-contact a:not(.bfs-bouton) { color: var(--bf-or-vibrant); }
.bfs-coordonnees { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 18px; font-size: 1.02rem; }

/* FAQ */
.bfs-faq details { background: var(--bg1); border: .5px solid var(--brd1); border-radius: 10px; padding: 0 18px; margin-top: 10px; }
.bfs-faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; color: var(--bf-marine); min-height: 44px; }
.bfs-faq details p { color: var(--txt2); }

/* Pied */
.bfs-pied { background: var(--bf-marine-tres-fonce); color: #c9d3de; padding: 36px 0; font-size: .92rem; }
.bfs-pied .bfs-cadre { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; }
.bfs-pied a { color: var(--bf-creme); }

/* Pages de texte (mentions) */
.bfs-texte { max-width: 820px; }
.bfs-texte h2 { font-size: 1.35rem; margin-top: 1.6em; }
.bfs-texte p, .bfs-texte li { color: var(--txt1); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
.bfs-surtitre-clair { color: var(--bf-or-vibrant); }
.bfs-formule .bfs-badge { align-self: flex-start; }
@media (max-width: 640px) {
  .bfs-tableau { min-width: 0; }
  .bfs-tableau thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .bfs-tableau, .bfs-tableau tbody, .bfs-tableau tr, .bfs-tableau th, .bfs-tableau td { display: block; width: 100%; }
  .bfs-tableau tr { border-bottom: .5px solid var(--brd1); padding: 6px 0; }
  .bfs-tableau th, .bfs-tableau td { border: 0; padding: 6px 16px; overflow-wrap: normal; }
  .bfs-tableau tbody th { font-family: var(--font-title); color: var(--bf-marine); padding-top: 12px; }
  .bfs-tete .bfs-bouton { padding: 8px 12px; font-size: .9rem; }
}
