/* Charte relevée sur https://byovva.com/ le 15 octobre 2026.
   Cette couche conserve les mises en page et les médias du nouveau site. */
:root {
  --navy-950: #03112f;
  --navy-900: #061c4b;
  --navy-800: #092b70;
  --blue-700: #075ce5;
  --blue-600: #0878ff;
  --cyan-500: #23d6f4;
  --cyan-300: #8beeff;
  --yellow-500: #ffd22f;
  --orange-500: #ff8b2d;
  --pink-500: #ff4e9b;
  --green-500: #13cf88;
  --ink: #0a1734;
  --muted: #60708b;
  --line: #d9e6fb;
  --paper-blue: #f4f8ff;
  --shadow-sm: 0 10px 30px #03184214;
  --shadow-md: 0 24px 70px #03184226;
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 36px;
  --shell: 1220px;
  --navy: var(--navy-950);
  --navy-light: var(--navy-900);
  --blue: var(--blue-600);
  --ocean: var(--blue-700);
  --cyan: var(--cyan-500);
  --yellow: var(--yellow-500);
  --paper: var(--paper-blue);
  --cream: var(--paper-blue);
  --brand-hero: radial-gradient(circle at 83% 18%, #23d6f457, transparent 22%),
    radial-gradient(circle at 18% 80%, #ffd22f26, transparent 25%),
    linear-gradient(135deg, #03102e 0%, #05215c 52%, #0066dc 100%);
  --brand-connect: linear-gradient(140deg, #03112ffa, #022b59f0), #03112f;
}

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}
.shell { width: min(calc(100% - 40px), var(--shell)); }
.section { padding: 104px 0; }
h1 { font-size: clamp(48px, 6.4vw, 96px); font-weight: 700; }
h2, .section-heading h2 { font-size: clamp(32px, 4vw, 56.8px); line-height: 1.06; }
h3 { font-weight: 700; }
.eyebrow { color: var(--blue-600); font-size: 12.48px; font-weight: 900; letter-spacing: .12em; }
.eyebrow.light { color: var(--cyan-300); }
.section-heading > p:not(.eyebrow), .section-top > p { font-size: 16px; line-height: 1.7; }

.button {
  border: 0;
  border-radius: 999px;
  min-height: 48px;
  padding: 12px 22px;
  gap: 9px;
  font-size: 16px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-600));
  box-shadow: 0 12px 28px #0878ff42;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.button:hover { background: linear-gradient(135deg, #064dc1, var(--blue-700)); box-shadow: 0 16px 34px #0878ff4d; }
.button.yellow { background: var(--yellow); color: var(--navy); box-shadow: 0 14px 30px #ffd22f38; }
.button.yellow:hover { background: #ffdf69; }
.button svg { width: 20px; height: 20px; }
.text-link { font-size: 15px; font-weight: 800; }
.header { background: #ffffffe6; border-bottom: 1px solid #d2e2facc; }
.nav { height: 78px; }
.desktop-nav { gap: 23px; }
.desktop-nav a { font-size: 13px; font-weight: 700; }
.nav-cta { min-height: 42px; font-size: 14.4px; padding: 0 18px; }
.menu-toggle { background: var(--paper-blue); border-radius: var(--radius-sm); }
.mobile-nav { background: white; }

/* Bleu profond, cyan et jaune : les grands aplats du site de référence. */
.hero, .product-hero, .world-page-hero { background: var(--brand-hero); color: white; }
.hero::before { width: 520px; height: 520px; top: -180px; right: -180px; border: 1px solid #7ed6ff2b; border-radius: 50%; background: none; }
.hero::after { content: ""; position: absolute; width: 280px; height: 280px; bottom: -80px; left: -90px; border: 1px solid #7ed6ff2b; border-radius: 50%; pointer-events: none; }
.hero-grid { gap: 44px; }
.hero h1 { font-size: clamp(48px, 6.4vw, 90px); }
.hero-copy > .eyebrow { display: inline-flex; align-items: center; padding: 9px 14px; border: 1px solid #ffffff26; border-radius: 999px; background: #ffffff0d; color: white; letter-spacing: 0; text-transform: none; font-size: 13px; }
.gold-dot { box-shadow: 0 0 0 5px #ffd22f14; margin-right: 10px; }
.hero-intro { color: #d4e3f8; font-size: 17px; }
.hero-actions { gap: 14px; }
.hero-actions .button { min-height: 58px; padding: 14px 28px; }
.hero-actions .text-link { min-height: 58px; padding: 14px 24px; border: 1px solid #bcd5ff; border-radius: 999px; background: white; color: var(--ocean); box-shadow: var(--shadow-sm); }
.hero-product { height: 520px; padding: 20px 16px 112px; border: 1px solid var(--line); border-radius: var(--radius-md); background: linear-gradient(145deg, white, var(--paper-blue)); box-shadow: var(--shadow-md); }
.hero-tablet { width: 100%; max-height: 100%; object-fit: contain; margin: 0; filter: drop-shadow(0 20px 22px #03184226); }
.hero-orbit { display: none; }
.hero-demo-link { left: 24px; right: 24px; bottom: 35px; border-color: var(--line); color: var(--navy); }
.hero-demo-link small { color: var(--muted); }
.round-play { background: var(--blue-700); border-color: transparent; color: white; }
.product-footnote { left: 24px; bottom: 12px; color: var(--muted); }
.hero-bottom { z-index: 1; color: #c9d9f2; }
.product-hero .eyebrow, .world-page-hero .eyebrow { color: var(--cyan-300); }
.product-hero h1 em, .page-hero h1 em { color: var(--yellow); }
.product-hero .media-caption { color: #d4e3f8; }
.product-hero-stage { gap: 20px; margin: 38px 0 24px; }
.product-hero-stage img { background: white; padding: 18px; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow-md); }
.page-hero.shell { width: 100%; padding: 78px max(20px, calc((100% - 1220px) / 2)) 70px; background: var(--brand-hero); color: white; }
.page-hero .eyebrow { color: var(--cyan-300); }
.page-hero-bottom > p, .page-hero .wide-lead, .page-hero .catalog-total { color: #d4e3f8; }
.catalog-total strong { color: var(--yellow); }
.connect-section, .connect-hero, .school-section, .feature-panel.dark { background: var(--brand-connect); }
.connect-section .section-heading > p:not(.eyebrow), .connect-hero .split > div > p:not(.eyebrow) { color: #d4e3f8; }
.connect-section h2 em { color: var(--cyan-300); }

/* Cartes blanches, filets bleus et ombres douces. */
.module-card { display: flex; flex-direction: column; height: 100%; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius-md); background: white; box-shadow: var(--shadow-sm); overflow: hidden; }
.module-picture { width: 100%; flex-shrink: 0; border-radius: var(--radius-sm); }
.module-caption { padding: 20px 25px 18px 10px; flex: 1; }
.module-caption strong { font-size: 21px; font-weight: 700; letter-spacing: -.025em; }
.module-caption > span:last-child { font-size: 14px; }
.module-category { color: var(--blue-700); font-weight: 800; font-size: 10px; }
.card-arrow { right: 20px; top: auto; bottom: 22px; }
.catalog-section { background: var(--paper-blue); }
.catalog-item { padding-bottom: 0; border: 0; }
.catalog-grid .module-caption { padding: 20px 22px 18px 10px; }
.search-field { border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }
.category-tabs button, .ai-links button { border-radius: 999px; border-color: var(--line); font-weight: 700; }
.category-tabs button.active, .category-tabs button:hover { background: linear-gradient(135deg, var(--blue-700), var(--blue-600)); border-color: var(--blue-700); }
.ai-links button { background: white; color: var(--blue-700); padding: 12px 16px; box-shadow: var(--shadow-sm); }
.world-visual, .screen-frame, .world-video, .ai-demo > img { border-radius: var(--radius-md); box-shadow: var(--shadow-md); }
.visual-tag { border-radius: 999px; color: var(--navy); }
.product-duo > a { border-radius: 8px; background: white; box-shadow: var(--shadow-sm); }
.product-duo > a > div { background: white; }
.product-duo > a > span { border-top: 1px solid var(--line); }
.trust-grid article, .feature-panel, .connect-module, .world-scene { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-md); background: white; box-shadow: var(--shadow-sm); }
.feature-panel { padding: 36px; }
.feature-panel.dark { color: white; background: var(--brand-connect); }
.connect-module-media { border-radius: var(--radius-sm); background: var(--paper-blue); }
.world-scene video, .world-scene > img { border-radius: var(--radius-sm); }
.world-scene h3 { margin-top: 22px; }
.world-scene p:last-child, .trust-grid p:last-child { margin-bottom: 0; }
.faq-list details { margin-bottom: 14px; padding: 0 24px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: white; box-shadow: var(--shadow-sm); }
.faq-list details[open] { border-color: #bcd5ff; }
.demo-dialog { border-radius: var(--radius-md); }

.closing { background: var(--brand-hero); color: white; }
.closing .eyebrow { color: var(--cyan-300); }
.closing img { mix-blend-mode: normal; border-radius: 50%; background: var(--paper-blue); }
.closing h2 { font-size: clamp(30px, 3.5vw, 48px); }
.footer { background: var(--navy); color: #d1ddf2; }
.footer-main > div > span { color: white; font-size: 12px; }
.footer-main > div > a:not(.brand), .footer-main > div:first-child p { color: #9fb2d1; font-size: 14px; }
.footer-main a:hover { color: white; }
.footer-bottom { color: #9fb2d1; border-color: #ffffff26; font-size: 12px; }
.brand-on-dark { display: inline-flex; align-items: center; color: white; font-size: 30px; letter-spacing: .02em; line-height: 1; font-weight: 500; }
.brand-on-dark img { width: 25px; height: 34px; object-fit: contain; margin: 0 1px; }

/* Coloris du produit : même palette pour les deux géométries V9.4. */
.product-color-picker { margin: 22px auto 30px; }
.color-selection { margin: 0 0 14px; color: #d4e3f8; font-size: 15px; }
.color-selection strong { color: white; }
.color-swatches { display: flex; justify-content: center; gap: 9px; flex-wrap: wrap; }
.color-swatch { display: grid; place-items: center; width: 44px; height: 44px; padding: 5px; border: 2px solid transparent; border-radius: 50%; background: transparent; cursor: pointer; transition: border-color .15s, transform .15s; }
.color-swatch span { display: block; width: 30px; height: 30px; background: var(--swatch); border-radius: 50%; border: 1px solid #ffffff66; box-shadow: inset 0 1px 3px #ffffff40; }
.color-swatch:hover { transform: translateY(-2px); border-color: #ffffff80; }
.color-swatch[aria-pressed="true"] { border-color: var(--yellow); }
.color-swatch:focus-visible { outline: 3px solid var(--cyan-300); outline-offset: 3px; }
.color-section { background: var(--paper-blue); }
.color-format-tabs { display: flex; gap: 10px; margin: 0 0 26px; }
.color-format-tabs button { padding: 12px 22px; border: 1px solid var(--line); border-radius: 999px; color: var(--navy); background: white; font-size: 14px; font-weight: 700; cursor: pointer; }
.color-format-tabs button[aria-pressed="true"] { background: var(--ocean); color: white; border-color: var(--ocean); box-shadow: 0 8px 20px #0878ff26; }
.color-gallery { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 18px; }
.color-card { text-align: left; padding: 0; border: 2px solid transparent; border-radius: 14px; background: white; box-shadow: var(--shadow-sm); overflow: hidden; cursor: pointer; transition: transform .15s,border-color .15s; }
.color-card:hover { transform: translateY(-4px); border-color: #bcd5ff; }
.color-card[aria-pressed="true"] { border-color: var(--blue-600); }
.color-card img { width: 100%; height: auto; aspect-ratio: 1400/1089; object-fit: contain; padding: 8px; background: linear-gradient(145deg,#fff,#f4f8ff); }
.color-card > span { display: flex; align-items: center; gap: 8px; padding: 16px 12px; font-size: 12px; font-weight: 700; }
.color-card i { width: 12px; height: 12px; border-radius: 50%; background: var(--swatch); box-shadow: inset 0 0 0 1px #03112f26; flex-shrink: 0; }
.color-card b { margin-left: auto; visibility: hidden; color: var(--ocean); }
.color-card[aria-pressed="true"] b { visibility: visible; }
.color-section .media-caption { margin-top: 24px; }
.product-colors-link { margin-top: 12px; }
@media (max-width: 1050px) {
  .color-gallery { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 700px) {
  .color-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .color-card > span { padding: 12px 10px; font-size: 11px; gap: 6px; }
  .color-card img { padding: 3px; }
  .color-swatches { max-width: 280px; margin: auto; gap: 8px; }
  .color-format-tabs button { padding: 12px 18px; font-size: 12px; }
  .product-color-picker { margin: 24px auto; }
}

@media (max-width: 1200px) {
  .hero-grid { gap: 30px; }
  .hero-product { height: 470px; }
  .hero-actions .button, .hero-actions .text-link { font-size: 14px; padding: 12px 20px; }
}
@media (max-width: 1000px) {
  .section { padding: 78px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; padding-top: 70px; padding-bottom: 45px; }
  .hero-copy { max-width: 760px; margin: auto; }
  .hero h1 { font-size: clamp(48px, 7vw, 76px); }
  .hero-intro { max-width: 620px; margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-signature { justify-content: center; }
  .hero-product { width: min(100%, 760px); height: 490px; margin: 0 auto; }
  .hero-tablet { width: 100%; }
  .hero-demo-link { text-align: left; }
  .product-hero h1, .page-hero h1 { font-size: clamp(44px, 6vw, 70px); }
  .connect-hero h1 { font-size: clamp(46px, 6.5vw, 70px); }
  .connect-module { padding: 22px; }
}
@media (max-width: 700px) {
  .shell { width: calc(100% - 28px); }
  .section { padding: 64px 0; }
  .nav { height: 72px; }
  .nav-cta { font-size: 12px; min-height: 40px; padding: 0 16px; }
  .menu-toggle { width: 40px; height: 40px; }
  h2, .section-heading h2 { font-size: clamp(30px, 8vw, 42px); }
  .section-heading > p:not(.eyebrow), .section-top > p { font-size: 15px; }
  .hero-grid { padding-top: 48px; gap: 32px; }
  .hero h1 { font-size: clamp(46px, 12vw, 70px); }
  .hero-copy > .eyebrow { font-size: 12px; }
  .hero-actions { align-items: center; flex-direction: row; }
  .hero-actions .text-link { display: inline-flex; }
  .hero-actions .button, .hero-actions .text-link { font-size: 13px; min-height: 50px; }
  .hero-signature { margin-top: 28px; }
  .hero-product { height: 350px; padding: 12px 8px 94px; border-radius: var(--radius-sm); }
  .hero-tablet { width: 100%; margin: 0; }
  .hero-demo-link { left: 16px; right: 16px; bottom: 30px; }
  .product-footnote { left: 16px; bottom: 10px; }
  .hero-bottom { margin-top: 0; }
  .page-hero.shell { padding: 48px 14px; }
  .page-hero h1, .product-hero h1 { font-size: clamp(38px, 10.2vw, 58px); }
  .product-hero-stage { margin: 28px 0 20px; gap: 10px; }
  .product-hero-stage img { padding: 4px; width: calc(50% - 5px); height: 190px; }
  .product-hero .media-caption { max-width: 100%; font-size: 11px; }
  .experience-grid { margin-left: -14px; margin-right: -14px; padding-left: 14px; padding-right: 14px; scroll-padding-left: 14px; }
  .module-card { padding: 8px; border-radius: 18px; }
  .module-picture { border-radius: 12px; }
  .module-caption { padding: 18px 20px 16px 8px; }
  .catalog-grid { gap: 18px 12px; }
  .catalog-grid .module-caption { padding: 14px 4px 12px; }
  .catalog-grid .module-caption strong { font-size: 16px; }
  .catalog-grid .module-caption > span:last-child { font-size: 12px; }
  .catalog-grid .module-category { font-size: 8px; }
  .category-tabs { margin-right: -14px; padding-right: 14px; }
  .trust-grid article, .feature-panel, .connect-module, .world-scene { padding: 24px; }
  .feature-panel.dark { padding: 28px; }
  .closing .eyebrow { font-size: 10px; }
  .closing h2 { font-size: 30px; }
  .footer-main > div > a:not(.brand), .footer-main > div:first-child p { font-size: 13px; }
  .footer-bottom { font-size: 11px; }
  .brand-on-dark { font-size: 28px; }
  .brand-on-dark img { width: 23px; height: 32px; }
}
