/* ── RESET & BASE ──────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,300;1,400&display=swap');

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

:root {
  --accent:   #3D9ED8;
  --accent-d: #2a7fb5;
  --black:    #000;
  --near-black: #111;
  --white:    #fff;
  --grey-light: #eeeeee;
  --grey-mid:   #9d9d9d;
  --font: 'Open Sans', sans-serif;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color .25s ease;
}
a:hover { color: var(--accent-d); }

::selection { background: var(--accent); color: var(--white); }

/* ── HEADER / NAV ──────────────────────────────────────────── */
header[role="banner"] {
  padding: 40px 0 30px;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link img {
  width: auto;
  height: 80px;
}

/* Hamburger */
#menu-button {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  z-index: 200;
}

#menu-button span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--white);
  border-radius: 2px;
  transition: all .3s ease-in-out;
}

#menu-button.open span:nth-child(1) { transform: translateY(8.5px) rotate(135deg); }
#menu-button.open span:nth-child(2) { opacity: 0; transform: translateX(-20px); }
#menu-button.open span:nth-child(3) { transform: translateY(-8.5px) rotate(-135deg); }

nav.navy ul {
  list-style: none;
  display: flex;
  gap: 2.5rem;
}

nav.navy li a {
  color: var(--white);
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  transition: color .25s;
}

nav.navy li a:hover,
nav.navy li.nav-active a {
  color: var(--accent);
}

/* ── MAIN WRAPPERS ─────────────────────────────────────────── */
.main-home-wrapper,
.main-inner-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem 90px;
}

/* ── PAGE TITLE BLOCK ──────────────────────────────────────── */
.pge-title-content {
  padding: 30px 0 20px;
}

.pge-title-content h2 {
  font-size: clamp(2rem, 4vw, 46px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}

.pge-title-content h2 span {
  display: block;
  font-size: clamp(2.5rem, 5vw, 70px);
  color: var(--accent);
}

.pge-title-content p {
  font-size: 18px;
  line-height: 1.75;
  color: var(--grey-light);
  margin-top: .75rem;
}

/* ── BLUE DESCRIPTION BOX ──────────────────────────────────── */
.about-content {
  background: var(--accent);
  padding: 3rem 2.5rem;
}

.about-content h3 {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: .75rem;
}

.about-content p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--white);
}

.about-content p + p { margin-top: 1rem; }

/* ── PRICE HIGHLIGHT ───────────────────────────────────────── */
.price-block {
  background: var(--near-black);
  border-left: 4px solid var(--accent);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
}

.price-block .price-label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .4rem;
}

.price-block .price-amount {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
}

.price-block .price-note {
  font-size: .82rem;
  color: var(--grey-mid);
  margin-top: .3rem;
}

/* ── FIGURE / FIGCAPTION GRID EFFECTS ──────────────────────── */
.grid {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Tous les figures à effet, qu'ils soient dans .grid ou non */
figure.effect-roxy,
figure.effect-ruby,
figure.effect-lily,
figure.effect-oscar {
  position: relative;
  overflow: hidden;
  text-align: center;
  cursor: pointer;
  background: var(--accent);
  width: 100%;
}

figure.effect-roxy img,
figure.effect-ruby img,
figure.effect-lily img,
figure.effect-oscar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .85;
  transition: opacity .35s, transform .35s;
}

figure.effect-roxy figcaption,
figure.effect-ruby figcaption,
figure.effect-lily figcaption,
figure.effect-oscar figcaption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  color: var(--white);
  text-transform: uppercase;
  backface-visibility: hidden;
}

figure.effect-roxy figcaption > a,
figure.effect-ruby figcaption > a,
figure.effect-lily figcaption > a,
figure.effect-oscar figcaption > a {
  position: absolute;
  inset: 0;
  z-index: 10;
  font-size: 0;
  opacity: 0;
}

figure.effect-roxy h2,
figure.effect-ruby h2,
figure.effect-lily h2,
figure.effect-oscar h2 {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 800;
  color: var(--white);
  margin: 0;
  transition: transform .35s;
}

