/* Styles partagés pour les nouvelles pages DataVryx. */
:root {
  --bg: #06111f;
  --bg-soft: #0b1a2d;
  --card: #10243d;
  --card-2: #0d2038;
  --line: #244366;
  --text: #f8fbff;
  --muted: #a9c7ee;
  --cyan: #58f0ea;
  --blue: #78a8ff;
  --yellow: #ffe28a;
  --shadow: 0 24px 70px rgba(0, 0, 0, .28);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 0%, rgba(88, 240, 234, .12), transparent 32rem),
    radial-gradient(circle at 80% 12%, rgba(120, 168, 255, .16), transparent 30rem),
    var(--bg);
  line-height: 1.65;
}

a {
  color: var(--cyan);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.shell {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(6, 17, 31, .86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(120, 168, 255, .16);
}

.topbar-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 900;
  letter-spacing: .04em;
}

.logo {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #03101c;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 12px 32px rgba(88, 240, 234, .22);
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: .95rem;
}

.pill,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}

.pill {
  padding: 10px 16px;
  color: #03101c;
  background: var(--cyan);
}

.button {
  padding: 13px 18px;
  border: 1px solid rgba(120, 168, 255, .30);
}

.button.primary {
  color: #03101c;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
}

.button.secondary {
  color: var(--text);
  background: rgba(255, 255, 255, .04);
}

.hero {
  padding: 82px 0 50px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: 36px;
  align-items: center;
}

.form-hero {
  grid-template-columns: minmax(0, 1fr);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .78rem;
  font-weight: 900;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

h1 {
  max-width: 920px;
  font-size: clamp(2.6rem, 7vw, 5.1rem);
  letter-spacing: -.07em;
}

h2 {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  letter-spacing: -.055em;
}

h3 {
  font-size: 1.35rem;
  letter-spacing: -.025em;
}

.lead {
  max-width: 780px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.6vw, 1.35rem);
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.summary-card,
.card,
.notice,
.article-card,
.toc {
  border: 1px solid rgba(120, 168, 255, .22);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(16, 36, 61, .96), rgba(9, 25, 45, .96));
  box-shadow: var(--shadow);
}

.summary-card {
  padding: 28px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(120, 168, 255, .16);
}

.summary-row:last-child {
  border-bottom: 0;
}

.summary-row strong {
  color: var(--cyan);
}

.section {
  padding: 44px 0;
}

.section-head {
  max-width: 820px;
  margin-bottom: 26px;
}

.section-head p,
.card p,
.notice p,
.article-body p,
.article-body li {
  color: var(--muted);
}

.form-card {
  border: 1px solid rgba(120, 168, 255, .22);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(16, 36, 61, .98), rgba(9, 25, 45, .98));
  box-shadow: var(--shadow);
  padding: 30px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

label,
.checkbox-label {
  color: var(--text);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(120, 168, 255, .28);
  border-radius: 18px;
  background: rgba(3, 16, 28, .72);
  color: var(--text);
  padding: 13px 14px;
  font: inherit;
  outline: none;
}

textarea {
  min-height: 170px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(88, 240, 234, .10);
}

.hint {
  color: var(--muted);
  font-size: .92rem;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
}

.checkbox input {
  width: auto;
  margin-top: 6px;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.alert {
  border: 1px solid rgba(120, 168, 255, .28);
  border-radius: 22px;
  padding: 18px 20px;
  margin-bottom: 22px;
}

.alert.success {
  background: rgba(88, 240, 234, .12);
  border-color: rgba(88, 240, 234, .34);
}

.alert.error {
  background: rgba(255, 119, 119, .12);
  border-color: rgba(255, 119, 119, .34);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.embed-body {
  background:
    radial-gradient(circle at 16% 0%, rgba(88, 240, 234, .18), transparent 24rem),
    radial-gradient(circle at 90% 18%, rgba(120, 168, 255, .18), transparent 26rem),
    linear-gradient(180deg, #0d2c46 0%, #082238 100%);
}

.embed-body .section {
  padding: 0;
}

.embed-body .shell {
  width: 100%;
}

.embed-body .form-card {
  border-radius: 0;
  border: 0;
  background:
    linear-gradient(180deg, rgba(18, 58, 88, .98), rgba(10, 35, 58, .98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
  min-height: 100vh;
}

.embed-body input,
.embed-body select,
.embed-body textarea {
  background: rgba(3, 19, 34, .78);
  border-color: rgba(88, 240, 234, .24);
}

.embed-body .button.secondary {
  background: rgba(3, 19, 34, .38);
  border-color: rgba(88, 240, 234, .28);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  padding: 26px;
}

.tag {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--cyan);
  background: rgba(88, 240, 234, .12);
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .76rem;
}

.price {
  margin: 14px 0;
  color: var(--yellow);
  font-size: 1.55rem;
  font-weight: 950;
}

ul {
  padding-left: 20px;
}

.notice {
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.article-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.article-card {
  padding: 24px;
}

.article-card h3 {
  margin-bottom: 10px;
}

.article-body {
  max-width: 850px;
}

.article-body h2 {
  margin-top: 42px;
  margin-bottom: 14px;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.toc {
  padding: 22px 26px;
  margin: 26px 0;
}

.disclaimer {
  padding: 22px 0 58px;
  color: #91acd0;
  font-size: .95rem;
}

.footer {
  border-top: 1px solid rgba(120, 168, 255, .16);
  padding: 26px 0;
  color: #91acd0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

@media (max-width: 860px) {
  .topbar-inner,
  .notice {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .card-grid,
  .article-list,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .field.full {
    grid-column: auto;
  }

  .hero {
    padding-top: 48px;
  }
}
