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

:root {
  --orange:  #FF5F1F;
  --yellow:  #FFD600;
  --lime:    #B4E600;
  --teal:    #00C3AF;
  --purple:  #7453EA;
  --hot:     #FF2D78;
  --navy:    #0F1432;
  --white:   #FFFFFF;
  --cream:   #FFFCF0;
  --grey:    #F4F4F0;
  --text:    #1a1a2e;
  --muted:   #6b6b8a;

  --font-display: 'Big Shoulders Display', sans-serif;
  --font-body:    'Work Sans', sans-serif;
  --font-mono:    'IBM Plex Mono', monospace;

  --radius: 20px;
  --radius-sm: 10px;
  --shadow: 0 4px 32px rgba(15,20,50,.10);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--font-display); line-height: 1; }
h2 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 900; }
h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: .5rem; }
p  { line-height: 1.6; }
a  { text-decoration: none; color: inherit; }
img { display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.c-orange { color: var(--orange); }
.c-yellow { color: var(--yellow); }
.c-purple { color: var(--purple); }
.c-teal   { color: var(--teal); }

/* ─── BUTTONS ───────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  padding: .75rem 1.5rem;
  border-radius: 100px;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
  border: 3px solid transparent;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.15); }

.btn-primary  { background: var(--navy); color: var(--white); }
.btn-outline  { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-nav      { background: var(--yellow); color: var(--navy); font-size: .9rem; padding: .55rem 1.2rem; }
.btn-submit   {
  background: var(--orange); color: var(--white);
  font-size: 1.1rem; padding: 1rem 2rem;
  border-radius: var(--radius-sm); width: 100%;
  font-family: var(--font-display); font-weight: 700; letter-spacing: .02em;
}

/* ─── LABELS ────────────────────────────────────── */
.label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--purple);
  background: rgba(116,83,234,.1);
  padding: .3rem .8rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}
.label-light { background: rgba(255,255,255,.2); color: var(--white); }

.section-header { margin-bottom: 3.5rem; }

