/* ==========================================================
   AVA — Style Clean (menu stable / responsive)
   (charte identique, noms variables simplifiés)
   ========================================================== */

:root{
  --ava-bg: #F9F6F2;
  --ava-paper: #FFFFFF;
  --ava-sand: #E8E0D5;
  --ava-line: rgba(215,206,193,.35);
  --ava-gold: #b2804b;
  --ava-text: #3C3C3C;
  --ava-muted: #5E5E5E;
  --ava-ink: #151414;

  --radius: 14px;
  --shadow: 0 18px 60px rgba(0,0,0,.08);
  --ease: cubic-bezier(.165,.84,.44,1);

  --header-h: 92px; /* surchargé en JS pour éviter les sauts */
}

/* ---------- Reset ---------- */
*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family:'Montserrat',system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:var(--ava-bg);
  color:var(--ava-text);
  line-height:1.7;
  font-weight:300;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; }
.sr-only{
  position:absolute!important; width:1px;height:1px; padding:0;margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

.shell{
  width:100%;
  max-width:1400px;
  margin:0 auto;
  padding:0 40px;
}

.skip{
  position:absolute;
  left:12px;
  top:10px;
  z-index:9999;
  padding:10px 14px;
  border-radius:12px;
  border:1px solid rgba(0,0,0,.10);
  background:rgba(255,255,255,.92);
  transform:translateY(-160%);
  transition:transform .18s ease;
}
.skip:focus{ transform:translateY(0); outline:none; box-shadow:0 12px 28px rgba(0,0,0,.16); }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  text-decoration:none;
  border-radius:0;
  letter-spacing:2px;
  text-transform:uppercase;
  font-size:12px;
  padding:14px 22px;
  border:1px solid transparent;
  transition: transform .22s var(--ease), background .22s var(--ease), border-color .22s var(--ease), opacity .22s var(--ease);
}
.btn:hover{ transform:translateY(-2px); }
.btn-primary{
  background:var(--ava-gold);
  border-color:var(--ava-gold);
  color:#fff;
}
.btn-primary:hover{ background:#A99260; border-color:#A99260; }
.btn-ghost{
  background:transparent;
  border-color:rgba(0,0,0,.12);
  color:var(--ava-ink);
}
.btn-ghost:hover{ border-color:rgba(0,0,0,.20); background:rgba(178,128,75,.06); }

.fineprint{
  font-size:12px;
  color:rgba(0,0,0,.55);
  margin:14px 0 0;
}

/* ==========================================================
   HEADER (stable, pas de saut)
   ========================================================== */
.site-header{
  position:fixed;
  inset:0 0 auto 0;
  z-index:1200;
  background:rgba(249,246,242,.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--ava-line);
  will-change:background,box-shadow;
}
.site-header.is-scrolled{
  background:rgba(249,246,242,.97);
  box-shadow:0 10px 30px rgba(0,0,0,.06);
}
.header-shell{
  height:var(--header-h);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
}
.brand{ display:flex; align-items:center; }
.brand img{ height:56px; width:auto; object-fit:contain; }

.nav-desktop{
  display:flex;
  align-items:center;
  gap:clamp(16px,2vw,38px);
  white-space:nowrap;
}
.nav-desktop a{
  text-decoration:none;
  font-size:13px;
  font-weight:300;
  letter-spacing:1px;
  text-transform:uppercase;
  color:var(--ava-text);
  position:relative;
  padding:8px 0;
}
.nav-desktop a:hover{ color:var(--ava-gold); }
.nav-desktop a::after{
  content:"";
  position:absolute;
  left:0; bottom:-3px;
  height:1px;
  width:0;
  background:var(--ava-gold);
  transition:width .22s var(--ease);
}
.nav-desktop a:hover::after{ width:100%; }

.header-actions{
  display:flex;
  align-items:center;
  gap:16px;
}
.lang select{
  appearance:none;
  background:var(--ava-bg);
  border:1px solid var(--ava-gold);
  color:var(--ava-text);
  padding:7px 28px 7px 10px;
  font-size:12px;
  text-transform:uppercase;
  cursor:pointer;
}
.lang{ position:relative; }
.lang::after{
  content:"▼";
  position:absolute;
  right:10px; top:50%;
  transform:translateY(-50%);
  font-size:10px;
  color:var(--ava-gold);
  pointer-events:none;
}

/* Burger */
.nav-toggle{
  display:none;
  width:44px; height:44px;
  min-width:44px; min-height:44px;
  border:1px solid rgba(0,0,0,.12);
  background:rgba(255,255,255,.55);
  backdrop-filter:blur(10px);
  border-radius:12px;
  cursor:pointer;
  align-items:center;
  justify-content:center;
  gap:5px;
  padding:0;
  flex-direction:column;
  -webkit-tap-highlight-color:transparent;
}
.nav-toggle span{
  display:block;
  width:18px; height:1px;
  background:rgba(17,17,17,.75);
  transition:transform .22s var(--ease), opacity .22s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform:translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform:translateY(-6px) rotate(-45deg); }

/* Drawer */
.drawer{
  position:fixed;
  inset:0;
  z-index:1600;
  pointer-events:none;
}
.drawer[aria-hidden="false"]{ pointer-events:auto; }
.drawer-backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.26);
  opacity:0;
  transition:opacity .22s ease;
}
.drawer[aria-hidden="false"] .drawer-backdrop{ opacity:1; }

