/* ═══════════════════════════════════════
   ROMEU CONSTRUCTION – style.css
   ═══════════════════════════════════════ */

/* ── Variables ── */
:root {
  --primary:   #C0272D;
  --secondary: #1A3A5C;
  --white:     #FFFFFF;
  --light:     #F5F5F5;
  --dark:      #2C2C2C;
  --border:    #E0E0E0;

  --font-display: 'Barlow Condensed', sans-serif;
  --font-body:    'Inter', sans-serif;

  --radius:    8px;
  --shadow:    0 4px 20px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.12);
  --transition: 0.3s ease;
  --header-h:  72px;
}

/* ── Reset & Base ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

address {
  font-style: normal;
}

/* ── Container ── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn--primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn--primary:hover {
  background: #a01f24;
  border-color: #a01f24;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(192,39,45,0.3);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn--outline:hover {
  background: var(--white);
  color: var(--secondary);
  transform: translateY(-2px);
}

.btn--outline-primary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn--outline-primary:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--full {
  width: 100%;
}

/* ── Section Commons ── */
.section {
  padding: 96px 0;
}
.section--light {
  background: var(--light);
}

.section__header {
  text-align: center;
  margin-bottom: 56px;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--secondary);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.1;
}

.section__bar {
  width: 60px;
  height: 4px;
  background: var(--primary);
  margin: 16px auto 0;
  border-radius: 2px;
}

/* ── Fade-in Animations ── */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════
   HEADER
   ═══════════════════════════════════════ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  transition: box-shadow var(--transition);
  height: var(--header-h);
}

.header.scrolled {
  box-shadow: 0 2px 24px rgba(0,0,0,0.10);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: var(--header-h);
}

.header__logo img {
  height: 70px;
  width: auto;
  object-fit: contain;
}

.header__nav {
  flex: 1;
}

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

.nav__link {
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
  letter-spacing: 0.02em;
}

.nav__link:hover {
  color: var(--primary);
  background: rgba(192,39,45,0.06);
}

.header__cta {
  white-space: nowrap;
  flex-shrink: 0;
  padding: 10px 20px;
  font-size: 0.85rem;
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
  transform-origin: center;
}

.burger.open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.burger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.burger.open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ═══════════════════════════════════════
   HERO
   ═══════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: url('../assets/images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-color: var(--secondary);
  padding-top: var(--header-h);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,58,92,0.90) 0%, rgba(44,44,44,0.75) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: 80px 24px;
}

.hero__eyebrow {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 4px;
  margin-bottom: 24px;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero__subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 40px;
  font-weight: 500;
}

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

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

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  border-top: 3px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

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

.service-card__icon {
  width: 56px;
  height: 56px;
  color: var(--primary);
  margin-bottom: 20px;
}

.service-card__icon svg {
  width: 100%;
  height: 100%;
}

.service-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}

.service-card__text {
  font-size: 0.92rem;
  color: #555;
  line-height: 1.65;
}

.services__seo {
  text-align: center;
  font-size: 0.85rem;
  color: #888;
  max-width: 720px;
  margin: 0 auto;
  font-style: italic;
}

/* ═══════════════════════════════════════
   RÉALISATIONS
   ═══════════════════════════════════════ */
.project-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 48px;
}

.project-featured__image {
  height: 100%;
  min-height: 400px;
  background: var(--light);
  overflow: hidden;
}

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

.project-featured__content {
  padding: 40px 40px 40px 0;
}

.project-featured__content_left {
  padding: 40px 0px 40px 40px;
}

.project-featured__tag {
  display: inline-block;
  background: rgba(192,39,45,0.1);
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.project-featured__title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
  line-height: 1.1;
}

.project-featured__desc {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 24px;
}

.project-featured__quote {
  border-left: 4px solid var(--primary);
  padding-left: 20px;
  margin-bottom: 28px;
}

.project-featured__quote p {
  font-style: italic;
  font-size: 0.92rem;
  color: #444;
  line-height: 1.7;
  margin-bottom: 8px;
}

.project-featured__quote cite {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.04em;
  font-style: normal;
}

/* ── Slider ── */
.slider {
  position: relative;
  margin-bottom: 0;
}

.slider__track-wrap {
  overflow: hidden;
  border-radius: var(--radius);
}

.slider__track {
  display: flex;
  gap: 20px;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.slider__slide {
  /* width set by JS */
  flex-shrink: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--light);
  cursor: zoom-in;
  position: relative;
}

.slider__slide img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, opacity 0.3s ease;
}

.slider__slide:hover img {
  transform: scale(1.04);
  opacity: 0.9;
}

/* Icône loupe au survol uniquement */
.slider__slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26,58,92,0) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3Cline x1='11' y1='8' x2='11' y2='14'/%3E%3Cline x1='8' y1='11' x2='14' y2='11'/%3E%3C/svg%3E") center/0px no-repeat;
  transition: background-color 0.3s ease, background-size 0.3s ease;
  border-radius: var(--radius);
  pointer-events: none;
}

