/* ─────────────────────────────────────
   VARIABLES & RESET
───────────────────────────────────── */
:root {
  --orange: #E8460A;
  --orange-light: #FFF4F1;
  --dark: #0E0E0E;
  --mid: #64748B;
  --light: #F8FAFC;
  --border: #E8E8E4;
  --white: #FFFFFF;
  --bg: #FAFAF8;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--dark);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─────────────────────────────────────
   NAVIGATION
───────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250, 250, 248, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 40px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
}
.nav-logo-name {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.02em;
  line-height: 1;
}
.nav-logo-name span { color: var(--orange); }
.nav-logo-line {
  width: 100%;
  height: 2px;
  background: var(--orange);
  margin: 3px 0 2px;
  border-radius: 1px;
}
.nav-logo-sub {
  font-size: 7px;
  font-weight: 400;
  color: #aaa;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--mid);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--dark); }

.nav-cta {
  background: var(--dark) !important;
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--orange) !important; }

/* ─────────────────────────────────────
   HERO
───────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 40px 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg-line {
  position: absolute;
  top: 0; right: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, transparent, var(--border) 30%, var(--border) 70%, transparent);
  right: 40%;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-left {}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 24px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--orange);
  border-radius: 1px;
}

.hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(40px, 5vw, 62px);
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 24px;
}
.hero-title .accent { color: var(--orange); }

.hero-subtitle {
  font-size: 18px;
  font-weight: 300;
  color: var(--mid);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 440px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--dark);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  letter-spacing: 0.01em;
}
.btn-primary:hover { background: var(--orange); transform: translateY(-1px); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--mid);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
  letter-spacing: 0.01em;
}
.btn-secondary:hover { color: var(--dark); }
.btn-secondary::after {
  content: '→';
  transition: transform 0.2s;
}
.btn-secondary:hover::after { transform: translateX(4px); }

.hero-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: border-color 0.2s, transform 0.2s;
}
.hero-card:hover { border-color: var(--orange); transform: translateX(4px); }

.hero-card-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
  margin-top: 6px;
}
.hero-card-content {}
.hero-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}
.hero-card-desc {
  font-size: 13px;
  color: var(--mid);
  line-height: 1.5;
}

/* ─────────────────────────────────────
   SECTION GÉNÉRIQUE
───────────────────────────────────── */
section {
  padding: 96px 40px;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}
.section-eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--orange);
  border-radius: 1px;
}

.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  font-weight: 300;
  color: var(--mid);
  line-height: 1.7;
  max-width: 560px;
}

/* ─────────────────────────────────────
   PROBLÈME / SOLUTION
───────────────────────────────────── */
#probleme {
  background: var(--dark);
}

#probleme .section-eyebrow { color: var(--orange); }
#probleme .section-eyebrow::before { background: var(--orange); }
#probleme .section-title { color: var(--white); }
#probleme .section-sub { color: rgba(255,255,255,0.5); }

.pb-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 56px;
}

.pb-col-title {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.pb-item {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  align-items: flex-start;
}
.pb-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 13px;
  margin-top: 2px;
}
.pb-icon.red { background: rgba(239,68,68,0.15); }
.pb-icon.green { background: rgba(34,197,94,0.15); }

.pb-text {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}
.pb-col-title.red-t { color: rgba(239,68,68,0.8); }
.pb-col-title.green-t { color: rgba(34,197,94,0.8); }

/* ─────────────────────────────────────
   PRESTATIONS
───────────────────────────────────── */
#prestations { background: var(--bg); }

.presta-phases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.phase-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
.phase-card:hover { transform: translateY(-4px); border-color: var(--orange); }

.phase-card.active {
  border-color: var(--orange);
  background: var(--white);
}
.phase-card.active::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--orange);
}

.phase-badge {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.phase-badge.now { background: var(--orange-light); color: var(--orange); }
.phase-badge.soon { background: #EFF6FF; color: #2563EB; }
.phase-badge.later { background: #F0FDF4; color: #15803D; }

.phase-title {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
  line-height: 1.2;
}

.phase-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.phase-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--mid);
  line-height: 1.5;
}
.phase-list li::before {
  content: '–';
  color: var(--orange);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.phase-footer {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: #aaa;
  font-style: italic;
}

/* ─────────────────────────────────────
   PROFIL
───────────────────────────────────── */
#profil { background: var(--white); }

.profil-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-top: 56px;
}

.profil-left {}

.profil-intro {
  font-size: 18px;
  font-weight: 400;
  color: var(--dark);
  line-height: 1.7;
  margin-bottom: 32px;
}
.profil-intro strong { color: var(--orange); font-weight: 700; }

.profil-quote {
  border-left: 3px solid var(--orange);
  padding-left: 20px;
  margin-bottom: 32px;
}
.profil-quote p {
  font-size: 16px;
  font-style: italic;
  color: var(--mid);
  line-height: 1.7;
}

.profil-right {}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.stat-card {
  background: var(--light);
  border-radius: 10px;
  padding: 20px;
}
.stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 12px;
  color: var(--mid);
  line-height: 1.4;
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.skill-tag {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  color: var(--mid);
}

/* ─────────────────────────────────────
   CONTACT
───────────────────────────────────── */
#contact { background: var(--bg); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-top: 56px;
}

.contact-info {}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.contact-item:last-child { border-bottom: none; }

.contact-icon {
  width: 40px;
  height: 40px;
  background: var(--orange-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg { width: 18px; height: 18px; stroke: var(--orange); fill: none; stroke-width: 2; stroke-linecap: round; }

.contact-item-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 2px;
}
.contact-item-value {
  font-size: 15px;
  font-weight: 500;
  color: var(--dark);
}
.contact-item-value a {
  color: var(--dark);
  text-decoration: none;
  transition: color 0.2s;
}
.contact-item-value a:hover { color: var(--orange); }

.contact-form {}

.form-group {
  margin-bottom: 20px;
}
.form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 8px;
}
.form-input, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: var(--dark);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
}
.form-input:focus, .form-textarea:focus {
  border-color: var(--orange);
}
.form-textarea {
  min-height: 120px;
  resize: vertical;
}
.form-submit {
  width: 100%;
  padding: 14px;
  background: var(--dark);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  letter-spacing: 0.01em;
}
.form-submit:hover { background: var(--orange); }

/* ─────────────────────────────────────
   FOOTER
───────────────────────────────────── */
footer {
  background: var(--dark);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-logo .nav-logo-name { color: var(--white); font-size: 18px; }
.footer-logo .nav-logo-sub { color: rgba(255,255,255,0.3); }

.footer-mentions {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  line-height: 1.7;
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }

/* ─────────────────────────────────────
   ANIMATIONS
───────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─────────────────────────────────────
   RESPONSIVE
───────────────────────────────────── */
@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  #hero { padding: 100px 20px 60px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-right { display: none; }
  section { padding: 64px 20px; }
  .pb-grid { grid-template-columns: 1fr; gap: 32px; }
  .presta-phases { grid-template-columns: 1fr; }
  .profil-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  footer { flex-direction: column; text-align: center; padding: 32px 20px; }
  .footer-mentions { order: 2; }
}

/* Classe CSS pour le SEO (Texte invisible à l'écran mais lu par Google) */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}