/* =====================================================================
   BS Development Entreprise — Site vitrine
   Design system partagé (vanilla, autonome, sans dépendance externe hors polices)
   Thème : éditorial « papier chaud », un seul accent verrouillé (rouille),
   support clair + sombre (prefers-color-scheme), mouvement respectant
   prefers-reduced-motion.
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Base claire (papier chaud) */
  /* Base neutre claire (argentée), accordée au métal du logo */
  --paper:      #F2F3F5;
  --paper-2:    #E8EBEF;   /* section légèrement plus dense */
  --paper-3:    #DDE2E9;
  --ink:        #16233F;   /* texte principal (bleu marine profond) */
  --ink-soft:   #55607A;   /* texte secondaire */
  --ink-faint:  #8891A4;   /* légendes */
  --line:       rgba(22, 35, 63, 0.12);
  --line-soft:  rgba(22, 35, 63, 0.06);
  --card:       #FBFCFD;
  --card-2:     #FFFFFF;

  /* Accent = or/bronze (arbre du logo) */
  --accent:     #A0731C;
  --accent-ink: #7F5A14;   /* accent foncé (hover) */
  --accent-tint:rgba(160, 115, 28, 0.12);
  --accent-on-dark: #D8AC55; /* or plus clair sur fonds sombres */
  --on-accent:  #201400;

  /* Marque = bleu marine (boutons principaux, fond du médaillon) */
  --brand:      #1E3157;
  --brand-ink:  #16243F;
  --on-brand:   #F6F8FC;

  /* Bande sombre volontaire (« principes ») — bleu marine */
  --night:      #16233F;
  --night-2:    #1E2F50;
  --night-ink:  #EDEFF4;
  --night-soft: #A2ABBF;
  --night-line: rgba(255, 255, 255, 0.12);

  /* Teintes produits (joyaux présents dans le logo, non interactives) */
  --coeurly:    #C24A62;
  --gravity:    #6B54A6;
  --cvcreator:  #2E8181;

  /* Typo */
  --font-display: "Bricolage Grotesque", "Georgia", serif;
  --font-sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Structure */
  --maxw: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-pill: 999px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 84px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper:      #0F1626;
    --paper-2:    #141D31;
    --paper-3:    #1C2842;
    --ink:        #ECEFF4;
    --ink-soft:   #A6B0C3;
    --ink-faint:  #6E7789;
    --line:       rgba(255, 255, 255, 0.12);
    --line-soft:  rgba(255, 255, 255, 0.06);
    --card:       #16203A;
    --card-2:     #1C2846;
    --accent:     #C99A3F;
    --accent-ink: #D8AC55;
    --accent-tint:rgba(201, 154, 63, 0.16);
    --accent-on-dark: #D8AC55;
    --on-accent:  #16110A;
    --brand:      #2F4C86;
    --brand-ink:  #3A5A9A;
    --on-brand:   #FFFFFF;
    --night:      #0C1220;
    --night-2:    #141D31;
    --coeurly:    #E06A80;
    --gravity:    #8A82FF;
    --cvcreator:  #45B3B3;
  }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }

::selection { background: var(--accent); color: var(--on-accent); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Typo ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.04; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.6rem, 6.2vw, 5rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.35rem); letter-spacing: -0.025em; }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); letter-spacing: -0.015em; }
p { color: var(--ink-soft); }
.lead { font-size: clamp(1.12rem, 1.8vw, 1.4rem); color: var(--ink-soft); line-height: 1.5; max-width: 40ch; }
.accent { color: var(--accent); }
.serif-i { font-style: italic; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
section { position: relative; }
.section-pad { padding-block: clamp(4.5rem, 11vw, 9rem); }
.divider { border: 0; border-top: 1px solid var(--line); }

/* ---------- Eyebrow (rationné) ---------- */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-block;
  margin-bottom: 1.1rem;
}

