:root {
  --bg: #0C0C0E;
  --bg-darker: #08080A;
  --card-bg: #15151A;
  --card-bg-variant: #1C1C22;
  --button-bg: #2F279C;
  --primary: #6972E8;
  --light-accent: #BFC3FF;
  --text-primary: #D9D9ED;
  --text-muted: #AEAE BE;
  --text-secondary: rgb(106, 113, 146);
  --divider: #60606B;
  --dark-surface: #3A3A43;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Red Hat Text', sans-serif;
  background-color: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: var(--primary); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--light-accent); }
img { max-width: 100%; height: auto; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

.btn {
  display: inline-block; padding: 0.75rem 1.5rem; border-radius: 8px;
  font-weight: 500; font-size: 1rem; cursor: pointer; transition: all 0.2s ease;
  text-align: center; border: none; font-family: inherit;
}
.btn-primary { background-color: var(--button-bg); color: white; }
.btn-primary:hover { background-color: var(--primary); color: white; }
.btn-secondary { background-color: transparent; border: 1px solid var(--divider); color: var(--text-primary); }
.btn-secondary:hover { border-color: var(--primary); color: var(--light-accent); }
.btn-full { width: 100%; }
.btn-lg { padding: 1rem 2rem; font-size: 1.1rem; font-weight: 600; border-radius: 10px; }

.section { padding: 5rem 0; }
.section-title { font-size: 2rem; font-weight: 600; margin-bottom: 1rem; text-align: center; }
.section-subtitle { font-size: 1.1rem; color: var(--text-muted); text-align: center; max-width: 600px; margin: 0 auto 3rem; }
.section-cta { text-align: center; margin-top: 3rem; }

.card {
  background-color: var(--card-bg); border-radius: 12px; padding: 2rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.3); }

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }

/* Header */
.header { background-color: var(--bg-darker); border-bottom: 1px solid var(--divider); position: sticky; top: 0; z-index: 100; }
.header-container { display: flex; align-items: center; justify-content: space-between; padding: 1rem 2rem; }
.logo img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav-link { color: var(--text-primary); font-weight: 500; font-size: 0.95rem; padding: 0.5rem 0; position: relative; }
.nav-link:hover { color: var(--light-accent); }
.nav-link::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background-color: var(--primary); transition: width 0.2s ease; }
.nav-link:hover::after { width: 100%; }
.nav-link.active { color: var(--light-accent); }
.nav-link.active::after { width: 100%; }
.support-link { color: var(--text-primary); display: flex; align-items: center; }
.support-link:hover { color: var(--primary); }
.header-actions { display: flex; align-items: center; gap: 1rem; }
.lang-switcher { color: var(--text-muted); font-weight: 500; font-size: 0.9rem; padding: 0.4rem 0.8rem; border: 1px solid var(--divider); border-radius: 6px; transition: all 0.2s ease; }
.lang-switcher:hover { border-color: var(--primary); color: var(--light-accent); }
.mobile-menu-btn { display: none; flex-direction: column; gap: 4px; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.mobile-menu-btn span { display: block; width: 24px; height: 2px; background-color: var(--text-primary); transition: all 0.2s ease; }

/* Footer */
.footer { background-color: var(--bg-darker); border-top: 1px solid var(--divider); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 3rem; margin-bottom: 3rem; }
.footer-brand { max-width: 300px; }
.footer-logo img { height: 36px; width: auto; margin-bottom: 1rem; }
.footer-tagline { color: var(--text-muted); font-size: 0.9rem; line-height: 1.5; }
.footer-links h3, .footer-contact h3, .footer-social h3 { font-size: 1rem; font-weight: 600; margin-bottom: 1rem; color: var(--text-primary); }
.footer-links ul, .footer-contact ul { list-style: none; }
.footer-links li, .footer-contact li { margin-bottom: 0.5rem; }
.footer-links a, .footer-contact a { color: var(--text-muted); font-size: 0.9rem; }
.footer-links a:hover, .footer-contact a:hover { color: var(--light-accent); }
.footer-contact li { color: var(--text-muted); font-size: 0.9rem; }
.social-links { display: flex; gap: 1rem; }
.social-links a { color: var(--text-muted); transition: color 0.2s ease; }
.social-links a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid var(--divider); padding-top: 2rem; text-align: center; }
.footer-bottom p { color: var(--text-secondary); font-size: 0.85rem; }

