/* ============================================================
   THUNDERCLAP CONSULTING — STYLESHEET
   ============================================================ */

/* --- Variables --- */
:root {
  --bg:           #08080f;
  --bg-card:      #0e0e1c;
  --bg-card-h:    #13132a;
  --border:       #1c1c32;
  --border-acc:   rgba(74,255,138,.25);
  --green:        #4aff8a;
  --green-dim:    #2de070;
  --green-glow:   rgba(74,255,138,.12);
  --green-strong: rgba(74,255,138,.28);
  --white:        #ffffff;
  --gray1:        #e2e2f0;
  --gray2:        #9ca3af;
  --gray3:        #5a6070;
  --fhead:        'Space Grotesk', sans-serif;
  --fbody:        'Inter', sans-serif;
  --r:            12px;
  --rl:           20px;
  --tr:           .3s cubic-bezier(.4,0,.2,1);
  --max:          1200px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--fbody);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* --- Utilities --- */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.green { color: var(--green); }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--green);
  color: #060c0e;
  font-family: var(--fhead);
  font-weight: 600;
  font-size: .95rem;
  border-radius: 8px;
  transition: var(--tr);
  white-space: nowrap;
}
.btn-primary:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(74,255,138,.35);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border: 1.5px solid var(--border-acc);
  color: var(--gray1);
  font-family: var(--fhead);
  font-weight: 500;
  font-size: .95rem;
  border-radius: 8px;
  transition: var(--tr);
}
.btn-ghost:hover {
  border-color: var(--green);
  color: var(--green);
  transform: translateY(-2px);
}
.btn-full { width: 100%; justify-content: center; }

.section-tag {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green);
  border: 1px solid var(--border-acc);
  background: var(--green-glow);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.section-title {
  font-family: var(--fhead);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 18px;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--gray2);
  max-width: 640px;
  margin-bottom: 56px;
}

