/* ============================================
   Réunion Plaquiste Pro — styles
   ============================================ */

:root {
  --navy: #001969;
  --navy-deep: #000f42;
  --blue: #0080ff;
  --blue-light: #4da3ff;
  --silver: #afafaf;
  --silver-light: #d9d9d9;
  --white: #ffffff;
  --off-white: #f4f6fb;
  --ink: #0c1220;
  --shadow: 0 20px 60px rgba(0, 15, 66, 0.25);
  --radius: 18px;
  --maxw: 1220px;
  --ff-display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --ff-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--off-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
section { position: relative; }

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

.eyebrow {
  display: inline-block;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--blue);
  margin-bottom: 14px;
}

h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-weight: 900;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  font-style: italic;
  line-height: 1.05;
  margin: 0 0 18px;
  color: var(--navy);
}

h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 16px; color: #384057; }

.section-head {
  max-width: 680px;
  margin: 0 auto 52px;
  text-align: center;
}
.section-head p { color: #566079; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 32px;
  border-radius: 100px;
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  font-family: var(--ff-body);
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue), #0059c9);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(0, 128, 255, 0.35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(0, 128, 255, 0.45); }
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.55);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); transform: translateY(-3px); }
.btn-dark-outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-dark-outline:hover { background: var(--navy); color: var(--white); transform: translateY(-3px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(0, 25, 105, 0.0);
  backdrop-filter: blur(0px);
  transition: background 0.35s ease, backdrop-filter 0.35s ease, box-shadow .35s ease;
  padding: 18px 0;
}
.site-header.scrolled {
  background: rgba(0, 25, 105, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
  padding: 10px 0;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { height: 40px; width: auto; border-radius: 6px; transition: height .3s ease; }
.site-header.scrolled .brand img { height: 32px; }
.brand-text {
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 900;
  color: var(--white);
  font-size: 1rem;
  line-height: 1.05;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.brand-text span { color: var(--blue-light); display: block; font-size: 0.95em; }

.main-nav { margin-left: 56px; }
.main-nav ul { display: flex; gap: 22px; }
.main-nav li { flex-shrink: 0; }
.main-nav a {
  color: var(--white);
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  position: relative;
  padding-bottom: 4px;
  white-space: nowrap;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0%; height: 2px;
  background: var(--blue-light);
  transition: width .25s ease;
}
.main-nav a:hover::after { width: 100%; }

/* Lien WhatsApp du menu mobile : masqué sur ordinateur (le <li> lui-même, pas seulement le lien,
   pour ne laisser aucun espacement résiduel dans la nav desktop) */
.nav-whatsapp-mobile { display: none; }

.header-cta { display: flex; align-items: center; gap: 14px; flex-shrink: 0; margin-left: auto; }
.header-cta .btn { padding: 11px 20px; font-size: 0.8rem; white-space: nowrap; flex-shrink: 0; }

.social-icons { display: flex; align-items: center; gap: 10px; }
.social-icons a {
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.1);
  transition: background .25s ease, transform .25s ease;
  flex-shrink: 0;
}
.social-icons svg { width: 15px; height: 15px; fill: var(--white); }
.social-icons a:hover { background: var(--blue); transform: translateY(-2px); }
.footer-social { margin-top: 16px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 26px; height: 2.5px; background: var(--white); border-radius: 2px; }

/* Sous 600px : masquer les icônes sociales du header pour garantir que le logo,
   le nom et le bouton Menu restent entièrement visibles. Facebook, Instagram et
   WhatsApp restent accessibles via le footer et le menu mobile. */
@media (max-width: 600px) {
  .header-cta .social-icons { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url("../images/realisations/appartement-peinture-enduit/photo-06.jpg");
  background-size: cover;
  background-position: center 70%;
  transform: scale(1.05);
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,15,66,0.75) 0%, rgba(0,15,66,0.72) 45%, rgba(0,10,45,0.94) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 160px 0 90px;
  width: 100%;
}
.hero-content h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  max-width: 900px;
  margin-bottom: 22px;
}
.hero-content h1 em {
  font-style: italic;
  color: var(--blue-light);
}
.hero-sub {
  color: var(--silver-light);
  max-width: 620px;
  font-size: 1.08rem;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin: 30px 0 56px; }

.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  overflow: hidden;
}
.trust-item {
  background: rgba(255,255,255,0.05);
  padding: 20px 18px;
  text-align: center;
}
.trust-item strong {
  display: block;
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--white);
}
.trust-item span {
  display: block;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--silver-light);
  margin-top: 4px;
}