figure.effect-roxy h2 span,
figure.effect-ruby h2 span,
figure.effect-lily h2 span,
figure.effect-oscar h2 span { font-weight: 300; }

figure.effect-roxy p,
figure.effect-ruby p,
figure.effect-lily p,
figure.effect-oscar p {
  font-size: .9rem;
  letter-spacing: .05em;
  line-height: 1.4;
  margin: 0;
  color: rgba(255,255,255,.85);
}

/* effect-ruby */
figure.effect-ruby img { transform: scale(1.1); }
figure.effect-ruby h2 { transform: translateY(20px); }
figure.effect-ruby p {
  border: 1px solid var(--white);
  padding: 1.5rem;
  opacity: 0;
  transform: translateY(20px) scale(1.05);
  transition: opacity .35s, transform .35s;
  margin-top: .75rem;
}
figure.effect-ruby:hover img { opacity: .4; transform: scale(1); }
figure.effect-ruby:hover h2,
figure.effect-ruby:hover p { opacity: 1; transform: translateY(0) scale(1); }

/* effect-lily */
figure.effect-lily figcaption {
  justify-content: flex-end;
  align-items: flex-start;
  padding: 1.5rem;
}
figure.effect-lily h2,
figure.effect-lily p { transform: translateY(40px); transition: transform .35s; }
figure.effect-lily p {
  opacity: 0;
  text-align: left;
  transition: opacity .2s, transform .35s;
}
figure.effect-lily:hover img { opacity: .55; }
figure.effect-lily:hover h2,
figure.effect-lily:hover p { transform: translateY(0); }
figure.effect-lily:hover p { opacity: 1; transition-delay: .05s; }

/* effect-oscar */
figure.effect-oscar figcaption::before {
  content: '';
  position: absolute;
  inset: 20px;
  border: 1px solid var(--white);
  opacity: 0;
  transform: scale(.9);
  transition: opacity .35s, transform .35s;
}
figure.effect-oscar h2 { transform: translateY(60px); transition: transform .35s; }
figure.effect-oscar p {
  opacity: 0;
  transform: scale(.8);
  transition: opacity .35s, transform .35s;
  margin-top: .5rem;
}
figure.effect-oscar:hover img { opacity: .35; }
figure.effect-oscar:hover figcaption::before { opacity: 1; transform: scale(1); }
figure.effect-oscar:hover h2,
figure.effect-oscar:hover p { opacity: 1; transform: none; }

/* effect-roxy */
figure.effect-roxy {
  background: linear-gradient(45deg, #fff 0, var(--accent) 100%);
}
figure.effect-roxy img { transform: translateX(-30px); transition: opacity .2s, transform .2s; }
figure.effect-roxy figcaption {
  align-items: flex-start;
  padding: 2rem;
}
figure.effect-roxy figcaption::before {
  content: '';
  position: absolute;
  inset: 20px;
  border: 1px solid var(--white);
  opacity: 0;
  transform: translateX(-15px);
  transition: opacity .2s, transform .2s;
}
figure.effect-roxy h2 { align-self: center; padding-bottom: .5rem; }
figure.effect-roxy p {
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity .2s, transform .2s;
}
figure.effect-roxy:hover img { opacity: .4; transform: translateX(0); }
figure.effect-roxy:hover figcaption::before,
figure.effect-roxy:hover p { opacity: 1; transform: translateX(0); }

/* Single large figure (not in grid list) */
figure.effect-roxy,
figure.effect-ruby { margin-bottom: 8px; }

/* ── HOME LAYOUT ───────────────────────────────────────────── */

/* Hero plein écran : photo + titre incrusté */
.hero {
  position: relative;
  width: 100%;
  height: min(75vh, 620px);
  min-height: 380px;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.88) 0%, rgba(0,0,0,.45) 40%, rgba(0,0,0,.05) 75%);
}

.hero-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem 3rem;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--white);
}

