/*
Theme Name: ADAM BAT Pro
Theme URI: https://adambat95.fr
Author: ADAM BAT
Description: Thème vitrine rénovation tous corps d'état avec formulaire de devis.
Version: 1.2.0
Requires PHP: 7.4
Text Domain: adambat
*/
:root{--navy:#102a43;--blue:#0878b9;--orange:#f28c28;--ink:#203044;--light:#f3f7fa}*{box-sizing:border-box}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--ink);line-height:1.65}a{text-decoration:none;color:inherit}.wrap{width:min(1160px,92%);margin:auto}.top{background:var(--navy);color:white;padding:8px 0;font-size:13px}.top .wrap{display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap}body > header{background:white;position:sticky;top:0;z-index:20;box-shadow:0 2px 14px #102a4317}.head{display:flex;align-items:center;justify-content:space-between;min-height:78px;gap:20px}.logo{font-size:26px;font-weight:900;letter-spacing:1px;color:var(--navy)}.logo span{color:var(--orange)}nav{display:flex;gap:18px;align-items:center;flex-wrap:wrap}nav a{font-size:14px;font-weight:700}nav a:hover{color:var(--blue)}.btn{display:inline-block;background:var(--orange);color:#14263b;padding:13px 23px;border:0;border-radius:5px;font-weight:800;cursor:pointer}.btn.blue{background:var(--blue);color:white}.hero{min-height:570px;display:flex;align-items:center;color:white;background:linear-gradient(90deg,#071e33e8,#071e3350),var(--hero) center/cover}.hero h1{font-size:clamp(35px,5vw,62px);line-height:1.1;max-width:800px;margin:0 0 20px}.hero p{max-width:670px;font-size:19px}.eyebrow{text-transform:uppercase;color:var(--orange);font-weight:900;letter-spacing:2px}.section{padding:78px 0}.section.alt{background:var(--light)}h2{font-size:clamp(27px,3vw,39px);line-height:1.2;margin:8px 0 20px;color:var(--navy)}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.card{background:white;border-radius:12px;overflow:hidden;box-shadow:0 8px 30px #0b2b4512}.card img{width:100%;height:230px;object-fit:cover}.card .pad{padding:22px}.card h3{margin:0 0 9px;color:var(--navy)}.intro{max-width:760px;margin-bottom:32px}.split{display:grid;grid-template-columns:1fr 1fr;gap:45px;align-items:center}.split img{width:100%;height:420px;object-fit:cover;border-radius:12px}.banner{background:var(--navy);color:white;padding:55px 0}.banner h2{color:white}.pagehero{padding:105px 0;color:white;background:linear-gradient(90deg,#071e33e8,#071e3360),var(--hero) center/cover}.pagehero h1{font-size:clamp(35px,5vw,52px);margin:0}.pagehero p{max-width:650px;font-size:18px}.features{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.feature{background:#f3f7fa;border-left:4px solid var(--orange);padding:20px;border-radius:4px}.form{display:grid;grid-template-columns:1fr 1fr;gap:17px}.form label{font-weight:700;font-size:14px}.form input,.form select,.form textarea{display:block;width:100%;padding:13px;border:1px solid #cbd5df;border-radius:5px;font:inherit;margin-top:6px}.form .full{grid-column:1/-1}.notice{padding:14px;background:#e8f6e9;border-radius:5px}.notice.error{background:#ffebeb}body > footer{background:#091e32;color:#e8f0f6;padding:55px 0 20px}footer .grid{grid-template-columns:2fr 1fr 1fr}footer a:hover{color:var(--orange)}.small{font-size:13px;color:#a7bacb}.gallery img{width:100%;height:240px;object-fit:cover;border-radius:10px}.gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.menu-toggle{display:none}@media(max-width:850px){.menu-toggle{display:block;background:var(--navy);color:white;border:0;padding:10px 14px;border-radius:5px}nav{display:none;position:absolute;left:0;right:0;top:78px;background:white;padding:20px;box-shadow:0 10px 20px #0002}nav.open{display:flex;flex-direction:column;align-items:flex-start}.grid,.features,.gallery{grid-template-columns:repeat(2,1fr)}.split{grid-template-columns:1fr}}@media(max-width:560px){.grid,.features,.gallery,.form,footer .grid{grid-template-columns:1fr}.hero{min-height:520px}.section{padding:50px 0}.form .full{grid-column:auto}.top{font-size:12px}}

/* Version 1.1 — responsive display fixes, scoped to ADAM BAT */
html{scroll-behavior:smooth;overflow-x:clip}body{overflow-wrap:break-word;overflow-x:clip}img{max-width:100%;height:auto}button,input,select,textarea{max-width:100%}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #f28c28;outline-offset:3px}
.wrap{max-width:1160px;width:calc(100% - 40px)}.head{position:relative}.head nav{min-width:0}.head nav a{white-space:nowrap}.hero,.pagehero{background-color:#102a43;background-image:linear-gradient(90deg,rgba(7,30,51,.94),rgba(7,30,51,.45)),var(--hero);background-position:center;background-size:cover;background-repeat:no-repeat}.hero .wrap,.pagehero .wrap{position:relative;z-index:1}.hero .btn{margin:5px 8px 5px 0}.card{min-width:0;transition:transform .2s ease,box-shadow .2s ease}.card:hover{transform:translateY(-4px);box-shadow:0 14px 34px #0b2b4526}.card img{display:block}.split>*{min-width:0}.split img{display:block}.gallery img{display:block}.form input[type=checkbox]{width:auto;max-width:none}.form label{min-width:0}.pagehero{min-height:260px;display:flex;align-items:center}.pagehero .wrap{width:calc(100% - 40px)}.section{clear:both}.logo{white-space:nowrap}
@media(max-width:1080px){.head nav{gap:10px}.head nav a{font-size:13px}.head .btn{padding:11px 13px}}
@media(max-width:960px){.head{min-height:72px}.menu-toggle{display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.head nav{display:none;position:absolute;top:100%;left:-20px;right:-20px;background:#fff;padding:18px 20px 22px;box-shadow:0 16px 25px #102a4326;z-index:100;flex-direction:column;align-items:stretch;gap:0}.head nav.open{display:flex}.head nav a{display:block;padding:11px 8px;font-size:15px;border-bottom:1px solid #e8edf2;white-space:normal}.head nav .btn{margin-top:12px;text-align:center}.grid,.features,.gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.split{grid-template-columns:minmax(0,1fr)}.split img{height:360px}}
@media(max-width:600px){.wrap,.pagehero .wrap{width:calc(100% - 32px)}.top .wrap{gap:3px}.top .wrap span{display:block}.head{min-height:66px}.logo{font-size:23px}.hero{min-height:480px;padding:60px 0}.hero h1{font-size:clamp(32px,9vw,45px)}.hero p{font-size:16px}.hero .btn{display:inline-block;padding:12px 15px;font-size:14px}.pagehero{padding:65px 0;min-height:230px}.pagehero h1{font-size:clamp(30px,9vw,42px)}.section{padding:46px 0}.grid,.features,.gallery,.form,footer .grid{grid-template-columns:minmax(0,1fr)}.form .full{grid-column:auto}.split{gap:26px}.split img{height:260px}.card img{height:220px}.banner{padding:40px 0}.head nav{left:-16px;right:-16px}.footer{overflow:hidden}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.card{transition:none}}
