/* Atelier Renov' — plomberie, salle de bain & rénovation */

:root {
  --nuit: #0e1f33;
  --nuit-2: #16304d;
  --gris: #f2f5f8;
  --gris-2: #dfe6ed;
  --orange: #ff7a1a;
  --orange-fonce: #e8630a;
  --texte: #14293f;
  --texte-doux: #5b7086;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --sans: "Manrope", system-ui, sans-serif;
  --wrap: 1200px;
  --pad: clamp(1.1rem, 4vw, 2.4rem);
  --r: 14px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: 110px; }

body {
  margin: 0;
  background: #fff;
  color: var(--texte);
  font-family: var(--sans);
  font-size: 1.01rem;
  line-height: 1.68;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1; margin: 0 0 .45em; text-transform: uppercase; letter-spacing: -.005em; }
p { margin: 0 0 1.1em; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

.wrap { width: min(100% - var(--pad) * 2, var(--wrap)); margin-inline: auto; }
section { padding-block: clamp(3.4rem, 7.5vw, 6rem); position: relative; }
.center { text-align: center; }

.kicker { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--orange); font-weight: 800; margin: 0 0 .8rem; }
.title { font-size: clamp(2rem, 4.6vw, 3.2rem); }
.title-xl { font-size: clamp(2.6rem, 6.4vw, 4.8rem); }
.intro { font-size: 1.06rem; color: var(--texte-doux); max-width: 58ch; }
.center .intro { margin-inline: auto; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: 1rem 1.9rem; border-radius: var(--r); background: var(--orange); color: #fff;
  font-family: var(--sans); font-weight: 800; font-size: .95rem; border: 2px solid var(--orange);
  cursor: pointer; transition: background .25s, transform .25s, box-shadow .25s;
  box-shadow: 0 10px 24px -12px rgba(255,122,26,.9);
}
.btn:hover { background: var(--orange-fonce); border-color: var(--orange-fonce); transform: translateY(-2px); }
.btn-nuit { background: var(--nuit); border-color: var(--nuit); box-shadow: none; }
.btn-nuit:hover { background: var(--nuit-2); border-color: var(--nuit-2); }
.btn-line { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); box-shadow: none; }
.btn-line:hover { background: #fff; color: var(--nuit); border-color: #fff; }

/* ---------- Barre supérieure ---------- */
.top-bar { background: var(--nuit); color: #cfdcea; font-size: .86rem; padding: .5rem 0; }
.top-bar-in { display: flex; flex-wrap: wrap; gap: .3rem 1.8rem; justify-content: center; }
.top-bar b { color: #fff; }
.top-bar .dot { color: var(--orange); }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: #fff; padding-block: .8rem; transition: box-shadow .3s; }
.site-header.is-stuck { box-shadow: 0 8px 26px -18px rgba(14,31,51,.7); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 1.4rem; }
.brand { display: flex; align-items: center; gap: .7rem; }
.brand .mark { width: 42px; height: 42px; flex: none; border-radius: 11px; background: var(--nuit); color: var(--orange); display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 1.4rem; }
.brand b { font-family: var(--display); font-size: 1.55rem; text-transform: uppercase; line-height: 1; display: block; letter-spacing: -.01em; }
.brand .sub { display: block; font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--texte-doux); font-weight: 700; }
.menu { display: flex; align-items: center; gap: 1.5rem; }
.menu a { font-size: .93rem; font-weight: 600; }
.menu a:hover { color: var(--orange); }
.header-cta { display: flex; align-items: center; gap: .8rem; }
.tel-btn { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--display); font-size: 1.35rem; font-weight: 700; color: var(--nuit); }
.nav-toggle { display: none; width: 46px; height: 46px; border: 2px solid var(--nuit); border-radius: 11px; background: transparent; cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 2.5px; background: var(--nuit); margin: 3.5px auto; transition: .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1040px) { .tel-btn { display: none; } }
@media (max-width: 940px) {
  .menu { position: fixed; inset: 0; background: #fff; flex-direction: column; justify-content: center; gap: 1.5rem; transform: translateX(100%); transition: transform .4s ease; }
  .menu.is-open { transform: none; }
  .menu a { font-family: var(--display); font-size: 1.7rem; text-transform: uppercase; }
  .nav-toggle { display: block; position: relative; z-index: 70; }
  .header-cta .btn { display: none; }
}

/* ---------- Héros ---------- */
.hero { background: var(--nuit); color: #fff; overflow: hidden; position: relative; padding-block: clamp(3rem, 7vw, 5.5rem); }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("../../assets/img/photos/u1556909212-d5b-800.jpg");
  background-size: cover; background-position: center; opacity: .18;
}
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, var(--nuit) 30%, rgba(14,31,51,.55)); }
.hero > .wrap { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
@media (max-width: 940px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { max-width: 14ch; }
.hero h1 span { color: var(--orange); }
.hero-sub { font-size: 1.12rem; color: #c3d3e2; max-width: 46ch; }
.hero-points { list-style: none; padding: 0; margin: 1.6rem 0 2rem; display: grid; gap: .6rem; }
.hero-points li { display: flex; gap: .7rem; align-items: flex-start; font-size: .98rem; color: #dae5ef; }
.hero-points li::before { content: "✓"; color: var(--orange); font-weight: 800; flex: none; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

.quick-card { background: #fff; color: var(--texte); border-radius: 20px; padding: clamp(1.5rem, 3vw, 2.1rem); box-shadow: 0 40px 70px -35px rgba(0,0,0,.8); }
.quick-card h2 { font-size: 1.7rem; margin-bottom: .3em; }
.quick-card .sub { font-size: .93rem; color: var(--texte-doux); margin-bottom: 1.2rem; }
.form { display: grid; gap: .9rem; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
@media (max-width: 520px) { .row-2 { grid-template-columns: 1fr; } }
.field label { display: block; font-size: .8rem; font-weight: 700; margin-bottom: .3rem; }
.field input, .field select, .field textarea {
  width: 100%; border: 2px solid var(--gris-2); border-radius: 11px; padding: .72rem .9rem;
  font-family: var(--sans); font-size: .95rem; background: #fff;
}
.field textarea { min-height: 90px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); }
.form-ok { border: 2px solid #1e9e5a; background: #e8f7ee; color: #12653a; border-radius: 11px; padding: .85rem 1rem; font-size: .93rem; font-weight: 600; }
.form-note { font-size: .78rem; color: var(--texte-doux); margin: 0; }

/* ---------- Chiffres ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1px; background: var(--gris-2); border-radius: var(--r); overflow: hidden; }
.stat { background: var(--gris); padding: 1.6rem 1rem; text-align: center; }
.stat b { display: block; font-family: var(--display); font-size: 2.6rem; line-height: 1; color: var(--nuit); }
.stat span { font-size: .88rem; color: var(--texte-doux); }

/* ---------- Services ---------- */
.services { background: var(--gris); }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.2rem; }
.svc { background: #fff; border-radius: var(--r); padding: 1.7rem; border-bottom: 4px solid var(--gris-2); transition: border-color .3s, transform .3s, box-shadow .3s; }
.svc:hover { border-bottom-color: var(--orange); transform: translateY(-4px); box-shadow: 0 24px 44px -30px rgba(14,31,51,.7); }
.svc .ico { width: 48px; height: 48px; border-radius: 12px; background: var(--nuit); color: var(--orange); display: grid; place-items: center; margin-bottom: 1rem; }
.svc h3 { font-size: 1.4rem; }
.svc p { font-size: .95rem; color: var(--texte-doux); margin: 0 0 .9rem; }
.svc .from { font-size: .86rem; font-weight: 700; color: var(--nuit); }

/* ---------- Réalisations ---------- */
.works { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.2rem; }
.work { border-radius: var(--r); overflow: hidden; position: relative; background: var(--nuit); }
.work img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .6s cubic-bezier(.2,1,.3,1), opacity .4s; }
.work:hover img { transform: scale(1.05); opacity: .55; }
.work-body { position: absolute; inset: auto 0 0; padding: 3rem 1.3rem 1.3rem; background: linear-gradient(transparent, rgba(14,31,51,.94)); color: #fff; }
.work-body h3 { font-size: 1.35rem; margin-bottom: .2em; }
.work-meta { display: flex; flex-wrap: wrap; gap: .4rem .9rem; font-size: .82rem; color: #b9cadb; }
.work-meta span { display: inline-flex; align-items: center; gap: .35rem; }
.work-meta b { color: var(--orange); font-weight: 700; }

/* ---------- Zones ---------- */
.zones { background: var(--nuit); color: #fff; }
.zones .intro { color: #b9cadb; }
.zone-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 900px) { .zone-grid { grid-template-columns: 1fr; } }
.zone-list { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; }
.zone-list span { border: 1px solid rgba(255,255,255,.28); border-radius: 100px; padding: .4rem 1rem; font-size: .88rem; }
.zone-map { border-radius: var(--r); overflow: hidden; }
.zone-map iframe { width: 100%; height: 340px; border: 0; display: block; }

/* ---------- Garanties ---------- */
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.2rem; }
.trust { border: 2px solid var(--gris-2); border-radius: var(--r); padding: 1.5rem; }
.trust b { display: block; font-family: var(--display); font-size: 1.3rem; text-transform: uppercase; margin-bottom: .3rem; }
.trust p { font-size: .93rem; color: var(--texte-doux); margin: 0; }
.trust .pill { display: inline-block; background: var(--orange); color: #fff; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: .2rem .6rem; border-radius: 100px; margin-bottom: .8rem; }

/* ---------- Avis ---------- */
.reviews { background: var(--gris); }
.rev-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.2rem; }
.rev { background: #fff; border-radius: var(--r); padding: 1.7rem; }
.rev .stars { color: #f5a623; letter-spacing: .14em; margin-bottom: .6rem; }
.rev blockquote { margin: 0 0 1rem; font-size: 1rem; line-height: 1.62; }
.rev cite { font-style: normal; font-size: .85rem; color: var(--texte-doux); font-weight: 600; }

/* ---------- Devis ---------- */
.devis-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 900px) { .devis-grid { grid-template-columns: 1fr; } }
.devis-card { background: var(--gris); border-radius: 20px; padding: clamp(1.6rem, 3vw, 2.4rem); }
.contact-list { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: .9rem; align-items: flex-start; }
.contact-list .ico { width: 40px; height: 40px; flex: none; border-radius: 11px; background: var(--nuit); color: var(--orange); display: grid; place-items: center; }
.contact-list b { display: block; font-weight: 800; }
.contact-list span { font-size: .92rem; color: var(--texte-doux); }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--nuit); color: #a8bdd1; padding: clamp(3rem,6vw,4.5rem) 0 2rem; }
.site-footer .brand b { color: #fff; }
.site-footer .brand .sub { color: #7d97b0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2.4rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { font-family: var(--sans); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--orange); font-weight: 800; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; font-size: .94rem; }
.site-footer a:hover { color: #fff; }
.footer-bottom { margin-top: 2.8rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem; font-size: .83rem; }

/* ---------- Animation ---------- */
.js-anim [data-anim] { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s cubic-bezier(.2,1,.3,1); }
.js-anim [data-anim].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js-anim [data-anim] { opacity: 1; transform: none; transition: none; }
}
