/* RESET */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background: #120e1c;
}

body {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  background: #120e1c;
  color: #f7f7f7;
  line-height: 1.5;
  min-height: 100vh;
  font-size: 17px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: #b48aff;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover,
.cta-main:hover,
.cta-secondary:hover {
  color: #fff;
  filter: brightness(1.15);
}

button,
input,
select {
  font-family: inherit;
  font-size: 1em;
  outline: none;
  border: none;
}

ul, ol {
  padding-left: 1.2em;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.2em;
}

/* HEADER */
header {
  background: rgba(16, 12, 30, 0.98);
  padding: 0.7em 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px 0 #150b2633;
  backdrop-filter: blur(8px);
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 18px;
}

.logo img {
  height: 78px;
  width: auto;
  vertical-align: middle;
  filter: drop-shadow(0 2px 8px #6d49ff44);
  transition: max-height 0.17s, height 0.17s;
  display: block;
}

.header-nav {
  display: flex;
  gap: 1.5em;
  align-items: center;
}

.header-nav a {
  font-weight: 500;
  color: #dfdfff;
  padding: 0.4em 0.7em;
  border-radius: 5px;
  transition: background 0.2s;
}

.header-nav a.cta-header {
  background: linear-gradient(90deg, #7549fd, #48bbff 80%);
  color: #fff;
  font-weight: 700;
  padding: 0.5em 1.2em;
  border-radius: 7px;
  box-shadow: 0 2px 8px #48bbff3c;
}

.lang-select {
  border-radius: 7px;
  border: none;
  padding: 0.22em 0.8em;
  font-size: 1em;
  margin-left: 7px;
  background: #31218d;
  color: #fff;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.15em;
  cursor: pointer;
  margin-left: 18px;
}

/* Mobile overlay and nav */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(29,17,61,0.66);
  z-index: 99;
  transition: opacity 0.2s;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 1.5em;
  position: fixed;
  top: 0;
  right: -320px;
  width: 270px;
  height: 100vh;
  background: #1b1338ee;
  z-index: 100;
  padding: 38px 22px 18px 22px;
  box-shadow: -3px 0 22px #5e49f933;
  transition: right 0.23s;
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav a, .mobile-nav select {
  color: #fff;
  text-decoration: none;
  font-size: 1.21em;
  font-weight: 500;
  padding: 0.38em 0;
}

.close-mobile-nav {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.1em;
  cursor: pointer;
  position: absolute;
  top: 14px;
  right: 16px;
}

/* HERO SECTION */
.hero {
  padding: 3em 0 2em 0;
  min-height: 89vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  flex-direction: column;
  background: linear-gradient(120deg, #2c194b 0%, #160e30 50%, #191a35 100%);
  position: relative;
  overflow: hidden;
}

.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100vw;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  min-height: 420px;
  max-height: 800px;
  pointer-events: none;
  filter: blur(0.5px) brightness(0.72) saturate(1.25);
  transition: filter 0.4s;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(120deg, #6e47f988 0%, #090a0bcc 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 0.2em;
  width: 100%;
}

.hero h1 {
  font-size: 2.6em;
  font-weight: 900;
  line-height: 1.14;
  margin-bottom: 0.5em;
  color: #fff;
}

.highlight-gradient {
  background: linear-gradient(90deg, #e688ff 20%, #48bbff 85%);
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  font-weight: 900;
  letter-spacing: -1px;
}

.animated-text {
  font-size: 0.85em;
  font-style: italic;
  animation: fadein-anim 2.5s infinite alternate;
  background: linear-gradient(90deg, #ff99cc, #a48fff 70%);
  -webkit-background-clip: text;
  color: transparent;
  background-clip: text;
  letter-spacing: 0.02em;
}

@keyframes fadein-anim {
  from { opacity: 0.6; }
  to { opacity: 1; }
}

.subheadline {
  color: #b7b2e6;
  font-size: 1.2em;
  margin-bottom: 1.2em;
}

.cta-main {
  display: inline-block;
  background: linear-gradient(90deg, #7549fd 30%, #48bbff 90%);
  color: #fff;
  font-weight: 800;
  padding: 0.85em 2.2em;
  font-size: 1.1em;
  border-radius: 15px;
  margin: 1em 0 0.8em 0;
  box-shadow: 0 6px 24px #6740ff36;
  transition: box-shadow 0.2s, transform 0.14s;
  position: relative;
  overflow: hidden;
}

.cta-main .arrow {
  font-weight: 900;
  margin-left: 0.7em;
  font-size: 1.15em;
  vertical-align: middle;
}

.cta-main:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 16px 42px #5220fc29;
  filter: brightness(1.09);
}

.hero-points {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.2em;
  list-style: none;
  margin: 2em 0 1.2em 0;
  color: #aad5ff;
  font-size: 1.08em;
}

.hero-demo {
  display: flex;
  gap: 1.5em;
  justify-content: center;
  margin: 2em 0 0.2em 0;
}

.hero-demo audio {
  background: #19142b;
  border-radius: 8px;
  box-shadow: 0 2px 8px #7e4fff28;
  width: 180px;
  height: 38px;
  accent-color: #7549fd;
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 1.1em;
  justify-content: center;
  margin-top: 1.6em;
  margin-bottom: 0.5em;
}

.play-audio-btn-inline {
  background: linear-gradient(120deg,#6E47F9 20%,#48BBFF 80%);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.36em;
  box-shadow: 0 2px 22px #6e47f955, 0 0 0 4px #fff4 inset;
  transition: background 0.17s, transform 0.16s, box-shadow 0.17s;
  cursor: pointer;
  outline: none;
  margin-left: 0.2em;
  padding: 0;
  backdrop-filter: blur(2px) saturate(1.25);
  border: 1.2px solid #fff5;
  position: relative;
}

.play-audio-btn-inline:hover {
  background: linear-gradient(120deg,#48BBFF 10%,#6E47F9 90%);
  transform: scale(1.11);
  box-shadow: 0 2px 30px #fff8, 0 0 0 7px #6e47f933;
}

.play-audio-btn-inline:focus {
  outline: none;
}

#audioBtnIcon {
  font-size: 1.16em;
  line-height: 1;
  transition: filter 0.2s, transform 0.18s;
  filter: drop-shadow(0 0 7px #FFF30088);
}

.audio-tooltip {
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  margin-top: 10px;
  background: rgba(40,32,110,0.98);
  color: #fff;
  padding: 0.43em 1.15em;
  font-size: 0.97em;
  border-radius: 11px;
  box-shadow: 0 2px 18px #6e47f955;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s, transform 0.22s;
  z-index: 50;
}

.play-audio-btn-inline:hover + .audio-tooltip,
.play-audio-btn-inline:focus + .audio-tooltip {
  opacity: 1;
  transform: translateX(-50%) scale(1.03);
}

/* FEATURES */
.features {
  padding: 3em 0 2.4em 0;
  background: linear-gradient(120deg, #160e30 0%, #22133d 100%);
}

.features h2 {
  font-size: 2em;
  font-weight: 900;
  text-align: center;
  margin-bottom: 2.2em;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.2em 1.5em;
  margin: 2em 0 1.5em 0;
}

.feature-card {
  background: linear-gradient(125deg,#26215f 60%,#403599 100%);
  border-radius: 18px;
  box-shadow: 0 2px 16px #6e47f922;
  padding: 1.3em 1em 1.1em 1em;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.22s, box-shadow 0.19s;
  position: relative;
  overflow: hidden;
  animation: fadeup 1s cubic-bezier(.6,.2,.29,.99) both;
}

.feature-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 0.66em;
  filter: drop-shadow(0 0 5px #48bbff66);
}

.feature-img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.66em;
  box-shadow: 0 2px 10px #48bbff44;
}

.feature-card h3 {
  margin: 0.7em 0 0.23em 0;
  font-size: 1.11em;
  color: #f7d6ff;
}

.feature-card p {
  color: #c8c6ea;
  font-size: 1em;
}

.feature-card:hover {
  transform: scale(1.05) translateY(-4px);
  box-shadow: 0 8px 40px #8b58ff2a;
  z-index: 2;
}

/* PROMPTS */
.prompts {
  background: linear-gradient(120deg, #20123a 0%, #110b1f 100%);
  padding: 3.2em 0 2.5em 0;
}

.prompts h2 {
  text-align: center;
  margin-bottom: 1.7em;
  font-size: 2em;
  font-weight: 900;
}

.prompt-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1em;
  margin-bottom: 1.8em;
}

.prompt-item {
  background: #201247;
  color: #dfc8ff;
  border-radius: 14px;
  padding: 1em 1em 0.7em 1em;
  box-shadow: 0 2px 12px #7551df1f;
  font-family: 'Fira Mono', 'Consolas', monospace;
  font-size: 1em;
  transition: transform 0.18s;
  cursor: pointer;
  position: relative;
}

.prompt-item:hover {
  background: #2f187a;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
}

.copy-btn {
  display: block;
  margin: 0.7em auto 0 auto;
  padding: 0.8em 1.6em;
  border-radius: 11px;
  background: linear-gradient(90deg, #7549fd 30%, #48bbff 90%);
  color: #fff;
  font-weight: 700;
  font-size: 1.06em;
  box-shadow: 0 2px 18px #48bbff3d;
  transition: box-shadow 0.18s, transform 0.16s;
}

.copy-btn:hover {
  box-shadow: 0 7px 24px #6e8fff38;
  transform: translateY(-2px) scale(1.04);
}

/* NEWSLETTER */
.newsletter {
  background: linear-gradient(120deg, #2a1345 0%, #4d0ac2 100%);
  padding: 2.8em 0 2.2em 0;
}

.newsletter-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 2.4em;
  align-items: center;
  justify-content: space-between;
}

.newsletter h2 {
  font-size: 1.4em;
  font-weight: 800;
  margin-bottom: 1.2em;
  color: #fff;
}

#newsletter-form {
  display: flex;
  gap: 0.7em;
  margin-bottom: 0.9em;
}

#newsletter-form input[type="email"] {
  padding: 0.72em 1.1em;
  border-radius: 8px;
  border: 1px solid #2e2363;
  background: #190c29;
  color: #fff;
  font-size: 1em;
  width: 220px;
}

#newsletter-form button {
  background: linear-gradient(90deg, #7549fd 30%, #48bbff 90%);
  color: #fff;
  font-weight: 700;
  border-radius: 8px;
  padding: 0.72em 1.2em;
  box-shadow: 0 2px 8px #48bbff38;
  cursor: pointer;
  transition: box-shadow 0.17s, transform 0.15s;
}

#newsletter-form button:hover {
  box-shadow: 0 5px 14px #8d8fff44;
  transform: translateY(-2px) scale(1.03);
}

.newsletter-note {
  color: #cbb5f7;
  font-size: 0.96em;
}

.newsletter-visu img {
  width: 165px;
  min-width: 85px;
  border-radius: 15px;
  box-shadow: 0 2px 16px #6548ee29;
  background: #21133d;
}

/* BLOG */
.blog {
  background: linear-gradient(120deg, #1e1129 0%, #160e30 100%);
  padding: 3.1em 0 2.5em 0;
}

.blog h2 {
  text-align: center;
  font-size: 2em;
  font-weight: 900;
  margin-bottom: 1.8em;
}

.blog-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5em;
  align-items: stretch;
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: #20133d;
  border-radius: 18px;
  box-shadow: 0 4px 22px #8d58ff18;
  overflow: hidden;
  transition: box-shadow 0.18s, transform 0.18s;
  text-decoration: none;
  color: #e4e0ff;
}

.blog-card img {
  width: 100%;
  height: 155px;
  object-fit: cover;
}

.blog-card h3 {
  margin: 1em 0 0.5em 0;
  font-size: 1.08em;
  color: #fadfff;
  font-weight: 700;
  padding: 0 1.1em;
}

.blog-card p {
  font-size: 1em;
  color: #e2e2fa;
  padding: 0 1.1em 1.2em 1.1em;
}

.blog-card:hover {
  box-shadow: 0 10px 28px #a58fff2a;
  background: #2a1853;
  transform: scale(1.03) translateY(-3px);
}

/* AFFILIATION */
.affiliation {
  background: linear-gradient(120deg, #2d0f47 0%, #130c23 100%);
  padding: 3.1em 0 2.4em 0;
  text-align: center;
}

.affiliation h2 {
  font-size: 1.5em;
  font-weight: 900;
  margin-bottom: 1em;
}

.affiliation p {
  color: #e2e2fa;
  margin-bottom: 1.3em;
}

.affiliation .cta-main {
  margin: 0.8em auto 0 auto;
}

/* FAQ */
.faq {
  background: linear-gradient(120deg, #190c2b 0%, #230f3f 100%);
  padding: 2.8em 0 2.2em 0;
}

.faq h2 {
  text-align: center;
  font-size: 2em;
  font-weight: 900;
  margin-bottom: 1.5em;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1.1em;
  background: #1c1440;
  border-radius: 10px;
  box-shadow: 0 2px 14px #7a60ff17;
  overflow: hidden;
}

.faq-item button {
  width: 100%;
  background: none;
  color: #fff;
  font-weight: 700;
  font-size: 1.06em;
  padding: 1em 1.2em;
  text-align: left;
  border: none;
  cursor: pointer;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.16s;
}

.faq-item button:after {
  content: "▼";
  font-size: 0.96em;
  margin-left: 0.7em;
  color: #c2adff;
  transition: transform 0.22s;
}

.faq-item.active button:after {
  transform: rotate(-180deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  background: #251850;
  color: #dedaf7;
  font-size: 0.99em;
  padding: 0 1.2em;
  transition: max-height 0.28s cubic-bezier(.64, .17, .29, .99);
}

.faq-item.active .faq-content {
  padding: 1em 1.2em 1.4em 1.2em;
  max-height: 220px;
}

/* FOOTER */
footer {
  background: #130e22;
  padding: 2.1em 0 1.1em 0;
}

.footer-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2em;
}

.footer-logo {
  height: 38px;
  margin-bottom: 0.9em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
}

.footer-links a {
  color: #b49fff;
  font-size: 1em;
}

.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-social {
  display: flex;
  gap: 1.1em;
  margin-top: 0.9em;
}

.footer-social a {
  color: #8bd3fe;
  font-weight: 700;
  font-size: 1.08em;
}

.footer-social a:hover {
  color: #fff;
}

footer p, .copyright {
  color: #a1a0be;
  font-size: 0.98em;
}

.copyright {
  margin-top: 0.7em;
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1b1242;
  color: #fff;
  font-size: 1em;
  z-index: 2000;
  padding: 1em 0.8em 1.2em 0.8em;
  box-shadow: 0 -1px 18px #5a44ff23;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.3em;
  transition: transform 0.28s;
}

#cookie-accept {
  background: linear-gradient(90deg, #7549fd 30%, #48bbff 90%);
  color: #fff;
  font-weight: 700;
  border-radius: 8px;
  padding: 0.6em 1.4em;
  box-shadow: 0 2px 8px #48bbff38;
  cursor: pointer;
  border: none;
  margin-left: 0.8em;
}

/* ANIMATIONS */
@keyframes fadeup {
  0% { opacity: 0; transform: translateY(22px);}
  100% { opacity: 1; transform: translateY(0);}
}

@keyframes bg-float {
  0% { background-position: 30% 60%, 70% 40%; }
  100% { background-position: 35% 62%, 68% 37%; }
}

/* MOBILE */
@media (max-width: 900px) {
  .header-nav { display: none; }
  .hamburger { display: inline-block; }
  
  .logo img {
    max-height: 58px;
    height: 58px;
  }
}

@media (max-width: 850px) {
  .container { max-width: 96vw; }
  .header-flex, .newsletter-flex, .footer-flex { flex-direction: column; gap: 1.5em;}
  .hero-content { padding: 0 0.2em;}
  .hero h1 { font-size: 1.7em; }
  .features-grid, .blog-cards, .prompt-list { grid-template-columns: 1fr; }
  .newsletter-visu img { width: 120px;}
  .blog-card img { height: 120px;}
  .footer-logo { height: 32px;}
}

@media (max-width: 700px) {
  .hero-bg-video { display: none; }
  .hero-bg-overlay { background: linear-gradient(120deg, #6e47f9 0%, #090a0bcc 100%); }
  
  .features-grid { grid-template-columns: 1fr 1fr; gap: 1em; }
  
  .play-audio-btn {
    top: unset;
    bottom: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
    font-size: 1.1em;
  }
  
  .hero {
    padding-top: 1.8em;
    padding-bottom: 0.6em;
    min-height: 83vh;
    align-items: center;
  }
  
  .cta-row, .hero-cta-bottom {
    flex-direction: column;
    gap: 0.7em;
    width: 100%;
  }
}

@media (max-width: 600px) {
  html, body { font-size: 15px;}
  
  .logo img {
    max-height: 42px;
    height: 42px;
  }
  
  .hero { padding: 2em 0 1.1em 0;}
  .features, .blog, .affiliation, .faq, .newsletter, .prompts { padding-top: 1.4em; padding-bottom: 1.3em;}
  .hero-points { gap: 0.7em; font-size: 0.99em;}
  .hero-demo audio { width: 120px;}
  .newsletter-flex { gap: 0.7em;}
  .newsletter h2 { font-size: 1.1em;}
  .blog-card img { height: 80px;}
  .faq-item button, .faq-content { font-size: 0.99em;}
  
  .mobile-nav { width: 93vw; max-width: 320px; padding: 33px 14px 18px 16px; }
}

@media (max-width: 500px) {
  .features-grid { grid-template-columns: 1fr; }
}

/* SCROLLBAR CUSTOM */
::-webkit-scrollbar {
  width: 9px;
  background: #2a1749;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(120deg, #5632b8 40%, #4b87b6 100%);
  border-radius: 8px;
}

/* SELECT & INPUT MOBILE */
input, select { min-width: 0; }

/* Styles spécifiques pages légales - Espacement & lisibilité */
.legal-content {
  max-width: 780px;
  margin: 2.5em auto 2em auto;
  padding: 2.2em 1.2em 2em 1.2em;
  background: rgba(255,255,255,0.95);
  border-radius: 24px;
  box-shadow: 0 2px 22px #6e47f924;
}

.legal-content h1, .legal-content h2 {
  margin-top: 2.3em;
  margin-bottom: 0.7em;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.legal-content h1 {
  font-size: 2.25em;
  margin-top: 0;
  margin-bottom: 1em;
}
.legal-content h2 {
  font-size: 1.32em;
  color: #6E47F9;
  margin-top: 2.2em;
  margin-bottom: 0.95em;
  border-left: 4px solid #e688ff;
  padding-left: 0.4em;
}

.legal-content p, .legal-content ul, .legal-content li {
  margin-bottom: 1.4em;
  font-size: 1.06em;
  line-height: 1.72;
}
.legal-content ul {
  padding-left: 1.4em;
  margin-bottom: 1.9em;
}
.legal-content li {
  margin-bottom: 0.4em;
}

.legal-content a {
  color: #48bbff;
  text-decoration: underline dotted;
  word-break: break-all;
}

@media (max-width: 600px) {
  .legal-content {
    padding: 1.3em 0.5em;
    border-radius: 12px;
  }
  .legal-content h1 { font-size: 1.38em; }
  .legal-content h2 { font-size: 1.11em; }
}

/* --- Fix lisibilité pages légales (dark glass, lisible) --- */
.legal-content{
  max-width: 820px;
  margin: 2.6em auto 2.2em;
  padding: 2.2em 1.4em 2.1em;
  /* verre sombre au lieu du blanc qui cassait le contraste */
  background: rgba(22, 16, 44, 0.72);
  backdrop-filter: blur(8px) saturate(1.05);
  border: 1px solid #ffffff14;
  border-radius: 22px;
  box-shadow: 0 8px 36px #6e47f91a;
  color: #ecebff;              /* texte clair lisible */
  line-height: 1.72;
}

.legal-content h1{
  margin: 0 0 1.05em 0;
  font-size: 2.15em;
  color: #ffffff;              /* titre bien lisible */
  letter-spacing: -0.02em;
  font-weight: 900;
}

.legal-content h2{
  margin: 2.2em 0 0.95em;
  font-size: 1.28em;
  color: #dcd4ff;
  border-left: 4px solid #e688ff;
  padding-left: .5em;
  font-weight: 800;
}

.legal-content p,
.legal-content ul{
  margin-bottom: 1.4em;
  font-size: 1.06em;
}

.legal-content ul{ padding-left: 1.3em; list-style: disc; }
.legal-content li{ margin-bottom: .45em; }

.legal-content a{
  color: #8bd3fe;
  text-decoration: underline dotted;
}

@media (max-width:600px){
  .legal-content{ padding: 1.4em .9em; border-radius: 14px; }
  .legal-content h1{ font-size: 1.5em; }
  .legal-content h2{ font-size: 1.12em; }
}

/* === Pages légales (Mentions / Confidentialité) – dark glass, lisible === */
.main-legal { background: transparent; }

.legal-content{
  max-width: 820px;
  margin: 2.6em auto 2.2em;
  padding: 2.2em 1.4em 2.1em;
  background: rgba(22, 16, 44, 0.72);        /* verre sombre */
  backdrop-filter: blur(8px) saturate(1.05);
  -webkit-backdrop-filter: blur(8px) saturate(1.05);
  border: 1px solid #ffffff14;
  border-radius: 22px;
  box-shadow: 0 8px 36px #6e47f91a;
  color: #ecebff;                             /* texte clair */
  line-height: 1.72;
}

.legal-content .lead{
  color:#cfcaf5;
  margin: .2em 0 1.2em;
  font-size: 1.06em;
}

.legal-content h1{
  margin: 0 0 1.05em 0;
  font-size: 2.15em;
  color: #fff;
  letter-spacing: -0.02em;
  font-weight: 900;
}

.legal-content h2{
  margin: 2.2em 0 .95em;
  font-size: 1.28em;
  color: #dcd4ff;
  border-left: 4px solid #e688ff;
  padding-left: .55em;
  font-weight: 800;
}

.legal-content p,
.legal-content ul{
  margin-bottom: 1.4em;
  font-size: 1.06em;
}

.legal-content ul{
  list-style: disc;
  padding-left: 1.3em;
}

.legal-content li{ margin-bottom: .45em; }

.legal-content a{
  color: #8bd3fe;
  text-decoration: underline dotted;
  text-underline-offset: 2px;
  word-break: break-word;
}

.legal-content strong{ color:#ffffff; }

/* Met en évidence la page active dans la nav */
.header-nav a.active,
.footer-links a.active{
  color:#fff;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

/* Impression propre (enlève fond, conserve lisibilité) */
@media print{
  body{ background:#fff; color:#111; }
  header, footer, .cookie-banner{ display:none !important; }
  .legal-content{
    background:#fff;
    color:#111;
    border: none;
    box-shadow: none;
    margin: 0;
    max-width: 100%;
    padding: 0;
  }
  .legal-content a{ color:#111; text-decoration: underline; }
}

/* Mobile */
@media (max-width:600px){
  .legal-content{ padding: 1.4em .9em; border-radius: 14px; }
  .legal-content h1{ font-size: 1.5em; }
  .legal-content h2{ font-size: 1.12em; }
}

/* Styles spécifiques aux articles de blog */
.blog-article {
  padding: 2em 0 3em;
  background: linear-gradient(120deg, #1a0e2e 0%, #22133d 100%);
}

.blog-header {
  text-align: center;
  margin-bottom: 2.5em;
}

.blog-badge {
  display: inline-block;
  background: linear-gradient(90deg, #6E47F9, #48BBFF);
  color: #fff;
  padding: 0.3em 1em;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.9em;
  margin-bottom: 1em;
}

.blog-article h1 {
  font-size: 2.2em;
  margin-bottom: 0.5em;
  color: #fff;
  line-height: 1.2;
}

.blog-meta {
  color: #b8b5d6;
  font-size: 0.95em;
}

.blog-hero {
  margin: 0 auto 2.5em;
  max-width: 800px;
}

.blog-hero img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 24px #6e47f933;
}

.blog-hero figcaption {
  text-align: center;
  font-size: 0.9em;
  color: #b8b5d6;
  margin-top: 0.7em;
}

.blog-content {
  max-width: 760px;
  margin: 0 auto;
}

.blog-content h2 {
  font-size: 1.5em;
  color: #e2d4ff;
  margin: 1.8em 0 1em;
  border-left: 4px solid #6E47F9;
  padding-left: 0.7em;
}

.blog-content h3 {
  font-size: 1.2em;
  color: #f0e5ff;
  margin: 1.5em 0 0.8em;
}

.blog-content p, .blog-content li {
  line-height: 1.7;
  margin-bottom: 1.3em;
  color: #e2e2fa;
}

.blog-tip {
  background: rgba(110, 71, 249, 0.15);
  border-left: 4px solid #6E47F9;
  padding: 1em 1.2em;
  border-radius: 0 8px 8px 0;
  margin: 1.5em 0;
  font-size: 0.95em;
}

.blog-tip strong {
  color: #fff;
}

.code-block {
  position: relative;
  margin: 1.5em 0;
}

.code-block code {
  display: block;
  background: #1e1547;
  color: #dfc8ff;
  padding: 1.2em;
  border-radius: 8px;
  font-family: 'Fira Mono', monospace;
  font-size: 0.95em;
  line-height: 1.5;
  overflow-x: auto;
}

.copy-code {
  position: absolute;
  top: 0.5em;
  right: 0.5em;
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 0.3em 0.7em;
  font-size: 0.8em;
  cursor: pointer;
  transition: background 0.2s;
}

.copy-code:hover {
  background: rgba(255,255,255,0.25);
}

.blog-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  background: #1e1547;
}

.blog-table th, .blog-table td {
  padding: 0.8em 1em;
  text-align: left;
  border-bottom: 1px solid #3a2a7a;
}

.blog-table th {
  background: #6E47F9;
  color: #fff;
}

.blog-case {
  background: rgba(72, 187, 255, 0.1);
  border-radius: 8px;
  padding: 1.2em;
  margin: 1.8em 0;
}

.blog-case h3 {
  color: #48bbff;
  margin-top: 0;
}

.prompt-group {
  background: #1e1547;
  border-radius: 8px;
  padding: 1.2em;
  margin: 1.5em 0;
}

.prompt-group h3 {
  margin-top: 0;
  color: #b48aff;
}

.blog-audio {
  width: 100%;
  margin: 1em 0 0.5em;
  border-radius: 8px;
}

.blog-comparison table {
  width: 100%;
  margin: 1.5em 0;
  background: #1e1547;
}

.blog-comparison th, .blog-comparison td {
  padding: 0.8em;
  border-bottom: 1px solid #3a2a7a;
}

.blog-comparison th {
  background: #6E47F9;
  color: #fff;
}

.blog-cta {
  text-align: center;
  margin: 3em 0 1em;
  padding: 1.5em;
  background: linear-gradient(120deg, #6E47F9 0%, #48BBFF 100%);
  border-radius: 12px;
}

.blog-cta p {
  margin-bottom: 1em;
  font-size: 1.1em;
  color: #fff;
}

@media (max-width: 600px) {
  .blog-article h1 {
    font-size: 1.7em;
  }
  
  .blog-content h2 {
    font-size: 1.3em;
  }
  
  .code-block code {
    font-size: 0.85em;
    padding: 1em;
  }
}

/* Centrage complet de la section newsletter */
.newsletter-flex {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1.5em;
}

.newsletter h2,
#newsletter-form,
.newsletter-note {
  text-align: center;
}

#newsletter-form {
  justify-content: center;
}

/* Centrage total de la section */
.newsletter-flex{
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1.5em;
}
#newsletter-form{ 
  display:flex; 
  gap:0.7em; 
  justify-content:center; 
  align-items:center; 
}

/* Icône enveloppe alignée DANS le champ */
#newsletter-form input[type="email"]{
  padding: 0.72em 1.1em 0.72em 2.6em; /* place pour l'icône */
  background: #190c29 url("https://cdn.jsdelivr.net/npm/@tabler/icons@latest/icons/mail.svg") no-repeat 10px 50%;
  background-size: 20px 20px;
  border: 1px solid #2e2363;
  color: #fff;
}

/* Badge sous le formulaire */
.newsletter-badge-row{ margin-top: .9em; }
.newsletter-badge{
  background:#48bbff;
  color:#fff;
  padding:.28em .95em;
  border-radius:16px;
  font-size:.97em;
  box-shadow:0 2px 10px #48bbff33;
}

/* Carte visuelle ElevenMusic à droite */
.newsletter-card{
  width:165px;
  height:165px;
  border-radius:22px;
  background: radial-gradient(100% 100% at 30% 30%, #6E47F9 0%, #48BBFF 60%, #1a1033 100%);
  box-shadow: 0 8px 28px #6e47f944, inset 0 0 0 1px #ffffff1a;
  display:flex;
  align-items:center;
  justify-content:center;
}
.newsletter-card img{
  width:56%;
  height:auto;
  filter: drop-shadow(0 0 10px #00000055);
}

/* Responsive */
@media (max-width: 850px){
  .newsletter-visu .newsletter-card{ width:140px; height:140px; }
}
@media (max-width: 600px){
  .newsletter-visu .newsletter-card{ width:120px; height:120px; }
}

/* Ajoute ceci à la fin de style.css */
html, body { overflow-x: hidden; }

.blog-hero video { width:100%; height:auto; display:block; }
