:root{
  /* Palette issue du logo (or/bronze + bruns) */
  --mt-gold-1:#a1773d;
  --mt-gold-2:#a3793f;
  --mt-gold-3:#9f753b;
  --mt-brown-1:#5b3f27;
  --mt-brown-2:#5c4028;
  --mt-brown-3:#3e2c1e;

  /* Thème clair ivoire */
  --text:var(--mt-brown-3);        /* Texte principal */
  --muted:var(--mt-brown-1);       /* Texte secondaire */
  --accent:var(--mt-gold-1);       /* Accent principal (or) */
  --bordeaux:var(--mt-gold-2);     /* Secondaire chaud (bronze) */
  --gold:#ffd700;                  /* Or vif pour icon/ratings */
  --bg:#fffdf6;                    /* Ivoire doux */

  --glass:rgba(255,255,255,.55);
  --glass-solid:rgba(255,255,255,.92);
  --ring:rgba(161,119,61,.28);

  --radius:14px;
  --shadow:0 10px 30px rgba(0,0,0,.08);
  --header-h:72px;
  --safe-top: env(safe-area-inset-top, 0px);

  --success:#19c37d;
  --danger:#ff6b6b;
}

*{box-sizing:border-box}
html,body{height:100%}

/* Sticky footer */
body{
  margin:0; min-height:100vh; display:flex; flex-direction:column;
  font-family:"Chakra Petch",system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,"Helvetica Neue","Noto Sans",Arial;
  color:var(--text);
  background:
    radial-gradient(1200px 700px at 8% -12%, rgba(161,119,61,.12), transparent 55%) no-repeat,
    var(--bg);
}

a{color:inherit;text-decoration:none}
.container{ width:min(1200px,92vw); margin-inline:auto; position:relative; }