.drawer-panel{
  position:absolute;
  top:0; right:0;
  width:min(92vw, 380px);
  max-width:100%;
  height:100%;
  height:100dvh;
  max-height:100vh;
  background:rgba(249,246,242,.98);
  backdrop-filter:blur(12px);
  border-left:1px solid var(--ava-line);
  box-shadow:-18px 0 60px rgba(0,0,0,.18);
  transform:translateX(104%);
  transition:transform .28s ease;
  padding:20px 16px 24px;
  display:flex;
  flex-direction:column;
  gap:16px;
  overflow-y:auto;
  -webkit-overflow-scrolling:touch;
}
.drawer[aria-hidden="false"] .drawer-panel{ transform:translateX(0); }

.drawer-close{
  position:absolute;
  top:12px; right:12px;
  width:44px; height:44px;
  min-width:44px; min-height:44px;
  border:1px solid rgba(0,0,0,.10);
  border-radius:50%;
  background:rgba(255,255,255,.9);
  cursor:pointer;
  font-size:20px;
  line-height:1;
  display:flex;
  align-items:center;
  justify-content:center;
  -webkit-tap-highlight-color:transparent;
}
.drawer-brand{ display:flex; justify-content:center; padding-top:20px; flex-shrink:0; }
.drawer-brand img{ height:48px; width:auto; opacity:.95; }

.drawer-nav{
  display:flex;
  flex-direction:column;
  gap:6px;
  padding-top:10px;
}
.drawer-nav a{
  padding:14px 16px;
  min-height:48px;
  border-radius:12px;
  text-decoration:none;
  color:var(--ava-text);
  letter-spacing:.8px;
  text-transform:uppercase;
  font-size:14px;
  font-weight:400;
  border:1px solid rgba(0,0,0,.06);
  background:rgba(255,255,255,.6);
  display:flex;
  align-items:center;
  transition:all .2s;
  -webkit-tap-highlight-color:transparent;
}
.drawer-nav a:hover, .drawer-nav a:focus-visible{ border-color:var(--ava-gold); background:rgba(178,128,75,.08); }

.drawer-cta{ margin-top:auto; }

