/* ── TOKENS ─────────────────────────────────────────────────────────────── */
:root {
  --blanc:    #FFFFFF;
  --ivoire:   #F9F6F1;
  --noir:     #111111;
  --corps:    #2E2B28;
  --gris:     #888480;
  --ligne:    #E4E0DA;
  --bordeaux: #5C1520;
  --or:       #9E7B3A;
  --nav-h:    64px;
}

/* ── RESET ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: var(--blanc);
  color: var(--corps);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }

/* ── NAV ─────────────────────────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ligne);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 max(60px, calc((100vw - 1060px) / 2));
  z-index: 100;
}
.nav-logo {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--noir);
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s ease;
  z-index: 2;
}
.nav-logo:hover {
  opacity: 0.75;
}
.nav-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gris);
  transition: color 0.2s;
  font-weight: 500;
}
.nav-links a:hover { color: var(--bordeaux); }
.mobile-only { display: none; }

.nav-btn {
  display: inline-block;
  padding: 10px 22px;
  background: var(--bordeaux);
  color: var(--blanc) !important;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  z-index: 2;
}
.nav-btn:hover {
  background: var(--or);
  color: var(--noir) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.35);
}


.nav-toggle {
  display: none;
}

/* ── SECTIONS ────────────────────────────────────────────────────────────── */
section { padding: 100px 40px; }
.container { max-width: 900px; margin: 0 auto; }
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bordeaux);
  margin-bottom: 20px;
}
h1 { font-size: clamp(36px, 6vw, 72px); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; color: var(--noir); }
h2 { font-size: clamp(26px, 4vw, 42px); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; color: var(--noir); margin-bottom: 16px; }
h3 { font-size: 16px; font-weight: 600; color: var(--noir); margin-bottom: 8px; }
p  { font-size: 16px; color: var(--corps); line-height: 1.75; }
.rule { height: 1px; background: var(--ligne); margin: 0; border: none; }
.rule-bordeaux { height: 1px; background: var(--bordeaux); width: 32px; margin-bottom: 32px; }

/* ── HERO ────────────────────────────────────────────────────────────────── */
#accueil {
  min-height: 100vh;
  display: flex; align-items: center;
  padding-top: calc(var(--nav-h) + 60px);
  background: var(--blanc);
}
.hero-inner { max-width: 900px; margin: 0 auto; width: 100%; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
}
.hero-image {
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 2px;
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-inner h1 { margin-bottom: 28px; }
.hero-tagline {
  font-size: 18px;
  color: var(--corps);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 48px;
}
.hero-cta {
  display: inline-block;
  padding: 14px 32px;
  background: var(--bordeaux);
  color: white;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  transition: opacity 0.2s;
}
.hero-cta:hover { opacity: 0.85; }
.hero-meta {
  margin-top: 80px;
  display: flex; gap: 48px;
  border-top: 1px solid var(--ligne);
  padding-top: 32px;
}
.hero-meta-item span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gris);
  margin-bottom: 4px;
}
.hero-meta-item strong {
  font-size: 15px;
  color: var(--noir);
  font-weight: 600;
}

/* ── À PROPOS ────────────────────────────────────────────────────────────── */
#apropos { background: var(--ivoire); }
.apropos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.apropos-valeurs { margin-top: 48px; }
.valeur-item {
  padding: 24px 0;
  border-top: 1px solid var(--ligne);
}
.valeur-item:last-child { border-bottom: 1px solid var(--ligne); }
.valeur-item h3 {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bordeaux);
  margin-bottom: 8px;
}
.valeur-item p { font-size: 14px; color: var(--gris); line-height: 1.65; }

