/* RESET DE BASE */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #05070b;
  color: #f9fafb;
  line-height: 1.7;
}

/* LIENS & TITRES */
a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1, h2, h3, h4 {
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* BARRE DE PROGRESSION EN HAUT */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, #f97316, #facc15);
  z-index: 1000;
}

/* LAYOUT GLOBAL */
.main-content {
  max-width: 880px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3rem;
}

/* SIDEBAR */
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 260px;
  background: radial-gradient(circle at top, #020617, #020617 55%, #020617);
  border-right: 1px solid rgba(148, 163, 184, 0.25);
  padding: 1.8rem 1.4rem;
  display: flex;
  flex-direction: column;
  z-index: 900;
}

.sidebar-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.logo {
  margin-bottom: 2rem;
  text-align: center;
}

.logo img {
  max-width: 100%;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
}

/* MENU LATERAL */
.nav-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 2rem;
}

.nav-link {
  display: block;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  font-size: 0.9rem;
  color: #e5e7eb;
  border: 1px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease,
    transform 0.1s ease;
}

.nav-link:hover {
  background: rgba(15, 23, 42, 0.9);
  border-color: rgba(148, 163, 184, 0.5);
  transform: translateY(-1px);
}

.nav-link.active {
  background: linear-gradient(90deg, #f97316, #facc15);
  color: #020617;
  font-weight: 600;
}

/* COMPTEUR DE VISITES */
.visit-counter {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #9ca3af;
}

.counter-label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.7rem;
}

.counter-value {
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.6);
}

/* BOUTON MENU MOBILE */
.menu-toggle {
  position: fixed;
  top: 0.8rem;
  left: 0.8rem;
  width: 42px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.95);
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  z-index: 950;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
}

/* HERO */
.hero {
  padding-top: 1rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.hero-content {
  text-align: left;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2rem, 3vw, 2.4rem);
  margin-bottom: 0.5rem;
}

