*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  background:#050b14;
  color:#ffffff;
  font-family:Arial,Helvetica,sans-serif;
  line-height:1.5;
}

img{
  max-width:100%;
}

.container{
  max-width:1200px;
  margin:0 auto;
  padding:0 24px;
}

/* =========================
   HEADER
   ========================= */

#site-header{
  min-height:82px;
  background:#050b14;
  position:relative;
  z-index:1000;
  border-bottom:1px solid rgba(59,130,246,.14);
}

.nav{
  min-height:82px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  position:relative;
  z-index:1000;
}

.logo,
.site-logo,
.brand-logo{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  text-decoration:none;
  pointer-events:auto;
  flex-shrink:0;
}

.logo{
  min-width:245px;
  height:82px;
  overflow:hidden;
}

.logo-img{
  height:76px;
  width:auto;
  max-width:330px;
  display:block;
  object-fit:contain;
}

/* =========================
   NAVIGATION
   ========================= */

.nav-links{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:26px;
  flex-wrap:nowrap;
}

.nav-links a,
.nav-dropdown-btn{
  color:#c0c8d8;
  text-decoration:none;
  font-weight:800;
  font-size:15px;
  line-height:1;
  background:none;
  border:none;
  cursor:pointer;
  font-family:inherit;
}

.nav-links a:hover,
.nav-dropdown-btn:hover{
  color:#ffffff;
}

#site-header nav,
#site-header a,
#site-header button{
  position:relative;
  z-index:1001;
  pointer-events:auto;
}

/* =========================
   DROPDOWN
   ========================= */

.nav-dropdown{
  position:relative;
}

.nav-dropdown-label{
  color:#c0c8d8;
  font-weight:800;
  cursor:pointer;
  display:block;
  line-height:60px;
}

.nav-dropdown-label:hover{
  color:#ffffff;
}

.nav-dropdown-content{
  position:absolute;
  top:calc(100% + 18px);
  left:0;
  min-width:240px;
  background:#0e1727;
  border:1px solid #1f2a3d;
  border-radius:14px;
  padding:14px 0;
  display:none;
  z-index:2000;
  pointer-events:auto;
  box-shadow:0 18px 40px rgba(0,0,0,.35);
}

.nav-dropdown-content a{
  display:block;
  padding:11px 18px;
  color:#c0c8d8;
  font-weight:700;
  white-space:nowrap;
}

.nav-dropdown-content a:hover{
  background:#172338;
  color:#ffffff;
}

.nav-dropdown:hover .nav-dropdown-content,
.nav-dropdown:focus-within .nav-dropdown-content,
.nav-dropdown.open .nav-dropdown-content{
  display:block;
}

/* =========================
   LINKS
   ========================= */

a{
  color:#3b82f6;
  text-decoration:none;
}

a:visited{
  color:#3b82f6;
}

a:hover{
  color:#6ea0ff;
}

/* =========================
   BUTTONS
   ========================= */

.btn-primary,
.offer-btn{
  background:#3b82f6;
  padding:12px 22px;
  border-radius:10px;
  color:#ffffff !important;
  font-weight:800;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:none;
  cursor:pointer;
  transition:.2s ease;
  text-decoration:none;
}

.btn-primary:hover,
.offer-btn:hover{
  background:#5d91ff;
  color:#ffffff !important;
  transform:translateY(-1px);
}

.offer-btn .brand-white{
  color:#ffffff !important;
}

.btn-primary .brand,
.offer-btn .brand{
  display:inline-flex;
  align-items:center;
  gap:2px;
  white-space:nowrap;
}

/* =========================
   LANGUAGE SWITCH
   ========================= */

.lang-switch{
  display:flex;
  align-items:center;
  gap:10px;
  margin-left:4px;
}

.lang-switch a{
  font-size:20px;
  line-height:1;
  opacity:.78;
  transition:.2s ease;
}

.lang-switch a:hover{
  opacity:1;
  transform:scale(1.08);
}

.lang-switch img{
  width:24px;
  height:auto;
  border-radius:4px;
  transition:.2s ease;
}

.lang-switch img:hover{
  transform:scale(1.08);
  opacity:.9;
}

.active-lang,
.active-lang img{
  opacity:1;
}

.active-lang img{
  box-shadow:0 0 0 2px #3b82f6;
}

/* =========================
   HERO
   ========================= */

.hero-title-section{
  padding:34px 0 28px;
  text-align:center;
  position:relative;
  z-index:1;
}

.page-title{
  font-size:52px;
  font-weight:900;
  line-height:1.1;
}

.page-title.center{
  text-align:center;
}

.hero-subtitle{
  margin:22px auto 0;
  font-size:20px;
  line-height:1.7;
  color:#c4cde0;
  max-width:920px;
}

.hero-actions{
  margin-top:26px;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:16px;
  flex-wrap:wrap;
}

/* =========================
   GRID
   ========================= */

.home-grid-section{
  padding:28px 0 36px;
  position:relative;
  z-index:1;
}

.home-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px;
}

.offres-grid .home-visual,
.offres-grid .trust-card{
  grid-column:auto !important;
  grid-row:auto !important;
}

/* =========================
   VISUAL
   ========================= */

.home-visual{
  border-radius:18px;
  overflow:hidden;
  background:#050b14;
  display:flex;
  align-items:center;
  justify-content:center;
}

.home-visual img{
  width:100%;
  height:auto;
  display:block;
  border-radius:18px;
}

/* =========================
   CARDS
   ========================= */

.trust-card{
  background:#0e1727;
  border:1px solid #1f2a3d;
  border-radius:18px;
  padding:26px;
  transition:.25s ease;
}

.trust-card:hover{
  border-color:#3b82f6;
  transform:translateY(-3px);
}

.trust-card h4{
  font-size:22px;
  font-weight:900;
  margin-bottom:12px;
  line-height:1.3;
}

.trust-card p{
  color:#aeb8c8;
  line-height:1.7;
  font-size:16px;
}

.tag{
  display:block;
  color:#6ea0ff;
  font-size:15px;
  font-weight:900;
  letter-spacing:.5px;
  margin-bottom:14px;
  text-transform:uppercase;
}

/* =========================
   OFFER FOOTER
   ========================= */

.offer-footer{
  margin-top:22px;
}

