/* HORIZON 360 — Design patch des sections ajoutées — 20/08/2026
   Objectif : intégrer les optimisations dans la DA existante, sans changer le reste du site. */

/* ----- socle des sections ajoutées ----- */
.h360-designed-section{
  position:relative;
  isolation:isolate;
}
.h360-designed-section::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background:
    radial-gradient(circle at 88% 12%,rgba(255,90,0,.075),transparent 24%),
    radial-gradient(circle at 12% 88%,rgba(255,90,0,.035),transparent 26%);
}
.h360-designed-section .audit-section-head{
  max-width:920px;
  margin-bottom:38px;
}
.h360-designed-section .audit-section-head .eyebrow{
  margin-bottom:16px;
}
.h360-designed-section .audit-section-head .section-title{
  max-width:860px;
}
.h360-designed-section .audit-section-head .section-intro{
  max-width:760px;
}

/* ----- méthodes : vraie carte visuelle, même langage que les cartes existantes ----- */
.audit-process-section{
  background:
    linear-gradient(180deg,rgba(255,255,255,.018),rgba(255,255,255,0)),
    #090b0f!important;
  border-top:1px solid rgba(255,255,255,.055);
  border-bottom:1px solid rgba(255,255,255,.055);
  overflow:hidden;
}
.audit-process-grid,
.audit-process-grid.five{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:22px!important;
}
.audit-process-grid.five .audit-process-card:last-child{
  grid-column:1/-1;
  width:calc(50% - 11px);
  justify-self:center;
}
.audit-process-card{
  position:relative!important;
  display:grid!important;
  grid-template-columns:minmax(210px,42%) minmax(0,1fr)!important;
  min-height:300px!important;
  padding:0!important;
  overflow:hidden!important;
  border-radius:26px!important;
  border:1px solid rgba(255,255,255,.12)!important;
  background:linear-gradient(145deg,#151922 0%,#0b0e13 100%)!important;
  box-shadow:0 22px 56px rgba(0,0,0,.24)!important;
  transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease!important;
}
.audit-process-card::before{
  content:""!important;
  position:absolute!important;
  inset:auto 0 0 0!important;
  width:auto!important;
  height:2px!important;
  border:0!important;
  border-radius:0!important;
  background:linear-gradient(90deg,var(--orange),rgba(255,90,0,0))!important;
  box-shadow:none!important;
  opacity:.78;
}
.audit-process-card:hover{
  transform:translateY(-4px)!important;
  border-color:rgba(255,90,0,.34)!important;
  box-shadow:0 28px 70px rgba(0,0,0,.3)!important;
}
.audit-process-media{
  position:relative;
  min-height:300px;
  overflow:hidden;
  background:#11151b;
}
.audit-process-media::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(7,9,12,.02),rgba(7,9,12,.16) 70%,rgba(7,9,12,.5));
}
.audit-process-media img{
  width:100%;
  height:100%;
  min-height:300px;
  object-fit:cover;
  filter:saturate(.9) contrast(1.03);
  transition:transform .45s ease,filter .45s ease;
}
.audit-process-card:hover .audit-process-media img{
  transform:scale(1.035);
  filter:saturate(1) contrast(1.04);
}
.audit-process-body{
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-width:0;
  padding:30px 30px 30px 28px;
}
.audit-process-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-bottom:28px;
}
.audit-step-number{
  display:grid;
  place-items:center;
  width:50px;
  height:50px;
  border-radius:15px;
  border:1px solid rgba(255,90,0,.32);
  background:rgba(255,90,0,.11);
  color:var(--orange);
  font-size:14px;
  font-weight:1000;
}
.audit-step-label{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:5px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.1);
  background:rgba(255,255,255,.035);
  color:#aeb5c0;
  font-size:10px;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.audit-process-card h3{
  margin:0 0 11px!important;
  font-size:clamp(22px,2vw,28px)!important;
  line-height:1.08!important;
  letter-spacing:-.035em!important;
  color:#fff!important;
}
.audit-process-card p{
  margin:0!important;
  max-width:42ch;
  color:#b2b8c1!important;
  font-size:15px!important;
  line-height:1.62!important;
}

