/* =====================================================
   DM-PCV - Feuille de style commune
   Modifier les couleurs ici se répercute sur tout le site
   ===================================================== */

:root {
  --navy: #0a1628;
  --navy-deep: #060f1c;
  --blue: #1e6fff;
  --blue-bright: #2f86ff;
  --blue-light: #4a6bff;
  --cyan: #16e8e8;
  --ink: #1a2230;
  --grey: #5a6678;
  --grey-light: #8895a8;
  --light: #f4f6f9;
  --white: #ffffff;
  --shadow: 0 10px 40px rgba(10, 22, 40, .10);
  --shadow-strong: 0 20px 60px rgba(10, 22, 40, .18);
  --radius: 8px;
  --maxw: 1320px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; height: auto; }
button { cursor: pointer; font-family: inherit; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

/* ============== HEADER ============== */
header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,.2);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 110px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

.brand img {
  height: 80px;
  width: auto;
}

.brand .txt {
  display: flex;
  flex-direction: column;
  line-height: .9;
}

.brand .dm {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 700;
  font-size: 52px;
  letter-spacing: 1px;
  background: linear-gradient(90deg, var(--blue-light), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 6px rgba(80, 120, 255, .55));
}

.brand .pcv {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 700;
  font-size: 28px;
  color: var(--cyan);
  letter-spacing: 8px;
  margin-top: 1px;
}

.menu {
  display: flex;
  gap: 30px;
  list-style: none;
}

.menu a {
  color: #d6dce5;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .5px;
  padding: 6px 0;
  position: relative;
  transition: color .2s;
}

.menu a:hover { color: #fff; }
.menu a.active { color: #fff; }
.menu a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--blue-bright);
}

.cta-phone {
  display: flex;
  align-items: center;
  gap: 11px;
  background: var(--blue);
  color: #fff;
  padding: 11px 20px;
  border-radius: var(--radius);
  transition: background .2s;
}

.cta-phone .ico-tel {
  width: 34px;
  height: 34px;
  background: rgba(255,255,255,.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.cta-phone .ico-tel svg {
  width: 18px;
  height: 18px;
}

.cta-phone:hover { background: var(--blue-bright); }

.cta-phone .num {
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
}

.cta-phone .lbl {
  font-size: 10px;
  color: #cfe0ff;
}

.burger {
  display: none;
  background: none;
  border: 0;
  color: #fff;
  font-size: 26px;
}

/* ============== HERO (page accueil) ============== */
.hero {
  position: relative;
  height: 600px;
  overflow: hidden;
  background: var(--navy-deep);
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  background-size: cover;
  background-position: center;
}

.hero-slide.on { opacity: 1; }

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(6,15,28,.94) 0%, rgba(6,15,28,.72) 38%, rgba(6,15,28,.28) 72%, rgba(6,15,28,.12) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-card {
  max-width: 600px;
  color: #fff;
}

.hero-tag {
  color: var(--cyan);
  font-weight: 700;
  font-size: 27px;
  letter-spacing: 1px;
  margin-bottom: 16px;
  font-family: 'Cormorant Garamond', Georgia, serif;
}

.hero h1 {
  font-size: 46px;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 22px;
}

.hero p.lead {
  font-size: 16px;
  color: #cdd6e2;
  margin-bottom: 32px;
  max-width: 510px;
}

.btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .5px;
  transition: .2s;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-bright); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }

.hero-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  color: #fff;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  border: 0;
  font-size: 24px;
  transition: .2s;
}

.hero-arrow:hover { background: rgba(255,255,255,.3); }
.hero-arrow.prev { left: 20px; }
.hero-arrow.next { right: 20px; }

.hero-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  border: 0;
  transition: .2s;
}

.hero-dot.on { background: #fff; }

/* ============== PAGE BANNER (autres pages) ============== */
.page-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  padding: 90px 0 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-light), var(--cyan));
}

.page-banner h1 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 12px;
}

.page-banner p {
  font-size: 17px;
  color: #aeb9c9;
  max-width: 600px;
  margin: 0 auto;
}

/* ============== ARGUMENTS ============== */
.args {
  background: var(--white);
  border-bottom: 1px solid #e7ebf1;
}

.args-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.arg {
  display: flex;
  gap: 16px;
  padding: 32px 26px;
  border-right: 1px solid #e7ebf1;
}



.arg:last-child { border-right: 0; }

