/* ══════════════════════════════════════════════
   REDACTIWE v4 — Premium, ludique, violet
   Logos défilants, cartes dynamiques, alternance dark/white
   ══════════════════════════════════════════════ */

/* Fonts loaded via <link> in HTML for performance */

:root {
  --bg-deep: #1a0a3e;
  --bg-main: #220e50;
  --accent: #7c3aed;
  --accent-light: #a78bfa;
  --pink: #f0abfc;
  --pink-hover: #e879f9;
  --gold: #fbbf24;
  --green: #4ade80;
  --white: #ffffff;
  --off-white: #f8f5ff;
  --text-white: #ffffff;
  --text-light-on-dark: rgba(255,255,255,0.85);
  --text-muted-on-dark: rgba(255,255,255,0.55);
  --dark-text: #1a1035;
  --dark-muted: #5a5278;
  --card-glass: rgba(255,255,255,0.07);
  --card-glass-border: rgba(255,255,255,0.1);
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 1rem; line-height: 1.75;
  color: var(--text-white); background: var(--bg-deep);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'League Spartan', sans-serif;
  line-height: 1.1; letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; color: var(--white); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 700; margin-bottom: 1rem; }
h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; }

a { color: var(--pink); text-decoration: none; transition: all 0.3s; }
a:hover { color: var(--accent-light); }
img { max-width: 100%; height: auto; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 2rem; }

/* ══ BOUTONS ══ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.85rem 2.2rem; font-size: 0.88rem; font-weight: 700;
  border-radius: 9999px; transition: all 0.3s ease; cursor: pointer;
  border: none; text-align: center; gap: 0.5rem;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--pink));
  color: var(--white); box-shadow: 0 4px 25px rgba(168,85,247,0.35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 35px rgba(168,85,247,0.5); color: var(--white); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.25); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.5); color: var(--white); }
.btn-dark { background: var(--bg-deep); color: var(--white); border: 2px solid var(--accent); }
.btn-dark:hover { background: var(--accent); color: var(--white); transform: translateY(-2px); }
.btn-white { background: var(--white); color: var(--bg-deep); font-weight: 700; }
.btn-white:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(255,255,255,0.2); color: var(--bg-deep); }
.btn-lg { padding: 1.1rem 2.8rem; font-size: 0.95rem; }

/* ══ NAV GLASS ══ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  backdrop-filter: blur(24px) saturate(1.4);
  background: rgba(26,10,62,0.75);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.header-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 2rem;
  height: 80px; display: flex; align-items: center; justify-content: space-between;
}
.logo img { height: 36px; width: auto; filter: brightness(10); }
.main-nav { display: flex; align-items: center; gap: 2rem; }
.main-nav a { font-size: 0.88rem; font-weight: 500; color: rgba(255,255,255,0.7); transition: color 0.3s; }
.main-nav a:hover { color: var(--white); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; border-radius: 2px; }

/* ══ HERO ══ */
.hero {
  padding: 12rem 0 5rem; position: relative; overflow: hidden; text-align: center;
  background: var(--bg-deep);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: conic-gradient(from 220deg at 50% 35%, var(--bg-deep) 0deg, #3b1578 80deg, #7c3aed 150deg, #f0abfc 200deg, #3b1578 270deg, var(--bg-deep) 360deg);
  filter: blur(120px); opacity: 0.45;
}
.hero-content { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--pink); background: rgba(255,255,255,0.08);
  backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.1);
  padding: 0.55rem 1.4rem; border-radius: 9999px; margin-bottom: 2rem;
}
.hero-badge::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: var(--green); animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.6); }
}
.hero h1 { margin-bottom: 1.5rem; }
.hero h1 .highlight { color: var(--pink); }
.hero > .hero-content > p { font-size: 1.15rem; color: var(--text-light-on-dark); max-width: 620px; margin: 0 auto 2.5rem; line-height: 1.85; }
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-proof {
  display: flex; align-items: center; justify-content: center; gap: 1.5rem;
  margin-top: 3rem; font-size: 0.85rem; color: var(--text-muted-on-dark);
}
.hero-proof .stars { color: var(--gold); letter-spacing: 3px; font-size: 1rem; }
.hero-photo-wrapper { margin-top: 3rem; display: flex; justify-content: center; }
.hero-photo {
  width: 180px; height: 180px; border-radius: 50%; object-fit: cover; object-position: center;
  border: 3px solid rgba(168,85,247,0.3);
  box-shadow: 0 0 60px rgba(168,85,247,0.3), 0 0 120px rgba(240,171,252,0.1);
}

