/* Styles des pages de type « home » (chargés après base.css). */

p { text-align: justify; }

:root {
      --orange:    #E8631A;
      --orange-lt: #FEF0E7;
      --navy:      #1C2B45;
      --text:      #2C3A4F;
      --text-mid:  #5A6A7E;
      --text-lt:   #8A97A8;
      --border:    #E4E9EF;
      --bg:        #FFFFFF;
      --bg-grey:   #F6F8FA;
      --f:         "Outfit", sans-serif;
      --banner-h:  0px; 
    }

.announce-bar {
      position: fixed; top: 0; left: 0; right: 0; z-index: 101;
      height: var(--banner-h);
      background: var(--navy);
      color: #fff;
      display: flex; align-items: center; justify-content: center;
      gap: 0.6rem; padding: 0 3rem;
      overflow: hidden;
      transition: height 0.3s, opacity 0.3s;
    }

.announce-bar.closed { height: 0; opacity: 0; }

.announce-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); flex-shrink: 0; animation: blink 2s ease infinite; }

@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.4} }

.announce-text { font-size: 0.78rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.announce-text strong { font-weight: 700; color: var(--orange); margin-right: 4px; }

.announce-close {
      background: none; border: none; color: rgba(255,255,255,0.5);
      cursor: pointer; font-size: 1rem; line-height: 1; padding: 4px;
      flex-shrink: 0; margin-left: 0.5rem; transition: color 0.2s;
    }

.announce-close:hover { color: #fff; }

nav {
      position: fixed; top: var(--banner-h); left: 0; right: 0; z-index: 100;
      height: 80px;
      background: rgba(255,255,255,0.97);
      backdrop-filter: blur(16px);
      border-bottom: 1px solid var(--border);
      transition: box-shadow 0.3s, top 0.3s;
      display: flex; align-items: center; justify-content: center;
    }

nav.scrolled { box-shadow: 0 2px 16px rgba(28,43,69,0.08); }

.nav-inner {
      max-width: 1200px; width: 100%; padding: 0 4rem;
      display: flex; align-items: center; justify-content: space-between;
    }

.nav-links a { color: var(--text-mid); }

.nav-links a:hover { color: var(--navy); }

.nav-cta { margin-left: 0.8rem; background: var(--orange); color: #fff !important; padding: 0.48rem 1.2rem; border-radius: 4px; font-weight: 600; }

.nav-cta:hover { opacity: 0.88; }

.nav-phone {
      display: flex; align-items: center; gap: 6px;
      margin-left: 1.2rem; padding-left: 1.2rem;
      border-left: 1px solid var(--border);
      font-size: 0.85rem; font-weight: 600; color: var(--navy);
      text-decoration: none; white-space: nowrap;
      transition: color 0.2s;
    }

.nav-phone:hover { color: var(--orange); }

.nav-phone svg { width: 14px; height: 14px; stroke: var(--orange); fill: none; stroke-width: 2; flex-shrink: 0; }

.nav-linkedin {
      display: inline-block;
      width: 32px; height: 32px;
      margin-left: 0.7rem; flex-shrink: 0;
      vertical-align: middle;
      transition: opacity 0.2s, transform 0.2s;
    }

.nav-linkedin svg { width: 32px; height: 32px; display: block; }

.nav-linkedin:hover { opacity: 0.8; transform: translateY(-1px); }

.nav-lang {
      display: flex; align-items: center; gap: 2px;
      margin-left: 0.9rem; flex-shrink: 0;
      font-size: 0.74rem; font-weight: 600; color: var(--text-lt);
    }

.nav-lang button, .nav-lang a {
      background: none; border: none; cursor: pointer;
      padding: 3px 6px; border-radius: 4px;
      font-size: 0.74rem; font-weight: 600; color: var(--text-lt);
      transition: color 0.2s, background 0.2s;
      font-family: var(--f);
    }

.nav-lang button, .nav-lang a.active { color: var(--navy); background: var(--bg-grey); }

.nav-lang button, .nav-lang a:hover { color: var(--navy); }

.nav-lang-sep { color: var(--border); font-size: 0.7rem; }

.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }

.nav-logo img { height: 64px; width: auto; display: block; }

.nav-logo-sep { width: 1px; height: 28px; background: var(--border); }

.nav-logo-text { display: flex; flex-direction: column; gap: 1px; }

.nav-logo-name { font-weight: 700; font-size: 1.2rem; letter-spacing: 0.08em; color: var(--navy); line-height: 1; }

.nav-logo-sub  { font-size: 0.65rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-lt); line-height: 1; margin-top: 2px; }

.nav-links { list-style: none; display: flex; align-items: center; gap: 0; }

.nav-links a { padding: 0 1rem; font-size: 0.82rem; font-weight: 500; color: var(--text-mid); text-decoration: none; transition: color 0.2s; }

.nav-links a:hover { color: var(--navy); }

.nav-cta { margin-left: 0.8rem; background: var(--orange) !important; color: #fff !important; padding: 0.48rem 1.2rem !important; border-radius: 4px; font-weight: 600 !important; }

.nav-cta:hover { opacity: 0.88; }

nav.scrolled .nav-cta { color: #fff; }

.hero {
      position: relative;
      margin-top: var(--banner-h);
      height: calc(100vh - var(--banner-h));
      padding-top: 80px;
      display: flex; flex-direction: column; justify-content: center;
      transition: margin-top 0.3s, height 0.3s;
      overflow: hidden;
    }

.hero-bg {
      position: absolute; inset: 0;
      background: url("../photos/hero-banner-hp.jpg") 35% 100% /cover no-repeat fixed;
      animation: heroZoom 16s ease-out forwards;
      transform-origin: center center;
    }

@keyframes heroZoom {
      from { transform: scale(1.45); }
      to   { transform: scale(1.0); }
    }

.hero-overlay {
      position: absolute; inset: 0;
      background: linear-gradient(to right, rgba(16,26,42,0.85) 0%, rgba(16,26,42,0.6) 50%, rgba(16,26,42,0.18) 100%);
    }

.hero-content {
      position: relative; z-index: 2;
      max-width: 1200px; margin: 0 auto;
      padding: 0 5rem; width: 100%;
      flex: 1; display: flex; align-items: center;
    }

.hero-content-inner {
      width: 100%;
      display: flex; align-items: center; justify-content: space-between;
      gap: 4rem;
    }

.hero-text { max-width: 700px; }

.hero-strip {
      position: relative; z-index: 2;
      background: rgba(28, 43, 69, 0.92);
      backdrop-filter: blur(8px);
      padding: 1rem 4rem;
      display: flex; align-items: center; justify-content: center;
      gap: 2rem; flex-wrap: wrap;
      border-top: 1px solid rgba(255,255,255,0.08);
    }

.hero-strip span { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.5); }

.hero-strip .strip-dot { color: var(--orange); font-size: 0.4rem; }

@media (max-width: 768px) {
      .hero-strip { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding: 1rem 1.5rem; gap: 1.2rem; scrollbar-width: none; }
      .hero-strip::-webkit-scrollbar { display: none; }
      .hero-strip span { white-space: nowrap; flex-shrink: 0; }
      .hero-strip .strip-dot { flex-shrink: 0; }
    }

.hero-badge {
      flex-shrink: 0;
      z-index: 3;
      background: #fff;
      border-radius: 12px;
      box-shadow: 0 20px 48px rgba(16,26,42,0.28);
      padding: 1.5rem 1.5rem;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 1.1rem;
    }

.hero-badge img { display: block; }

.hero-badge img.hb-iso { height: 110px; width: auto; }

.hero-badge img.hb-rm  { height: 80px; width: auto; }

.hero-badge-sep { width: 100%; height: 1px; background: var(--border); }

.hero-tag {
      display: inline-flex; align-items: center; gap: 8px;
      font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em;
      text-transform: uppercase; color: var(--orange);
      background: rgba(255,255,255,0.92);
      border-radius: 4px; padding: 0.35rem 0.9rem;
      margin-bottom: 2rem;
    }

.hero-tag::before { content: ""; width: 20px; height: 2px; background: var(--orange); }

h1 {
      font-weight: 700; font-size: clamp(1.5rem, 5.25vw, 3.7rem);
      line-height: 1.05; letter-spacing: -0.03em;
      color: #fff; margin-bottom: 2rem;
      max-width: 700px;
    }

.hero-sub {
      font-size: 1.2rem; font-weight: 300; line-height: 1.75;
      color: rgba(255,255,255,0.8);
      max-width: 500px; margin-bottom: 2.8rem;
    }

.hero-btns { display: flex; gap: 14px; }

.strip { background: var(--navy); padding: 0.9rem 4rem; display: flex; align-items: center; justify-content: center; gap: 2rem; flex-wrap: wrap; }

.strip span { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.45); }

.strip-dot { color: var(--orange); font-size: 0.5rem; }

.sec { padding: 6rem 0; }

#societe { padding-top: 3rem; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 4rem; }

.tag { display: inline-flex; align-items: center; gap: 7px; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); margin-bottom: 0.7rem; }