/* Hero */
.hero { position: relative; padding: 8rem 0 6rem; overflow: hidden; }
.hero-content { max-width: 700px; position: relative; z-index: 2; }
.hero h1 { font-family: 'Red Hat Display', sans-serif; font-size: 3.5rem; font-weight: 600; line-height: 1.1; margin-bottom: 1.5rem; background: linear-gradient(135deg, var(--text-primary) 0%, var(--light-accent) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-subtitle { font-size: 1.25rem; color: var(--text-muted); margin-bottom: 2.5rem; max-width: 500px; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-bg { position: absolute; top: 0; right: 0; width: 50%; height: 100%; background: radial-gradient(ellipse at center right, rgba(105,114,232,0.15) 0%, transparent 70%); z-index: 1; }

/* Homepage Redesigned */
.hero-badge {
  display: inline-block; background: linear-gradient(135deg, var(--button-bg), var(--primary));
  color: white; font-size: 0.85rem; font-weight: 600; padding: 0.4rem 1.2rem;
  border-radius: 20px; margin-bottom: 1.5rem; letter-spacing: 0.5px;
}
.hero-main { padding: 7rem 0 5rem; }
.hero-main .hero-content { margin: 0 auto; text-align: center; }
.hero-main .hero-ctas { justify-content: center; }
.hero-main .hero-subtitle { margin-left: auto; margin-right: auto; }
.hero-main h1 { font-size: 3.2rem; line-height: 1.15; margin-bottom: 1.25rem; }
.hero-main h1 .hero-accent { color: var(--primary); -webkit-text-fill-color: var(--primary); background: none; }
.hero-main .hero-subtitle { max-width: 600px; font-size: 1.15rem; line-height: 1.7; }
.hero-main .hero-subtitle strong { color: var(--light-accent); }
.hero-glow {
  position: absolute; bottom: -50%; left: 50%; transform: translateX(-50%);
  width: 80%; height: 100%;
  background: radial-gradient(ellipse at center, rgba(105,114,232,0.08) 0%, transparent 60%);
  z-index: 0; pointer-events: none;
}

/* Pain Section */
.pain-section { background-color: var(--bg-darker); }
.pain-card { text-align: center; padding: 2rem 1.5rem; border: 1px solid var(--divider); }
.pain-card:hover { border-color: var(--primary); }
.pain-icon { color: #e86969; margin-bottom: 1.25rem; }
.pain-card h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.75rem; }
.pain-card p { color: var(--text-muted); font-size: 0.9rem; }
.pain-cta { text-align: center; margin-top: 3rem; }
.pain-cta-text { color: var(--text-secondary); font-size: 0.9rem; margin-top: 1rem; }

/* Audit Section */
.audit-section { background-color: var(--bg); }
.audit-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem;
  background: linear-gradient(135deg, var(--card-bg) 0%, var(--card-bg-variant) 100%);
  border: 1px solid var(--divider); border-radius: 20px; padding: 3.5rem;
  position: relative; overflow: hidden;
}
.audit-badge {
  display: inline-block; background: rgba(105,114,232,0.2); color: var(--light-accent);
  font-size: 0.8rem; font-weight: 600; padding: 0.3rem 1rem; border-radius: 20px;
  margin-bottom: 1rem; letter-spacing: 0.5px; border: 1px solid rgba(105,114,232,0.3);
}
.audit-content h2 { font-family: 'Red Hat Display', sans-serif; font-size: 2.2rem; font-weight: 600; margin-bottom: 1rem; }
.audit-text { color: var(--text-muted); font-size: 1.05rem; line-height: 1.7; margin-bottom: 2rem; }
.audit-list { list-style: none; margin-bottom: 2.5rem; }
.audit-list li { display: flex; align-items: center; gap: 0.75rem; padding: 0.6rem 0; color: var(--text-primary); font-size: 1rem; }
.audit-list li svg { color: var(--primary); flex-shrink: 0; }
.audit-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.audit-visual { display: flex; align-items: center; justify-content: center; }
.audit-visual-inner {
  background: var(--bg-darker); border: 1px solid var(--divider); border-radius: 16px;
  padding: 3rem 2rem; text-align: center; max-width: 300px;
}
.audit-visual-inner svg { color: var(--primary); margin-bottom: 1.5rem; }
.audit-visual-inner h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 0.5rem; }
.audit-visual-inner p { color: var(--text-muted); font-size: 0.9rem; }

/* Trust & Partners */
.trust-section-full { background-color: var(--bg-darker); }
.trust-logos-large { display: flex; justify-content: center; align-items: center; gap: 4rem; flex-wrap: wrap; margin-bottom: 3rem; }
.trust-logo-large { opacity: 0.8; transition: opacity 0.2s ease; display: flex; align-items: center; justify-content: center; }
.trust-logo-large:hover { opacity: 1; }
.trust-logo-large img { height: 50px; width: auto; }
.trust-logo-light { background: #ffffff; border-radius: 8px; padding: 0.5rem 1rem; display: flex; align-items: center; justify-content: center; }
.trust-text-large { color: var(--text-primary); font-weight: 600; font-size: 1.1rem; white-space: nowrap; }

/* Media Section */
.media-section { background: var(--bg-darker); border-top: 1px solid var(--divider); border-bottom: 1px solid var(--divider); padding: 1.5rem 0; }
.media-link { display: flex; align-items: center; justify-content: center; gap: 0.75rem; text-decoration: none; transition: all 0.2s ease; }
.media-link:hover { transform: translateY(-2px); }
.media-label { color: var(--text-secondary); font-size: 0.85rem; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; }
.media-name { color: var(--light-accent); font-size: 1.1rem; font-weight: 700; font-family: 'Red Hat Display', sans-serif; }
.media-arrow { color: var(--primary); font-size: 1.2rem; transition: transform 0.2s ease; }
.media-link:hover .media-arrow { transform: translateX(4px); }

/* Hero Media Link */
.hero-media-link { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1.5rem; text-decoration: none; transition: all 0.2s ease; }
.hero-media-link:hover { transform: translateX(4px); }
.hero-media-link .media-label { color: var(--text-secondary); font-size: 0.8rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; }
.hero-media-link .media-name { color: var(--light-accent); font-size: 0.95rem; font-weight: 700; font-family: 'Red Hat Display', sans-serif; }
.hero-media-link .media-arrow { color: var(--primary); font-size: 1rem; transition: transform 0.2s ease; }
.hero-media-link:hover .media-arrow { transform: translateX(4px); }

/* How Section */
.how-section { background-color: var(--bg); }
.steps-grid { display: flex; align-items: flex-start; justify-content: center; gap: 1rem; margin-bottom: 3rem; }
.step-card { text-align: center; flex: 1; max-width: 280px; }
.step-number {
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, var(--button-bg), var(--primary));
  color: white; font-size: 1.5rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
}
.step-card h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 0.5rem; }
.step-card p { color: var(--text-muted); font-size: 0.9rem; }
.step-connector { width: 60px; height: 2px; background: var(--divider); margin-top: 30px; flex-shrink: 0; }