.arg .ico {
  flex: none;
  width: 42px;
  height: 42px;
  color: var(--blue);
}

.arg h4 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .7px;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.arg p {
  font-size: 13px;
  color: var(--grey);
  line-height: 1.4;
}

/* ============== SECTIONS GÉNÉRIQUES ============== */
section.block {
  padding: 80px 0;
}

section.block.alt {
  background: linear-gradient(180deg, #fbfcfe, #f4f6f9);
}

.section-eyebrow {
  text-align: center;
  color: var(--blue);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-title {
  text-align: center;
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--ink);
}

.section-sub {
  text-align: center;
  color: var(--grey);
  font-size: 16px;
  margin-bottom: 50px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ============== CARTES SERVICES ============== */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: .3s;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
}

.card .thumb {
  height: 170px;
  background-size: cover;
  background-position: center;
  background-color: #d8e2ea;
}

.card .body {
  padding: 44px 22px 26px;
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card .badge {
  position: absolute;
  top: -26px;
  left: 22px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
}

.card .badge svg { width: 26px; height: 26px; }

.card h3 {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .5px;
  margin-bottom: 12px;
  color: var(--ink);
}

.card p {
  font-size: 13.5px;
  color: var(--grey);
  line-height: 1.55;
  flex: 1;
}

.card .more {
  margin-top: 18px;
  color: var(--blue);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .6px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-transform: uppercase;
  transition: gap .2s;
}

.card .more:hover { gap: 11px; }

/* ============== STATS ============== */
.statsbar {
  padding: 0 0 80px;
  background: #f4f6f9;
}

.stats {
  background: var(--navy);
  border-radius: 12px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 40px 20px;
  color: #fff;
}

.stat {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 24px;
  border-right: 1px solid rgba(255,255,255,.12);
}

.stat:last-child { border-right: 0; }

.stat .ico {
  color: var(--blue-bright);
  width: 44px;
  height: 44px;
  flex: none;
}

.stat .num {
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}

.stat .lbl {
  font-size: 13px;
  color: #aeb9c9;
  margin-top: 4px;
}

/* ============== GALERIE RÉALISATIONS ============== */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: .3s;
}

.project:hover { transform: translateY(-6px); box-shadow: var(--shadow-strong); }

.project .pic {
  height: 220px;
  background-size: cover;
  background-position: center;
  background-color: #d8e2ea;
}

.project .info {
  padding: 22px;
}

.project .tag {
  display: inline-block;
  background: #e6efff;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .5px;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.project h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.project p {
  font-size: 14px;
  color: var(--grey);
  line-height: 1.5;
}

/* ============== CONTACT ============== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: start;
}

.contact-info h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 20px;
}

.contact-info ul {
  list-style: none;
  margin-bottom: 30px;
}

.contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #e7ebf1;
  font-size: 15px;
}

.contact-info .ico {
  color: var(--blue);
  width: 22px;
  height: 22px;
  flex: none;
  margin-top: 2px;
}

.contact-info a:hover { color: var(--blue); }

.contact-form {
  background: #fff;
  padding: 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-form h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 22px;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d8dee7;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color .2s, box-shadow .2s;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: 0;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(30, 111, 255, .15);
}

.field textarea { resize: vertical; min-height: 120px; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Honeypot anti-spam (invisible pour les humains) */
.field-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.form-msg {
  padding: 14px;
  border-radius: 6px;
  margin-bottom: 18px;
  font-size: 14px;
  display: none;
}

.form-msg.ok {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
  display: block;
}

.form-msg.ko {
  background: #ffebee;
  color: #c62828;
  border: 1px solid #ef9a9a;
  display: block;
}

/* ============== PAGE À PROPOS ============== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-image {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-radius: var(--radius);
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  text-align: center;
  padding: 20px;
}

.about-text h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 18px;
}

.about-text p {
  color: var(--grey);
  margin-bottom: 16px;
  font-size: 15px;
}

/* ============== FOOTER ============== */
footer {
  background: var(--navy-deep);
  color: #9fabbd;
  padding: 60px 0 26px;
  font-size: 14px;
}

.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 40px;
}

footer h5 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 18px;
  letter-spacing: .5px;
}

