:root{
  --destine-blue:#3000bf;
  --destine-green:#48efc8;
  --destine-bg:#F7F7F7;
  --destine-white:#F7F7F7;
  --destine-shadow:0 16px 36px rgba(18,14,72,.12);
}

html,body{background:var(--destine-bg)!important;}
body{margin:0;background:var(--destine-bg)!important;}
.destine-header,.destine-footer,
.destine-header *,.destine-footer *{box-sizing:border-box;}
.destine-header,.destine-footer{font-family:inherit;}

/* HEADER - base v06 sans logo */
.destine-header{
  position:relative;
  z-index:20;
  height:255px;
  background:var(--destine-bg)!important;
  overflow:hidden;
}
.destine-header-wave{
  position:absolute;
  inset:0;
  z-index:0;
}
.destine-header-wave svg{
  width:100%;
  height:100%;
  display:block;
}
.destine-header .dh-fill{fill:var(--destine-blue);}
.destine-header .dh-line{
  fill:none;
  stroke:var(--destine-green);
  stroke-width:12;
  stroke-linecap:round;
  stroke-linejoin:round;
  vector-effect:non-scaling-stroke;
}
.destine-header-inner{
  position:relative;
  z-index:2;
  max-width:1220px;
  height:255px;
  margin:0 auto;
  padding:42px 28px 0;
}
.destine-header-brand{
  display:block;
  width:560px;
  color:var(--destine-white)!important;
  text-decoration:none;
  line-height:1.05;
}
.destine-header-brand span{
  display:block;
  font-size:clamp(25px,2.8vw,38px);
  font-weight:950;
  letter-spacing:-.025em;
  text-transform:uppercase;
  color:var(--destine-white)!important;
}
.destine-header-brand em{
  display:block;
  font-style:normal;
  font-size:20px;
  font-weight:500;
  margin-top:16px;
  color:var(--destine-white)!important;
}
.destine-header-actions{
  position:absolute;
  left:28px;
  bottom:34px;
  display:flex;
  align-items:center;
  gap:16px;
}
.destine-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:12px 24px;
  border-radius:999px;
  text-decoration:none!important;
  font-weight:950;
  line-height:1.05;
  white-space:nowrap;
}
.destine-btn-green{
  background:var(--destine-green);
  color:var(--destine-blue)!important;
  box-shadow:0 10px 20px rgba(0,0,0,.12);
}
.destine-btn-white{
  background:var(--destine-white);
  color:var(--destine-blue)!important;
  box-shadow:0 10px 20px rgba(0,0,0,.10);
}
.destine-btn-outline{
  color:var(--destine-white)!important;
  border:2px solid var(--destine-white);
  background:rgba(255,255,255,.02);
}
.destine-header-nav{
  position:absolute;
  right:54px;
  bottom:34px;
  display:flex;
  align-items:center;
  gap:34px;
  font-weight:950;
  font-size:17px;
}
.destine-header-nav a{
  color:var(--destine-white)!important;
  text-decoration:none;
}
.destine-header-nav a:hover{opacity:.82;}

