/* Styles du site Épargner sans se priver */
:root{
  --encre:#1c1917;
  --sapin:#1b4d3e;
  --sapin-profond:#14382e;
  --sauge:#d7e3d3;
  --sable:#eef2ef;
  --papier:#f7faf7;
  --terre:#b5471c;
  --terre-vif:#d85a30;
  --or:#c4a574;
  --contraste:#f7faf7;
  --contrast:#1c1917;
  --contrast-2:#1c1917;
  --contrast-3:#3f3a36;
  --base:#1b4d3e;
  --base-2:#eef2ef;
  --base-3:#f7faf7;
  --accent:#1b4d3e;
  --accent-2:#b5471c;
  --accent-3:#d85a30;
}
html{scroll-padding-bottom:5rem;}
body.esp-corps{
  background:var(--sable);
  color:var(--encre);
  font-family:Manrope,system-ui,sans-serif;
  font-weight:400;
  line-height:1.6;
}
body.esp-corps.esp-avec-barre{padding-bottom:4.75rem;}
body, button, input, select, textarea{font-family:Manrope,system-ui,sans-serif;}
h1,h2,h3,h4,.esp-titre{
  font-family:Fraunces,Georgia,serif;
  font-weight:700;
  color:var(--sapin-profond);
  line-height:1.15;
  letter-spacing:-0.01em;
}
a{color:var(--sapin);}
a:hover,a:focus{color:var(--terre);}
.site-header,.inside-header{
  background:var(--sable);
}
.site-header{
  border-bottom:1px solid rgba(27,77,62,.12);
  padding-top:.6rem;
  padding-bottom:.4rem;
}
.site-header .header-image,
.site-header .custom-logo,
.site-header img.is-logo-image,
.site-header .site-logo img,
.site-logo .header-image{
  width:auto !important;
  max-width:min(340px,82vw) !important;
  height:auto !important;
  max-height:58px !important;
}
.main-navigation,
.main-navigation .main-nav ul li a,
.main-navigation .menu-toggle,
.main-navigation .menu-bar-items{
  background:transparent;
  color:var(--encre);
  font-weight:600;
  font-size:.95rem;
}
.main-navigation .main-nav ul li:not([class*="current-menu-"]):hover > a,
.main-navigation .main-nav ul li:not([class*="current-menu-"]):focus > a,
.main-navigation .main-nav ul li[class*="current-menu-"] > a{
  color:var(--sapin);
}
.main-navigation .main-nav ul li a{padding:.55rem .7rem;}
.site-header .gbp-button--primary,
.site-header .gb-button,
.slideout-navigation .gbp-button--primary,
.slideout-navigation .gb-button{
  background:var(--sapin) !important;
  color:var(--contraste) !important;
  border-radius:999px !important;
  font-weight:700 !important;
  padding:.45rem 1rem !important;
}
.site-header .gbp-button--primary:hover,
.slideout-navigation .gbp-button--primary:hover{
  background:var(--sapin-profond) !important;
  color:var(--contraste) !important;
}
.inside-header{max-width:1120px;}
.grid-container{max-width:1120px;}
#page,.site{background:var(--sable);}
.separate-containers .inside-article,
.one-container .site-content,
.one-container .inside-article{background:transparent;box-shadow:none;padding:0;}

/* Accueil */
.esp-enveloppe{max-width:1120px;margin:0 auto;padding:0 1.25rem 3rem;}
.esp-bandeau{
  display:grid;
  grid-template-columns:1fr;
  gap:1.75rem;
  padding:2rem 0 2.5rem;
  align-items:center;
}
@media (min-width:860px){
  .esp-bandeau{grid-template-columns:1.05fr .95fr;gap:2.5rem;padding:2.5rem 0 3rem;}
}
.esp-bandeau h1{
  font-size:clamp(2rem,4.4vw,3.15rem);
  margin:0 0 1rem;
  color:var(--sapin-profond);
}
.esp-bandeau .esp-chapeau{font-size:1.12rem;margin:0 0 1.25rem;color:var(--encre);}
.esp-citation{
  margin:0;
  padding:1rem 0 0 1.1rem;
  border-left:3px solid var(--terre-vif);
  color:#3f3a36;
  font-family:Fraunces,Georgia,serif;
  font-style:italic;
  font-weight:600;
  font-size:1.05rem;
}
.esp-signature{display:flex;align-items:center;gap:.8rem;margin-top:1rem;}
.esp-signature img{width:52px;height:52px;border-radius:50%;object-fit:cover;}
.esp-signature p{margin:0;font-size:.92rem;}
.esp-signature strong{display:block;}
.esp-visuels{display:grid;grid-template-columns:1fr 1fr;gap:.8rem;}
.esp-visuels img{
  width:100%;height:100%;max-height:280px;object-fit:cover;border-radius:1rem;
  background:var(--sauge);
}
.esp-visuels img:first-child{grid-column:1 / -1;max-height:230px;}
@media (min-width:860px){
  .esp-visuels img{max-height:240px;}
  .esp-visuels img:first-child{max-height:260px;}
}

