@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@400;600;700&family=Work+Sans:wght@400;500;600&family=DM+Mono:wght@400;500&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0f1012;
  --bg-surface: #16181c;
  --bg-elevated: #1e2026;
  --text: #dedad2;
  --text-muted: #6e6c67;
  --text-dim: #9a9690;
  --accent: #cf5e08;
  --accent-hover: #e87232;
  --border: #242629;
  --border-light: #2e3035;
  --mono: #4a8c5c;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Work Sans', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Roboto Slab', serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
}

a { color: inherit; text-decoration: none; }

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 3px; }

/* ─── NAV ─── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 16, 18, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Roboto Slab', serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text);
  width: 10%;
}

.nav-logo span {
  color: var(--accent);
}

.nav-logo img {
  margin-top: 10px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0.02em;
  transition: color 0.15s;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--text);
}

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 0.5rem 1.2rem;
  font-weight: 600 !important;
  letter-spacing: 0.03em;
  transition: background 0.15s !important;
}

.nav-cta:hover {
  background: var(--accent-hover) !important;
  color: #fff !important;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 0.2s;
}

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 4rem 6rem 0;
  max-width: 1200px;
  grid-column: 1;
}

.hero-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
}

.hero-section {
  min-height: 88vh;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 70% 50%, rgba(207, 94, 8, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  margin-bottom: 1.5rem;
  color: #fff;
}

.hero-title em {
  font-style: normal;
  color: var(--accent);
}

.hero-sub {
  font-size: 1.0625rem;
  color: var(--text-dim);
  max-width: 44ch;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-img {
  position: relative;
  height: 100%;
  min-height: 400px;
  overflow: hidden;
}

.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(30%) brightness(0.6);
}

.hero-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--bg) 0%, transparent 40%);
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Work Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.75rem 1.6rem;
  border-radius: 2px;
  cursor: pointer;
  border: none;
  transition: all 0.15s;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-light);
}

.btn-outline:hover {
  border-color: var(--text-dim);
  color: #fff;
}

/* ─── SECTIONS ─── */
.section {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-full {
  padding: 5rem 2rem;
}

.section-full > * {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.section-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
  display: block;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
}

.section-sub {
  color: var(--text-dim);
  max-width: 52ch;
  font-size: 1rem;
  line-height: 1.7;
}

/* ─── DIVIDER ─── */
.divider {
  height: 1px;
  background: var(--border);
  margin: 0 2rem;
}

/* ─── METRICS BAR ─── */
.metrics-bar {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 2rem;
}

.metrics-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.metric {
  text-align: center;
  padding: 1rem;
  border-right: 1px solid var(--border);
}

.metric:last-child { border-right: none; }

.metric-value {
  font-family: 'Roboto Slab', serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: #fff;
  display: block;
}

.metric-value em {
  font-style: normal;
  color: var(--accent);
}

.metric-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.4rem;
  display: block;
}

/* ─── EXPERTISE GRID ─── */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 3rem;
}

.expertise-card {
  background: var(--bg);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: background 0.2s;
}

.expertise-card:hover {
  background: var(--bg-surface);
}

.expertise-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--accent);
  transition: height 0.25s;
}

.expertise-card:hover::before {
  height: 100%;
}

.expertise-icon {
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  display: block;
}

.expertise-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.expertise-card p {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.65;
}

/* ─── SERVICES LIST ─── */
.services-list {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
}

.service-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.15s;
}

.service-item:last-child { border-bottom: none; }

.service-item:hover { background: var(--bg-surface); }

.service-num {
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  color: var(--text-muted);
  padding: 2rem 1rem 2rem 1.5rem;
  border-right: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  padding-top: 2.1rem;
}

.service-body {
  padding: 2rem 2rem 2rem 1.5rem;
}

.service-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.service-title {
  font-size: 1.125rem;
  font-weight: 600;
}

.service-toggle {
  font-size: 1.25rem;
  color: var(--text-muted);
  transition: transform 0.2s, color 0.2s;
  flex-shrink: 0;
}

.service-item.open .service-toggle {
  transform: rotate(45deg);
  color: var(--accent);
}

.service-desc {
  display: none;
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.7;
  margin-top: 1rem;
  max-width: 64ch;
}

.service-item.open .service-desc {
  display: block;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.service-tag {
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mono);
  border: 1px solid #2a4235;
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
}

/* ─── RÉALISATIONS ─── */
.real-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.real-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.2s;
}

.real-card:hover { border-color: var(--border-light); }

.real-img {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: var(--bg-elevated);
}

.real-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(40%) brightness(0.65);
  transition: filter 0.3s, transform 0.4s;
}

.real-card:hover .real-img img {
  filter: grayscale(20%) brightness(0.75);
  transform: scale(1.03);
}

.real-body {
  padding: 1.5rem;
}

.real-sector {
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  display: block;
}

.real-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.real-card p {
  font-size: 0.875rem;
  color: var(--text-dim);
  line-height: 1.6;
}

.real-outcome {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.82rem;
  color: var(--mono);
  font-family: 'DM Mono', monospace;
}

.real-outcome::before {
  content: '↑';
  font-size: 0.9rem;
}