.drawer-footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding-top:10px;
}
.drawer-lang select{
  width:100%;
  appearance:none;
  background:var(--ava-bg);
  border:1px solid var(--ava-gold);
  color:var(--ava-text);
  padding:10px 12px;
  font-size:12px;
  text-transform:uppercase;
  border-radius:12px;
  cursor:pointer;
}
.drawer-social{ display:flex; gap:10px; }
.drawer-social a{
  width:38px;height:38px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.12);
  background:rgba(255,255,255,.55);
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  font-size:12px;
  letter-spacing:.6px;
}
.drawer-social a:hover{ border-color:rgba(0,0,0,.20); }

/* Scroll lock when drawer open */
html.drawer-open, html.drawer-open body{
  overflow:hidden;
  touch-action:none;
  -webkit-overflow-scrolling:auto;
}




/* ==========================================================
   SECTIONS (base)
   ========================================================== */
.section{ padding:84px 0; }
.section-head{ text-align:center; max-width:860px; margin:0 auto 34px; }
.section-kicker{
  display:inline-block;
  letter-spacing:3px;
  text-transform:uppercase;
  font-size:12px;
  color:rgba(0,0,0,.60);
  margin-bottom:10px;
}
.section-title{
  font-family:'Cormorant Garamond',serif;
  font-size:clamp(26px, 2.2vw, 40px);
  font-weight:500;
  margin:0 0 10px;
  color:var(--ava-text);
}
.section-desc{
  margin:0 auto;
  max-width:64ch;
  color:var(--ava-muted);
  font-size:15px;
}


.filters {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: center;
  gap: 20px 24px;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.filter {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 0 1 auto;
  min-width: 140px;
}

.filter label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ava-muted);
}

.filter select {
  padding: 14px 16px;
  border: 1px solid var(--ava-line);
  border-radius: 8px;
  background: var(--ava-paper);
  font-size: 14px;
  cursor: pointer;
  transition: border-color 0.2s;
}

.filter select:focus {
  outline: none;
  border-color: var(--ava-gold);
}

.filter-reset {
  flex: 0 0 auto;
}

/* Table */
.inv-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--ava-paper);
}

.inv-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.inv-table thead {
  background: var(--ava-sand);
}

.inv-table th {
  padding: 18px 16px;
  text-align: left;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--ava-ink);
  white-space: nowrap;
}

.inv-table td {
  padding: 18px 16px;
  border-top: 1px solid var(--ava-line);
}

.inv-table tbody tr {
  transition: background 0.2s;
}

.inv-table tbody tr:hover {
  background: rgba(178, 128, 75, 0.03);
}

.inv-row--hidden {
  display: none;
}

.inv-empty {
  text-align: center;
  padding: 60px 20px !important;
  color: var(--ava-muted);
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--ava-line);
  border-radius: 6px;
  background: transparent;
  font-size: 13px;
  transition: all 0.2s;
  cursor: pointer;
}

.icon-btn:hover {
  border-color: var(--ava-gold);
  background: rgba(178, 128, 75, 0.05);
  color: var(--ava-gold);
}

.icon-btn svg {
  width: 16px;
  height: 16px;
}

.inv-plan-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

/* Modal Plan */
.plan-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}

.plan-modal[aria-hidden="false"] {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}

html.plan-modal-open body { overflow: hidden; }

.plan-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.8);
  cursor: pointer;
}

.plan-modal__content {
  position: relative;
  max-width: 520px;
  max-height: 85vh;
  background: var(--ava-paper);
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(0,0,0,0.4);
  overflow: visible;
  display: flex;
  flex-direction: column;
}

.plan-modal__content .plan-modal__img-wrap {
  overflow: auto;
  max-height: 55vh;
  flex-shrink: 1;
}