/* ── OFFRES (ACCORDÉON LUXE) ───────────────────────────────────────────── */
#offres { background: var(--blanc); }
.svc-accordion {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.acc-item {
  background: var(--blanc);
  border: 1px solid var(--ligne);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}
.acc-item.open {
  border-color: var(--bordeaux);
}
.acc-header {
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}
.acc-title-group {
  display: flex;
  align-items: center;
  gap: 24px;
}
.acc-num {
  font-size: 14px;
  font-weight: 700;
  color: var(--or);
  letter-spacing: 0.1em;
}
.acc-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--noir);
}
.acc-target-inline {
  font-size: 13px;
  color: var(--gris);
  margin-left: 12px;
}
.acc-right {
  display: flex;
  align-items: center;
  gap: 24px;
}
.acc-price {
  font-size: 15px;
  font-weight: 600;
  color: var(--bordeaux);
}
.acc-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ivoire);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--noir);
  transition: transform 0.3s ease, background 0.3s ease;
}
.acc-item.open .acc-icon {
  transform: rotate(45deg);
  background: var(--bordeaux);
  color: #FFF;
}
.acc-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
  background: var(--ivoire);
  border-top: 1px solid transparent;
}
.acc-item.open .acc-content {
  max-height: 300px;
  padding: 28px 32px 32px;
  border-top-color: var(--ligne);
}
.acc-inner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  align-items: center;
}
.acc-inner p {
  font-size: 15px;
  color: var(--corps);
  line-height: 1.7;
}
.svc-cta {
  display: inline-block;
  padding: 12px 24px;
  background: var(--bordeaux);
  color: var(--blanc);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
  text-align: center;
}
.svc-cta:hover {
  background: var(--or);
  color: var(--noir);
  transform: translateY(-2px);
}
@media (max-width: 768px) {
  .acc-header { padding: 18px 20px; }
  .acc-title { font-size: 16px; }
  .acc-target-inline { display: none; }
  .acc-num { font-size: 12px; }
  .acc-price { font-size: 13px; }
  .acc-inner { grid-template-columns: 1fr; gap: 16px; }
  .acc-item.open .acc-content { padding: 20px; }
}

.offre-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gris);
  margin-bottom: 4px;
}
.offres-table { width: 100%; margin-top: 40px; border-collapse: collapse; }
.offres-table thead tr { border-bottom: 1px solid var(--ligne); }
.offres-table thead th {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gris);
  padding: 0 0 16px;
  text-align: left;
  font-weight: 400;
}
.offres-table thead th:last-child { text-align: right; }
.offres-table tbody tr { border-bottom: 1px solid var(--ligne); }
.offres-table tbody tr:hover { background: var(--ivoire); }
.offres-table td { padding: 22px 0; vertical-align: top; }
.offres-table td:first-child { padding-right: 24px; min-width: 180px; }
.offres-table td:last-child { text-align: right; white-space: nowrap; padding-left: 24px; }
.td-titre { font-size: 15px; font-weight: 600; color: var(--noir); margin-bottom: 6px; }
.td-desc { font-size: 13px; color: var(--gris); line-height: 1.6; }
.td-qui { font-size: 13px; color: var(--corps); padding-right: 24px; }
.td-tarif { font-size: 13px; font-weight: 600; color: var(--bordeaux); }
.offres-separator {
  display: flex; align-items: center; gap: 16px;
  margin: 48px 0 16px;
}
.offres-separator span {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bordeaux);
  white-space: nowrap;
  font-weight: 600;
}
.sep-line { flex: 1; height: 1px; background: var(--bordeaux); opacity: 0.3; }

/* ── PARCOURS (STEPPER INTERACTIF) ───────────────────────────────────────── */
#parcours { background: var(--ivoire); }
.stepper-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  background: var(--blanc);
  border: 1px solid var(--ligne);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
  margin-top: 40px;
}

.stepper-menu {
  background: #181614;
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stepper-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 6px;
  cursor: pointer;
  color: #999;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  user-select: none;
}

.stepper-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #FFF;
}

.stepper-item.active {
  background: var(--bordeaux);
  color: #FFF;
  border-color: rgba(255, 255, 255, 0.2);
}

