/* Styles communs du site Eranova (charte graphique : Bleu Nova, Orange Aube, Turquoise Data) */
  :root {
    --navy: #0B2A4A;
    --navy-2: #12365C;
    --orange: #F28C28;
    --orange-dark: #D9741A;
    --teal: #1FA39A;
    --slate: #3C4752;
    --mist: #F4F6F8;
    --line: #DCE2E8;
    --white: #FFFFFF;
    --soft: #C9D3DE;
    --radius: 16px;
    --wrap: 1160px;
  }
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; scroll-padding-top: 80px; }
  body { margin: 0; font-family: Inter, Arial, sans-serif; color: var(--slate); background: var(--white); line-height: 1.6; font-size: 17px; -webkit-font-smoothing: antialiased; }
  h1, h2, h3 { font-family: Poppins, Arial, sans-serif; color: var(--navy); line-height: 1.2; margin: 0; }
  h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 600; letter-spacing: -0.5px; }
  h3 { font-size: 20px; font-weight: 600; }
  p { margin: 0; }
  a { color: var(--teal); }
  img { max-width: 100%; display: block; }
  .wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
  .eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; display: block; }
  .section { padding: 96px 0; }
  .section-head { max-width: 680px; margin-bottom: 48px; }
  .section-head p { margin-top: 16px; font-size: 18px; }
  .skip { position: absolute; left: -999px; top: 8px; background: var(--white); color: var(--navy); padding: 8px 12px; border-radius: 8px; z-index: 100; }
  .skip:focus { left: 8px; }
  :focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

  /* Boutons */
  .btn { display: inline-flex; align-items: center; gap: 10px; font-family: Inter, Arial, sans-serif; font-weight: 600; font-size: 16px; text-decoration: none; padding: 14px 24px; border-radius: 999px; border: 2px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .2s; cursor: pointer; min-height: 48px; }
  .btn svg { width: 20px; height: 20px; flex: none; }
  .btn-primary { background: var(--orange); color: var(--navy); }
  .btn-primary:hover { background: var(--orange-dark); transform: translateY(-1px); }
  .btn-ghost { color: var(--white); border-color: rgba(255,255,255,.45); }
  .btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); }

  /* En-tête */
  .header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
  .header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
  .header .logo img { height: 34px; width: auto; }
  .nav { display: flex; align-items: center; gap: 28px; }
  .nav a { color: var(--navy); text-decoration: none; font-weight: 500; font-size: 15px; }
  .nav a:hover { color: var(--teal); }
  .nav .btn { padding: 10px 20px; min-height: 44px; font-size: 15px; color: var(--navy); }
  .menu-btn { display: none; background: none; border: 0; width: 44px; height: 44px; color: var(--navy); cursor: pointer; padding: 10px; }
  .menu-btn svg { width: 24px; height: 24px; }

  .lang { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; padding: 3px; gap: 2px; font-size: 13px; font-weight: 600; }
  .lang a, .lang span { padding: 5px 10px; border-radius: 999px; line-height: 1; text-decoration: none; }
  .lang [aria-current] { background: var(--navy); color: var(--white); }
  .nav .lang a { color: var(--navy); font-size: 13px; padding: 5px 10px; border: 0; }
  .nav .lang a:hover { color: var(--teal); }

  /* Accroche */
  .hero { position: relative; overflow: hidden; background: var(--navy); color: var(--soft); padding: 104px 0 112px; }
  .hero-net { position: absolute; right: -80px; top: 0; width: 60%; height: 100%; opacity: .5; pointer-events: none; }
  .hero .wrap { position: relative; }
  .hero-content { max-width: 720px; }
  .hero .eyebrow { color: var(--orange); }
  .hero h1 { color: var(--white); font-size: clamp(36px, 6vw, 60px); font-weight: 600; letter-spacing: -1px; }
  .hero h1 .rotator { color: var(--orange); }
  .hero p.lead { margin-top: 24px; font-size: clamp(17px, 2vw, 20px); max-width: 600px; }
  .hero-actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 16px; }
  .hero-facts { margin-top: 64px; display: flex; flex-wrap: wrap; gap: 16px 48px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.15); }
  .hero-facts div { font-size: 15px; }
  .hero-facts strong { display: block; font-family: Poppins, Arial, sans-serif; font-size: 22px; font-weight: 600; color: var(--white); }

  /* Cibles */
  .targets { background: var(--mist); padding: 56px 0; }
  .targets .wrap { display: grid; grid-template-columns: 220px repeat(3, minmax(0, 1fr)); gap: 32px; align-items: start; }
  .targets h2 { font-size: 22px; }
  .target h3 { font-size: 17px; margin-bottom: 6px; }
  .target p { font-size: 15px; }

  /* Services */
  .services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 14px; transition: border-color .2s, box-shadow .2s, transform .2s; }
  .card:hover { border-color: var(--teal); box-shadow: 0 12px 32px rgba(11,42,74,.08); transform: translateY(-2px); }
  .icon { width: 52px; height: 52px; border-radius: 14px; background: var(--mist); display: grid; place-items: center; color: var(--navy); }
  .icon svg { width: 26px; height: 26px; }
  .card ul { margin: 4px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
  .card li { font-size: 15px; padding-left: 18px; position: relative; }
  .card li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 2px; background: var(--teal); }
  .card.highlight { background: var(--navy); border-color: var(--navy); color: var(--soft); }
  .card.highlight h3 { color: var(--white); }
  .card.highlight .icon { background: rgba(255,255,255,.1); color: var(--orange); }
  .card.highlight li::before { background: var(--orange); }
  .card.highlight a { color: var(--orange); font-weight: 600; text-decoration: none; margin-top: auto; }

  /* Approche */
  .approach { background: var(--mist); }
  .steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: step; position: relative; }
  .step { position: relative; padding-top: 28px; }
  .step::before { content: ""; position: absolute; top: 0; left: 0; height: 8px; border-radius: 4px; background: var(--navy); transform-origin: left center; }
  .step:nth-child(1)::before { width: 40%; }
  .step:nth-child(2)::before { width: 60%; background: var(--teal); }
  .step:nth-child(3)::before { width: 80%; background: var(--teal); }
  .step:nth-child(4)::before { width: 100%; background: var(--orange); }
  /* Approche : les barres se remplissent l'une après l'autre */
  html.js .steps .step::before { transform: scaleX(0); transition: transform .9s cubic-bezier(.2,.7,.2,1); }
  html.js .steps.is-visible .step::before { transform: scaleX(1); }
  html.js .steps .step:nth-child(2)::before { transition-delay: .35s; }
  html.js .steps .step:nth-child(3)::before { transition-delay: .7s; }
  html.js .steps .step:nth-child(4)::before { transition-delay: 1.05s; }

  /* Apparition des sections au défilement */
  html.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
  html.js .reveal.is-visible { opacity: 1; transform: none; }

  /* Mot qui change dans le titre */
  .rotator { display: inline-block; color: var(--orange); }
  .rotator .word { display: inline-block; transition: opacity .35s ease, transform .35s ease; }
  .rotator .word.out { opacity: 0; transform: translateY(-14px); }
  .rotator .word.in { opacity: 0; transform: translateY(14px); transition: none; }
  .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  .step .num { font-family: Poppins, Arial, sans-serif; font-weight: 600; color: var(--teal); font-size: 15px; }
  .step h3 { margin: 6px 0 10px; }
  .step p { font-size: 15px; }

  /* Pourquoi */
  .why { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
  .why-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .why-item h3 { font-size: 18px; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
  .why-item h3::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--orange); flex: none; }
  .why-item p { font-size: 15px; }

  /* À propos */
  .about { background: var(--navy); color: var(--soft); position: relative; overflow: hidden; }
  .about h2, .about h3 { color: var(--white); }
  .about .eyebrow { color: var(--orange); }
  .about-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: center; position: relative; }
  .about-text p { margin-top: 18px; }
  .about-text p strong { color: var(--white); }
  .about-visual img { width: 100%; height: auto; max-width: 520px; margin-left: auto; }

  /* Contact */
  .contact .box { background: var(--mist); border-radius: 24px; padding: 64px 56px; }
  .contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
  .contact p.lead { margin-top: 16px; font-size: 18px; }
  .contact .direct { list-style: none; margin: 36px 0 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
  .contact .direct li { display: flex; flex-direction: column; gap: 2px; font-size: 16px; color: var(--navy); font-weight: 500; }
  .contact .direct li span { font-size: 13px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--slate); }
  .contact .direct a { color: var(--navy); text-decoration: none; }
  .contact .direct a:hover { color: var(--teal); }
  .form { background: var(--white); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 18px; box-shadow: 0 12px 32px rgba(11,42,74,.06); }
  .form .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .field { display: flex; flex-direction: column; gap: 6px; }
  .field label { font-size: 14px; font-weight: 600; color: var(--navy); }
  .field label em { color: var(--orange-dark); font-style: normal; }
  .field input, .field select, .field textarea { font: inherit; font-size: 16px; color: var(--navy); background: var(--white); border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; min-height: 48px; width: 100%; transition: border-color .2s, box-shadow .2s; }
  .field textarea { resize: vertical; min-height: 120px; }
  .field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B2A4A' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
  .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(31,163,154,.18); }
  .field [aria-invalid="true"] { border-color: #C0392B; }
  .form .btn { align-self: flex-start; }
  .form-error { margin: 0; color: #B03A2E; font-size: 14px; font-weight: 500; }
  .form-note { font-size: 13px; color: var(--slate); margin-top: -6px; }

  /* Pied de page */
  .footer { background: var(--navy); color: var(--soft); padding: 56px 0 32px; font-size: 15px; }
  .footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.12); }
  .footer img { height: 32px; width: auto; }
  .footer .tag { margin-top: 12px; }
  .footer nav { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
  .footer a { color: var(--soft); text-decoration: none; }
  .footer a:hover { color: var(--white); }
  .footer-bottom { padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 14px; }

  /* Bouton WhatsApp flottant */
  .wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; background: #25D366; color: #FFFFFF; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.2); transition: transform .2s; }
  .wa-float:hover { transform: scale(1.06); }
  .wa-float svg { width: 32px; height: 32px; }

  /* Responsive */
  @media (max-width: 980px) {
    .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
    .targets .wrap { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .targets h2 { grid-column: 1 / -1; }
    .why, .about-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  }
  @media (max-width: 760px) {
    body { font-size: 16px; }
    .section { padding: 72px 0; }
    .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
    .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--white); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 24px; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(11,42,74,.08); }
    .nav.open { display: flex; }
    .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
    .nav .btn { margin-top: 16px; justify-content: center; border-bottom: 0; }
    .nav .lang { align-self: flex-start; margin-top: 16px; }
    .nav .lang a { padding: 5px 10px; border-bottom: 0; font-size: 13px; }
    .hero { padding: 72px 0 80px; }
    .hero-net { width: 100%; right: -40%; opacity: .3; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .services-grid, .steps, .why-list, .targets .wrap { grid-template-columns: minmax(0, 1fr); }
    .card { padding: 26px; }
    .contact .box { padding: 40px 16px; border-radius: 20px; }
    .form { padding: 22px; }
    .form .row { grid-template-columns: minmax(0, 1fr); }
    .form .btn { width: 100%; justify-content: center; align-self: stretch; }
  }
  /* ===== Navigation : page active ===== */
  .nav a[aria-current="page"] { color: var(--teal); }

  /* ===== Boutique ===== */
  .page-hero { position: relative; overflow: hidden; background: var(--navy); color: var(--soft); padding: 80px 0 72px; }
  .page-hero .eyebrow { color: var(--orange); }
  .page-hero h1 { color: var(--white); font-size: clamp(32px, 5vw, 50px); font-weight: 600; letter-spacing: -0.8px; max-width: 760px; }
  .page-hero p.lead { margin-top: 18px; font-size: clamp(17px, 2vw, 19px); max-width: 640px; }
  .page-hero .trust { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 15px; }
  .page-hero .trust span { display: inline-flex; align-items: center; gap: 8px; }
  .page-hero .trust svg { width: 18px; height: 18px; color: var(--teal); flex: none; }

  .filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
  .filter { font: inherit; font-size: 15px; font-weight: 500; color: var(--navy); background: var(--white); border: 1.5px solid var(--line); border-radius: 999px; padding: 10px 18px; min-height: 44px; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
  .filter:hover { border-color: var(--teal); }
  .filter[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }

  .products-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .product { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: border-color .2s, box-shadow .2s, transform .2s; }
  .product[hidden] { display: none; }
  .product:hover { border-color: var(--teal); box-shadow: 0 12px 32px rgba(11,42,74,.08); transform: translateY(-2px); }
  .product-media { position: relative; aspect-ratio: 16 / 9; background: var(--navy); display: grid; place-items: center; color: var(--white); overflow: hidden; }
  .product-media img { width: 100%; height: 100%; object-fit: cover; }
  .product-media svg { width: 56px; height: 56px; position: relative; }
  .product-media::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(31,163,154,.45), transparent 55%), radial-gradient(circle at 15% 90%, rgba(242,140,40,.35), transparent 50%); }
  .product-media.has-img::before { display: none; }
  .badge { position: absolute; top: 14px; left: 14px; background: var(--orange); color: var(--navy); font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; }
  .product-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
  .product .tag { font-size: 12px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--teal); }
  .product p { font-size: 15px; }
  .product-foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
  .price { font-family: Poppins, Arial, sans-serif; font-weight: 600; font-size: 22px; color: var(--navy); }
  .price small { font-family: Inter, Arial, sans-serif; font-size: 13px; font-weight: 500; color: var(--slate); }
  .product .btn { padding: 11px 20px; min-height: 44px; font-size: 15px; }
  .product.soon { border-style: dashed; background: var(--mist); }
  .product.soon .product-media { background: #DCE4EC; color: var(--navy); }
  .product.soon .product-media::before { display: none; }
  .btn-soft { background: var(--white); color: var(--navy); border-color: var(--line); }
  .btn-soft:hover { border-color: var(--teal); color: var(--teal); }
  .empty-note { grid-column: 1 / -1; text-align: center; padding: 8px 0 0; font-size: 15px; }

  .how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .how-item { background: var(--white); border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
  .how-item .num { font-family: Poppins, Arial, sans-serif; font-weight: 600; color: var(--orange); font-size: 15px; }
  .how-item h3 { margin: 6px 0 8px; }
  .how-item p { font-size: 15px; }

  .custom-cta { background: var(--navy); color: var(--soft); border-radius: 24px; padding: 56px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
  .custom-cta h2 { color: var(--white); font-size: clamp(24px, 3vw, 32px); }
  .custom-cta p { margin-top: 10px; max-width: 560px; }

  @media (max-width: 980px) {
    .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
  @media (max-width: 760px) {
    .products-grid, .how { grid-template-columns: minmax(0, 1fr); }
    .page-hero { padding: 56px 0 56px; }
    .custom-cta { padding: 36px 22px; }
    .custom-cta .btn { width: 100%; justify-content: center; }
  }

  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; }
    html.js .reveal { opacity: 1; transform: none; }
    html.js .steps .step::before { transform: none; }
  }