.slider__slide:hover::after {
  background-color: rgba(26,58,92,0.28);
  background-size: 40px;
}

/* Boutons fléchés */
.slider__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: none;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
  margin-top: -16px; /* compense les dots */
}

.slider__btn svg {
  width: 22px;
  height: 22px;
  color: var(--secondary);
}

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

.slider__btn:hover {
  background: var(--primary);
  box-shadow: 0 4px 16px rgba(192,39,45,0.35);
  transform: translateY(-50%) scale(1.08);
}

.slider__btn:hover svg { color: var(--white); }

.slider__btn:disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

/* Dots */
.slider__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.slider__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background var(--transition), transform var(--transition);
}

.slider__dot.active {
  background: var(--primary);
  transform: scale(1.25);
}

/* ── Lightbox ── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 88vh;
  border-radius: var(--radius);
  box-shadow: 0 16px 64px rgba(0,0,0,0.6);
  object-fit: contain;
  transform: scale(0.92);
  transition: transform 0.3s ease;
}

.lightbox.open .lightbox__img {
  transform: scale(1);
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 1.5px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.lightbox__close svg {
  width: 22px;
  height: 22px;
  color: var(--white);
}

.lightbox__close:hover {
  background: var(--primary);
  transform: scale(1.1);
}

/* Flèches navigation lightbox */
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 1.5px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  z-index: 10;
}

.lightbox__nav svg {
  width: 26px;
  height: 26px;
  color: var(--white);
}

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

.lightbox__nav:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-50%) scale(1.1);
}

.lightbox__nav:disabled {
  opacity: 0.25;
  cursor: default;
  pointer-events: none;
}

@media (max-width: 600px) {
  .lightbox__nav { width: 40px; height: 40px; }
  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
}

/* ═══════════════════════════════════════
   À PROPOS
   ═══════════════════════════════════════ */
.about__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.about__text p {
  font-size: 1rem;
  color: #444;
  line-height: 1.75;
  margin-bottom: 16px;
}

.about__text p strong {
  color: var(--secondary);
}

.about__linkedin {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 8px;
  transition: gap var(--transition);
}

.about__linkedin:hover {
  gap: 14px;
}

.about__linkedin svg {
  width: 22px;
  height: 22px;
}

.about__stats {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.stat-card {
  background: var(--secondary);
  color: var(--white);
  border-radius: var(--radius);
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-card__number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-card__label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
}

/* ═══════════════════════════════════════
   AVIS CLIENTS
   ═══════════════════════════════════════ */
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition), transform var(--transition);
}

.review-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.review-card__stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.review-card__stars svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
}

.review-card__text {
  font-size: 0.92rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 16px;
  font-style: italic;
}

.review-card__author {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--secondary);
  letter-spacing: 0.04em;
}

.reviews__cta {
  text-align: center;
}

/* ═══════════════════════════════════════
   LOCALISATION
   ═══════════════════════════════════════ */
.location__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.location__map iframe {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.location__info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

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

.location__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--primary);
  margin-top: 2px;
}

.location__item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.location__item p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}

.location__item a {
  color: var(--primary);
  font-weight: 600;
  transition: color var(--transition);
}
.location__item a:hover {
  color: #a01f24;
}

.location__closed {
  color: #888;
  font-size: 0.875rem;
}

/* ═══════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════ */
.contact__layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: start;
}

/* Form */
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form__group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--secondary);
  letter-spacing: 0.02em;
}

.form__group input,
.form__group select,
.form__group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--dark);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(192,39,45,0.1);
}

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

.form__group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%232C2C2C' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

/* Contact Info */
.contact__info-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border);
}

.contact__detail {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.contact__detail svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--primary);
  margin-top: 2px;
}

.contact__detail span,
.contact__detail a {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}

.contact__detail a {
  color: var(--primary);
  font-weight: 600;
  transition: color var(--transition);
}
.contact__detail a:hover {
  color: #a01f24;
}

.contact__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 28px;
}

.contact__link-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: var(--light);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
  transition: background var(--transition), color var(--transition);
}

.contact__link-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.contact__link-btn:hover {
  background: var(--primary);
  color: var(--white);
}

/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */
.footer {
  background: var(--secondary);
  color: var(--white);
  padding: 64px 0 0;
}

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

.footer__logo {
  height: 150px;
  width: auto;
  object-fit: contain;
  
  margin-bottom: 16px;
}

.footer__tagline {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 20px;
  line-height: 1.5;
}

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

.footer__social a {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.footer__social a:hover {
  background: var(--primary);
}

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

.footer__nav-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 20px;
}

.footer__nav ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__nav a {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition), padding-left var(--transition);
}

.footer__nav a:hover {
  color: var(--white);
  padding-left: 6px;
}

.footer__legal address p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 6px;
  line-height: 1.5;
}

