/* =========================================================================
   ANGUS TRAVAUX — Feuille de style
   Palette inspirée du logo (bleu pétrole) + accent terracotta chaleureux
   ========================================================================= */

/* ---------- Polices auto-hébergées (sous-ensemble latin) ---------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/inter-latin-variable.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/poppins-latin-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/poppins-latin-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/poppins-latin-700.woff2') format('woff2');
}

/* ---------- Variables globales ---------- */
:root {
  --color-primary: #123c4c;
  --color-primary-dark: #0a2833;
  --color-primary-light: #1f6b82;
  --color-accent: #d98e4a;
  /* Terracotta foncé : textes et fonds de boutons (contraste AA >= 4.5:1) */
  --color-accent-strong: #a65a1e;
  --color-accent-strong-dark: #8f4c17;
  --color-bg: #ffffff;
  --color-bg-alt: #f5f7f8;
  --color-bg-dark: #0d2c38;
  --color-text: #1c2427;
  --color-text-light: #5b6770;
  --color-border: #e4e9eb;
  --color-star: #f5a623;

  --font-heading: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  --container-width: 1200px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(10, 40, 51, 0.06);
  --shadow-md: 0 12px 32px rgba(10, 40, 51, 0.12);
  --shadow-lg: 0 24px 60px rgba(10, 40, 51, 0.18);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --header-height: 84px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* ---------- Accessibilité : focus clavier visible + lien d'évitement ---------- */
:focus-visible {
  outline: 3px solid var(--color-accent-strong);
  outline-offset: 3px;
}

.footer :focus-visible,
.zone :focus-visible,
.supplies :focus-visible,
.lightbox :focus-visible {
  outline-color: #fff;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 3000;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
}

.skip-link:focus {
  top: 16px;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.12rem; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent-strong);
  margin-bottom: 12px;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  font-family: var(--font-heading);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-accent-strong);
  color: #fff;
  box-shadow: 0 8px 20px rgba(166, 90, 30, 0.3);
}

.btn--primary:hover {
  background: var(--color-accent-strong-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(166, 90, 30, 0.4);
}

.btn--ghost {
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-border);
}

.btn--ghost:hover {
  border-color: var(--color-primary);
  background: var(--color-bg-alt);
  transform: translateY(-2px);
}

.btn--phone {
  background: var(--color-bg-alt);
  color: var(--color-primary);
  padding: 10px 18px;
  font-size: 0.9rem;
}

.btn--phone svg {
  width: 17px;
  height: 17px;
  color: var(--color-accent);
}

.btn--phone:hover {
  background: var(--color-primary);
  color: #fff;
}

.btn--phone:hover svg { color: #fff; }

/* =========================================================================
   HEADER / NAVIGATION
   ========================================================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: box-shadow var(--transition), background var(--transition), height var(--transition);
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
  height: 70px;
  background: rgba(255, 255, 255, 0.97);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  padding: 2px;
  transition: width var(--transition), height var(--transition);
}

.header.scrolled .logo__badge {
  width: 44px;
  height: 44px;
}

.logo__badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo__text strong {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--color-primary);
  letter-spacing: 0.01em;
}

.logo__text small {
  font-size: 0.7rem;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__link {
  position: relative;
  display: inline-block;
  padding: 10px 12px;
  white-space: nowrap;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--color-text);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.nav__link::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 5px;
  height: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.nav__link:hover,
.nav__link.active {
  color: var(--color-primary);
}

.nav__link:hover::after,
.nav__link.active::after {
  transform: scaleX(1);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Hamburger (mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  z-index: 1200;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 40, 51, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition);
  z-index: 998;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 15% 20%, rgba(217, 142, 74, 0.14), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(31, 107, 130, 0.18), transparent 50%),
    linear-gradient(150deg, #f5f7f8 0%, #eef2f3 55%, #e8eef0 100%);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
  padding-top: 40px;
  padding-bottom: 60px;
}

.hero__content h1 {
  margin-bottom: 20px;
}

.hero__content h1 > span {
  color: var(--color-accent);
  display: block;
}

.hero__text {
  color: var(--color-text-light);
  font-size: 1.05rem;
  max-width: 520px;
  margin-bottom: 32px;
}

.hero__cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.hero__badges li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--color-primary);
}

.hero__badges svg {
  width: 18px;
  height: 18px;
  color: var(--color-accent);
}

.hero__media {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  height: 560px;
}

.hero__frame {
  position: absolute;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid #fff;
}

.hero__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__frame:not(.hero__frame--small) {
  top: 0;
  right: 0;
  width: 82%;
  height: 460px;
}

.hero__frame--small {
  bottom: 0;
  left: 0;
  width: 55%;
  height: 220px;
  z-index: 2;
  animation: float 5s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--color-primary);
  opacity: 0.6;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* =========================================================================
   SECTIONS COMMUNES
   ========================================================================= */
section {
  padding: 110px 0;
}

.section-heading {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-heading__text {
  color: var(--color-text-light);
  margin-top: 14px;
  font-size: 1.02rem;
}

/* =========================================================================
   A PROPOS / ENTREPRISE
   ========================================================================= */
.about {
  background: var(--color-bg-alt);
}

.about__inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}

.about__media {
  position: relative;
}

.about__photo-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/5;
}

