/* =====================================================================
   A-TEC CUISINES — feuille de style
   Palette d'origine conservée : noir profond + beige/doré.
   ===================================================================== */

:root {
  --primary: #D4A574;
  --primary-dark: #B8956A;
  --primary-darker: #9A7E5D;
  --accent: #E8D4BC;
  --dark-beige: #C9B399;

  --bg: #0F0F0F;
  --bg-accent: #1A1A1A;
  --bg-carte: #161616;
  --text: #F5F5F5;
  --light-text: #B0B0B0;
  --border: #2A2A2A;

  --degrade-or: linear-gradient(135deg, var(--primary) 0%, var(--primary-darker) 100%);
  --degrade-texte: linear-gradient(135deg, var(--accent) 0%, var(--primary) 45%, var(--primary-darker) 100%);
  --shadow: 0 4px 12px rgba(0, 0, 0, .4);
  --shadow-hover: 0 16px 40px rgba(0, 0, 0, .6);
  --rayon: 16px;
  --header-h: 82px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  font-family: 'Segoe UI', system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

a { color: var(--primary); }

h1, h2, h3 { line-height: 1.2; margin: 0; }

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

.section { margin-top: 96px; }

.muted { color: var(--light-text); }

/* Accessibilité : lien "aller au contenu" visible uniquement au clavier */
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--primary);
  color: #111;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =====================================================================
   En-tête
   ===================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 15, 15, .82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(212, 165, 116, .35);
  transition: transform .35s ease, box-shadow .35s ease;
}

.site-header::after { /* fin liseré doré */
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.site-header.compact { box-shadow: 0 6px 24px rgba(0, 0, 0, .6); }
.site-header.cache { transform: translateY(-100%); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
  transition: height .3s ease;
}
.site-header.compact .header-inner { height: 64px; }

.logo img {
  height: 46px;
  width: auto;
  border-radius: 8px;
  transition: height .3s ease, transform .3s ease;
}
.site-header.compact .logo img { height: 36px; }
.logo:hover img { transform: scale(1.04); }

.nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 8px;
}

.nav a {
  position: relative;
  display: block;
  padding: 10px 16px;
  color: var(--text);
  font-weight: 600;
  letter-spacing: .3px;
  text-decoration: none;
  transition: color .25s ease;
}

.nav a::after {
  content: '';
  position: absolute;
  left: 16px; right: 16px; bottom: 4px;
  height: 2px;
  background: var(--degrade-or);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s cubic-bezier(.34, 1.56, .64, 1);
}

.nav a:hover,
.nav a.active { color: var(--primary); }
.nav a:hover::after,
.nav a.active::after { transform: scaleX(1); }

/* =====================================================================
   Boutons
   ===================================================================== */
.cta {
  position: relative;
  display: inline-block;
  overflow: hidden;
  padding: 15px 30px;
  border: 2px solid transparent;
  border-radius: 10px;
  background: var(--degrade-or);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .4px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(212, 165, 116, .3);
  transition: transform .3s ease, box-shadow .3s ease;
}

.cta::before { /* reflet au survol */
  content: '';
  position: absolute;
  inset: 0;
  left: -100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .3), transparent);
  transition: left .5s ease;
}

.cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(212, 165, 116, .4);
}
.cta:hover::before { left: 100%; }

.cta-secondaire {
  background: transparent;
  border-color: var(--primary);
  color: var(--accent);
  box-shadow: none;
}
.cta-secondaire:hover {
  background: rgba(212, 165, 116, .1);
  box-shadow: none;
}