footer ul { list-style: none; }
footer li { margin-bottom: 10px; }
footer a { transition: color .2s; }
footer a:hover { color: #fff; }

.foot-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.foot-logo img { height: 50px; }

.foot-logo .txt {
  display: flex;
  flex-direction: column;
  line-height: .9;
}

.foot-logo .dm {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 700;
  font-size: 32px;
  background: linear-gradient(90deg, var(--blue-light), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.foot-logo .pcv {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--cyan);
  letter-spacing: 5px;
}

.foot-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  color: #6e7a8c;
}

.foot-bottom a { color: #9fabbd; }
.foot-bottom a:hover { color: #fff; }

/* ============== RESPONSIVE ============== */
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .args-grid { grid-template-columns: repeat(2, 1fr); }
  .arg:nth-child(2) { border-right: 0; }
  .arg { border-bottom: 1px solid #e7ebf1; }
}

@media (max-width: 860px) {
  .menu, .cta-phone { display: none; }
  .burger { display: block; }
  .hero { height: auto; padding: 70px 0; }
  .hero h1 { font-size: 34px; }
  .stats, .cards, .gallery { grid-template-columns: 1fr 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); padding: 16px 24px; }
  .stat:last-child { border-bottom: 0; }
  .foot-grid { grid-template-columns: 1fr; gap: 30px; }
  .contact-grid, .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-image { height: 250px; }
  .page-banner { padding: 60px 0 50px; }
  .page-banner h1 { font-size: 30px; }
  .section-title { font-size: 26px; }
}

@media (max-width: 560px) {
  .cards, .gallery, .stats { grid-template-columns: 1fr; }
  .hero h1 { font-size: 26px; }
  .field-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
}

/* Menu mobile ouvert */
.menu.open {
  display: flex;
  position: absolute;
  flex-direction: column;
  background: var(--navy);
  top: 110px;
  left: 0;
  width: 100%;
  padding: 20px 28px;
  gap: 14px;
  border-top: 1px solid rgba(255,255,255,.1);
}


/* ============== ENCART "MOT DU DIRIGEANT" (page À propos) ============== */
.dirigeant-encart {
  background: #fff;
  border-radius: 12px;
  padding: 36px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 30px;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
}

.dirigeant-encart .photo-greg {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
  border: 4px solid var(--light);
}

.dirigeant-encart .quote {
  flex: 1;
}

.dirigeant-encart .quote-eyebrow {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.dirigeant-encart blockquote {
  font-style: italic;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 12px;
  padding-left: 12px;
  border-left: 3px solid var(--blue);
}

.dirigeant-encart cite {
  font-style: normal;
  font-weight: 700;
  color: var(--ink);
  font-size: 14px;
}

@media (max-width: 700px) {
  .dirigeant-encart {
    flex-direction: column;
    text-align: center;
    padding: 28px 22px;
  }
  .dirigeant-encart blockquote {
    padding-left: 0;
    border-left: 0;
    border-top: 2px solid var(--blue);
    padding-top: 12px;
  }
}

/* ============== PAGE À PROPOS - HERO IMAGE ============== */
.about-hero {
  background: #f4f6f9;
  padding: 50px 0;
}

.about-hero-grid {
  display: grid;
  grid-template-columns: 60% 40%;
  gap: 40px;
  align-items: center;
}

.about-hero-img {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-hero-img img {
  width: 100%;
  height: auto;
  display: block;
}

.about-hero-text h2 {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--ink);
  line-height: 1.2;
}

.about-hero-text p {
  font-size: 15px;
  color: var(--grey);
  line-height: 1.65;
  margin-bottom: 14px;
}

@media (max-width: 900px) {
  .about-hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .about-hero-text h2 {
    font-size: 24px;
  }
}


/* ============== CARTES DE RÉALISATIONS (page Réalisations) ============== */
.realisations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.realisation-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(10,22,40,.08);
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex;
  flex-direction: column;
}

.realisation-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 50px rgba(10,22,40,.14);
}

.realisation-card .card-img {
  position: relative;
  aspect-ratio: 3 / 2;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.realisation-card .card-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 6px 12px;
  border-radius: 4px;
  text-transform: uppercase;
}

.realisation-card .card-tag.cyan {
  background: var(--cyan);
  color: var(--navy);
}

.realisation-card .card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.realisation-card .card-body h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 6px;
  line-height: 1.3;
}

.realisation-card .card-body .card-location {
  font-size: 13px;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 14px;
}

