/* =========================================================
   BRUMART ACCOUNT – FINTECH CLEAN (FULLSCREEN + CONTRASTE)
   ========================================================= */

/* ---------- Variables ---------- */
:root {
  --brm-black: #0a0a0a;
  --brm-black-2: #101214;
  --brm-text: #e7e7e7;
  --brm-muted: #aeb4bb;
  --brm-border: #1e1f22;

  --brm-gold-1: #caa86b;
  --brm-gold-2: #e6d2a5;
  --brm-gold-3: #b58b44;

  --brm-silver-1: #cfd3d8;
  --brm-silver-2: #e6ebf0;
  --brm-silver-3: #b7bdc4;

  --brm-onyx-1: #2a2c30;
  --brm-onyx-2: #17181b;
  --brm-onyx-3: #0f1013;
}

html, body { height:100%; }
html, body { overflow-x:hidden; width:100%; max-width:100%; }
* { box-sizing:border-box; }

/* ---------- Masquage chrome du thème uniquement ici ---------- */
body.brm-fullscreen {
  position:relative;
  background:#000; /* évite tout flash de fond */
}
body.brm-fullscreen header,
body.brm-fullscreen .site-header,
body.brm-fullscreen .elementor-location-header,
body.brm-fullscreen footer,
body.brm-fullscreen .site-footer,
body.brm-fullscreen .elementor-location-footer,
body.brm-fullscreen [class*="mobile-menu"],
body.brm-fullscreen [class*="mobile_nav"],
body.brm-fullscreen [class*="bottom-bar"],
body.brm-fullscreen [class*="sticky-footer"],
body.brm-fullscreen [class*="floating-menu"],
body.brm-fullscreen #mobmenuleft,
body.brm-fullscreen #mobmenuright,
body.brm-fullscreen .mobmenu,
body.brm-fullscreen [class*="mobmenu-"],
body.brm-fullscreen .mobmenu-overlay { display:none !important; }

/* Neutralise tous les wrappers du thème qui “resserrent” la page */
body.brm-fullscreen .site,
body.brm-fullscreen #page,
body.brm-fullscreen .site-content,
body.brm-fullscreen .content-area,
body.brm-fullscreen main,
body.brm-fullscreen [class*="wrap"],
body.brm-fullscreen [class*="container"],
body.brm-fullscreen .elementor-section,
body.brm-fullscreen .elementor-container,
body.brm-fullscreen .elementor-column,
body.brm-fullscreen .elementor-widget-wrap {
  width:100vw !important;
  max-width:100vw !important;
  margin:0 !important;
  padding-left:0 !important;
  padding-right:0 !important;
  overflow:visible !important;
}

