/* ============ TOKENS ============ */
:root {
  --navy-deep: #11163d;
  --navy: #1e2d8c;
  --navy-soft: #3a4aa8;
  --gray: #8a8a8a;
  --gray-light: #eef0f6;
  --bg: #f7f8fb;
  --accent: #2bb8a8;
  --accent-bright: #3dd6c4;
  --ink: #1c1f2e;
  --ink-soft: #565b73;
  --white: #ffffff;

  --font-display: 'Space Grotesk', Arial, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --container: 1140px;
  --radius: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy-deep);
  line-height: 1.15;
}

:focus-visible {
  outline: 3px solid var(--accent-bright);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  font-family: var(--font-body);
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--navy);
  color: var(--white);
}
.btn-primary:hover { background: var(--navy-soft); }

.btn-accent {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(43, 184, 168, 0.3);
}
.btn-accent:hover { background: var(--accent-bright); box-shadow: 0 10px 24px rgba(43, 184, 168, 0.4); }

.btn-ghost {
  background: transparent;
  color: var(--navy-deep);
  border: 1.5px solid rgba(17, 22, 61, 0.18);
}
.btn-ghost:hover { border-color: var(--navy-deep); background: rgba(17,22,61,0.04); }

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 248, 251, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(17, 22, 61, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 100px;
}

.logo-img {
  height: 90px;
  width: auto;
}

.main-nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
  font-weight: 500;
  font-size: 0.95rem;
}

.main-nav a {
  color: var(--ink-soft);
  transition: color 0.15s ease;
}
.main-nav a:hover { color: var(--navy); }

.nav-cta { margin-left: 8px; flex-shrink: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--navy-deep);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: var(--white);
  overflow: hidden;
  padding: 96px 0 80px;
}

.hero-arcs {
  position: absolute;
  top: 50%;
  right: -10%;
  width: 900px;
  height: 900px;
  transform: translateY(-50%);
  pointer-events: none;
}
.hero-arcs svg { width: 100%; height: 100%; }

.hero-inner { position: relative; z-index: 1; max-width: 680px; }

.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: var(--white);
  font-weight: 700;
  margin-bottom: 22px;
  letter-spacing: -0.01em;
}

.hero-lede {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.78);
  max-width: 560px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}
.hero .btn-ghost {
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}
.hero .btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}

.hero-stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.stat { display: flex; flex-direction: column; }
.stat-num {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--accent-bright);
}
.stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  margin-top: 2px;
}

/* ============ SECTION COMMON ============ */
section { padding: 96px 0; }

.section-eyebrow {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-eyebrow.light { color: var(--accent-bright); }

.section-title {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  font-weight: 700;
  max-width: 640px;
  margin-bottom: 44px;
}
.section-title.light { color: var(--white); }

/* ============ SERVICES ============ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 30px;
  border: 1px solid rgba(17,22,61,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(17,22,61,0.08);
}

.service-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(43, 184, 168, 0.1);
  color: var(--accent);
  margin-bottom: 22px;
}
.service-icon svg { width: 28px; height: 28px; }

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--ink-soft);
  font-size: 0.96rem;
  margin-bottom: 20px;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.service-list li {
  font-size: 0.88rem;
  color: var(--navy-deep);
  font-weight: 500;
  padding-left: 18px;
  position: relative;
}
.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

/* ============ POURQUOI ============ */
.pourquoi { background: var(--white); }

.pourquoi-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
}

.pourquoi-lede {
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.pourquoi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 32px;
}

.pourquoi-item h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--navy-deep);
}
.pourquoi-item p {
  color: var(--ink-soft);
  font-size: 0.94rem;
}

/* ============ A PROPOS ============ */
.apropos-inner { max-width: 760px; }
.apropos-text {
  color: var(--ink-soft);
  font-size: 1.04rem;
}

/* ============ CONTACT ============ */
.contact {
  position: relative;
  background: linear-gradient(170deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  overflow: hidden;
}

.contact-arcs {
  position: absolute;
  top: 50%;
  left: -15%;
  width: 800px;
  height: 800px;
  transform: translateY(-50%);
  pointer-events: none;
}
.contact-arcs svg { width: 100%; height: 100%; }

.contact-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 64px;
}

.contact-lede {
  color: rgba(255,255,255,0.75);
  font-size: 1.02rem;
  max-width: 460px;
  margin-bottom: 36px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.contact-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.5);
}

.contact-value {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
}
a.contact-detail:hover .contact-value { color: var(--accent-bright); }

.contact-form {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 36px;
  backdrop-filter: blur(6px);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 18px;
}

.form-row label {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
}

.form-row input,
.form-row textarea {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  padding: 11px 14px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  resize: vertical;
}
.form-row input::placeholder,
.form-row textarea::placeholder { color: rgba(255,255,255,0.4); }
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent-bright);
  background: rgba(255,255,255,0.12);
}

.form-submit { width: 100%; margin-top: 4px; }

.form-note {
  font-size: 0.88rem;
  margin-top: 14px;
  min-height: 1.2em;
  color: var(--accent-bright);
}

/* ============ FOOTER ============ */
.site-footer {
  background: var(--navy-deep);
  padding: 36px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-logo {
  height: 32px;
  opacity: 0.85;
}

.footer-copy {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 860px) {
  .services-grid { grid-template-columns: 1fr; }
  .pourquoi-inner { grid-template-columns: 1fr; gap: 36px; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  section { padding: 64px 0; }
  .hero { padding: 64px 0 56px; }
}

@media (max-width: 680px) {
  .main-nav { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--bg);
    padding: 20px 28px;
    gap: 18px;
    border-bottom: 1px solid rgba(17,22,61,0.08);
  }

  .hero-stats { gap: 28px; }
  .pourquoi-grid { grid-template-columns: 1fr; }
  .hero-arcs { width: 600px; height: 600px; right: -30%; }
}