/* --- Animations --- */
[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
[data-animate].visible {
  opacity: 1;
  transform: none;
}

/* ============================================================
   NAV
   ============================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 24px;
  transition: background var(--tr), border-color var(--tr), box-shadow var(--tr);
}
#navbar.scrolled {
  background: rgba(8,8,15,.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 32px rgba(0,0,0,.4);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--fhead);
  white-space: nowrap;
  text-decoration: none;
}
.nav-logo img { width: 28px; height: 36px; object-fit: contain; }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1; }
.nav-logo-name {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -.01em;
}
.nav-logo-sub {
  font-size: .65rem;
  font-weight: 500;
  color: var(--gray3);
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-top: 3px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: .92rem;
  font-weight: 500;
  color: var(--gray2);
  transition: color var(--tr);
}
.nav-links a:hover { color: var(--white); }
.nav-links .nav-cta {
  padding: 9px 22px;
  background: var(--green);
  color: #060c0e;
  font-weight: 600;
  border-radius: 7px;
  transition: var(--tr);
}
.nav-links .nav-cta:hover {
  background: var(--white);
  transform: translateY(-1px);
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  color: var(--gray3);
  user-select: none;
}
.lang-btn {
  background: none;
  border: none;
  font-family: var(--fhead);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--gray3);
  cursor: pointer;
  padding: 4px 2px;
  transition: color var(--tr);
}
.lang-btn:hover { color: var(--white); }
.lang-btn.active { color: var(--green); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--tr);
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 68px;
  overflow: hidden;
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(74,255,138,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74,255,138,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}
.hero-orb {
  position: absolute;
  width: 700px;
  height: 700px;
  right: -100px;
  top: 50%;
  transform: translateY(-50%);
  background: radial-gradient(circle, rgba(74,255,138,.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 420px;
  align-items: center;
  gap: 60px;
  padding-top: 60px;
  padding-bottom: 80px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: var(--green-glow);
  border: 1px solid var(--border-acc);
  border-radius: 100px;
  font-size: .82rem;
  font-weight: 500;
  color: var(--green);
  margin-bottom: 28px;
}
.hero-text h1 {
  font-family: var(--fhead);
  font-size: clamp(2.6rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -.01em;
}
.hero-desc {
  font-size: 1.07rem;
  color: var(--gray2);
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 36px;
}
.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 52px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.hstat strong {
  display: block;
  font-family: var(--fhead);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1.1;
}
.hstat span { font-size: .78rem; color: var(--gray3); margin-top: 3px; display: block; }
.hstat-sep { width: 1px; height: 36px; background: var(--border); flex-shrink: 0; }

/* bolt visual */
.hero-visual { display: flex; justify-content: center; align-items: center; }
.bolt-wrap {
  position: relative;
  width: 320px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bolt-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border-acc);
  animation: ringPulse 3s ease-in-out infinite;
}
.r1 { width: 200px; height: 200px; animation-delay: 0s; }
.r2 { width: 270px; height: 270px; animation-delay: .6s; opacity: .6; }
.r3 { width: 320px; height: 320px; animation-delay: 1.2s; opacity: .3; }
@keyframes ringPulse {
  0%,100% { transform: scale(1); opacity: var(--op, .8); }
  50% { transform: scale(1.04); opacity: .3; }
}
.bolt-glow {
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74,255,138,.3), transparent 70%);
  animation: glowPulse 2.5s ease-in-out infinite;
}
@keyframes glowPulse {
  0%,100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: .6; }
}
.bolt-img {
  position: relative;
  width: 110px;
  height: 140px;
  filter: drop-shadow(0 0 24px rgba(74,255,138,.6)) drop-shadow(0 0 60px rgba(74,255,138,.3));
  animation: boltFloat 3s ease-in-out infinite;
  z-index: 2;
}
@keyframes boltFloat {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--gray3);
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.scroll-arrow {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--green), transparent);
  animation: scrollDrop 1.8s ease-in-out infinite;
}
@keyframes scrollDrop {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================================
   EXPERTISE
   ============================================================ */
#expertise {
  padding: 110px 0;
  border-top: 1px solid var(--border);
}
.expertise-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.expertise-left h2 {
  font-family: var(--fhead);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
}
.expertise-left p {
  color: var(--gray2);
  margin-bottom: 18px;
  font-size: 1rem;
  line-height: 1.75;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.tags span {
  padding: 6px 14px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  font-size: .8rem;
  font-weight: 500;
  color: var(--gray2);
  transition: var(--tr);
}
.tags span:hover { border-color: var(--border-acc); color: var(--green); }

.expertise-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.exp-card {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  transition: var(--tr);
}
.exp-card:hover {
  border-color: var(--border-acc);
  background: var(--bg-card-h);
  transform: translateX(6px);
}
.exp-icon { font-size: 1.8rem; margin-bottom: 12px; }
.exp-card h3 {
  font-family: var(--fhead);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.exp-card p { font-size: .9rem; color: var(--gray2); line-height: 1.65; }

/* ============================================================
   SERVICES
   ============================================================ */
#services {
  padding: 110px 0;
  background: linear-gradient(180deg, var(--bg) 0%, #0b0b17 50%, var(--bg) 100%);
  border-top: 1px solid var(--border);
}
#services .section-title { text-align: center; }
#services .section-desc { text-align: center; margin: 0 auto 56px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.svc-card {
  position: relative;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--rl);
  transition: var(--tr);
  overflow: hidden;
}
.svc-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--green-glow) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--tr);
  border-radius: var(--rl);
}
.svc-card:hover { border-color: var(--border-acc); transform: translateY(-4px); }
.svc-card:hover::before { opacity: 1; }
.svc-card--featured {
  border-color: var(--border-acc);
  background: linear-gradient(135deg, rgba(74,255,138,.08) 0%, var(--bg-card) 60%);
}
.svc-card--featured::after {
  content: 'Phare';
  position: absolute;
  top: 20px; right: 20px;
  padding: 4px 10px;
  background: var(--green);
  color: #060c0e;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  border-radius: 100px;
}
.svc-num {
  font-family: var(--fhead);
  font-size: .75rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: .12em;
  margin-bottom: 16px;
  opacity: .7;
}
.svc-icon { font-size: 2rem; margin-bottom: 14px; }
.svc-card h3 {
  font-family: var(--fhead);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.3;
}
.svc-card p { font-size: .9rem; color: var(--gray2); line-height: 1.65; margin-bottom: 20px; }
.svc-card ul { padding: 0; }
.svc-card ul li {
  font-size: .84rem;
  color: var(--gray3);
  padding: 5px 0;
  padding-left: 16px;
  position: relative;
}
.svc-card ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--green);
  font-size: .7rem;
}