h2 { font-weight: 700; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.1; letter-spacing: -0.02em; color: var(--navy); }

.lead { margin-top: 0.8rem; font-size: 0.95rem; font-weight: 300; line-height: 1.7; color: var(--text-mid); max-width: 520px; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: stretch; margin-top: 4rem; }

.about-img {
      border-radius: 8px; overflow: hidden;
      box-shadow: 0 20px 60px rgba(28,43,69,0.14);
      min-height: 400px;
    }

.about-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.about-text p { font-size: 1rem; line-height: 1.85; font-weight: 400; color: var(--text); margin-top: 1rem; }

.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; margin-top: 2.5rem; }

.kpi { background: var(--bg); padding: 1.2rem 1rem; text-align: center; }

.kpi-n { font-weight: 700; font-size: 1.8rem; color: var(--navy); line-height: 1; }

.kpi-n em { color: var(--orange); font-style: normal; }

.kpi-l { font-size: 0.7rem; color: var(--text-lt); margin-top: 3px; font-weight: 400; }

.btn-n { display: inline-flex; align-items: center; gap: 7px; background: var(--navy); color: #fff; font-weight: 600; font-size: 0.85rem; padding: 0.75rem 1.6rem; border-radius: 4px; text-decoration: none; margin-top: 2rem; transition: background 0.2s; }

.btn-n:hover { background: var(--orange); }

.prest-sec { background: var(--bg-grey); }

.prest-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; margin-top: 3rem; }