.esp-outil{
  background:var(--papier);
  border:1px solid rgba(27,77,62,.12);
  border-radius:1.1rem;
  padding:1.4rem 1.3rem 1.5rem;
  margin:1.5rem 0 2rem;
  box-shadow:0 8px 24px rgba(28,25,23,.04);
}
.esp-outil h2{margin:0 0 .6rem;font-size:clamp(1.4rem,2.5vw,1.8rem);}
.esp-outil .esp-notice{margin:0 0 1.1rem;color:#3f3a36;font-size:.98rem;}
.esp-champ{display:flex;flex-direction:column;gap:.35rem;margin-bottom:.9rem;}
.esp-champ label{font-weight:600;font-size:.95rem;}
.esp-champ input[type="number"],
.esp-champ input[type="text"]{
  border:1px solid rgba(27,77,62,.28);
  border-radius:.5rem;
  padding:.65rem .75rem;
  font-size:1rem;
  background:#fff;
  color:var(--encre);
  max-width:22rem;
}
.esp-champ input:focus{outline:2px solid var(--sapin);outline-offset:1px;}
.esp-resultat{
  background:var(--sauge);
  border-radius:.7rem;
  padding:.85rem 1rem;
  margin:1rem 0;
  font-weight:600;
  min-height:3rem;
}
.esp-bouton{
  display:inline-block;
  background:var(--sapin);
  color:var(--contraste) !important;
  text-decoration:none;
  font-weight:700;
  padding:.7rem 1.15rem;
  border-radius:999px;
  border:0;
  cursor:pointer;
  font-size:1rem;
}
.esp-bouton:hover,.esp-bouton:focus{background:var(--sapin-profond);color:var(--contraste) !important;}
.esp-bouton-secondaire{
  background:transparent;
  color:var(--sapin) !important;
  border:2px solid var(--sapin);
}
.esp-bouton-secondaire:hover,.esp-bouton-secondaire:focus{background:var(--sauge);color:var(--sapin-profond) !important;}

.esp-liste h2{margin:0 0 1rem;font-size:clamp(1.4rem,2.5vw,1.85rem);}
.esp-cartes{display:grid;grid-template-columns:1fr;gap:1rem;}
@media (min-width:700px){.esp-cartes{grid-template-columns:1fr 1fr;}}
.esp-carte{
  display:flex;flex-direction:column;
  background:var(--papier);
  border-radius:1rem;
  overflow:hidden;
  text-decoration:none;
  color:inherit;
  border:1px solid rgba(27,77,62,.1);
  min-height:100%;
}
.esp-carte:hover,.esp-carte:focus{border-color:var(--sapin);color:inherit;}
.esp-carte-visuel{aspect-ratio:16/9;background:linear-gradient(145deg,var(--sauge),var(--sapin));overflow:hidden;}
.esp-carte-visuel img{width:100%;height:100%;object-fit:cover;display:block;}
.esp-carte-corps{padding:1rem 1rem 1.15rem;flex:1;}
.esp-carte h3{margin:0 0 .35rem;font-size:1.15rem;}
.esp-meta{font-size:.85rem;color:#3f3a36;margin:0 0 .4rem;}

.esp-rubriques{display:flex;flex-wrap:wrap;gap:.5rem .7rem;margin:1.5rem 0 2rem;padding:0;list-style:none;}
.esp-rubriques a{
  display:inline-block;
  background:var(--sauge);
  color:var(--sapin-profond);
  text-decoration:none;
  padding:.4rem .8rem;
  border-radius:999px;
  font-weight:600;
  font-size:.92rem;
}
.esp-rubriques a:hover,.esp-rubriques a:focus{background:var(--sapin);color:var(--contraste);}

/* Pied */
.esp-pied{
  background:var(--sapin-profond);
  color:#e8efe6;
  padding:2.4rem 1.25rem 6.2rem;
  margin-top:1rem;
}
.esp-pied a{color:#fffbf5;}
.esp-pied a:hover,.esp-pied a:focus{color:#f3d3c4;}
.esp-pied-interieur{max-width:1120px;margin:0 auto;display:grid;gap:1.6rem;}
@media (min-width:800px){
  .esp-pied-interieur{grid-template-columns:1.4fr 1fr 1fr;gap:2rem;}
}
.esp-pied h2{color:#fffbf5;font-size:1.1rem;margin:0 0 .7rem;}
.esp-pied ul{list-style:none;margin:0;padding:0;}
.esp-pied li{margin:0 0 .4rem;}
.esp-pied .esp-logo-pied{max-width:260px;height:auto;background:var(--sable);border-radius:.4rem;padding:.4rem .6rem;}
.esp-pied-mention{margin-top:1.5rem;padding-top:1.1rem;border-top:1px solid rgba(255,251,245,.2);font-size:.9rem;grid-column:1 / -1;}
.esp-pied-copie{margin:.4rem 0 0;font-size:.88rem;opacity:.9;}
/* Masquer le pied du modele et le credit du theme */
.site-footer > .gb-container,
a[href*="gpsites.co"],
.site-info,
footer .gb-container-8e52785a{display:none !important;}
.site-footer{background:transparent;padding:0;margin:0;}

/* Barre basse */
.esp-barre{
  position:fixed;left:0;right:0;bottom:0;z-index:999;
  background:var(--sapin);
  color:var(--contraste);
  display:flex;align-items:center;justify-content:center;flex-wrap:wrap;
  gap:.6rem 1rem;
  padding:.65rem 2.4rem .65rem 1rem;
  box-shadow:0 -4px 18px rgba(28,25,23,.18);
}
.esp-barre p{margin:0;font-weight:600;}
.esp-barre .esp-bouton{background:var(--papier);color:var(--sapin-profond) !important;}
.esp-barre .esp-bouton:hover,.esp-barre .esp-bouton:focus{background:#fff;color:var(--sapin-profond) !important;}
.esp-barre-fermer{
  position:absolute;right:.5rem;top:50%;transform:translateY(-50%);
  background:transparent;border:0;color:var(--contraste);
  font-size:1.3rem;line-height:1;cursor:pointer;padding:.3rem .5rem;
}

/* Fenetre de sortie */
.esp-sortie{
  position:fixed;inset:0;z-index:10000;
  background:rgba(28,25,23,.55);
  display:none;align-items:center;justify-content:center;padding:1rem;
}
.esp-sortie.esp-ouverte{display:flex;}
.esp-sortie-boite{
  background:var(--papier);
  color:var(--encre);
  max-width:28rem;width:100%;
  border-radius:1rem;
  padding:1.6rem 1.4rem 1.4rem;
  box-shadow:0 16px 40px rgba(28,25,23,.25);
}
.esp-sortie-boite p{margin:0 0 1.1rem;font-family:Fraunces,Georgia,serif;font-size:1.25rem;font-weight:600;line-height:1.35;}
.esp-sortie-actions{display:flex;flex-wrap:wrap;gap:.6rem;align-items:center;}

/* Encadre article */
.esp-encadre{
  background:var(--sauge);
  border-top:4px solid var(--terre-vif);
  border-radius:0;
  padding:1.05rem 1.1rem;
  margin:1.6rem 0;
}
.esp-encadre p{margin:0 0 .8rem;}

/* Pages interieures */
.inside-article .entry-title,h1.gb-headline{font-family:Fraunces,Georgia,serif;color:var(--sapin-profond);}
body.home .inside-article .entry-content,
body.home .inside-article .entry-header{max-width:none;}
body.single .inside-article .entry-content,
body.page:not(.home) .inside-article .entry-content,
body.page:not(.home) .inside-article .entry-header{
  max-width:70ch;
  margin-left:auto;
  margin-right:auto;
  padding-left:1.5rem;
  padding-right:1.5rem;
}
body.single-post .site-main p,
body.single-post .site-main h2,
body.single-post .site-main h3,
body.single-post .site-main h4,
body.single-post .site-main li,
body.single-post .esp-encadre,
body.single-post .wp-block-paragraph,
body.single-post .wp-block-heading{
  max-width:70ch;
  margin-left:auto;
  margin-right:auto;
}
body.single-post .site-main h2,
body.single-post .site-main h3,
body.single-post .site-main h4,
body.single-post h2.wp-block-heading,
body.single-post h3.wp-block-heading,
body.single-post .rank-math-question,
body.single-post .yarpp-related h3{
  margin-top:2.4em;
  margin-bottom:.7em;
  text-wrap:balance;
}
.page-hero, .gb-container.gbp-hero, [class*="page-hero"]{background:var(--sauge) !important;}
body.single .entry-content, body.page .entry-content, body.archive .entry-content{
  font-size:1.05rem;
}
body.archive .page-header h1, body.blog .page-header h1{font-size:clamp(1.8rem,3vw,2.4rem);}
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 textarea{
  border:1px solid rgba(27,77,62,.28);
  border-radius:.5rem;
  background:#fff;
}
.wpcf7 input[type="submit"]{
  background:var(--sapin);color:var(--contraste);border:0;border-radius:999px;
  font-weight:700;padding:.7rem 1.2rem;cursor:pointer;
}

@media (max-width:600px){
  .esp-barre p{font-size:.92rem;}
  .esp-visuels{grid-template-columns:1fr;}
  .esp-visuels img:first-child{max-height:200px;}
}

h1,h2,h3,h4,h5,h6{text-wrap:balance;}
p,li{text-wrap:pretty;}
.esp-enveloppe{padding-left:1.5rem;padding-right:1.5rem;}
.esp-pied{padding-left:1.5rem;padding-right:1.5rem;}
.esp-pied-interieur{padding-left:0;padding-right:0;}
#esp-barre{padding-left:1.5rem !important;padding-right:3rem !important;}
#esp-barre p{padding-left:.25rem;padding-right:.25rem;}
.esp-sortie{display:none !important;}
.esp-sortie.esp-ouverte{display:flex !important;}
.esp-sortie-boite{padding:1.6rem 1.5rem 1.5rem;margin:1.5rem;}
#esp-sortie-phrase{padding:0;}

body.single-post .site-main p,
body.single-post .site-main h2,
body.single-post .site-main h3,
body.single-post .site-main h4,
body.single-post .site-main li,
body.single-post .esp-encadre,
body.single-post .wp-block-paragraph,
body.single-post .wp-block-heading,
body.single-post .rank-math-answer p,
body.single-post .gb-headline{
  max-width:58ch !important;
  margin-left:auto !important;
  margin-right:auto !important;
}
body.single-post .site-main h2,
body.single-post .site-main h3,
body.single-post .site-main h4,
body.single-post h2.wp-block-heading,
body.single-post h3.wp-block-heading,
body.single-post .rank-math-question,
body.single-post .yarpp-related h3,
body.single-post h4.gb-headline{
  margin-top:2.6em !important;
  margin-bottom:.65em !important;
  text-wrap:balance !important;
}

h1.gb-headline,
.page-hero h1,
body.archive h1,
body.page:not(.home) h1,
body.blog h1,
h1.gb-headline-bebc6a17{
  color:#14382e !important;
  text-shadow:none !important;
  background:transparent !important;
}
body.archive .page-hero,
body.page:not(.home) .page-hero,
body.blog .page-hero,
body.archive .gbp-hero,
body.page:not(.home) .gbp-hero{
  background:#d7e3d3 !important;
  background-image:none !important;
}
.esp-logo-pied{background:#eef2ef;}

header.gb-container-58a76ced,
body.page:not(.home) header.gb-container,
body.archive header.gb-container,
body.blog header.gb-container{
  background:#1b4d3e !important;
  background-image:none !important;
  color:#f7faf7 !important;
}
header.gb-container-58a76ced h1,
body.page:not(.home) header.gb-container h1,
body.archive header.gb-container h1,
body.blog header.gb-container h1,
h1.gb-headline-bebc6a17{
  color:#f7faf7 !important;
  background:transparent !important;
  text-shadow:none !important;
}

.site-header a.gb-button,
.site-header a.gbp-button--primary,
.site-header .gb-button,
.slideout-navigation a.gb-button,
.slideout-navigation a.gbp-button--primary,
#generate-slideout-menu .gb-button,
#generate-slideout-menu a.gbp-button--primary{
  background:#1b4d3e !important;
  background-color:#1b4d3e !important;
  background-image:none !important;
  color:#f7faf7 !important;
  border:0 !important;
}
.site-header a.gb-button:hover,
.slideout-navigation a.gb-button:hover,
#generate-slideout-menu .gb-button:hover{
  background:#14382e !important;
  color:#f7faf7 !important;
}
.inside-right-sidebar a[href="#"],
.widget a[href="#"]{display:none !important;}
header.gb-container img[src*="agency"],
header.gb-container img[src*="logo"],
.page-hero img[src*="agency"],
body.archive header.gb-container img,
body.page:not(.home) header.gb-container img{
  display:none !important;
}

#site-navigation a.gb-button,
#site-navigation .gb-button,
.main-navigation a.gb-button,
.main-navigation .gb-button,
.inside-navigation a.gb-button,
a.gb-button.gbp-button--primary,
a.gb-button.gbp-button--secondary,
.gbp-button--primary,
.gbp-button--secondary{
  background:#1b4d3e !important;
  background-color:#1b4d3e !important;
  background-image:none !important;
  color:#f7faf7 !important;
  border:0 !important;
  border-radius:999px !important;
}
#site-navigation a.gb-button:hover,
#site-navigation a.gb-button:focus,
.main-navigation a.gb-button:hover,
a.gb-button.gbp-button--primary:hover,
a.gb-button.gbp-button--secondary:hover,
.gbp-button--primary:hover,
.gbp-button--secondary:hover,
.gbp-button--primary:is(:hover, :focus),
.gbp-button--secondary:is(:hover, :focus){
  background:#14382e !important;
  background-color:#14382e !important;
  color:#f7faf7 !important;
}
.gb-container-58a76ced:before,
header.gb-container:before,
body.archive header.gb-container:before,
body.page:not(.home) header.gb-container:before,
body.blog header.gb-container:before{
  background-image:none !important;
  content:none !important;
}

.gb-headline-cabeec87,
.gb-container-dfabd286,
.gb-headline-5bcb8c0b,
a[href*="premieremedicalaesthetics"]{
  display:none !important;
}

.esp-archive-intro{max-width:760px;margin:0 auto 1.5rem;padding:0 1.5rem;}
.esp-archive-chapo,.esp-archive-chapo p{margin:0 0 .8rem;font-size:1.05rem;line-height:1.55;color:var(--encre);}
.esp-archive-vide{margin:0;padding:1rem 1.1rem;background:var(--sauge);border-radius:.4rem;}

.esp-calculette .esp-calc-ecran{
  background:var(--sapin);
  color:var(--contraste);
  border-radius:.7rem;
  padding:1.05rem 1.2rem 1rem;
  margin:0 0 1.2rem;
  text-align:right;
}
.esp-calc-libelle{margin:0;font-size:.82rem;letter-spacing:.06em;text-transform:uppercase;font-weight:700;opacity:.88;}
.esp-calc-chiffre{margin:.2rem 0 .25rem;font-family:Fraunces,Georgia,serif;font-size:clamp(1.85rem,5vw,2.7rem);font-weight:700;line-height:1.15;color:#f7faf7;}
.esp-calc-chiffre.esp-vide{min-height:1.15em;}
.esp-calc-detail{margin:0;font-size:.9rem;font-weight:500;opacity:.92;text-align:left;}
.esp-calc-champs{display:grid;grid-template-columns:1fr 1fr;gap:.85rem 1rem;margin-bottom:.35rem;}
.esp-calculette .esp-champ{margin-bottom:0;}
.esp-calculette .esp-champ input[type="number"],
.esp-calculette .esp-duree select{
  max-width:none;
  width:100%;
  box-sizing:border-box;
}
.esp-duree{display:flex;gap:.5rem;align-items:stretch;}
.esp-duree input{flex:1 1 auto;min-width:0;}
.esp-duree select{
  flex:0 0 7.2rem;
  border:1px solid rgba(27,77,62,.28);
  border-radius:.5rem;
  padding:.65rem .5rem;
  font-size:1rem;
  background:#fff;
  color:var(--encre);
  font-family:inherit;
}
.esp-duree select:focus{outline:2px solid var(--sapin);outline-offset:1px;}
@media (max-width:600px){
  .esp-calc-champs{grid-template-columns:1fr;}
  .esp-calc-ecran{text-align:left;}
}