.offer-footer strong{
  display:block;
  margin-bottom:14px;
  color:#ffffff;
  font-size:16px;
  font-weight:900;
}

/* =========================
   IMPACT
   ========================= */

.impact-proof{
  padding:50px 0 24px;
}

.section-title{
  font-size:40px;
  font-weight:900;
  margin-bottom:18px;
  line-height:1.2;
}

.section-intro{
  color:#aeb8c8;
  max-width:900px;
  margin-bottom:32px;
  line-height:1.8;
  font-size:18px;
}

.impact-metrics{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
  margin-top:30px;
}

.metric-card{
  background:linear-gradient(180deg,#0f1b2d 0%,#0b1422 100%);
  border:1px solid rgba(59,130,246,.25);
  border-radius:18px;
  padding:30px 24px;
  text-align:center;
  transition:.3s ease;
}

.metric-card:hover{
  transform:translateY(-4px);
  border-color:#3b82f6;
}

.metric-card strong{
  display:block;
  color:#3b82f6;
  font-size:42px;
  font-weight:900;
  margin-bottom:10px;
}

.metric-card span{
  display:block;
  font-size:18px;
  font-weight:800;
  margin-bottom:6px;
}

.metric-card small{
  display:block;
  font-size:14px;
  color:#8fa0b8;
}

.section-note{
  margin-top:18px;
  font-size:14px;
  color:#7f8da3;
}

/* =========================
   LIST
   ========================= */

.clean-list{
  margin-left:20px;
  margin-top:14px;
}

.clean-list li{
  margin-bottom:12px;
  line-height:1.7;
  color:#c4cde0;
}

/* =========================
   CONTACT
   ========================= */

.contact-form{
  margin-top:18px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px 16px;
}

.form-group{
  display:flex;
  flex-direction:column;
  gap:7px;
}

.form-group.full{
  grid-column:1/-1;
}

.contact-form label{
  color:#c4cde0;
  font-size:14px;
  font-weight:800;
}

.contact-form input,
.contact-form textarea{
  width:100%;
  padding:13px 14px;
  border-radius:10px;
  border:1px solid #1f2a3d;
  background:#050b14;
  color:#ffffff;
  font-size:15px;
}

.contact-form textarea{
  min-height:130px;
  resize:vertical;
}

.contact-form input:focus,
.contact-form textarea:focus{
  outline:none;
  border-color:#3b82f6;
  box-shadow:0 0 0 3px rgba(59,130,246,.16);
}

/* =========================
   BRAND TEXT AUBERT AI
   Aubert en blanc, AI en cyan
   ========================= */

.brand{
  font-weight:900;
  letter-spacing:.5px;
  white-space:nowrap;
}

.brand .brand-blue:first-child{
  color:#ffffff !important;
}

.brand .brand-white{
  color:#ffffff !important;
}

.brand .brand-blue:last-child{
  color:#00d8ff !important;
}

.brand-blue{
  color:#00d8ff !important;
}

.brand-white{
  color:#ffffff !important;
}

/* =========================
   FOOTER
   ========================= */

footer{
  padding:40px 0 24px;
  margin-top:36px;
}

.footer-container{
  display:grid;
  grid-template-columns:repeat(3,220px);
  justify-content:center;
  gap:120px;
  align-items:flex-start;
}

.footer-column h4{
  color:#ffffff;
  font-size:18px;
  font-weight:900;
  margin-bottom:18px;
}

.footer-column a{
  display:block;
  margin-top:10px;
  font-weight:800;
}

.footer-bottom{
  width:100%;
  text-align:center;
  display:flex;
  justify-content:center;
  align-items:center;
  margin-top:40px;
  color:#7f8da3;
  font-size:14px;
}

/* =========================
   MAIN STACKING FIX
   ========================= */

main{
  position:relative;
  z-index:1;
}

/* =========================
   TARTEAUCITRON
   ========================= */

#tarteaucitronRoot,
#tarteaucitron,
#tarteaucitronAlertBig,
#tarteaucitronCookiesListContainer{
  z-index:999999 !important;
}

#tarteaucitron{
  position:fixed !important;
}

#tarteaucitronAlertBig{
  position:fixed !important;
}

/* Masquage du petit bouton flottant "Gestion des services" */

#tarteaucitronAlertSmall,
#tarteaucitronOpenPanel{
  display:none !important;
}

/* =========================
   RESPONSIVE TABLETTE
   ========================= */

@media(max-width:1024px){

  .nav{
    gap:18px;
  }

  .logo{
    min-width:210px;
  }

  .logo-img{
    height:68px;
    max-width:285px;
  }

  .nav-links{
    gap:18px;
  }

  .nav-links a,
  .nav-dropdown-btn{
    font-size:14px;
  }

  .page-title{
    font-size:44px;
  }

}

/* =========================
   RESPONSIVE MOBILE
   ========================= */

@media(max-width:900px){

  #site-header{
    min-height:auto;
  }

  .nav{
    min-height:auto;
    flex-direction:column;
    gap:14px;
    padding:14px 0 16px;
  }

  .logo{
    min-width:0;
    height:auto;
  }

  .logo-img{
    height:62px;
    max-width:260px;
  }

  .nav-links{
    flex-wrap:wrap;
    justify-content:center;
    gap:16px 18px;
  }

  .nav-dropdown-content{
    position:absolute;
    top:calc(100% + 10px);
    left:50%;
    transform:translateX(-50%);
    margin-top:0;
    text-align:left;
  }

  .page-title{
    font-size:36px;
  }

  .hero-subtitle{
    font-size:18px;
  }

  .hero-actions{
    flex-direction:column;
    gap:14px;
  }

  .btn-primary,
  .offer-btn{
    width:100%;
    max-width:340px;
  }

  .home-grid,
  .impact-metrics,
  .contact-form{
    grid-template-columns:1fr;
  }

  .section-title{
    font-size:32px;
  }

  .section-intro{
    font-size:17px;
  }

  .footer-container{
    grid-template-columns:1fr;
    gap:40px;
    text-align:center;
  }

}

/* =========================
   RESPONSIVE PETIT MOBILE
   ========================= */