/* ─── NAV ───────────────────────────────────────── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--navy);
  border-bottom: 2px solid rgba(255,255,255,.08);
  transition: box-shadow .2s;
}
#nav.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.3); }

.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; gap: 2rem;
  padding: .9rem 2rem;
}
.logo-text {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 2.4rem;
  color: var(--purple);
  letter-spacing: .02em;
}
.logo-text-footer {
  font-size: 1rem;
  opacity: .7;
}
.nav-links {
  display: flex; gap: 2rem; list-style: none; margin-left: auto;
}
.nav-links a {
  font-weight: 600; font-size: .95rem;
  color: rgba(255,255,255,.65);
  transition: color .15s;
}
.nav-links a:hover { color: var(--white); }
.nav-burger { display: none; background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer; }
.mobile-only { display: none; }

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

.hero-stripe-bg {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    var(--yellow) 0px,
    var(--yellow) 28px,
    #f5c800 28px,
    #f5c800 56px
  );
  z-index: 0;
}

.hero-card {
  position: relative; z-index: 1;
  background: var(--white);
  border-radius: var(--radius);
  margin: 2rem;
  width: calc(100% - 4rem);
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  overflow: hidden;
  box-shadow: 0 20px 80px rgba(0,0,0,.2);
  min-height: calc(100vh - 72px - 4rem);
}

.hero-left {
  padding: 4rem 3rem;
  display: flex; flex-direction: column; justify-content: center;
}
.hero-logo-mobile { display: none; margin-bottom: 2rem; }

.hero-title {
  font-size: clamp(4rem, 8vw, 7.5rem);
  font-weight: 900;
  line-height: .95;
  display: flex; flex-direction: column;
}

.hero-right {
  background: var(--teal);
  padding: 4rem 3rem;
  display: flex; flex-direction: column; justify-content: center;
  gap: 1.5rem;
}

.hero-sub {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
}

.hero-pills {
  display: flex; flex-wrap: wrap; gap: .6rem;
}
.pill {
  font-weight: 700; font-size: .9rem;
  padding: .4rem 1rem; border-radius: 100px;
  color: var(--white);
}
.pill-navy   { background: var(--navy); }
.pill-orange { background: var(--orange); }
.pill-purple { background: var(--purple); }
.pill-yellow { background: var(--yellow); color: var(--navy); }
.pill-hot    { background: var(--hot); }
.pill-lime   { background: var(--lime); color: var(--navy); }
.pill-teal   { background: var(--teal); color: var(--white); }

.hero-desc { color: rgba(255,255,255,.85); font-size: 1.1rem; }

/* ─── TERMINAL ──────────────────────────────────── */
.terminal {
  background: var(--navy);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,.3);
  flex-shrink: 0;
}
.terminal-bar {
  background: #1e2340;
  padding: .6rem 1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.terminal-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot-red    { background: #FF5F57; }
.dot-yellow { background: #FFBD2E; }
.dot-green  { background: #28C840; }
.terminal-title {
  font-family: var(--font-mono);
  font-size: .75rem;
  color: rgba(255,255,255,.4);
  margin-left: .5rem;
}
.terminal-body {
  padding: 1rem 1.2rem;
  height: 220px;
  overflow: hidden;
  position: relative;
}
.terminal-prompt {
  font-family: var(--font-mono);
  font-size: .82rem;
  color: var(--purple);
  margin-bottom: .6rem;
}
.terminal-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .18rem;
}
.terminal-list li {
  font-family: var(--font-mono);
  font-size: .8rem;
  color: rgba(255,255,255,.75);
  white-space: nowrap;
}
.terminal-list li::before {
  content: "✓ ";
  color: #28C840;
}
.terminal-list li.new {
  color: var(--yellow);
}
.terminal-cursor {
  font-family: var(--font-mono);
  font-size: .85rem;
  color: var(--yellow);
  animation: blink 1s step-end infinite;
  position: absolute;
  bottom: 1rem;
  left: 1.2rem;
}
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }

.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-ctas .btn-primary  { background: var(--white); color: var(--teal); }
.hero-ctas .btn-outline  { border-color: var(--white); color: var(--white); }

.hero-stats {
  display: flex; gap: 1.5rem;
  background: var(--navy);
  border-radius: var(--radius-sm);
  padding: 1.2rem 1.5rem;
  margin-top: auto;
  justify-content: space-between;
}
.stat { display: flex; flex-direction: column; }
.stat strong {
  font-family: var(--font-display);
  font-size: 1.8rem; font-weight: 900;
  color: var(--yellow); line-height: 1;
}
.stat span { font-size: .8rem; color: rgba(255,255,255,.6); margin-top: .2rem; }

/* ─── SERVICES ───────────────────────────────────── */
#services { padding: 6rem 0; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service-card {
  border-radius: var(--radius);
  padding: 2.5rem;
  color: var(--white);
  display: flex; flex-direction: column; gap: .8rem;
}
.card-teal   { background: var(--teal); }
.card-orange { background: var(--orange); }
.card-purple { background: var(--purple); }
.card-navy   { background: var(--navy); }

.service-icon { font-size: 2.5rem; }
.service-card p { opacity: .9; font-size: .95rem; line-height: 1.6; }
.service-example {
  font-family: var(--font-mono);
  font-size: .78rem;
  opacity: .7;
  border-left: 3px solid rgba(255,255,255,.4);
  padding-left: .8rem;
  margin-top: auto;
}

/* ─── PROCESS ────────────────────────────────────── */
#process {
  background: var(--navy);
  padding: 6rem 0;
  color: var(--white);
}
#process .label { background: rgba(255,255,255,.12); color: rgba(255,255,255,.7); }
#process h2 { color: var(--white); }

.process-steps {
  display: flex; align-items: stretch;
  gap: 1rem; flex-wrap: wrap;
}
.step {
  flex: 1; min-width: 200px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 2rem;
  align-self: stretch;
}
.step-number {
  font-family: var(--font-display);
  font-size: 3.5rem; font-weight: 900;
  color: var(--yellow); line-height: 1;
  margin-bottom: .8rem;
}
.step h3 { color: var(--white); margin-bottom: .5rem; }
.step p  { color: rgba(255,255,255,.65); font-size: .92rem; }

.step-arrow {
  font-family: var(--font-display);
  font-size: 2.5rem; font-weight: 900;
  color: var(--orange);
  align-self: center; flex-shrink: 0;
}

/* ─── PROJETS ────────────────────────────────────── */
#projets { padding: 6rem 0; }

.projets-placeholder {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.placeholder-card {
  background: var(--grey);
  border: 3px dashed #ccc;
  border-radius: var(--radius);
  padding: 3rem;
  text-align: center;
  display: flex; flex-direction: column;
  align-items: center; gap: 1rem;
}
.placeholder-card-alt {
  background: var(--yellow);
  border-color: var(--orange);
}
.placeholder-icon { font-size: 3rem; }
.placeholder-card p { font-size: 1.2rem; line-height: 1.5; }
.placeholder-tag {
  font-family: var(--font-mono); font-size: .78rem;
  background: var(--navy); color: var(--white);
  padding: .3rem .8rem; border-radius: 100px;
}

/* ─── TÉMOIGNAGES ────────────────────────────────── */
#temoignages { background: var(--grey); padding: 6rem 0; }

.temoignages-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.temoignage-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  display: flex; flex-direction: column; gap: 1.5rem;
  box-shadow: var(--shadow);
}
.temoignage-card-dark { background: var(--purple); color: var(--white); }

.temoignage-quote {
  font-size: 1.15rem; line-height: 1.6;
  font-style: italic;
}
.temoignage-card-dark .temoignage-quote { color: rgba(255,255,255,.9); }