.prest-card { background: var(--bg); padding: 1.8rem; transition: background 0.2s; display: flex; flex-direction: column; text-decoration: none; cursor: pointer; }

.prest-card:hover { background: var(--orange-lt); }

.prest-card:hover .prest-cta { gap: 8px; color: var(--orange); }

.pn { font-size: 0.65rem; font-weight: 600; letter-spacing: 0.14em; color: var(--orange); margin-bottom: 1rem; }

.prest-card h3 { font-size: 0.95rem; font-weight: 600; color: var(--navy); margin-bottom: 0.5rem; }

.prest-card p { font-size: 0.82rem; line-height: 1.65; color: var(--text-mid); font-weight: 300; flex: 1; }

.prest-cta { display: inline-flex; align-items: center; gap: 5px; margin-top: 1.2rem; font-size: 0.78rem; font-weight: 600; color: var(--text-lt); transition: gap 0.2s, color 0.2s; }

.kb-sec { background: var(--bg-grey); }

.kb-grid {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 1px;
      background: var(--border);
      border: 1px solid var(--border);
      border-radius: 10px;
      overflow: hidden;
      margin-top: 3rem;
    }

.kb-card {
      background: var(--bg); padding: 1.6rem 1.4rem;
      text-decoration: none; display: flex; flex-direction: column;
      gap: 0.9rem;
      transition: background 0.2s;
    }

.kb-card:hover { background: var(--orange-lt); }

.kb-card-icon {
      width: 36px; height: 36px; flex-shrink: 0;
      background: var(--orange-lt); border-radius: 6px;
      display: flex; align-items: center; justify-content: center;
    }

.kb-card-icon svg { width: 17px; height: 17px; stroke: var(--orange); fill: none; stroke-width: 1.8; }