@media(max-width:520px){

  .container{
    padding:0 18px;
  }

  .logo-img{
    height:54px;
    max-width:225px;
  }

  .nav-links{
    gap:14px;
  }

  .nav-links a,
  .nav-dropdown-btn{
    font-size:13px;
  }

  .page-title{
    font-size:31px;
  }

  .hero-subtitle{
    font-size:16px;
  }

  .trust-card{
    padding:22px;
  }

  .metric-card strong{
    font-size:36px;
  }

}

/* =========================
   TARTEAUCITRON - MASQUAGE COMPLET DU BOUTON FLOTTANT
   ========================= */

#tarteaucitronAlertSmall,
#tarteaucitronOpenPanel,
#tarteaucitronIcon,
.tarteaucitronIconBottomRight,
.tarteaucitronIconBottomLeft,
.tarteaucitronIconTopRight,
.tarteaucitronIconTopLeft,
#tarteaucitronRoot .tarteaucitronIcon,
#tarteaucitronRoot button[id*="tarteaucitron"],
#tarteaucitronRoot a[id*="tarteaucitron"]{
  display:none !important;
  visibility:hidden !important;
  opacity:0 !important;
  pointer-events:none !important;
}


/* =========================
   OFFRES COMMERCIALES
   ========================= */

.center-title{
  text-align:center;
}

.center-intro{
  text-align:center;
  margin-left:auto;
  margin-right:auto;
}

.offers-commercial-section{
  padding:34px 0 48px;
}

.commercial-offers-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
  margin-top:34px;
}

.commercial-offer-card{
  background:linear-gradient(180deg,#0f1b2d 0%,#0b1422 100%);
  border:1px solid rgba(59,130,246,.22);
  border-radius:22px;
  padding:28px;
  display:flex;
  flex-direction:column;
  min-height:100%;
  transition:.25s ease;
}

.commercial-offer-card:hover{
  transform:translateY(-4px);
  border-color:#3b82f6;
  box-shadow:0 18px 44px rgba(0,0,0,.28);
}

.featured-offer{
  border-color:rgba(0,216,255,.48);
  box-shadow:0 0 0 1px rgba(0,216,255,.08);
}

.offer-badge{
  display:inline-flex;
  align-self:flex-start;
  color:#00d8ff;
  background:rgba(0,216,255,.08);
  border:1px solid rgba(0,216,255,.22);
  border-radius:999px;
  padding:7px 12px;
  font-size:13px;
  font-weight:900;
  margin-bottom:18px;
}

.commercial-offer-card h3{
  font-size:26px;
  font-weight:900;
  line-height:1.2;
  margin-bottom:14px;
}

.offer-lead{
  color:#c4cde0;
  line-height:1.7;
  font-size:16px;
  margin-bottom:18px;
}

.offer-features{
  list-style:none;
  margin:0 0 22px;
  padding:0;
}

.offer-features li{
  color:#aeb8c8;
  line-height:1.55;
  margin-bottom:10px;
  padding-left:22px;
  position:relative;
}

.offer-features li::before{
  content:"✓";
  position:absolute;
  left:0;
  top:0;
  color:#00d8ff;
  font-weight:900;
}

.offer-price{
  margin-top:auto;
  margin-bottom:20px;
  padding-top:18px;
  border-top:1px solid rgba(255,255,255,.08);
}

.offer-price span{
  display:block;
  color:#8fa0b8;
  font-size:14px;
  font-weight:800;
  margin-bottom:4px;
}

.offer-price strong{
  display:block;
  color:#ffffff;
  font-size:27px;
  font-weight:900;
  margin-bottom:4px;
}

.offer-price small{
  display:block;
  color:#8fa0b8;
  font-size:13px;
  line-height:1.5;
}

.offer-strategy-section{
  padding:24px 0 48px;
}

.strategy-card{
  background:#0e1727;
  border:1px solid #1f2a3d;
  border-radius:22px;
  padding:34px;
}

.strategy-card h2{
  font-size:34px;
  font-weight:900;
  line-height:1.25;
  margin-bottom:28px;
}

.strategy-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}

.strategy-grid h4{
  font-size:20px;
  font-weight:900;
  margin-bottom:10px;
}

.strategy-grid p{
  color:#aeb8c8;
  line-height:1.7;
}

.final-cta-section{
  padding:24px 0 64px;
  text-align:center;
}

.final-cta-section h2{
  font-size:38px;
  font-weight:900;
  margin-bottom:14px;
}

.final-cta-section p{
  color:#c4cde0;
  max-width:780px;
  margin:0 auto 24px;
  font-size:18px;
  line-height:1.7;
}

@media(max-width:1024px){

  .commercial-offers-grid{
    grid-template-columns:1fr;
  }

  .strategy-grid{
    grid-template-columns:1fr;
  }

}

@media(max-width:520px){

  .commercial-offer-card,
  .strategy-card{
    padding:24px;
  }

  .commercial-offer-card h3{
    font-size:23px;
  }

  .strategy-card h2,
  .final-cta-section h2{
    font-size:28px;
  }

}



/* Bandeau global expérience professionnelle Aubert AI */
.aubert-experience-strip {
  width: 100%;
  padding: 26px 0;
  margin-top: 48px;
  background: linear-gradient(90deg, rgba(5, 11, 20, 0.98), rgba(7, 24, 42, 0.98));
  border-top: 1px solid rgba(47, 128, 237, 0.38);
  border-bottom: 1px solid rgba(47, 128, 237, 0.22);
  box-sizing: border-box;
  overflow: hidden;
}

.aubert-experience-strip-inner {
  max-width: 1180px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.92);
  text-align: center;
}

.aubert-experience-strip-line {
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 600;
  margin-bottom: 10px;
  padding: 0 24px;
}

.aubert-experience-marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.aubert-experience-track {
  display: flex;
  width: max-content;
  animation: aubertExperienceScroll 24s linear infinite;
}

.aubert-experience-marquee:hover .aubert-experience-track {
  animation-play-state: paused;
}

.aubert-experience-sectors {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding-right: 36px;
}

.aubert-experience-sectors .sector {
  color: #6f8cff;
  font-weight: 800;
  font-size: 0.98rem;
}

.aubert-experience-sectors .dot {
  color: rgba(255, 255, 255, 0.58);
  margin: 0 14px;
  font-weight: 700;
}