.hero-content h1 span {
  display: block;
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  font-weight: 800;
  color: var(--accent);
}

/* Texte & explication sous le hero */
.home-intro { margin-top: 3rem; }

.home-tagline {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--grey-light);
  max-width: 38ch;
}

/* Colonne de gauche centrée verticalement face à la carte identité */
.home-intro { align-items: stretch; }
.inner-layout.home-intro { padding-bottom: 4rem; }

.home-intro-text .pge-title-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Carte "Notre Identité" : photo + dégradé accent */
.identity-card {
  position: relative;
  min-height: 320px;
  height: 100%;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.identity-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg, rgba(61,158,216,.5) 0%, rgba(0,0,0,.55) 55%, rgba(0,0,0,.85) 100%);
}

.identity-card-content {
  position: relative;
  z-index: 1;
  padding: 2.5rem;
}

.identity-card-content h3 {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: .75rem;
  text-transform: uppercase;
}

.identity-card-content h3 span { color: var(--accent); }

.identity-card-content p {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255,255,255,.9);
  max-width: 38ch;
}

.identity-card-content a {
  display: inline-block;
  margin-top: 1rem;
  color: var(--white);
  font-weight: 700;
  text-decoration: underline;
}

.home-section-title {
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--accent);
  margin: 3rem 0 1.5rem;
}

/* Grille 6 colonnes → 3 cartes haut (×2 col) + 2 cartes bas (×3 col) */
.home-products {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

.home-card {
  grid-column: span 2;
  aspect-ratio: 4/3;
  margin: 0;
}

/* Les 2 dernières cartes sont plus larges pour équilibrer la ligne */
.home-products .home-card:nth-child(4),
.home-products .home-card:nth-child(5) { grid-column: span 3; }

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

@media (max-width: 900px) {
  .home-tagline { max-width: none; }
  .home-products { grid-template-columns: repeat(2, 1fr); }
  .home-card { grid-column: span 1; aspect-ratio: 4/3; }
  .home-products .home-card:nth-child(4),
  .home-products .home-card:nth-child(5) { grid-column: span 1; }
}

@media (max-width: 560px) {
  .home-products { grid-template-columns: 1fr; }
  .home-card { grid-column: span 1; }

  .hero { height: min(60vh, 480px); min-height: 320px; }
  .hero-content h1 { font-size: 1.6rem; }
  .hero-content h1 span { font-size: 2.4rem; }
}

/* ── INNER PAGE LAYOUT ─────────────────────────────────────── */
.inner-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
  margin-bottom: 2rem;
}

/* ── CARTES PROJET (réalisations) ─────────────────────────── */
.projet-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  display: block;
  background: #111;
}

.projet-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease, filter .4s ease;
  filter: brightness(.85);
}

.projet-card:hover img {
  transform: scale(1.05);
  filter: brightness(.35);
}

.projet-card-title {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  text-align: center;
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}

.projet-card:hover .projet-card-title { opacity: 1; }

.projet-card-title h3 {
  color: #fff;
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 0 0 .4rem;
}

.projet-card-title span {
  color: var(--accent);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
}

/* ── WORK IMAGE GRID ───────────────────────────────────────── */
.work-images {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 8px;
  margin-top: 1.5rem;
}

.work-images img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* ── FINITIONS ─────────────────────────────────────────────── */

/* Citation d'intro (remplace l'ancien encart bleu plat) */
.finitions-lead {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 4px solid var(--accent);
  padding-left: 2rem;
}

.finitions-lead h3 {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: .75rem;
}

.finitions-lead h3 span { color: var(--accent); }

.finitions-lead p {
  font-size: 1.2rem;
  line-height: 1.85;
  font-weight: 300;
  color: var(--grey-light);
}

.finitions-lead p strong {
  color: var(--white);
  font-weight: 700;
}

.finitions-lead a {
  display: inline-block;
  margin-top: 1rem;
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
}

/* Finitions phares : alternance photo / texte façon "about us" */
.finition-feature {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  margin: 5rem 0;
}