.kb-card-topic {
      font-size: 0.65rem; font-weight: 700;
      letter-spacing: 0.12em; text-transform: uppercase;
      color: var(--text-lt);
    }

.kb-card-title {
      font-size: 0.88rem; font-weight: 600;
      color: var(--navy); line-height: 1.45; flex: 1;
    }

.kb-card-cta {
      display: inline-flex; align-items: center; gap: 4px;
      font-size: 0.75rem; font-weight: 600; color: var(--text-lt);
      transition: color 0.2s, gap 0.2s;
    }

.kb-card:hover .kb-card-cta { color: var(--orange); gap: 7px; }

.kb-cta-row { margin-top: 1.6rem; text-align: center; }

@media (max-width: 768px) {
      .kb-grid { display: flex; overflow-x: auto; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; scrollbar-width: none; }
      .kb-grid::-webkit-scrollbar { display: none; }
      .kb-card { flex: 0 0 82%; scroll-snap-align: start; }
    }

.kb-disabled { cursor: not-allowed; position: relative; }

.kb-card.kb-disabled { overflow: hidden; }

.kb-card.kb-disabled:hover { background: var(--bg); }

.kb-card.kb-disabled:hover > * { opacity: 0.12; transition: opacity 0.15s ease; }

.kb-card.kb-disabled::after {
      content: attr(data-tooltip);
      position: absolute; inset: 0; z-index: 2;
      display: flex; align-items: center; justify-content: center;
      text-align: center; padding: 1rem;
      font-size: 0.75rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
      color: var(--navy);
      opacity: 0; pointer-events: none;
      transition: opacity 0.15s ease;
    }

.kb-card.kb-disabled:hover::after { opacity: 1; }

.btn-n.kb-disabled:hover { background: var(--navy); }

.btn-n.kb-disabled::after {
      content: attr(data-tooltip);
      position: absolute; bottom: 100%; left: 50%;
      transform: translateX(-50%) translateY(-8px);
      background: var(--navy); color: #fff;
      font-size: 0.7rem; font-weight: 600;
      padding: 0.45rem 0.85rem; border-radius: 4px;
      white-space: nowrap; z-index: 20; pointer-events: none;
      opacity: 0; transition: opacity 0.15s ease;
      box-shadow: 0 10px 24px rgba(16,26,42,0.25);
    }

.btn-n.kb-disabled:hover::after { opacity: 1; }

.real-sec { background: var(--bg); }

.real-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1rem; margin-top: 3rem;
    }

.real-card {
      border-radius: 8px; overflow: hidden;
      display: block; text-decoration: none;
      background: var(--bg);
      border: 1px solid var(--border);
      transition: transform 0.2s, box-shadow 0.2s;
    }

.real-card:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(28,43,69,0.12); }

.real-card-img {
      width: 100%; height: 200px; overflow: hidden;
    }

.real-card-img img {
      width: 100%; height: 100%; object-fit: cover; display: block;
      transition: transform 0.45s ease;
    }

.real-card:hover .real-card-img img { transform: scale(1.05); }

.real-card-body {
      padding: 0.8rem 1.1rem 0.9rem;
      display: flex; flex-direction: column; gap: 0.35rem;
    }

.real-sector {
      font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em;
      text-transform: uppercase; color: var(--navy);
    }

.real-cta {
      display: inline-flex; align-items: center; gap: 5px;
      font-size: 0.75rem; font-weight: 500; color: var(--text-mid);
      transition: color 0.2s, gap 0.2s;
    }

.real-card:hover .real-cta { color: var(--orange); gap: 7px; }

.sect-sec { background: var(--bg-grey); }

.sect-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 3rem; }

.sect-tile { background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 1.8rem 1.6rem; text-align: left; transition: all 0.2s; }

.sect-tile:hover { border-color: var(--orange); box-shadow: 0 4px 16px rgba(232,99,26,0.1); transform: translateY(-2px); }

.sect-tile:hover svg { stroke: var(--orange); }

.sect-tile:hover .sn { color: var(--orange); }

.sect-tile svg { width: 28px; height: 28px; stroke: var(--navy); fill: none; stroke-width: 1.5; display: block; margin-bottom: 0.9rem; transition: stroke 0.2s; }