/* Final CTA */
.final-cta-section { background-color: var(--bg-darker); padding: 6rem 0; }
.final-cta-card {
  background: linear-gradient(135deg, var(--card-bg) 0%, rgba(47,39,156,0.3) 100%);
  border: 1px solid var(--primary); border-radius: 24px; padding: 5rem 3rem;
  text-align: center; max-width: 900px; margin: 0 auto; position: relative; overflow: hidden;
}
.final-cta-glow {
  position: absolute; top: -50%; left: 50%; transform: translateX(-50%);
  width: 60%; height: 100%;
  background: radial-gradient(ellipse at center, rgba(105,114,232,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.final-cta-card h2 { font-family: 'Red Hat Display', sans-serif; font-size: 2.5rem; font-weight: 700; margin-bottom: 1rem; position: relative; z-index: 1; }
.final-cta-text { color: var(--text-muted); font-size: 1.15rem; margin-bottom: 2.5rem; max-width: 600px; margin-left: auto; margin-right: auto; position: relative; z-index: 1; line-height: 1.7; }
.final-cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }
.final-cta-note { color: var(--text-secondary); font-size: 0.9rem; margin-top: 1.5rem; position: relative; z-index: 1; }

/* Services */
.service-card { text-align: center; padding: 2.5rem 1.5rem; }
.service-icon { color: var(--primary); margin-bottom: 1.5rem; }
.service-card h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.75rem; }
.service-card p { color: var(--text-muted); font-size: 0.95rem; }

/* Projects */
.projects-section { background-color: var(--bg-darker); }
.project-card { text-align: center; padding: 2rem 1.5rem; }
.project-icon { color: var(--light-accent); margin-bottom: 1rem; }
.project-card h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.5rem; }
.project-card p { color: var(--text-muted); font-size: 0.9rem; }