@keyframes aubertExperienceScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 760px) {
  .aubert-experience-strip {
    padding: 22px 0;
    margin-top: 36px;
  }

  .aubert-experience-strip-line {
    font-size: 0.92rem;
    margin-bottom: 8px;
    padding: 0 18px;
  }

  .aubert-experience-sectors .sector {
    font-size: 0.9rem;
  }

  .aubert-experience-sectors .dot {
    margin: 0 10px;
  }

  .aubert-experience-track {
    animation-duration: 20s;
  }
}

/* ==========================================================================
   Page Références & environnements professionnels
   ========================================================================== */

.references-page {
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.22), transparent 32%),
    radial-gradient(circle at bottom right, rgba(20, 184, 166, 0.16), transparent 36%),
    #050b14;
  color: #ffffff;
  min-height: 100vh;
}

.references-hero {
  padding: 96px 24px 52px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.references-hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
}

.references-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  padding: 8px 14px;
  border: 1px solid rgba(34, 211, 238, 0.32);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  color: #67e8f9;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.references-hero h1 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.references-hero h1 span {
  background: linear-gradient(135deg, #38bdf8, #2dd4bf, #a7f3d0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.references-hero p {
  max-width: 880px;
  margin: 24px auto 0;
  color: #cbd5e1;
  font-size: 1.08rem;
  line-height: 1.8;
}

.references-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 64px 24px 88px;
}

.references-intro {
  max-width: 920px;
  margin: 0 auto 42px;
  text-align: center;
  color: #cbd5e1;
  font-size: 1.02rem;
  line-height: 1.8;
}

.references-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.reference-card {
  min-height: 148px;
  padding: 24px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.88), rgba(15, 23, 42, 0.58)),
    rgba(2, 6, 23, 0.78);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.reference-card:hover {
  transform: translateY(-4px);
  border-color: rgba(45, 212, 191, 0.55);
  box-shadow: 0 28px 70px rgba(8, 145, 178, 0.18);
}

.reference-card img {
  max-width: 170px;
  max-height: 64px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: saturate(1.05) contrast(1.05);
}

.references-note {
  max-width: 920px;
  margin: 46px auto 0;
  padding: 24px 28px;
  border: 1px solid rgba(34, 211, 238, 0.22);
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.72);
  color: #cbd5e1;
  line-height: 1.75;
  text-align: center;
}

@media (max-width: 1024px) {
  .references-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .references-hero {
    padding: 72px 18px 40px;
  }

  .references-section {
    padding: 42px 18px 64px;
  }

  .references-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .reference-card {
    min-height: 126px;
    padding: 18px;
    border-radius: 20px;
  }

  .reference-card img {
    max-width: 132px;
    max-height: 54px;
  }
}

@media (max-width: 460px) {
  .references-grid {
    grid-template-columns: 1fr;
  }
}


/* Correctifs page Références : classes utilisées dans references.html */

.references-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  padding: 8px 14px;
  border: 1px solid rgba(34, 211, 238, 0.32);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  color: #67e8f9;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.references-notice {
  max-width: 920px;
  margin: 32px auto 0;
  padding: 22px 26px;
  border: 1px solid rgba(34, 211, 238, 0.22);
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.72);
  color: #cbd5e1;
  line-height: 1.75;
  text-align: center;
}

.references-section-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.references-section h2 {
  margin: 0 0 34px;
  text-align: center;
  color: #ffffff;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  letter-spacing: -0.04em;
}


/* Lien vers la page Références dans le bandeau expérience */

.aubert-experience-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin: 12px auto 4px;
  padding: 8px 16px;
  border: 1px solid rgba(45, 212, 191, 0.34);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  color: #67e8f9;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.aubert-experience-link:hover {
  transform: translateY(-2px);
  border-color: rgba(45, 212, 191, 0.72);
  background: rgba(8, 47, 73, 0.82);
  color: #ffffff;
}


/* Harmonisation couleur du texte défilant avec les cartes du site */

.aubert-experience-sectors .sector {
  color: #3b82f6;
  font-weight: 800;
}

.aubert-experience-sectors .dot {
  color: rgba(148, 163, 184, 0.78);
}


/* Correctif final bandeau expérience : centrage réel + bouton CTA */

.aubert-experience-strip {
  width: 100%;
  overflow: hidden !important;
  text-align: center !important;
}

.aubert-experience-strip-inner {
  width: 100%;
  max-width: 1180px;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 30px 24px 32px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box;
}

.aubert-experience-strip-line {
  width: 100%;
  text-align: center !important;
  margin: 0 0 18px !important;
  font-weight: 800;
}

.aubert-experience-link {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  max-width: fit-content;
  margin: 0 auto 18px !important;
  padding: 0.85rem 1.35rem !important;
  border: 0 !important;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #14b8a6) !important;
  color: #ffffff !important;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none !important;
  box-shadow: 0 14px 34px rgba(37, 99, 235, 0.28);
}

.aubert-experience-link:hover {
  transform: translateY(-2px);
  color: #ffffff !important;
  box-shadow: 0 18px 44px rgba(20, 184, 166, 0.32);
}

.aubert-experience-marquee {
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
  margin: 0 auto !important;
}

.aubert-experience-track {
  display: flex !important;
  width: max-content;
}

.aubert-experience-sectors {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.aubert-experience-sectors .sector {
  color: #3b82f6 !important;
  font-weight: 800;
}

.aubert-experience-sectors .dot {
  color: rgba(148, 163, 184, 0.78) !important;
}


/* Bouton bandeau expérience aligné sur le style CTA du site */

.aubert-experience-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  max-width: fit-content !important;
  margin: 0 auto 18px !important;
  padding: 0.95rem 1.45rem !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: #3b82f6 !important;
  color: #ffffff !important;
  font-size: 0.95rem !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  box-shadow: none !important;
  transition: background 180ms ease, transform 180ms ease;
}

.aubert-experience-link:hover {
  background: #2563eb !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: none !important;
}


/* Alignement du bandeau expérience sur la largeur du site */

.aubert-experience-strip {
  max-width: 1180px !important;
  margin: 0 auto !important;
  width: calc(100% - 48px) !important;
  border-left: 1px solid rgba(59, 130, 246, 0.22);
  border-right: 1px solid rgba(59, 130, 246, 0.22);
  box-sizing: border-box;
}