/* ══ STATS BAR ══ */
.stats-bar {
  display: flex; justify-content: center; gap: 4rem; padding: 3.5rem 0; flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-item strong {
  display: block; font-family: 'League Spartan', sans-serif;
  font-size: 3.2rem; font-weight: 800; color: var(--white);
  background: linear-gradient(135deg, var(--white), var(--pink));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.stat-item span { font-size: 0.78rem; color: var(--text-muted-on-dark); text-transform: uppercase; letter-spacing: 0.12em; }

/* ══ LOGOS DÉFILANTS ══ */
.marquee-section { padding: 3rem 0; overflow: hidden; background: var(--bg-deep); border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05); }
.marquee-label { text-align: center; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.18em; color: var(--text-muted-on-dark); margin-bottom: 2rem; }
.marquee-track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: 4rem; padding: 0 2rem; }
.marquee-group img {
  height: 38px; width: auto; max-width: 140px;
  padding: 0.6rem 1.2rem;
  background: rgba(255,255,255,0.9);
  border-radius: 12px;
  object-fit: contain;
  opacity: 0.8; transition: all 0.3s;
}
.marquee-group img:hover { opacity: 1; box-shadow: 0 4px 15px rgba(255,255,255,0.15); }

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ══ SECTIONS ══ */
section { padding: 6rem 0; position: relative; }

.section-white { background: var(--white); color: var(--dark-text); }
.section-white h2, .section-white h3 { color: var(--dark-text); }
.section-white p, .section-white li { color: var(--dark-muted); }
.section-white .section-label { color: var(--accent); }
.section-white .about-content p { color: var(--dark-muted); }
.section-white .about-highlights li { color: var(--dark-text); }
.section-white .about-highlights li::before { color: var(--accent); }
.section-white .contact-info h3 { color: var(--dark-text); }
.section-white .contact-info p { color: var(--dark-muted); }
.section-white .contact-detail { color: var(--dark-muted); }
.section-white .faq-question { color: var(--dark-text); }
.section-white .faq-answer p { color: var(--dark-muted); }
.section-white .faq-item { border-color: rgba(0,0,0,0.08); }

.section-light { background: var(--off-white); color: var(--dark-text); }
.section-light h2, .section-light h3 { color: var(--dark-text); }
.section-light p, .section-light li { color: var(--dark-muted); }
.section-light .section-label { color: var(--accent); }
.section-light .about-content p { color: var(--dark-muted); }
.section-light .about-highlights li { color: var(--dark-text); }
.section-light .faq-question { color: var(--dark-text); }
.section-light .faq-answer p { color: var(--dark-muted); }
.section-light .faq-item { border-color: rgba(0,0,0,0.08); }

.section-label {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.2em; color: var(--pink); margin-bottom: 0.8rem;
}
.section-header { text-align: center; max-width: 700px; margin: 0 auto 4rem; }
.section-header p { font-size: 1.05rem; margin-top: 1rem; line-height: 1.85; }

/* ══ ABOUT ══ */
.about-grid { display: grid; grid-template-columns: 300px 1fr; gap: 5rem; align-items: center; }
.about-photo {
  width: 260px; height: 260px; border-radius: 50%; object-fit: cover; object-position: center;
  border: 3px solid rgba(168,85,247,0.25); box-shadow: 0 0 50px rgba(168,85,247,0.15);
}
.about-content h2 { text-align: left; }
.about-content .section-label { text-align: left; }
.about-content p { color: var(--text-light-on-dark); margin-bottom: 1.2rem; line-height: 1.85; }
.about-highlights { list-style: none; margin: 1.8rem 0; }
.about-highlights li {
  position: relative; padding-left: 2rem; margin-bottom: 1rem;
  font-weight: 500; font-size: 0.95rem; color: var(--text-light-on-dark);
}
.about-highlights li::before {
  content: '✓'; position: absolute; left: 0; top: 0;
  color: var(--green); font-weight: 700; font-size: 1rem;
}

/* ══ SERVICES — Cartes blanches inclinées ══ */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
  perspective: 1200px;
}
.service-card {
  background: var(--white); color: var(--dark-text);
  border-radius: 24px; padding: 2.5rem; position: relative;
  border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: rotate(0deg);
}
.service-card:nth-child(odd) { transform: rotate(-1deg); }
.service-card:nth-child(even) { transform: rotate(1deg); }
.service-card:hover {
  transform: rotate(0deg) translateY(-8px) scale(1.02);
  box-shadow: 0 25px 60px rgba(124,58,237,0.15);
}
.service-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, #ede9fe, #fae8ff);
  border-radius: 16px; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1.5rem;
}
.service-card h3 { color: var(--bg-deep); font-size: 1.15rem; margin-bottom: 0.8rem; }
.service-card p { color: var(--dark-muted); font-size: 0.9rem; line-height: 1.75; }

