/* Phase 11.11 : fidelite globale de la maquette Y CARE, menu et footer inclus. */

/* Header desktop */
.ycw81-header{
  height:78px;
  border:0;
  border-bottom:1px solid rgba(16,47,57,.035);
  background:#fff9f2;
  box-shadow:none;
}
.ycw81-header.is-transparent{
  background:linear-gradient(90deg,#fff8f0 0%,#fffaf5 55%,#f9fbf5 100%);
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
}
.ycw81-header.is-sticky{top:0}
.ycw81-header.is-scrolled{
  height:72px;
  background:rgba(255,250,245,.985);
  border-bottom-color:rgba(16,47,57,.07);
  box-shadow:0 8px 28px rgba(16,47,57,.055);
}
.ycw81-header-inner{
  width:min(calc(100% - 48px),1388px);
  grid-template-columns:176px minmax(0,1fr) auto;
  gap:18px;
}
.ycw81-logo img{
  width:min(var(--ycw81-logo-width,166px),166px);
  max-height:52px;
}
.ycw81-nav{
  justify-content:center;
  gap:25px;
}
.ycw81-nav>a,.ycw81-dropdown-toggle{
  font-size:10px;
  font-weight:760;
  letter-spacing:-.018em;
}
.ycw81-nav>a:after,.ycw81-dropdown-toggle:after{bottom:18px}
.ycw81-actions{gap:11px}
.ycw81-actions:before{display:none}
.ycw81-language{
  height:31px;
  padding:2px 5px;
  border-color:rgba(16,47,57,.08);
  background:rgba(255,255,255,.82);
}
.ycw81-language button{font-size:8px;padding:5px}
.ycw81-flag{width:14px;height:9px}
.ycw81-account{
  min-width:54px;
  gap:1px;
  font-size:7.5px;
  font-weight:650;
}
.ycw81-account svg{width:18px;height:18px}
.ycw81-contact{
  min-width:137px;
  min-height:38px;
  padding:0 17px;
  font-size:9px;
  box-shadow:none;
}
.ycw81-contact svg{display:none}

/* La page de reference est bord a bord, avec un fond creme tres leger. */
.ycare-phase4-preview.has-ycw53-header{
  width:100%;
  max-width:none;
  margin:0;
  padding:0;
  border-radius:0;
  background:#fffaf5;
}
.ycare-phase4-preview.has-ycw53-header>.ycw81-header{width:100%}

/* Footer final conforme a la maquette : grand bloc bleu vert sombre, sans arrondi. */
.ycw54-footer,
.ycw54-footer.ycw54-footer--premium-light,
.ycw54-footer.ycw54-footer--premium-dark{
  --yc-footer-bg:#0f565b;
  --yc-footer-panel:#0f565b;
  --yc-footer-text:#fffdf9;
  --yc-footer-muted:rgba(255,253,249,.82);
  --yc-footer-line:rgba(255,255,255,.18);
  --yc-footer-accent:#d7ebe7;
  width:100%;
  margin-top:0;
  border-radius:0;
  background:#0f565b!important;
  color:#fffdf9;
  box-shadow:none;
}
.ycw54-footer .ycw54-trust-row{display:none}
.ycw54-footer .ycw54-footer-main{
  display:grid;
  grid-template-columns:1.22fr .78fr .92fr .84fr 1fr;
  gap:44px;
  width:min(calc(100% - 80px),1370px);
  max-width:none;
  margin:0 auto;
  padding:33px 0 27px;
}
.ycw54-footer .ycw54-footer-brand{padding-right:18px}
.ycw54-footer .ycw54-footer-brand img{
  width:144px;
  filter:brightness(0) invert(1);
}
.ycw54-footer .ycw54-footer-brand p{
  max-width:245px;
  margin:12px 0 0;
  color:rgba(255,253,249,.86);
  font-size:10px;
  line-height:1.58;
}
.ycw54-footer .ycw54-footer-toggle{
  padding:0 0 10px;
  color:#fffdf9;
  font-size:10.5px;
  font-weight:800;
}
.ycw54-footer .ycw54-footer-panel{gap:7px}
.ycw54-footer .ycw54-footer-panel a,
.ycw54-footer .ycw54-footer-panel>span{
  justify-content:flex-start;
  color:rgba(255,253,249,.86);
  font-size:9.5px;
  line-height:1.42;
}
.ycw54-footer .ycw54-footer-panel a:hover{color:#fff}
.ycw54-footer .ycw54-footer-panel a span:last-child{display:none}
.ycw54-footer .ycw54-contact-link>span:first-child{color:#fffdf9}
.ycw54-footer .ycw54-socials{gap:8px;margin-top:15px}
.ycw54-footer .ycw54-socials a{
  width:28px;
  height:28px;
  border-color:rgba(255,255,255,.33);
  background:transparent;
  color:#fff;
  font-size:9px;
}
.ycw54-footer .ycw54-socials a:hover{background:rgba(255,255,255,.11);border-color:#fff}
.ycw54-footer .ycw54-footer-newsletter{display:none}
.ycw54-footer .ycw54-footer-contact-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:29px;
  margin-top:10px;
  padding:0 14px;
  border:1px solid rgba(255,255,255,.34);
  border-radius:999px;
  background:rgba(255,255,255,.12);
  color:#fff!important;
  font-size:8.5px!important;
  font-weight:760;
  text-decoration:none;
}
.ycw54-footer .ycw54-footer-payments{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  align-items:center;
  gap:28px;
  width:min(calc(100% - 80px),1370px);
  margin:0 auto;
  padding:13px 0 11px;
  border-top:1px solid rgba(255,255,255,.17);
  border-bottom:0;
  background:transparent;
}
.ycw54-footer .ycw54-secure-copy{display:flex;min-width:126px;gap:8px}
.ycw54-footer .ycw54-lock{
  width:24px;
  height:24px;
  border-radius:0;
  background:transparent;
  color:#fff;
}
.ycw54-footer .ycw54-lock svg{width:18px;height:18px}
.ycw54-footer .ycw54-secure-copy strong{font-size:9px;color:#fff}
.ycw54-footer .ycw54-secure-copy small{display:none}
.ycw54-footer .ycw54-payment-window{overflow:visible}
.ycw54-footer .ycw54-payment-track{
  display:flex;
  width:auto;
  flex-wrap:wrap;
  gap:8px;
  animation:none;
}
.ycw54-footer .ycw54-payment-track .ycw54-payment-badge:nth-child(n+12){display:none}
.ycw54-footer .ycw54-payment-badge{
  min-width:48px;
  height:23px;
  padding:0 6px;
  border:0;
  border-radius:4px;
  background:transparent;
  color:#fff;
  font-size:8px;
}
.ycw54-footer .ycw54-payment-badge b{font-size:8px;color:inherit}
.ycw54-footer .ycw54-visa-mark{color:#fff;font-size:14px!important}
.ycw54-footer .ycw54-ideal-mark,
.ycw54-footer .ycw54-belfius-mark,
.ycw54-footer .ycw54-kbc-mark{color:#fff}
.ycw54-footer .ycw54-klarna-mark{background:transparent;color:#fff;padding:0}
.ycw54-footer .ycw54-footer-bottom{
  width:min(calc(100% - 80px),1370px);
  max-width:none;
  margin:0 auto;
  padding:0 0 14px;
  justify-content:flex-end;
  gap:26px;
  color:rgba(255,253,249,.82);
  font-size:8.5px;
}
.ycw54-footer .ycw54-footer-bottom>span{margin-right:auto;margin-left:auto}
.ycw54-footer .ycw54-footer-language{
  padding:0;
  border:0;
  background:transparent;
}
.ycw54-footer .ycw54-footer-language button{
  padding:3px 5px;
  color:#fff;
  font-size:8px;
}
.ycw54-footer .ycw54-footer-language button.is-active{background:transparent;color:#fff}

@media(max-width:1180px){
  .ycw81-header-inner{width:min(calc(100% - 32px),1388px);grid-template-columns:158px minmax(0,1fr) auto;gap:12px}
  .ycw81-nav{gap:14px}
  .ycw81-logo img{max-width:150px}
  .ycw81-contact{min-width:120px;padding:0 13px}
  .ycw54-footer .ycw54-footer-main{gap:26px;width:calc(100% - 48px)}
  .ycw54-footer .ycw54-footer-payments,.ycw54-footer .ycw54-footer-bottom{width:calc(100% - 48px)}
}
@media(max-width:980px){
  .ycw81-nav>a:nth-child(4),.ycw81-nav>a:nth-child(5){display:inline-flex}
  .ycw54-footer .ycw54-footer-main{grid-template-columns:1.2fr repeat(2,1fr)}
  .ycw54-footer .ycw54-footer-contact{grid-column:auto}
}
@media(max-width:860px){
  .ycw81-header,.ycw81-header.is-scrolled{height:70px}
  .ycw81-header-inner{width:calc(100% - 28px);grid-template-columns:1fr auto}
  .ycw81-logo img{max-width:145px}
  .ycw81-nav{top:70px}
}
@media(max-width:760px){
  .ycw54-footer .ycw54-footer-main{grid-template-columns:1fr;width:calc(100% - 40px);padding:28px 0 18px;gap:0}
  .ycw54-footer .ycw54-footer-brand{padding:0 0 22px}
  .ycw54-footer .ycw54-footer-column{border-top:1px solid rgba(255,255,255,.16)}
  .ycw54-footer .ycw54-footer-toggle{padding:14px 0}
  .ycw54-footer .ycw54-footer-panel{padding-bottom:14px}
  .ycw54-footer .ycw54-footer-payments{grid-template-columns:1fr;width:calc(100% - 40px);gap:8px;padding:12px 0}
  .ycw54-footer .ycw54-footer-bottom{width:calc(100% - 40px);padding:3px 0 14px;align-items:flex-start;flex-direction:column}
  .ycw54-footer .ycw54-footer-bottom>span{margin:0}
}

/* Phase 11.12 : sortie du conteneur du theme et largeur desktop de reference. */
body.ycare-v2-managed-page{
  overflow-x:hidden;
}
body.ycare-v2-managed-page .ycare-phase4-preview.has-ycw53-header{
  position:relative;
  left:50%;
  width:100vw!important;
  max-width:100vw!important;
  margin:0 0 0 -50vw!important;
  padding:0!important;
  border-radius:0!important;
  overflow:visible;
}
body.ycare-v2-managed-page .ycare-phase4-preview.has-ycw53-header>.ycw81-header{
  width:100vw!important;
  max-width:100vw!important;
  margin:0!important;
}
body.ycare-v2-managed-page .ycare-phase4-preview .ycare-live-section{
  width:100%;
  max-width:none;
  margin:0;
}

/* La maquette utilise une zone de lecture large et aeree sur ordinateur. */
@media(min-width:1181px){
  body.ycare-v2-managed-page .ycare-phase4-preview .yc55-hero-copy{
    padding-left:max(48px,calc((100vw - 1360px)/2));
  }
  body.ycare-v2-managed-page .ycare-phase4-preview .yc56-intro,
  body.ycare-v2-managed-page .ycare-phase4-preview .yc57-topics,
  body.ycare-v2-managed-page .ycare-phase4-preview .yc58-experts,
  body.ycare-v2-managed-page .ycare-phase4-preview .yc59-reviews,
  body.ycare-v2-managed-page .ycare-phase4-preview .yc510-pricing,
  body.ycare-v2-managed-page .ycare-phase4-preview .yc511-devices,
  body.ycare-v2-managed-page .ycare-phase4-preview .yc512-cta{
    width:min(1360px,calc(100% - 96px));
    max-width:1360px;
    margin-left:auto;
    margin-right:auto;
  }
}

/* Header desktop complet conforme au modele. */
@media(min-width:981px){
  .ycw81-header-inner{
    width:min(calc(100% - 64px),1420px);
    grid-template-columns:190px minmax(0,1fr) auto;
    gap:22px;
  }
  .ycw81-nav{
    gap:24px;
  }
  .ycw81-nav>a,
  .ycw81-dropdown-toggle{
    display:inline-flex!important;
    font-size:10px;
  }
  .ycw81-language{
    display:flex!important;
  }
  .ycw81-account span{
    display:inline!important;
  }
}
