/* =========================================
   SEENBY — Feuille de style globale
   Palette : Navy #0F1C35 + Or #C9A84C
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600;700&family=Fraunces:ital,wght@0,300;0,600;0,700;1,300;1,600&display=swap');

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:        #0F1C35;
  --navy-med:    #1B2B4B;
  --navy-light:  #2A3F6B;
  --gold:        #C9A84C;
  --gold-light:  #E8CC7A;
  --gold-pale:   #F5EDD3;
  --cream:       #F0EDE6;
  --muted:       #8A96A8;
  --border:      rgba(201,168,76,0.18);
  --card-bg:     rgba(27,43,75,0.85);
  --glass:       rgba(15,28,53,0.80);
  --radius:      14px;
  --radius-sm:   8px;
  --shadow:      0 8px 40px rgba(0,0,0,0.35);
  --transition:  0.3s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--navy);
  color: var(--cream);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Fraunces', serif;
  line-height: 1.2;
  color: var(--cream);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 600; }

p { color: var(--muted); line-height: 1.8; }

a { color: var(--gold); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold-light); }

img { max-width: 100%; display: block; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }

/* ---- GRADIENT TEXT OR ---- */
.gold-text {
  background: linear-gradient(135deg, var(--gold), var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- BADGE ---- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,0.12);
  border: 1px solid var(--border);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* ---- BOUTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  box-shadow: 0 4px 24px rgba(201,168,76,0.3);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201,168,76,0.45);
  color: var(--navy);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--border);
}
.btn-outline:hover {
  background: rgba(201,168,76,0.08);
  border-color: var(--gold);
  color: var(--gold-light);
}

/* ---- HEADER ---- */
header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 1160px;
  z-index: 1000;
  background: var(--glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
}

.logo {
  height: 36px;
  width: auto;
  object-fit: contain;
}

nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

nav a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}
nav a:hover { color: var(--gold); }

.nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy) !important;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(201,168,76,0.35);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  width: 24px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 120px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(201,168,76,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 10% 80%, rgba(26,107,240,0.05) 0%, transparent 50%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.hero h1 { margin-bottom: 24px; }
.hero h1 em { font-style: italic; }

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--muted);
  margin-bottom: 40px;
  max-width: 560px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

/* Carte métrique flottante */
.hero-metric {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 24px;
  backdrop-filter: blur(12px);
}

.metric-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(201,168,76,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.metric-value {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cream);
  line-height: 1;
}
.metric-label { font-size: 0.8rem; color: var(--muted); }

/* Terminal IA */
.terminal {
  background: #0D1117;
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 48px;
  max-width: 560px;
}