/* ----- formats d'accompagnement : cartes commerciales cohérentes ----- */
.audit-offers-section{
  background:
    radial-gradient(circle at 15% 10%,rgba(255,90,0,.06),transparent 22%),
    linear-gradient(180deg,#0c0f14,#090b0f)!important;
  border-top:1px solid rgba(255,255,255,.055);
  border-bottom:1px solid rgba(255,255,255,.055);
}
.audit-offers-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:20px!important;
}
.audit-offer-card{
  position:relative!important;
  display:flex!important;
  flex-direction:column!important;
  min-height:455px!important;
  padding:30px 28px 28px!important;
  border-radius:26px!important;
  border:1px solid rgba(255,255,255,.12)!important;
  background:linear-gradient(145deg,#171b22,#0d1015)!important;
  box-shadow:0 24px 60px rgba(0,0,0,.2)!important;
  overflow:hidden!important;
}
.audit-offer-card::after{
  content:"";
  position:absolute;
  right:-80px;
  top:-80px;
  width:210px;
  height:210px;
  border-radius:50%;
  border:1px solid rgba(255,90,0,.15);
  box-shadow:0 0 80px rgba(255,90,0,.06);
  pointer-events:none;
}
.audit-offer-card.featured{
  border-color:rgba(255,90,0,.42)!important;
  background:
    radial-gradient(circle at 90% 5%,rgba(255,90,0,.13),transparent 30%),
    linear-gradient(145deg,#1b1e25,#0e1116)!important;
}
.audit-offer-tag{
  display:inline-flex!important;
  align-self:flex-start!important;
  margin:0 0 42px!important;
  padding:8px 12px!important;
  border-radius:999px!important;
  border:1px solid rgba(255,90,0,.28)!important;
  background:rgba(255,90,0,.1)!important;
  color:var(--orange)!important;
  font-size:11px!important;
  font-weight:1000!important;
  letter-spacing:.11em!important;
  text-transform:uppercase!important;
}
.audit-offer-number{
  position:absolute;
  top:28px;
  right:28px;
  color:rgba(255,255,255,.2);
  font-size:38px;
  line-height:1;
  font-weight:1000;
  letter-spacing:-.05em;
}
.audit-offer-card h3{
  margin:0 0 12px!important;
  font-size:29px!important;
  letter-spacing:-.04em!important;
  line-height:1.05!important;
}
.audit-offer-card>p{
  margin:0 0 24px!important;
  color:#b2b8c1!important;
  line-height:1.58!important;
}
.audit-offer-card ul{
  display:grid!important;
  gap:11px!important;
  list-style:none!important;
  margin:0 0 28px!important;
  padding:0!important;
}
.audit-offer-card li{
  position:relative!important;
  padding-left:24px!important;
  color:#e5e8ed!important;
  font-size:15px!important;
  line-height:1.45!important;
}
.audit-offer-card li::before{
  content:""!important;
  position:absolute!important;
  left:0!important;
  top:.42em!important;
  width:8px!important;
  height:8px!important;
  border-radius:50%!important;
  background:var(--orange)!important;
  box-shadow:0 0 14px rgba(255,90,0,.5)!important;
}
.audit-offer-footer{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:14px!important;
  margin-top:auto!important;
  padding-top:20px!important;
  border-top:1px solid rgba(255,255,255,.09)!important;
}
.audit-offer-footer span{
  color:#9da5b0!important;
  font-size:12px!important;
  font-weight:800!important;
  text-transform:uppercase!important;
  letter-spacing:.08em!important;
}
.audit-offer-footer a{
  color:#fff!important;
  font-size:14px!important;
  font-weight:900!important;
}
.audit-offer-footer a:hover{color:var(--orange)!important}

/* ----- 8 types de sites : conserver le fond, renforcer le graphisme ----- */
.web-types-section{
  background:
    linear-gradient(rgba(255,255,255,.018) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px),
    radial-gradient(circle at 88% 8%,rgba(255,90,0,.10),transparent 24%),
    #0a0c10!important;
  background-size:54px 54px,54px 54px,auto,auto!important;
}
.web-types-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:18px!important;
}
.web-type-card{
  position:relative!important;
  min-height:285px!important;
  padding:25px 24px 26px!important;
  overflow:hidden!important;
  border-radius:23px!important;
  border:1px solid rgba(255,255,255,.11)!important;
  background:linear-gradient(145deg,rgba(23,27,34,.96),rgba(10,13,18,.96))!important;
  box-shadow:0 20px 50px rgba(0,0,0,.17)!important;
}
.web-type-card::before{
  content:"";
  position:absolute;
  right:-38px;
  bottom:-46px;
  width:128px;
  height:128px;
  border-radius:34px;
  border:1px solid rgba(255,90,0,.15);
  transform:rotate(18deg);
}
.web-type-card::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:2px;
  background:linear-gradient(90deg,var(--orange),transparent 80%);
  opacity:.55;
}
.web-type-top{
  position:relative;
  z-index:1;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
}
.web-type-top span{
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  border-radius:13px;
  border:1px solid rgba(255,90,0,.28);
  background:rgba(255,90,0,.1);
  color:var(--orange)!important;
}
.web-type-top i{
  border:1px solid rgba(255,255,255,.1)!important;
  background:rgba(255,255,255,.035)!important;
  color:#aeb5c0!important;
}
.web-type-card h3{
  position:relative;
  z-index:1;
  margin:52px 0 12px!important;
  font-size:25px!important;
  line-height:1.05!important;
  letter-spacing:-.035em!important;
}
.web-type-card p{
  position:relative;
  z-index:1;
  margin:0!important;
  color:#aeb5c0!important;
  line-height:1.58!important;
}

