body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #f5f7fa;
  color: #333;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

.site-header {
  background: #0f4c81;
  padding: 20px 0;
}

.site-header a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
}

.site-footer {
  background: #0f4c81;
  color: white;
  text-align: center;
  padding: 30px 15px;
  margin-top: 60px;
}
.hero {
  background: linear-gradient(135deg, #0f4c81, #1b6ca8);
  color: white;
  padding: 80px 20px;
  text-align: center;
}

.btn {
  display: inline-block;
  background: #ffb703;
  color: #000;
  padding: 15px 30px;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.card {
  background: white;
  padding: 25px;
  border-radius: 10px;
  text-decoration: none;
  color: #333;
}
.hero {
  background: linear-gradient(135deg, #0f4c81, #1b6ca8);
  color: #fff;
  padding: 90px 20px;
  text-align: center;
}

.hero-sub {
  font-size: 1.2em;
  max-width: 700px;
  margin: 20px auto;
}

.trust {
  background: #ffffff;
  border-bottom: 1px solid #e5e5e5;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px,1fr));
  gap: 15px;
  text-align: center;
  font-weight: bold;
  padding: 25px 0;
}

.btn-primary {
  background: #ffb703;
  color: #000;
}

.btn-secondary {
  background: #0f4c81;
  color: #fff;
}

.btn-large {
  padding: 18px 35px;
  font-size: 1.1em;
}

.how {
  background: #f5f7fa;
  padding: 60px 20px;
}

.step {
  background: white;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
}

.step span {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: #0f4c81;
  color: #fff;
  border-radius: 50%;
  line-height: 40px;
  margin-bottom: 10px;
}

.benefits {
  max-width: 700px;
  margin: auto;
  list-style: none;
  padding: 0;
}

.benefits li {
  padding: 10px 0;
  font-size: 1.05em;
}

.cta {
  background: #0f4c81;
  color: white;
  text-align: center;
  padding: 70px 20px;
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.site-branding{
  display:flex;
  align-items:center;
}

.custom-logo-link{
  display:inline-flex;
  align-items:center;
}

.custom-logo{
  height:80px;
  width:auto;
  display:block;
}

.logo-text{
  color:#fff;
  font-weight:800;
  font-size:1.15rem;
  text-decoration:none;
  letter-spacing:0.2px;
}

.site-nav .menu{
  list-style:none;
  display:flex;
  gap:18px;
  margin:0;
  padding:0;
}

.site-nav .menu a{
  color:#fff;
  text-decoration:none;
  font-weight:600;
  opacity:0.95;
}

.site-nav .menu a:hover{
  opacity:1;
  text-decoration:underline;
}
/* =========================
   HEADER BLANC
========================= */

.site-header{
  background: #ffffff;       /* fond blanc */
  border-bottom: 1px solid #e5e5e5;
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding: 1px 0;
}

/* Logo */
.custom-logo{
  height:90px;
  width:auto;
  display:block;
}

/* Texte fallback logo */
.logo-text{
  color:#0f4c81;             /* bleu confiance */
  font-weight:800;
  font-size:1.15rem;
  text-decoration:none;
}

/* Menu */
.site-nav .menu a{
  color:#0f4c81;             /* texte foncé sur fond blanc */
  text-decoration:none;
  font-weight:600;
}

.site-nav .menu a:hover{
  text-decoration:underline;
}
/* =========================
   BARRE CATEGORIES (dropdown)
========================= */
.daf-catsbar{
  background:#fff;
  border-bottom:1px solid #e5e5e5;
}

.daf-catsbar .container{
  display:flex;
  align-items:center;
  gap:14px;
  padding:8px 0; /* bande fine */
}

.daf-cats-toggle{
  display:none;
  border:1px solid #e5e5e5;
  background:#fff;
  color:#0f4c81;
  padding:10px 12px;
  border-radius:10px;
  font-weight:700;
}

.daf-caret{
  display:inline-block;
  margin-left:8px;
  width:0;height:0;
  border-left:5px solid transparent;
  border-right:5px solid transparent;
  border-top:6px solid currentColor;
  transform: translateY(1px);
}

.daf-cats-menu{ width:100%; }

.daf-cats-root{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}

.daf-cats-parent{
  position:relative;
}

.daf-cats-parent-btn{
  border:1px solid transparent;
  background:#fff;
  color:#0f4c81;
  padding:10px 12px;
  border-radius:999px;
  font-weight:800;
  cursor:pointer;
}

.daf-cats-parent-btn:hover{
  border-color:#e5e5e5;
  background:#f7f9fc;
}

.daf-cats-sub{
  position:absolute;
  left:0;
  top:calc(100% + 8px);
  min-width:320px;
  max-width:520px;
  background:#fff;
  border:1px solid #e5e5e5;
  border-radius:14px;
  padding:10px;
  box-shadow:0 18px 40px rgba(0,0,0,0.10);
  display:none;
  z-index:999;
}

.daf-cats-sub li{ list-style:none; }
.daf-cats-sub a{
  display:block;
  padding:10px 10px;
  border-radius:10px;
  color:#0b2e4a;
  text-decoration:none;
  font-weight:600;
  line-height:1.2;
}
.daf-cats-sub a:hover{
  background:#f5f7fa;
}

/* Desktop: hover ouvre */
@media (min-width: 980px){
  .daf-cats-parent:hover > .daf-cats-sub{
    display:block;
  }
}

/* Mobile: menu déroulant + accordéon */
@media (max-width: 979px){
  .daf-cats-toggle{ display:inline-flex; align-items:center; }
  .daf-cats-root{ display:block; width:100%; }
  .daf-cats-menu{ display:none; width:100%; }
  .daf-cats-menu.is-open{ display:block; }

  .daf-cats-parent{ margin:8px 0; }
  .daf-cats-parent-btn{
    width:100%;
    text-align:left;
    border:1px solid #e5e5e5;
    border-radius:12px;
  }

  .daf-cats-sub{
    position:static;
    min-width:0;
    max-width:none;
    border:none;
    border-left:3px solid #e5e5e5;
    border-radius:0;
    box-shadow:none;
    padding:6px 0 0 10px;
    display:none;
  }
  .daf-cats-parent.is-open > .daf-cats-sub{ display:block; }
}
/* =========================
   HEADER BANNIÈRE BTP
========================= */

.header-inner{
  display:flex;
  align-items:center;
  gap:20px;
}

.site-branding{
  flex-shrink:0;
}

.header-banner{
  flex:1;
  max-width:720px;
}

.header-banner img{
  width:100%;
  height:100px;
  object-fit:cover;
  border-radius:5px;
  display:block;
}

/* Tablette */
@media (max-width: 1024px){
  .header-banner img{
    height:60px;
  }
}

/* Mobile : on masque la bannière */
@media (max-width: 768px){
  .header-banner{
    display:none;
  }
}
/* Sticky CTA mobile */
.daf-sticky-cta{
  display:none;
}

@media (max-width: 768px){
  .daf-sticky-cta{
    display:block;
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    padding:10px 12px;
    background: rgba(255,255,255,0.92);
    border-top:1px solid #e5e5e5;
    backdrop-filter: blur(6px);
    z-index:9999;
  }

  .daf-sticky-btn{
    display:block;
    text-align:center;
    background:#ffb703;
    color:#000;
    font-weight:800;
    padding:14px 14px;
    border-radius:12px;
    text-decoration:none;
  }

  /* évite que le sticky cache le bas de page */
  body{ padding-bottom:70px; }
}
.daf-form-trust{
  margin: 14px 0 18px;
  padding: 12px 14px;
  background:#f5f7fa;
  border:1px solid #e5e5e5;
  border-radius:12px;
  color:#0b2e4a;
}
.daf-header-cta{
  margin-left:14px;
  background:#ffb703;
  color:#000;
  font-weight:800;
  padding:10px 14px;
  border-radius:999px;
  text-decoration:none;
  white-space:nowrap;
}
@media (max-width: 900px){
  .daf-header-cta{ display:none; }
}
.daf-faq{
  margin-top:40px;
}
.daf-faq ul{
  list-style:none;
  padding:0;
}
.daf-faq li{
  margin-bottom:18px;
  padding-bottom:14px;
  border-bottom:1px solid #e5e5e5;
}
.daf-related{
  margin-top:40px;
}
.daf-related ul{
  columns:2;
}
.daf-related a{
  text-decoration:none;
  color:#0f4c81;
}

