/* === VARIABLES === */
:root {
  --bg: #0b1220;
  --bg2: #0a152a;
  --text: #e9effc;
  --muted: #9fb1d6;
  --brand: #49a36d;
  --brand2: #5bb0ff;
  --line: rgba(255, 255, 255, .10);
  --card: rgba(255, 255, 255, .05);
  --shadow: 0 10px 25px rgba(0, 0, 0, .25);
  --r: 16px;
}

/* === RESET === */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg2) 60%, #081228 100%);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  overflow-x: hidden;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

.muted {
  color: var(--muted);
}

.container {
  width: min(1180px, 92vw);
  margin: auto;
}

/* === HEADER === */
header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: saturate(1.1) blur(8px);
  background: rgba(11, 18, 32, 0.8);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-weight: 700;
}

.logo {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: radial-gradient(100% 100% at 0% 0%, var(--brand2), var(--brand));
}

.links {
  display: none;
  gap: 14px;
}

@media (min-width: 900px) {
  .links {
    display: flex;
  }
}

.cta {
  display: none;
}

@media (min-width: 900px) {
  .cta {
    display: flex;
    gap: 10px;
  }
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .9rem 1.2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), #3b8f5e);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .08);
  font-weight: 800;
  text-align: center;
  transition: 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(73, 163, 109, 0.3);
}

.btn.ghost {
  background: transparent;
  border: 1px solid var(--line);
}

.btn.wfull {
  width: 100%;
}

/* === HERO === */
.hero {
  padding: 70px 0 40px;
}

.hero-wrap {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: start;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.1;
  margin-bottom: 16px;
}

.hero p.lead {
  color: var(--muted);
  margin-bottom: 22px;
  font-size: 1.1rem;
}

.cta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-card {
  padding: 24px;
  border-radius: var(--r);
  background: linear-gradient(180deg, var(--card), rgba(255, 255, 255, .03));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-card input {
  background: #0d1730;
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 10px;
  padding: 10px 12px;
  width: 100%;
}

.hero-card label {
  color: var(--muted);
  font-size: .9rem;
}

.hero-card .grid.two {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (max-width: 900px) {
  .hero-wrap {
    grid-template-columns: 1fr;
  }
}

/* === LOGOS COLORÉS === */
.logos {
  width: 100%;
  overflow: hidden;
  padding: 40px 0;
  position: relative;
}

.logos-track {
  display: flex;
  animation: scrollFullWidth 50s linear infinite;
  width: max-content;
}

.logos-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logos-slide img {
  height: 30px;
  width: auto;
  margin: 0 70px;
  opacity: 1;
  transition: transform 0.3s ease;
}

.logos-slide img:hover {
  transform: scale(1.08);
}

@keyframes scrollFullWidth {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.logos::before,
.logos::after {
  content: "";
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to right, var(--bg) 0%, transparent 100%);
}

.logos::after {
  right: 0;
  background: linear-gradient(to left, var(--bg) 0%, transparent 100%);
}

/* === SECTIONS GÉNÉRALES === */
section {
  margin-bottom: 80px;
}

/* === SOLUTIONS === */
section h2 {
  text-align: center;
  font-size: clamp(28px, 4vw, 36px);
  margin-bottom: 1.2rem;
}

.grid.four {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.card.glass {
  background: linear-gradient(180deg, var(--card), rgba(255, 255, 255, .02));
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px;
  transition: transform .3s ease;
}

.card.glass:hover {
  transform: translateY(-5px);
}

/* === PRICING === */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  text-align: center;
}

.pricing-card {
  padding: 24px;
  background: linear-gradient(180deg, var(--card), rgba(255, 255, 255, .03));
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  transition: 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-6px);
}

.pricing-card.highlight {
  border: 2px solid var(--brand);
}

.pricing-card .price {
  font-size: 1.8rem;
  font-weight: 800;
  color: #b6ffd7;
  margin: 10px 0 18px;
}

.recommend-tag {
  background: var(--brand);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 6px;
}

/* === BLOG === */
.blog {
  padding: 60px 0;
}

.blog-title {
  text-align: center;
  font-size: 2.3rem;
  margin-bottom: 0.6rem;
}

.blog .lead {
  text-align: center;
  color: var(--muted);
  margin-bottom: 2rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.blog-card {
  border-radius: var(--r);
  background: linear-gradient(180deg, var(--card), rgba(255, 255, 255, .03));
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform .3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-content {
  padding: 20px;
}

.blog-content h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.blog-content p {
  color: var(--muted);
  margin-bottom: 12px;
}

/* === FOOTER === */
footer {
  padding: 30px 0;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: .9rem;
  color: var(--muted);
}

.footer-link {
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
}

.footer-link:hover {
  text-decoration: underline;
}

/* === SCROLL TO TOP === */
#scrollTopBtn {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 50%;
  padding: 14px 16px;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .3);
  transition: transform 0.3s ease;
  z-index: 99;
}

#scrollTopBtn:hover {
  transform: scale(1.1);
}
/* === PAGE MENTIONS LÉGALES === */
.mentions-legales {
  max-width: 900px;
  margin: 100px auto;
  padding: 50px 30px;
  color: var(--text);
}

.mentions-legales h1 {
  text-align: center;
  font-size: 2.3rem;
  margin-bottom: 20px;
}

.mentions-legales .intro {
  color: var(--muted);
  text-align: justify;
  margin-bottom: 40px;
  font-size: 1.05rem;
}

.legal-block {
  background: linear-gradient(180deg, var(--card), rgba(255,255,255,.03));
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 25px 30px;
  margin-bottom: 25px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.legal-block:hover {
  transform: translateY(-3px);
}

.legal-block h2 {
  color: var(--brand);
  margin-bottom: 12px;
}

.legal-block p,
.legal-block ul {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.legal-block ul {
  list-style-type: "• ";
  padding-left: 20px;
}

.mentions-legales a.btn {
  display: block;
  margin: 50px auto 0;
  width: fit-content;
}

@media (max-width: 768px) {
  .mentions-legales {
    padding: 30px 15px;
  }
}
/* === PAGE MENTIONS LÉGALES === */
.mentions-legales {
  max-width: 900px;
  margin: 100px auto;
  padding: 50px 30px;
  color: var(--text);
}

.mentions-legales h1 {
  text-align: center;
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.mentions-legales .intro {
  color: var(--muted);
  text-align: justify;
  margin-bottom: 40px;
  font-size: 1.05rem;
}

.legal-block {
  background: linear-gradient(180deg, var(--card), rgba(255,255,255,.03));
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 25px 30px;
  margin-bottom: 25px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.legal-block:hover {
  transform: translateY(-3px);
}

.legal-block h2 {
  color: var(--brand);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.legal-block p,
.legal-block ul {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.legal-block ul {
  list-style-type: "• ";
  padding-left: 20px;
}

.mentions-legales a.btn {
  display: block;
  margin: 50px auto 0;
  width: fit-content;
}

@media (max-width: 768px) {
  .mentions-legales {
    padding: 30px 15px;
  }

  .legal-block {
    padding: 20px;
  }
}
/* === COOKIE BANNER === */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: min(95%, 700px);
  background: rgba(11, 18, 32, 0.8);
  backdrop-filter: blur(10px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  padding: 18px 24px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  display: none;
  flex-direction: column;
  gap: 15px;
  z-index: 999;
  animation: fadeIn 0.6s ease;
}

.cookie-banner p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.4;
  text-align: center;
  margin: 0;
}

.cookie-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translate(-50%, 20px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

