/*
Theme Name: AD BAT – thème enfant Kadence
Theme URI: https://batiment-ad.fr
Description: Thème enfant de Kadence pour AD BAT. Contient le style de la one-page et des modèles de blocs modifiables dans l'éditeur.
Author: AD BAT
Template: kadence
Version: 1.0.5
Text Domain: adbat-child
*/

/* ===== Base ===== */
.adbat{--navy:#09192B;--navy2:#13304F;--blue:#173e5b;--pale:#f1f3f6;--text:#142433;--muted:#5e6b76;--line:#e2e7eb;color:var(--text);font-family:inherit;line-height:1.65;overflow-x:clip}
.adbat *{box-sizing:border-box}
.adbat .wp-block-group,.adbat .wp-block-cover,.adbat .wp-block-details,.adbat .wp-block-buttons{margin-top:0;margin-bottom:0}
.adbat p{margin:0 0 14px}
.adbat section{padding:clamp(58px,7vw,100px) 24px;scroll-margin-top:100px}
.adbat .in{width:min(1160px,100%);margin-left:auto;margin-right:auto}
.adbat h1.wp-block-heading,.adbat h2.wp-block-heading,.adbat h3.wp-block-heading{line-height:1.12;margin:0 0 .5em;letter-spacing:-.02em;font-weight:700;color:var(--navy)}
.adbat h1.wp-block-heading{font-size:clamp(2.3rem,5.2vw,4.2rem);color:#fff;max-width:19ch}
.adbat h2.wp-block-heading{font-size:clamp(1.8rem,3.2vw,2.7rem)}
.adbat h3.wp-block-heading{font-size:1.15rem;letter-spacing:-.01em;margin-bottom:.4em}
.adbat .lead{font-size:1.08rem;max-width:62ch;color:var(--muted)}
.adbat .tete{max-width:950px;margin-bottom:40px;text-align:left}
.adbat p.tag{display:inline-block;background:#e3ebf5;color:var(--navy2);font-size:.82rem;font-weight:700;padding:6px 14px;border-radius:99px;margin-bottom:16px}
.adbat a:focus-visible,.adbat summary:focus-visible{outline:3px solid #7FB0E8;outline-offset:3px}

/* ===== Boutons ===== */
.adbat .wp-block-buttons{display:flex;flex-wrap:wrap;gap:12px;margin:28px 0 8px}
.adbat .wp-block-button .wp-block-button__link{display:inline-flex;align-items:center;justify-content:center;padding:14px 26px;border-radius:999px;background:#fff;color:var(--navy);font-weight:700;font-size:1rem;line-height:1.3;text-decoration:none;border:1.5px solid #fff;transition:transform .25s,box-shadow .25s,background .25s,color .25s,border-color .25s}
.adbat .wp-block-button .wp-block-button__link:hover{background:#fff;color:var(--navy);transform:translateY(-3px);box-shadow:0 12px 28px rgba(0,0,0,.25)}
.adbat .btn-fantome .wp-block-button__link{background:transparent;color:#fff;border-color:rgba(255,255,255,.55)}
.adbat .btn-fantome .wp-block-button__link:hover{background:#fff;color:var(--navy)}
.adbat .btn-sombre .wp-block-button__link{background:var(--navy);color:#fff;border-color:var(--navy)}
.adbat .btn-sombre .wp-block-button__link:hover{background:var(--navy2);border-color:var(--navy2);color:#fff}

/* ===== Bandeau d'infos ===== */
.adbat .infos{background:#050E19;color:#C9D3E0;font-size:.88rem;padding:10px 24px}
.adbat .infos .in{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px 28px}
.adbat .infos p{margin:0}
.adbat .infos a{color:#fff;text-decoration:none;font-weight:700}

/* ===== Bannière d'ouverture (bloc Couverture : photo ou vidéo au choix) ===== */
.adbat .hero{position:relative;min-height:min(88vh,780px);padding:0 24px;display:flex;align-items:center;justify-content:flex-start;color:#fff;background-color:#0B2038;background-image:linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px);background-size:56px 56px}
.adbat .hero .wp-block-cover__inner-container{width:min(1160px,100%);margin:0 auto;padding:clamp(80px,10vw,140px) 0;color:#fff;text-align:left;animation:adbat-monte .9s ease-out both}
.adbat .hero .signature{font-size:clamp(1.25rem,2.4vw,1.65rem);font-weight:700;color:#fff;margin-bottom:20px}
.adbat .hero .lead{color:#E3EAF2;max-width:720px;font-size:1.1rem}
.adbat .puces{display:flex;flex-wrap:wrap;gap:10px 26px;margin-top:36px}
.adbat .puces p{margin:0;color:#D2DAE6;font-size:.95rem}
.adbat .puces p::before{content:"✓";color:#7FB0E8;font-weight:700;margin-right:8px}
@keyframes adbat-monte{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:none}}

/* ===== Fonds de sections ===== */
.adbat .s-services,.adbat .s-methode,.adbat .s-faq{background:#fff}
.adbat .s-engagements,.adbat .s-projets,.adbat .s-zone{background:var(--pale)}

/* ===== Cartes (services + projets) ===== */
.adbat .cartes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.adbat .carte{display:flex;flex-direction:column;align-items:flex-start;background:var(--pale);border:1px solid #e8ebef;border-radius:18px;padding:26px;min-height:190px;text-align:left;transition:background-color .35s ease,border-color .35s ease,box-shadow .35s ease,transform .35s ease}
.adbat .s-projets .carte{background:#fff;border-color:var(--line)}
.adbat .carte p{color:var(--muted);margin:0;transition:color .35s}
.adbat .carte h3.wp-block-heading{transition:color .35s}
.adbat .carte .met{margin-top:14px;font-weight:700;font-size:.84rem;color:var(--blue);transition:color .35s}
/* Pictos dessinés sur la carte (aucun bloc vide dans l'éditeur) */
.adbat .carte::before,.adbat .valeur::before{content:"";display:block;flex:none;width:44px;height:44px;border-radius:12px;margin-bottom:18px;background:var(--navy) var(--iw,none) center/22px 22px no-repeat;transition:background-color .35s,transform .35s}
.adbat .valeur::before{width:40px;height:40px;margin-bottom:12px}
.adbat .carte.cta::before{display:none}
/* Survol : fond bleu marine, picto sur fond blanc, dessin bleu marine */
.adbat .s-services .carte:not(.cta):hover,.adbat .s-services .carte:not(.cta):focus-within,.adbat .s-projets .carte:hover,.adbat .s-projets .carte:focus-within{background:var(--navy);border-color:var(--navy);box-shadow:0 18px 38px rgba(9,25,43,.22);transform:translateY(-6px)}
.adbat .s-services .carte:not(.cta):hover h3.wp-block-heading,.adbat .s-projets .carte:hover h3.wp-block-heading,.adbat .s-services .carte:not(.cta):focus-within h3.wp-block-heading,.adbat .s-projets .carte:focus-within h3.wp-block-heading,.adbat .s-projets .carte:hover .met,.adbat .s-projets .carte:focus-within .met{color:#fff}
.adbat .s-services .carte:not(.cta):hover p,.adbat .s-projets .carte:hover p,.adbat .s-services .carte:not(.cta):focus-within p,.adbat .s-projets .carte:focus-within p{color:#dbe5ed}
.adbat .s-services .carte:not(.cta):hover::before,.adbat .s-projets .carte:hover::before,.adbat .s-services .carte:not(.cta):focus-within::before,.adbat .s-projets .carte:focus-within::before{background:#fff var(--in,none) center/22px 22px no-repeat;transform:rotate(-6deg) scale(1.08)}
/* Carte « Un projet en tête ? » : bleu marine par défaut */
.adbat .carte.cta{background:var(--navy);border-color:var(--navy);justify-content:space-between}
.adbat .carte.cta h3.wp-block-heading{color:#fff}
.adbat .carte.cta p{color:#dbe5ed}
.adbat .carte.cta .wp-block-buttons{margin:18px 0 0}
.adbat .carte.cta:hover{background:var(--navy2);transform:translateY(-4px);box-shadow:0 18px 38px rgba(9,25,43,.25)}
.adbat .cartes>*,.adbat .valeurs>*,.adbat .etapes>*,.adbat .villes>*,.adbat .puces>*,.adbat .liens-nav>*{margin-top:0;margin-bottom:0}

/* ===== Engagements ===== */
.adbat .duo{display:grid;grid-template-columns:1fr 1fr;gap:clamp(35px,6vw,80px);align-items:center}
.adbat .panneau{min-height:340px;border-radius:18px;overflow:hidden;padding:clamp(28px,5vw,56px);justify-content:flex-start;align-items:center;color:#fff;background-color:#0B2038;background-image:linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px);background-size:56px 56px}
.adbat .panneau .wp-block-cover__inner-container{width:100%;color:#fff;text-align:left}
.adbat .panneau p{font-size:clamp(1.7rem,3.2vw,2.4rem);font-weight:800;letter-spacing:-.02em;line-height:1.1;color:#fff;margin:0;padding:14px 0;border-bottom:1px solid rgba(255,255,255,.2);transition:padding-left .3s}
.adbat .panneau p:last-child{border-bottom:0}
.adbat .panneau p:hover{padding-left:14px}
.adbat .valeurs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 28px;margin:28px 0}
.adbat .valeur{border-top:2px solid var(--line);padding-top:16px;transition:border-color .3s,transform .3s}
.adbat .valeur:hover{border-color:var(--navy);transform:translateY(-4px)}
.adbat .valeur p{color:var(--muted);font-size:.94rem;margin:0}

/* ===== Méthode ===== */
.adbat .etapes{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;counter-reset:etape}
.adbat .etape{counter-increment:etape;position:relative;background:var(--pale);border-radius:18px;padding:28px 22px 25px;border-top:4px solid var(--blue);transition:transform .3s,box-shadow .3s}
.adbat .etape::before{content:counter(etape);width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:var(--navy);color:#fff;font-size:1.2rem;font-weight:800;margin-bottom:20px;transition:transform .3s}
.adbat .etape:hover{transform:translateY(-6px);box-shadow:0 18px 38px rgba(9,25,43,.14)}
.adbat .etape:hover::before{transform:scale(1.15)}
.adbat .etape:not(:last-child)::after{content:"→";position:absolute;right:-19px;top:44px;z-index:3;color:var(--blue);font-size:1.8rem;font-weight:800;line-height:1}
.adbat .etape p{color:var(--muted);margin:0}

/* ===== FAQ (alignée sur la largeur des autres sections) ===== */
.adbat .in.faq{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:clamp(28px,5vw,64px);align-items:stretch}
.adbat .faq-photo{min-height:280px;height:100%;border-radius:18px;overflow:hidden;background-color:#e5e9ee}
.adbat .faq-content{min-width:0}
.adbat .faq-content .tete{margin-bottom:16px}
.adbat details.wp-block-details{border-bottom:1px solid var(--line);padding:8px 0}
.adbat details.wp-block-details summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:15px;padding:10px 0;font-weight:700;font-size:1rem;color:var(--navy);transition:padding-left .25s,color .25s}
.adbat details.wp-block-details summary::-webkit-details-marker{display:none}
.adbat details.wp-block-details summary::after{content:"+";flex:none;width:32px;height:32px;border-radius:50%;background:var(--pale);display:flex;align-items:center;justify-content:center;font-size:1.3rem;transition:transform .3s,background .3s,color .3s}
.adbat details.wp-block-details summary:hover{padding-left:8px;color:var(--navy2)}
.adbat details.wp-block-details[open] summary::after{transform:rotate(45deg);background:var(--navy);color:#fff}
.adbat details.wp-block-details p{color:var(--muted);margin:4px 0 8px}

/* ===== Zone d'intervention ===== */
.adbat .villes{display:flex;flex-wrap:wrap;gap:12px}
.adbat .villes p{margin:0;background:#fff;border:1px solid var(--line);border-radius:99px;padding:10px 22px;font-weight:700;color:var(--navy);transition:background .25s,color .25s,transform .25s}
.adbat .villes p:hover{background:var(--navy);color:#fff;transform:translateY(-3px)}

/* ===== Bandeau d'appel à l'action ===== */
.adbat .bandeau{background:var(--navy);color:#fff;padding:36px 24px}
.adbat .bandeau .in{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px}
.adbat .bandeau h2.wp-block-heading{color:#fff;font-size:1.5rem;margin:0 0 4px}
.adbat .bandeau p{margin:0;color:#dbe5ed}
.adbat .bandeau .wp-block-buttons{margin:0}

/* ===== Ruban défilant ===== */
.adbat .ruban{background:#eaf0f5;color:var(--navy);overflow:hidden;padding:13px 0;white-space:nowrap}
.adbat .ruban-track{display:flex;width:max-content;animation:adbat-defile 28s linear infinite}
.adbat .ruban:hover .ruban-track{animation-play-state:paused}
.adbat .ruban-groupe{display:flex;align-items:center;gap:36px;flex:0 0 auto;padding-right:36px}
.adbat .ruban-groupe p{margin:0;flex:0 0 auto;font-weight:800;letter-spacing:.04em}
@keyframes adbat-defile{to{transform:translateX(-50%)}}

/* ===== Contact + formulaire ===== */
.adbat .s-contact{background:var(--navy);color:#fff}
.adbat .s-contact h2.wp-block-heading{color:#fff}
.adbat .s-contact .lead{color:#dbe5ed}
.adbat .contact-layout{display:grid;grid-template-columns:1fr 1fr;gap:clamp(28px,5vw,64px);align-items:start}
.adbat .coord{margin-top:24px}
.adbat .coord p{margin:0;padding:12px 0;border-bottom:1px solid rgba(255,255,255,.16)}
.adbat .coord a{color:#fff;font-weight:700}
.adbat .formulaire{background:#fff;color:var(--text);border-radius:18px;padding:32px}
.adbat .formulaire h3.wp-block-heading{font-size:1.4rem;margin-bottom:18px}
.adbat .formulaire label{font-weight:700;color:var(--navy);font-size:.93rem}
.adbat .formulaire input:not([type=checkbox]):not([type=radio]):not([type=submit]),.adbat .formulaire select,.adbat .formulaire textarea{width:100%;padding:14px 16px;border:1.5px solid var(--line);border-radius:12px;background:var(--pale);font:inherit;color:var(--text);transition:border-color .2s,background .2s,box-shadow .2s}
.adbat .formulaire input:focus,.adbat .formulaire select:focus,.adbat .formulaire textarea:focus{outline:none;border-color:var(--navy);background:#fff;box-shadow:0 0 0 4px rgba(9,25,43,.1)}
.adbat .formulaire button[type=submit],.adbat .formulaire input[type=submit],.adbat .formulaire .ff-btn-submit{background:var(--navy)!important;color:#fff!important;border:0!important;border-radius:99px!important;padding:16px 34px!important;font-weight:700!important;cursor:pointer;transition:transform .25s,background .25s,box-shadow .25s}
.adbat .formulaire button[type=submit]:hover,.adbat .formulaire input[type=submit]:hover,.adbat .formulaire .ff-btn-submit:hover{background:var(--navy2)!important;transform:translateY(-3px);box-shadow:0 12px 26px rgba(9,25,43,.3)}

/* ===== Pied de page + bouton d'appel ===== */
.adbat .liens-footer{background:#041522;color:#fff;padding:24px}
.adbat .liens-footer .in{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px 20px}
.adbat .liens-footer p{margin:0}
.adbat .liens-nav{display:flex;flex-wrap:wrap;gap:10px 20px}
.adbat .liens-footer a{color:#fff;text-decoration:none;font-size:.9rem}
.adbat .liens-footer a:hover{text-decoration:underline}
.adbat .appel{position:fixed;right:20px;bottom:20px;z-index:50}
.adbat .appel p{margin:0}
.adbat .appel a{display:block;background:var(--navy);color:#fff;font-weight:800;text-decoration:none;padding:13px 20px;border-radius:99px;box-shadow:0 8px 24px rgba(0,0,0,.3);border:1px solid rgba(255,255,255,.22)}

/* ===== Responsive ===== */
@media(max-width:900px){
  .adbat .cartes,.adbat .etapes{grid-template-columns:repeat(2,minmax(0,1fr))}
  .adbat .etape::after{display:none}
  .adbat .duo,.adbat .contact-layout,.adbat .in.faq{grid-template-columns:1fr}
  .adbat .faq-photo{height:240px;min-height:240px}
}
@media(max-width:640px){
  .adbat section{padding:58px 18px}
  .adbat .infos{padding:10px 18px}.adbat .infos .in{flex-direction:column}
  .adbat .hero{padding:0 18px}
  .adbat .cartes,.adbat .etapes,.adbat .valeurs{grid-template-columns:1fr}
  .adbat .bandeau{padding:30px 18px}
  .adbat .appel{left:14px;right:14px;bottom:14px}.adbat .appel a{text-align:center}
}
@media(prefers-reduced-motion:reduce){.adbat *{transition:none!important;animation:none!important}}

/* ===== Éditeur WordPress : rendu stable, mêmes grilles si un conteneur intermédiaire est ajouté ===== */
.editor-styles-wrapper .adbat .appel{position:static}
.editor-styles-wrapper .adbat .ruban-track{animation:none}
.editor-styles-wrapper .adbat .hero .wp-block-cover__inner-container{animation:none}



/* ===== RENFORTS (1.0.3) : site public, priorité sur Kadence et WordPress ===== */
body:not(.wp-admin):not(.editor-styles-wrapper) .adbat{overflow-x:clip}
body:not(.wp-admin):has(.adbat){overflow-x:clip}
body:not(.wp-admin):has(.adbat) .content-area{margin-top:0!important;margin-bottom:0!important}
body:not(.wp-admin):has(.adbat) .entry.content-bg{background:transparent!important;box-shadow:none!important}
body:not(.wp-admin):has(.adbat) .entry-content-wrap{padding:0!important}
body:not(.wp-admin):has(.adbat) .entry-header{display:none!important}
body:not(.wp-admin):has(.adbat) .single-content{margin:0!important}
body:not(.wp-admin):has(.adbat) .content-container.site-container{max-width:none!important;padding-left:0!important;padding-right:0!important}
body:not(.wp-admin):not(.editor-styles-wrapper) .adbat.alignfull,body:not(.wp-admin):not(.editor-styles-wrapper) .entry-content .adbat.alignfull{width:100vw!important;max-width:100vw!important;margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important}
body:not(.wp-admin):not(.editor-styles-wrapper) .adbat .in{width:min(1160px,100%)!important;max-width:1160px!important;margin-left:auto!important;margin-right:auto!important}
body:not(.wp-admin):not(.editor-styles-wrapper) .adbat .cartes{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important}
body:not(.wp-admin):not(.editor-styles-wrapper) .adbat .valeurs{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:22px 28px!important}
body:not(.wp-admin):not(.editor-styles-wrapper) .adbat .etapes{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:18px!important}
body:not(.wp-admin):not(.editor-styles-wrapper) .adbat .duo{display:grid!important;grid-template-columns:1fr 1fr!important;gap:clamp(35px,6vw,80px)!important;align-items:center!important}
body:not(.wp-admin):not(.editor-styles-wrapper) .adbat .contact-layout{display:grid!important;grid-template-columns:1fr 1fr!important;gap:clamp(28px,5vw,64px)!important;align-items:start!important}
body:not(.wp-admin):not(.editor-styles-wrapper) .adbat .in.faq{display:grid!important;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)!important;gap:clamp(28px,5vw,64px)!important;align-items:stretch!important}
body:not(.wp-admin):not(.editor-styles-wrapper) .adbat .villes,body:not(.wp-admin):not(.editor-styles-wrapper) .adbat .puces,body:not(.wp-admin):not(.editor-styles-wrapper) .adbat .liens-nav{display:flex!important;flex-wrap:wrap!important}
body:not(.wp-admin):not(.editor-styles-wrapper) .adbat .infos .in,body:not(.wp-admin):not(.editor-styles-wrapper) .adbat .bandeau .in,body:not(.wp-admin):not(.editor-styles-wrapper) .adbat .liens-footer .in{display:flex!important;flex-wrap:wrap!important;justify-content:space-between!important;align-items:center!important}
body:not(.wp-admin):not(.editor-styles-wrapper) .adbat .ruban-track{display:flex!important;width:max-content!important}
body:not(.wp-admin):not(.editor-styles-wrapper) .adbat .ruban-groupe{display:flex!important;align-items:center!important}
body:not(.wp-admin):not(.editor-styles-wrapper) .adbat .wp-block-buttons{display:flex!important;flex-wrap:wrap!important}
body:not(.wp-admin):not(.editor-styles-wrapper) .adbat .carte{display:flex!important;flex-direction:column!important;align-items:flex-start!important}
@media(max-width:900px){
  body:not(.wp-admin):not(.editor-styles-wrapper) .adbat .cartes,body:not(.wp-admin):not(.editor-styles-wrapper) .adbat .etapes{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body:not(.wp-admin):not(.editor-styles-wrapper) .adbat .duo,body:not(.wp-admin):not(.editor-styles-wrapper) .adbat .contact-layout,body:not(.wp-admin):not(.editor-styles-wrapper) .adbat .in.faq{grid-template-columns:1fr!important}
}
@media(max-width:640px){
  body:not(.wp-admin):not(.editor-styles-wrapper) .adbat .cartes,body:not(.wp-admin):not(.editor-styles-wrapper) .adbat .etapes,body:not(.wp-admin):not(.editor-styles-wrapper) .adbat .valeurs{grid-template-columns:1fr!important}
  body:not(.wp-admin):not(.editor-styles-wrapper) .adbat .infos .in{flex-direction:column!important;align-items:flex-start!important}
}

/* ===== ÉDITEUR : les conteneurs intermédiaires de WordPress deviennent transparents ===== */
.adbat .wp-block-group>.block-editor-inner-blocks,
.adbat .wp-block-group>.block-editor-block-list__layout,
.adbat .wp-block-group>.block-editor-inner-blocks>.block-editor-block-list__layout,
.adbat .wp-block-cover__inner-container>.block-editor-inner-blocks,
.adbat .wp-block-cover__inner-container>.block-editor-block-list__layout,
.adbat .wp-block-cover__inner-container>.block-editor-inner-blocks>.block-editor-block-list__layout{display:contents}
.adbat :is(.cartes,.valeurs,.etapes,.villes,.puces,.liens-nav,.duo,.contact-layout,.in.faq)>*{margin-block:0!important}
.editor-styles-wrapper .adbat .appel{position:static}
.editor-styles-wrapper .adbat .ruban-track{animation:none}
.editor-styles-wrapper .adbat .hero .wp-block-cover__inner-container{animation:none}

/* ===== Icônes (une variable blanche et une bleu marine par picto) ===== */
.adbat .i-platrerie{--iw:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'%23ffffff'%20stroke-width%3D'1.8'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M3%2021h18M5%2021V8l7-5%207%205v13M9%2021v-6h6v6'%2F%3E%3C%2Fsvg%3E");--in:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'%2309192B'%20stroke-width%3D'1.8'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M3%2021h18M5%2021V8l7-5%207%205v13M9%2021v-6h6v6'%2F%3E%3C%2Fsvg%3E")}
.adbat .i-peinture{--iw:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'%23ffffff'%20stroke-width%3D'1.8'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M4%204h12v6H4zM10%2010v4M8%2014h4v7H8z'%2F%3E%3C%2Fsvg%3E");--in:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'%2309192B'%20stroke-width%3D'1.8'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M4%204h12v6H4zM10%2010v4M8%2014h4v7H8z'%2F%3E%3C%2Fsvg%3E")}
.adbat .i-carrelage{--iw:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'%23ffffff'%20stroke-width%3D'1.8'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M3%203h8v8H3zM13%203h8v8h-8zM3%2013h8v8H3zM13%2013h8v8h-8z'%2F%3E%3C%2Fsvg%3E");--in:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'%2309192B'%20stroke-width%3D'1.8'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M3%203h8v8H3zM13%203h8v8h-8zM3%2013h8v8H3zM13%2013h8v8h-8z'%2F%3E%3C%2Fsvg%3E")}
.adbat .i-plomberie{--iw:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'%23ffffff'%20stroke-width%3D'1.8'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M12%203c3%204%206%207%206%2011a6%206%200%200%201-12%200c0-4%203-7%206-11z'%2F%3E%3C%2Fsvg%3E");--in:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'%2309192B'%20stroke-width%3D'1.8'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M12%203c3%204%206%207%206%2011a6%206%200%200%201-12%200c0-4%203-7%206-11z'%2F%3E%3C%2Fsvg%3E")}
.adbat .i-elec{--iw:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'%23ffffff'%20stroke-width%3D'1.8'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M13%202%204%2014h7l-1%208%209-12h-7z'%2F%3E%3C%2Fsvg%3E");--in:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'%2309192B'%20stroke-width%3D'1.8'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M13%202%204%2014h7l-1%208%209-12h-7z'%2F%3E%3C%2Fsvg%3E")}
.adbat .i-contact{--iw:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'%23ffffff'%20stroke-width%3D'1.8'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Ccircle%20cx%3D'12'%20cy%3D'8'%20r%3D'4'%2F%3E%3Cpath%20d%3D'M4%2021c0-4%204-6%208-6s8%202%208%206'%2F%3E%3C%2Fsvg%3E");--in:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'%2309192B'%20stroke-width%3D'1.8'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Ccircle%20cx%3D'12'%20cy%3D'8'%20r%3D'4'%2F%3E%3Cpath%20d%3D'M4%2021c0-4%204-6%208-6s8%202%208%206'%2F%3E%3C%2Fsvg%3E")}
.adbat .i-equipe{--iw:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'%23ffffff'%20stroke-width%3D'1.8'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Ccircle%20cx%3D'9'%20cy%3D'8'%20r%3D'3'%2F%3E%3Ccircle%20cx%3D'17'%20cy%3D'9'%20r%3D'2.5'%2F%3E%3Cpath%20d%3D'M3%2020c0-3%203-5%206-5s6%202%206%205M16%2015c3%200%205%201.5%205%204'%2F%3E%3C%2Fsvg%3E");--in:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'%2309192B'%20stroke-width%3D'1.8'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Ccircle%20cx%3D'9'%20cy%3D'8'%20r%3D'3'%2F%3E%3Ccircle%20cx%3D'17'%20cy%3D'9'%20r%3D'2.5'%2F%3E%3Cpath%20d%3D'M3%2020c0-3%203-5%206-5s6%202%206%205M16%2015c3%200%205%201.5%205%204'%2F%3E%3C%2Fsvg%3E")}
.adbat .i-gestion{--iw:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'%23ffffff'%20stroke-width%3D'1.8'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M9%2011l3%203%208-8M20%2012v7a2%202%200%200%201-2%202H6a2%202%200%200%201-2-2V6a2%202%200%200%201%202-2h9'%2F%3E%3C%2Fsvg%3E");--in:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'%2309192B'%20stroke-width%3D'1.8'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M9%2011l3%203%208-8M20%2012v7a2%202%200%200%201-2%202H6a2%202%200%200%201-2-2V6a2%202%200%200%201%202-2h9'%2F%3E%3C%2Fsvg%3E")}
.adbat .i-mesure{--iw:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'%23ffffff'%20stroke-width%3D'1.8'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M12%2021s-7-5-7-11a4%204%200%200%201%207-2%204%204%200%200%201%207%202c0%206-7%2011-7%2011z'%2F%3E%3C%2Fsvg%3E");--in:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'%2309192B'%20stroke-width%3D'1.8'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M12%2021s-7-5-7-11a4%204%200%200%201%207-2%204%204%200%200%201%207%202c0%206-7%2011-7%2011z'%2F%3E%3C%2Fsvg%3E")}
.adbat .i-bain{--iw:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'%23ffffff'%20stroke-width%3D'1.8'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M4%2012h16v3a5%205%200%200%201-5%205H9a5%205%200%200%201-5-5zM6%2012V6a2%202%200%200%201%204%200M7%2020l-1%202M17%2020l1%202'%2F%3E%3C%2Fsvg%3E");--in:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'%2309192B'%20stroke-width%3D'1.8'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M4%2012h16v3a5%205%200%200%201-5%205H9a5%205%200%200%201-5-5zM6%2012V6a2%202%200%200%201%204%200M7%2020l-1%202M17%2020l1%202'%2F%3E%3C%2Fsvg%3E")}
.adbat .i-cuisine{--iw:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'%23ffffff'%20stroke-width%3D'1.8'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M4%203h16v18H4zM4%2010h16M9%206h.01M9%2014v3'%2F%3E%3C%2Fsvg%3E");--in:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'%2309192B'%20stroke-width%3D'1.8'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M4%203h16v18H4zM4%2010h16M9%206h.01M9%2014v3'%2F%3E%3C%2Fsvg%3E")}
.adbat .i-renov{--iw:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'%23ffffff'%20stroke-width%3D'1.8'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M3%2021V9l9-6%209%206v12zM9%2021v-7h6v7'%2F%3E%3C%2Fsvg%3E");--in:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'%2309192B'%20stroke-width%3D'1.8'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M3%2021V9l9-6%209%206v12zM9%2021v-7h6v7'%2F%3E%3C%2Fsvg%3E")}
.adbat .i-cloisons{--iw:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'%23ffffff'%20stroke-width%3D'1.8'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M3%205h18v14H3zM12%205v14'%2F%3E%3C%2Fsvg%3E");--in:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'%2309192B'%20stroke-width%3D'1.8'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M3%205h18v14H3zM12%205v14'%2F%3E%3C%2Fsvg%3E")}

/* ===== CORRECTIF 1.0.4 : conteneurs internes ajoutés par WordPress en ligne ===== */
/* En ligne, WordPress entoure le contenu de chaque groupe d'un <div class="wp-block-group__inner-container">.
   On le rend « transparent » pour que les grilles/flex voient directement les cartes. */
.adbat .wp-block-group__inner-container,
.adbat .wp-block-group__inner-container.is-layout-flow{display:contents!important}
.adbat .is-layout-flow>*{margin-block-start:0;margin-block-end:0}
.adbat .wp-block-group.is-layout-flow,.adbat .wp-block-group.is-layout-constrained{max-width:none}
/* Le bloc « in » garde sa largeur centrée */
.adbat .in{width:100%;max-width:1160px;margin-left:auto!important;margin-right:auto!important}

/* ======================================================================
   1.0.5 : en-tête, menu, bannière d'accueil, espacements, bouton « Contacter »
   ====================================================================== */
html{scroll-behavior:smooth}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.adbat section,.adbat .hero{scroll-margin-top:96px}

/* ---- En-tête : bleu marine, logo compact, menu clair, dernier lien = bouton ---- */
#masthead{position:sticky;top:0;z-index:200;box-shadow:0 2px 18px rgba(0,0,0,.28)}
.admin-bar #masthead{top:32px}
@media(max-width:782px){.admin-bar #masthead{top:46px}}
#masthead .site-header-row-container-inner,#masthead .site-main-header-wrap,#masthead .site-header-upper-inner-wrap,#masthead .site-header-upper-wrap{background:#09192B!important;border:0!important}
#masthead .site-main-header-inner-wrap{min-height:78px}
#masthead .site-branding a.brand{display:flex!important;align-items:center;gap:14px;color:#fff!important}
#masthead .site-branding a.brand img.custom-logo{width:auto!important;height:54px!important;max-width:none!important;border-radius:9px}
#masthead .site-title,#masthead .site-title a{color:#fff!important;font-size:1.3rem;font-weight:700;letter-spacing:.03em;margin:0;line-height:1}
#masthead .site-description{display:none}
#masthead .header-navigation ul.menu{display:flex;align-items:center;gap:2px}
#masthead .header-navigation .header-menu-container ul.menu>li>a{color:#fff!important;font-size:.95rem;font-weight:600;padding:.7em .85em;position:relative;transition:color .2s}
#masthead .header-navigation .header-menu-container ul.menu>li:not(:last-child)>a::after{content:"";position:absolute;left:.85em;right:.85em;bottom:.35em;height:2px;background:#7FB0E8;transform:scaleX(0);transform-origin:left;transition:transform .25s}
#masthead .header-navigation .header-menu-container ul.menu>li:not(:last-child)>a:hover::after,#masthead .header-navigation .header-menu-container ul.menu>li.current-menu-item:not(:last-child)>a::after{transform:scaleX(1)}
#masthead .header-navigation .header-menu-container ul.menu>li:last-child>a{background:#fff;color:#09192B!important;border-radius:99px;padding:.7em 1.5em;margin-left:14px;font-weight:700;transition:transform .25s,box-shadow .25s}
#masthead .header-navigation .header-menu-container ul.menu>li:last-child>a:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(0,0,0,.35)}
#masthead .menu-toggle-open,#masthead .menu-toggle-open .menu-toggle-icon{color:#fff!important}
#mobile-drawer .drawer-inner,#mobile-drawer .drawer-header{background:#09192B!important}
#mobile-drawer .mobile-navigation ul li>a{color:#fff!important;font-weight:600;padding:.9em 0}
#mobile-drawer .mobile-navigation ul li:last-child>a{display:inline-block;background:#fff;color:#09192B!important;border-radius:99px;padding:.8em 1.6em;margin-top:12px}
#mobile-drawer .drawer-toggle,#mobile-drawer .menu-toggle-close{color:#fff!important}

/* ---- Bandeau d'infos ---- */
.adbat .infos{padding:12px 24px}
.adbat .infos .in{gap:6px 36px}

/* ---- Bannière d'accueil : texte aéré et hiérarchisé ---- */
.adbat .hero .wp-block-cover__inner-container>*{max-width:780px}
.adbat .hero h1.wp-block-heading{margin:0 0 30px;max-width:none;line-height:1.08}
.adbat .hero .signature{margin:0 0 26px;padding-left:18px;border-left:4px solid #7FB0E8;line-height:1.35}
.adbat .hero .lead{margin:0;max-width:640px;line-height:1.75;font-size:1.12rem}
.adbat .hero .wp-block-buttons{margin:38px 0 0;gap:14px}
.adbat .hero .puces{margin-top:56px;padding-top:26px;border-top:1px solid rgba(255,255,255,.2);gap:12px 36px}

/* ---- Espacements plus confortables ---- */
.adbat p{line-height:1.7}
.adbat section{padding-top:clamp(64px,8vw,112px);padding-bottom:clamp(64px,8vw,112px)}
.adbat h2.wp-block-heading{line-height:1.18;margin-bottom:.7em}
.adbat .tete{margin-bottom:52px}
.adbat .tete .lead{margin:0}
.adbat p.tag{margin-bottom:20px}
.adbat .carte{padding:32px 28px;min-height:210px}
.adbat .carte h3.wp-block-heading{margin-bottom:.55em}
.adbat .carte p{line-height:1.7}
.adbat .valeur{padding-top:20px}
.adbat .valeur h3.wp-block-heading{margin-bottom:.5em}
.adbat .etape{padding:34px 26px 30px}
.adbat .etape h3.wp-block-heading{margin-bottom:.55em}
.adbat details.wp-block-details{padding:10px 0}
.adbat details.wp-block-details summary{padding:12px 0}
.adbat details.wp-block-details p{margin:6px 0 16px;line-height:1.7}
.adbat .coord p{padding:15px 0}
.adbat .formulaire{padding:38px}
.adbat .bandeau{padding:48px 24px}
.adbat .bandeau h2.wp-block-heading{margin-bottom:10px}
.adbat .liens-footer{padding:34px 24px}
.adbat .s-engagements .lead{margin-bottom:8px}
body:not(.wp-admin):not(.editor-styles-wrapper) .adbat .cartes{gap:26px!important}
body:not(.wp-admin):not(.editor-styles-wrapper) .adbat .valeurs{gap:32px 38px!important;margin:38px 0!important}
body:not(.wp-admin):not(.editor-styles-wrapper) .adbat .etapes{gap:26px!important}
body:not(.wp-admin):not(.editor-styles-wrapper) .adbat .villes{gap:14px 12px!important;margin-top:8px}
.adbat .villes p{padding:10px 22px;line-height:1.3}
@media(max-width:640px){
  .adbat section{padding-top:56px;padding-bottom:56px}
  .adbat .tete{margin-bottom:36px}
  .adbat .hero h1.wp-block-heading{margin-bottom:24px}
  .adbat .hero .wp-block-buttons{margin-top:30px}
  .adbat .hero .wp-block-button{width:100%}.adbat .hero .wp-block-button .wp-block-button__link{width:100%}
  .adbat .hero .puces{margin-top:40px;flex-direction:column}
  #masthead .site-branding a.brand img.custom-logo{height:46px!important}
  .adbat .formulaire{padding:26px}
}