.plan-modal__img {
  max-height: 50vh;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.plan-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border: none;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.plan-modal__actions {
  display: flex;
  gap: 12px;
  padding: 16px 20px;
  border-top: 1px solid var(--ava-line);
}

.inv-morebar {
  padding: 20px;
  text-align: center;
  border-top: 1px solid var(--ava-line);
}

.inv-morebtn {
  padding: 12px 28px;
  border: 1px solid var(--ava-line);
  border-radius: 30px;
  background: transparent;
  font-size: 13px;
  letter-spacing: 1px;
  transition: all 0.2s;
}

.inv-morebtn:hover {
  background: var(--ava-gold);
  color: white;
  border-color: var(--ava-gold);
}


/* ==========================================================
   VIRTUAL TOUR 360° - RESPONSIVE
   ========================================================== */

.virtual-tour {
  background: var(--ava-paper);
}

.vr-container {
  max-width: 1200px;
  margin: 0 auto;
}

.vr-selector {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 30px;
}

.vr-unit-btn {
  flex: 0 1 auto;
  min-width: 180px;
  padding: 20px;
  border: 2px solid var(--ava-line);
  border-radius: var(--radius);
  background: transparent;
  text-align: left;
  transition: all 0.2s;
  cursor: pointer;
}

.vr-unit-btn:hover,
.vr-unit-btn.active {
  border-color: var(--ava-gold);
  background: rgba(178, 128, 75, 0.05);
}

.vr-unit-label {
  display: block;
  font-size: 16px;
  font-weight: 500;
  color: var(--ava-ink);
  margin-bottom: 6px;
}

.vr-unit-type {
  display: block;
  font-size: 13px;
  color: var(--ava-muted);
}

.vr-viewer-wrap {
  position: relative;
  width: 100%;
  height: 400px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow);
}

.vr-viewer {
  width: 100%;
  height: 100%;
}

.vr-controls {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 10;
  display: flex;
  gap: 10px;
  align-items: center;
}

.vr-control {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ava-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  box-shadow: var(--shadow-sm);
}

.vr-control:hover {
  background: var(--ava-gold);
  color: white;
  transform: scale(1.1);
}

.vr-control--exit {
  display: none;
}

.vr-viewer-wrap.is-fullscreen .vr-control--exit {
  display: flex !important;
}

.vr-loading {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  z-index: 5;
}

.vr-loading.hidden {
  display: none;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--ava-gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.vr-info {
  margin-top: 30px;
  padding: 25px;
  background: var(--ava-bg);
  border-radius: var(--radius);
}

.vr-info h3 {
  font-size: 16px;
  font-weight: 500;
  margin: 0 0 16px;
}

.vr-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.vr-info li {
  padding: 8px 0;
  font-size: 14px;
  color: var(--ava-muted);
}

/* ==========================================================
   FEATURES
   ========================================================== */
.features{ background:var(--ava-sand); }
.features-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  gap:14px;
}
.feature{
  background:rgba(255,255,255,.70);
  border:1px solid rgba(0,0,0,.08);
  box-shadow:0 18px 50px rgba(0,0,0,.05);
  padding:22px 18px;
  text-align:center;
}
.feature-ico{
  width:56px;height:56px;
  border-radius:999px;
  margin:0 auto 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(178,128,75,.10);
  color:var(--ava-gold);
  font-size:18px;
}
.feature h3{
  font-family:'Cormorant Garamond',serif;
  font-size:22px;
  margin:0 0 8px;
  font-weight:500;
}
.feature p{
  margin:0 auto;
  color:var(--ava-muted);
  font-size:14px;
  max-width:36ch;
}

/* ==========================================================
   LOCATION
   ========================================================== */
.location-grid{
  display:grid;
  grid-template-columns: 1.3fr .7fr;
  gap:16px;
  align-items:stretch;
  max-width:1100px;
  margin:0 auto;
}
.map-card, .times-card{
  background:rgba(255,255,255,.78);
  border:1px solid rgba(0,0,0,.08);
  box-shadow:0 18px 50px rgba(0,0,0,.06);
  overflow:hidden;
}
.map-card {
  position: relative;
}

.map-card iframe{
  width:100%;
  height:420px;
  border:0;
  display:block;
}

.map-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.35);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 1px;
  text-decoration: none;
  transition: background 0.25s;
}