/* ══ GLASS CARDS (parcours, méthode) ══ */
.glass-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.glass-card {
  background: var(--card-glass); border: 1px solid var(--card-glass-border);
  border-radius: 24px; padding: 2.2rem; text-align: center;
  backdrop-filter: blur(16px); transition: all 0.35s;
}
.glass-card:hover { background: rgba(255,255,255,0.12); transform: translateY(-4px); }
.glass-card .num {
  font-family: 'League Spartan', sans-serif;
  font-size: 2.8rem; font-weight: 800;
  background: linear-gradient(135deg, var(--accent-light), var(--pink));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}
.glass-card h3 { font-size: 1.05rem; color: var(--white); margin-bottom: 0.6rem; }
.glass-card p { font-size: 0.85rem; color: var(--text-muted-on-dark); line-height: 1.65; }

/* ══ TÉMOIGNAGES ══ */
.testimonials-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.8rem; }
.testimonial-card {
  background: var(--card-glass); border: 1px solid var(--card-glass-border);
  border-radius: 24px; padding: 2.5rem; backdrop-filter: blur(16px);
  transition: all 0.3s;
}
.testimonial-card:hover { background: rgba(255,255,255,0.1); }
.testimonial-stars { color: var(--gold); font-size: 1rem; margin-bottom: 1.2rem; letter-spacing: 3px; }
.testimonial-text { font-size: 0.92rem; color: var(--text-light-on-dark); line-height: 1.8; margin-bottom: 1.5rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 0.8rem; }
.testimonial-author img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,0.15); }
.testimonial-name { font-weight: 600; font-size: 0.9rem; color: var(--white); }
.testimonial-role { font-size: 0.78rem; color: var(--text-muted-on-dark); }

/* ══ SECTEURS — Cartes blanches compactes ══ */
.sectors-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.sector-card {
  background: var(--white); border-radius: 20px; padding: 2rem;
  text-align: center; border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.3s;
}
.sector-card:hover { transform: translateY(-4px); box-shadow: 0 15px 40px rgba(124,58,237,0.08); }
.sector-card h3 { color: var(--bg-deep); font-size: 1.1rem; margin-bottom: 0.4rem; }
.sector-card p { color: var(--dark-muted); font-size: 0.85rem; line-height: 1.6; }