/* ===== VIDEO ===== */
.video-bg{ position:fixed; inset:0; z-index:-2; overflow:hidden; background:#000; }
.video-bg video{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  /* Filtre plus clair pour le thème ivoire */
  filter:contrast(1.02) brightness(.92) saturate(1.02);
}
/* Overlay éclairci et chaud (or) */
.video-overlay{
  position:fixed; inset:0; z-index:-1; pointer-events:none;
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(161,119,61,.16), transparent 50%),
    linear-gradient(180deg, rgba(255,255,255,.100), rgba(255,253,246,.70) 60%, rgba(255,253,246,.85));
}
@media (prefers-reduced-motion: reduce){
  .video-bg video{ display:none; }
  .video-bg{ background:#f3efe7 url('assets/images/hero-poster.jpg') center/cover no-repeat; }
}

/* ===== HEADER ===== */
.header{
  position:fixed; top:0; left:0; right:0; z-index:50;
  transition:background .25s ease, backdrop-filter .25s ease, box-shadow .25s ease;
  background:transparent; backdrop-filter:none;
}
.header.scrolled{
  background:var(--glass-solid);
  backdrop-filter:saturate(140%) blur(8px);
  box-shadow:0 6px 20px rgba(0,0,0,.08);
  border-bottom:1px solid rgba(92,64,40,.16);
}
.header .container{ display:flex; align-items:center; justify-content:space-between; height:var(--header-h); gap:16px; }
.logo img{ height:36px; display:block; border-radius:12px; } /* coins arrondis doux */

.navbar{ display:flex; align-items:center; }
.navbar-list{ display:flex; gap:24px; list-style:none; margin:0; padding:0; }
.navbar-link{ padding:10px 6px; font-weight:600; color:var(--mt-brown-2); opacity:.9; }
.navbar-link:hover{ opacity:1; color:var(--accent); }
.header-actions{ display:flex; align-items:center; gap:18px; }
.header-contact{ display:flex; flex-direction:column; line-height:1.1; }
.contact-link{ font-weight:700; }
.contact-time{ font-size:12px; color:var(--muted); }

/* Boutons */
.btn{
  display:inline-flex; align-items:center; gap:8px;
  padding:10px 14px; border:0; border-radius:999px; cursor:pointer;
  background:linear-gradient(135deg, var(--mt-gold-1), var(--mt-gold-3));
  color:#ffffff; font-weight:800; letter-spacing:.2px; box-shadow:0 8px 24px rgba(161,119,61,.25);
  justify-content:center; text-align:center; transition:transform .06s ease;
}
.btn:active{ transform: translateY(1px); }
.btn ion-icon{ font-size:18px; }

.btn-ghost{
  display:inline-flex; align-items:center; gap:8px;
  padding:10px 14px; border-radius:999px;
  border:1px solid rgba(161,119,61,.35);
  background:transparent; color:var(--mt-brown-3);
}
.btn-ghost:hover{ border-color:var(--accent); box-shadow:0 0 0 4px var(--ring) inset; }

.nav-toggle-btn{ display:none; width:40px; height:40px; border:0; background:transparent; cursor:pointer; position:relative; }
.nav-toggle-btn span{ position:absolute; left:8px; right:8px; height:2px; background:var(--mt-brown-3); transition:transform .2s, opacity .2s; }
.nav-toggle-btn .one{ top:12px; } .nav-toggle-btn .two{ top:19px; } .nav-toggle-btn .three{ top:26px; }

.overlay{ position:fixed; inset:0; background:rgba(0,0,0,.35); opacity:1; visibility:hidden; transition:.2s; z-index:40; }
.overlay.active{ opacity:1; visibility:visible; }

@media (max-width: 992px){
  .navbar{
    position:fixed; top:0; right:-100%; height:100%; width:min(320px, 86vw);
    background:var(--glass-solid); backdrop-filter:saturate(140%) blur(8px);
    box-shadow:-10px 0 30px rgba(0,0,0,.20); transition:right .25s ease;
    z-index:45; padding:calc(var(--header-h) + var(--safe-top)) 24px 24px;
    border-left:1px solid rgba(92,64,40,.16);
  }
  .navbar.active{ right:0; }
  .navbar-list{ flex-direction:column; gap:16px; }
  .header-actions{ gap:12px; }
  .header-contact{ display:none; }
  .nav-toggle-btn{ display:inline-block; }
}

/* ===== MAIN / HERO ===== */
main{ flex:1; display:block; }
.section.hero{
  min-height:calc(100vh);
  display:flex; align-items:center;
  padding-top:calc(var(--header-h) + 20px);
  padding-bottom:40px; position:relative;
}
.hero-content{ max-width:640px; }
h1.hero-title{
  margin:0 0 12px; font-size:clamp(30px, 5vw, 56px);
  text-shadow:0 6px 30px rgba(0,0,0,.10);
  color:var(--mt-gold-1);
}
.hero-text{ margin:0 0 22px; color:var(--muted); font-size:clamp(15px,2.2vw,18px); }
.tag{
  display:inline-flex; align-items:center; gap:8px; padding:6px 10px; border-radius:999px;
  background:rgba(161,119,61,.08); border:1px solid rgba(92,64,40,.16); color:var(--mt-brown-2); font-size:12px; margin-bottom:14px;
}
.dot{ width:8px;height:8px;border-radius:50%;background:var(--accent); box-shadow:0 0 10px var(--accent); }

.hero-form{
  margin-top:18px;
  display:grid; grid-template-columns:1fr 1fr; gap:14px;
  max-width:640px; background:#fffdfc;
  border:1px solid rgba(92,64,40,.16);
  padding:16px; border-radius:var(--radius); box-shadow:var(--shadow);
}
@media (max-width:640px){ .hero-form{ grid-template-columns:1fr; } }
.input-wrapper{ display:flex; flex-direction:column; gap:6px; }
.input-label{ font-size:13px; color:var(--muted); }
.input-field{
  width:100%; padding:12px 14px; border-radius:10px; outline:none;
  background:#fff; color:var(--text);
  border:1px solid rgba(92,64,40,.18);
  transition:border-color .2s, box-shadow .2s, background .2s;
}
.input-field::placeholder{ color:#9a8f80; }
.input-field:focus{ border-color:var(--accent); box-shadow:0 0 0 4px var(--ring); background:#fffdfc; }

/* Bouton "Rechercher" au centre colonne droite */
.hero-form .btn{
  grid-column: 2 / 3; justify-self: center; align-self: center; min-width: 220px;
}
@media (max-width:640px){ .hero-form .btn{ grid-column: 1 / -1; justify-self: center; } }

.cta{ display:flex; align-items:center; gap:14px; margin-top:14px; color:var(--muted); font-size:14px; }

/* ===== AUTOCOMPLÉTION ===== */
.has-autocomplete{ position:relative; }
.ac-list{
  position:absolute; top:100%; left:0; right:0; margin-top:6px; z-index:30;
  background:#fffdfc; border:1px solid rgba(92,64,40,.16);
  border-radius:10px; box-shadow:var(--shadow);
  max-height:260px; overflow:auto; display:none;
}
.ac-item{ padding:10px 12px; cursor:pointer; color:var(--mt-brown-3); }
.ac-item:hover, .ac-item.active{ background:rgba(161,119,61,.08); }
.ac-highlight{ color:#000; font-weight:700; }

/* ===== FOOTER ===== */
.site-footer{ background:transparent; border-top:0; padding:16px 0; text-align:center; color:var(--muted); }
.site-footer small{ opacity:.9; }

.navbar .navbar-link[aria-current="page"]{
  color: var(--accent);
  opacity: 1;
}