.sn { font-size: 0.92rem; font-weight: 700; color: var(--navy); line-height: 1.3; transition: color 0.2s; margin-bottom: 0.4rem; }

.sect-tile p { font-size: 0.82rem; font-weight: 300; line-height: 1.6; color: var(--text-mid); }

.refs-sec { background: var(--bg-grey); padding: 5rem 0; }

.logos-grid {
      display: grid; grid-template-columns: repeat(7, 1fr);
      gap: 1px; background: var(--border);
      border: 1px solid var(--border); border-radius: 8px;
      overflow: hidden; margin-top: 3rem;
    }

.logo-cell {
      background: var(--bg); padding: 1.6rem 1.2rem;
      display: flex; align-items: center; justify-content: center;
      transition: background 0.2s;
      min-height: 84px;
    }

.logo-cell:hover { background: var(--bg-grey); }

.logo-cell img {
      max-width: 130px; max-height: 44px;
      width: 100%; height: auto; object-fit: contain;
      opacity: 0.55;
      transition: opacity 0.2s;
    }

.logo-cell:hover img { opacity: 1; }

@media (max-width: 1000px) {
      .logos-grid { grid-template-columns: repeat(4, 1fr); }
    }

@media (max-width: 640px) {
      .logos-grid {
        display: flex; overflow-x: auto; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory;
        -webkit-mask-image: linear-gradient(to right, #000 85%, transparent 100%);
        mask-image: linear-gradient(to right, #000 85%, transparent 100%);
        scrollbar-width: none;
      }
      .logos-grid::-webkit-scrollbar { display: none; }
      .logo-cell { flex: 0 0 30%; scroll-snap-align: start; }
    }

.rv { opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.5s ease; }

.rv.on { opacity: 1; transform: none; }

@media (max-width: 1440px) {
      h1 { font-size: clamp(1.35rem, 3.3vw, 2.55rem); margin-bottom: 1.4rem; }
      .hero-sub { font-size: 1.02rem; line-height: 1.65; margin-bottom: 2.1rem; }
      .hero-tag { margin-bottom: 1.4rem; }
      .hero-content { padding: 0 3rem; }
      .hero-content-inner { gap: 2.5rem; }
      .hero-badge { padding: 1.3rem 1.5rem; gap: 0.9rem; }
      .hero-badge img.hb-iso { height: 60px; }
      .hero-badge img.hb-rm  { height: 44px; }
    }

@media (max-width: 1024px) {
      .announce-bar { padding: 0 1.5rem; }
      nav, .strip, .fb { padding-left: 2rem; padding-right: 2rem; }
      .wrap, .cta-inner { padding-left: 2rem; padding-right: 2rem; }
      .ft { padding: 0 2rem 3rem; grid-template-columns: 1fr 1fr; }
      .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
      .prest-grid { grid-template-columns: 1fr 1fr; }
      .sect-grid { grid-template-columns: repeat(2, 1fr); }
      .real-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
      .real-card.big { grid-row: span 1; }
      .nav-phone span { display: none; }
      .hero-badge { display: none; }
    }

@media (max-width: 1024px) {
      nav { padding: 0; }
      .nav-inner { padding: 0 1.2rem; }
      .nav-logo img { max-width: 200px; height: auto; }
      .nav-links { display: none !important; }
      .nav-phone { display: none !important; }
      .nav-linkedin { display: none !important; }
      .prest-grid { grid-template-columns: 1fr; }
      .sect-grid { grid-template-columns: 1fr; }
      .ft { grid-template-columns: 1fr; }
      .hero-content { padding: 0 1.5rem; }
      .announce-text { font-size: 0.68rem; }
    }

@media (max-width: 1024px) {
      .nlinks { display: none !important; }
      .nphone { display: none !important; }
      .nav-phone { display: none !important; }
      .nav-linkedin, .nli { display: none !important; }
    }

@media (max-width: 768px) {
      .nlang, .nav-lang { margin-left: 0.5rem; }
    }

@media (max-width: 480px) {
      .wrap { padding: 0 1.5rem; }
      .hero-content { padding: 0 1.5rem; }
    }