.map-card__overlay:hover {
  background: rgba(0,0,0,0.5);
}

.map-card__overlay span {
  padding: 12px 24px;
  background: var(--ava-gold);
  border-radius: 8px;
}
.times-card{
  padding:18px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}
.times{
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  flex-direction:column;
  gap:12px;
}
.times li{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:12px;
  padding:12px 12px;
  border:1px solid rgba(0,0,0,.08);
  background:rgba(255,255,255,.60);
}
.times .t{
  font-family:'Cormorant Garamond',serif;
  color:var(--ava-gold);
  font-size:22px;
}
.times .l{
  color:rgba(0,0,0,.62);
  font-size:14px;
}
.times-note{ display:flex; gap:10px; flex-wrap:wrap; padding-top:14px; }

/* ==========================================================
   GALLERY
   ========================================================== */
.gallery{ background:linear-gradient(135deg, var(--ava-bg) 0%, var(--ava-sand) 100%); }
.gallery-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:16px;
}
.g{
  margin:0;
  border-radius:18px;
  overflow:hidden;
  border:1px solid rgba(0,0,0,.08);
  box-shadow:0 18px 50px rgba(0,0,0,.06);
  background:rgba(255,255,255,.45);
  cursor:pointer;
  position:relative;
}
.g img{
  width:100%;
  height:340px;
  object-fit:cover;
  object-position:center;
  transition:transform .35s var(--ease);
}
.g:hover img{ transform:scale(1.03); }
.gallery-cta{ margin-top:18px; display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }

/* Lightbox Galerie */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(0,0,0,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s, visibility 0.3s;
}
.gallery-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.gallery-lightbox__backdrop {
  position: absolute;
  inset: 0;
  cursor: pointer;
  pointer-events: auto;
}
html.gallery-lightbox-open body { overflow: hidden; }
.gallery-lightbox__close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 48px;
  height: 48px;
  border: none;
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  z-index: 2;
}
.gallery-lightbox__prev,
.gallery-lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border: none;
  background: rgba(255,255,255,0.15);
  color: #fff;
  cursor: pointer;
  border-radius: 50%;
  z-index: 2;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.gallery-lightbox__prev:hover,
.gallery-lightbox__next:hover { background: rgba(255,255,255,0.35); }
.gallery-lightbox__prev { left: 16px; }
.gallery-lightbox__next { right: 16px; }
.gallery-nav-icon {
  width: 36px;
  height: 36px;
  display: block;
}
.gallery-lightbox__img-wrap {
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-lightbox__img-wrap img {
  max-width: 100%;
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
}
.gallery-lightbox__caption {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.9);
  font-size: 14px;
}

/* ==========================================================
   CONTACT
   ========================================================== */
.contact{ background:var(--ava-bg); }
.contact-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:16px;
  max-width:1100px;
  margin:0 auto;
  align-items:start;
}
.contact-form, .contact-card{
  background:rgba(255,255,255,.80);
  border:1px solid rgba(0,0,0,.08);
  box-shadow:0 18px 50px rgba(0,0,0,.06);
}
.contact-form{ padding:22px; }
.row{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:12px;
}
.field{ margin-bottom:12px; }
.field label{
  display:block;
  font-size:12px;
  letter-spacing:1.6px;
  text-transform:uppercase;
  color:rgba(0,0,0,.62);
  margin-bottom:6px;
}
.field input, .field select, .field textarea{
  width:100%;
  border:1px solid rgba(0,0,0,.12);
  background:rgba(249,246,242,.70);
  padding:12px 12px;
  font-size:14px;
  font-family:inherit;
  color:var(--ava-text);
}
.field textarea{ resize:vertical; min-height:140px; }
.btn-submit{ width:100%; }