/* ---------- Boutons ---------- */
.btn {
  --pad-y: 0.8rem; --pad-x: 1.5rem;
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: var(--pad-y) var(--pad-x);
  border-radius: var(--radius-pill);
  font-weight: 600; font-size: 0.98rem;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-primary { background: var(--brand); color: var(--on-brand); }
.btn-primary:hover { background: var(--brand-ink); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-arrow svg { transition: transform 0.25s var(--ease); }
.btn-arrow:hover svg { transform: translateX(3px); }
.btn-lg { --pad-y: 1rem; --pad-x: 1.9rem; font-size: 1.05rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-weight: 600; color: var(--ink);
  border-bottom: 1.5px solid var(--line);
  padding-bottom: 2px; transition: border-color 0.25s var(--ease), gap 0.25s var(--ease);
}
.link-arrow:hover { border-color: var(--accent); gap: 0.65rem; }
.link-arrow svg { transition: transform 0.25s var(--ease); }
.link-arrow:hover svg { transform: translateX(2px); }

/* ==============================================================
   NAV
   ============================================================== */
.nav {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; width: 100%; }
.brand { display: inline-flex; flex-direction: column; align-items: center; gap: 0.25rem; font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em; text-align: center; }
.brand-emblem { width: 44px; height: 44px; flex: none; display: block; }
.brand-word { font-size: 0.82rem; line-height: 1; white-space: nowrap; }
.footer .brand-emblem { width: 62px; height: 62px; }
.footer .brand-word { font-size: 0.98rem; }
@media (max-width: 520px) { .brand-word { display: none; } }
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand-mark rect, .brand-mark path { transition: transform 0.4s var(--ease); }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { font-size: 0.95rem; color: var(--ink-soft); font-weight: 500; transition: color 0.2s; position: relative; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--accent); border-radius: 2px;
}
.nav-right { display: flex; align-items: center; gap: 1rem; }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: transparent; align-items: center; justify-content: center; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; transition: 0.3s var(--ease); }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); transition: 0.3s var(--ease); }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
body.menu-open .nav-toggle span { background: transparent; }
body.menu-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
body.menu-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 860px) {
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 0.5rem var(--gutter) 1.5rem;
    transform: translateY(-120%); opacity: 0; pointer-events: none;
    transition: transform 0.4s var(--ease), opacity 0.3s;
  }
  body.menu-open .nav-links { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { width: 100%; padding: 1rem 0; font-size: 1.15rem; border-bottom: 1px solid var(--line-soft); }
  .nav-links a[aria-current="page"]::after { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-right .btn-ghost { display: none; }
}

/* ==============================================================
   HERO
   ============================================================== */
.hero { padding-top: clamp(3rem, 7vw, 5.5rem); padding-bottom: clamp(3.5rem, 8vw, 6rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero-kicker { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 0.9rem; font-weight: 600; color: var(--ink-soft); background: var(--card); border: 1px solid var(--line); padding: 0.4rem 0.9rem; border-radius: var(--radius-pill); margin-bottom: 1.6rem; }
.hero-kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.hero h1 { margin-bottom: 1.5rem; }
.hero h1 em { font-style: italic; color: var(--accent); font-weight: 700; }
.hero-lead { margin-bottom: 2.2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }

/* Visuel de marque animé (recréé en vanilla, inspiré 21st.dev) */
.hero-visual { position: relative; aspect-ratio: 1 / 1.05; }
.orb-stage { position: absolute; inset: 0; border-radius: 26px; overflow: hidden; background: var(--card); border: 1px solid var(--line); box-shadow: 0 30px 80px -40px rgba(26,23,18,0.5); }
.mesh { position: absolute; border-radius: 50%; filter: blur(38px); opacity: 0.9; mix-blend-mode: normal; will-change: transform; }
.mesh.m1 { width: 62%; height: 62%; left: -8%; top: -6%; background: var(--coeurly); animation: drift1 16s var(--ease) infinite alternate; }
.mesh.m2 { width: 58%; height: 58%; right: -10%; top: 18%; background: var(--gravity); animation: drift2 19s var(--ease) infinite alternate; }
.mesh.m3 { width: 60%; height: 60%; left: 12%; bottom: -12%; background: var(--cvcreator); animation: drift3 22s var(--ease) infinite alternate; }
.mesh.m4 { width: 46%; height: 46%; right: 6%; bottom: 4%; background: var(--accent); animation: drift1 18s var(--ease) infinite alternate-reverse; }
.orb-grain { position: absolute; inset: 0; opacity: 0.5; pointer-events: none; background-image: radial-gradient(var(--ink) 0.5px, transparent 0.5px); background-size: 4px 4px; opacity: 0.05; }
/* Image héros (photo locale, autonome) */
.hero-photo { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.03); animation: heroZoom 22s var(--ease) infinite alternate; }
.hero-scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(to top, rgba(10,14,26,0.5), transparent 42%); }
@keyframes heroZoom { from { transform: scale(1.03); } to { transform: scale(1.1); } }
.orb-caption { position: absolute; left: 20px; right: 20px; bottom: 18px; display: flex; justify-content: space-between; align-items: flex-end; z-index: 2; }
.orb-caption .lbl { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); background: color-mix(in srgb, var(--card) 70%, transparent); backdrop-filter: blur(6px); padding: 0.35rem 0.7rem; border-radius: var(--radius-pill); border: 1px solid var(--line); font-weight: 600; }

