/* ===== SASU Vincent Vidal – feuille de style =====
   Polices auto-hébergées (pas d'appel à Google Fonts : aucune donnée envoyée à un tiers).
   Déposer les fichiers .woff2 dans assets/fonts/ (voir CLAUDE.md). */
@font-face{font-family:"Barlow";src:url("../fonts/barlow-latin-500-normal.woff2") format("woff2");font-weight:500;font-display:swap}
@font-face{font-family:"Barlow";src:url("../fonts/barlow-latin-600-normal.woff2") format("woff2");font-weight:600;font-display:swap}
@font-face{font-family:"Barlow";src:url("../fonts/barlow-latin-700-normal.woff2") format("woff2");font-weight:700;font-display:swap}
@font-face{font-family:"Source Sans 3";src:url("../fonts/source-sans-3-latin-400-normal.woff2") format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"Source Sans 3";src:url("../fonts/source-sans-3-latin-600-normal.woff2") format("woff2");font-weight:600;font-display:swap}

:root{
  --navy:#16263F; --blue:#1F6FA3; --link:#1A6A9C; --link-hover:#124F75;
  --yellow:#F2C230; --ground:#F5F4F0; --white:#FFFFFF; --line:#E3E1DA;
  --text:#1B2430; --body:#3E4957; --muted:#5A6472; --on-navy:#C9D2DE;
  --c-peinture:#1F6FA3; --c-placo:#5E6B75; --c-joints:#A7771F; --c-sols:#2F6B6B; --c-carrelage:#6E5A8A;
  --display:"Barlow",system-ui,sans-serif; --sans:"Source Sans 3",system-ui,sans-serif;
  --pad:80px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:var(--sans);color:var(--text);background:var(--ground);font-size:17px;line-height:1.55}