/* Partners */
.partners-grid { display: flex; justify-content: center; align-items: center; gap: 3rem; flex-wrap: wrap; }
.partner-card { background-color: var(--card-bg); border-radius: 12px; padding: 2rem 3rem; display: flex; align-items: center; justify-content: center; transition: transform 0.2s ease, box-shadow 0.2s ease; min-height: 100px; }
.partner-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.3); }
.partner-card img { height: 40px; width: auto; filter: brightness(0) invert(1); }
.partner-text { color: var(--text-primary); font-weight: 600; font-size: 1.25rem; }

/* CTA */
.cta-section { background-color: var(--bg-darker); }
.cta-card { background: linear-gradient(135deg, var(--card-bg) 0%, var(--card-bg-variant) 100%); border: 1px solid var(--divider); border-radius: 16px; padding: 4rem 3rem; text-align: center; max-width: 800px; margin: 0 auto; }
.cta-card h2 { font-size: 2rem; font-weight: 600; margin-bottom: 1rem; }
.cta-card p { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 2rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Solutions */
.plans-section { background-color: var(--bg); }
.plan-card { position: relative; padding: 2rem; }
.plan-card.featured { border: 2px solid var(--primary); }
.plan-badge { position: absolute; top: -12px; right: 20px; background-color: var(--primary); color: white; padding: 0.25rem 1rem; border-radius: 20px; font-size: 0.8rem; font-weight: 600; }
.plan-header { margin-bottom: 1.5rem; }
.plan-header h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 0.5rem; }
.plan-desc { color: var(--text-muted); font-size: 0.9rem; }
.plan-features { list-style: none; }
.plan-features li { padding: 0.5rem 0; border-bottom: 1px solid var(--divider); color: var(--text-muted); font-size: 0.95rem; }
.plan-features li:last-child { border-bottom: none; }
.plan-features li::before { content: '\2713'; color: var(--primary); margin-right: 0.5rem; font-weight: 600; }

.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.feature-card { background-color: var(--card-bg); border-radius: 12px; padding: 1.5rem; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.3); }
.feature-icon { color: var(--primary); margin-bottom: 1rem; }
.feature-card h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.5rem; }
.feature-card p { color: var(--text-muted); font-size: 0.9rem; }

/* Projets */
.project-detail-card { padding: 2.5rem 2rem; }
.project-detail-card .project-icon { color: var(--primary); margin-bottom: 1.5rem; }
.project-detail-card h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.75rem; }
.project-detail-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }

/* Contact */
.hero-contact { padding: 5rem 0 3rem; }
.contact-section { background-color: var(--bg); }
.contact-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
  background: var(--card-bg);
  border: 1px solid var(--primary);
  border-radius: 16px;
  max-width: 600px;
  margin: 0 auto;
}
.contact-success svg { color: var(--primary); margin-bottom: 1.5rem; }
.contact-success h2 { font-size: 1.75rem; font-weight: 600; margin-bottom: 0.75rem; }
.contact-success p { color: var(--text-muted); font-size: 1.05rem; line-height: 1.6; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-form-wrapper { background-color: var(--card-bg); border-radius: 16px; padding: 2.5rem; border: 1px solid var(--divider); }
.contact-form-wrapper h2 { font-size: 1.5rem; font-weight: 600; margin-bottom: 1rem; }
.form-intro { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1.5rem; line-height: 1.6; }
.contact-form { display: flex; flex-direction: column; gap: 1.5rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group label { font-size: 0.9rem; font-weight: 500; color: var(--text-muted); }
.form-group input, .form-group textarea { background-color: var(--card-bg-variant); border: 1px solid var(--divider); border-radius: 8px; padding: 0.75rem 1rem; color: var(--text-primary); font-family: inherit; font-size: 1rem; transition: border-color 0.2s ease; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-secondary); }
.turnstile-group { margin-top: 0.5rem; min-height: 70px; }
.cf-turnstile { min-height: 65px; display: block; }
.cf-turnstile > div { min-height: 65px !important; }
.turnstile-placeholder {
  display: block; background: var(--card-bg-variant); border: 1px dashed var(--divider);
  border-radius: 6px; padding: 0.75rem 1rem; text-align: center;
  color: var(--text-secondary); font-size: 0.8rem; margin-top: 0.5rem;
}
.contact-info-wrapper { display: flex; flex-direction: column; gap: 2rem; }
.contact-info-card { background-color: var(--card-bg); border-radius: 16px; padding: 2.5rem; border: 1px solid var(--divider); }
.contact-info-card h2 { font-size: 1.5rem; font-weight: 600; margin-bottom: 2rem; }
.info-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.info-item:last-child { margin-bottom: 0; }
.info-icon { color: var(--primary); flex-shrink: 0; }
.info-content h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.25rem; }
.info-content a { color: var(--text-muted); }
.info-content a:hover { color: var(--light-accent); }
.info-content p { color: var(--text-muted); font-size: 0.9rem; }
.contact-actions { display: flex; flex-direction: column; gap: 1rem; }

/* Responsive */
@media (max-width: 768px) {
  .container { padding: 0 1rem; }
  .section { padding: 3rem 0; }
  .section-title { font-size: 1.5rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero { padding: 5rem 0 4rem; }
  .hero h1 { font-size: 2.25rem; }
  .hero-main h1 { font-size: 2rem; }
  .hero-subtitle { font-size: 1rem; }
  .hero-ctas { flex-direction: column; }
  .trust-logos-large { gap: 2rem; }
  .partners-grid { gap: 1.5rem; }
  .partner-card { padding: 1.5rem 2rem; }
  .cta-card { padding: 3rem 1.5rem; }
  .cta-card h2 { font-size: 1.5rem; }
  .cta-buttons { flex-direction: column; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form-wrapper, .contact-info-card { padding: 2rem 1.5rem; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background-color: var(--bg-darker); flex-direction: column; padding: 1rem 2rem; border-bottom: 1px solid var(--divider); gap: 1rem; }
  .nav.open { display: flex; }
  .mobile-menu-btn { display: flex; }
  .header-container { padding: 1rem; }
  .audit-card { grid-template-columns: 1fr; padding: 2rem 1.5rem; }
  .audit-content h2 { font-size: 1.75rem; }
  .audit-ctas { flex-direction: column; }
  .audit-visual { order: -1; }
  .audit-visual-inner { max-width: 100%; }
  .steps-grid { flex-direction: column; align-items: center; gap: 2rem; }
  .step-connector { width: 2px; height: 30px; margin: 0; }
  .final-cta-card { padding: 3rem 1.5rem; }
  .final-cta-card h2 { font-size: 1.75rem; }
  .final-cta-buttons { flex-direction: column; }
}

/* Cookie Banner */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: var(--bg-darker); border-top: 1px solid var(--divider);
  padding: 1rem 2rem;
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.cookies-ok .cookie-banner { display: none !important; }
.cookie-banner-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  flex-wrap: wrap;
}
.cookie-banner p { color: var(--text-muted); font-size: 0.9rem; flex: 1; min-width: 200px; }
.cookie-banner .btn { flex-shrink: 0; }
.cookie-banner-hidden { opacity: 0; transform: translateY(100%); }