@keyframes drift1 { from { transform: translate(0,0) scale(1); } to { transform: translate(14%, 10%) scale(1.15); } }
@keyframes drift2 { from { transform: translate(0,0) scale(1.05); } to { transform: translate(-12%, 14%) scale(0.9); } }
@keyframes drift3 { from { transform: translate(0,0) scale(0.95); } to { transform: translate(10%, -12%) scale(1.2); } }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual { max-width: 460px; margin-inline: auto; width: 100%; }
}

/* ==============================================================
   BANDE MANIFESTE
   ============================================================== */
.manifesto { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.manifesto .big {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.7rem, 3.6vw, 2.9rem); line-height: 1.16; letter-spacing: -0.02em;
  max-width: 22ch;
}
.manifesto .big span { color: var(--ink-faint); }
.manifesto-foot { display: flex; flex-wrap: wrap; gap: 2.5rem; margin-top: 2.8rem; padding-top: 2rem; border-top: 1px solid var(--line-soft); }
.manifesto-foot div { flex: 1 1 200px; }
.manifesto-foot .n { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; margin-bottom: 0.3rem; }
.manifesto-foot p { font-size: 0.95rem; }

/* ==============================================================
   PRODUITS (bento asymétrique)
   ============================================================== */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; margin-bottom: clamp(2.2rem, 5vw, 3.5rem); }
.sec-head .h { max-width: 20ch; }
.sec-head p { max-width: 36ch; }

.bento { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1rem, 2vw, 1.4rem); }
.p-card {
  position: relative; overflow: hidden;
  border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--card); padding: clamp(1.5rem, 3vw, 2.4rem);
  display: flex; flex-direction: column; min-height: 340px;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.p-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--pc) 45%, var(--line)); box-shadow: 0 30px 70px -45px color-mix(in srgb, var(--pc) 60%, transparent); }
.p-card.feature { grid-column: span 2; min-height: 400px; flex-direction: row; align-items: stretch; gap: 2rem; }
.p-visual { position: absolute; inset: 0; z-index: 0; opacity: 0.9; }
.p-body { position: relative; z-index: 1; display: flex; flex-direction: column; height: 100%; }
.p-card.feature .p-body { flex: 1 1 46%; justify-content: center; }
.p-tag { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--pc); margin-bottom: auto; }
.p-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pc); }
.p-card h3 { margin-top: 1.4rem; margin-bottom: 0.7rem; }
.p-card .p-desc { font-size: 1rem; margin-bottom: 1.5rem; max-width: 34ch; }
.p-card .p-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: auto; }
.p-url { font-size: 0.85rem; color: var(--ink-faint); font-weight: 500; }
a.p-url { text-decoration: none; transition: color .15s ease; }
a.p-url:hover { color: var(--pc); text-decoration: underline; }