.about__photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__card {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--color-primary);
  color: #fff;
  padding: 18px 26px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.about__card-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
}

.about__card-text {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
}

.about__lead {
  color: var(--color-text-light);
  font-size: 1.05rem;
  margin: 18px 0 32px;
}

.about__values {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 36px;
}

.about__values li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.about__values svg {
  color: var(--color-accent);
  background: rgba(217, 142, 74, 0.12);
  padding: 9px;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.about__values strong {
  display: block;
  font-family: var(--font-heading);
  color: var(--color-primary);
  margin-bottom: 3px;
}

.about__values span {
  color: var(--color-text-light);
  font-size: 0.94rem;
}

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

.service-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.service-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: #fff;
  margin-bottom: 20px;
}

.service-card__icon svg {
  width: 26px;
  height: 26px;
}

.service-card h3 {
  margin-bottom: 8px;
}

.service-card p {
  color: var(--color-text-light);
  font-size: 0.92rem;
}

/* =========================================================================
   GALERIE
   ========================================================================= */
.gallery {
  background: var(--color-bg);
}

/* Filtres par catégorie */
.gallery__filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

.gallery__filter {
  padding: 9px 20px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.gallery__filter:hover {
  border-color: var(--color-primary-light);
  color: var(--color-primary-light);
}

.gallery__filter.is-active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

/* Grille des chantiers */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.project {
  display: flex;
  flex-direction: column;
  background: var(--color-bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.project[hidden] { display: none; }

.project:hover {
  box-shadow: var(--shadow-md);
}

.project__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-border);
}

.project__photo {
  display: block;
  height: 100%;
  cursor: zoom-in;
}

/* Photos secondaires : visibles uniquement dans la lightbox */
.project__photo[hidden] { display: none; }

.project__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project:hover .project__photo img {
  transform: scale(1.06);
}

.project__count {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(10, 40, 51, 0.78);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  pointer-events: none;
  backdrop-filter: blur(4px);
}

.project__body {
  padding: 22px 24px 26px;
}

.project__tag {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--color-accent-strong);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project__body h4 {
  margin-bottom: 12px;
  font-size: 1.12rem;
}

.project__list {
  list-style: none;
  color: var(--color-text-light);
  font-size: 0.9rem;
}

.project__list li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 4px;
}

.project__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 20, 24, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition);
}

.lightbox[hidden] { display: none; }

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 88vw;
  max-height: 78vh;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
}

.lightbox__caption {
  position: absolute;
  bottom: 40px;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1rem;
  text-align: center;
  width: 100%;
}