/* ---------- Base typographique ---------- */
.brm-acc {
  color: var(--brm-text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif;
  min-height: 100svh;
  padding-bottom: env(safe-area-inset-bottom);
  line-height: 1.45;
}

/* =========================================================
   ÉTAT 1 — PORTE SCELLÉE (HÉRO VIDÉO / IMAGE)
   ========================================================= */
.brm-acc--sealed{
  position:relative;
  width:100vw; min-height:100svh;
  overflow:hidden;
  background: radial-gradient(1200px 600px at 50% -10%, #1b1c1f, var(--brm-black));
}

.brm-bg__video,
.brm-bg__image,
.brm-bg__metal {
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  z-index:0;
}
.brm-bg__image { background-size:cover; background-position:center; filter:contrast(1.04) brightness(.78); }
.brm-bg__metal { background: repeating-linear-gradient(90deg, #0d0f12, #0d0f12 2px, #0b0c0f 2px, #0b0c0f 5px); filter:brightness(.9); }

/* Voile de lisibilité global (pas de plaque rectangulaire) */
.brm-acc--sealed::after{
  content:""; position:absolute; inset:0; z-index:1; pointer-events:none;
  background:
    radial-gradient(1200px 520px at 50% 40%, rgba(0,0,0,.55), rgba(0,0,0,.28) 45%, rgba(0,0,0,.62) 100%),
    linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.55) 70%, rgba(0,0,0,.78) 100%);
}

/* Héro */
.brm-hero{
  position:relative; z-index:2;
  min-height:min(86svh, 860px);
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:16px;
  padding:10vh 24px 8vh;
  text-align:center;
}
.brm-hero::before{ content:none !important; } /* supprime l’ancien carré floutté */

.brm-logo{
  margin:0 auto 8px; width:96px; height:96px; border-radius:999px;
  display:grid; place-items:center;
  background: linear-gradient(145deg, var(--brm-gold-2), var(--brm-gold-1), var(--brm-gold-3));
  box-shadow: inset 0 1px 8px rgba(0,0,0,.5), 0 8px 24px rgba(0,0,0,.35);
}
.brm-monogram{ font-weight:700; font-size:44px; color:#1b1405; letter-spacing:.5px; text-shadow:0 1px 0 rgba(255,255,255,.4); }

.brm-h1{
  margin:6px 0 6px;
  font-size:clamp(28px, 5.2vw, 46px);
  color:#fff;
  text-shadow:0 2px 14px rgba(0,0,0,.65), 0 0 28px rgba(230,210,165,.25);
}
.brm-sub{
  max-width:760px; margin:0 auto 10px;
  color:#f1f4f7; opacity:1;
  text-shadow:0 1px 4px rgba(0,0,0,.55);
}

/* CTA fintech (or primaire + ghost or) */
.brm-cta-row{ display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

.brm-btn{
  appearance:none;
  display:inline-flex; align-items:center; justify-content:center;
  padding:14px 20px;
  border-radius:14px;
  font-weight:700; letter-spacing:.2px;
  background:#17181b; color:#fff;
  border:1px solid rgba(255,255,255,.10);
  text-decoration:none;
  box-shadow:0 6px 18px rgba(0,0,0,.35);
  transition:transform .06s ease, box-shadow .2s ease, filter .2s ease, background .2s ease;
}
.brm-btn:hover{ transform:translateY(-1px); filter:brightness(1.05); box-shadow:0 10px 26px rgba(0,0,0,.45); }
.brm-btn:focus-visible{ outline:2px solid var(--brm-gold-2); outline-offset:2px; }

/* Primaire “or bijou” */
.brm-btn--gold{
  background:linear-gradient(140deg,#f0e0b6,var(--brm-gold-1) 52%,var(--brm-gold-3));
  color:#0b0905;
  border:1px solid rgba(0,0,0,.18);
  text-shadow:0 1px 0 rgba(255,255,255,.35);
  box-shadow:0 10px 28px rgba(202,168,107,.35), inset 0 0 0 1px rgba(255,255,255,.08);
}
.brm-btn--gold:hover{
  filter:brightness(1.06) contrast(1.02);
  box-shadow:0 14px 34px rgba(202,168,107,.42), inset 0 0 0 1px rgba(255,255,255,.10);
}

/* Secondaire “ghost or” — remplace complètement le bouton vert */
.brm-link{
  appearance:none !important;
  display:inline-flex; align-items:center; justify-content:center;
  padding:14px 20px !important; border-radius:14px !important;
  font-weight:700 !important; letter-spacing:.2px;
  text-decoration:none !important;
  background:transparent !important; color:#ffffff !important;
  border:1.5px solid var(--brm-gold-1) !important;
  box-shadow:0 6px 18px rgba(0,0,0,.25);
  cursor:pointer;
}
.brm-link:hover{ background:rgba(202,168,107,.12) !important; }
.brm-link-inline{ color:var(--brm-text); text-decoration:underline; }

/* =========================================================
   MODALE
   ========================================================= */
.brm-modal{ position:fixed; inset:0; display:none; z-index:50; }
.brm-modal.is-open{ display:block; }
.brm-modal__overlay{ position:absolute; inset:0; background:rgba(0,0,0,.6); }
.brm-modal__dialog{
  position:relative; margin:10vh auto 0; width:min(92vw, 440px);
  background:#111316; border:1px solid var(--brm-border); border-radius:16px;
  padding:18px 18px 22px; box-shadow:0 10px 40px rgba(0,0,0,.4);
  animation: brmPop .18s ease-out;
}
.brm-modal__close{ position:absolute; top:8px; right:10px; background:none; border:none; color:#fff; font-size:24px; cursor:pointer; }
.brm-modal__title{ margin:6px 0 12px; }

/* =========================================================
   DASHBOARD
   ========================================================= */
.brm-acc--dash{ background:linear-gradient(180deg,#0a0a0a,#0e0f12); min-height:100svh; padding:28px 20px 60px; }
.brm-dash__header{ max-width:1200px; margin:0 auto 14px; }
.brm-dash__header h1{ font-size:clamp(22px,3.4vw,32px); }

.brm-dash{ max-width:1200px; margin:0 auto; display:grid; grid-template-columns:260px 1fr; gap:22px; }

/* Sidebar */
.brm-sidebar{ position:sticky; top:16px; align-self:start; border:1px solid var(--brm-border); border-radius:16px; background:#0f1114; padding:10px; }
.brm-side__item{ display:block; padding:12px 12px; border-radius:12px; color:var(--brm-text); text-decoration:none; }
.brm-side__item:hover{ background:#13161a; }
.brm-side__item.is-active{
  background:linear-gradient(135deg,#15181c,#121418);
  box-shadow:inset 0 0 0 1px #202228;
  border-left:3px solid transparent;
  border-image: linear-gradient(180deg, var(--brm-gold-2), var(--brm-gold-1)) 1;
}

/* Content & cards */
.brm-content{ min-height:60vh; }
.brm-card{ border:1px solid var(--brm-border); background:#0f1114; border-radius:16px; padding:18px; margin-bottom:18px; }
.brm-muted{ color:var(--brm-muted); }

/* Carte métal statut */
.brm-status__head h2{ margin:0 0 2px; }
.brm-metalcard{
  position:relative; margin:14px 0 16px; height:180px; border-radius:16px; padding:18px;
  background:linear-gradient(140deg,#2a2c30,#1c1e22 40%,#111317),
             repeating-linear-gradient(90deg,rgba(255,255,255,0.05) 0, rgba(255,255,255,0.05) 1px, transparent 1px, transparent 4px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 20px 40px rgba(0,0,0,.35);
  overflow:hidden;
}
.brm-metalcard__chip{
  position:absolute; top:18px; left:18px; width:40px; height:28px; border-radius:6px;
  background:linear-gradient(135deg,var(--brm-gold-2),var(--brm-gold-1),var(--brm-gold-3));
  box-shadow:inset 0 1px 0 rgba(0,0,0,.2), 0 6px 18px rgba(202,168,107,.2);
}
.brm-metalcard__brand{ position:absolute; bottom:18px; left:18px; color:#eaeaea; font-weight:600; }
.brm-metalcard__tier{ position:absolute; top:18px; right:18px; font-weight:700; letter-spacing:1px; color:#c9ccd1; }

/* Progression */
.brm-progress{ background:#121419; border-radius:999px; height:10px; overflow:hidden; border:1px solid #202228; }
.brm-progress__bar{ height:100%; background:linear-gradient(90deg,var(--brm-gold-2),var(--brm-gold-1),var(--brm-gold-3)); width:0%; transition:width .6s ease; }
.brm-progress__label{ margin:8px 2px 0; color:var(--brm-muted); }

/* Variantes */
.brm-tier--silver .brm-metalcard__chip{ background:linear-gradient(135deg,var(--brm-silver-2),var(--brm-silver-1),var(--brm-silver-3)); box-shadow: inset 0 1px 0 rgba(0,0,0,.15), 0 6px 18px rgba(207,211,216,.18); }
.brm-tier--silver .brm-progress__bar{ background:linear-gradient(90deg,var(--brm-silver-2),var(--brm-silver-1),var(--brm-silver-3)); }
.brm-tier--black  .brm-metalcard{ background:linear-gradient(140deg,var(--brm-onyx-1),var(--brm-onyx-2) 40%,var(--brm-onyx-3)); }
.brm-tier--black  .brm-metalcard__chip{ background:linear-gradient(135deg,#6c6f75,#3a3c41,#1a1b1f); }
.brm-tier--black  .brm-progress__bar{ background:linear-gradient(90deg,#6c6f75,#3a3c41,#1a1b1f); }

/* Table commandes */
.brm-table-wrap{ overflow:auto; }
.brm-table{ width:100%; border-collapse:collapse; }
.brm-table th, .brm-table td{ padding:12px 10px; border-bottom:1px solid var(--brm-border); text-align:left; }
.brm-table tr{ cursor:pointer; }
.brm-table tr:hover{ background:#12151a; }

/* Grids */
.brm-grid{ display:grid; gap:18px; }
.brm-grid--2{ grid-template-columns:1fr; }
@media (min-width:900px){ .brm-grid--2{ grid-template-columns:1fr 1fr; } }

.brm-card--perk .brm-perk__head{ display:flex; align-items:center; justify-content:space-between; gap:12px; }
.brm-badge{ display:inline-block; padding:6px 10px; border-radius:999px; font-size:12px; font-weight:700; letter-spacing:.3px; border:1px solid var(--brm-border); color:#dfe4ea; }
.brm-card--perk.is-active .brm-badge{ border:none; color:#1b1405; background:linear-gradient(135deg,var(--brm-gold-2),var(--brm-gold-1),var(--brm-gold-3)); }

.brm-note{ color:var(--brm-muted); font-size:14px; margin-top:8px; }

/* =========================================================
   Animations “reveal”
   ========================================================= */
.reveal, .brm-card{ opacity:0; transform:translateY(16px); transition:opacity .5s ease, transform .5s ease; }
.reveal.is-visible, .brm-card.is-visible{ opacity:1; transform:none; }

@keyframes brmPop{ from{ transform:translateY(8px) scale(.98); opacity:.8; } to{ transform:none; opacity:1; } }

/* === FIX #1 — remettre header & footer visibles sur /mon-compte/ === */
body.brm-fullscreen header,
body.brm-fullscreen .site-header,
body.brm-fullscreen .elementor-location-header,
body.brm-fullscreen footer,
body.brm-fullscreen .site-footer,
body.brm-fullscreen .elementor-location-footer{
  display: revert !important;   /* annule le display:none !important précédent */
  visibility: revert !important;
  opacity: revert !important;
}

/* (optionnel) si tu veux aussi revoir la bottom bar mobile, dé-commente :
body.brm-fullscreen #mobmenuleft,
body.brm-fullscreen #mobmenuright,
body.brm-fullscreen .mobmenu,
body.brm-fullscreen [class*="mobmenu-"],
body.brm-fullscreen .mobmenu-overlay{ display: revert !important; }
*/

/* === FIX #2 — Hero vraiment plein écran, sans marge à gauche (full-bleed) === */
.brm-acc--sealed{
  /* traverse les paddings/marges des wrappers de thème */
  width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  overflow: hidden; /* évite tout débordement horizontal */
}

/* sécurité anti-scroll horizontal (garde si un plugin pousse encore la page) */
html, body{ overflow-x: hidden !important; }

