/* A2TEC V118 — corrections ciblées de l'accueil uniquement.
   Aucun changement du header/menu global ni des autres pages. */

/* Bandeau multi-constructeurs : le halo décoratif ne doit jamais intercepter le clic. */
.technology-note::after{pointer-events:none !important;}
.technology-note > *{position:relative;z-index:1;}

/* Boutons de section : ils utilisent réellement le composant .header-cta du menu.
   Aucun design n’est redéfini ici : uniquement le layout que le CTA reçoit dans le header. */
.section-header-cta{
  flex:0 0 auto !important;
  white-space:nowrap !important;
  min-width:max-content !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  align-self:center !important;
  height:auto !important;
  min-height:0 !important;
  padding:13px 17px !important;
  line-height:1 !important;
  border-radius:999px !important;
}
.section-header-cta span{margin-left:10px !important;}

.news-cta-wrap{
  flex:0 0 auto !important;
  align-self:center !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  height:auto !important;
}
.news-cta-wrap .news-section-link{
  align-self:auto !important;
  height:auto !important;
  min-height:0 !important;
  padding:12px 15px !important;
  font-size:10.5px !important;
  line-height:1 !important;
}
@media(max-width:1500px){
  .section-header-cta{padding:12px 15px !important;font-size:10.5px !important;}
}
@media(max-width:560px){
  .news .section-heading{display:flex !important;flex-direction:column;align-items:flex-start;gap:14px;}
  .news-cta-wrap{align-self:flex-start !important;justify-content:flex-start !important;}
  .news .news-section-link,.cms-home-featured .news-section-link{align-self:auto !important;}
}

.contact{scroll-margin-top:118px;}