/* FOOTER - base v06 sans logo */
.destine-footer{
  position:relative;
  margin-top:96px;
  min-height:520px;
  background:var(--destine-bg)!important;
  color:var(--destine-white);
  overflow:hidden;
}
.destine-footer-wave{
  position:absolute;
  inset:0;
  z-index:0;
}
.destine-footer-wave svg{
  width:100%;
  height:100%;
  display:block;
}
.destine-footer .df-fill{fill:var(--destine-blue);}
.destine-footer .df-line{
  fill:none;
  stroke:var(--destine-green);
  stroke-width:16;
  stroke-linecap:round;
  stroke-linejoin:round;
  vector-effect:non-scaling-stroke;
}
.destine-footer-inner{
  position:relative;
  z-index:2;
  max-width:1220px;
  min-height:520px;
  margin:0 auto;
  padding:96px 28px 0;
}
.destine-footer-left{
  width:520px;
  padding-bottom:42px;
}
.destine-footer-left strong{
  display:block;
  font-size:clamp(25px,2.6vw,34px);
  line-height:1.07;
  font-weight:950;
  letter-spacing:-.025em;
  text-transform:uppercase;
  color:var(--destine-white)!important;
}
.destine-footer-left p{
  margin:20px 0 0;
  color:var(--destine-white)!important;
  font-size:19px;
  line-height:1.45;
}
.destine-footer-contact{
  margin-top:22px;
}
.destine-footer-contact a{
  display:block;
  color:var(--destine-white)!important;
  text-decoration:none;
  font-size:clamp(23px,2.3vw,34px);
  line-height:1.18;
  font-weight:950;
}
.destine-footer-actions{
  position:absolute;
  left:360px;
  bottom:116px;
  display:flex;
  align-items:center;
  gap:18px;
}
.destine-footer-cities{
  position:absolute;
  left:28px;
  right:28px;
  bottom:82px;
  color:var(--destine-green);
  font-size:clamp(14px,1.22vw,18px);
  font-weight:950;
  line-height:1.1;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:clip;
}

.destine-footer-social{
  position:absolute;
  left:28px;
  right:28px;
  bottom:40px;
}

.destine-footer-bottom{
  position:relative;
  z-index:3;
  max-width:1220px;
  margin:10px auto 0;
  padding:0 28px 20px;
  display:flex;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
  color:rgba(247,247,247,.84);
  font-size:13px;
}
.destine-footer-bottom a{
  color:var(--destine-white)!important;
  text-decoration:none;
  font-weight:800;
}

@media (max-width:1100px){
  .destine-header-nav{right:38px;bottom:30px;gap:18px;font-size:15px;}
  .destine-header-brand{width:440px;}
  .destine-footer-actions{left:420px;}
  .destine-footer-cities{font-size:12px;}
}

@media (max-width:860px){
  .destine-header{height:310px;}
  .destine-header-inner{height:310px;padding-top:38px;}
  .destine-header-brand{width:100%;}
  .destine-header-brand span{font-size:clamp(22px,5vw,31px);}
  .destine-header-brand em{font-size:17px;margin-top:12px;}
  .destine-header-actions{left:20px;bottom:86px;}
  .destine-header-nav{left:20px;right:20px;bottom:32px;justify-content:flex-start;gap:18px;flex-wrap:wrap;}
  .destine-footer{min-height:560px;}
  .destine-footer-inner{min-height:560px;padding-top:92px;}
  .destine-footer-left{width:100%;max-width:430px;}
  .destine-footer-actions{left:28px;bottom:94px;}
  .destine-footer-cities{font-size:11px;bottom:88px;}
}

@media (max-width:620px){
  .destine-header{
    height:auto;
    min-height:330px;
    background:var(--destine-blue)!important;
    border-top:10px solid var(--destine-green);
  }
  .destine-header-wave{display:none;}
  .destine-header-inner{height:auto;min-height:330px;padding:24px 18px 22px;}
  .destine-header-brand{width:100%;}
  .destine-header-brand span{font-size:22px;}
  .destine-header-brand em{font-size:15px;}
  .destine-header-actions{position:static;margin-top:28px;display:grid;grid-template-columns:1fr;gap:10px;}
  .destine-header-nav{position:static;margin-top:18px;display:grid;grid-template-columns:1fr 1fr;gap:12px 14px;font-size:14px;}
  .destine-btn{min-height:44px;padding:10px 16px;font-size:14px;}
  .destine-footer{
    margin-top:56px;
    min-height:auto;
    background:var(--destine-blue)!important;
    border-top:10px solid var(--destine-green);
  }
  .destine-footer-wave{display:none;}
  .destine-footer-inner{min-height:auto;padding:28px 18px 0;}
  .destine-footer-left{width:100%;}
  .destine-footer-left strong{font-size:24px;}
  .destine-footer-left p{font-size:16px;margin-top:16px;}
  .destine-footer-contact a{font-size:24px;}
  .destine-footer-actions{position:static;margin-top:22px;display:grid;grid-template-columns:1fr;gap:10px;}
  .destine-footer-cities{
    position:static;
    white-space:normal;
    font-size:14px;
    line-height:1.35;
    margin-top:20px;
  }
  .destine-footer-social{position:static;margin-top:14px;}
  .destine-footer-bottom{margin:0;padding:20px 18px 22px;display:block;}
  .destine-footer-bottom span{display:block;margin-top:8px;}
}