.stepper-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 8px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  white-space: nowrap;
}

.stepper-title {
  font-size: 14px;
  font-weight: 600;
}

.stepper-panel {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stepper-content-item {
  display: none;
}

.stepper-content-item.active {
  display: block;
  animation: stepperFadeIn 0.4s ease;
}

@keyframes stepperFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.stepper-panel h3 {
  font-size: 24px;
  color: var(--noir);
  margin-bottom: 12px;
}

.stepper-panel .panel-date {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--or);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.stepper-panel p {
  font-size: 16px;
  color: var(--corps);
  line-height: 1.7;
  margin-bottom: 24px;
}

.stepper-highlights {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.highlight-chip {
  background: var(--ivoire);
  border: 1px solid var(--ligne);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  color: var(--noir);
  font-weight: 500;
}

@media (max-width: 768px) {
  .stepper-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .stepper-menu {
    flex-direction: row;
    overflow-x: auto;
    padding: 16px;
    gap: 12px;
  }
  .stepper-item {
    padding: 10px 14px;
    white-space: nowrap;
  }
  .stepper-panel {
    padding: 24px;
  }
}

.timeline { margin-top: 48px; position: relative; }
.timeline::before {
  content: '';
  position: absolute; left: 92px; top: 6px; bottom: 6px;
  width: 1px; background: var(--ligne);
}
.timeline-item {
  display: grid;
  grid-template-columns: 92px 20px 1fr;
  gap: 0 24px;
  padding: 0 0 40px;
  position: relative;
}
.timeline-item:last-child { padding-bottom: 0; }
.t-date {
  font-size: 12px;
  font-weight: 600;
  color: var(--gris);
  text-align: right;
  padding-top: 2px;
}
.t-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--bordeaux);
  margin: 5px auto 0;
  position: relative; z-index: 1;
  flex-shrink: 0;
}
.t-content h3 { font-size: 15px; font-weight: 600; color: var(--noir); margin-bottom: 4px; }
.t-content p  { font-size: 13px; color: var(--gris); line-height: 1.65; }

/* ── RÉALISATIONS ────────────────────────────────────────────────────────── */
#realisations { background: var(--blanc); }
.real-placeholder {
  margin-top: 48px;
  border: 1px dashed var(--ligne);
  padding: 80px 40px;
  text-align: center;
}
.real-placeholder p { font-size: 14px; color: var(--gris); }

/* ── GALERIE ─────────────────────────────────────────────────────────────── */
#galerie { background: var(--ivoire); }
.galerie-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.galerie-item {
  aspect-ratio: 4/3;
  background: var(--ligne);
  position: relative;
  overflow: hidden;
}
.galerie-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.galerie-item:hover img { transform: scale(1.04); }
.galerie-item.tall { aspect-ratio: 4/5; }
.galerie-item span {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gris);
}
.galerie-grid .galerie-item:nth-child(1),
.galerie-grid .galerie-item:nth-child(5) {
  grid-column: span 2;
  aspect-ratio: 16/7;
}