.finition-feature.reverse .finition-feature-media { order: 2; }
.finition-feature.reverse .finition-feature-content { order: 1; }

.finition-feature-media img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  filter: brightness(.88);
}

.finition-feature-media.lb-gallery {
  position: relative;
}

.gallery-hint {
  position: absolute;
  bottom: .9rem;
  right: .9rem;
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, .65);
  color: var(--white);
  font-size: .85rem;
  font-weight: 600;
  padding: .4rem .9rem;
  border-radius: 4px;
  pointer-events: none;
}

.finition-feature-content h3 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--white);
  margin-bottom: 1rem;
}

.finition-feature-content p {
  font-size: .95rem;
  line-height: 1.85;
  color: var(--grey-light);
}

.finition-feature-content p + p { margin-top: 1rem; }

.finition-feature-content .partner-link {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
}

/* Caractéristiques techniques : grille de fiches */
.finition-specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: #222;
  margin: 2rem 0;
}

.finition-spec {
  background: var(--near-black);
  border-top: 3px solid var(--accent);
  padding: 2.5rem 2rem;
}

.finition-spec h3 {
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--accent);
  margin-bottom: .75rem;
}

.finition-spec p {
  font-size: .9rem;
  line-height: 1.8;
  color: var(--grey-light);
}

.finition-spec p + p { margin-top: .6rem; }

@media (max-width: 900px) {
  .finition-feature {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 3rem 0;
  }
  .finition-feature .finition-feature-media,
  .finition-feature.reverse .finition-feature-media { order: 1; }
  .finition-feature .finition-feature-content,
  .finition-feature.reverse .finition-feature-content { order: 2; }

  .finitions-lead {
    border-left: none;
    border-top: 4px solid var(--accent);
    padding: 1.5rem 0 0;
    margin-top: 1rem;
  }
}

/* ── CONTACT PAGE ──────────────────────────────────────────── */
.contact-header h2 { margin-bottom: .5rem; }

.contact-infos {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.contact-infos a {
  color: var(--grey-light);
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}

.contact-infos a i { color: var(--accent); font-size: 1.1rem; }
.contact-infos a:hover { color: var(--accent); }

.contact-map iframe {
  width: 100%;
  height: 420px;
  border: none;
  display: block;
}

/* ── CONTACT FORM ──────────────────────────────────────────── */
.contact-form-wrapper {
  margin-top: 3rem;
  padding: 0;
}

.contact-form-wrapper h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 2rem;
}

.form-group { margin-bottom: 1.5rem; }

.form-group input,
.form-group textarea {
  width: 100%;
  display: block;
  background: transparent;
  border: none;
  border-bottom: 1px solid #555;
  color: var(--white);
  font-family: var(--font);
  font-size: 1rem;
  padding: .6rem 0;
  outline: none;
  transition: border-color .25s;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: #666; }

.form-group input:focus,
.form-group textarea:focus { border-bottom-color: var(--accent); }

.form-group textarea {
  border: 1px solid #555;
  border-left: none;
  border-right: none;
  border-top: none;
  height: 100px;
  resize: vertical;
  margin-top: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.hp-field { display: none !important; }

.form-submit {
  display: block;
  width: 200px;
  margin: 2.5rem auto 0;
  padding: 0 1.5rem;
  line-height: 60px;
  text-align: center;
  text-transform: uppercase;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--white);
  background: var(--accent);
  border: none;
  cursor: pointer;
  transition: background .25s;
}

.form-submit:hover { background: var(--near-black); }

.btn-primary {
  display: inline-block;
  margin-top: 1.75rem;
  padding: 0 2rem;
  line-height: 56px;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--white);
  background: var(--accent);
  transition: background .25s;
}

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

