
/* HeberPage Cloud Maroc sections */
.hp-cloud{
  --cloud-bg:#fff;
  --cloud-accent:#22c55e;
  --cloud-text:#071b47;
  --cloud-title:#071b47;
  background:var(--cloud-bg);
  color:var(--cloud-text);
  padding:72px 20px;
}
.hp-cloud *{box-sizing:border-box}
.hp-cloud-container{width:min(1240px,100%);margin:0 auto}
.hp-cloud-heading{max-width:760px;margin-bottom:34px}
.hp-cloud-heading.centered{margin-left:auto;margin-right:auto;text-align:center}
.hp-cloud-eyebrow{
  display:inline-block;
  margin-bottom:10px;
  color:var(--cloud-accent);
  font-size:13px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.hp-cloud h2,.hp-cloud h3{color:var(--cloud-title);margin:0}
.hp-cloud h2{font-size:clamp(30px,4vw,48px);line-height:1.08;letter-spacing:-.03em}
.hp-cloud h3{font-size:20px;line-height:1.25}
.hp-cloud p,.hp-cloud-rich{color:var(--cloud-text);line-height:1.7}
.hp-cloud-rich{margin-top:18px;font-size:16px}
.hp-cloud img{max-width:100%;display:block}
.hp-cloud-icon,.hp-cloud-system-icon{
  display:grid;
  place-items:center;
  width:58px;
  height:58px;
  border-radius:50%;
  background:color-mix(in srgb,var(--cloud-accent) 12%,white);
}
.hp-cloud-icon img,.hp-cloud-system-icon img{width:30px;height:30px;object-fit:contain}

/* Benefits */
.hp-cloud-benefits{
  background:
    radial-gradient(circle at 12% 0%,rgba(34,191,234,.08),transparent 27%),
    linear-gradient(180deg,var(--cloud-bg) 0%,#fff 100%);
}
.hp-cloud-benefits-heading{max-width:900px;margin-bottom:42px}
.hp-cloud-benefits-heading h2{max-width:100%;font-size:clamp(34px,4.2vw,56px)}
.hp-cloud-benefits-heading .hp-cloud-rich{max-width:780px;margin:18px auto 0;color:#52627a;font-size:17px;line-height:1.75}
.hp-cloud-benefit-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.hp-cloud-benefit-card{
  min-height:260px;display:grid;grid-template-columns:82px minmax(0,1fr);gap:20px;align-items:start;
  padding:30px;border:1px solid rgba(34,191,234,.22);border-radius:20px;background:#fff;
  box-shadow:0 14px 36px rgba(7,27,71,.07);transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease
}
.hp-cloud-benefit-card:hover{transform:translateY(-3px);border-color:rgba(34,191,234,.5);box-shadow:0 18px 44px rgba(7,27,71,.1)}
.hp-cloud-benefits .hp-cloud-icon{width:72px;height:72px;border-radius:50%;background:linear-gradient(145deg,#e8f9fe,#f4fbff);border:1px solid rgba(34,191,234,.16)}
.hp-cloud-benefits .hp-cloud-icon img{width:38px;height:38px}
.hp-cloud-benefit-copy{min-width:0}
.hp-cloud-benefit-card h3{margin:1px 0 0;font-size:22px;letter-spacing:-.02em}
.hp-cloud-benefit-rule{display:block;width:28px;height:2px;margin:12px 0 14px;border-radius:999px;background:var(--cloud-accent)}
.hp-cloud-benefit-card p{margin:0;font-size:15px;color:#52627a;line-height:1.7}
.hp-cloud-benefit-badge{display:inline-flex;align-items:center;gap:7px;margin-top:20px;padding:8px 11px;border-radius:10px;background:color-mix(in srgb,var(--cloud-accent) 10%,white);color:#087ba2;font-size:12px;font-weight:800}
.hp-cloud-benefit-badge b{display:grid;place-items:center;width:16px;height:16px;border-radius:50%;background:var(--cloud-accent);color:#fff;font-size:10px}
.hp-cloud-benefits-summary{
  margin-top:22px;display:grid;grid-template-columns:110px minmax(280px,1fr) minmax(420px,.9fr);gap:26px;align-items:center;
  padding:30px 34px;border-radius:22px;background:linear-gradient(110deg,#061b44 0%,#071b47 62%,#06345c 100%);
  color:#fff;box-shadow:0 18px 44px rgba(7,27,71,.14)
}
.hp-cloud-benefits-summary-mark{display:grid;place-items:center;width:88px;height:88px;border-radius:24px;background:rgba(34,191,234,.11);border:1px solid rgba(34,191,234,.28)}
.hp-cloud-benefits-summary-mark span{font-size:46px;color:var(--cloud-accent);line-height:1}
.hp-cloud-benefits-summary-copy h3{color:#fff;font-size:24px;letter-spacing:-.02em}
.hp-cloud-benefits-summary-copy p{margin:8px 0 0;color:#cbd8ed;font-size:14px;line-height:1.65}
.hp-cloud-benefits-summary-btn{display:inline-flex;align-items:center;gap:14px;margin-top:16px;padding:11px 15px;border:1px solid var(--cloud-accent);border-radius:10px;color:#fff;text-decoration:none;font-size:13px;font-weight:800}
.hp-cloud-benefits-summary-btn span{color:var(--cloud-accent);font-size:18px}
.hp-cloud-benefits-mini-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:0;align-items:stretch}
.hp-cloud-benefits-mini{min-height:92px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;padding:10px 13px;border-left:1px solid rgba(34,191,234,.28);text-align:center}
.hp-cloud-benefits-mini:first-child{border-left:0}
.hp-cloud-benefits-mini span{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:rgba(34,191,234,.11);color:var(--cloud-accent);font-size:18px;font-weight:900}
.hp-cloud-benefits-mini b{color:#fff;font-size:13px}

/* Infrastructure */
.hp-cloud-split{
  display:grid;
  grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);
  gap:30px;
  align-items:stretch;
}
.hp-cloud-infrastructure .hp-cloud-copy{
  padding:54px;
  border:1px solid #e5ebf3;
  border-radius:22px;
  background:#fff;
}
.hp-cloud-visual{
  min-height:500px;
  overflow:hidden;
  border-radius:22px;
  background:#061b44;
}
.hp-cloud-visual img{width:100%;height:100%;object-fit:cover}
.hp-cloud-checks{list-style:none;padding:0;margin:26px 0 0;display:grid;gap:13px}
.hp-cloud-checks li{display:flex;align-items:flex-start;gap:11px;line-height:1.5}
.hp-cloud-checks li span{
  flex:0 0 22px;
  display:grid;
  place-items:center;
  width:22px;height:22px;border-radius:50%;
  background:var(--cloud-accent);color:#fff;font-size:12px;font-weight:800
}

/* Sovereignty */
.hp-cloud-sovereignty{padding-top:18px;padding-bottom:18px}
.hp-cloud-sovereignty-card{
  min-height:360px;
  position:relative;
  overflow:hidden;
  display:grid;
  grid-template-columns:1fr .9fr;
  gap:28px;
  align-items:center;
  padding:54px;
  border-radius:24px;
  background:var(--cloud-bg);
  color:var(--cloud-text);
}
.hp-cloud-sovereignty .hp-cloud-rich,.hp-cloud-sovereignty h2{color:var(--cloud-text)}
.hp-cloud-badges{display:flex;flex-wrap:wrap;gap:10px;margin-top:26px}
.hp-cloud-badges span{
  padding:9px 13px;border:1px solid rgba(255,255,255,.18);border-radius:999px;
  background:rgba(255,255,255,.06);font-size:13px
}
.hp-cloud-sovereignty-image{height:300px;display:grid;place-items:center}
.hp-cloud-sovereignty-image img{max-height:100%;object-fit:contain}

/* Systems + use cases */
.hp-cloud-systems,.hp-cloud-usecases{padding-top:58px;padding-bottom:58px}
.hp-cloud-system-grid{
  display:grid;
  grid-template-columns:repeat(10,minmax(0,1fr));
  gap:12px;
}
.hp-cloud-system-card,.hp-cloud-usecase-card{
  min-height:120px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:12px;
  padding:18px 12px;
  border:1px solid #e3eaf3;
  border-radius:16px;
  background:#fff;
  text-align:center;
  box-shadow:0 10px 28px rgba(7,27,71,.045);
}
.hp-cloud-system-card b,.hp-cloud-usecase-card b{font-size:13px;color:#071b47}
.hp-cloud-usecase-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:12px}
.hp-cloud-usecase-card{min-height:112px}
.hp-cloud-center-link{text-align:center;margin-top:26px}
.hp-cloud-center-link a{color:#071b47;font-weight:750;text-decoration:none}

/* Security */
.hp-cloud-security{padding-top:18px;padding-bottom:18px}
.hp-cloud-security-card{
  display:grid;grid-template-columns:1fr .75fr;gap:30px;align-items:center;
  padding:52px;border-radius:24px;background:var(--cloud-bg);overflow:hidden
}
.hp-cloud-security h2,.hp-cloud-security .hp-cloud-rich,.hp-cloud-security .hp-cloud-checks{color:var(--cloud-text)}
.hp-cloud-security-image{height:330px;display:grid;place-items:center}
.hp-cloud-security-image img{max-height:100%;object-fit:contain}

/* Scalability */
.hp-cloud-scale-card{
  display:grid;grid-template-columns:.8fr 1.2fr;gap:54px;align-items:center;
  padding:48px;border:1px solid #e3eaf3;border-radius:22px;background:#fff
}
.hp-cloud-scale-list{display:grid;gap:10px}
.hp-cloud-scale-row{
  position:relative;display:grid;grid-template-columns:1fr auto;gap:18px;align-items:center;
  padding:14px 16px;border-radius:13px;background:#f6f9fc;overflow:hidden
}
.hp-cloud-scale-row span,.hp-cloud-scale-row b{position:relative;z-index:2}
.hp-cloud-scale-row i{
  position:absolute;left:0;bottom:0;height:4px;width:var(--level,55%);
  background:#dce5ef
}
.hp-cloud-scale-row:nth-child(1) i{width:22%}
.hp-cloud-scale-row:nth-child(2) i{width:38%}
.hp-cloud-scale-row:nth-child(3) i{width:58%}
.hp-cloud-scale-row:nth-child(4) i{width:78%}
.hp-cloud-scale-row:nth-child(5) i{width:100%}
.hp-cloud-scale-row.is-highlighted{background:color-mix(in srgb,var(--cloud-accent) 13%,white)}
.hp-cloud-scale-row.is-highlighted i{background:var(--cloud-accent)}

/* FAQ */
.hp-cloud-faq-grid{display:grid;grid-template-columns:.75fr 1.25fr;gap:54px;align-items:start}
.hp-cloud-faq-list{display:grid;gap:12px}
.hp-cloud-faq-item{
  border:1px solid #e3eaf3;border-radius:14px;background:#fff;overflow:hidden
}
.hp-cloud-faq-item summary{
  list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;
  gap:18px;padding:19px 20px;font-weight:750;color:#071b47
}
.hp-cloud-faq-item summary::-webkit-details-marker{display:none}
.hp-cloud-faq-item summary span{font-size:24px;color:var(--cloud-accent);transition:transform .2s ease}
.hp-cloud-faq-item[open] summary span{transform:rotate(45deg)}
.hp-cloud-faq-item div{padding:0 20px 20px;color:#52627a;line-height:1.65}

/* CTA */
.hp-cloud-cta{padding-top:22px;padding-bottom:22px}
.hp-cloud-cta-card{
  display:flex;align-items:center;justify-content:space-between;gap:40px;
  padding:42px 48px;border-radius:24px;background:var(--cloud-bg)
}
.hp-cloud-cta h2,.hp-cloud-cta .hp-cloud-rich{color:var(--cloud-text)}
.hp-cloud-cta .hp-cloud-rich{max-width:680px}
.hp-cloud-cta-actions{display:flex;gap:12px;flex-wrap:wrap;justify-content:flex-end}
.hp-cloud-btn{
  display:inline-flex;align-items:center;justify-content:center;min-height:50px;
  padding:0 22px;border-radius:12px;font-weight:800;text-decoration:none;white-space:nowrap
}
.hp-cloud-btn.primary{background:var(--cloud-accent);color:#061b44}
.hp-cloud-btn.secondary{border:1px solid rgba(255,255,255,.4);color:var(--cloud-text);background:transparent}

/* Responsive */
@media(max-width:1180px){
  .hp-cloud-benefit-grid{grid-template-columns:repeat(2,1fr)}
  .hp-cloud-benefits-summary{grid-template-columns:90px 1fr}
  .hp-cloud-benefits-mini-grid{grid-column:1/-1}
  .hp-cloud-system-grid{grid-template-columns:repeat(5,1fr)}
  .hp-cloud-usecase-grid{grid-template-columns:repeat(4,1fr)}
}
@media(max-width:820px){
  .hp-cloud{padding:54px 18px}
  .hp-cloud-split,.hp-cloud-sovereignty-card,.hp-cloud-security-card,
  .hp-cloud-scale-card,.hp-cloud-faq-grid{grid-template-columns:1fr}
  .hp-cloud-infrastructure .hp-cloud-copy,.hp-cloud-sovereignty-card,
  .hp-cloud-security-card,.hp-cloud-scale-card{padding:32px 24px}
  .hp-cloud-visual{min-height:340px}
  .hp-cloud-sovereignty-image,.hp-cloud-security-image{height:240px}
  .hp-cloud-cta-card{align-items:flex-start;flex-direction:column;padding:34px 24px}
  .hp-cloud-cta-actions{justify-content:flex-start}
}
@media(max-width:600px){
  .hp-cloud-benefit-grid{grid-template-columns:1fr}
  .hp-cloud-benefit-card{grid-template-columns:68px 1fr;padding:24px}
  .hp-cloud-benefits .hp-cloud-icon{width:60px;height:60px}
  .hp-cloud-benefits .hp-cloud-icon img{width:32px;height:32px}
  .hp-cloud-benefits-summary{grid-template-columns:1fr;padding:26px 22px}
  .hp-cloud-benefits-summary-mark{display:none}
  .hp-cloud-benefits-mini-grid{grid-template-columns:repeat(2,1fr)}
  .hp-cloud-benefits-mini:nth-child(3){border-left:0}
  .hp-cloud-system-grid{grid-template-columns:repeat(2,1fr)}
  .hp-cloud-usecase-grid{grid-template-columns:repeat(2,1fr)}
  .hp-cloud h2{font-size:32px}
  .hp-cloud-benefit-card{min-height:auto}
  .hp-cloud-system-card,.hp-cloud-usecase-card{min-height:104px}
}


/* =========================================================
   HEBERPAGE CLOUD MAROC — SYSTEMES & LOGICIELS V2
   Catalogue 3 colonnes inspiré des interfaces cloud premium
   ========================================================= */
.hp-cloud-systems-v2{
  background:#fff;
  padding:72px 0 78px;
}
.hp-cloud-systems-v2 .hp-cloud-container{
  width:min(1500px,calc(100% - 48px));
}
.hp-cloud-systems-heading{
  max-width:860px;
  margin:0 0 44px;
  text-align:left;
}
.hp-cloud-systems-heading h2,
.hp-cloud-systems-heading h3{
  max-width:820px;
  margin:0;
  color:#071B47;
  font-size:clamp(38px,4.1vw,64px);
  line-height:1.02;
  letter-spacing:-.045em;
}
.hp-cloud-systems-heading .hp-cloud-rich{
  max-width:760px;
  margin-top:18px;
  color:#5D6D86;
}
.hp-cloud-system-grid-v2{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px 16px;
}
.hp-cloud-system-card-v2{
  min-width:0;
  min-height:96px;
  display:flex;
  align-items:center;
  gap:18px;
  padding:17px 22px;
  border:1px solid #E1E8F0;
  border-radius:16px;
  background:#fff;
  box-shadow:none;
  transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease;
}
.hp-cloud-system-card-v2:hover{
  transform:translateY(-1px);
  border-color:#8EDCEA;
  box-shadow:0 10px 28px rgba(7,27,71,.07);
}
.hp-cloud-system-logo{
  width:58px;
  height:58px;
  flex:0 0 58px;
  display:grid;
  place-items:center;
}
.hp-cloud-system-logo img{
  width:100%;
  height:100%;
  object-fit:contain;
}
.hp-cloud-system-logo>span{
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  border-radius:12px;
  background:#EFF8FC;
  color:#22BFEA;
  font-size:24px;
}
.hp-cloud-system-content{
  min-width:0;
  flex:1;
}
.hp-cloud-system-content>b{
  display:block;
  margin:0;
  color:#071B47;
  font-size:20px;
  line-height:1.2;
  font-weight:750;
}
.hp-cloud-version-list{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:8px;
}
.hp-cloud-version-list span{
  display:inline-flex;
  align-items:center;
  min-height:29px;
  padding:4px 11px;
  border-radius:8px;
  background:#F0F4F8;
  color:#65758C;
  font-size:14px;
  line-height:1;
  white-space:nowrap;
}
.hp-cloud-systems-link{
  margin-top:28px;
  text-align:center;
}
.hp-cloud-systems-link a{
  color:#0061D4;
  font-weight:700;
  text-decoration:none;
}
.hp-cloud-systems-link a:hover{text-decoration:underline}
@media(max-width:1100px){
  .hp-cloud-system-grid-v2{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
  .hp-cloud-systems-v2{padding:52px 0 58px}
  .hp-cloud-systems-v2 .hp-cloud-container{width:min(100% - 28px,1500px)}
  .hp-cloud-systems-heading{margin-bottom:30px}
  .hp-cloud-systems-heading h2,.hp-cloud-systems-heading h3{font-size:clamp(32px,10vw,46px)}
  .hp-cloud-system-grid-v2{grid-template-columns:1fr;gap:10px}
  .hp-cloud-system-card-v2{min-height:88px;padding:14px 16px;border-radius:14px}
  .hp-cloud-system-logo{width:50px;height:50px;flex-basis:50px}
  .hp-cloud-system-content>b{font-size:18px}
  .hp-cloud-version-list span{font-size:13px;padding:4px 9px}
}

/* =========================================================
   HEBERPAGE CLOUD MAROC — SYSTEMES & LOGICIELS V3
   Correction finale: reproduction compacte du modèle fourni
   ========================================================= */
.hp-cloud-systems-v2{
  position:relative;
  overflow:hidden;
  background-color:#fff;
  background-image:radial-gradient(circle,#e9eef4 1px,transparent 1px);
  background-size:30px 30px;
  padding:34px 0 42px;
}
.hp-cloud-systems-v2 .hp-cloud-container{
  width:min(1520px,calc(100% - 64px));
  margin-inline:auto;
}
.hp-cloud-systems-v2 .hp-cloud-systems-heading{
  max-width:820px;
  margin:0 0 56px;
  text-align:left;
}
.hp-cloud-systems-v2 .hp-cloud-systems-heading .hp-cloud-eyebrow{
  display:none;
}
.hp-cloud-systems-v2 .hp-cloud-systems-heading h2,
.hp-cloud-systems-v2 .hp-cloud-systems-heading h3{
  max-width:820px;
  margin:0;
  color:#08294a;
  font-size:clamp(42px,3.6vw,58px);
  font-weight:760;
  line-height:1.06;
  letter-spacing:-.047em;
}
/* Le modèle de référence n'affiche pas de paragraphe sous le titre. */
.hp-cloud-systems-v2 .hp-cloud-systems-heading .hp-cloud-rich{
  display:none;
}
.hp-cloud-systems-v2 .hp-cloud-system-grid-v2{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px 14px;
}
/* Important: ces règles écrasent l'ancien style vertical générique. */
.hp-cloud-systems-v2 .hp-cloud-system-card-v2{
  min-width:0;
  min-height:96px;
  display:flex;
  flex-direction:row;
  align-items:center;
  justify-content:flex-start;
  gap:18px;
  padding:14px 22px;
  border:1px solid #e4e9ee;
  border-radius:15px;
  background:rgba(255,255,255,.92);
  text-align:left;
  box-shadow:none;
  transform:none;
}
.hp-cloud-systems-v2 .hp-cloud-system-card-v2:hover{
  transform:none;
  border-color:#cfdce7;
  box-shadow:none;
}
/* Même petite mise en avant que la carte Rocky Linux du modèle. */
.hp-cloud-systems-v2 .hp-cloud-system-card-v2:nth-child(5){
  border-color:#b7eadf;
}
.hp-cloud-systems-v2 .hp-cloud-system-logo{
  width:52px;
  height:52px;
  flex:0 0 52px;
  display:grid;
  place-items:center;
  margin:0;
}
.hp-cloud-systems-v2 .hp-cloud-system-logo img{
  display:block;
  width:48px;
  height:48px;
  max-width:48px;
  max-height:48px;
  object-fit:contain;
}
.hp-cloud-systems-v2 .hp-cloud-system-logo>span{
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  border-radius:10px;
  background:transparent;
  color:#22bfea;
  font-size:20px;
}
.hp-cloud-systems-v2 .hp-cloud-system-content{
  min-width:0;
  flex:1 1 auto;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
}
.hp-cloud-systems-v2 .hp-cloud-system-content>b{
  display:block;
  margin:0;
  color:#08294a;
  font-size:20px;
  font-weight:720;
  line-height:1.16;
  text-align:left;
}
.hp-cloud-systems-v2 .hp-cloud-version-list{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-start;
  gap:5px;
  margin-top:7px;
}
.hp-cloud-systems-v2 .hp-cloud-version-list span{
  min-height:27px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:4px 10px;
  border:0;
  border-radius:7px;
  background:#eef2f6;
  color:#60728a;
  font-size:14px;
  font-weight:500;
  line-height:1;
  white-space:nowrap;
}
.hp-cloud-systems-v2 .hp-cloud-systems-link{
  display:none;
}
@media(max-width:1100px){
  .hp-cloud-systems-v2 .hp-cloud-container{width:min(100% - 40px,1520px)}
  .hp-cloud-systems-v2 .hp-cloud-system-grid-v2{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
  .hp-cloud-systems-v2{padding:36px 0 42px;background-size:24px 24px}
  .hp-cloud-systems-v2 .hp-cloud-container{width:min(100% - 28px,1520px)}
  .hp-cloud-systems-v2 .hp-cloud-systems-heading{margin-bottom:30px}
  .hp-cloud-systems-v2 .hp-cloud-systems-heading h2,
  .hp-cloud-systems-v2 .hp-cloud-systems-heading h3{font-size:clamp(34px,10vw,46px)}
  .hp-cloud-systems-v2 .hp-cloud-system-grid-v2{grid-template-columns:1fr;gap:10px}
  .hp-cloud-systems-v2 .hp-cloud-system-card-v2{min-height:86px;padding:12px 16px;border-radius:13px;gap:14px}
  .hp-cloud-systems-v2 .hp-cloud-system-logo{width:46px;height:46px;flex-basis:46px}
  .hp-cloud-systems-v2 .hp-cloud-system-logo img{width:44px;height:44px;max-width:44px;max-height:44px}
  .hp-cloud-systems-v2 .hp-cloud-system-content>b{font-size:18px}
  .hp-cloud-systems-v2 .hp-cloud-version-list span{font-size:13px;min-height:25px;padding:4px 9px}
}