.lightbox__close {
  position: absolute;
  top: 24px;
  right: 32px;
  font-size: 2.4rem;
  color: #fff;
  line-height: 1;
  opacity: 0.8;
  transition: opacity var(--transition), transform var(--transition);
}

.lightbox__close:hover {
  opacity: 1;
  transform: rotate(90deg);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 1.6rem;
  padding: 14px 18px;
  opacity: 0.75;
  transition: opacity var(--transition), background var(--transition);
  border-radius: 50%;
}

.lightbox__nav:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.12);
}

.lightbox__nav--prev { left: 20px; }
.lightbox__nav--next { right: 20px; }

/* =========================================================================
   TEMOIGNAGES — défilement automatique
   ========================================================================= */
.testimonials {
  overflow: hidden;
  background: var(--color-bg-alt);
}

.testimonials .section-heading {
  margin-bottom: 48px;
}

.google-rating {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 10px 18px;
  background: var(--color-bg);
  border-radius: 999px;
  font-size: 0.9rem;
}

.google-rating strong {
  color: var(--color-primary);
}

.testimonials__viewport {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}

.testimonials__track {
  display: flex;
  gap: 24px;
  width: max-content;
  padding: 0 24px;
}

.testimonials__track.is-animated {
  animation: scroll-testimonials 60s linear infinite;
}

.testimonials__track.is-paused,
.testimonials__track:hover,
.testimonials__track:focus-within {
  animation-play-state: paused;
}

.testimonials__controls {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.testimonials__toggle {
  padding: 8px 18px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-bg);
  color: var(--color-primary);
  font-size: 0.85rem;
  font-weight: 600;
  transition: border-color var(--transition), background var(--transition);
}

.testimonials__toggle:hover {
  border-color: var(--color-primary);
}

@keyframes scroll-testimonials {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.testimonial-card {
  flex: 0 0 380px;
  background: var(--color-bg);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testimonial-card__stars {
  color: var(--color-star);
  letter-spacing: 2px;
  font-size: 1rem;
}

.testimonial-card p {
  color: var(--color-text);
  font-size: 0.95rem;
  flex-grow: 1;
}

.testimonial-card__author {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-primary);
  font-size: 0.9rem;
}

/* =========================================================================
   CONTACT
   ========================================================================= */
.contact {
  background: var(--color-bg-alt);
}

.contact__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.contact__lead {
  color: var(--color-text-light);
  margin: 16px 0 32px;
}

.contact__list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 32px;
}

.contact__list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: var(--color-accent);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.contact__icon svg {
  width: 20px;
  height: 20px;
}

.contact__list strong {
  display: block;
  font-family: var(--font-heading);
  color: var(--color-primary);
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.contact__list a,
.contact__list span {
  color: var(--color-text-light);
  font-size: 0.92rem;
}

.contact__list a:hover {
  color: var(--color-accent-strong);
}

.contact__social {
  display: flex;
  gap: 12px;
}

.contact__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  color: var(--color-primary);
  box-shadow: var(--shadow-sm);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.contact__social a svg {
  width: 19px;
  height: 19px;
}

.contact__social a:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-3px);
}

.contact__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 460px;
}

.contact__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Aperçu de la carte avant chargement de Google Maps */
.map-facade {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 32px 24px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(217, 142, 74, 0.16), transparent 55%),
    repeating-linear-gradient(0deg, transparent 0 46px, rgba(18, 60, 76, 0.06) 46px 48px),
    repeating-linear-gradient(90deg, transparent 0 46px, rgba(18, 60, 76, 0.06) 46px 48px),
    #e9eff1;
}

.map-facade__pin {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-md);
  margin-bottom: 6px;
  flex-shrink: 0;
}

.map-facade__pin svg {
  width: 28px;
  height: 28px;
}

.map-facade__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--color-primary);
}

.map-facade__address {
  color: var(--color-text);
  margin-bottom: 10px;
}

.map-facade__note {
  max-width: 340px;
  margin-top: 6px;
  font-size: 0.82rem;
  color: var(--color-text-light);
}