/* ══ TARIFS — Cartes blanches ══ */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.pricing-card {
  background: var(--white); color: var(--dark-text); border-radius: 24px;
  padding: 2.5rem 1.8rem; text-align: center;
  border: 1px solid rgba(0,0,0,0.04); transition: all 0.35s; position: relative;
}
.pricing-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(124,58,237,0.1); }
.pricing-card.featured {
  border: 2px solid var(--accent);
  box-shadow: 0 12px 40px rgba(124,58,237,0.12);
}
.pricing-card.featured::before {
  content: 'Le plus demandé'; position: absolute; top: -14px; left: 50%;
  transform: translateX(-50%); background: linear-gradient(135deg, var(--accent), var(--pink));
  color: var(--white); font-size: 0.68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  padding: 0.4rem 1.4rem; border-radius: 9999px; white-space: nowrap;
}
.pricing-card h3 { color: var(--bg-deep); font-size: 1.1rem; margin-bottom: 0.3rem; }
.pricing-price {
  font-family: 'League Spartan', sans-serif; font-size: 1.7rem;
  font-weight: 800; color: var(--accent); margin: 1rem 0;
}
.pricing-price span { font-size: 0.8rem; color: var(--dark-muted); font-family: 'Inter', sans-serif; font-weight: 400; }
.pricing-features { list-style: none; text-align: left; margin: 1.5rem 0; }
.pricing-features li {
  font-size: 0.83rem; padding: 0.5rem 0; border-bottom: 1px solid #f0ecff;
  color: var(--dark-muted); position: relative; padding-left: 1.6rem;
}
.pricing-features li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* ══ CTA ══ */
.cta-section {
  padding: 7rem 0; text-align: center; position: relative; overflow: hidden;
  background: var(--bg-deep);
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: conic-gradient(from 180deg at 50% 50%, var(--bg-deep) 0deg, #3b1578 120deg, var(--accent) 200deg, var(--bg-deep) 360deg);
  filter: blur(120px); opacity: 0.4;
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 1.2rem; color: var(--white); }
.cta-section p { color: var(--text-light-on-dark); font-size: 1.1rem; margin-bottom: 2.5rem; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ══ FAQ ══ */
.faq-list { max-width: 740px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid rgba(0,0,0,0.06); }
.section-light .faq-question { color: var(--dark-text); }
.faq-question {
  width: 100%; background: none; border: none; text-align: left;
  padding: 1.4rem 0; font-family: 'Inter', sans-serif; font-size: 0.95rem;
  font-weight: 600; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
}
.faq-question::after { content: '+'; font-size: 1.5rem; color: var(--accent); transition: transform 0.2s; }
.faq-item.open .faq-question::after { content: '−'; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-item.open .faq-answer { max-height: 500px; }
.faq-answer p { padding-bottom: 1.3rem; font-size: 0.9rem; line-height: 1.85; }
.section-light .faq-answer p { color: var(--dark-muted); }

/* ══ CONTACT ══ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }
.section-white .contact-info h3 { color: var(--dark-text); font-size: 1.5rem; margin-bottom: 1rem; }
.section-white .contact-info p { color: var(--dark-muted); margin-bottom: 1.5rem; font-size: 0.95rem; line-height: 1.8; }
.contact-detail { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1rem; font-size: 0.9rem; }
.section-white .contact-detail { color: var(--dark-muted); }
.contact-detail a { color: var(--accent); }

.contact-form {
  background: var(--off-white); border: 1px solid rgba(0,0,0,0.06);
  border-radius: 24px; padding: 2.5rem;
}
.form-group { margin-bottom: 1.3rem; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--dark-text); margin-bottom: 0.5rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 0.8rem 1.2rem; border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px; font-family: 'Inter', sans-serif;
  font-size: 0.88rem; color: var(--dark-text); background: var(--white); transition: border-color 0.3s;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: #a09abc; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(124,58,237,0.1);
}
.form-group textarea { min-height: 130px; resize: vertical; }

.info-box {
  margin-top: 1.5rem; padding: 1.8rem;
  background: var(--off-white); border: 1px solid rgba(0,0,0,0.06);
  border-radius: 20px;
}
.info-box h4 { font-family: 'Inter', sans-serif; font-size: 0.9rem; font-weight: 700; color: var(--dark-text); margin-bottom: 0.5rem; }
.info-box p { font-size: 0.85rem; color: var(--dark-muted); line-height: 1.75; margin-bottom: 1rem; }
.info-box .about-highlights li { color: var(--dark-text); }
.info-box .about-highlights li::before { color: var(--accent); }

/* ══ FOOTER ══ */
.site-footer {
  background: var(--bg-deep); border-top: 1px solid rgba(255,255,255,0.06);
  padding: 4rem 0 2rem; border-radius: 32px 32px 0 0;
}
.footer-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 2rem;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem;
}
.footer-brand p { font-size: 0.85rem; color: var(--text-muted-on-dark); margin-top: 1rem; line-height: 1.75; }
.footer-col h4 { font-family: 'Inter', sans-serif; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; color: var(--white); margin-bottom: 1.2rem; }
.footer-col a { display: block; color: var(--text-muted-on-dark); font-size: 0.85rem; margin-bottom: 0.6rem; }
.footer-col a:hover { color: var(--pink); }
.footer-bottom {
  max-width: var(--max); margin: 2.5rem auto 0; padding: 1.5rem 2rem 0;
  border-top: 1px solid rgba(255,255,255,0.06); font-size: 0.78rem;
  text-align: center; color: var(--text-muted-on-dark);
}

/* ══ RESPONSIVE ══ */
@media (max-width: 1024px) {
  .services-grid, .sectors-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .glass-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; text-align: center; }
  .about-content h2, .about-content .section-label { text-align: center; }
  .about-photo { margin: 0 auto; }
  .about-highlights { display: inline-block; text-align: left; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .main-nav.open {
    display: flex; flex-direction: column; position: absolute;
    top: 80px; left: 0; right: 0;
    background: rgba(26,10,62,0.97); backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 1.5rem 2rem; gap: 0.3rem;
  }
  .main-nav.open a { padding: 0.8rem 0; color: var(--text-light-on-dark); }
  .nav-toggle { display: block; }
  .services-grid, .sectors-grid, .pricing-grid, .glass-grid { grid-template-columns: 1fr; }
  .service-card:nth-child(odd), .service-card:nth-child(even) { transform: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .stats-bar { gap: 2rem; }
  .marquee-group { gap: 2.5rem; }
}