.contact-card{
  padding:22px;
  position:sticky;
  top:calc(var(--header-h) + 18px);
}
.contact-card h3{
  font-family:'Cormorant Garamond',serif;
  font-size:24px;
  margin:0 0 6px;
  font-weight:500;
}
.muted{ color:rgba(0,0,0,.58); }
.contact-items{ margin:14px 0 18px; display:flex; flex-direction:column; gap:12px; }
.citem{
  display:flex;
  gap:12px;
  align-items:flex-start;
  padding:12px 12px;
  border:1px solid rgba(0,0,0,.08);
  background:rgba(255,255,255,.60);
}
.ci{
  width:38px;height:38px;
  border-radius:999px;
  background:rgba(178,128,75,.10);
  color:var(--ava-gold);
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
}
.ct{
  font-size:12px;
  letter-spacing:1.6px;
  text-transform:uppercase;
  color:rgba(0,0,0,.62);
}
.cd{ font-size:14px; color:var(--ava-text); }

/* ==========================================================
   FOOTER
   ========================================================== */
.footer{
  padding:54px 0 18px;
  background:var(--ava-sand);
  border-top:1px solid var(--ava-line);
}
.footer-shell{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
}
.footer-left{ max-width:520px; }
.footer-left img{ height:56px; width:auto; margin-bottom:10px; }
.footer-right{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.footer-right a{
  text-decoration:none;
  font-size:12px;
  letter-spacing:1.6px;
  text-transform:uppercase;
  color:rgba(0,0,0,.62);
}
.footer-right a:hover{ color:var(--ava-gold); }
.footer-bottom{
  margin-top:18px;
  padding-top:14px;
  border-top:1px solid rgba(0,0,0,.06);
  text-align:center;
  font-size:12px;
  color:rgba(0,0,0,.55);
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
.section-intro {
  margin: -8px auto 24px;
  font-size: 15px;
  color: var(--ava-muted);
}

/* Tablet */
@media (max-width: 1280px){
  .nav-desktop{ display:none; }
  .btn-header, .lang{ display:none; }
  .nav-toggle{ display:flex; }
  .features-grid{ grid-template-columns:repeat(2, minmax(0,1fr)); }
  .location-grid{ grid-template-columns:1fr; }
  .map-card iframe{ height:340px; }
  .gallery-grid{ grid-template-columns:repeat(2, minmax(0,1fr)); }
  .contact-grid{ grid-template-columns:1fr; }
  .contact-card{ position:static; }
  .vr-selector{ gap:10px; }
  .vr-unit-btn{ min-width:140px; padding:14px; }
  .vr-unit-label{ font-size:14px; }
  .vr-unit-type{ font-size:12px; }
}

/* Mobile */
@media (max-width: 768px){
  .shell{ padding:0 18px; }
  .section{ padding:48px 0; }
  .section-head{ margin-bottom:24px; }
  .section-title{ font-size:clamp(22px, 5vw, 28px); }
  :root{ --header-h: 72px; }
  .header-shell{ gap:12px; }
  .brand img{ height:44px; }
  .hero.hero--slider{ min-height:480px; }
  .hero.hero--slider .hero-slide img{ object-position:center top; }
  .btn{ padding:12px 18px; font-size:11px; width:auto; min-width:120px; }
  .filters{ flex-direction:column; align-items:stretch; gap:12px; margin-bottom:24px; }
  .filter{ min-width:100%; }
  .filter-reset{ width:100%; }
  .inv-table th, .inv-table td{ padding:12px 10px; font-size:12px; }
  .inv-plan-actions{ gap:6px; flex-wrap:wrap; }
  .icon-btn{ padding:6px 10px; font-size:12px; }
  .icon-btn__txt{ display:none; }
  .icon-btn svg{ margin:0; }
  .plan-modal__content{ max-width:96vw; margin:0 12px; }
  .plan-modal__img-wrap{ max-height:50vh; }
  .plan-modal__img{ max-height:45vh; }
  .plan-modal__actions{ padding:12px 16px; flex-wrap:wrap; gap:8px; }
  .plan-modal__close{ top:8px; right:8px; width:38px; height:38px; font-size:22px; }
  .vr-selector{ flex-direction:row; flex-wrap:nowrap; overflow-x:auto; overflow-y:hidden; -webkit-overflow-scrolling:touch; gap:10px; margin-bottom:20px; padding-bottom:8px; scroll-snap-type:x proximity; }
  .vr-selector::-webkit-scrollbar{ height:6px; }
  .vr-selector::-webkit-scrollbar-thumb{ background:var(--ava-line); border-radius:3px; }
  .vr-unit-btn{ flex:0 0 auto; min-width:120px; max-width:140px; padding:12px 14px; scroll-snap-align:start; }
  .vr-unit-label{ font-size:13px; }
  .vr-unit-type{ font-size:11px; }
  .vr-viewer-wrap{ height:280px; min-height:260px; touch-action:pan-y pinch-zoom; }
  .vr-controls{ bottom:12px; right:12px; gap:8px; }
  .vr-control{ width:42px; height:42px; }
  .vr-control svg{ width:20px; height:20px; }
  .vr-info{ margin-top:20px; padding:18px; }
  .vr-info h3{ font-size:14px; }
  .vr-info li{ font-size:13px; padding:6px 0; }
  .features-grid{ grid-template-columns:1fr; gap:12px; }
  .feature{ padding:18px 16px; }
  .location-grid{ gap:12px; }
  .map-card iframe{ height:280px; }
  .map-card__overlay span{ padding:10px 16px; font-size:13px; }
  .times .t{ font-size:18px; }
  .times .l{ font-size:13px; }
  .times-note{ flex-direction:column; }
  .times-note .btn{ width:100%; }
  .gallery-grid{ grid-template-columns:1fr; gap:12px; }
  .g img{ height:260px; }
  .gallery-lightbox__prev, .gallery-lightbox__next{ width:44px; height:44px; }
  .gallery-lightbox__prev{ left:10px; }
  .gallery-lightbox__next{ right:10px; }
  .gallery-nav-icon{ width:28px; height:28px; }
  .gallery-lightbox__close{ top:12px; right:12px; width:42px; height:42px; font-size:28px; }
  .gallery-lightbox__caption{ bottom:16px; font-size:12px; }
  .contact-form{ padding:18px; }
  .row{ grid-template-columns:1fr; }
  .footer-shell{ flex-direction:column; align-items:center; text-align:center; gap:16px; }
  .footer-right{ justify-content:center; }
  .footer{ padding:36px 0 16px; }
  .drawer-panel{ width:min(92vw, 340px); padding:24px 16px 32px; padding-top:max(24px, env(safe-area-inset-top)); }
  .drawer-close{ top:max(12px, env(safe-area-inset-top)); right:12px; }
  .drawer-brand img{ height:44px; }
}

@media (max-width: 480px){
  .shell{ padding:0 14px; }
  .section{ padding:36px 0; }
  .hero.hero--slider{ min-height:400px; }
  .ava-intro{ padding:36px 12px; }
  .ava-intro__script{ width:90%; }
  .ava-metrics__grid{ gap:0; }
  .inv-table-wrap{ border-radius:10px; overflow-x:auto; -webkit-overflow-scrolling:touch; }
  .inv-table{ font-size:11px; min-width:520px; }
  .vr-selector{ gap:8px; }
  .vr-unit-btn{ min-width:100px; max-width:120px; padding:10px 12px; }
  .vr-unit-label{ font-size:12px; }
  .vr-unit-type{ font-size:10px; }
  .vr-viewer-wrap{ height:260px; min-height:240px; }
  .map-card iframe{ height:240px; }
  .map-card__overlay span{ font-size:12px; padding:8px 12px; }
  .g img{ height:220px; }
}
/* =========================================================
   HERO FULLSCREEN SLIDER (AVA) — override ancien hero
========================================================= */
.hero.hero--slider{
  position: relative;
  height: 100svh;
  height: 100vh;
  min-height: 520px;
  padding: 0 !important;
  background: #000;
  overflow: hidden;
}

/* coupe l'ancien fond hero */
.hero.hero--slider::before{ content: none !important; }

/* cache l'ancien contenu hero si jamais il existe encore */
.hero.hero--slider .container,
.hero.hero--slider .hero-content{ display:none !important; }

.hero.hero--slider .hero-slider{
  position:absolute;
  inset:0;
}

.hero.hero--slider .hero-slide{
  position:absolute;
  inset:0;
  opacity:0;
  transition: opacity 900ms ease;
}

.hero.hero--slider .hero-slide.is-active{ opacity:1; }

.hero.hero--slider .hero-slide img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center;
}

/* optionnel : mini vignette pour garder le header lisible sur images très claires */
.hero.hero--slider::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background: linear-gradient(to bottom,
    rgba(0,0,0,.18),
    rgba(0,0,0,0) 30%,
    rgba(0,0,0,0) 70%,
    rgba(0,0,0,.10)
  );
}
/* =========================
   AVA — Chiffres clés (centré + dynamique)
   ========================= */
