/* Import Montserrat */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

:root {
  --atlox-primary: #0e4194;
  --atlox-secondary: #f59c00;

  /* Premium silencieux */
  --bg: radial-gradient(1200px 700px at 50% 18%, rgba(14,65,148,0.18) 0%, rgba(11,14,22,0) 60%),
        linear-gradient(180deg, #07080c 0%, #06070a 55%, #050507 100%);

  --card-bg: rgba(255,255,255,0.045);
  --card-border: rgba(255,255,255,0.12);

  --text: #f5f6f8;
  --text-muted: rgba(245,246,248,0.72);
  --stroke: rgba(255,255,255,0.18);
}

/* Page wrapper */
.atlox-de-wrap{
  max-width: 900px;
  margin: 60px auto;
  padding: 0 16px;
}

/* Fond chromé discret (sur la zone du shortcode) */
body .atlox-de-wrap{
  background: var(--bg);
  background-attachment: fixed;
  padding: 92px 18px;
  border-radius: 26px;
  position: relative;
  overflow: hidden;
}

/* Halo ultra subtil (luxe minimal) */
body .atlox-de-wrap::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(520px 260px at 50% 20%, rgba(245,156,0,0.08) 0%, rgba(245,156,0,0) 65%),
    radial-gradient(720px 420px at 50% 30%, rgba(14,65,148,0.16) 0%, rgba(14,65,148,0) 70%);
  opacity:.9;
}

/* App fade */
.atlox-de_app,
.atlox-de-app{
  opacity: 1;
  transition: opacity 260ms ease;
}
.atlox-de-app.atlox-de-fade-out{ opacity: 0; }
.atlox-de-app.atlox-de-fade-in{ opacity: 1; }

/* Card */
.atlox-de-card{
  position: relative;
  z-index: 1;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 50px;
  max-width: 720px;
  margin: 0 auto;
  box-shadow: 0 22px 70px rgba(0,0,0,0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text);
  font-family: 'Montserrat', sans-serif;
  text-align: center;
  overflow: hidden;
}

/* Progress */
.atlox-de-progress{ margin-bottom: 32px; }
.atlox-de-progress-top{
  display:flex;
  justify-content: space-between;
  align-items:center;
  margin-bottom: 12px;
}
.atlox-de-progress-label{
  font-size: 13px;
  color: var(--text-muted);
}
.atlox-de-progress-bar{
  height: 6px;
  background: rgba(255,255,255,0.14);
  border-radius: 999px;
  overflow:hidden;
}
.atlox-de-progress-fill{
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--atlox-primary), #3e67a9);
  border-radius: 999px;
}

/* Text hierarchy */
.atlox-de-title{
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  color: var(--text);
}
.atlox-de-sub{
  font-size: 16px;
  font-weight: 400;
  margin: 0 0 28px;
  color: var(--text-muted);
}
.atlox-de-qtitle{
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 24px;
  color: var(--text);
}

/* Choices */
.atlox-de-choices{
  display:grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 0 auto 16px;
  max-width: 560px;
}

.atlox-de-choice{
  width: 100%;
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,0.04);
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--text) !important; /* force (Elementor peut écraser) */
  text-align: center;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 120ms ease, background 160ms ease;
  -webkit-tap-highlight-color: transparent;
}

/* IMPORTANT: jamais de texte caché */
.atlox-de-choice,
.atlox-de-choice *{
  opacity: 1 !important;
  visibility: visible !important;
}

.atlox-de-choice:hover{
  border-color: rgba(14,65,148,0.55);
  background: rgba(14,65,148,0.18);
  box-shadow: 0 14px 40px rgba(0,0,0,0.38);
  transform: translateY(-1px);
  color: #fff !important;
}

.atlox-de-choice:active{ transform: translateY(0); }

.atlox-de-choice:focus,
.atlox-de-choice:focus-visible{
  outline: none;
  border-color: rgba(14,65,148,0.75);
  background: rgba(14,65,148,0.24);
  box-shadow: 0 0 0 4px rgba(14,65,148,0.28), 0 18px 46px rgba(0,0,0,0.48);
  color: #fff !important;
}