.aubert-experience-strip-inner {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 46px 32px 44px !important;
  box-sizing: border-box;
}

.aubert-experience-marquee {
  width: 100% !important;
  overflow: hidden !important;
}

@media (max-width: 760px) {
  .aubert-experience-strip {
    width: calc(100% - 28px) !important;
  }

  .aubert-experience-strip-inner {
    padding: 34px 18px 36px !important;
  }
}


/* Bandeau expérience compact : moins haut et plus proche du contenu */

.aubert-experience-strip {
  margin-top: -18px !important;
  margin-bottom: 0 !important;
}

.aubert-experience-strip-inner {
  padding: 22px 28px 24px !important;
}

.aubert-experience-strip-line {
  margin: 0 0 12px !important;
  font-size: 0.95rem !important;
}

.aubert-experience-link {
  margin: 0 auto 14px !important;
  padding: 0.82rem 1.35rem !important;
}

.aubert-experience-marquee {
  margin-top: 0 !important;
}

@media (max-width: 760px) {
  .aubert-experience-strip {
    margin-top: -10px !important;
  }

  .aubert-experience-strip-inner {
    padding: 20px 16px 22px !important;
  }
}


/* Bandeau expérience ultra compact */

.aubert-experience-strip-inner {
  padding: 14px 24px 16px !important;
}

.aubert-experience-strip-line {
  margin: 0 0 8px !important;
  line-height: 1.2 !important;
}

.aubert-experience-link {
  margin: 0 auto 10px !important;
  padding: 0.72rem 1.25rem !important;
  min-height: auto !important;
}

.aubert-experience-marquee {
  line-height: 1.2 !important;
}

.aubert-experience-sectors {
  line-height: 1.2 !important;
}


/* Bandeau expérience très serré */

.aubert-experience-strip {
  margin-top: -28px !important;
  margin-bottom: 0 !important;
}

.aubert-experience-strip-inner {
  padding: 8px 20px 9px !important;
}

.aubert-experience-strip-line {
  margin: 0 0 5px !important;
  line-height: 1.05 !important;
  font-size: 0.92rem !important;
}

.aubert-experience-link {
  margin: 0 auto 6px !important;
  padding: 0.62rem 1.15rem !important;
  line-height: 1 !important;
}

.aubert-experience-marquee {
  margin: 0 !important;
  line-height: 1.05 !important;
}

.aubert-experience-sectors,
.aubert-experience-sectors .sector,
.aubert-experience-sectors .dot {
  line-height: 1.05 !important;
}


/* Bandeau expérience discret */

.aubert-experience-strip {
  margin-top: -34px !important;
  margin-bottom: 0 !important;
  background: rgba(2, 12, 24, 0.72) !important;
  border-color: rgba(59, 130, 246, 0.16) !important;
}

.aubert-experience-strip-inner {
  padding: 4px 18px 5px !important;
}

.aubert-experience-strip-line {
  margin: 0 0 4px !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  opacity: 0.92;
}

.aubert-experience-link {
  margin: 0 auto 4px !important;
  padding: 0.48rem 0.95rem !important;
  border-radius: 8px !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}

.aubert-experience-marquee {
  margin: 0 !important;
  line-height: 1 !important;
}

.aubert-experience-sectors .sector {
  font-size: 0.88rem !important;
  font-weight: 700 !important;
}

.aubert-experience-sectors .dot {
  font-size: 0.8rem !important;
  opacity: 0.7;
}


/* Rapprochement final du bandeau expérience avec le contenu précédent */

.aubert-experience-strip {
  margin-top: -54px !important;
}

.aubert-experience-strip-inner {
  padding-top: 3px !important;
  padding-bottom: 4px !important;
}


/* Respiration interne du bandeau expérience */

.aubert-experience-strip-inner {
  padding-top: 8px !important;
  padding-bottom: 10px !important;
}

.aubert-experience-strip-line {
  margin-bottom: 7px !important;
}

.aubert-experience-link {
  margin-bottom: 9px !important;
}

.aubert-experience-marquee {
  margin-top: 2px !important;
}


/* Ajustement lisibilité bandeau expérience */

.aubert-experience-strip-line {
  font-size: 1rem !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  margin-bottom: 8px !important;
}

.aubert-experience-link {
  font-size: 0.9rem !important;
  font-weight: 800 !important;
  padding: 0.55rem 1.05rem !important;
  margin-bottom: 9px !important;
}

.aubert-experience-sectors .sector {
  font-size: 0.95rem !important;
  font-weight: 800 !important;
}

.aubert-experience-sectors .dot {
  font-size: 0.9rem !important;
}


/* ==========================================================================
   Page Références premium Aubert AI
   ========================================================================== */

.references-premium-page {
  background: #050b14;
  color: #ffffff;
  min-height: 100vh;
}

.references-premium-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(5, 11, 20, 0.92), rgba(5, 11, 20, 0.54), rgba(5, 11, 20, 0.22)),
    url("/images/aubert-ai.png");
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid rgba(59, 130, 246, 0.24);
}

.references-premium-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 25% 35%, rgba(59, 130, 246, 0.22), transparent 34%),
    radial-gradient(circle at 78% 48%, rgba(20, 184, 166, 0.16), transparent 32%);
  pointer-events: none;
}

.references-premium-hero-inner {
  position: relative;
  z-index: 1;
  width: calc(100% - 48px);
  max-width: 1180px;
  margin: 0 auto;
  padding: 96px 0;
}

.references-premium-kicker {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(59, 130, 246, 0.38);
  background: rgba(15, 23, 42, 0.72);
  color: #60a5fa;
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.references-premium-hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.references-premium-lead {
  max-width: 780px;
  margin: 26px 0 0;
  color: #dbeafe;
  font-size: 1.15rem;
  line-height: 1.75;
}

.references-premium-notice {
  max-width: 850px;
  margin: 30px 0 0;
  padding: 18px 22px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.72);
  color: #cbd5e1;
  font-size: 0.96rem;
  line-height: 1.65;
}

.references-themes-section {
  padding: 72px 24px 96px;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.16), transparent 30%),
    #050b14;
}

