:root {
  --bleu: #1f3a68;
  --bleu-fonce: #142847;
  --orange: #f08a24;
  --orange-fonce: #d9731a;
  --vert: #6cae3e;
  --texte: #1d2433;
  --gris: #5b6577;
  --fond: #ffffff;
  --fond-alt: #f3f6fa;
  --bord: #e2e7ef;
  --rayon: 14px;
  --ombre: 0 8px 24px rgba(20, 40, 71, .08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--texte);
  background: var(--fond);
  line-height: 1.6;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: var(--bleu); }
.conteneur { width: min(1140px, 100% - 32px); margin-inline: auto; }

/* En-tete */
.entete {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--bord);
}
.entete .conteneur { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.marque { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--bleu); }
.marque-icone { height: 48px; width: auto; }
.marque-nom { color: #c4432d; font-size: 1.25rem; line-height: 1.05; font-weight: 500; letter-spacing: .01em; }
.marque-metiers {
  border-left: 2px solid #b5b5b5; padding-left: 10px;
  color: #6f6f6f; font-size: .74rem; line-height: 1.3;
}
section[id] { scroll-margin-top: 72px; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a { text-decoration: none; color: var(--texte); font-weight: 500; }
.nav a:hover { color: var(--orange); }
.menu-btn { display: none; background: none; border: 0; font-size: 1.6rem; color: var(--bleu); cursor: pointer; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px;
  font-weight: 600; text-decoration: none; border: 2px solid transparent;
  transition: background .2s, color .2s, border-color .2s;
  cursor: pointer; font-size: 1rem; font-family: inherit;
}
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: var(--orange-fonce); }
.btn-contour { border-color: #fff; color: #fff; }
.btn-contour:hover { background: #fff; color: var(--bleu); }
.btn-bleu { background: var(--bleu); color: #fff; }
.btn-bleu:hover { background: var(--bleu-fonce); }
.btn svg { width: 18px; height: 18px; }

/* Hero */
.hero {
  background:
    linear-gradient(100deg, rgba(20, 40, 71, .95) 30%, rgba(20, 40, 71, .55)),
    url("../images/realisations/baignoire_noire.jpg") center / cover;
  color: #fff;
  padding: 96px 0 88px;
}
.hero .surtitre { color: var(--orange); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.15; margin: 12px 0 18px; max-width: 760px; }
.hero p { font-size: 1.15rem; max-width: 620px; opacity: .92; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.atouts { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 40px; list-style: none; font-weight: 500; }
.atouts li::before { content: "✓"; color: var(--orange); margin-right: 8px; font-weight: 700; }

/* Sections */
section { padding: 80px 0; }
.alt { background: var(--fond-alt); }
.titre-section { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.titre-section .surtitre { color: var(--orange); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; }
.titre-section h2 { font-size: clamp(1.7rem, 3.5vw, 2.3rem); color: var(--bleu); margin: 8px 0 12px; line-height: 1.2; }
.titre-section p { color: var(--gris); }

/* Services */
.grille { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.carte {
  background: #fff; border: 1px solid var(--bord); border-radius: var(--rayon);
  padding: 28px; box-shadow: var(--ombre);
  transition: transform .2s;
}
.carte:hover { transform: translateY(-4px); }
.carte .icone {
  width: 54px; height: 54px; border-radius: 12px;
  background: rgba(240, 138, 36, .12); color: var(--orange);
  display: grid; place-items: center; margin-bottom: 18px;
}
.carte .icone svg { width: 28px; height: 28px; }
.carte h3 { color: var(--bleu); margin-bottom: 8px; font-size: 1.2rem; }
.carte p { color: var(--gris); font-size: .97rem; }

/* Realisations */
.galerie { display: grid; gap: 14px; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; }
.galerie a { position: relative; overflow: hidden; border-radius: var(--rayon); display: block; }
.galerie .grande { grid-column: span 2; grid-row: span 2; }
.galerie img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.galerie a:hover img { transform: scale(1.05); }
.galerie span {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px;
  background: linear-gradient(transparent, rgba(20, 40, 71, .85));
  color: #fff; font-weight: 600; font-size: .92rem;
}
.visionneuse {
  position: fixed; inset: 0; z-index: 100; background: rgba(10, 18, 32, .92);
  display: none; place-items: center; padding: 16px; cursor: zoom-out;
}
.visionneuse.ouverte { display: grid; }
.visionneuse img { max-width: 100%; max-height: 90vh; border-radius: 8px; }

/* A propos */
.apropos { display: grid; gap: 48px; grid-template-columns: 1fr 1fr; align-items: center; }
.apropos h2 { color: var(--bleu); font-size: clamp(1.7rem, 3.5vw, 2.3rem); line-height: 1.2; margin: 8px 0 16px; }
.apropos .surtitre { color: var(--orange); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; }
.apropos p { color: var(--gris); margin-bottom: 14px; }
.chiffres { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.chiffre {
  background: var(--bleu); color: #fff; border-radius: var(--rayon);
  padding: 28px 22px; text-align: center;
}
.chiffre:nth-child(2), .chiffre:nth-child(3) { background: var(--orange); }
.chiffre strong { display: block; font-size: 2.3rem; line-height: 1; margin-bottom: 8px; }
.chiffre span { font-size: .95rem; opacity: .95; }

/* Engagements */
.engagements { list-style: none; display: grid; gap: 14px; margin-top: 22px; }
.engagements li { display: flex; gap: 12px; align-items: flex-start; }
.engagements li::before {
  content: "✓"; flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--vert); color: #fff; display: grid; place-items: center;
  font-size: .85rem; font-weight: 700; margin-top: 2px;
}

/* Zone */
.zone { display: grid; gap: 40px; grid-template-columns: 1.1fr .9fr; align-items: center; }
.zone iframe { width: 100%; height: 340px; border: 0; border-radius: var(--rayon); box-shadow: var(--ombre); }
.communes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; list-style: none; }
.communes li { background: #fff; border: 1px solid var(--bord); border-radius: 999px; padding: 6px 14px; font-size: .92rem; }

/* Bandeau urgence */
.bandeau { background: var(--orange); color: #fff; padding: 48px 0; }
.bandeau .conteneur { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.bandeau h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
.bandeau p { opacity: .95; }
.bandeau .btn-bleu { font-size: 1.15rem; padding: 14px 28px; }

/* Contact */
.contact { display: grid; gap: 40px; grid-template-columns: .9fr 1.1fr; }
.coordonnees { list-style: none; display: grid; gap: 20px; }
.coordonnees li { display: flex; gap: 14px; }
.coordonnees .icone {
  flex: none; width: 46px; height: 46px; border-radius: 12px;
  background: var(--bleu); color: #fff; display: grid; place-items: center;
}
.coordonnees .icone svg { width: 22px; height: 22px; }
.coordonnees strong { display: block; color: var(--bleu); }
.coordonnees a { text-decoration: none; }
.formulaire { background: #fff; border: 1px solid var(--bord); border-radius: var(--rayon); padding: 28px; box-shadow: var(--ombre); }
.formulaire .ligne { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.formulaire label { display: block; font-weight: 500; font-size: .92rem; margin-bottom: 6px; }
.formulaire input, .formulaire select, .formulaire textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--bord); border-radius: 10px;
  font: inherit; font-size: 1rem; background: var(--fond-alt); color: var(--texte);
}
.formulaire input:focus, .formulaire select:focus, .formulaire textarea:focus { outline: 2px solid var(--orange); border-color: transparent; }
.formulaire .champ { margin-bottom: 16px; }
.formulaire textarea { min-height: 120px; resize: vertical; }
.formulaire .note { font-size: .82rem; color: var(--gris); margin-top: 12px; }

/* Pied */
.pied { background: var(--bleu-fonce); color: rgba(255, 255, 255, .85); padding: 56px 0 28px; font-size: .95rem; }
.pied .colonnes { display: grid; gap: 32px; grid-template-columns: 1.4fr 1fr 1fr; }
.pied h4 { color: #fff; margin-bottom: 14px; }
.pied ul { list-style: none; display: grid; gap: 8px; }
.pied a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.pied a:hover { color: var(--orange); }
.reseaux { display: flex; gap: 12px; margin-top: 14px; }
.reseaux a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .1); display: grid; place-items: center; }
.reseaux svg { width: 18px; height: 18px; fill: currentColor; }
.copyright { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 40px; padding-top: 20px; text-align: center; font-size: .85rem; }

/* Bouton appel flottant (mobile) */
.appel-flottant {
  display: none; position: fixed; right: 16px; bottom: 16px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; background: var(--orange); color: #fff;
  place-items: center; box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
}
.appel-flottant svg { width: 26px; height: 26px; }

/* Page texte (mentions) */
.page-texte { padding: 56px 0 80px; }
.page-texte h1 { color: var(--bleu); margin-bottom: 24px; }
.page-texte h2 { color: var(--bleu); font-size: 1.25rem; margin: 32px 0 10px; }
.page-texte p, .page-texte li { color: var(--gris); margin-bottom: 10px; }
.page-texte ul { padding-left: 20px; }

/* Responsive */
@media (max-width: 900px) {
  .apropos, .zone, .contact { grid-template-columns: 1fr; }
  .pied .colonnes { grid-template-columns: 1fr; }
  .galerie { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .menu-btn { display: block; }
  .marque { gap: 8px; }
  .marque-icone { height: 40px; }
  .marque-nom { font-size: 1.05rem; }
  .marque-metiers { font-size: .66rem; padding-left: 8px; }
  .btn-retour { padding: 8px 14px; font-size: .9rem; }
  .nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--bord); padding: 8px 16px 16px;
  }
  .nav.ouvert { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--bord); }
  .nav .btn { margin-top: 12px; justify-content: center; border-bottom: 0; }
  .hero { padding: 64px 0 56px; }
  section { padding: 56px 0; }
  .formulaire .ligne { grid-template-columns: 1fr; }
  .appel-flottant { display: grid; }
}