.map-facade__note a {
  display: inline-block;
  margin-top: 4px;
  color: var(--color-primary-light);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer {
  background: var(--color-bg-dark);
  color: rgba(255, 255, 255, 0.75);
  padding-top: 72px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo__badge--footer {
  margin-bottom: 18px;
}

.footer__brand p {
  font-size: 0.9rem;
  margin-bottom: 20px;
  max-width: 320px;
}

.footer__brand .contact__social a {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  box-shadow: none;
}

.footer__brand .contact__social a:hover {
  background: var(--color-accent);
}

.footer__nav,
.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__nav p,
.footer__contact p {
  font-family: var(--font-heading);
  color: #fff;
  font-weight: 600;
  margin-bottom: 6px;
}

.footer__nav a,
.footer__contact a {
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer__nav a:hover,
.footer__contact a:hover {
  color: var(--color-accent);
}

.footer__bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 0.82rem;
}

.footer__bottom a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer__bottom a:hover {
  color: var(--color-accent);
}

.footer__credit {
  margin-top: 6px;
  opacity: 0.8;
}

.footer__credit a {
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition);
}

.footer__credit a:hover {
  color: var(--color-accent);
}

/* =========================================================================
   BACK TO TOP
   ========================================================================= */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition), background var(--transition);
  z-index: 900;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--color-accent);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* =========================================================================
   SLOGAN, ASSURANCES & FFB
   ========================================================================= */
.hero__slogan {
  font-family: var(--font-heading);
  font-weight: 600;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--color-primary-light);
  margin: -6px 0 16px;
}

.trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.trust__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
}

.trust__item svg {
  width: 26px;
  height: 26px;
  color: var(--color-primary-light);
}

.trust__item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--color-primary);
  line-height: 1.3;
}

.trust__item span {
  font-size: 0.8rem;
  color: var(--color-text-light);
  line-height: 1.35;
  display: block;
  margin-top: 2px;
}

.about__signature {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--color-primary);
  margin-bottom: 28px;
}

.about__signature span {
  font-style: normal;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--color-accent-strong);
}

/* =========================================================================
   DEROULEMENT D'UN PROJET + FOURNITURES
   ========================================================================= */
.process {
  background: var(--color-bg-alt);
}

.process__steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.process__step {
  position: relative;
  background: var(--color-bg);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
}

.process__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-accent-strong);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 18px;
}

.process__step h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.process__step p {
  color: var(--color-text-light);
  font-size: 0.92rem;
}

.supplies {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  margin-top: 48px;
  padding: 40px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-md);
}

.supplies__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  flex-shrink: 0;
}

.supplies__icon svg {
  width: 32px;
  height: 32px;
}

.supplies .eyebrow {
  color: #ffe2c6;
  margin-bottom: 6px;
}

.supplies h3 {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.supplies strong {
  color: #fff;
}

/* =========================================================================
   AVANT / APRES — comparateur cliquer-glisser
   ========================================================================= */
.ba__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 72px;
}

.ba {
  margin: 0;
}

.ba__frame {
  --pos: 50%;
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y; /* le scroll vertical reste possible sur mobile */
  background: var(--color-border);
}

.ba__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* Photo "avant" découpée à gauche du curseur */
.ba__img--before {
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}

.ba__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 3px;
  margin-left: -1.5px;
  background: #fff;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.ba__handle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23123c4c' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 6 3 12 9 18'/%3E%3Cpolyline points='15 6 21 12 15 18'/%3E%3C/svg%3E") center / 24px no-repeat;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.ba__label {
  position: absolute;
  top: 14px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(10, 40, 51, 0.78);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  pointer-events: none;
}

.ba__label--before { left: 14px; }
.ba__label--after { right: 14px; background: var(--color-accent-strong); }

/* Input range : invisible, sert au clavier et aux lecteurs d'écran */
.ba__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  margin: 0;
}

.ba__frame:has(.ba__range:focus-visible) {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
}

.ba figcaption {
  margin-top: 12px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-primary);
  text-align: center;
}