.scroll-cue {
  position: absolute;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--silver-light);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.85;
}
.scroll-cue .line { width: 1px; height: 28px; background: linear-gradient(var(--blue-light), transparent); animation: pulse-down 1.8s infinite; }
@keyframes pulse-down { 0% { opacity: .2; } 50% { opacity: 1; } 100% { opacity: .2; } }

/* ---------- Reveal animation ---------- */
.reveal { transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
body.reveal-ready .reveal:not(.in) { opacity: 0; transform: translateY(28px); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ---------- Services (bento) ---------- */
.services { padding: 120px 0 100px; background: var(--off-white); }
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.bento-card {
  grid-column: span 3;
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: 0 10px 34px rgba(12, 18, 32, 0.06);
  border: 1px solid rgba(0,25,105,0.06);
  transition: transform .3s ease, box-shadow .3s ease;
}
.bento-card:hover { transform: translateY(-6px); box-shadow: 0 22px 46px rgba(12,18,32,0.12); }
.bento-card.wide { grid-column: span 6; display: flex; align-items: center; gap: 34px; }
.bento-card .icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  flex-shrink: 0;
}
.bento-card .icon svg { width: 26px; height: 26px; stroke: var(--white); }
.bento-card h3 { margin-bottom: 10px; }
.bento-card p { margin-bottom: 0; font-size: 0.95rem; }
.bento-card.wide .icon { margin-bottom: 0; }

@media (max-width: 900px) {
  .bento-card { grid-column: span 6; }
  .bento-card.wide { flex-direction: column; align-items: flex-start; text-align: left; }
}

/* ---------- Book architectes ---------- */
.book {
  background: linear-gradient(160deg, var(--navy-deep), var(--navy) 60%, #002a8f);
  color: var(--white);
  padding: 110px 0;
  overflow: hidden;
  position: relative;
}
.book::before {
  content: "";
  position: absolute;
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(0,128,255,0.35), transparent 70%);
  top: -220px; right: -160px;
  border-radius: 50%;
}
.book-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.book h2 { color: var(--white); max-width: 560px; }
.book p { color: var(--silver-light); max-width: 520px; }
.book-points { margin: 26px 0 32px; display: flex; flex-direction: column; gap: 14px; }
.book-points li { display: flex; gap: 12px; align-items: flex-start; color: var(--off-white); font-weight: 600; font-size: 0.96rem; }
.book-points li .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--blue-light); margin-top: 7px; flex-shrink: 0; }
.book-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.book-visual img { border-radius: 16px; height: 100%; object-fit: cover; box-shadow: var(--shadow); }
.book-visual .tall { grid-row: span 2; height: 100%; }
@media (max-width: 860px) {
  .book-grid { grid-template-columns: 1fr; }
  .book-visual { margin-top: 20px; }
}

/* ---------- Gallery ---------- */
.gallery { padding: 120px 0; background: var(--off-white); }
.filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.filter-btn {
  padding: 10px 22px;
  border-radius: 100px;
  border: 2px solid rgba(0,25,105,0.15);
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all .25s ease;
}
.filter-btn:hover { border-color: var(--blue); color: var(--blue); }
.filter-btn.active { background: var(--navy); border-color: var(--navy); color: var(--white); }

