/* ==========================================================================
   EnVue v7 : habillage de la v4 en ligne (brun, or, cadres, titres ornés,
   pirate à la longue-vue) + contenu et structure de la v6.
   Toutes les couleurs passent par les variables ci-dessous.
   ========================================================================== */

:root {
  --bg: #120b06;           /* fond principal */
  --bg-2: #170f08;         /* sections alternées */
  --panel: #1c130a;        /* cadres */
  --panel-2: #271a0c;      /* dégradé des cadres */
  --or: #d9ae55;           /* icônes, filets, bouton */
  --or-clair: #f4d074;     /* titres */
  --or-fonce: #b98a2f;
  --texte: #f2e6d2;
  --texte-doux: #c0ac8d;
  --trait: rgba(212, 165, 72, .28);
  --trait-doux: rgba(212, 165, 72, .14);
  --parchemin: #ebddbf;    /* section offre et prix uniquement */
  --parchemin-2: #f5ead3;
  --encre: #2b1d10;
  --encre-douce: #5c4a33;
  --alerte: #e39a6f;

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Outfit", system-ui, sans-serif;
  --rayon: 16px;
  --ombre: 0 24px 70px rgba(0, 0, 0, .42);
  --lecture: 64ch;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--texte); font-family: var(--sans); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--or-clair); }
button, input, select, textarea { font: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.05; margin: 0; text-wrap: balance; font-variant-numeric: lining-nums; }
p { margin: 0 0 1em; }
section[id] { scroll-margin-top: 84px; }
:focus-visible { outline: 3px solid var(--or-clair); outline-offset: 3px; }

.wrap { width: min(1180px, 100%); margin-inline: auto; padding-inline: 20px; }
.section { padding: 84px 0; position: relative; }
.section--alt { background: radial-gradient(80% 80% at 10% 10%, rgba(217, 174, 85, .07), transparent 60%), var(--bg-2); }
.lead { color: var(--texte-doux); font-size: 1.08rem; max-width: var(--lecture); }
.centre { text-align: center; margin-inline: auto; }

/* --- Titre orné (habillage v4) : ◆ texte ◆ entre deux filets dorés --- */
.orne { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 0 auto 18px; font-family: var(--serif); font-weight: 600; font-size: clamp(1.05rem, 2.4vw, 1.45rem); letter-spacing: .14em; text-transform: uppercase; color: var(--or-clair); text-align: center; }
.orne::before, .orne::after { content: ""; flex: 1; max-width: 170px; height: 1px; background: linear-gradient(90deg, transparent, var(--or)); }
.orne::after { background: linear-gradient(90deg, var(--or), transparent); }
.orne i { color: var(--or); font-size: .75em; flex: none; }
.intro { max-width: 760px; margin: 0 auto 46px; text-align: center; }
.intro h2:not(.orne) { font-size: clamp(2rem, 5vw, 3.2rem); color: var(--or-clair); }
.intro p { color: var(--texte-doux); margin: 16px auto 0; max-width: var(--lecture); }

/* --- Séparateur boussole --- */
.boussole { display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--or); opacity: .55; padding-top: 56px; font-size: 1.3rem; }
.boussole::before, .boussole::after { content: ""; height: 1px; width: min(180px, 22vw); background: linear-gradient(90deg, transparent, var(--or), transparent); }

/* --- Cadre doré (habillage v4) --- */
.cadre { background: linear-gradient(155deg, var(--panel), var(--panel-2)); border: 1px solid var(--trait); border-radius: var(--rayon); box-shadow: var(--ombre); }
.cadre h3 { color: var(--or-clair); }

/* --- Boutons --- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 14px 24px; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .2s, background .2s, border-color .2s, color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn--plein { background: linear-gradient(180deg, #f4d074, #cf9a34); color: #2e1e08; box-shadow: 0 8px 24px rgba(191, 138, 42, .28); }
.btn--plein:hover { background: linear-gradient(180deg, #f8dc8a, #c28e2c); }
.btn--contour { border: 1px solid var(--trait); color: var(--texte); background: rgba(15, 9, 4, .58); }
.btn--contour:hover { border-color: var(--or); color: var(--or-clair); }

/* --- Listes à icônes --- */
.liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.liste li { display: flex; gap: 10px; align-items: flex-start; color: var(--texte-doux); }
.liste i { color: var(--or); margin-top: 4px; flex: none; }

/* --- En-tête --- */
.header { position: sticky; top: 0; z-index: 100; background: rgba(25, 15, 7, .94); backdrop-filter: blur(12px); border-bottom: 1px solid var(--trait-doux); }
.header-in { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo img { height: 44px; width: auto; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav a { color: #e8dbc4; font-size: .93rem; font-weight: 600; text-decoration: none; }
.nav a:hover { color: var(--or-clair); }
.nav .btn { padding: 11px 20px; font-size: .92rem; color: #2e1e08; }
.burger { display: none; color: var(--or-clair); background: none; border: 0; font-size: 1.7rem; padding: 10px; cursor: pointer; }

/* --- Pied de page --- */
.footer { border-top: 1px solid var(--trait-doux); background: #0d0804; padding: 34px 0; }
.footer-in { display: flex; align-items: center; justify-content: space-between; gap: 18px 28px; flex-wrap: wrap; }
.footer img { height: 34px; width: auto; }
.footer nav { display: flex; gap: 8px 18px; flex-wrap: wrap; }
.footer a, .footer small, .footer p { font-size: .84rem; color: var(--texte-doux); margin: 0; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--or-clair); }

/* --- Bandeau cookies --- */
.cookie { position: fixed; z-index: 230; left: 16px; right: 16px; bottom: 16px; width: min(620px, calc(100% - 32px)); margin: auto; padding: 19px; display: none; }
.cookie.show { display: block; }
.cookie p { font-size: .87rem; color: var(--texte-doux); margin: 0 0 14px; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* --- Apparition au défilement --- */
/* masqué seulement si le JavaScript tourne (classe js posée dans le <head>) */
.js .rv { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.js .rv.in { opacity: 1; transform: none; }

@media (max-width: 860px) {
  .nav ul, .nav > .btn { display: none; }
  .burger { display: block; }
  .nav.open { position: absolute; left: 0; right: 0; top: 72px; padding: 18px 20px 24px; background: #1a1008; display: flex; flex-direction: column; align-items: stretch; border-bottom: 1px solid var(--trait); }
  .nav.open ul { display: flex; flex-direction: column; gap: 12px; }
  .nav.open > .btn { display: flex; }
  .section { padding: 68px 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .rv { transition: none; } .rv { opacity: 1; transform: none; } }

/* Bandeau cookies compact sur mobile : texte réduit, boutons côte à côte, bas d'écran */
@media (max-width: 600px) {
  .cookie { left: 10px; right: 10px; bottom: 10px; width: auto; padding: 12px 14px; border-radius: 14px; }
  .cookie p { font-size: .76rem; line-height: 1.4; margin: 0 0 10px; }
  .cookie-actions { flex-wrap: nowrap; gap: 8px; }
  .cookie-actions .btn { flex: 1 1 0; padding: 10px 8px; font-size: .8rem; line-height: 1.2; white-space: nowrap; }
}