.references-themes-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.references-themes-inner h2 {
  margin: 0;
  text-align: center;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.references-themes-intro {
  max-width: 840px;
  margin: 22px auto 46px;
  text-align: center;
  color: #cbd5e1;
  font-size: 1.04rem;
  line-height: 1.75;
}

.references-themes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.references-theme-card {
  position: relative;
  min-height: 250px;
  padding: 30px;
  border: 1px solid rgba(59, 130, 246, 0.24);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.58)),
    rgba(2, 6, 23, 0.86);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.references-theme-card::after {
  content: "";
  position: absolute;
  inset: auto -80px -90px auto;
  width: 230px;
  height: 230px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.18), transparent 68%);
  pointer-events: none;
}

.references-theme-card-highlight {
  grid-column: 1 / -1;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.22), rgba(20, 184, 166, 0.16)),
    rgba(15, 23, 42, 0.82);
}

.references-theme-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border-radius: 50%;
  border: 1px solid rgba(96, 165, 250, 0.55);
  background: rgba(37, 99, 235, 0.24);
  color: #bfdbfe;
  font-weight: 900;
}

.references-theme-card h3 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 1.55rem;
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.references-theme-card p {
  max-width: 720px;
  margin: 0;
  color: #cbd5e1;
  font-size: 1rem;
  line-height: 1.7;
}

.references-theme-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.references-theme-tags span {
  display: inline-flex;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.14);
  color: #60a5fa;
  font-size: 0.82rem;
  font-weight: 800;
}

@media (max-width: 860px) {
  .references-premium-hero {
    min-height: auto;
    background-position: center right;
  }

  .references-premium-hero-inner {
    width: calc(100% - 32px);
    padding: 72px 0;
  }

  .references-themes-grid {
    grid-template-columns: 1fr;
  }

  .references-theme-card-highlight {
    grid-column: auto;
  }
}

@media (max-width: 520px) {
  .references-premium-hero-inner {
    padding: 56px 0;
  }

  .references-premium-notice {
    font-size: 0.9rem;
  }

  .references-themes-section {
    padding: 48px 16px 72px;
  }

  .references-theme-card {
    padding: 24px;
  }
}


/* ==========================================================================
   Page Références - structure sobre alignée avec les pages Aubert AI
   ========================================================================== */

.references-home-page {
  background: #050b14;
  color: #ffffff;
}

.references-home-inner {
  width: calc(100% - 48px);
  max-width: 1180px;
  margin: 0 auto;
}

.references-home-hero {
  padding: 86px 0 64px;
  border-bottom: 1px solid rgba(59, 130, 246, 0.22);
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.18), transparent 34%),
    radial-gradient(circle at bottom right, rgba(20, 184, 166, 0.12), transparent 36%),
    #050b14;
}

.references-home-kicker {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 8px 14px;
  border: 1px solid rgba(59, 130, 246, 0.38);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  color: #60a5fa;
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.references-home-hero h1 {
  max-width: 860px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.06;
  letter-spacing: -0.055em;
}

.references-home-lead {
  max-width: 900px;
  margin: 24px 0 0;
  color: #dbeafe;
  font-size: 1.12rem;
  line-height: 1.75;
}

.references-home-notice {
  max-width: 900px;
  margin: 28px 0 0;
  padding: 20px 24px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.68);
  color: #cbd5e1;
  font-size: 0.96rem;
  line-height: 1.65;
}

.references-home-themes {
  padding: 72px 0 92px;
}

.references-home-themes h2 {
  max-width: 900px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: -0.05em;
}

.references-home-intro {
  max-width: 860px;
  margin: 18px 0 42px;
  color: #cbd5e1;
  font-size: 1.04rem;
  line-height: 1.7;
}

.references-home-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.references-home-card {
  padding: 28px;
  border: 1px solid rgba(59, 130, 246, 0.24);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.62)),
    rgba(2, 6, 23, 0.82);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
}

.references-home-card-wide {
  grid-column: 1 / -1;
}

.references-home-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 50%;
  border: 1px solid rgba(96, 165, 250, 0.58);
  background: rgba(37, 99, 235, 0.22);
  color: #bfdbfe;
  font-weight: 900;
}

.references-home-card h3 {
  margin: 0 0 12px;
  color: #3b82f6;
  font-size: 1.45rem;
  line-height: 1.22;
  letter-spacing: -0.025em;
}

.references-home-card p {
  margin: 0;
  color: #cbd5e1;
  font-size: 1rem;
  line-height: 1.68;
}

.references-home-examples {
  margin-top: 18px !important;
  color: #93c5fd !important;
  font-size: 0.92rem !important;
  font-weight: 700;
}

@media (max-width: 860px) {
  .references-home-inner {
    width: calc(100% - 32px);
  }

  .references-home-hero {
    padding: 64px 0 48px;
  }

  .references-home-grid {
    grid-template-columns: 1fr;
  }

  .references-home-card-wide {
    grid-column: auto;
  }
}


/* ==========================================================================
   Page Références - grille 3 colonnes avec style trust-card
   ========================================================================== */

.references-grid-page .hero-title-section {
  padding-bottom: 50px;
}

.references-grid-section {
  padding: 10px 0 80px;
}

.references-logos-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 42px;
}

.references-logo-card {
  min-height: 150px;
  padding: 24px !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.references-logo-card img {
  max-width: 100%;
  max-height: 54px;
  width: auto;
  height: auto;
  object-fit: contain;
}

@media (max-width: 980px) {
  .references-logos-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .references-logos-grid {
    grid-template-columns: 1fr;
  }

  .references-logo-card {
    min-height: 130px;
  }

  .references-logo-card img {
    max-height: 48px;
  }
}


/* Correctif compact page Références : cards plus petites, logos plus grands */

.references-grid-section {
  padding: 6px 0 64px;
}

.references-logos-grid {
  gap: 18px;
  margin-top: 30px;
}

.references-logo-card {
  min-height: 110px !important;
  padding: 16px 18px !important;
  border-radius: 20px !important;
}

.references-logo-card img {
  max-width: 100%;
  max-height: 74px !important;
  width: auto;
  height: auto;
  object-fit: contain;
}

@media (max-width: 980px) {
  .references-logo-card {
    min-height: 105px !important;
  }

  .references-logo-card img {
    max-height: 68px !important;
  }
}

@media (max-width: 640px) {
  .references-logo-card {
    min-height: 96px !important;
    padding: 14px 16px !important;
  }

  .references-logo-card img {
    max-height: 60px !important;
  }
}


/* Références : grille 4 colonnes + logos plus lisibles */

.references-logos-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 16px !important;
  margin-top: 28px !important;
}