.temoignage-author {
  display: flex; align-items: center; gap: 1rem;
}
.author-avatar {
  font-size: 2.2rem;
  background: var(--cream);
  border-radius: 50%;
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
}
.temoignage-author strong { display: block; font-weight: 700; }
.temoignage-author span  { font-size: .85rem; color: var(--muted); }
.temoignage-card-dark .temoignage-author span { color: rgba(255,255,255,.6); }

.temoignage-cta {
  font-weight: 700; color: var(--yellow);
  font-size: .9rem; margin-top: auto;
  transition: opacity .15s;
}
.temoignage-cta:hover { opacity: .7; }

/* ─── FAQ ────────────────────────────────────────── */
#faq { padding: 6rem 0; }

.faq-list { display: flex; flex-direction: column; gap: 1rem; max-width: 800px; }

.faq-item {
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  overflow: hidden;
  transition: border-color .2s;
  box-shadow: var(--shadow);
}
.faq-item[open] { border-color: var(--purple); }

.faq-item summary {
  font-family: var(--font-body);
  font-weight: 700; font-size: 1.05rem;
  padding: 1.4rem 1.5rem;
  cursor: pointer;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  transition: background .15s;
}
.faq-item summary:hover { background: var(--grey); }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--purple); transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary::-webkit-details-marker { display: none; }

.faq-item p {
  padding: 0 1.5rem 1.4rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ─── CONTACT ────────────────────────────────────── */
#contact {
  background: var(--navy);
  padding: 6rem 0;
  color: var(--white);
}

.contact-inner {
  max-width: 760px; margin: 0 auto; padding: 0 2rem;
}
.contact-header { margin-bottom: 3rem; }
.contact-header h2 { color: var(--white); }
.contact-header p  { color: rgba(255,255,255,.6); font-size: 1.1rem; margin-top: 1rem; }
.contact-phone {
  display: inline-block;
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--yellow);
  letter-spacing: .02em;
  transition: opacity .15s;
}
.contact-phone:hover { opacity: .8; }

.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }

label {
  font-weight: 600; font-size: .9rem;
  color: rgba(255,255,255,.7);
}
input, textarea {
  background: rgba(255,255,255,.08);
  border: 2px solid rgba(255,255,255,.12);
  border-radius: var(--radius-sm);
  padding: .85rem 1rem;
  color: var(--white);
  font-family: var(--font-body); font-size: 1rem;
  transition: border-color .2s;
  resize: vertical;
}
input::placeholder, textarea::placeholder { color: rgba(255,255,255,.3); }
input:focus, textarea:focus {
  outline: none;
  border-color: var(--yellow);
}

/* ─── FOOTER ─────────────────────────────────────── */
footer {
  background: #080b1a;
  padding: 2.5rem 0;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center;
  flex-wrap: wrap; gap: 1rem 2rem;
}
.footer-logo { filter: brightness(0) invert(1) opacity(.7); }
.footer-tagline {
  font-family: var(--font-mono); font-size: .8rem;
  color: rgba(255,255,255,.4);
}
.footer-nav { display: flex; gap: 1.5rem; margin-left: auto; }
.footer-nav a { color: rgba(255,255,255,.5); font-size: .9rem; font-weight: 600; transition: color .15s; }
.footer-nav a:hover { color: var(--white); }
.footer-copy { width: 100%; font-size: .8rem; color: rgba(255,255,255,.3); }

/* ─── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 900px) {
  /* NAV */
  .nav-inner { padding: .7rem 1.2rem; gap: 1rem; }
  .logo-text { font-size: 1.6rem; }
  .btn-nav { display: none; }
  .nav-burger { display: block; margin-left: auto; font-size: 1.8rem; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--navy);
    padding: 1.2rem 1.5rem 2rem;
    gap: 1.2rem;
    border-top: 1px solid rgba(255,255,255,.1);
  }
  .nav-links.open li a { font-size: 1.1rem; color: var(--white); }
  .mobile-only { display: block; }

  /* HERO */
  .hero-card { grid-template-columns: 1fr; margin: 1rem; width: calc(100% - 2rem); }
  .hero-left { padding: 2.5rem 1.5rem 1rem; }
  .hero-logo-mobile { display: block; }
  .hero-right { padding: 1.5rem; gap: 1.2rem; }
  .terminal { font-size: .75rem; }
  .terminal-body { height: 180px; }

  /* SECTIONS */
  .services-grid { grid-template-columns: 1fr; }
  .process-steps { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); align-self: center; }
  .projets-placeholder { grid-template-columns: 1fr; }
  .temoignages-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-nav { margin-left: 0; }

  /* STATS */
  .hero-stats { gap: 1rem; padding: 1rem; }
  .stat strong { font-size: 1.3rem; }
}