.hero-subtitle {
  font-size: 0.95rem;
  color: #9ca3af;
  margin-bottom: 1.4rem;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 999px;
  background: linear-gradient(90deg, #f97316, #facc15);
  color: #020617;
  border: none;
  cursor: pointer;
  box-shadow: 0 18px 40px rgba(248, 180, 24, 0.4);
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.cta-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 55px rgba(248, 180, 24, 0.55);
  text-decoration: none;
}

/* SECTIONS */
.section {
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.section h2 {
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
}

.content-block {
  font-size: 0.95rem;
  color: #e5e7eb;
}

.intro-text {
  margin-bottom: 0.8rem;
}

.content-block p + p {
  margin-top: 0.6rem;
}

.highlight {
  margin-top: 0.9rem;
  font-weight: 500;
  color: #f97316;
}

/* VISUELS ENTRE LES SECTIONS */
.section-visual {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  display: block;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
}

/* GRILLE DES VALEURS */
.values-grid {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.2rem;
}

.value-card {
  background: radial-gradient(circle at top left, #020617, #020617 60%, #020617);
  border-radius: 18px;
  padding: 1.2rem 1.1rem 1.3rem;
  border: 1px solid rgba(55, 65, 81, 0.9);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  font-size: 0.9rem;
}

.value-card h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.value-card p + p {
  margin-top: 0.5rem;
}

.value-card blockquote {
  margin-top: 0.7rem;
  padding-left: 0.7rem;
  border-left: 3px solid rgba(249, 115, 22, 0.8);
  font-style: italic;
  color: #fbbf24;
}

/* BOX HIGHLIGHT */
.highlight-box {
  margin-top: 2rem;
  padding: 1.2rem 1.1rem;
  border-radius: 18px;
  border: 1px solid rgba(250, 204, 21, 0.6);
  background: radial-gradient(circle at top left, rgba(250, 204, 21, 0.12), #020617 55%);
  font-size: 0.9rem;
}

/* APPROCHE – ÉTAPES */
.approach-steps {
  margin-top: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.step-number {
  width: 32px;
  height: 32px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: #e5e7eb;
  flex-shrink: 0;
}

.step-content h3 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.step-content p {
  font-size: 0.9rem;
  color: #e5e7eb;
}

/* ÉQUIPE */
.team-grid {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
}

.team-member {
  background: radial-gradient(circle at top, #020617, #020617 70%);
  border-radius: 18px;
  padding: 1.2rem 1.1rem 1.3rem;
  border: 1px solid rgba(55, 65, 81, 0.95);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.6);
  font-size: 0.9rem;
}

.team-member h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.team-member .quote {
  font-style: italic;
  margin-bottom: 0.5rem;
}

.team-member p + p {
  margin-top: 0.4rem;
}

/* BLOC CTA ÉQUIPE */
.cta-block {
  margin-top: 1.8rem;
  padding: 1.2rem 1.1rem;
  border-radius: 18px;
  border: 1px solid rgba(249, 115, 22, 0.8);
  background: radial-gradient(circle at top left, rgba(249, 115, 22, 0.13), #020617 55%);
  font-size: 0.9rem;
}

.cta-block p + p {
  margin-top: 0.5rem;
}

/* CONTACT */
.contact-container {
  margin-top: 1.3rem;
  font-size: 0.92rem;
}

.calendly-section,
.form-section {
  margin-top: 1rem;
  margin-bottom: 0.6rem;
}

.calendly-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  background: rgba(15, 23, 42, 0.95);
  font-size: 0.9rem;
  cursor: pointer;
  margin-top: 0.3rem;
}

.calendly-button:hover {
  background: rgba(15, 23, 42, 1);
  text-decoration: none;
}

.separator-or {
  margin: 1.4rem 0;
  text-align: center;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #9ca3af;
}

/* FORMULAIRE */
.contact-form {
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.form-group {
  flex: 1;
  min-width: 200px;
}

label {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 0.2rem;
  color: #9ca3af;
}

input,
textarea {
  width: 100%;
  padding: 0.55rem 0.6rem;
  border-radius: 10px;
  border: 1px solid rgba(55, 65, 81, 0.95);
  background: rgba(15, 23, 42, 0.96);
  color: #f9fafb;
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input:focus,
textarea:focus {
  border-color: #f97316;
  box-shadow: 0 0 0 1px rgba(249, 115, 22, 0.6);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.consent-group {
  font-size: 0.8rem;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
}

.consent-label input[type="checkbox"] {
  margin-top: 0.2rem;
}

.consent-info {
  font-size: 0.75rem;
  color: #9ca3af;
  margin-top: 0.3rem;
}

.privacy-link {
  color: #fbbf24;
  text-decoration: underline;
}

.submit-button {
  margin-top: 0.3rem;
  align-self: flex-start;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #f97316, #facc15);
  border: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: #020617;
  cursor: pointer;
  box-shadow: 0 16px 40px rgba(248, 180, 24, 0.5);
}

.submit-button:hover {
  transform: translateY(-1px);
}

.form-message {
  font-size: 0.8rem;
  margin-top: 0.4rem;
}

/* MODAL POLITIQUE DE CONFIDENTIALITÉ */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.8);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 10vh;
  z-index: 1100;
}

.modal.open {
  display: flex;
}

.modal-content {
  width: min(700px, 100% - 2rem);
  max-height: 80vh;
  overflow: auto;
  background: #020617;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  padding: 1.4rem 1.5rem 1.6rem;
  font-size: 0.9rem;
}

.modal-close {
  float: right;
  cursor: pointer;
  font-size: 1.4rem;
  color: #9ca3af;
}

.modal-body h3 {
  margin-top: 0.8rem;
  margin-bottom: 0.3rem;
}

.modal-body ul {
  padding-left: 1.1rem;
  margin-top: 0.2rem;
}

.modal-body li + li {
  margin-top: 0.2rem;
}

.last-update {
  margin-top: 0.8rem;
  font-size: 0.78rem;
  color: #9ca3af;
}

/* FOOTER */
.footer {
  padding: 1.5rem 0 0.5rem;
  font-size: 0.8rem;
  color: #9ca3af;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  margin-top: 2rem;
}

.footer-content {
  text-align: center;
}

.footer-subtitle {
  margin-top: 0.3rem;
}

.footer-links {
  margin-top: 0.4rem;
}

/* RESPONSIVE */
@media (min-width: 1024px) {
  .main-content {
    margin-left: 260px;
    padding: 2.5rem 2.5rem 3rem;
  }
}

@media (max-width: 1023px) {
  .sidebar {
    transform: translateX(-120%);
    transition: transform 0.18s ease;
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .menu-toggle {
    display: flex;
  }

  .main-content {
    padding-top: 4rem;
  }
}