/* ============================================================
   APPROCHE
   ============================================================ */
#approche {
  padding: 110px 0;
  border-top: 1px solid var(--border);
}
#approche .section-title { max-width: 600px; }

.steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 60px;
}
.step {
  display: flex;
  gap: 24px;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--rl);
  transition: var(--tr);
}
.step:hover { border-color: var(--border-acc); }
.step-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--green-glow);
  border: 1px solid var(--border-acc);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--fhead);
  font-weight: 700;
  color: var(--green);
  font-size: 1.1rem;
}
.step-body h3 {
  font-family: var(--fhead);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 10px;
}
.step-body p { font-size: .9rem; color: var(--gray2); line-height: 1.7; }

/* ============================================================
   CTA BAND
   ============================================================ */
#cta-band {
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(74,255,138,.06) 0%, transparent 60%);
  border-top: 1px solid var(--border-acc);
  border-bottom: 1px solid var(--border-acc);
}
.cta-band-inner {
  display: flex;
  align-items: center;
  gap: 40px;
}
.cta-bolt-icon img {
  width: 56px;
  height: 72px;
  filter: drop-shadow(0 0 16px rgba(74,255,138,.5));
  flex-shrink: 0;
}
.cta-band-text { flex: 1; }
.cta-band-text h2 {
  font-family: var(--fhead);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 8px;
}
.cta-band-text p { color: var(--gray2); font-size: .97rem; }

/* ============================================================
   CONTACT
   ============================================================ */
#contact {
  padding: 110px 0;
  border-top: 1px solid var(--border);
}
.contact-info p {
  color: var(--gray2);
  line-height: 1.75;
  margin-bottom: 16px;
  font-size: 1rem;
}
.contact-items { display: flex; flex-direction: column; gap: 20px; margin-top: 32px; }
.ci {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.ci-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: var(--green-glow);
  border: 1px solid var(--border-acc);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.ci strong { display: block; font-weight: 600; font-size: .85rem; margin-bottom: 3px; }
.ci span, .ci a { font-size: .9rem; color: var(--gray2); }
.ci a:hover { color: var(--green); }

/* contact simple (no form) */
.contact-simple {
  max-width: 600px;
}
.contact-simple > p {
  font-size: 1.05rem;
  color: var(--gray2);
  line-height: 1.75;
  margin-bottom: 40px;
}
.contact-mailto { margin-top: 12px; font-size: 1rem; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--border);
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.footer-brand img { width: 28px; height: 36px; margin-top: 2px; }
.fb-name {
  font-family: var(--fhead);
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.fb-brand-name { font-weight: 700; font-size: 1.1rem; letter-spacing: -.01em; }
.fb-consulting {
  font-size: .65rem;
  font-weight: 500;
  color: var(--gray3);
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-top: 3px;
}
.fb-tag { font-size: .78rem; color: var(--gray3); margin-top: 3px; }
.footer-nav { display: flex; gap: 32px; }
.footer-nav a { font-size: .88rem; color: var(--gray3); transition: color var(--tr); }
.footer-nav a:hover { color: var(--green); }
.footer-legal {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 18px 0;
  border-top: 1px solid var(--border);
  margin-bottom: 0;
}
.legal-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  color: var(--gray3);
}
.legal-label {
  font-weight: 600;
  color: var(--gray2);
  font-size: .75rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.legal-sep { width: 1px; height: 16px; background: var(--border); }

.footer-bottom {
  padding-top: 18px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: .8rem;
  color: var(--gray3);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-layout { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero-text h1 { font-size: 3rem; }
}

@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: fixed; top: 68px; left: 0; right: 0; background: rgba(8,8,15,.97); border-bottom: 1px solid var(--border); padding: 28px 24px; gap: 20px; }
  .nav-links.open { display: flex; }
  .burger { display: flex; }
  .expertise-layout { grid-template-columns: 1fr; gap: 48px; }
  .contact-layout { grid-template-columns: 1fr; gap: 48px; }
  .steps { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .cta-band-inner { flex-direction: column; text-align: center; }
  .cta-bolt-icon { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
}

@media (max-width: 480px) {
  .hero-text h1 { font-size: 2.3rem; }
  .hero-btns { flex-direction: column; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
}
