/* bashmediallc.com : feuille unique (spec § 4, direction B « bandeau indigo »).
   Aucun style en ligne dans le HTML : la CSP l'interdit. */

@font-face { font-family: "Lexend"; src: url("/assets/fonts/lexend-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --indigo: #373BB5;
  --indigo-dark: #2B2E93;
  --ink: #12161F;
  --muted: #5A6070;
  --line: #E4E6EE;
  --alt: #F7F8FB;
  --tint: #EEEFFB;
  --lavender: #8589F2;
  --live-bg: #E3F5EA;
  --live-fg: #1F7A45;
  --dev-bg: #FFF2DB;
  --dev-fg: #8A5A00;
  --on-indigo: #E3E4FA;
  --on-indigo-soft: #B9BBF5;
  --on-ink: #E9EAF0;
  --on-ink-muted: #A3A8B8;
  --error: #B42318;
  --font-head: "Lexend", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --gutter: 28px;
  --section: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: #fff; color: var(--ink); font: 400 16px/1.6 var(--font-body); }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: var(--indigo); }
h1, h2, h3, .eyebrow { font-family: var(--font-head); font-weight: 600; }
:focus-visible { outline: 2px solid var(--indigo); outline-offset: 2px; }
.hero :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: #fff; }

.wrap { max-width: 1096px; margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 10; background: #fff; color: var(--ink); padding: 8px 14px; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 12px; }

/* En-tête posé sur le bandeau */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 5; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand img { height: 28px; width: auto; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: var(--on-indigo); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.nav-menu { display: none; position: relative; }
.nav-menu summary { list-style: none; cursor: pointer; padding: 12px 10px; margin-right: -10px; }
.nav-menu summary::-webkit-details-marker { display: none; }
.burger, .burger::before, .burger::after { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; }
.burger { position: relative; }
.burger::before, .burger::after { content: ""; position: absolute; left: 0; }
.burger::before { top: -7px; }
.burger::after { top: 7px; }
.nav-menu ul { position: absolute; right: 0; top: 46px; min-width: 190px; background: #fff; border-radius: 12px; padding: 8px; box-shadow: 0 8px 30px rgba(18, 22, 31, .18); }
.nav-menu ul a { display: block; padding: 10px 12px; color: var(--ink); text-decoration: none; font-weight: 600; border-radius: 8px; }
.nav-menu ul a:hover { background: var(--tint); }

/* Bandeau */
.hero { background: linear-gradient(135deg, var(--indigo) 0%, var(--indigo-dark) 100%); color: #fff; padding: 136px 0 88px; }
.hero-inner { display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px; align-items: center; }
.eyebrow { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--indigo); margin-bottom: 14px; }
.hero .eyebrow { color: var(--on-indigo-soft); }
.hero h1 { font-size: clamp(32px, 5vw, 46px); line-height: 1.1; letter-spacing: -.015em; margin-bottom: 18px; }
.lead { font-size: 18px; color: var(--on-indigo); max-width: 540px; margin-bottom: 30px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-block; padding: 12px 20px; border-radius: 9px; font: 600 15px/1.2 var(--font-body); text-decoration: none; border: 1px solid transparent; cursor: pointer; }
.btn-light { background: #fff; color: var(--indigo-dark); }
.btn-outline { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn-outline:hover { background: rgba(255, 255, 255, .1); }
.btn-primary { background: var(--indigo); color: #fff; }
.btn-primary:hover { background: var(--indigo-dark); }
.btn:disabled { opacity: .6; cursor: not-allowed; }
.hero-art { position: relative; height: 220px; }
.hero-art span { position: absolute; left: 10%; height: 52px; border-radius: 30px; }
.hero-art span:nth-child(1) { top: 20px; right: 18%; background: rgba(255, 255, 255, .95); }
.hero-art span:nth-child(2) { top: 86px; right: 10%; background: rgba(255, 255, 255, .28); }
.hero-art span:nth-child(3) { top: 152px; right: 2%; background: rgba(255, 255, 255, .14); }
.page-hero { padding: 128px 0 56px; }
.page-hero .lead { margin-bottom: 0; }
.page-hero .btns { margin-top: 28px; }

/* Sections */
.section { padding: var(--section) 0; }
.section-alt { background: var(--alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 620px; margin-bottom: 36px; }
.section h2 { font-size: clamp(25px, 3.4vw, 31px); line-height: 1.2; letter-spacing: -.01em; margin-bottom: 10px; }
.muted { color: var(--muted); }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.principle .icon { width: 42px; height: 42px; border-radius: 10px; background: var(--tint); color: var(--indigo); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.principle h3 { font-size: 18px; margin-bottom: 6px; }
.principle p { color: var(--muted); font-size: 15px; }

/* Cartes des sites */
.card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; box-shadow: 0 1px 3px rgba(18, 22, 31, .05); }
.card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.card-top img, .mono { width: 40px; height: 40px; border-radius: 10px; }
.mono { background: var(--ink); color: #fff; font: 600 15px/40px var(--font-head); text-align: center; }
.badge { font-size: 12.5px; font-weight: 600; padding: 3px 10px; border-radius: 99px; }
.badge-live { background: var(--live-bg); color: var(--live-fg); }
.badge-dev { background: var(--dev-bg); color: var(--dev-fg); }
.card h3 { font-size: 19px; }
.card .domain { font-size: 13.5px; color: var(--muted); margin-bottom: 10px; }
.card .desc { color: var(--muted); font-size: 15px; flex: 1; margin-bottom: 16px; }
.card-link { font-weight: 600; text-decoration: none; }
.card-link:hover { text-decoration: underline; }
.card-soon { color: var(--muted); font-weight: 600; }

/* Encadré Company facts */
.facts { margin-top: 40px; background: var(--ink); color: var(--on-ink); border-radius: 14px; padding: 26px 28px; display: grid; grid-template-columns: repeat(5, auto); gap: 22px; justify-content: space-between; }
.facts dt { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--lavender); font-weight: 600; margin-bottom: 4px; }
.facts dd { overflow-wrap: anywhere; }
.facts a { color: var(--on-ink); }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; }
.mail-link { display: inline-block; margin-top: 18px; font-weight: 600; overflow-wrap: anywhere; }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; font: 400 16px/1.4 var(--font-body); color: var(--ink); background: #fff; border: 1px solid #8E94A6; border-radius: 8px; padding: 10px 12px; }
.field textarea { resize: vertical; min-height: 130px; }
.field [aria-invalid="true"] { border-color: var(--error); }
.field-error { color: var(--error); font-size: 13.5px; margin-top: 6px; }
.field-error:empty { display: none; }
.full { grid-column: 1 / -1; }
.consent { font-size: 13.5px; color: var(--muted); }
.form-status { margin-top: 16px; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-error { color: var(--error); }
.form-status.form-success { margin-top: 0; background: var(--live-bg); color: var(--live-fg); border-radius: 14px; padding: 24px; }
.form-noscript { background: var(--tint); border-radius: 14px; padding: 24px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Pages de texte (privacy) */
.prose { max-width: 720px; }
.prose h2 { font-size: 22px; margin: 36px 0 10px; }
.prose p, .prose ul { margin-bottom: 14px; }
.prose ul { list-style: disc; padding-left: 22px; }
.prose li { margin-bottom: 6px; }

/* Pied de page */
.site-footer { background: var(--ink); color: var(--on-ink-muted); font-size: 14px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding-top: 28px; padding-bottom: 28px; }
.footer-inner img { height: 22px; width: auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-links a { color: var(--on-ink-muted); overflow-wrap: anywhere; }
.footer-links a:hover { color: #fff; }

@media (max-width: 960px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  :root { --gutter: 16px; --section: 44px; }
  .nav-links { display: none; }
  .nav-menu { display: block; }
  .hero { padding: 104px 0 56px; }
  .page-hero { padding: 104px 0 44px; }
  .hero-inner, .grid3, .contact, .contact-form { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .lead { font-size: 16.5px; }
  .contact { gap: 28px; }
}
@media (max-width: 400px) {
  .facts { grid-template-columns: 1fr; }
}