/* Décor produit (dégradés doux propres à chaque produit) */
.p-deco { position: absolute; z-index: 0; border-radius: 50%; filter: blur(46px); opacity: 0.5; }
.p-card.feature .p-art { position: relative; flex: 1 1 54%; border-radius: var(--radius-sm); overflow: hidden; background: color-mix(in srgb, var(--pc) 8%, var(--card)); border: 1px solid var(--line-soft); min-height: 240px; }
.p-card.feature .p-art .p-deco.a { width: 70%; height: 70%; left: -6%; top: -10%; background: var(--pc); }
.p-card.feature .p-art .p-deco.b { width: 55%; height: 55%; right: -8%; bottom: -12%; background: var(--pc); opacity: 0.35; }
.p-card .p-deco.solo { width: 220px; height: 220px; right: -50px; top: -50px; background: var(--pc); opacity: 0.16; }

@media (max-width: 760px) {
  .bento { grid-template-columns: 1fr; }
  .p-card.feature { grid-column: span 1; flex-direction: column; }
  .p-card.feature .p-art { min-height: 200px; }
  .p-card { min-height: 300px; }
}

/* ==============================================================
   APPROCHE (liste numérotée éditoriale)
   ============================================================== */
.approach-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.approach-grid .sticky-h { position: sticky; top: calc(var(--nav-h) + 2rem); }
.steps { display: flex; flex-direction: column; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; padding: 1.8rem 0; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step .num { font-family: var(--font-display); font-size: 1rem; color: var(--accent); font-weight: 700; padding-top: 0.2rem; }
.step h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.step p { font-size: 0.98rem; max-width: 46ch; }
@media (max-width: 820px) {
  .approach-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .approach-grid .sticky-h { position: static; }
}

/* ==============================================================
   BANDE PRINCIPES (bloc sombre volontaire — une seule fois)
   ============================================================== */
.night { background: var(--night); color: var(--night-ink); }
.night h2 { color: var(--night-ink); }
.night .eyebrow { color: var(--accent-on-dark); }
.night p { color: var(--night-soft); }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--night-line); border: 1px solid var(--night-line); border-radius: var(--radius); overflow: hidden; margin-top: clamp(2rem,5vw,3rem); }
.principle { background: var(--night); padding: clamp(1.6rem, 3vw, 2.4rem); }
.principle .ico { width: 34px; height: 34px; color: var(--accent-on-dark); margin-bottom: 1.1rem; }
.principle h3 { color: var(--night-ink); font-size: 1.15rem; margin-bottom: 0.6rem; }
.principle p { font-size: 0.95rem; }
@media (max-width: 820px) { .principles { grid-template-columns: 1fr; } }

/* ==============================================================
   CTA CONTACT
   ============================================================== */
.cta-band { text-align: center; }
.cta-band .inner { max-width: 40ch; margin-inline: auto; }
.cta-band h2 { margin-bottom: 1.2rem; }
.cta-band p { margin-bottom: 2rem; margin-inline: auto; }
.cta-band .btns { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }

/* ==============================================================
   FOOTER
   ============================================================== */
.footer { border-top: 1px solid var(--line); background: var(--paper-2); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 2.5rem; }
.footer .brand { margin-bottom: 1rem; }
.footer .f-about { font-size: 0.95rem; max-width: 34ch; }
.footer .f-mail { display: inline-flex; align-items:center; gap: 0.5rem; margin-top: 1.2rem; font-weight: 600; color: var(--ink); border-bottom: 1.5px solid var(--line); padding-bottom: 2px; transition: border-color 0.2s; }
.footer .f-mail:hover { border-color: var(--accent); }
.footer h4 { font-family: var(--font-sans); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 1.1rem; font-weight: 600; }
.footer ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.7rem; }
.footer ul a { font-size: 0.95rem; color: var(--ink-soft); transition: color 0.2s; }
.footer ul a:hover { color: var(--accent); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.footer-bottom p { font-size: 0.85rem; color: var(--ink-faint); }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } .footer .f-brand-col { grid-column: span 2; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } .footer .f-brand-col { grid-column: span 1; } }