.alert {
  padding: .85rem 1.2rem;
  margin-bottom: 1.5rem;
  font-size: .9rem;
  font-weight: 600;
}
.alert-success { background: rgba(61,158,216,.15); border-left: 3px solid var(--accent); color: var(--accent); }
.alert-error   { background: rgba(248,82,78,.12);  border-left: 3px solid #f8524e;      color: #f08080; }

/* ── FOOTER ────────────────────────────────────────────────── */
footer[role="contentinfo"] {
  background: var(--white);
  padding: 80px 2rem 60px;
  text-align: center;
}

footer[role="contentinfo"] .footer-logo {
  max-width: 200px;
  margin: 0 auto 2rem;
}

footer[role="contentinfo"] nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .25rem 1.5rem;
  padding: 0;
  margin-bottom: 2rem;
}

footer[role="contentinfo"] nav li a {
  color: var(--grey-mid);
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  transition: color .25s;
}

footer[role="contentinfo"] nav li a:hover { color: var(--accent); }

.footer-social {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: .75rem;
  padding: 0;
  margin-bottom: 2.5rem;
}

.footer-social li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #bbb;
  color: var(--white);
  font-size: 1.1rem;
  transition: background .25s;
}

.footer-social li a:hover { background: var(--accent); }

.copy-right {
  font-size: .78rem;
  color: var(--grey-mid);
}

/* ── 404 ────────────────────────────────────────────────────── */
.notfound-wrap {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 2rem;
}

.notfound-wrap h1 {
  font-size: clamp(6rem, 20vw, 14rem);
  font-weight: 200;
  color: #1a1a1a;
  line-height: 1;
}

.notfound-wrap h2 {
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--white);
  display: inline-block;
  padding: .4rem 1rem;
  margin: 0 auto .5rem;
  color: #333;
}

.notfound-wrap p { color: var(--grey-mid); margin-bottom: 2rem; }

.btn-notfound {
  display: inline-block;
  padding: .8rem 1.8rem;
  background: var(--accent);
  color: var(--white);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .9rem;
  transition: background .25s;
}
.btn-notfound:hover { background: #333; color: var(--white); }

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .home-layout,
  .inner-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  #menu-button { display: flex; }

  nav.navy ul {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 150;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    background: rgba(255,255,255,.92);
  }

  nav.navy ul.open { display: flex; }

  nav.navy li a {
    color: #111;
    font-size: 2rem;
    font-weight: 800;
  }

  nav.navy li a:hover,
  nav.navy li.nav-active a { color: var(--accent); }

  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .pge-title-content h2 span { font-size: 2.5rem; }
  .pge-title-content h2 { font-size: 1.6rem; }
}

/* ── LIGHTBOX ──────────────────────────────────────────────── */
.lb-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, .93);
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}
.lb-overlay.open { display: flex; }

.lb-overlay img {
  max-width: 92vw;
  max-height: 90vh;
  object-fit: contain;
  cursor: default;
  box-shadow: 0 0 80px rgba(0, 0, 0, .8);
  animation: lb-in .2s ease;
}

@keyframes lb-in {
  from { opacity: 0; transform: scale(.96); }
  to   { opacity: 1; transform: scale(1); }
}

.lb-close {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  background: none;
  border: none;
  cursor: pointer;
  opacity: .6;
  transition: opacity .2s;
  padding: .3rem .6rem;
}
.lb-close:hover { opacity: 1; }

.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 3rem;
  line-height: 1;
  background: none;
  border: none;
  cursor: pointer;
  opacity: .6;
  transition: opacity .2s;
  padding: .5rem 1rem;
}
.lb-nav:hover { opacity: 1; }
.lb-prev { left: .5rem; }
.lb-next { right: .5rem; }

.lb-caption {
  position: absolute;
  bottom: 1.5rem;
  left: 0;
  right: 0;
  text-align: center;
  color: var(--grey-light);
  font-size: 1rem;
  font-weight: 600;
  padding: 0 1rem;
}

/* Curseur zoom sur les images galerie non liées */
.work-images img          { cursor: zoom-in; }
.work-images a img        { cursor: pointer; }
.finition-feature-media img { cursor: zoom-in; }
