
/* CIMYCO V2.7 — Premium Hero + Expertise Cards
   Layered on the repaired V2.6.3 base. No other homepage sections are removed. */

.home-v27{
  --v27-blue:#238dff;
  --v27-blue2:#57b2ff;
  --v27-night:#020f20;
  --v27-navy:#05172d;
  background:#020f20;
}

.home-v27 .site-header{
  background:rgba(2,15,32,.94);
  backdrop-filter:blur(18px);
  border-bottom:1px solid rgba(109,170,230,.11);
}

/* HERO */
.hero-v27{
  min-height:860px;
  position:relative;
  overflow:hidden;
  padding:98px max(5vw,70px) 40px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  background:#020f20;
  isolation:isolate;
}

.hero-v27-media{
  position:absolute;
  top:0;
  bottom:0;
  width:48%;
  background-repeat:no-repeat;
  background-size:cover;
  z-index:-4;
}

.hero-v27-industrial{
  left:0;
  background-image:
    linear-gradient(90deg,rgba(2,15,32,.05),rgba(2,15,32,.42) 72%,rgba(2,15,32,.98)),
    url('/assets/hero-industrial.webp');
  background-position:center center;
}

.hero-v27-digital{
  right:0;
  background-image:
    linear-gradient(270deg,rgba(2,15,32,.05),rgba(2,15,32,.34) 72%,rgba(2,15,32,.98)),
    url('/assets/hero-digital.webp');
  background-position:center center;
}