/* ─── PROCESS ─── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  margin-top: 3rem;
}

.process-step {
  padding: 2rem;
  border-right: 1px solid var(--border);
  position: relative;
}

.process-step:last-child { border-right: none; }

.process-n {
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 1rem;
  display: block;
}

.process-step h3 {
  font-size: 0.975rem;
  margin-bottom: 0.6rem;
}

.process-step p {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ─── CTA STRIP ─── */
.cta-strip {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 4rem 2rem;
}

.cta-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-inner h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.cta-inner p {
  color: var(--text-dim);
  margin-top: 0.4rem;
  font-size: 0.95rem;
}

/* ─── PAGE HERO ─── */
.page-hero {
  padding: 4rem 2rem 3rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.page-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* ─── CONTACT PAGE ─── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 4rem;
  align-items: start;
  margin-top: 3rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  text-transform: uppercase;
}

.form-group input,
.form-group textarea,
.form-group select {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  color: var(--text);
  font-family: 'Work Sans', sans-serif;
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  border-radius: 2px;
  outline: none;
  transition: border-color 0.15s;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-group select option {
  background: var(--bg-surface);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-info {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  padding: 2.5rem;
}

.contact-info h3 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.info-item {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.info-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.info-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.3rem;
}

.info-value {
  font-size: 0.95rem;
  color: var(--text);
}

.urgency-banner {
  background: rgba(207, 94, 8, 0.1);
  border: 1px solid rgba(207, 94, 8, 0.25);
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
  border-radius: 2px;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.urgency-banner .icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.urgency-banner p {
  font-size: 0.875rem;
  color: var(--text-dim);
  line-height: 1.6;
}

.urgency-banner strong {
  color: var(--accent);
}

.error-banner {
  background: rgba(207, 8,27, 0.15);
  border: 1px solid rgba(207, 8, 8, 0.24);
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
  border-radius: 2px;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.error-banner p {
  font-size: 0.875rem;
  color: var(--text-dim);
  line-height: 1.6;
}

.error-banner strong {
  color: #f00101;
}

/* ─── FOOTER ─── */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 3rem 2rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}

.footer-logo {
  display: flex;
  width: 20%;
  margin-top: 10px;
}

.footer-brand h3 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}

.footer-brand h3 span { color: var(--accent); }

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 34ch;
  line-height: 1.65;
}

.footer-col h4 {
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col ul li a {
  font-size: 0.875rem;
  color: var(--text-dim);
  transition: color 0.15s;
}

.footer-col ul li a:hover {
  color: var(--text);
}

.footer-bottom {
  max-width: 1200px;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .hero-wrapper { grid-template-columns: 1fr; gap: 0; }
  .hero-img { display: none; }
  .hero-section { min-height: 70vh; }
  .hero-content { padding: 5rem 0; }
  .hero-title { font-size: 2.25rem; }
  .metrics-inner { grid-template-columns: repeat(2, 1fr); }
  .metric { border-right: none; border-bottom: 1px solid var(--border); }
  .metric:nth-child(odd) { border-right: 1px solid var(--border); }
  .metric:nth-child(3), .metric:nth-child(4) { border-bottom: none; }
  .expertise-grid { grid-template-columns: 1fr; }
  .real-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-step:nth-child(2) { border-right: none; }
  .process-step:nth-child(3) { border-top: 1px solid var(--border); }
  .process-step:nth-child(4) { border-right: none; border-top: 1px solid var(--border); }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 680px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 2rem;
    gap: 1rem;
    z-index: 99;
  }
  .nav-hamburger { display: flex; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .section { padding: 3.5rem 1.5rem; }
  .process-steps { grid-template-columns: 1fr; }
  .process-step { border-right: none !important; border-bottom: 1px solid var(--border); }
  .process-step:last-child { border-bottom: none; }
  .metrics-inner { grid-template-columns: 1fr 1fr; }
  .hero-section { min-height: auto; }
}

.form-success {
  background: rgba(74, 140, 92, 0.1);
  border: 1px solid rgba(74, 140, 92, 0.3);
  padding: 1.5rem;
  border-radius: 2px;
  color: var(--mono);
  font-family: 'DM Mono', monospace;
  font-size: 0.875rem;
  line-height: 1.6;
}
.form-success.show { display: block; }
.checkbox-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--text-dim);
  user-select: none;
}
.checkbox-item input[type="checkbox"] {
  appearance: none;
  width: 16px;
  height: 16px;
  border: 1px solid var(--border-light);
  background: var(--bg-surface);
  border-radius: 2px;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  transition: border-color 0.15s, background 0.15s;
}
.checkbox-item input[type="checkbox"]:checked {
  background: var(--accent);
  border-color: var(--accent);
}
.checkbox-item input[type="checkbox"]:checked::after {
  content: '✓';
  position: absolute;
  top: -1px;
  left: 2px;
  font-size: 11px;
  color: #fff;
  font-weight: 700;
}
.urgency-options {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}
.urgency-opt {
  flex: 1;
  min-width: 140px;
  border: 1px solid var(--border-light);
  background: var(--bg-surface);
  padding: 0.75rem 1rem;
  cursor: pointer;
  border-radius: 2px;
  transition: border-color 0.15s, background 0.15s;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.urgency-opt input[type="radio"] { display: none; }
.urgency-opt:has(input:checked) {
  border-color: var(--accent);
  background: rgba(207,94,8,0.08);
}
.urgency-opt .opt-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
}
.urgency-opt .opt-sub {
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}