.footer__legal a {
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.footer__legal a:hover {
  color: var(--white);
}

.footer__bottom {
  padding: 20px 0;
  text-align: center;
}

.footer__bottom p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
}

/* ═══════════════════════════════════════
   PROJET INCARVILLE – MINI-GALERIE
   ═══════════════════════════════════════ */

/* Image phare cliquable dans .project-featured */
.project-featured__image.lightbox-trigger {
  cursor: zoom-in;
  position: relative;
}

.pf-zoom-hint {
  position: absolute;
  inset: 0;
  background: rgba(26, 58, 92, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
  pointer-events: none;
}

.pf-zoom-hint svg {
  width: 48px;
  height: 48px;
  color: var(--white);
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.3s ease, transform 0.3s ease;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}

.project-featured__image.lightbox-trigger:hover .pf-zoom-hint {
  background: rgba(26, 58, 92, 0.3);
}

.project-featured__image.lightbox-trigger:hover .pf-zoom-hint svg {
  opacity: 1;
  transform: scale(1);
}

/* Mini-galerie thumbnails */
.incarville-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 24px;
}

.incarville-thumb {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  cursor: zoom-in;
  background: var(--light);
  aspect-ratio: 1 / 1;
}

.incarville-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.incarville-thumb:hover img {
  transform: scale(1.08);
}

.incarville-thumb__overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 58, 92, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.incarville-thumb__overlay svg {
  width: 28px;
  height: 28px;
  color: var(--white);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.3s ease, transform 0.3s ease;
  filter: drop-shadow(0 1px 4px rgba(0,0,0,0.5));
}

.incarville-thumb:hover .incarville-thumb__overlay {
  background: rgba(26, 58, 92, 0.35);
}

.incarville-thumb:hover .incarville-thumb__overlay svg {
  opacity: 1;
  transform: scale(1);
}

/* Responsive */
@media (max-width: 768px) {
  .incarville-thumbs {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin-top: 16px;
  }
}

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


.project-beforeafter {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 48px;
}

.project-beforeafter__header {
  padding: 28px 36px 20px;
  border-bottom: 1px solid var(--border);
}

.project-beforeafter__title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 800;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-top: 10px;
}

.project-beforeafter__images {
  display: grid;
  grid-template-columns: 1fr 4px 1fr;
  min-height: 340px;
}

.beforeafter__panel {
  position: relative;
  overflow: hidden;
  background: var(--light);
}

.beforeafter__panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.beforeafter__panel:hover img {
  transform: scale(1.03);
}

.beforeafter__label {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  background: var(--secondary);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 4px;
}

.beforeafter__label--after {
  background: var(--primary);
}

.beforeafter__divider {
  background: var(--white);
  position: relative;
  z-index: 3;
}

.beforeafter__divider::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 32px;
  height: 32px;
  background: var(--white);
  border: 3px solid var(--border);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15 18 9 12 15 6'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'/%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat;
  background-position: 2px center, 14px center;
  background-size: 12px, 12px;
}

@media (max-width: 768px) {
  .project-beforeafter__header {
    padding: 20px 20px 14px;
  }

  .project-beforeafter__images {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 4px 1fr;
    min-height: unset;
  }

  .beforeafter__panel {
    min-height: 220px;
  }

  .beforeafter__divider {
    height: 4px;
    width: 100%;
  }

  .beforeafter__divider::after {
    top: 50%;
    left: 50%;
  }
}


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

/* ═══════════════════════════════════════
   RESPONSIVE – 768px
   ═══════════════════════════════════════ */
@media (max-width: 768px) {

  .section {
    padding: 64px 0;
  }

  /* Header */
  .header__nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 8px 24px rgba(0,0,0,0.10);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition);
    z-index: 999;
    padding: 16px 24px 24px;
  }

  .header__nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

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

  .nav__link {
    font-size: 1.1rem;
    padding: 12px 16px;
    width: 100%;
    display: block;
  }

  .header__cta {
    display: none;
  }

  .burger {
    display: flex;
    margin-left: auto;
  }

  /* Hero */
  .hero__content {
    padding: 60px 24px;
  }

  .hero__title {
    font-size: 2.2rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }

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

  /* Réalisations */
  .project-featured {
    grid-template-columns: 1fr;
  }

  .project-featured__image {
    min-height: 260px;
  }

  .project-featured__content {
    padding: 28px;
  }

  .project-featured__content_left {
  padding: 28px;
  }

  /* À Propos */
  .about__layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about__stats {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .stat-card {
    flex: 1;
    min-width: 120px;
  }

  /* Reviews */
  .reviews__grid {
    grid-template-columns: 1fr;
  }

  /* Location */
  .location__layout {
    grid-template-columns: 1fr;
  }

  /* Contact */
  .contact__layout {
    grid-template-columns: 1fr;
  }

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

  /* Footer */
  .footer__top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .stat-card__number {
    font-size: 2.2rem;
  }
}