.hero-v27-overlay{
  position:absolute;
  inset:0;
  z-index:-3;
  background:
    linear-gradient(90deg,transparent 0 24%,rgba(2,15,32,.54) 36%,rgba(2,15,32,.92) 46% 56%,rgba(2,15,32,.55) 67%,transparent 80%),
    linear-gradient(180deg,rgba(2,15,32,.08),rgba(2,15,32,.18) 68%,#020f20 98%);
}

.hero-v27-copy{
  width:min(700px,48vw);
  margin:0 auto;
  position:relative;
  z-index:2;
}

.hero-v27 .eyebrow{
  color:#38a1ff;
  letter-spacing:.17em;
}

.hero-v27 h1{
  font-size:clamp(58px,5.4vw,94px);
  line-height:.94;
  letter-spacing:-.055em;
  margin:18px 0 28px;
  color:#fff;
}
.hero-v27 h1 em{
  font-style:normal;
  color:#f5f8fc;
}
.hero-v27 h1 em::after{
  content:"";
  display:inline-block;
  width:9px;
  height:9px;
  background:#258eff;
  border-radius:50%;
  margin-left:5px;
  box-shadow:0 0 20px rgba(37,142,255,.65);
}

.hero-v27 .lead{
  color:#c0cedc;
  max-width:670px;
  line-height:1.72;
  font-size:17px;
}

.hero-v27 .actions{
  margin-top:32px;
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}
.hero-v27 .btn,
.hero-secondary{
  min-height:52px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:18px;
  padding:0 22px;
  font-size:11px;
  letter-spacing:.07em;
  font-weight:900;
}
.hero-secondary{
  border:1px solid #6d8298;
  color:#fff;
  background:rgba(3,18,36,.58);
}
.hero-secondary:hover{
  border-color:#5db1ff;
  background:rgba(9,37,67,.82);
}

.hero-v27-capabilities{
  width:min(1180px,90vw);
  margin:58px auto 0;
  display:grid;
  grid-template-columns:1fr auto 1fr auto 1fr auto 1fr auto 1fr auto 1fr;
  align-items:center;
  gap:10px;
  position:relative;
  z-index:2;
}
.hero-v27-capabilities article{
  display:grid;
  place-items:center;
  text-align:center;
  gap:7px;
}
.cap-icon{
  width:62px;height:62px;
  border:1px solid #4995dd;
  clip-path:polygon(25% 6%,75% 6%,100% 50%,75% 94%,25% 94%,0 50%);
  display:grid;
  place-items:center;
  font-size:24px;
  color:#59b1ff;
  background:#061a31;
  box-shadow:inset 0 0 20px rgba(26,117,205,.08);
}
.hero-v27-capabilities b{
  font-size:10px;
  color:#58b1ff;
  letter-spacing:.08em;
}
.hero-v27-capabilities small{
  color:#c2d0de;
  font-size:10px;
}
.hero-v27-capabilities>i{
  font-style:normal;
  color:#4c89bd;
}

/* EXPERTISE SECTION POLISH */
.home-v27 .expertise-section{
  background:
    radial-gradient(circle at 50% 0,rgba(29,121,215,.10),transparent 30%),
    #031225;
  color:#fff;
}
.home-v27 .expertise-section .section-head h2,
.home-v27 .expertise-section .section-head p{
  color:inherit;
}
.home-v27 .expertise-section .section-head>p:last-child{
  color:#aabed1;
}
.home-v27 .pillars{
  gap:10px;
}
.home-v27 .pillar-v27{
  background:linear-gradient(145deg,#071c35,#06172d);
  border:1px solid #284c6d;
  padding:28px 28px 26px;
  min-height:315px;
  transition:transform .22s,border-color .22s,box-shadow .22s;
}
.home-v27 .pillar-v27:hover{
  transform:translateY(-5px);
  border-color:#4a9ce8;
  box-shadow:0 22px 60px rgba(0,0,0,.18);
}
.pillar-v27-icon{
  width:68px;height:68px;
  clip-path:polygon(25% 6%,75% 6%,100% 50%,75% 94%,25% 94%,0 50%);
  border:1px solid #2e8ce6;
  background:#071f3c;
  display:grid;
  place-items:center;
  margin-bottom:24px;
}
.pillar-v27-icon svg{
  width:34px;height:34px;
  fill:none;
  stroke:#2d94ff;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.home-v27 .pillar-v27 .pillar-kicker{
  color:#f4f7fb;
  font-size:18px;
  line-height:1.15;
  margin:0 0 16px;
  letter-spacing:0;
}
.home-v27 .pillar-v27 h3{
  display:none;
}
.home-v27 .pillar-v27>p:not(.pillar-kicker){
  color:#c0cfde;
  font-size:14px;
  line-height:1.65;
}
.home-v27 .pillar-v27>a{
  margin-top:auto;
  color:#2d97ff;
  letter-spacing:.07em;
  font-size:11px;
  font-weight:900;
}

/* Keep everything else from V2.6.3 intact */
.home-v27 .v262-bridge{display:none!important}

@media(max-width:1100px){
  .hero-v27{min-height:900px;padding-top:120px}
  .hero-v27-copy{width:min(760px,70vw)}
  .hero-v27-media{width:55%;opacity:.78}
  .hero-v27-capabilities{grid-template-columns:repeat(6,1fr);gap:18px}
  .hero-v27-capabilities>i{display:none}
}
@media(max-width:760px){
  .hero-v27{
    min-height:980px;
    padding:115px 24px 50px;
    justify-content:flex-start;
  }
  .hero-v27-media{width:100%;height:50%;bottom:auto;opacity:.52}
  .hero-v27-industrial{clip-path:polygon(0 0,70% 0,38% 100%,0 100%)}
  .hero-v27-digital{clip-path:polygon(68% 0,100% 0,100% 100%,38% 100%)}
  .hero-v27-overlay{
    background:linear-gradient(180deg,rgba(2,15,32,.38),#020f20 47%,#020f20);
  }
  .hero-v27-copy{
    width:100%;
    margin-top:250px;
  }
  .hero-v27 h1{font-size:47px}
  .hero-v27 .lead{font-size:15px}
  .hero-v27-capabilities{
    width:100%;
    grid-template-columns:repeat(2,1fr);
    margin-top:42px;
    gap:22px 12px;
  }
  .cap-icon{width:52px;height:52px}
  .home-v27 .pillar-v27{min-height:auto}
}
@media(prefers-reduced-motion:reduce){
  .home-v27 .pillar-v27{transition:none}
}


/* CIMYCO V2.7.1 — Contraste section "Pourquoi CIMYCO" */
.home-v27 .identity-section{
  background:
    radial-gradient(circle at 78% 30%, rgba(38,132,224,.10), transparent 30%),
    linear-gradient(120deg,#031225,#06192f 62%,#071d38);
  color:#fff;
  position:relative;
  overflow:hidden;
}

.home-v27 .identity-section::after{
  content:"";
  position:absolute;
  width:520px;
  height:520px;
  border-radius:50%;
  right:-250px;
  bottom:-310px;
  border:1px solid rgba(75,157,235,.10);
  box-shadow:
    0 0 0 70px rgba(75,157,235,.025),
    0 0 0 140px rgba(75,157,235,.018);
  pointer-events:none;
}

.home-v27 .identity-copy,
.home-v27 .identity-body{
  position:relative;
  z-index:1;
}

.home-v27 .identity-copy .eyebrow{
  color:#58aaff;
}

.home-v27 .identity-copy h2{
  color:#f7f9fc;
}

.home-v27 .identity-copy h2 br:last-of-type + *{
  color:#fff;
}

.home-v27 .identity-body .big{
  color:#f2f6fb;
}

.home-v27 .identity-body .big strong{
  color:#4ea6ff;
}

.home-v27 .identity-body>p:not(.big){
  color:#aebfd1;
}

.home-v27 .values{
  gap:12px;
}

.home-v27 .values span{
  color:#e9f1f9;
  border-color:#456684;
  background:rgba(8,31,57,.72);
  padding:14px 18px;
  transition:border-color .2s ease, background .2s ease, transform .2s ease;
}

.home-v27 .values span:hover{
  color:#fff;
  border-color:#55aaff;
  background:#0a2747;
  transform:translateY(-2px);
}

@media(max-width:700px){
  .home-v27 .identity-section::after{display:none}
  .home-v27 .values span{width:100%}
}