.realisation-card .card-body p {
  font-size: 14px;
  color: var(--grey);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.realisation-card .card-link {
  color: var(--blue);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap .2s;
}

.realisation-card .card-link:hover {
  gap: 10px;
}

.realisation-card .card-link.disabled {
  color: #8895a8;
  cursor: not-allowed;
}

/* ============== PAGE DÉDIÉE RÉALISATION ============== */
.realisation-hero {
  position: relative;
  height: 480px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}

.realisation-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(6,15,28,.85) 100%);
}

.realisation-hero .hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 0 28px 50px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.realisation-hero .hero-tag {
  display: inline-block;
  background: var(--cyan);
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  padding: 6px 14px;
  border-radius: 4px;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-family: inherit;
}

.realisation-hero h1 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 10px;
  line-height: 1.15;
  font-family: 'Cormorant Garamond', Georgia, serif;
}

.realisation-hero .hero-location {
  font-size: 18px;
  font-weight: 500;
  opacity: .92;
}

@media (max-width: 700px) {
  .realisation-hero { height: 340px; }
  .realisation-hero h1 { font-size: 28px; }
  .realisation-hero .hero-location { font-size: 15px; }
}

/* Bloc texte intro */
.realisation-intro {
  max-width: 800px;
  margin: 0 auto;
  padding: 50px 28px 30px;
}

.realisation-intro h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 20px;
  line-height: 1.25;
}

.realisation-intro p {
  font-size: 16px;
  color: var(--ink);
  line-height: 1.7;
  margin-bottom: 16px;
}

.realisation-intro .lead {
  font-size: 18px;
  color: var(--blue);
  font-weight: 600;
  line-height: 1.55;
  padding-left: 16px;
  border-left: 4px solid var(--blue);
  margin-bottom: 30px;
}

/* Chiffres clés (page dédiée) */
.realisation-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 30px auto;
  padding: 0 28px;
}

.realisation-stats .stat-card {
  background: #f4f6f9;
  padding: 24px;
  border-radius: 10px;
  text-align: center;
  border-top: 4px solid var(--blue);
}

.realisation-stats .stat-card .num {
  font-size: 32px;
  font-weight: 800;
  color: var(--blue);
  font-family: 'Cormorant Garamond', Georgia, serif;
  line-height: 1;
  margin-bottom: 8px;
}

.realisation-stats .stat-card .lbl {
  font-size: 13px;
  color: var(--grey);
  font-weight: 600;
}

/* Galerie photos */
.realisation-gallery {
  max-width: 1200px;
  margin: 50px auto 0;
  padding: 0 28px;
}

.realisation-gallery h2 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--ink);
  text-align: center;
}

.realisation-gallery .gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}

.realisation-gallery .gallery-item {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  cursor: pointer;
  transition: transform .25s;
  overflow: hidden;
}

.realisation-gallery .gallery-item:hover {
  transform: scale(1.02);
}

.realisation-gallery .gallery-empty {
  text-align: center;
  padding: 50px 20px;
  color: var(--grey);
  font-size: 15px;
  background: #f4f6f9;
  border-radius: 10px;
  font-style: italic;
}

/* CTA bas de page */
.realisation-cta {
  background: var(--navy);
  color: #fff;
  padding: 60px 28px;
  text-align: center;
  margin-top: 60px;
}

.realisation-cta h3 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 12px;
  font-family: 'Cormorant Garamond', Georgia, serif;
}

.realisation-cta p {
  color: #b8c4d4;
  margin-bottom: 22px;
  font-size: 16px;
}

/* Bouton retour */
.realisation-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  margin-bottom: 30px;
}

.realisation-back:hover { text-decoration: underline; }

/* ============== LIGHTBOX (zoom photos) ============== */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6,15,28,.96);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.lightbox-overlay.on { display: flex; }

.lightbox-overlay img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 6px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: rgba(255,255,255,.15);
  color: #fff;
  border: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close:hover { background: rgba(255,255,255,.25); }

.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.15);
  color: #fff;
  border: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,.25); }