.grid-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.g-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  cursor: zoom-in;
  box-shadow: 0 8px 26px rgba(12,18,32,0.08);
  transition: transform .3s ease;
  aspect-ratio: 4 / 3;
}
.g-item:hover { transform: translateY(-4px); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.g-item:hover img { transform: scale(1.06); }
.g-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 44px 18px 16px;
  background: linear-gradient(0deg, rgba(0,10,45,0.94) 0%, rgba(0,10,45,0.72) 48%, transparent 100%);
  color: var(--white);
  opacity: 1;
  transform: translateY(0);
  transition: opacity .3s ease, transform .3s ease;
}
.g-caption span {
  display: block;
  margin-bottom: 4px;
  color: #b9dcff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.g-caption strong { display: block; font-size: 0.96rem; line-height: 1.25; }
.g-item:hover .g-caption { opacity: 1; transform: translateY(0); }
.g-item.hidden { display: none; }
.g-item.home-hidden { display: none; }

.section-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.btn-outline-dark {
  color: var(--navy);
  border: 1px solid rgba(0, 15, 66, 0.3);
  background: transparent;
}
.btn-outline-dark:hover { color: var(--white); background: var(--navy); border-color: var(--navy); }

.hero-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: max-content;
  max-width: 100%;
  margin: 22px auto 0;
  padding: 10px 16px;
  color: var(--white);
  background: rgba(0, 10, 45, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  font-size: 0.88rem;
  font-weight: 600;
}
.hero-rating-score { color: #ffd057; font-weight: 800; }

@media (max-width: 520px) {
  .hero-rating {
    width: 100%;
    flex-wrap: wrap;
    gap: 5px 12px;
    text-align: center;
  }
}

@media (max-width: 900px) {
  .grid-gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  .grid-gallery { grid-template-columns: 1fr; }
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(0,10,45,0.94);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}
.lightbox.open { display: flex; }
.lightbox img { max-height: 76vh; max-width: 90vw; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.lightbox-cap {
  position: absolute; bottom: 24px; left: 50%; width: min(760px, calc(100% - 48px));
  transform: translateX(-50%); text-align: center; color: var(--silver-light); font-size: 0.86rem;
}
.lightbox-cap strong { display: block; margin: 3px 0; color: var(--white); font-size: 1.05rem; }
.lightbox-cap span { display: block; }
#lbCounter { color: var(--blue-light); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; }
.lightbox.single .lightbox-prev, .lightbox.single .lightbox-next { display: none; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 1.3rem;
  transition: background .25s ease;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.25); }
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }

@media (max-width: 700px) {
  .lightbox { padding: 70px 14px 120px; }
  .lightbox img { max-height: 68vh; max-width: 100%; }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
  .lightbox-close { top: 14px; right: 14px; }
  .lightbox-cap { bottom: 18px; width: calc(100% - 28px); }
}

/* ---------- About ---------- */
.about { padding: 120px 0; background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.about-visual { position: relative; }
.about-visual img { border-radius: 20px; box-shadow: var(--shadow); }
.about-badge {
  position: absolute;
  bottom: -26px; right: -26px;
  background: var(--navy);
  color: var(--white);
  padding: 22px 26px;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0,25,105,0.35);
  text-align: center;
}
.about-badge strong {
  display: block;
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 2.1rem;
  color: var(--blue-light);
}
.about-badge span { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--silver-light); }

.about-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 30px; }
.about-stats .stat { background: var(--off-white); border-radius: 14px; padding: 18px 20px; }
.about-stats .stat strong { display: block; font-family: var(--ff-display); font-style: italic; color: var(--navy); font-size: 1.3rem; }
.about-stats .stat span { font-size: 0.82rem; color: #566079; }

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-badge { position: static; margin-top: -40px; margin-left: 20px; display: inline-block; }
}