.references-logo-card {
  min-height: 104px !important;
  padding: 14px 16px !important;
  border-radius: 18px !important;
}

.references-logo-card img {
  max-width: 92% !important;
  max-height: 82px !important;
  transform: scale(1.18);
  object-fit: contain;
}

@media (max-width: 1180px) {
  .references-logos-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 820px) {
  .references-logos-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .references-logo-card img {
    transform: scale(1.12);
  }
}

@media (max-width: 520px) {
  .references-logos-grid {
    grid-template-columns: 1fr !important;
  }

  .references-logo-card {
    min-height: 96px !important;
  }

  .references-logo-card img {
    max-height: 72px !important;
    transform: scale(1.08);
  }
}


/* Références : logos encore plus grands pour améliorer la lisibilité */

.references-logo-card {
  min-height: 112px !important;
  padding: 10px 12px !important;
}

.references-logo-card img {
  max-width: 104% !important;
  max-height: 92px !important;
  transform: scale(1.34) !important;
  transform-origin: center center !important;
}

@media (max-width: 1180px) {
  .references-logo-card img {
    transform: scale(1.26) !important;
  }
}

@media (max-width: 820px) {
  .references-logo-card img {
    transform: scale(1.18) !important;
  }
}


/* ==========================================================================
   Références - cards style identique au visuel de référence
   ========================================================================== */

.references-grid-page .hero-title-section {
  padding-bottom: 50px;
}

.references-grid-section {
  padding: 8px 0 80px;
}

.references-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.reference-company-card {
  position: relative;
  min-height: 126px;
  padding: 10px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(18, 27, 52, 0.95), rgba(14, 22, 43, 0.92));
  border: 1px solid rgba(72, 116, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.reference-company-inner {
  height: 100%;
  min-height: 104px;
  border-radius: 14px;
  border: 1px solid rgba(72, 116, 255, 0.28);
  background:
    linear-gradient(90deg, rgba(8, 16, 35, 0.98), rgba(27, 39, 72, 0.92));
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
}

.reference-company-badge {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #74a8ff, #8ebeff);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.reference-company-content {
  min-width: 0;
}

.reference-company-content h3 {
  margin: 0 0 4px;
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.15;
  font-weight: 800;
}

.reference-company-content .meta-1 {
  margin: 0 0 3px;
  color: #dbe6ff;
  font-size: 0.77rem;
  line-height: 1.25;
  font-weight: 700;
}

.reference-company-content .meta-2 {
  margin: 0;
  color: #7e93ff;
  font-size: 0.62rem;
  line-height: 1.2;
  font-weight: 500;
}

@media (max-width: 1180px) {
  .references-cards-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .references-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .references-cards-grid {
    grid-template-columns: 1fr;
  }
}


/* Références : un seul cadre par card */

.reference-company-card {
  padding: 0 !important;
  border: 1px solid rgba(72, 116, 255, 0.28) !important;
  border-radius: 18px !important;
  background:
    linear-gradient(180deg, rgba(18, 27, 52, 0.95), rgba(14, 22, 43, 0.92)) !important;
}

.reference-company-inner {
  border: 0 !important;
  background: transparent !important;
  min-height: 126px !important;
  padding: 18px 20px !important;
}


/* Références : effet mouse-over sur les cards */

.reference-company-card {
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.reference-company-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.72) !important;
  background:
    linear-gradient(180deg, rgba(20, 34, 68, 0.98), rgba(15, 28, 56, 0.96)) !important;
  box-shadow:
    0 18px 42px rgba(37, 99, 235, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.reference-company-card:hover .reference-company-badge {
  background: linear-gradient(180deg, #3b82f6, #06b6d4);
  box-shadow: 0 0 18px rgba(59, 130, 246, 0.34);
}

.reference-company-card:hover h3 {
  color: #ffffff;
}

.reference-company-card:hover .meta-2 {
  color: #93c5fd;
}


/* ==========================================================
   AUBERT AI - SOCLE COMMUN PAGES VITRINE
   Structure cible :
   .page / .page-hero / .page-title / .page-subtitle
   .page-section / .section-title / .section-intro
   ========================================================== */

.page {
  background: #050b14;
  color: #ffffff;
}

.page-hero {
  padding: 28px 0 28px !important;
  text-align: center;
}

.page-title {
  font-size: clamp(34px, 3.2vw, 40px) !important;
  line-height: 1.16 !important;
  letter-spacing: -0.025em !important;
  font-weight: 800 !important;
  margin: 0 auto 22px auto !important;
  max-width: 1050px !important;
}

.page-subtitle {
  font-size: clamp(18px, 1.55vw, 21px) !important;
  line-height: 1.65 !important;
  font-weight: 600 !important;
  color: #d8e0ef !important;
  max-width: 960px !important;
  margin: 0 auto !important;
}

.page-section {
  padding-top: 28px !important;
}

.section-title {
  font-size: clamp(30px, 3vw, 40px) !important;
  line-height: 1.18 !important;
  letter-spacing: -0.02em !important;
  font-weight: 800 !important;
  margin-top: 0 !important;
  margin-bottom: 22px !important;
}

.section-intro {
  font-size: clamp(17px, 1.35vw, 19px) !important;
  line-height: 1.65 !important;
  color: #cbd5e1 !important;
  max-width: 960px !important;
}

/* Cas spécifique Références : titre de section long sur une ligne desktop */
@media (min-width: 1180px) {
  .page-references .references-grid-section h2 {
    font-size: 36px !important;
    white-space: nowrap !important;
    max-width: 1240px !important;
  }
}

@media (max-width: 768px) {
  .page-hero {
    padding: 24px 0 22px !important;
  }

  .page-title {
    font-size: 30px !important;
    line-height: 1.18 !important;
  }

  .page-subtitle {
    font-size: 16px !important;
    line-height: 1.6 !important;
  }

  .section-title {
    font-size: 28px !important;
    line-height: 1.2 !important;
  }
}


/* ==========================================================
   AUBERT AI - Menu desktop lisible et resserré
   ========================================================== */

@media (min-width: 1280px) {
  .nav {
    gap: 12px !important;
  }

  .nav-links {
    gap: 11px !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
  }

  .nav-links a,
  .nav-dropdown-btn {
    font-size: 19px !important;
    font-weight: 700 !important;
    line-height: 1.12 !important;
    white-space: nowrap !important;
  }

  .nav-links .btn-primary {
    font-size: 19px !important;
    font-weight: 800 !important;
    padding: 9px 12px !important;
  }

  .admin-link {
    font-size: 17px !important;
    font-weight: 700 !important;
    opacity: 0.86 !important;
  }

  .lang-switch {
    gap: 4px !important;
  }
}

@media (min-width: 901px) and (max-width: 1279px) {
  .nav {
    gap: 10px !important;
  }

  .nav-links {
    gap: 10px !important;
    flex-wrap: nowrap !important;
  }

  .nav-links a,
  .nav-dropdown-btn {
    font-size: 15px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
  }

  .nav-links .btn-primary {
    font-size: 15px !important;
    padding: 9px 12px !important;
  }

  .admin-link {
    font-size: 14px !important;
    opacity: 0.82 !important;
  }
}

/* Sous-menu Expertises compact */
@media (min-width: 901px) {
  .nav-dropdown {
    position: relative !important;
  }

  .nav-dropdown-content {
    top: calc(100% + 12px) !important;
    left: 0 !important;
    min-width: 220px !important;
    max-width: 240px !important;
    padding: 10px !important;
    border-radius: 14px !important;
    background: rgba(11, 19, 36, 0.98) !important;
    border: 1px solid rgba(59, 130, 246, 0.28) !important;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42) !important;
    z-index: 9999 !important;
  }

  .nav-dropdown-content a {
    display: block !important;
    padding: 9px 10px !important;
    border-radius: 10px !important;
    font-size: 15px !important;
    line-height: 1.2 !important;
    color: #dbeafe !important;
    white-space: nowrap !important;
  }

  .nav-dropdown-content a:hover {
    color: #ffffff !important;
    background: rgba(59, 130, 246, 0.16) !important;
  }
}


/* ==========================================================
   AUBERT AI - Titres de sections internes plus sobres
   ========================================================== */

.page-section .section-title,
.page-section h2,
main section h2,
.section-title {
  font-size: clamp(26px, 2.4vw, 32px) !important;
  line-height: 1.22 !important;
  letter-spacing: -0.018em !important;
  font-weight: 800 !important;
  margin-top: 0 !important;
  margin-bottom: 18px !important;
  max-width: 980px !important;
}

/* Texte d'introduction sous les titres de section */
.page-section .section-intro,
.page-section > .container > p,
main section > .container > p {
  font-size: clamp(16px, 1.25vw, 18px) !important;
  line-height: 1.65 !important;
  color: #cbd5e1 !important;
  max-width: 980px !important;
}

/* Cas Références : titre long sur une ligne mais moins massif */
@media (min-width: 1180px) {
  .page-references .references-grid-section h2 {
    font-size: 32px !important;
    white-space: nowrap !important;
    max-width: 1240px !important;
  }
}

@media (max-width: 768px) {
  .page-section .section-title,
  .page-section h2,
  main section h2,
  .section-title {
    font-size: 26px !important;
    line-height: 1.22 !important;
  }
}


/* ==========================================================
   AUBERT AI - Menu desktop équilibré après retrait Références
   ========================================================== */

@media (min-width: 901px) {
  .nav {
    justify-content: flex-start !important;
    gap: 36px !important;
  }

  .logo {
    margin-right: 22px !important;
  }

  .nav-links {
    position: static !important;
    transform: none !important;
    margin-left: 0 !important;
    justify-content: flex-start !important;
    width: auto !important;
    max-width: none !important;
  }
}

@media (min-width: 1280px) {
  .nav {
    gap: 42px !important;
  }

  .logo {
    margin-right: 28px !important;
  }
}

/* Sous-titre fixe du bandeau expérience */
.aubert-experience-subline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 8px auto 18px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.16);
  color: #e8f1ff;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.01em;
  border: 1px solid rgba(59, 130, 246, 0.28);
}