.terminal-bar {
  background: #1C2128;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot-red { background: #FF5F57; }
.dot-yellow { background: #FFBD2E; }
.dot-green { background: #28C840; }

.terminal-title {
  font-size: 0.75rem;
  color: var(--muted);
  margin-left: 8px;
}

.terminal-body {
  padding: 20px 24px;
  font-family: 'Courier New', monospace;
  font-size: 0.85rem;
  line-height: 1.9;
}

.t-prompt { color: var(--gold); }
.t-query { color: #7DC4E4; }
.t-response { color: #A6DA95; }
.t-warning { color: #EE9A22; }
.t-cursor {
  display: inline-block;
  width: 8px; height: 14px;
  background: var(--gold);
  animation: blink 1s step-end infinite;
  vertical-align: middle;
  margin-left: 2px;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

/* ---- STATS BAR ---- */
.stats-bar {
  background: var(--navy-med);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: 0 24px;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }

.stat-number {
  font-family: 'Fraunces', serif;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label { font-size: 0.85rem; color: var(--muted); }

/* ---- SERVICES ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 60px;
}

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  backdrop-filter: blur(12px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201,168,76,0.4);
  box-shadow: var(--shadow);
}
.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: rgba(201,168,76,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
  border: 1px solid var(--border);
}

.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: var(--cream);
}

.service-card p { font-size: 0.9rem; }

/* ---- BENCHMARK ---- */
.benchmark {
  background: var(--navy-med);
  border-radius: 20px;
  padding: 48px;
  border: 1px solid var(--border);
  margin-top: 60px;
}

.benchmark-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 20px;
}

.benchmark-alert {
  background: rgba(255,80,0,0.1);
  border: 1px solid rgba(255,80,0,0.3);
  color: #FF8C5A;
  padding: 10px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.bar-row {
  margin-bottom: 20px;
}

.bar-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.bar-label span:first-child { color: var(--cream); font-weight: 500; }
.bar-label span:last-child { color: var(--muted); }

.bar-track {
  height: 10px;
  background: rgba(255,255,255,0.06);
  border-radius: 50px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: 50px;
  transition: width 1.5s cubic-bezier(0.4,0,0.2,1);
}

.bar-fill.gold { background: linear-gradient(90deg, var(--gold), var(--gold-light)); }
.bar-fill.muted { background: rgba(138,150,168,0.4); }

/* ---- PROCESSUS ---- */
.process-list {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.process-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  display: grid;
  grid-template-columns: 60px 1fr auto;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  transition: var(--transition);
}

.process-item:hover {
  border-color: rgba(201,168,76,0.4);
  background: rgba(27,43,75,0.95);
}

.process-num {
  font-family: 'Fraunces', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: rgba(201,168,76,0.3);
  line-height: 1;
}

.process-content h3 { font-size: 1rem; margin-bottom: 4px; }
.process-content p { font-size: 0.85rem; margin: 0; }

.process-arrow {
  color: var(--gold);
  font-size: 1.2rem;
  transition: var(--transition);
}
.process-item:hover .process-arrow { transform: translateX(4px); }

/* ---- SOCIAL PROOF ---- */
.proof-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  backdrop-filter: blur(12px);
}

.proof-stat {
  font-family: 'Fraunces', serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
}

.proof-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 60px;
}

.case-study {
  background: rgba(201,168,76,0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.case-study-score {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 16px 0;
}

.score-before, .score-after {
  text-align: center;
}

.score-num {
  font-family: 'Fraunces', serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.score-before .score-num { color: var(--muted); }
.score-after .score-num { color: var(--gold); }
.score-label { font-size: 0.75rem; color: var(--muted); margin-top: 4px; }

.score-arrow { font-size: 1.4rem; color: var(--gold); }

/* ---- FAQ ---- */
.faq-list {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  padding: 22px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--cream);
}

.faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(201,168,76,0.1);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 28px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.8;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 28px 22px;
}

/* ---- CTA ---- */
.cta-section {
  background: var(--navy-med);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: 0 24px;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(201,168,76,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section h2 { margin-bottom: 16px; }
.cta-section p { margin-bottom: 36px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* ---- FOOTER ---- */
footer {
  background: var(--navy);
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo { height: 32px; margin-bottom: 16px; }

.footer-tagline {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-contact a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 8px;
}
.footer-contact a:hover { color: var(--gold); }

.footer-col h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  color: var(--muted);
  font-size: 0.88rem;
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--cream); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p { font-size: 0.82rem; color: var(--muted); }

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(201,168,76,0.08);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.85rem;
  transition: var(--transition);
}
.social-link:hover {
  background: rgba(201,168,76,0.15);
  color: var(--gold);
  border-color: var(--gold);
}

/* ---- COOKIE BANNER ---- */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy-med);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 700px;
  width: calc(100% - 48px);
  z-index: 9999;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  flex-wrap: wrap;
}

.cookie-banner p { font-size: 0.85rem; margin: 0; flex: 1; }
.cookie-banner a { color: var(--gold); }

.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }

.btn-cookie-accept {
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}
.btn-cookie-accept:hover { background: var(--gold-light); }

.btn-cookie-refuse {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}
.btn-cookie-refuse:hover { color: var(--cream); }

/* ---- SECTION TITLES ---- */
.section-header { text-align: center; margin-bottom: 16px; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { max-width: 560px; margin: 0 auto; }

/* ---- UTILITIES ---- */
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mb-8 { margin-bottom: 8px; }
.hidden { display: none !important; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
}

@media (max-width: 768px) {
  header { top: 12px; width: calc(100% - 24px); padding: 12px 20px; }
  nav { display: none; }
  nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 80px; left: 12px; right: 12px;
    background: var(--navy-med);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    gap: 20px;
  }
  .hamburger { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-section { padding: 48px 24px; margin: 0; border-radius: 0; }
  .benchmark { padding: 28px 20px; }
  .process-item { grid-template-columns: 40px 1fr auto; gap: 12px; }
}

/* ---- FORMULAIRE AUDIT ---- */
.audit-form {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px;
  backdrop-filter: blur(12px);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.form-group input,
.form-group select {
  background: rgba(15,28,53,0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--cream);
  font-size: 0.95rem;
  font-family: inherit;
  transition: var(--transition);
  outline: none;
  width: 100%;
}
.form-group input::placeholder { color: var(--muted); }
.form-group input:focus,
.form-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
}
.form-group select option { background: var(--navy-med); color: var(--cream); }

@media(max-width:640px) {
  .audit-form { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }
}

/* ---- FOCUS STATES (keyboard nav) ---- */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}
.btn:focus-visible {
  outline-offset: 4px;
  border-radius: 50px;
}
.nav-cta:focus-visible { border-radius: 50px; }

/* ---- AVANT/APRÈS GRID RESPONSIVE ---- */
.avant-apres-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}
@media (max-width: 768px) {
  .avant-apres-grid { grid-template-columns: 1fr; }
}

/* ---- REDUCED MOTION ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .t-cursor { animation: none; opacity: 1; }
  .badge::before { animation: none; opacity: 1; }
}
