/* ============================================================
   Scale4Scale — styles.css
   ============================================================ */

/* ---- Polices auto-hébergées (variables, woff2) ---- */
@font-face{font-family:'Inter';font-style:normal;font-weight:400 700;font-display:optional;src:url(assets/fonts/inter-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Inter';font-style:normal;font-weight:400 700;font-display:optional;src:url(assets/fonts/inter-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:'Sora';font-style:normal;font-weight:600 800;font-display:optional;src:url(assets/fonts/sora-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Sora';font-style:normal;font-weight:600 800;font-display:optional;src:url(assets/fonts/sora-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}

:root {
  --bg:        #070b16;
  --bg-2:      #0b1120;
  --surface:   #0f172a;
  --surface-2: #131c31;
  --line:      rgba(148, 163, 184, 0.14);
  --line-2:    rgba(148, 163, 184, 0.22);
  --text:      #e8eef7;
  --muted:     #9fb0c7;
  --muted-2:   #7787a0;
  --brand:     #38bdf8;
  --brand-2:   #6366f1;
  --brand-3:   #22d3ee;
  --accent:    #818cf8;
  --grad:      linear-gradient(100deg, #38bdf8 0%, #6366f1 55%, #a855f7 100%);
  --radius:    18px;
  --radius-sm: 12px;
  --shadow:    0 30px 60px -25px rgba(2, 8, 23, 0.9);
  --maxw:      1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, .brand-name, .stat-num {
  font-family: "Sora", "Inter", sans-serif;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--brand);
  margin: 0 0 14px;
}

.section-title { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 700; margin: 0 0 18px; }

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s;
  white-space: nowrap;
}
.btn-sm { padding: 10px 18px; font-size: 0.9rem; }
.btn-primary {
  color: #04121f;
  background: var(--grad);
  box-shadow: 0 14px 30px -12px rgba(99, 102, 241, 0.7);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -14px rgba(99, 102, 241, 0.85); }
.btn-ghost {
  color: var(--text);
  border-color: var(--line-2);
  background: rgba(255, 255, 255, 0.02);
}
.btn-ghost:hover { border-color: var(--brand); color: #fff; transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(7, 11, 22, 0.72);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { display: block; width: 40px; height: 40px; }
.brand-logo.small { width: 34px; height: 34px; }
.brand-name { font-weight: 700; font-size: 1.12rem; }

.nav-links { display: flex; gap: 28px; }
.nav-links a { color: var(--muted); font-size: 0.95rem; font-weight: 500; transition: color .15s; }
.nav-links a:hover { color: var(--text); }

.nav-actions { display: flex; align-items: center; gap: 16px; }

.lang-switch { display: flex; align-items: center; gap: 4px; }
.lang-btn {
  background: none; border: none; cursor: pointer;
  color: var(--muted-2); font-weight: 600; font-size: 0.85rem;
  padding: 4px 6px; border-radius: 6px; transition: color .15s;
}
.lang-btn:hover { color: var(--text); }
.lang-btn.is-active { color: var(--brand); }
.lang-sep { color: var(--muted-2); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: .2s; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 96px 0 84px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: -20% -10% auto -10%; height: 720px; z-index: 0;
  background:
    radial-gradient(60% 55% at 20% 15%, rgba(56, 189, 248, 0.22), transparent 60%),
    radial-gradient(55% 60% at 82% 10%, rgba(168, 85, 247, 0.20), transparent 60%),
    radial-gradient(50% 50% at 55% 60%, rgba(99, 102, 241, 0.16), transparent 65%);
  filter: blur(6px);
}
.hero-inner { position: relative; z-index: 1; max-width: 880px; }
.hero-title { font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 800; margin: 0 0 22px; }
.hero-title span { display: block; }
.hero-sub { font-size: clamp(1.05rem, 1.7vw, 1.28rem); color: var(--muted); max-width: 680px; margin: 0 0 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 56px; }

.hero-stats { display: flex; flex-wrap: wrap; gap: 40px; padding-top: 34px; border-top: 1px solid var(--line); }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num { font-size: 1.35rem; font-weight: 700; color: #fff; }
.stat-label { font-size: 0.9rem; color: var(--muted-2); max-width: 190px; }

/* ---------- Sections shared ---------- */
section { position: relative; }
.section-head { max-width: 720px; margin: 0 0 48px; }
.value, .services, .method, .expertise, .benefits, .contact { padding: 90px 0; }
.value { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- Value ---------- */
.value-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center; }
.value-text p { color: var(--muted); margin: 0 0 16px; }
.value-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.value-points li {
  position: relative; padding: 16px 18px 16px 50px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-weight: 500;
}
.value-points li::before {
  content: "✓"; position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  width: 24px; height: 24px; display: grid; place-items: center;
  background: var(--grad); color: #04121f; border-radius: 7px; font-size: 0.8rem; font-weight: 800;
}

/* ---------- Services ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; transition: transform .2s ease, border-color .2s ease, background .2s;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-2); background: var(--surface-2); }
.card-icon {
  width: 48px; height: 48px; display: grid; place-items: center;
  font-size: 1.4rem; border-radius: 12px; margin-bottom: 16px;
  background: linear-gradient(150deg, rgba(56,189,248,.16), rgba(168,85,247,.16));
  border: 1px solid var(--line-2);
}
.card h3 { font-size: 1.08rem; margin: 0 0 8px; }
.card p { color: var(--muted); font-size: 0.94rem; margin: 0; }

/* ---------- Method ---------- */
.method { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; position: relative;
}
.step-num { font-family: "Sora"; font-weight: 800; font-size: 2rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { font-size: 1.15rem; margin: 12px 0 8px; }
.step p { color: var(--muted); font-size: 0.94rem; margin: 0; }

/* ---------- Expertise ---------- */
.expertise-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.expertise-text p { color: var(--muted); margin: 0; }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.tags li {
  padding: 12px 18px; border-radius: 999px; font-weight: 500; font-size: 0.95rem;
  background: var(--surface); border: 1px solid var(--line-2); color: var(--text);
  transition: border-color .18s, color .18s;
}
.tags li:hover { border-color: var(--brand); color: #fff; }

/* ---------- Benefits ---------- */
.benefit-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.benefit {
  padding: 28px 24px; border-radius: var(--radius);
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
}
.benefit h3 { font-size: 1.15rem; margin: 0 0 10px; }
.benefit h3::before { content: ""; display: block; width: 34px; height: 3px; border-radius: 3px; background: var(--grad); margin-bottom: 14px; }
.benefit p { color: var(--muted); font-size: 0.94rem; margin: 0; }

/* ---------- Contact ---------- */
.contact-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact-text p { color: var(--muted); margin: 0 0 22px; max-width: 420px; }
.contact-mail { color: var(--brand); font-weight: 600; font-size: 1.05rem; }
.contact-address {
  display: block; margin-top: 22px; font-style: normal; line-height: 1.6;
  color: var(--muted); font-size: 0.98rem;
}
.contact-address .addr-label {
  display: block; text-transform: uppercase; letter-spacing: 0.14em;
  font-size: 0.72rem; font-weight: 600; color: var(--muted-2); margin-bottom: 6px;
}
.contact-address strong { display: block; color: var(--text); font-weight: 600; }
.contact-address .addr-ein { display: inline-block; margin-top: 6px; font-size: 0.9rem; color: var(--muted-2); }
.contact-form {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; display: grid; gap: 16px; box-shadow: var(--shadow);
}
.field { display: grid; gap: 7px; }
.field label { font-size: 0.86rem; font-weight: 600; color: var(--muted); }
.field input, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: var(--radius-sm);
  background: var(--bg-2); border: 1px solid var(--line-2); color: var(--text);
  font-family: inherit; font-size: 0.96rem; resize: vertical; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.18);
}
.contact-form .btn { margin-top: 4px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 4px 0 0; font-size: 0.92rem; color: var(--brand-3); font-weight: 500; }
.form-note.error { color: #fca5a5; }
.contact-form.sending .btn { opacity: 0.6; pointer-events: none; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; background: var(--bg-2); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand p { margin: 2px 0 0; color: var(--muted-2); font-size: 0.9rem; }
.footer-copy { color: var(--muted); font-size: 0.88rem; margin: 0; }
.footer-copy a { color: var(--text); text-decoration: underline; }
.footer-copy a:hover { color: var(--brand); }

/* ---------- Reveal animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .cards, .steps, .benefit-cards { grid-template-columns: repeat(2, 1fr); }
  .value-grid, .expertise-grid, .contact-inner { grid-template-columns: 1fr; gap: 36px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .site-header.open .nav-links {
    display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column;
    gap: 4px; padding: 16px 24px 24px; background: var(--bg-2); border-bottom: 1px solid var(--line);
  }
  .site-header.open .nav-links a { padding: 10px 0; }
}
@media (max-width: 560px) {
  .cards, .steps, .benefit-cards { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 60px; }
  .value, .services, .method, .expertise, .benefits, .contact { padding: 64px 0; }
  .hero-stats { gap: 24px; }
  .btn-primary.btn-sm { display: none; }
  .contact-form { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { transition: none; opacity: 1; transform: none; }
}