/* ============== BREAKPOINT MOBILE DÉDIÉ (≤ 600px) ============== */
@media (max-width: 600px) {

  /* HEADER COMPACT : logo réduit + bouton tel visible */
  header { padding: 12px 0; }
  .nav { gap: 8px; }
  .brand img { height: 50px; }
  .brand .txt .dm { font-size: 30px; letter-spacing: 2px; }
  .brand .txt .pcv { font-size: 16px; letter-spacing: 4px; }

  /* Bouton téléphone : version compacte dans le header (icône uniquement) */
  .cta-phone {
    display: flex !important;
    padding: 8px;
    background: var(--blue);
    border-radius: 50%;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    flex: none;
  }
  .cta-phone .ico-tel {
    width: 22px;
    height: 22px;
    margin: 0;
    background: transparent;
    color: #fff;
  }
  .cta-phone .ico-tel svg { width: 100%; height: 100%; }
  .cta-phone span:not(.ico-tel) { display: none; }
  .cta-phone:hover { background: var(--blue-bright); }

  /* Menu burger : ajustement position du menu ouvert (header plus bas) */
  .menu.open { top: 78px; }

  /* HERO : hauteur ajustée pour laisser entrevoir le contenu suivant */
  .hero { min-height: 75vh; height: auto; padding: 50px 0 90px; }
  .hero h1 { font-size: 24px; line-height: 1.2; }

  /* Flèche de scroll animée sous le hero */
  .hero-scroll-arrow {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    opacity: 0.85;
    animation: scrollBounce 1.8s ease-in-out infinite;
    pointer-events: none;
    z-index: 3;
  }
  .hero-scroll-arrow svg { width: 28px; height: 28px; display: block; }

  /* PAVÉS ARGUMENTAIRE : 1 colonne, picto à gauche, titre + texte à droite */
  .args-grid { grid-template-columns: 1fr; }
  .arg {
    padding: 22px 24px;
    border-right: 0;
    border-bottom: 1px solid #e7ebf1;
    gap: 14px;
    align-items: flex-start;
  }
  .arg:last-child { border-bottom: 0; }
  .arg .ico { width: 32px; height: 32px; }
  .arg h4 { font-size: 13px; margin-bottom: 4px; }
  .arg p { font-size: 13px; line-height: 1.5; }

  /* BANDEAU STATS : 1 colonne, plus aéré */
  .stats { padding: 24px 12px; }
  .stat { padding: 14px 16px; gap: 14px; }
  .stat .ico { width: 36px; height: 36px; }
  .stat .num { font-size: 24px; }

  /* LOGOS CERTIFS du footer : 2 colonnes max sur mobile */
  footer img[alt*="Certification"],
  footer img[alt*="Qualigaz"],
  footer img[alt*="FEEBAT"],
  footer img[alt*="Professionnel"] {
    height: 36px !important;
  }

  /* BOUTON TÉLÉPHONE FLOTTANT (toujours visible pendant le scroll) */
  .floating-phone {
    display: flex !important;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
    background: var(--blue);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: #fff;
    z-index: 999;
    box-shadow: 0 6px 20px rgba(30, 111, 255, .45);
    text-decoration: none;
    animation: floatingPulse 2.5s ease-in-out infinite;
  }
  .floating-phone svg { width: 26px; height: 26px; }
  .floating-phone:hover { background: var(--blue-bright); }

  /* CTA hero : full width sur mobile */
  .hero-ctas { flex-direction: column; gap: 12px; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
}

/* Animation flèche scroll */
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.85; }
  50% { transform: translateX(-50%) translateY(10px); opacity: 1; }
}

/* Animation bouton flottant (subtile pulsation) */
@keyframes floatingPulse {
  0%, 100% { box-shadow: 0 6px 20px rgba(30, 111, 255, .45); }
  50% { box-shadow: 0 8px 28px rgba(30, 111, 255, .65); }
}

/* Par défaut sur desktop : bouton flottant masqué */
.floating-phone { display: none; }

/* Flèche scroll : aussi visible sur desktop ? Oui, en bas du hero */
@media (min-width: 601px) {
  .hero-scroll-arrow {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    opacity: 0.8;
    animation: scrollBounce 1.8s ease-in-out infinite;
    pointer-events: none;
    z-index: 3;
  }
  .hero-scroll-arrow svg { width: 32px; height: 32px; display: block; }
}

/* Très petits écrans (≤ 380px) — iPhone SE, vieux Android */
@media (max-width: 380px) {
  .brand img { height: 44px; }
  .brand .txt .dm { font-size: 26px; }
  .brand .txt .pcv { font-size: 14px; }
  .hero h1 { font-size: 22px; }
  .floating-phone { width: 50px; height: 50px; bottom: 16px; right: 16px; }
  .floating-phone svg { width: 22px; height: 22px; }
}