.gallery__subtitle {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
}

/* =========================================================================
   ZONE D'INTERVENTION
   ========================================================================= */
.zone {
  background: var(--color-bg-dark);
  color: rgba(255, 255, 255, 0.8);
}

.zone__inner {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.zone h2 {
  color: #fff;
}

.zone .eyebrow {
  color: var(--color-accent);
}

.zone__lead {
  margin: 18px 0 28px;
  font-size: 1.02rem;
}

.zone__lead strong {
  color: #fff;
}

.zone__cities {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.zone__cities li {
  padding: 7px 15px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 0.88rem;
}

.zone__card {
  background: var(--color-bg);
  color: var(--color-text-light);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.zone__card > svg {
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 50%;
  color: var(--color-accent);
  background: rgba(217, 142, 74, 0.12);
}

.zone__card h3 {
  font-size: 1.3rem;
}

.zone__card p {
  font-size: 0.95rem;
}

.zone__card-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-primary-light);
}

.zone__card-link:hover {
  color: var(--color-accent-strong);
}

/* =========================================================================
   CONTACT — mention devis / FOOTER — slogan
   ========================================================================= */
.contact__quote {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: -12px 0 30px;
  padding: 16px 18px;
  border-left: 4px solid var(--color-accent);
  background: var(--color-bg);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  font-size: 0.95rem;
}

.contact__quote svg {
  color: var(--color-accent);
  margin-top: 2px;
}

.contact__quote strong {
  color: var(--color-primary);
}

.footer__brand .footer__slogan {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 600;
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.footer__brand .footer__trust {
  font-size: 0.8rem;
  color: var(--color-accent);
}

/* =========================================================================
   ANIMATIONS AU SCROLL
   ========================================================================= */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .testimonials__viewport { overflow-x: auto; scroll-snap-type: x mandatory; }
  .testimonial-card { scroll-snap-align: start; }
  .hero__frame--small { animation: none; }
}

/* =========================================================================
   RESPONSIVE — TABLETTE (<= 1024px)
   ========================================================================= */
@media (max-width: 1024px) {
  :root { --header-height: 76px; }

  section { padding: 88px 0; }

  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 24px;
  }

  .hero__content { order: 1; }
  .hero__media { order: 2; height: 380px; width: 100%; max-width: 520px; margin: 0 auto; }
  .hero__text { margin-left: auto; margin-right: auto; }
  .hero__cta { justify-content: center; }
  .hero__badges { justify-content: center; }

  .about__inner { grid-template-columns: 1fr; }
  .about__media { max-width: 420px; margin: 0 auto; }

  .services__grid { grid-template-columns: repeat(2, 1fr); }

  .gallery__grid { grid-template-columns: repeat(2, 1fr); }

  .ba__grid { grid-template-columns: repeat(2, 1fr); }

  .process__steps { grid-template-columns: repeat(2, 1fr); }

  .zone__inner { grid-template-columns: 1fr; gap: 40px; }

  .contact__inner { grid-template-columns: 1fr; }
  .contact__map { height: 380px; }

  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: span 2; }
}

/* =========================================================================
   RESPONSIVE — NAVIGATION (<= 1280px)
   Le menu complet (7 liens + logo + bouton tel) ne tient plus sur une seule
   ligne en dessous de cette largeur : on bascule sur le menu burger.
   ========================================================================= */
@media (max-width: 1280px) {
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    height: 100dvh;
    overflow-y: auto;
    width: min(320px, 82vw);
    background: #fff;
    box-shadow: -8px 0 30px rgba(10, 40, 51, 0.15);
    transform: translateX(100%);
    /* visibility : liens hors écran non atteignables au clavier quand le menu est fermé */
    visibility: hidden;
    transition: transform var(--transition), visibility 0s linear 0.3s;
    z-index: 999;
    padding: 110px 32px 40px;
  }

  .nav.active {
    transform: translateX(0);
    visibility: visible;
    transition: transform var(--transition), visibility 0s;
  }

  .nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    width: 100%;
  }

  .nav__link {
    width: 100%;
    padding: 14px 12px;
    font-size: 1rem;
  }

  .nav__link::after { display: none; }

  .hamburger { display: flex; }

  .logo__text small { display: none; }
}