img{max-width:100%;height:auto;display:block}
a{color:var(--link)} a:hover{color:var(--link-hover)}
h1,h2,h3{font-family:var(--display);color:var(--navy);margin:0;font-weight:700}
p{margin:0}
.wrap{max-width:1280px;margin:0 auto;padding-left:var(--pad);padding-right:var(--pad)}
.eyebrow{font-family:var(--display);font-weight:600;font-size:15px;letter-spacing:.14em;text-transform:uppercase;color:var(--link)}
.skip{position:absolute;left:-9999px}.skip:focus{left:16px;top:8px;background:#fff;padding:8px 12px;z-index:10}
:focus-visible{outline:2px solid var(--link);outline-offset:2px}

/* Boutons */
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 26px;border-radius:6px;text-decoration:none;font-family:var(--display);font-weight:700;font-size:18px;border:2px solid transparent;cursor:pointer}
.btn-yellow{background:var(--yellow);color:var(--navy)} .btn-yellow:hover{background:#E5B31C;color:var(--navy)}
.btn-outline{border-color:var(--navy);color:var(--navy);font-weight:600;background:#fff} .btn-outline:hover{background:var(--navy);color:#fff}

/* Barre haute */
.topbar{background:var(--navy);color:#fff}
.topbar .wrap{height:56px;display:flex;align-items:center;justify-content:space-between}
.topbar nav{display:flex;gap:32px}
.topbar nav a,.topbar .tel{color:#fff;text-decoration:none;font-family:var(--display);font-weight:600;font-size:16px;letter-spacing:.02em}
.topbar .tel{display:flex;align-items:center;gap:10px;font-weight:700;font-size:18px}
.topbar .m-actions{display:none}

/* Hero */
.hero{background:#fff}
.hero .wrap{padding-top:56px;padding-bottom:64px;display:flex;gap:64px;align-items:center}
.hero-logo{width:500px;flex-shrink:0}
.hero-text{display:flex;flex-direction:column;gap:22px}
.hero h1{font-size:50px;line-height:1.05}
.hero p{font-size:19px;color:var(--body)}
.hero .actions{display:flex;gap:14px;flex-wrap:wrap;padding-top:6px}

/* Photos */
.photos{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:var(--navy)}
.photos img{width:100%;height:170px!important;object-fit:cover}

/* Sections */
.section{padding-top:88px;padding-bottom:96px}
.section-head{display:flex;flex-direction:column;gap:12px;max-width:720px;margin-bottom:44px}
.section-head h2{font-size:40px;line-height:1.1}
.section-head p{font-size:18px;color:var(--body)}

/* Services */
.services{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.card{background:#fff;border:1px solid var(--line);border-radius:10px;padding:32px;display:flex;flex-direction:column;gap:18px}
.card .ico{width:60px;height:60px;border-radius:50%;display:flex;align-items:center;justify-content:center}
.card h3{font-size:23px}
.card ul{margin:0;padding-left:20px;line-height:1.7;color:var(--body)}
.card-cta{background:var(--navy);border-color:var(--navy);color:#fff;justify-content:center;gap:16px}
.card-cta h3{color:#fff;font-size:26px;line-height:1.2}
.card-cta p{color:#D5DCE6}
.card-cta .btn{align-self:flex-start;min-height:48px;font-size:17px;padding:0 22px}

/* Engagements */
.engagements{background:var(--navy);color:#fff}
.engagements .wrap{padding-top:64px;padding-bottom:64px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:48px}
.eng{display:flex;gap:18px;align-items:flex-start}
.eng svg{flex-shrink:0}
.eng strong{display:block;font-family:var(--display);font-size:22px;margin-bottom:6px}
.eng span{font-size:16px;color:var(--on-navy)}

/* Devis */
.devis .wrap{display:flex;gap:64px;align-items:flex-start}
.devis-intro{width:380px;flex-shrink:0;display:flex;flex-direction:column;gap:20px}
.devis-intro h2{font-size:40px;line-height:1.1}
.devis-intro p{font-size:18px;color:var(--body)}
.call-box{display:flex;flex-direction:column;gap:14px;padding:24px;background:#fff;border:1px solid var(--line);border-radius:10px}
.call-box .t{font-family:var(--display);font-weight:700;font-size:18px;color:var(--navy)}
.call-box .num{font-family:var(--display);font-weight:700;font-size:30px;color:var(--navy);text-decoration:none}
.call-box .addr{font-size:16px;color:var(--body)}
.form-box{flex-grow:1;background:#fff;border:1px solid var(--line);border-radius:12px;padding:40px}
form{display:flex;flex-direction:column;gap:20px}
.grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.field{display:flex;flex-direction:column;gap:6px;font-weight:600;font-size:15px;color:var(--navy)}
.field input,.field select,.field textarea{font:inherit;font-weight:400;font-size:16px;color:var(--text);background:#fff;border:1px solid #B9BDC4;border-radius:6px;padding:0 12px;height:46px;width:100%}
.field textarea{height:auto;padding:12px;resize:vertical}
.consent{display:flex;gap:12px;align-items:flex-start;font-size:15px;color:var(--body)}
.consent input{width:20px;height:20px;margin:2px 0 0;flex-shrink:0;accent-color:var(--navy)}
.form-foot{display:flex;align-items:center;justify-content:space-between;gap:20px}
.form-foot small{font-size:14px;color:var(--muted)}
.rgpd{padding-top:16px;border-top:1px solid var(--line);font-size:13px;line-height:1.55;color:var(--muted)}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.form-status{font-size:15px;color:#9B2C2C}
.merci{display:flex;flex-direction:column;gap:16px;align-items:flex-start;padding:40px 8px}
.merci h3{font-size:28px}
.merci p{color:var(--body)}
[hidden]{display:none!important}

/* Pied de page */
.footer{background:#fff;border-top:4px solid var(--blue)}
.footer .wrap{padding-top:56px;padding-bottom:40px}
.footer-cols{display:flex;justify-content:space-between;align-items:flex-start;gap:48px}
.footer-cols img{width:220px}
.fcol{display:flex;flex-direction:column;gap:8px;font-size:16px;color:var(--body)}
.fcol .t{font-family:var(--display);font-weight:700;font-size:17px;color:var(--navy)}
.fcol .tel{color:var(--navy);font-weight:600;text-decoration:none}
.footer-bottom{display:flex;justify-content:space-between;gap:16px;margin-top:40px;padding-top:20px;border-top:1px solid var(--line);font-size:14px;color:var(--muted)}

/* Page mentions */
.legal-head{background:#fff;border-bottom:1px solid var(--line)}
.legal-head .wrap{padding-top:40px;padding-bottom:40px;display:flex;align-items:center;gap:48px}
.legal-head img{width:240px}
.legal-head h1{font-size:44px;line-height:1.1}
.legal{max-width:1040px;padding-top:64px;padding-bottom:80px;display:flex;flex-direction:column;gap:48px;line-height:1.65;color:#2D3642}
.legal section{display:flex;flex-direction:column;gap:12px}
.legal h2{font-size:28px}
.legal .sep{padding-top:16px;border-top:1px solid #D8D5CC}
.legal .maj{font-size:15px;color:var(--muted)}
.legal-foot{background:var(--navy);color:var(--on-navy);font-size:14px}
.legal-foot .wrap{padding-top:32px;padding-bottom:32px;display:flex;justify-content:space-between;gap:16px}
.legal-foot a{color:#fff}

/* ===== Mobile ===== */
@media (max-width:760px){
  :root{--pad:20px}
  body{font-size:16px}
  .topbar .wrap{height:60px}
  .topbar nav,.topbar .tel{display:none}
  .topbar .m-actions{display:flex;width:100%;justify-content:space-between;align-items:center;gap:12px}
  .topbar .m-actions a{display:inline-flex;align-items:center;gap:8px;min-height:44px;color:#fff;text-decoration:none;font-family:var(--display);font-weight:700;font-size:17px}
  .topbar .m-actions .m-devis{background:var(--yellow);color:var(--navy);padding:0 16px;border-radius:6px;font-size:16px}
  .hero .wrap{flex-direction:column;gap:28px;padding-top:28px;padding-bottom:40px;align-items:stretch}
  .hero-logo{width:100%;max-width:350px;align-self:center}
  .hero-text{gap:16px}
  .hero h1{font-size:34px}
  .hero p{font-size:17px}
  .hero .actions{flex-direction:column;gap:12px}
  .hero .actions .btn{width:100%}
  .photos{grid-template-columns:repeat(2,minmax(0,1fr))}
  .photos img{height:120px!important}
  .section{padding-top:56px;padding-bottom:56px}
  .section-head{margin-bottom:28px}
  .section-head h2,.devis-intro h2{font-size:30px}
  .section-head p,.devis-intro p{font-size:17px}
  .services{grid-template-columns:1fr;gap:16px}
  .card{padding:24px;gap:14px}
  .card .ico{width:52px;height:52px}
  .card h3{font-size:21px}
  .card-cta .btn{align-self:stretch}
  .engagements .wrap{grid-template-columns:1fr;gap:28px;padding-top:44px;padding-bottom:44px}
  .eng strong{font-size:20px}
  .devis .wrap{flex-direction:column;gap:28px}
  .devis-intro{width:auto;gap:16px}
  .form-box{padding:22px;width:100%}
  .grid2{grid-template-columns:1fr;gap:18px}
  .form-foot{flex-direction:column-reverse;align-items:stretch;gap:12px}
  .form-foot .btn{width:100%}
  .footer .wrap{padding-top:40px;padding-bottom:28px}
  .footer-cols{flex-direction:column;gap:28px}
  .footer-cols img{width:180px}
  .footer-bottom{flex-direction:column;gap:6px;margin-top:28px}
  .legal-head .wrap{flex-direction:column;align-items:flex-start;gap:20px;padding-top:28px;padding-bottom:28px}
  .legal-head img{width:180px}
  .legal-head h1{font-size:30px}
  .legal{padding-top:40px;padding-bottom:48px;gap:36px;font-size:16px}
  .legal h2{font-size:23px}
  .legal-foot .wrap{flex-direction:column}
}

/* Anciennement en style="" inline (déplacé ici pour respecter la CSP style-src 'self') */
.ico-peinture{background:var(--c-peinture)}.ico-placo{background:var(--c-placo)}.ico-joints{background:var(--c-joints)}.ico-sols{background:var(--c-sols)}.ico-carrelage{background:var(--c-carrelage)}
.tel.tel-retour{font-weight:600;font-size:16px}