/* ---------- Testimonials / Avis ---------- */
.testimonials { padding: 120px 0; background: var(--off-white); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: 0 10px 34px rgba(12, 18, 32, 0.06);
  border: 1px solid rgba(0,25,105,0.06);
  display: flex;
  flex-direction: column;
}
.testimonial-card .stars { color: #ffb400; font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 14px; }
.testimonial-card p { font-size: 0.96rem; color: #384057; flex-grow: 1; margin-bottom: 0; }
.testimonial-author { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.testimonial-author .avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-family: var(--ff-display);
  flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: 0.9rem; color: var(--navy); }
.testimonial-author span { font-size: 0.78rem; color: #7a8296; }
.testimonial-card-last { grid-column: 2; }
.testimonial-card.review-hidden { display: none; }
.testimonials-toggle-wrap { margin-top: 28px; }
.testimonials-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  flex-wrap: wrap;
}
.testimonials-link:hover { color: var(--blue); }
.rating-badge {
  background: var(--white);
  border: 1.5px solid rgba(0,25,105,0.12);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 800;
  color: #ffb400;
  box-shadow: 0 6px 18px rgba(12,18,32,0.06);
}
@media (max-width: 860px) {
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonial-card-last { grid-column: auto; }
}

/* ---------- FAQ ---------- */
.faq { padding: 120px 0; background: var(--white); }
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  border: 1.5px solid rgba(0,25,105,0.1);
  border-radius: 14px;
  overflow: hidden;
  background: var(--off-white);
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--navy);
}
.faq-icon {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid rgba(0,25,105,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blue);
  transition: transform .25s ease, background .25s ease, color .25s ease;
}
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-answer p { padding: 0 24px 22px; margin: 0; font-size: 0.92rem; color: #566079; }
.faq-item.open { background: var(--white); border-color: rgba(0,128,255,0.25); box-shadow: 0 10px 30px rgba(12,18,32,0.06); }
.faq-item.open .faq-answer { max-height: 300px; }
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--blue); color: var(--white); border-color: var(--blue); }