/* ── CONTACT ─────────────────────────────────────────────────────────────── */
#contact { background: var(--noir); }
#contact h2 { color: var(--blanc); }
#contact .eyebrow { color: var(--ivoire); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-top: 48px;
}
.contact-info p { font-size: 15px; color: #AAA; line-height: 2; }
.contact-info a { color: var(--blanc); border-bottom: 1px solid var(--bordeaux); padding-bottom: 1px; }
.contact-info a:hover { color: var(--bordeaux); }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form input,
.contact-form textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--blanc);
  padding: 14px 16px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #555; }
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--bordeaux); }
.contact-form textarea { min-height: 120px; }
.contact-form button {
  padding: 14px 32px;
  background: var(--bordeaux);
  color: white;
  border: none;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
  align-self: flex-start;
}
.contact-form button:hover { opacity: 0.85; }
.contact-footer {
  margin-top: 80px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; align-items: center;
}
.contact-footer p { font-size: 12px; color: #555; }

/* ── QUESTIONNAIRE DE DÉGUSTATION ───────────────────────────────────────── */
.questionnaire {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.questionnaire summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  background: transparent;
  border: 1px solid var(--bordeaux);
  color: var(--blanc);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  transition: background 0.2s ease;
}
.questionnaire summary::-webkit-details-marker { display: none; }
.questionnaire summary:hover { background: rgba(92,21,32,0.25); }
.questionnaire summary .q-icon {
  transition: transform 0.25s ease;
  font-size: 15px;
  line-height: 1;
}
.questionnaire[open] summary .q-icon { transform: rotate(45deg); }
.questionnaire-intro {
  max-width: 560px;
  margin: 18px 0 40px;
  color: #AAA;
  font-size: 14px;
  line-height: 1.8;
}
.q-group { margin-bottom: 40px; }
.q-group-title {
  color: var(--bordeaux);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 18px;
}
.q-field { margin-bottom: 20px; }
.q-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.q-field-row .q-field { margin-bottom: 20px; }
.q-field label {
  display: block;
  color: var(--blanc);
  font-size: 14px;
  margin-bottom: 8px;
  line-height: 1.5;
}
.q-field input,
.q-field textarea {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--blanc);
  padding: 12px 14px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
}
.q-field textarea { min-height: 70px; }
.q-field input::placeholder,
.q-field textarea::placeholder { color: #555; }
.q-field input:focus,
.q-field textarea:focus { border-color: var(--bordeaux); }
.questionnaire-submit {
  padding: 14px 32px;
  background: var(--bordeaux);
  color: white;
  border: none;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
  margin-top: 8px;
}
.questionnaire-submit:hover { opacity: 0.85; }

/* ── LIGHTBOX (ZOOM MODE) ─────────────────────────────────────────────────── */
.galerie-item,
.hero-image {
  cursor: zoom-in;
}
.galerie-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(92, 21, 32, 0.2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' 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 / 28px no-repeat;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.galerie-item:hover::after {
  opacity: 1;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
}
.lightbox.active {
  opacity: 1;
  visibility: visible;
}
.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(14, 13, 12, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.lightbox-container {
  position: relative;
  z-index: 2;
  max-width: 92vw;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.lightbox.active .lightbox-container {
  transform: scale(1);
}
.lightbox-figure {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%;
  overflow: hidden;
}
.lightbox-img {
  max-width: 88vw;
  max-height: 78vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  user-select: none;
  cursor: zoom-in;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.lightbox-img.is-zoomed {
  transform: scale(1.7);
  cursor: zoom-out;
}
.lightbox-caption {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  max-width: 88vw;
  color: var(--ivoire);
}
.lightbox-title {
  font-size: 14px;
  letter-spacing: 0.03em;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}
.lightbox-counter {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--or);
  font-weight: 600;
  white-space: nowrap;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  z-index: 10;
  user-select: none;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--bordeaux);
  border-color: var(--bordeaux);
}
.lightbox-close {
  top: -48px;
  right: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
}
.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 20px;
}
.lightbox-prev { left: -64px; }
.lightbox-next { right: -64px; }

/* ── FLOATING BUTTONS ───────────────────────────────────────────────────── */
#back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--bordeaux);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(92, 21, 32, 0.35);
  cursor: pointer;
  border: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s, box-shadow 0.2s ease;
  z-index: 200;
}
#back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
#back-to-top:hover {
  box-shadow: 0 6px 20px rgba(92, 21, 32, 0.45);
  transform: translateY(-2px);
}
#back-to-top svg { width: 22px; height: 22px; }

