:root{
  --navy:#12305a; --navy-d:#0d2340; --orange:#e8730c; --orange-d:#c85f04;
  --ink:#1b2430; --muted:#61708a; --line:#dfe5ee; --bg:#f6f8fb; --white:#fff;
  --radius:10px; --shadow:0 10px 30px rgba(18,48,90,.08);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  color:var(--ink);background:var(--white);line-height:1.6;font-size:17px}
h1,h2,h3{line-height:1.2;color:var(--navy);margin:0 0 .5em}
h1{font-size:2.1rem;letter-spacing:-.02em}
h2{font-size:1.5rem;margin-top:0}
h3{font-size:1.12rem}
p{margin:0 0 1em}
a{color:var(--navy)}
.wrap{max-width:1120px;margin:0 auto;padding:0 20px}
.muted{color:var(--muted);font-size:.94rem}
.center{text-align:center}
.kicker{text-transform:uppercase;letter-spacing:.08em;font-size:.78rem;font-weight:700;color:var(--orange);margin-bottom:.4em}

/* header */
.site-header{background:var(--navy);color:#fff;position:sticky;top:0;z-index:20;box-shadow:0 2px 12px rgba(0,0,0,.15)}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:18px;padding-top:12px;padding-bottom:12px;flex-wrap:wrap}
.brand{display:flex;flex-direction:column;text-decoration:none;color:#fff;line-height:1.25}
.brand strong{font-size:1.15rem;letter-spacing:.02em}
.brand span{font-size:.8rem;color:#b8c8e0}
.nav{display:flex;gap:18px;align-items:center;flex-wrap:wrap}
.nav a{color:#e8eef8;text-decoration:none;font-size:.95rem}
.nav a:hover{color:#fff;text-decoration:underline}
.nav-cta{background:var(--orange);padding:8px 14px;border-radius:6px;font-weight:600;color:#fff !important}
.nav-cta:hover{background:var(--orange-d);text-decoration:none !important}

/* Bouton de menu : sur téléphone, la navigation ne s'empile plus, elle s'ouvre sur demande. */
.menu-btn{display:none;align-items:center;gap:10px;background:rgba(255,255,255,.10);color:#fff;
  border:1px solid rgba(255,255,255,.30);border-radius:10px;padding:12px 16px;min-height:50px;
  font:inherit;font-weight:700;font-size:1rem;cursor:pointer;flex:0 0 auto}
.menu-btn:hover{background:rgba(255,255,255,.18)}
.menu-btn-txt{letter-spacing:.02em}
.burger{display:inline-flex;flex-direction:column;justify-content:space-between;width:20px;height:14px}
.burger i{display:block;height:2px;background:#fff;border-radius:2px;transition:transform .18s ease,opacity .18s ease}
.menu-btn[aria-expanded="true"] .burger i:nth-child(1){transform:translateY(6px) rotate(45deg)}
.menu-btn[aria-expanded="true"] .burger i:nth-child(2){opacity:0}
.menu-btn[aria-expanded="true"] .burger i:nth-child(3){transform:translateY(-6px) rotate(-45deg)}
.lead-sm{font-size:1.05rem;color:#33405a;max-width:70ch}
/* Sur ordinateur, libellés courts pour tenir sur une ligne ; dans le menu du téléphone,
   on affiche le nom complet — un menu doit se comprendre sans deviner. */
.nav-long{display:none}

/* hero */
.hero{background:linear-gradient(160deg,var(--navy) 0%,var(--navy-d) 100%);color:#fff;padding:52px 0 60px}
.hero h1{color:#fff}
.hero-compact{padding:40px 0 48px}
.hero-inner{display:grid;grid-template-columns:1.15fr .85fr;gap:40px;align-items:start}
.hero-copy .lead{font-size:1.1rem;color:#d6e0ef}
.hero-points{list-style:none;padding:0;margin:0 0 24px}
.hero-points li{padding-left:26px;position:relative;margin-bottom:8px;color:#e6edf7}
.hero-points li:before{content:"✓";position:absolute;left:0;color:var(--orange);font-weight:700}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;background:var(--orange);color:#fff;
  padding:16px 26px;min-height:52px;border:0;border-radius:10px;
  font-weight:700;text-decoration:none;font-size:1.02rem;line-height:1.2;cursor:pointer;transition:background .15s}
.btn:hover{background:var(--orange-d)}
.btn-ghost{background:transparent;border:1px solid rgba(255,255,255,.5)}
.btn-ghost:hover{background:rgba(255,255,255,.12)}
.btn-light{background:#fff;color:var(--navy)}
.btn-light:hover{background:#eef3fa}
.btn-outline-light{background:transparent;border:1px solid rgba(255,255,255,.6)}

/* Bandeau d'appel à l'action. Il n'avait AUCUN style : le bandeau sortait blanc sur
   fond blanc et le bouton « Demander un devis gratuit » (blanc lui aussi) était
   invisible — constaté sur téléphone. Un CTA qu'on ne voit pas ne sert à rien. */
.cta-band{background:linear-gradient(150deg,var(--navy) 0%,var(--navy-d) 100%);color:#fff;
  padding:38px 0;margin:26px 0}
.cta-band h2{color:#fff;font-size:1.45rem;margin:0 0 .35em}
.cta-band p{color:#d6e0ef;max-width:72ch;margin:0 0 20px}
.band-actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center}
/* Dans le corps d'un article, le bouton de devis passe en orange plein : c'est le seul
   bouton de la page qu'on doit repérer sans lire. */
.cta-inline .btn-light{background:var(--orange);color:#fff;font-size:1.08rem;font-weight:800;
  padding:18px 32px;min-height:58px;border-radius:12px;box-shadow:0 8px 22px rgba(0,0,0,.28);
  border:2px solid var(--orange)}
.cta-inline .btn-light:hover{background:var(--orange-d);border-color:var(--orange-d)}
.cta-inline .btn-outline-light{border:2px solid rgba(255,255,255,.75);min-height:58px;
  border-radius:12px;font-weight:700;padding:18px 26px;color:#fff}
.cta-inline .btn-outline-light:hover{background:rgba(255,255,255,.14)}

/* form */
.devis-form{background:var(--white);color:var(--ink);padding:26px;border-radius:var(--radius);box-shadow:var(--shadow)}
.devis-form h3{margin-top:0}
.form-sub{font-size:.9rem;color:var(--muted);margin-bottom:18px}
.devis-form label{display:block;font-size:.9rem;font-weight:600;margin-bottom:14px;color:var(--navy)}
.devis-form input,.devis-form select,.devis-form textarea{
  width:100%;margin-top:6px;padding:11px 12px;border:1px solid var(--line);border-radius:7px;
  font:inherit;font-size:1rem;color:var(--ink);background:#fff}
.devis-form input:focus,.devis-form select:focus,.devis-form textarea:focus{outline:2px solid var(--orange);border-color:var(--orange)}
.field-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.consent{display:flex;gap:10px;align-items:flex-start;font-weight:400;font-size:.82rem;color:var(--muted)}
.consent input{width:auto;margin:2px 0 0}
/* Bouton d'envoi : c'est le bouton qui rapporte, il doit être impossible à manquer
   sur un téléphone — pleine largeur, 56 px de haut, texte explicite. */
.devis-form button,
.devis-form .btn-submit{display:flex;align-items:center;justify-content:center;width:100%;
  min-height:56px;margin-top:10px;padding:16px 20px;border:0;border-radius:10px;
  background:var(--orange);color:#fff;font-size:1.08rem;font-weight:700;letter-spacing:.2px;
  cursor:pointer;box-shadow:0 4px 14px rgba(224,122,32,.28);transition:background .15s,transform .1s}
.devis-form button:hover,.devis-form .btn-submit:hover{background:var(--orange-d)}
.devis-form button:active,.devis-form .btn-submit:active{transform:translateY(1px)}
.form-alt{margin:12px 0 0;font-size:.92rem;text-align:center;color:var(--muted)}
.form-alt a{color:var(--navy);font-weight:700;white-space:nowrap}
.form-status{font-size:.9rem;margin:12px 0 0;min-height:1.2em}
.form-status.ok{color:#1a7f4b;font-weight:600}
.form-status.err{color:#b3261e;font-weight:600}
.hp{position:absolute;left:-9999px;height:0;overflow:hidden}

/* fil d'Ariane visible : utile au lecteur comme aux moteurs */
.breadcrumb{padding:14px 20px 0;font-size:.85rem;color:var(--muted)}
.breadcrumb a{color:var(--navy);text-decoration:none}
.breadcrumb a:hover{text-decoration:underline}
.breadcrumb span{margin:0 6px;color:#9aa7bd}

/* questions fréquentes : un bloc dépliable, lisible par les moteurs de réponse */
.faq{max-width:820px}
.faq-item{background:#fff;border:1px solid #e3e9f2;border-radius:10px;padding:14px 18px;margin-bottom:10px}
.faq-item summary{cursor:pointer;font-weight:700;color:var(--navy);font-size:1.02rem;list-style:none}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary:before{content:"＋";color:var(--orange);font-weight:700;margin-right:10px}
.faq-item[open] summary:before{content:"－"}
.faq-item p{margin:10px 0 2px;color:var(--ink)}

/* Confort sur téléphone : zones tactiles d'au moins 48 px, texte de saisie à 16 px
   (en dessous, iOS zoome automatiquement sur le champ et casse la mise en page). */
.devis-form input,.devis-form select,.devis-form textarea{min-height:50px;font-size:16px}
.devis-form textarea{min-height:110px}
.devis-form label{font-size:.95rem}
@media (max-width:640px){
  .btn{width:100%;padding:16px 20px}
  .hero-actions .btn{width:100%}
  .devis-form{padding:20px}
  .devis-form button,.devis-form .btn-submit{min-height:58px;font-size:1.1rem}
  .field-row{grid-template-columns:1fr}
  .form-alt{font-size:.95rem}
  /* appel direct toujours à portée de pouce sur mobile */
  .sticky-call{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:50;gap:8px;padding:8px 12px;
    background:rgba(11,26,51,.96);align-items:center;justify-content:center}
  .sticky-call a{flex:1;text-align:center;padding:14px 10px;border-radius:10px;font-weight:700;text-decoration:none;
    white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .sticky-call .call{background:var(--orange);color:#fff;font-size:.98rem}
  /* Le bouton « Devis gratuit » de la barre fixe était en gris translucide : il passait
     pour un élément décoratif. Blanc plein, il se voit autant que le bouton d'appel. */
  .sticky-call .devis{background:#fff;color:var(--navy);border:0;font-weight:800}
  .cta-band{padding:30px 0}
  .cta-band h2{font-size:1.3rem}
  /* la barre d'appel ne doit jamais recouvrir le bouton d'envoi : on réserve sa hauteur */
  body{padding-bottom:calc(96px + env(safe-area-inset-bottom))}
}

/* sections */
.section{padding:56px 20px}
.section-alt{background:var(--bg);border-radius:var(--radius)}
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:22px}
.cards-villes{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}
.card{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:22px}
.card h3 a{text-decoration:none}
.card h3 a:hover{text-decoration:underline}
.price{color:var(--orange);font-weight:700;margin:0}
.price-lg{font-size:1.3rem;color:var(--orange);font-weight:700}
.more{font-weight:600;text-decoration:none;font-size:.95rem}
.cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:26px}
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:38px;align-items:start}
.ticks{list-style:none;padding:0}
.ticks li{padding-left:28px;position:relative;margin-bottom:10px}
.ticks li:before{content:"▸";position:absolute;left:0;color:var(--orange);font-weight:700}
.steps{counter-reset:s;list-style:none;padding:0}
.steps li{counter-increment:s;padding-left:44px;position:relative;margin-bottom:16px}
.steps li:before{content:counter(s);position:absolute;left:0;top:0;width:30px;height:30px;border-radius:50%;
  background:var(--navy);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.9rem}
.villes-list{list-style:none;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.villes-list li a{display:inline-block;padding:6px 12px;border:1px solid var(--line);border-radius:20px;
  text-decoration:none;font-size:.9rem;background:#fff}
.villes-list li a:hover{border-color:var(--orange);color:var(--orange)}
.chiffres{list-style:none;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:10px;margin:22px 0}
.chiffres li{background:var(--bg);border-left:3px solid var(--orange);padding:10px 14px;border-radius:6px;font-weight:600;font-size:.95rem}
.sources{font-size:.82rem;color:var(--muted);margin-top:14px;max-width:70ch}
.villes-groupe{margin-top:26px}
.villes-groupe h3{font-size:1rem;text-transform:uppercase;letter-spacing:.05em;color:var(--muted);margin-bottom:10px}
.contact-list{list-style:none;padding:0}
.contact-list li{margin-bottom:10px}
.faq details:not(.faq-item){border-bottom:1px solid var(--line);padding:14px 0}
.faq details:not(.faq-item) summary{font-weight:600;cursor:pointer;color:var(--navy)}
.faq details:not(.faq-item) p{margin:10px 0 0;color:#33405a}

/* case à cocher RGPD : une vraie cible tactile, elle conditionne l'envoi du formulaire */
.consent{display:flex;gap:12px;align-items:flex-start;margin:14px 0}
.consent input{width:22px;height:22px;min-height:22px;flex:0 0 22px;margin:1px 0 0}
.prose{max-width:820px}
.band{background:var(--navy);color:#fff;padding:44px 0;margin-top:20px}
.band h2{color:#fff}
.band-inner{display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap}
.band-actions{display:flex;gap:12px;flex-wrap:wrap}

/* footer */
.site-footer{background:var(--navy-d);color:#c2d0e6;padding:38px 0 26px;font-size:.92rem;margin-top:0}
.site-footer strong{color:#fff;display:block;margin-bottom:10px}
.site-footer a{color:#dbe6f5}
.footer-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:28px;margin-bottom:26px}
.site-footer ul{list-style:none;padding:0;margin:0}
.site-footer li{margin-bottom:6px}
.footer-legal{border-top:1px solid rgba(255,255,255,.15);padding-top:16px;font-size:.85rem;color:#93a6c2}

/* Photos de chantier : dimensions déclarées, deux tailles servies → aucun saut de page. */
.figure-photo{margin:0}
.figure-photo img{display:block;width:100%;height:auto;border-radius:12px;background:#e8edf4}
.figure-photo figcaption{margin-top:10px;font-size:.9rem;color:#5b6b82;line-height:1.45}
/* Une trame par nombre de photos : 3 photos = 3 colonnes, 4 photos = 2 × 2.
   Sans ça, la quatrième se retrouve seule sur sa ligne et la page paraît vide. */
.chantiers{display:grid;gap:22px;align-items:start}
.cta-inline{margin:6px 0}
.cta-inline p{max-width:75ch}
.chantiers-1,.chantiers-2{grid-template-columns:repeat(2,1fr)}
.chantiers-3{grid-template-columns:repeat(3,1fr)}
.chantiers-4{grid-template-columns:repeat(2,1fr)}

@media (max-width:860px){
  .hero-inner,.two-col,.field-row{grid-template-columns:1fr}
  .chantiers{grid-template-columns:1fr;gap:26px}
  .footer-grid{grid-template-columns:1fr}
  h1{font-size:1.7rem}
  .section{padding:38px 20px}
  /* En-tête : marque + bouton « Menu » sur une ligne, le reste se déplie dessous. */
  .header-inner{flex-wrap:wrap;align-items:center;gap:12px}
  .brand{flex:1 1 auto;min-width:0;order:1}
  .menu-btn{display:inline-flex;order:2}
  .nav{order:3;display:none;flex-direction:column;align-items:stretch;gap:0;width:100%;padding:8px 0 6px}
  .nav.ouvert{display:flex}
  .nav a{padding:15px 12px;font-size:1.05rem;border-bottom:1px solid rgba(255,255,255,.10);border-radius:8px}
  .nav a:hover{background:rgba(255,255,255,.08);text-decoration:none}
  .nav a:last-child{border-bottom:0}
  .nav-cta{margin-top:12px;text-align:center;padding:16px 14px !important;font-size:1.05rem}
  .nav-long{display:inline}
  .nav-court{display:none}
}