/* Actualités A2TEC : le fond reste pleine largeur, le contenu est réellement centré. */
.linkedin-static-home{max-width:none !important;width:100% !important;}
.linkedin-static-home > .section-heading,
.linkedin-static-home > .linkedin-home-static-grid,
.linkedin-static-home > .linkedin-archive-cta{
  width:100%;
  max-width:1500px !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

/* Références industrielles : grille enrichie et cluster ExxonMobil / Esso / Mobil 1. */
.v23-logo-wall .v23-grid-ref.v23-grid-ref-expanded{grid-template-columns:repeat(4,1fr) !important;align-items:stretch;}
.v23-grid-ref-expanded .partner-logo-card{min-height:116px;}
.v23-grid-ref-expanded img[src*="totalenergies-reference"]{max-height:72px !important;max-width:92% !important;}
.v23-grid-ref-expanded img[src*="lat-nitrogen-reference"]{max-height:44px !important;max-width:86% !important;}
.v23-grid-ref-expanded img[src*="kuhlmann-europe-reference"]{max-height:64px !important;max-width:86% !important;}
.v23-grid-ref-expanded img[src*="cempa-reference"]{max-height:52px !important;max-width:88% !important;}

.v23-logo-cluster{
  grid-column:span 2;
  min-height:184px !important;
  padding:18px 20px !important;
}
.v23-logo-cluster-logos{
  width:100%;
  display:flex;
  flex-direction:column;
  gap:16px;
  align-items:center;
  justify-content:center;
}
.v23-logo-cluster .is-exxon{
  max-width:84% !important;
  max-height:44px !important;
  width:auto;height:auto;object-fit:contain;
}
.v23-logo-subrow{
  width:100%;
  display:grid;
  grid-template-columns:1fr 1.15fr;
  gap:14px;
  align-items:center;
}
.v23-logo-subrow img{
  display:block;
  width:auto;
  height:auto;
  margin:0 auto;
  object-fit:contain;
}
.v23-logo-subrow .is-esso{
  max-width:92% !important;
  max-height:64px !important;
}
.v23-logo-subrow .is-mobil1{
  max-width:96% !important;
  max-height:70px !important;
  padding:8px 10px;
  background:#fff;
  border-radius:14px;
  box-shadow:inset 0 0 0 1px rgba(13,54,96,.06);
}

@media(max-width:1100px){
  .v23-logo-wall .v23-grid-ref.v23-grid-ref-expanded{grid-template-columns:repeat(3,1fr) !important;}
  .v23-logo-cluster{grid-column:span 2;}
}
@media(max-width:760px){
  .v23-logo-wall .v23-grid-ref.v23-grid-ref-expanded{grid-template-columns:repeat(2,1fr) !important;}
  .v23-logo-cluster{grid-column:span 2;min-height:170px !important;}
  .v23-logo-subrow{gap:12px;}
  .v23-logo-subrow .is-mobil1{max-height:64px !important;}
}
@media(max-width:560px){
  .news .section-heading{display:flex !important;flex-direction:column;align-items:flex-start;gap:14px;}
  .v23-logo-wall .v23-grid-ref.v23-grid-ref-expanded{grid-template-columns:1fr !important;}
  .v23-logo-cluster{grid-column:span 1;}
  .v23-logo-subrow{grid-template-columns:1fr;}
  .v23-logo-subrow .is-esso{max-height:58px !important;}
  .v23-logo-subrow .is-mobil1{max-height:70px !important;max-width:88% !important;}
}

/* A2TEC V125 — GIF illustratif dans la section Pourquoi A2TEC */
.why-image{
  display:grid !important;
  place-items:center !important;
  padding:40px 30px !important;
}
.why-gif-frame{
  width:min(92%, 720px);
  background:rgba(255,255,255,.88);
  border:1px solid rgba(122,196,229,.28);
  border-radius:24px;
  padding:16px;
  box-shadow:0 28px 70px rgba(4,25,42,.22);
  backdrop-filter:blur(8px);
}
.why-gif{
  display:block;
  width:100%;
  height:auto;
  border-radius:16px;
  background:#eef6fb;
}
@media (max-width:1100px){
  .why-gif-frame{width:min(94%,760px);}
}
@media (max-width:760px){
  .why-image{padding:18px 14px !important;}
  .why-gif-frame{width:100%;padding:10px;border-radius:18px;}
  .why-gif{border-radius:12px;}
}

/* A2TEC V126 — déplacer le GIF vers la section Brochure */
.brochure-gif-preview{
  padding:22px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:320px !important;
  background:linear-gradient(160deg,rgba(255,255,255,.98),rgba(235,247,252,.96)) !important;
}
.brochure-gif-preview::before{
  content:"BROCHURE" !important;
}
.brochure-gif{
  display:block;
  width:100%;
  max-width:620px;
  height:auto;
  margin:34px auto 36px;
  border-radius:18px;
  background:#eef6fb;
  box-shadow:0 18px 44px rgba(13,45,73,.10);
}
.brochure-gif-preview .brochure-open{
  position:absolute;
  left:24px;
  right:24px;
  bottom:20px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:10px 16px;
  border-radius:999px;
  background:rgba(255,255,255,.92);
  border:1px solid rgba(22,108,171,.12);
  box-shadow:0 10px 30px rgba(13,45,73,.10);
}
@media(max-width:900px){
  .brochure-gif-preview{min-height:280px !important;}
  .brochure-gif{margin:32px auto 34px;}
}
@media(max-width:620px){
  .brochure-gif-preview{padding:14px !important;min-height:250px !important;}
  .brochure-gif{margin:28px auto 44px;border-radius:14px;}
  .brochure-gif-preview .brochure-open{left:14px;right:14px;bottom:14px;}
}

/* A2TEC V128 — ordre des références industrielles */
.v23-grid-ref-expanded img[src*="north-atlantic-reference"]{max-height:72px !important;max-width:88% !important;}


/* A2TEC V131 — nouvelle photo dans la section Pourquoi A2TEC */
.why-image{
  background-image:linear-gradient(135deg,rgba(4,26,44,.14),rgba(4,26,44,.42)),url('assets/premium/why-a2tec-team-v131.webp') !important;
  background-size:cover !important;
  background-position:center 34% !important;
  background-repeat:no-repeat !important;
}
.why-image .console{display:none !important;}
@media(max-width:1100px){
  .why-image{background-position:center 26% !important;}
}
@media(max-width:760px){
  .why-image{background-position:center 22% !important;min-height:390px !important;}
}


/* A2TEC V132 — afficher toute la photo de l'équipe sans recadrage */
.why-image-team{
  background:#071e35 !important;
  background-image:none !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:18px !important;
  overflow:hidden !important;
}
.why-team-photo{
  display:block;
  width:100%;
  height:100%;
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  object-position:center center;
  border-radius:22px;
}
@media(max-width:1100px){
  .why-image-team{min-height:420px !important;}
  .why-team-photo{height:auto;max-height:none;}
}
@media(max-width:760px){
  .why-image-team{min-height:auto !important;padding:10px !important;}
  .why-team-photo{width:100%;height:auto;max-height:none;border-radius:18px;}
}

/* A2TEC V135 — garder Contrôle-Commande sur une seule ligne dans le header */
.brandline .nowrap-control{white-space:nowrap;}