#plan-cta {
  position: fixed;
  bottom: 32px;
  left: 32px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bordeaux);
  color: var(--blanc);
  padding: 15px 22px;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.04em;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(92, 21, 32, 0.35);
  text-decoration: none;
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s, box-shadow 0.2s ease;
}
#plan-cta.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
#plan-cta:hover {
  box-shadow: 0 6px 20px rgba(92, 21, 32, 0.45);
  transform: translateY(-2px);
}
#plan-cta svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ── RESPONSIVE & MOBILE OPTIMIZATIONS ────────────────────────────────────── */

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-image { aspect-ratio: 16/10; order: -1; }
  .apropos-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 960px) {
  /* Mobile Navigation Hamburger & Full-bleed Solid Background Drawer */
  nav { padding: 0 20px; }
  .nav-logo { z-index: 102; }
  .nav-btn { display: none; }
  .mobile-only { display: block; }
  
  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 102;
    padding: 0;
  }
  .nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--noir);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .nav-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: #FFFFFF !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    padding: 80px 20px 40px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    z-index: 100;
  }
  .nav-links.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .nav-links a {
    font-size: 18px;
    letter-spacing: 0.1em;
    font-weight: 600;
    color: var(--noir);
  }
}

@media (max-width: 768px) {
  /* Padding & Section spacing */
  section { padding: 64px 20px; }


  /* Hero & Typography */
  .hero-tagline { font-size: 16px; margin-bottom: 32px; }
  .hero-meta {
    flex-direction: column;
    gap: 20px;
    margin-top: 48px;
    padding-top: 24px;
  }

  /* Offres Table Mobile Cards */
  .offres-table, .offres-table thead, .offres-table tbody, .offres-table th, .offres-table td, .offres-table tr {
    display: block;
  }
  .offres-table thead { display: none; }
  .offres-table tbody tr {
    padding: 20px 16px;
    margin-bottom: 16px;
    background: var(--ivoire);
    border: 1px solid var(--ligne);
    border-radius: 4px;
  }
  .offres-table td {
    padding: 6px 0 !important;
    text-align: left !important;
    min-width: 0 !important;
  }
  .offres-table td:last-child {
    margin-top: 10px;
    text-align: left !important;
    padding-left: 0 !important;
  }

  /* Questionnaire Mobile */
  .q-group { margin-bottom: 32px; }
  .q-field-row { grid-template-columns: 1fr; gap: 0; }

  /* Galerie Grid */
  .galerie-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .galerie-grid .galerie-item:nth-child(1),
  .galerie-grid .galerie-item:nth-child(5) {
    grid-column: span 2;
    aspect-ratio: 16/9;
  }

  /* Form Sizing for Mobile Safari/Chrome */
  input, textarea, select, button {
    font-size: 16px !important;
  }

  /* Footer & Contact */
  .contact-footer {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  /* Floating Action Buttons */
  #back-to-top {
    bottom: 20px;
    right: 16px;
    width: 46px;
    height: 46px;
  }
  #plan-cta {
    bottom: 20px;
    left: 16px;
    padding: 12px 18px;
    font-size: 12px;
  }
}

@media (max-width: 600px) {
  /* Timeline Responsive */
  .timeline::before { left: 16px; }
  .timeline-item {
    grid-template-columns: 1fr;
    gap: 6px;
    padding-left: 36px;
    position: relative;
    padding-bottom: 32px;
  }
  .t-dot {
    position: absolute;
    left: 12px;
    top: 5px;
    margin: 0;
  }
  .t-date {
    text-align: left;
    font-size: 11px;
    color: var(--bordeaux);
  }
}

@media (max-width: 480px) {
  .galerie-grid {
    grid-template-columns: 1fr;
  }
  .galerie-grid .galerie-item:nth-child(1),
  .galerie-grid .galerie-item:nth-child(5) {
    grid-column: span 1;
    aspect-ratio: 4/3;
  }
  #plan-cta span { display: none; }
  #plan-cta { padding: 14px; border-radius: 50%; }
}