/* v13: supprime l'effet de zone plate et garde les boutons plus haut / plus à gauche */
@media (min-width: 861px){
  .destine-footer-actions{
    left:360px !important;
    bottom:116px !important;
  }
}

.destine-footer-bottom span:nth-child(2){
  text-align:right;
  max-width:760px;
}
@media (max-width:860px){
  .destine-footer-bottom span:nth-child(2){
    text-align:left;
    max-width:none;
  }
}


/* v21 : logos d'origine un peu plus grands, tout en restant
   entièrement dans le blanc sans chevaucher la vague turquoise/bleue. */
.destine-header-logos,
.destine-footer-logos{
  position:absolute;
  z-index:1;
  pointer-events:none;
}
.destine-header-logos{
  top:8px;
  right:max(28px, calc((100vw - 1220px) / 2 + 28px));
}
.destine-footer-logos{
  top:22px;
  right:max(26px, calc((100vw - 1220px) / 2 + 26px));
}
.destine-header-logos img,
.destine-footer-logos img{
  display:block;
  width:auto;
  object-fit:contain;
  filter:none;
}
.destine-header-logos img{
  height:clamp(84px, 8.7vw, 118px);
  max-width:min(300px, 24vw);
}
.destine-footer-logos img{
  height:clamp(118px, 13vw, 176px);
  max-width:min(430px, 31vw);
}
@media (max-width:1100px){
  .destine-header-logos{
    top:10px;
    right:20px;
  }
  .destine-header-logos img{
    height:96px;
    max-width:220px;
  }
  .destine-footer-logos{
    top:22px;
    right:18px;
  }
  .destine-footer-logos img{
    height:136px;
    max-width:310px;
  }
}
@media (max-width:860px){
  .destine-header-logos{
    top:8px;
    right:12px;
    opacity:.96;
  }
  .destine-header-logos img{
    height:82px;
    max-width:188px;
  }
  .destine-footer-logos{
    top:16px;
    right:10px;
    opacity:.96;
  }
  .destine-footer-logos img{
    height:104px;
    max-width:236px;
  }
}
@media (max-width:620px){
  .destine-header-logos,
  .destine-footer-logos{
    display:none;
  }
}


/* Lien Facebook footer */
.destine-footer-social a.destine-footer-facebook{
  display:inline-flex;
  width:max-content;
  align-items:center;
  margin-top:0;
  padding:5px 0;
  color:var(--destine-green)!important;
  text-decoration:none!important;
  text-shadow:0 1px 1px rgba(0,0,0,.10);
  font-size:clamp(18px,1.55vw,23px);
  line-height:1.2;
  font-weight:950;
}
.destine-footer-social a.destine-footer-facebook:before{
  content:"f";
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:28px;
  height:28px;
  margin-right:11px;
  border-radius:50%;
  background:var(--destine-green);
  color:var(--destine-blue);
  font-family:Arial, sans-serif;
  font-weight:950;
  font-size:18px;
}

/* v28: Facebook lisible depuis sa position dédiée sous les communes. */
.destine-footer-social a.destine-footer-facebook:hover{
  color:#fff!important;
  text-decoration:underline!important;
  text-underline-offset:3px;
}

@media (min-width:861px) and (max-width:1180px){
  .destine-footer-actions{left:380px!important;bottom:116px!important;}
}
