/* Fosses-septiques.fr — design clair 2026, surcharge de presentation */
:root{--navy:#102b3d;--navy-soft:#173f56;--blue:#2389d1;--paper:#f3f7fa;--ink:#263747;--line:#dce8ef}
html{scroll-behavior:smooth;scroll-padding-top:105px}
body{background:var(--paper)!important;color:var(--ink)!important;font:16px/1.75 Arial,Helvetica,sans-serif!important;-webkit-font-smoothing:antialiased}
body p,body li{line-height:1.8;color:inherit}body a{color:#1377b9}body a:hover,body a:focus{color:#07517e}
h1,h2,h3,h4,h5,h6{font-family:Arial,Helvetica,sans-serif!important;color:var(--navy)!important;font-weight:700!important;line-height:1.3!important}
.container{max-width:1200px}
/* Barre de navigation : fond fonce uniquement ici */
.navbar.navbar-default,.navbar.navbar-default.navbar-clone,.navbar.navbar-default.navbar-stick{background:var(--navy)!important;border:0!important;border-radius:0!important;box-shadow:0 3px 15px rgba(13,42,60,.13)!important;padding:15px 0!important;min-height:68px}
.navbar-default .navbar-brand{height:auto!important;line-height:36px!important;padding-top:0!important;padding-bottom:0!important}
.navbar-default .navbar-brand p,.navbar-default .navbar-brand p:hover,.navbar-default .navbar-brand p:focus{color:#fff!important;font-family:Arial,Helvetica,sans-serif!important;font-size:24px!important;font-weight:700!important;margin:0!important;line-height:36px!important}
.navbar-default .navbar-brand i{color:#65b9f1!important}
.navbar-default .navbar-nav>li>a{color:#f1f7fc!important;font-family:Arial,Helvetica,sans-serif!important;font-size:14px!important;font-weight:600!important;margin:0 4px!important;padding:10px 13px!important;border-radius:6px!important;display:block!important}
.navbar-default .navbar-nav>li>a:after{display:none!important}
.navbar-default .navbar-nav>li>a:hover,.navbar-default .navbar-nav>.active>a,.navbar-default .navbar-nav>.active>a:hover{color:#fff!important;background:#23506a!important}
.navbar-default .navbar-toggle{border:1px solid #6e9ab2!important;border-radius:6px!important;padding:8px!important;margin:0 12px 0 0!important}
.navbar-default .navbar-toggle .icon-bar{background:#fff!important}
/* Introduction : vraie surface blanche et texte fonce */
header.header{background:#fff!important;color:var(--ink)!important;height:auto!important;min-height:0!important;padding:110px 0 54px!important;border-bottom:1px solid var(--line)!important}
header.header .header-main{display:flex!important;flex-wrap:wrap!important;align-items:center!important;padding:0!important;margin:0 -15px!important}
header.header .header-main>h1{flex:0 0 100%;width:100%;font-size:clamp(29px,3.1vw,41px)!important;line-height:1.2!important;color:var(--navy)!important;margin:0 15px 32px!important;padding:0 0 18px!important;border-bottom:3px solid #dbeef9!important}
header.header .header-main .header-main-left,header.header .header-main .header-main-right{float:none!important;left:auto!important;right:auto!important;margin-left:0!important;padding:0 15px!important}
header.header .header-main .header-main-left{order:1!important}
header.header .header-main .header-main-right{order:2!important;text-align:left!important}
header.header .header-main p{color:#334b5b!important;font-size:16px!important;line-height:1.85!important;margin:0 0 18px!important;text-align:left!important}
header.header .header-main a{color:#1377b9!important;text-decoration:underline;text-decoration-color:#b6d8ed;text-underline-offset:3px}
header.header .header-main a:hover{color:#07517e!important}
header.header .header-main h2,header.header .header-main h3{color:var(--navy)!important}
header.header .header-main .header-main-left img{max-height:none!important;max-width:100%!important;height:auto!important;object-fit:contain!important;margin:0 auto!important;background:#fff!important;border:1px solid var(--line);border-radius:12px;padding:15px;box-shadow:0 10px 28px rgba(16,43,61,.07)}
header.header .header-main .header-main-right>img{max-height:85px!important;max-width:250px!important;object-fit:contain!important;margin:0 0 12px!important}
/* Articles : cartes lisibles */
.blog-wrapper{background:var(--paper)!important;padding:48px 0 60px!important}
.blog-wrapper .blog-item{background:#fff!important;border:1px solid var(--line)!important;border-radius:13px!important;box-shadow:0 8px 26px rgba(16,43,61,.045)!important;padding:clamp(20px,3vw,38px)!important;margin-bottom:28px!important;overflow-wrap:anywhere}
.blog-wrapper .blog-title{border-bottom:1px solid var(--line)!important;padding-bottom:14px!important;margin-bottom:24px!important}
.blog-wrapper .blog-title h2,.blog-wrapper .blog-title h3{color:var(--navy)!important;font-size:clamp(24px,2.5vw,31px)!important;margin:0!important}
.blog-entry-content{color:var(--ink)!important;font-size:16px!important;line-height:1.8!important}
.blog-entry-content h3{font-size:23px!important;margin-top:28px!important}
.blog-entry-content img{max-width:100%!important;height:auto!important;border-radius:8px}
.blog-entry-content table{display:block;max-width:100%;overflow-x:auto}
.blog-entry-content blockquote{background:#eaf4f9;border-left:4px solid var(--blue);padding:16px 20px}
.sidebar,.widget{color:var(--ink)}.sidebar{background:#fff!important;border:1px solid var(--line)!important;border-radius:13px!important;padding:22px!important}
.sidebar a,.widget a{color:#1476b3!important}
.devis{background:#fff!important;border:1px solid var(--line)!important;border-radius:12px!important;box-shadow:0 7px 22px rgba(16,43,61,.05)!important}
.btn-primary{background:var(--blue)!important;border-color:var(--blue)!important;color:#fff!important;border-radius:6px!important}
.page-heading{background:#eaf4f9!important}
.footer{background:var(--navy)!important;color:#e5f0f7!important;padding:36px 0!important}.footer h5,.footer p{color:#e5f0f7!important}.footer a{color:#b7e3ff!important}
*:focus-visible{outline:3px solid var(--blue);outline-offset:3px}
@media(min-width:992px){header.header .header-main .header-main-left,header.header .header-main .header-main-right{width:50%!important;flex:0 0 50%!important}}
@media(max-width:991px){header.header{padding-top:100px!important}header.header .header-main .header-main-left,header.header .header-main .header-main-right{width:100%!important;flex:0 0 100%!important}.navbar-default .navbar-collapse{background:var(--navy)!important}.navbar-default .navbar-nav>li>a{padding:12px 15px!important}}
@media(max-width:767px){header.header{padding:91px 0 30px!important}header.header .header-main>h1{margin-bottom:20px!important;font-size:29px!important}.blog-wrapper{padding:25px 0!important}.blog-wrapper .blog-item{padding:20px 16px!important}.navbar-default .navbar-brand p{font-size:19px!important}.header-main-right{padding-top:20px!important}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* v5 : nouveau logo blanc et alignement superieur des deux colonnes */
header.header .header-main{align-items:flex-start!important}
header.header .header-main .header-main-right>br{display:none!important}
header.header .header-main .header-main-left,
header.header .header-main .header-main-right{padding-top:0!important}
header.header .header-main .header-main-right>img[src*="logo-fosse-septique"]{
  display:block!important;background:transparent!important;border:0!important;
  border-radius:0!important;box-shadow:none!important;padding:0!important;
  margin:0 0 18px!important;width:100%!important;max-width:360px!important;
  max-height:none!important;height:auto!important;box-sizing:border-box!important;
}
header.header .header-main .header-main-left>img{display:block!important;margin-top:0!important}
@media(max-width:991px){header.header .header-main .header-main-right{padding-top:24px!important}}
/* Carte devis : bouton sous l'image, texte contenu dans la largeur */
.sidebar .widget.devis img,.widget.devis img{display:block!important;width:100%!important;height:auto!important;margin:0!important;border-radius:7px 7px 0 0!important}
.sidebar .widget.devis .btn,.widget.devis .btn{
  display:flex!important;align-items:center!important;justify-content:center!important;
  width:100%!important;max-width:100%!important;min-width:0!important;
  box-sizing:border-box!important;margin:8px 0 0!important;
  padding:12px 8px!important;font-size:15px!important;line-height:1.35!important;
  white-space:normal!important;overflow-wrap:break-word!important;
  color:#fff!important;text-align:center!important;text-decoration:none!important;
}
.widget.devis .btn i{margin-right:7px!important;flex-shrink:0!important;color:#fff!important}
.widget.devis .btn:hover,.widget.devis .btn:focus{color:#fff!important;background:#176ca8!important}

/* Paragraphe de conclusion de l'introduction sur toute la largeur */
header.header .header-main .header-main-suite{order:3!important;flex:0 0 100%!important;width:100%!important;padding:0 15px!important;margin-top:24px!important}
header.header .header-main .header-main-suite p{margin:0!important}
@media(max-width:991px){header.header .header-main .header-main-suite{margin-top:18px!important}}