/* ==============================================================
   PAGE HEADER (pages internes)
   ============================================================== */
.page-hero { padding-top: clamp(3rem, 6vw, 4.5rem); }
.page-hero .eyebrow { margin-bottom: 1.3rem; }
.page-hero h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); max-width: 16ch; margin-bottom: 1.4rem; }
.page-hero .lead { max-width: 52ch; }

/* Produit détaillé (pages) */
.prod-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding-block: clamp(3rem, 7vw, 6rem); border-top: 1px solid var(--line); }
.prod-row:nth-child(even) .prod-media { order: 2; }
.prod-media { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: color-mix(in srgb, var(--pc) 7%, var(--card)); }
.prod-media .p-deco { filter: blur(50px); }
.prod-media .d1 { width: 60%; height: 60%; left: -5%; top: -8%; background: var(--pc); opacity: 0.55; }
.prod-media .d2 { width: 48%; height: 48%; right: -6%; bottom: -10%; background: var(--pc); opacity: 0.32; }
.prod-media .badge { position: absolute; z-index:2; left: 20px; top: 20px; display:inline-flex; align-items:center; gap:0.5rem; background: color-mix(in srgb, var(--card) 78%, transparent); backdrop-filter: blur(8px); border:1px solid var(--line); padding: 0.4rem 0.85rem; border-radius: var(--radius-pill); font-size:0.8rem; font-weight:600; }
.prod-media .badge .dot { width:8px; height:8px; border-radius:50%; background: var(--pc); }
.prod-photo { position:absolute; inset:0; z-index:1; width:100%; height:100%; object-fit: cover; }
.prod-photo.fit-contain { object-fit: contain; }
.prod-media.bg-navy { background:#0C112E; }
.prod-media.bg-coeurly { background:#FFD4FC; }
.prod-media.bg-dark { background:#090B12; }
.prod-media .badge.badge-link { text-decoration:none; color: var(--ink); cursor:pointer; transition: transform .15s ease, border-color .15s ease; }
.prod-media .badge.badge-link:hover { transform: translateY(-1px); border-color: var(--pc); }
.prod-info .p-tag { color: var(--pc); }
.prod-info h2 { margin: 0.9rem 0 1rem; }
.prod-info .feat { list-style: none; padding: 0; margin: 1.6rem 0; display: flex; flex-direction: column; gap: 0.9rem; }
.prod-info .feat li { display: flex; gap: 0.7rem; font-size: 0.98rem; color: var(--ink-soft); }
.prod-info .feat svg { flex: none; color: var(--pc); margin-top: 3px; }
@media (max-width: 820px) {
  .prod-row { grid-template-columns: 1fr; gap: 2rem; }
  .prod-row:nth-child(even) .prod-media { order: 0; }
}

/* Valeurs / à-propos */
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.value { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem,3vw,2.2rem); background: var(--card); }
.value .ico { width: 32px; height: 32px; color: var(--accent); margin-bottom: 1rem; }
.value h3 { font-size: 1.2rem; margin-bottom: 0.6rem; }
.value p { font-size: 0.96rem; }
@media (max-width: 640px) { .values { grid-template-columns: 1fr; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.contact-side .c-item { padding: 1.4rem 0; border-top: 1px solid var(--line); }
.contact-side .c-item:last-child { border-bottom: 1px solid var(--line); }
.contact-side h4 { font-family: var(--font-sans); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 0.5rem; font-weight: 600; }
.contact-side a, .contact-side p { font-size: 1.05rem; color: var(--ink); font-weight: 500; }
.form { display: grid; gap: 1.2rem; }
.field { display: grid; gap: 0.45rem; }
.field label { font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.field input, .field textarea, .field select {
  font: inherit; color: var(--ink); background: var(--card-2);
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 0.85rem 1rem; transition: border-color 0.2s, box-shadow 0.2s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
.field textarea { min-height: 150px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form .btn { justify-self: start; }
.form-note { font-size: 0.85rem; color: var(--ink-faint); }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; } .form-row { grid-template-columns: 1fr; } }

/* ==============================================================
   SCROLL REVEAL
   ============================================================== */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: 0.08s; }
[data-reveal][data-delay="2"] { transition-delay: 0.16s; }
[data-reveal][data-delay="3"] { transition-delay: 0.24s; }
[data-reveal][data-delay="4"] { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .mesh, .p-deco, .hero-photo { animation: none !important; }
  .hero-photo { transform: none !important; }
  .btn:hover, .p-card:hover, .link-arrow:hover { transform: none !important; }
}

/* ==============================================================
   LOGOTYPE BS (monogramme deux tons)
   ============================================================== */
/* Signature (logo « BS » calligraphié, sans cadre) */
.brand-sig {
  font-family: "Archivo Black", "Arial Black", sans-serif;
  font-weight: 400; font-size: 1.5rem; line-height: 1;
  display: inline-flex; align-items: baseline; letter-spacing: -0.03em;
  text-transform: uppercase; padding: 0 1px;
}
.brand-sig .b { color: var(--ink); }
.brand-sig .s { color: var(--accent); margin-left: 0.005em; }
.footer .brand-sig .b, .footer .brand-sig .s { }

/* Sélecteur de langue */
.lang-toggle {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-family: var(--font-sans); font-size: 0.82rem; font-weight: 600;
  color: var(--ink-soft); background: transparent;
  border: 1px solid var(--line); border-radius: var(--radius-pill);
  padding: 0.42rem 0.78rem; transition: border-color 0.2s, color 0.2s;
}
.lang-toggle:hover { border-color: var(--ink); color: var(--ink); }
.lang-toggle .cur { color: var(--accent); font-weight: 700; }
.lang-toggle svg { width: 15px; height: 15px; }

/* Bande de marque : logotype géant + devise */
.brand-band { text-align: center; overflow: hidden; }
.brand-band .wrap { position: relative; }
.brand-band .glow {
  position: absolute; z-index: 0; left: 50%; top: 34%; transform: translate(-50%, -50%);
  width: min(72vw, 640px); aspect-ratio: 1;
  background: radial-gradient(circle, var(--accent-tint), transparent 66%);
  filter: blur(18px); pointer-events: none;
}
.brand-band .wrap > *:not(.glow) { position: relative; z-index: 1; }
.brand-band .bb-mark {
  font-family: "Archivo Black", "Arial Black", sans-serif; font-weight: 400; line-height: 0.9;
  font-size: clamp(5rem, 17vw, 12rem); letter-spacing: -0.05em; text-transform: uppercase;
  display: flex; justify-content: center; align-items: baseline;
  margin-bottom: 1.5rem;
}
.brand-band .bb-emblem { display: block; width: clamp(120px, 20vw, 210px); height: auto; margin: 0 auto 1.7rem; filter: drop-shadow(0 20px 42px rgba(20,17,14,0.3)); }
.brand-band .bb-mark .b { color: var(--ink); }
.brand-band .bb-mark .s { color: var(--accent); }
.brand-band .bb-title { font-size: clamp(1.9rem, 4.6vw, 3.4rem); letter-spacing: -0.025em; margin-bottom: 1.2rem; }
.brand-band .bb-title .amp { color: var(--accent); font-style: italic; padding: 0 0.06em; }
.brand-band .bb-sub { max-width: 46ch; margin-inline: auto; font-size: 1.06rem; }

/* Devise dans le footer */
.f-motto { margin-top: 1.2rem; font-family: var(--font-display); font-weight: 700; font-size: 0.98rem; letter-spacing: -0.01em; color: var(--ink); }
.f-motto .amp { color: var(--accent); font-style: italic; }

@media (prefers-reduced-motion: reduce) {
  .brand-band .glow { filter: none; }
}