/* =========================================================================
   RESPONSIVE — MOBILE (<= 768px)
   ========================================================================= */
@media (max-width: 768px) {
  .header__actions .btn--phone span { display: none; }
  .header__actions .btn--phone { padding: 10px; border-radius: 50%; }

  section { padding: 68px 0; }

  h1 { font-size: 1.95rem; }
  h2 { font-size: 1.65rem; }

  .hero { min-height: auto; padding-bottom: 40px; }
  .hero__media { height: 320px; }
  .hero__frame:not(.hero__frame--small) { height: 320px; width: 90%; }
  .hero__frame--small { width: 62%; height: 160px; }

  .hero__cta { flex-direction: column; width: 100%; }
  .hero__cta .btn { width: 100%; }

  .services__grid { grid-template-columns: 1fr; }

  .gallery__grid { grid-template-columns: 1fr; gap: 20px; }

  .ba__grid { grid-template-columns: 1fr; gap: 28px; margin-bottom: 56px; }
  .ba__frame { max-width: 440px; margin: 0 auto; }

  .process__steps { grid-template-columns: 1fr; gap: 16px; }

  .supplies { flex-direction: column; gap: 18px; padding: 28px 22px; }

  .trust { grid-template-columns: 1fr; }

  .zone__card { padding: 28px 22px; }
  .zone__card .btn { width: 100%; }
  .gallery__filters {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    margin-bottom: 28px;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .gallery__filter { flex: 0 0 auto; }

  .testimonial-card { flex: 0 0 82vw; padding: 26px; }

  .contact__map { height: 380px; }

  .footer__inner { grid-template-columns: 1fr; text-align: left; }
  .footer__brand { grid-column: span 1; }

  .back-to-top { right: 18px; bottom: 18px; width: 44px; height: 44px; }

  .lightbox img { max-width: 92vw; max-height: 66vh; }
  .lightbox__nav { padding: 10px 14px; font-size: 1.2rem; }
  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
}

@media (max-width: 400px) {
  .container { padding: 0 18px; }
  h1 { font-size: 1.7rem; }
  .header__inner { gap: 10px; }
  .header__actions { gap: 6px; }
  .logo { gap: 8px; }
  .logo__badge,
  .header.scrolled .logo__badge { width: 42px; height: 42px; }
  .logo__text strong { font-size: 0.98rem; }
  .about__card { right: -8px; bottom: -18px; padding: 14px 18px; }
}

/* =========================================================================
   SOUS-PAGES (404, mentions légales)
   ========================================================================= */
.subpage {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--color-bg-alt);
}

.subpage__header {
  padding: 16px 0;
  background: var(--color-bg);
  box-shadow: var(--shadow-sm);
}

.subpage__main {
  flex: 1;
  padding: 64px 0 88px;
}

.subpage__main--center {
  display: flex;
  align-items: center;
  text-align: center;
}

.subpage__lead {
  max-width: 520px;
  margin: 16px auto 32px;
  color: var(--color-text-light);
}

.subpage__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.legal {
  max-width: 780px;
}

.legal h1 {
  margin-bottom: 32px;
}

.legal h2 {
  font-size: 1.3rem;
  margin: 36px 0 10px;
}

.legal p {
  margin-bottom: 12px;
  color: var(--color-text);
}

.legal a:not(.btn) {
  color: var(--color-primary-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal__back {
  margin-top: 40px;
}

/* Emplacements à compléter (bien visibles tant qu'ils restent) */
.todo {
  background: #fff3cd;
  color: #6b4e00;
  padding: 0 4px;
  border-radius: 4px;
  font-weight: 600;
}

/* Évite la coupure des noms de communes composés (ex. Fontenay-le-Fleury) */
.nowrap { white-space: nowrap; }