/* Espacement bandeau expérience avant footer */
.aubert-experience-strip {
  display: block;
  clear: both;
  margin-top: 110px !important;
  padding-top: 36px !important;
}

/* Sécurité sur les pages longues avec cartes juste avant le bandeau */
.cv-detail-section + .aubert-experience-strip,
.home-grid-section + .aubert-experience-strip,
.page-section + .aubert-experience-strip,
.detail-card + .aubert-experience-strip,
.trust-card + .aubert-experience-strip {
  margin-top: 120px !important;
}

/* Sur les pages CV, on garde davantage d'air avant le bandeau */
body:has(.cv-detail-section) .aubert-experience-strip,
body:has(.cv-detail-panel) .aubert-experience-strip {
  margin-top: 130px !important;
}


/* Ajustement final bandeau expérience : espace réduit */
.aubert-experience-strip {
  margin-top: 48px !important;
  padding-top: 18px !important;
}

.cv-detail-section + .aubert-experience-strip,
.home-grid-section + .aubert-experience-strip,
.page-section + .aubert-experience-strip,
.detail-card + .aubert-experience-strip,
.trust-card + .aubert-experience-strip {
  margin-top: 56px !important;
}

body:has(.cv-detail-section) .aubert-experience-strip,
body:has(.cv-detail-panel) .aubert-experience-strip {
  margin-top: 56px !important;
}


/* Ajustement bandeau expérience : remontée légère */
.aubert-experience-strip {
  margin-top: 32px !important;
  padding-top: 12px !important;
}

.cv-detail-section + .aubert-experience-strip,
.home-grid-section + .aubert-experience-strip,
.page-section + .aubert-experience-strip,
.detail-card + .aubert-experience-strip,
.trust-card + .aubert-experience-strip {
  margin-top: 36px !important;
}

body:has(.cv-detail-section) .aubert-experience-strip,
body:has(.cv-detail-panel) .aubert-experience-strip {
  margin-top: 36px !important;
}


/* Bandeau expérience : défilement ralenti */
.aubert-experience-track {
  animation-duration: 120s !important;
}