/* ---------- Contact ---------- */
.contact {
  padding: 120px 0 100px;
  background: linear-gradient(160deg, var(--navy-deep), var(--navy));
  color: var(--white);
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
}
.contact h2 { color: var(--white); }
.contact-info p { color: var(--silver-light); }
.contact-list { display: flex; flex-direction: column; gap: 22px; margin-top: 30px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .icon {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
}
.contact-list .icon svg { width: 20px; height: 20px; stroke: var(--blue-light); }
.contact-list strong { display: block; color: var(--white); font-size: 0.95rem; }
.contact-list span, .contact-list a { color: var(--silver-light); font-size: 0.9rem; }
.contact-list a:hover { color: var(--blue-light); }

.contact-form {
  background: var(--white);
  border-radius: 22px;
  padding: 40px;
  box-shadow: var(--shadow);
}
.contact-form h3 { color: var(--navy); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--navy);
  margin-bottom: 7px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: 10px;
  border: 1.5px solid #dde3ef;
  font-family: var(--ff-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--off-white);
  transition: border-color .2s ease, background .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
.field textarea { resize: vertical; min-height: 120px; }
.hp-field { position: absolute; left: -9999px; opacity: 0; }
.form-submit { width: 100%; margin-top: 6px; }
.form-note { font-size: 0.78rem; color: #7a8296; margin-top: 12px; text-align: center; }
.form-status {
  margin-top: 16px;
  padding: 13px 16px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  display: none;
}
.form-status.show { display: block; }
.form-status.ok { background: #e5f7ec; color: #1a7a43; }
.form-status.err { background: #fde8e8; color: #b3261e; }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 26px; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: var(--silver-light);
  padding: 56px 0 26px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand { display: flex; align-items: flex-start; gap: 14px; max-width: 320px; }
.footer-brand img { height: 42px; width: auto; border-radius: 6px; flex-shrink: 0; }
.footer-brand .brand-text { font-size: 1.05rem; }
.footer-brand p { color: var(--silver-light); font-size: 0.85rem; margin: 8px 0 0; }
.footer-nav { display: flex; gap: 50px; flex-wrap: wrap; }
.footer-nav h4 { color: var(--white); font-size: 0.85rem; margin-bottom: 14px; }
.footer-nav ul { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { font-size: 0.88rem; color: var(--silver-light); }
.footer-nav a:hover { color: var(--blue-light); }
.footer-bottom {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.78rem;
  color: #7d86a3;
}

/* Back to top */
.to-top {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px rgba(0,128,255,0.4);
  opacity: 0; pointer-events: none;
  transform: translateY(10px);
  transition: opacity .3s ease, transform .3s ease;
  z-index: 900;
  cursor: pointer;
  border: none;
}
.to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* WhatsApp flottant */
.whatsapp-float {
  position: fixed;
  left: calc(20px + env(safe-area-inset-left));
  bottom: calc(20px + env(safe-area-inset-bottom));
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px rgba(0,0,0,0.28);
  z-index: 950;
  transition: transform .25s ease, box-shadow .25s ease;
}
.whatsapp-float svg { width: 28px; height: 28px; fill: #fff; }
.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.36);
}
.whatsapp-float:focus-visible {
  outline: 3px solid var(--blue-light);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .whatsapp-float { transition: none; }
  .whatsapp-float:hover { transform: none; }
}

/* ---------- Cookie consent banner ---------- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 4000;
  background: var(--navy-deep);
  color: var(--silver-light);
  padding: 20px 24px;
  box-shadow: 0 -10px 30px rgba(0,0,0,0.3);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
  transform: translateY(120%);
  transition: transform .4s ease;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner p { margin: 0; font-size: 0.86rem; max-width: 640px; color: var(--silver-light); }
.cookie-banner .cookie-links { margin-top: -8px; }
.cookie-banner .cookie-links a { color: var(--blue-light); font-size: 0.82rem; text-decoration: underline; }
.cookie-actions { display: flex; gap: 12px; flex-shrink: 0; }
.cookie-actions .btn { padding: 10px 22px; font-size: 0.78rem; min-width: 116px; }

/* Refuser doit avoir un poids visuel équivalent à Accepter sur le fond sombre du bandeau
   (l'ancien .btn-dark-outline, texte/bordure navy, est peu lisible sur var(--navy-deep)) */
.cookie-actions #cookieRefuse {
  background: var(--white);
  border-color: var(--white);
  color: var(--navy);
  font-weight: 800;
}
.cookie-actions #cookieRefuse:hover {
  background: var(--silver-light);
  border-color: var(--silver-light);
}

@media (max-width: 700px) {
  .cookie-banner { justify-content: flex-start; padding: 18px 20px; }
}

/* ---------- Pages légales (mentions légales / politique de confidentialité) ---------- */
.legal-topbar {
  background: var(--navy-deep);
  padding: 20px 0;
}
.legal-topbar .container { display: flex; align-items: center; gap: 12px; }
.legal-topbar img { height: 36px; width: auto; border-radius: 6px; flex-shrink: 0; }
.legal-topbar .brand-text { font-size: 0.95rem; color: var(--white); }
.legal-topbar .back-link {
  margin-left: auto;
  color: var(--silver-light);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.legal-topbar .back-link:hover { color: var(--blue-light); }

.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 70px 24px 100px;
}
.legal-content h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 26px; }
.legal-content h2 { font-size: 1.15rem; margin-top: 40px; margin-bottom: 12px; }
.legal-content p, .legal-content li { color: #384057; font-size: 0.96rem; }
.legal-content a { color: var(--blue); text-decoration: underline; }
.legal-content code {
  background: var(--off-white);
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 0.9em;
}

.legal-footer {
  background: var(--navy-deep);
  color: var(--silver-light);
  padding: 26px 0;
  font-size: 0.78rem;
}
.legal-footer .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.legal-footer a { color: var(--silver-light); }
.legal-footer a:hover { color: var(--blue-light); }

@media (max-width: 600px) {
  .legal-content { padding: 50px 20px 80px; }
  .legal-topbar .brand-text { display: none; }
}

/* ---------- Satisfaction survey page ---------- */
.sat-body { background: linear-gradient(160deg, var(--navy-deep), var(--navy)); min-height: 100vh; }
.sat-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}
.sat-card {
  background: var(--white);
  border-radius: 24px;
  padding: 44px 40px;
  max-width: 560px;
  width: 100%;
  box-shadow: var(--shadow);
}
.sat-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; }
.sat-brand img { height: 40px; width: auto; border-radius: 6px; }
.sat-brand-text {
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 900;
  color: var(--navy);
  font-size: 1.1rem;
  line-height: 1.05;
}
.sat-brand-text span { color: var(--blue); display: block; font-size: 0.95em; }
.sat-card h1 { font-size: 1.5rem; margin-bottom: 10px; }
.sat-intro { color: #566079; margin-bottom: 30px; }

.star-rating {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 6px;
  margin-top: 6px;
}
.star-rating input { display: none; }
.star-rating label {
  font-size: 2.6rem;
  line-height: 1;
  color: #d8dce6;
  cursor: pointer;
  transition: color .15s ease, transform .15s ease;
}
.star-rating input:checked ~ label,
.star-rating input:checked ~ label ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label {
  color: #ffb400;
}

.scale-field label:first-child { margin-bottom: 10px; }
.scale-options { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.scale-btn {
  padding: 10px 18px;
  border-radius: 100px;
  border: 1.5px solid #dde3ef;
  background: var(--off-white);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.84rem;
  cursor: pointer;
  transition: all .2s ease;
  font-family: var(--ff-body);
}
.scale-btn:hover { border-color: var(--blue); }
.scale-btn.active { background: var(--blue); border-color: var(--blue); color: var(--white); }

.sat-thanks { display: none; text-align: center; padding: 20px 0; }
.sat-thanks.show { display: block; }
.sat-thanks h2 { color: var(--navy); font-size: 1.5rem; margin-bottom: 10px; }
.sat-thanks p { color: #566079; }
.sat-google-cta { display: none; margin-top: 26px; padding-top: 26px; border-top: 1px solid #e6e9f2; }
.sat-google-cta.show { display: block; }
.sat-google-cta p { font-weight: 600; color: var(--navy); margin-bottom: 16px; }

@media (max-width: 600px) {
  .sat-card { padding: 32px 24px; }
  .star-rating label { font-size: 2.2rem; }
}

/* ---------- Mobile nav ---------- */
@media (max-width: 1180px) {
  .main-nav { position: fixed; top: 0; right: -100%; height: 100vh; width: min(320px, 82vw);
    background: var(--navy-deep); padding: 100px 32px 32px; transition: right .35s ease; box-shadow: -20px 0 50px rgba(0,0,0,0.3); }
  .main-nav.open { right: 0; }
  .main-nav ul { flex-direction: column; gap: 26px; }
  .header-cta .btn.btn-outline { display: none; }
  .nav-toggle { display: flex; }
  .hero-content { padding-top: 130px; }
  .trust-bar { grid-template-columns: repeat(2, 1fr); }

  .nav-whatsapp-mobile { display: list-item; }
  .header-cta .whatsapp-header-icon { display: none; }
}

/* 1181–1440px : la nav ordinateur est active, mais le bouton "Demander un devis"
   déborde. On le masque dans cette plage ; nav ordinateur + 3 icônes restent visibles. */
@media (min-width: 1181px) and (max-width: 1440px) {
  .header-cta .btn.btn-outline { display: none; }
}