.lien-fleche {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.lien-fleche::after {
  content: ' →';
  display: inline-block;
  transition: transform .25s ease;
}
.lien-fleche:hover::after { transform: translateX(4px); }

/* =====================================================================
   Titres
   ===================================================================== */
.surtitre {
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.titre-section {
  font-size: clamp(26px, 3.2vw, 34px);
  font-weight: 700;
  margin-bottom: 32px;
}
.titre-section::after {
  content: '';
  display: block;
  width: 56px;
  height: 3px;
  margin-top: 14px;
  border-radius: 2px;
  background: var(--degrade-or);
}

.titre-ligne {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.entete-page {
  padding-top: 64px;
  padding-bottom: 40px;
  text-align: center;
  animation: monter .6s ease-out both;
}
.entete-page h1 {
  font-size: clamp(32px, 5vw, 48px);
  margin-bottom: 14px;
}
.entete-page p:last-child {
  max-width: 620px;
  margin: 0 auto;
  color: var(--light-text);
}

/* =====================================================================
   Accueil — hero
   ===================================================================== */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 56px;
  padding-top: 72px;
}

.hero-texte { animation: monter .7s ease-out both; }

.hero h1 {
  font-size: clamp(36px, 5.2vw, 58px);
  font-weight: 700;
  letter-spacing: -.5px;
  margin-bottom: 20px;
  background: var(--degrade-texte);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  margin: 0 0 36px;
  max-width: 460px;
  color: var(--light-text);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-visuel {
  position: relative;
  animation: apparaitre .9s ease-out .15s both;
}

.hero-visuel::before { /* cadre doré décalé */
  content: '';
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 2px solid var(--primary);
  border-radius: var(--rayon);
  opacity: .6;
}

.hero-visuel img {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 555 / 540;
  object-fit: cover;
  border-radius: var(--rayon);
  box-shadow: var(--shadow-hover);
}

/* Halo doré discret derrière le hero (rappel de l'ancien effet) */
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  width: min(1100px, 100vw);
  height: 640px;
  transform: translateX(-50%);
  background: radial-gradient(circle at 70% 40%, rgba(212, 165, 116, .12), transparent 60%);
  pointer-events: none;
  z-index: -1;
}

/* =====================================================================
   Accueil — services
   ===================================================================== */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service {
  position: relative;
  padding: 36px 30px;
  border: 1px solid var(--border);
  border-radius: var(--rayon);
  background: linear-gradient(160deg, #1C1C1C 0%, var(--bg-carte) 100%);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.service:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 165, 116, .6);
  box-shadow: 0 16px 40px rgba(212, 165, 116, .08);
}

.service-icone,
.contact-icone {
  width: 48px;
  height: 48px;
  padding: 11px;
  margin-bottom: 22px;
  border-radius: 12px;
  background: rgba(212, 165, 116, .12);
  fill: none;
  stroke: var(--primary);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service h3 {
  margin-bottom: 10px;
  font-size: 20px;
  color: var(--accent);
}
.service p { margin: 0; color: var(--light-text); }

/* =====================================================================
   Accueil — aperçu du catalogue
   ===================================================================== */
.apercu {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.apercu-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  color: #fff;
  text-decoration: none;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.apercu-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 595 / 794;
  object-fit: cover;
  transition: transform .5s ease;
}
.apercu-item span {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 30px 16px 12px;
  background: linear-gradient(transparent, rgba(0, 0, 0, .75));
  font-size: 14px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .3s ease, transform .3s ease;
}
.apercu-item:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: var(--shadow-hover);
}
.apercu-item:hover img { transform: scale(1.05); }
.apercu-item:hover span { opacity: 1; transform: none; }

/* =====================================================================
   Accueil — label ACSR (bandeau sobre)
   ===================================================================== */
.acsr {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 22px 28px;
  border: 1px solid var(--border);
  border-radius: var(--rayon);
  background: var(--bg-carte);
  color: var(--text);
  text-decoration: none;
  transition: border-color .3s ease, transform .3s ease;
}
.acsr:hover { border-color: rgba(212, 165, 116, .6); transform: translateY(-3px); }

.acsr-badge {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--primary);
  border-radius: 999px;
  color: var(--primary);
  font-weight: 800;
  letter-spacing: 2px;
}
.acsr-badge svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.acsr-texte { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.acsr-texte strong { font-size: 17px; }
.acsr-texte span { color: var(--light-text); font-size: 14px; }

/* =====================================================================
   Accueil — lien vers les avis Google
   ===================================================================== */
.avis-google {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 32px;
  border: 1px solid rgba(212, 165, 116, .45);
  border-radius: var(--rayon);
  background:
    radial-gradient(circle at 0% 0%, rgba(212, 165, 116, .14), transparent 55%),
    linear-gradient(135deg, #1C1C1C 0%, #121212 100%);
  color: var(--text);
  text-decoration: none;
  transition: border-color .3s ease, transform .3s ease;
}
.avis-google:hover { border-color: var(--primary); transform: translateY(-3px); }

.avis-google-note {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding-right: 28px;
  border-right: 1px solid rgba(212, 165, 116, .3);
}
.avis-google-chiffre {
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  background: var(--degrade-texte);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Étoiles (la dernière peut être partiellement remplie) */
.etoiles {
  position: relative;
  display: inline-block;
  line-height: 0;
  white-space: nowrap;
}
.etoiles svg { width: 20px; height: 20px; margin: 0 1px; }
.etoiles-fond svg { fill: #3A3A3A; }
.etoiles-pleines {
  position: absolute;
  top: 0; left: 0;
  overflow: hidden;
}
.etoiles-pleines svg { fill: #F4B400; }

.avis-google-texte { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.avis-google-texte strong { font-size: clamp(20px, 2.4vw, 24px); }
.avis-google-texte span { color: var(--light-text); }

/* =====================================================================
   Bandeau d'appel (showroom / rendez-vous)
   ===================================================================== */
.bandeau {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 48px;
  padding: 44px 48px;
  border: 1px solid rgba(212, 165, 116, .5);
  border-radius: var(--rayon);
  background:
    radial-gradient(circle at 100% 0%, rgba(212, 165, 116, .18), transparent 55%),
    linear-gradient(135deg, #1C1C1C 0%, #121212 100%);
}
.section .bandeau { margin-top: 0; }
.bandeau h2 {
  margin-bottom: 8px;
  font-size: clamp(22px, 2.6vw, 28px);
}
.bandeau p { margin: 0; color: var(--light-text); }
.bandeau-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* =====================================================================
   Catalogue
   ===================================================================== */
.compteur-pages {
  margin: 0 0 20px;
  color: var(--light-text);
  font-size: 14px;
  text-align: right;
}

.catalogue-grille {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 32px;
}

.double-page { margin: 0; }

.double-page-feuilles {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .55);
  transition: transform .35s ease, box-shadow .35s ease;
}

/* pli central du magazine */
.double-page-feuilles::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: 50%;
  width: 40px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, .14) 45%, rgba(0, 0, 0, .22) 50%, rgba(0, 0, 0, .14) 55%, transparent);
  pointer-events: none;
}

.double-page:hover .double-page-feuilles {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, .7), 0 0 0 2px var(--primary);
}

/* page seule (ex. dernière de couverture) : centrée, demi-largeur */
.double-page.simple .double-page-feuilles {
  grid-template-columns: 1fr;
  width: 50%;
  margin: 0 auto;
}
.double-page.simple .double-page-feuilles::after { display: none; }

.page-catalogue {
  display: block;
  background: #f2f2f2;
  cursor: zoom-in;
}
.page-catalogue img {
  width: 100%;
  height: auto;
  aspect-ratio: 595 / 794;
  object-fit: cover;
}

.double-page figcaption {
  margin-top: 12px;
  color: var(--light-text);
  font-size: 13px;
  letter-spacing: .5px;
  text-align: center;
}

.message-vide {
  max-width: 640px;
  margin: 0 auto;
  padding: 48px 32px;
  border: 1px solid var(--border);
  border-radius: var(--rayon);
  background: var(--bg-carte);
  text-align: center;
}
.message-vide h2 { margin-bottom: 12px; color: var(--accent); }
.message-vide p { margin: 0 0 28px; color: var(--light-text); }

/* =====================================================================
   Visionneuse plein écran
   ===================================================================== */
.visionneuse {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 8, 8, .96);
  animation: apparaitre .25s ease-out;
}
.visionneuse[hidden] { display: none; }

.visionneuse-barre {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  z-index: 2;
}

.visionneuse-compteur {
  padding: 6px 14px;
  border: 1px solid rgba(212, 165, 116, .4);
  border-radius: 999px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
}

.visionneuse-btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(212, 165, 116, .4);
  border-radius: 50%;
  background: rgba(26, 26, 26, .85);
  color: var(--accent);
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.visionneuse-btn svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.visionneuse-btn:hover {
  background: var(--primary-darker);
  border-color: var(--primary);
  color: #fff;
}
.visionneuse-btn:disabled { opacity: .25; pointer-events: none; }

.visionneuse-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
}
.visionneuse-nav:hover { transform: translateY(-50%) scale(1.06); }
.visionneuse-nav.precedent { left: 20px; }
.visionneuse-nav.suivant { right: 20px; }

.visionneuse-scene {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 76px 90px 28px;
  touch-action: pan-y;
}

.visionneuse-scene img {
  width: auto;
  height: auto;
  max-height: 100%;
  max-width: 50%;
  min-width: 0;
  background: #fff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .8);
  animation: apparaitre .25s ease-out;
}
.visionneuse-scene.une-page img { max-width: 100%; }
.visionneuse-scene img + img { box-shadow: 14px 20px 60px rgba(0, 0, 0, .8); }

body.visionneuse-ouverte { overflow: hidden; }

/* =====================================================================
   Contact
   ===================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.contact-carte {
  padding: 32px 26px;
  border: 1px solid var(--border);
  border-radius: var(--rayon);
  background: linear-gradient(160deg, #1C1C1C 0%, var(--bg-carte) 100%);
  transition: transform .3s ease, border-color .3s ease;
}
.contact-carte:hover {
  transform: translateY(-5px);
  border-color: rgba(212, 165, 116, .6);
}
.contact-carte h2 {
  margin-bottom: 10px;
  font-size: 18px;
  color: var(--accent);
}
.contact-carte p { margin: 0 0 8px; color: var(--light-text); }

.contact-lien {
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  word-break: break-word;
  transition: color .2s ease;
}
.contact-lien:hover { color: var(--primary); }

.badge {
  display: inline-block;
  margin: 6px 0 14px !important;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(212, 165, 116, .14);
  color: var(--primary) !important;
  font-size: 13px;
  font-weight: 600;
}

/* =====================================================================
   Page d'erreur
   ===================================================================== */
.page-erreur {
  padding-top: 80px;
  padding-bottom: 40px;
  text-align: center;
  animation: monter .6s ease-out both;
}
.page-erreur .erreur-code {
  margin: 0 auto;
  max-width: none;
  font-size: clamp(110px, 22vw, 200px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -4px;
  background: var(--degrade-texte);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.page-erreur h1 {
  margin: 8px 0 12px;
  font-size: clamp(26px, 4vw, 36px);
}
.page-erreur p {
  max-width: 520px;
  margin: 0 auto 36px;
  color: var(--light-text);
}
.page-erreur .hero-actions { justify-content: center; }

/* =====================================================================
   Pied de page
   ===================================================================== */
.site-footer {
  position: relative;
  margin-top: 110px;
  padding: 56px 0 0;
  background: linear-gradient(180deg, #1A1A1A 0%, #121212 100%);
  border-top: 1px solid rgba(212, 165, 116, .35);
}
.site-footer::before {
  content: '';
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), var(--dark-beige), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.footer-grid strong {
  display: block;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 15px;
  letter-spacing: .5px;
}
.footer-grid p {
  margin: 6px 0;
  color: #D8D8D8;
  font-size: 14px;
}
.site-footer a {
  color: #D8D8D8;
  text-decoration: none;
  transition: color .2s ease;
}
.site-footer a:hover { color: var(--primary); }

.footer-bottom {
  margin-top: 44px;
  padding-top: 20px;
  padding-bottom: 24px;
  border-top: 1px solid var(--border);
}
.footer-bottom p {
  margin: 0;
  color: #7A7A7A;
  font-size: 13px;
  text-align: center;
}

/* =====================================================================
   Bouton "retour en haut"
   ===================================================================== */
#backToTop {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 200;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--degrade-or);
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
#backToTop.show {
  opacity: 1;
  visibility: visible;
  transform: none;
}
#backToTop:hover { transform: translateY(-4px); }

/* =====================================================================
   Animations
   ===================================================================== */
@keyframes monter {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}
@keyframes apparaitre {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Apparition au défilement (classe ajoutée par main.js) */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1000px) {
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .apercu { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .acsr { flex-direction: column; text-align: center; gap: 14px; padding: 24px 20px; }
  .avis-google { flex-direction: column; text-align: center; gap: 16px; padding: 28px 22px; }
  .avis-google-note { padding: 0 0 16px; border-right: 0; border-bottom: 1px solid rgba(212, 165, 116, .3); }
  .hero {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-top: 48px;
    text-align: center;
  }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visuel { max-width: 520px; margin: 0 auto; width: calc(100% - 18px); }

  .services { grid-template-columns: 1fr; }
  .catalogue-grille { grid-template-columns: 1fr; gap: 32px; }
  .section { margin-top: 72px; }
  .bandeau { padding: 32px 28px; }

  .visionneuse-scene { padding: 70px 12px 84px; }
  .visionneuse-nav { top: auto; bottom: 18px; transform: none; }
  .visionneuse-nav:hover { transform: none; }
  .visionneuse-nav.precedent { left: calc(50% - 64px); }
  .visionneuse-nav.suivant { right: calc(50% - 64px); }
}

@media (max-width: 640px) {
  :root { --header-h: 116px; }
  .container { padding-left: 18px; padding-right: 18px; }
  .header-inner {
    flex-direction: column;
    justify-content: center;
    gap: 6px;
  }
  .site-header.compact .header-inner { height: 100px; }
  .logo img { height: 38px; }
  .site-header.compact .logo img { height: 32px; }
  .nav { gap: 0; }
  .nav a { padding: 8px 12px; font-size: 15px; }
  .nav a::after { left: 12px; right: 12px; }

  .titre-ligne { flex-direction: column; gap: 0; margin-bottom: 24px; }
  .titre-ligne .titre-section { margin-bottom: 8px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .bandeau { text-align: center; justify-content: center; }
  .bandeau-actions { justify-content: center; width: 100%; }
  .entete-page { padding-top: 44px; }
  #backToTop { right: 14px; bottom: 18px; width: 42px; height: 42px; }
}