.ava-metrics{
  margin-top: 26px;
}
.ava-metrics__inner{
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.ava-metrics__rule{
  height: 1px;
  background: rgba(0,0,0,.08);
  margin: 22px auto 18px;
  max-width: 640px;
}

.ava-metrics__grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.ava-metric{
  padding: 18px 10px;
  position: relative;
}

.ava-metric:not(:last-child)::after{
  content: "";
  position: absolute;
  top: 12px;
  right: 0;
  width: 1px;
  height: calc(100% - 24px);
  background: rgba(0,0,0,.06);
}

.ava-metric__value{
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  color: var(--ava-gold);
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.1;
  letter-spacing: .02em;
}

.ava-metric__value--text{
  font-size: clamp(20px, 2.1vw, 28px);
  letter-spacing: .04em;
}

.ava-metric__label{
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-light);
}

/* Mobile */
@media (max-width: 720px){
  .ava-metrics__grid{
    grid-template-columns: 1fr;
  }
  .ava-metric{
    padding: 16px 10px;
  }
  .ava-metric:not(:last-child)::after{
    top: auto;
    right: auto;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 72%;
    height: 1px;
    background: rgba(0,0,0,.06);
  }
}
/* ===============================
   AVA INTRO (style capture, centré)
================================= */
.ava-intro{
  padding: clamp(56px, 6vw, 90px) 16px;
  background: var(--paper, #fffffc);
}

.ava-intro__inner{
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.ava-intro__bird{
  width: 56px;
  height: auto;
  opacity: .95;
  margin: 0 auto 18px;
  display: block;
}

.ava-intro__script{
  width: min(560px, 72%);
  height: auto;
  display: block;
  margin: 0 auto 18px;
  opacity: .95;
}

.ava-intro__title{
  margin: 0 0 16px;
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  letter-spacing: .02em;
  font-size: clamp(26px, 3.2vw, 44px);
  color: var(--ink, #1d1b17);
}

.ava-intro__preview{
  margin: 0 auto;
  max-width: 860px;
  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 300;
  line-height: 1.95;
  font-size: 15px;
  color: var(--muted, #6e675e);
}

.ava-intro__toggle{
  margin-top: 22px;
  background: transparent;
  border: 0;
  padding: 8px 10px;
  cursor: pointer;
  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent, #b68a55);
  position: relative;
}

.ava-intro__toggle::after{
  content:"";
  position:absolute;
  left: 10px;
  right: 10px;
  bottom: 4px;
  height: 1px;
  background: currentColor;
  opacity: .55;
  transform: scaleX(.85);
  transform-origin: center;
}

.ava-intro__more{
  max-width: 860px;
  margin: 18px auto 0;
  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 300;
  line-height: 1.95;
  font-size: 15px;
  color: var(--muted, #6e675e);
}