/* Selected state (si jamais tu ajoutes une classe plus tard) */
.atlox-de-choice[aria-pressed="true"],
.atlox-de-choice[aria-selected="true"],
.atlox-de-choice.is-selected,
.atlox-de-choice.selected,
.atlox-de-choice.active{
  border-color: rgba(14,65,148,0.85);
  background: rgba(14,65,148,0.32);
  box-shadow: 0 20px 55px rgba(0,0,0,0.55);
  color: #fff !important;
}

/* Buttons */
.atlox-de-actions{
  display:flex;
  justify-content:center;
  gap: 14px;
}

.atlox-de-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:0;
  text-decoration:none;
  cursor:pointer;
  border-radius: 16px;
  padding: 18px 26px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--text) !important;
  transition: transform 120ms ease, box-shadow 160ms ease, filter 160ms ease, background 160ms ease;
  -webkit-tap-highlight-color: transparent;
}

.atlox-de-btn:active{ transform: translateY(1px); }

.atlox-de-btn-primary{
  background: var(--atlox-primary);
  color: #fff !important;
}

.atlox-de-btn-primary:hover{
  filter: brightness(1.02);
  box-shadow: 0 18px 50px rgba(0,0,0,0.5);
}

.atlox-de-btn-black{
  background: rgba(0,0,0,0.45);
  color: #fff !important;
  width: 100%;
  max-width: 420px;
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.atlox-de-btn-black:hover{
  background: rgba(0,0,0,0.58);
  box-shadow: 0 22px 60px rgba(0,0,0,0.62);
}

/* Nav */
.atlox-de-nav{
  margin-top: 20px;
  display:flex;
  justify-content: space-between;
  align-items:center;
  max-width: 560px;
  margin-left:auto;
  margin-right:auto;
}

.atlox-de-link{
  background: transparent;
  border:0;
  padding: 10px 0;
  cursor:pointer;
  font-size: 14px;
  color: var(--text-muted) !important;
  transition: color 160ms ease;
}

.atlox-de-link:hover{ color: var(--text) !important; }

/* Results */
.atlox-de-badge{
  display:inline-block;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.atlox-de-result-title{
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}

.atlox-de-risk{
  display:inline-block;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 18px;
}
.atlox-de-risk-high{ color: #f24e4e; }
.atlox-de-risk-mid{ color: var(--atlox-secondary); }
.atlox-de-risk-low{ color: #e5e510; }

.atlox-de-impact{
  font-size: 18px;
  margin: 16px auto 12px;
  max-width: 700px;
  color: var(--text);
}

.atlox-de-analysis{
  font-size: 15px;
  color: var(--text-muted);
  margin: 0 auto 18px;
  max-width: 720px;
  line-height: 1.55;
}

.atlox-de-factor{
  margin: 18px auto 0;
  max-width: 720px;
  font-size: 14px;
  color: var(--text-muted);
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.10);
  text-align:left;
}

.atlox-de-tension{
  margin: 24px auto 0;
  max-width: 720px;
  font-size: 15px;
  color: var(--text);
}

/* CTA */
.atlox-de-cta{
  margin: 32px auto 0;
  max-width: 560px;
  padding: 20px;
  border-radius: 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.atlox-de-cta-title{
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
}

.atlox-de-cta-sub{
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* Mobile */
@media (max-width: 600px){
  body .atlox-de-wrap{
    padding: 64px 14px;
    border-radius: 18px;
  }
  .atlox-de-card{
    padding: 30px 20px;
    border-radius: 18px;
  }
  .atlox-de-title{ font-size: 28px; }
  .atlox-de-qtitle{ font-size: 22px; }
  .atlox-de-result-title{ font-size: 26px; }
  .atlox-de-choice{ padding: 16px; }
  .atlox-de-btn{ border-radius: 12px; padding: 14px 20px; }
}