/* ----- accueil : la nouvelle segmentation reste dans le langage visuel de l'accueil ----- */
.audit-sector-showcase{
  background:linear-gradient(180deg,#0a0d11,#0b0e12)!important;
  border-top:1px solid rgba(255,255,255,.05);
  border-bottom:1px solid rgba(255,255,255,.05);
}
.audit-sector-showcase .showcase-grid{gap:20px!important}
.audit-sector-showcase .showcase-card{
  border-radius:25px!important;
  border:1px solid rgba(255,255,255,.11)!important;
  background:#11151b!important;
  box-shadow:0 22px 55px rgba(0,0,0,.18)!important;
  overflow:hidden!important;
}
.audit-sector-showcase .showcase-card img{
  transition:transform .4s ease,filter .4s ease;
}
.audit-sector-showcase .showcase-card:hover img{
  transform:scale(1.025);
  filter:saturate(1.02);
}
.audit-sector-showcase .showcase-card .tag{
  display:inline-flex!important;
  margin-top:20px!important;
  border:1px solid rgba(255,90,0,.28)!important;
  background:rgba(255,90,0,.1)!important;
}
.audit-sector-showcase .showcase-card h3{font-size:24px!important}
.audit-sector-showcase .showcase-card p{color:#aeb5c0!important}

/* ----- devis rapide : conserver l'UI du formulaire, renforcer seulement le chemin ----- */
.devis-progress{
  background:linear-gradient(145deg,#151922,#0e1116)!important;
  border:1px solid rgba(255,255,255,.1)!important;
  box-shadow:0 16px 40px rgba(0,0,0,.12)!important;
}
.devis-progress span{border-radius:11px}
.devis-progress b{
  border:1px solid rgba(255,90,0,.24)!important;
  background:rgba(255,90,0,.1)!important;
}

/* ----- responsive ----- */
@media (max-width:1180px){
  .web-types-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .audit-offers-grid{grid-template-columns:1fr!important}
  .audit-offer-card{min-height:0!important}
}
@media (max-width:980px){
  .audit-process-grid,.audit-process-grid.five{grid-template-columns:1fr!important}
  .audit-process-grid.five .audit-process-card:last-child{grid-column:auto;width:auto;justify-self:stretch}
  .audit-process-card{grid-template-columns:minmax(190px,38%) minmax(0,1fr)!important;min-height:280px!important}
  .audit-process-media,.audit-process-media img{min-height:280px}
}
@media (max-width:700px){
  .audit-process-card{grid-template-columns:1fr!important;min-height:0!important}
  .audit-process-media{min-height:190px!important;max-height:220px}
  .audit-process-media img{min-height:190px!important;height:220px!important}
  .audit-process-media::after{background:linear-gradient(180deg,rgba(7,9,12,.02),rgba(7,9,12,.28))}
  .audit-process-body{padding:24px 21px 25px!important}
  .audit-process-top{margin-bottom:20px}
  .audit-step-number{width:44px;height:44px;border-radius:13px}
  .web-types-grid{grid-template-columns:1fr!important}
  .web-type-card{min-height:0!important}
  .web-type-card h3{margin-top:38px!important}
  .audit-offer-card{padding:25px 22px!important;border-radius:22px!important}
  .audit-offer-tag{margin-bottom:34px!important}
  .audit-offer-number{right:22px;top:24px;font-size:33px}
  .audit-offer-footer{align-items:flex-start!important;flex-direction:column!important}
}
