/* ===========================
   CREASITE ALSACE — style.css
   =========================== */

:root {
  --blue: #1A5CFF;
  --blue-dark: #0D3BCC;
  --blue-light: #EEF3FF;
  --blue-mid: #4A7FFF;
  --dark: #0F0F14;
  --dark2: #1C1C26;
  --gray: #6B6B80;
  --gray-light: #F4F4F8;
  --border: #E2E2EC;
  --white: #FFFFFF;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 2px 20px rgba(26,92,255,0.08);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

/* ========== LAYOUT ========== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== NAVIGATION ========== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.06); }

.nav-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 16px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
  white-space: nowrap;
}
.logo-mark {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}
.logo-accent { color: var(--blue); }

.nav-links {
  display: flex;
  gap: 1.75rem;
  margin-left: auto;
}
.nav-links a {
  font-size: 14px;
  color: var(--gray);
  font-weight: 400;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--dark); }

.btn-nav {
  background: var(--blue);
  color: var(--white);
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  font-family: var(--font-body);
  transition: background 0.2s, transform 0.1s;
  white-space: nowrap;
}
.btn-nav:hover { background: var(--blue-dark); transform: translateY(-1px); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.3s;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  gap: 4px;
}
.mobile-menu a {
  padding: 10px 0;
  font-size: 15px;
  color: var(--dark);
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu .btn-nav { margin-top: 8px; text-align: center; display: block; }
.mobile-menu.open { display: flex; }

/* ========== HERO ========== */
.hero {
  position: relative;
  padding: 100px 0 80px;
  overflow: hidden;
  background: var(--white);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.06;
  background: var(--blue);
}
.hero-shape.s1 { width: 600px; height: 600px; top: -200px; right: -100px; }
.hero-shape.s2 { width: 300px; height: 300px; bottom: -80px; left: 10%; background: var(--blue-mid); opacity: 0.05; }
.hero-shape.s3 { width: 150px; height: 150px; top: 30%; left: 5%; opacity: 0.04; }

.hero .container { position: relative; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-light);
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 99px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(26,92,255,0.15);
  animation: fadeUp 0.6s ease both;
}
.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 1.25rem;
  animation: fadeUp 0.6s 0.1s ease both;
}
.hero-title em {
  font-style: normal;
  color: var(--blue);
  position: relative;
}
.hero-title em::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--blue);
  border-radius: 2px;
  opacity: 0.3;
}

.hero-sub {
  font-size: 17px;
  color: var(--gray);
  max-width: 500px;
  line-height: 1.7;
  margin-bottom: 2rem;
  animation: fadeUp 0.6s 0.2s ease both;
}

.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  animation: fadeUp 0.6s 0.3s ease both;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); }

.btn-secondary {
  background: transparent;
  color: var(--dark);
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 400;
  border: 1px solid var(--border);
  transition: border-color 0.2s, background 0.2s;
}
.btn-secondary:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-light); }

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  animation: fadeUp 0.6s 0.4s ease both;
}
.hstat { text-align: left; }
.hstat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.5px;
}
.hstat span {
  font-size: 13px;
  color: var(--gray);
}
.hstat-sep {
  width: 1px;
  height: 36px;
  background: var(--border);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========== SECTIONS ========== */
.section { padding: 80px 0; }
.section-alt { background: var(--gray-light); }

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.75rem;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.2;
  color: var(--dark);
}

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

.svc-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.svc-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.svc-icon {
  width: 44px;
  height: 44px;
  background: var(--blue-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  margin-bottom: 1rem;
}
.svc-card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--dark);
}
.svc-card p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.65;
}

/* ========== PROCESS ========== */
.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 16px;
  align-items: start;
}

.step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.step:hover { border-color: var(--blue); box-shadow: var(--shadow); }

.step-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--blue);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 0.75rem;
}
.step-content h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--dark);
}
.step-content p {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.6;
}
.step-arrow {
  font-size: 20px;
  color: var(--blue);
  opacity: 0.4;
  padding-top: 1.5rem;
  align-self: center;
}

/* ========== MÉTIERS ========== */
.metiers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.metier {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: border-color 0.2s, background 0.2s;
}
.metier:hover { border-color: var(--blue); background: var(--blue-light); }
.metier span { font-size: 18px; }

/* ========== AVANTAGES ========== */
.avantages {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.avantage {
  display: flex;
  gap: 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.av-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.avantage h3 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--dark);
}
.avantage p {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.6;
}

/* ========== CONTACT ========== */
.section-contact {
  background: var(--dark);
  padding: 80px 0;
}
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}
.contact-left .section-label { color: var(--blue-mid); }
.contact-left h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1rem;
}
.contact-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-bottom: 2rem;
}
.contact-infos { display: flex; flex-direction: column; gap: 12px; }
.contact-info {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}
.contact-info svg { color: var(--blue-mid); flex-shrink: 0; }

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-group label { font-size: 13px; font-weight: 500; color: var(--dark); }
.form-group input,
.form-group textarea {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--blue); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: #B0B0C0; }

.btn-submit {
  width: 100%;
  background: var(--blue);
  color: var(--white);
  border: none;
  padding: 13px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
  font-family: var(--font-body);
  cursor: pointer;
  transition: background 0.2s;
}
.btn-submit:hover { background: var(--blue-dark); }

.form-success {
  display: none;
  margin-top: 12px;
  background: #EDFAF3;
  color: #1A7A45;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  text-align: center;
  border: 1px solid #B6EAD0;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--dark2);
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
}
.footer .logo-accent { color: var(--blue-mid); }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.35); }

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .nav-links, .btn-nav { display: none; }
  .burger { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step-arrow { display: none; }
  .metiers-grid { grid-template-columns: repeat(2, 1fr); }
  .avantages { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 600px) {
  .hero { padding: 60px 0 50px; }
  .hero-stats { flex-wrap: wrap; gap: 1.5rem; }
  .hstat-sep { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .metiers-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { flex-direction: column; text-align: center; }
}
