/* Styles pour le site Techmind - Inspiré de Numera Margined */

:root {
  /* Palette de couleurs premium minimaliste avec violet */
  --primary-dark: #0A0A0A;  /* Noir profond */
  --primary-light: #2A2A2A; /* Gris foncé */
  --accent-violet: #6A3EA1;  /* Violet profond */
  --accent-light-violet: #9D71D0; /* Violet clair */
  --text-light: #FFFFFF;    /* Blanc pour le texte sur fond foncé */
  --text-dark: #0A0A0A;     /* Noir pour le texte sur fond clair */
  --bg-light: #F8F8F8;      /* Gris très clair pour certaines sections */
  --bg-white: #FFFFFF;      /* Blanc pur */
  --border-light: #EEEEEE;  /* Gris très clair pour les bordures */
  
  /* Typographie */
  --font-primary: 'Inter', sans-serif;
  --font-secondary: 'Playfair Display', serif;
  --font-size-base: 16px;
  --line-height-base: 1.6;
}

/* Reset et base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--text-dark);
  background-color: var(--bg-white);
  overflow-x: hidden;
}

/* Typographie */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: 400;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

h1 {
  font-size: 5rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 400;
}

h2 {
  font-size: 3.5rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 2rem;
  line-height: 1.3;
}

p {
  margin-bottom: 1.5rem;
}

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

/* Layout */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem;
}

.section {
  padding: 7rem 0;
  border-bottom: 1px solid var(--border-light);
}

/* Header et navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--bg-white);
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-light);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 40px;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-item {
  margin-left: 2.5rem;
  position: relative;
}

.nav-link {
  color: var(--primary-dark);
  text-decoration: none;
  font-weight: 400;
  transition: color 0.3s ease;
  padding-bottom: 5px;
  position: relative;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-violet);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--accent-violet);
}

.nav-link:hover::after {
  width: 100%;
}

/* Mobile menu */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-toggle svg {
  width: 24px;
  height: 24px;
  color: var(--primary-dark);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--bg-white);
  z-index: 1001;
  padding: 2rem;
  flex-direction: column;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.mobile-menu-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-close svg {
  width: 24px;
  height: 24px;
  color: var(--primary-dark);
}

.mobile-nav-menu {
  list-style: none;
}

.mobile-nav-item {
  margin-bottom: 1.5rem;
}

.mobile-nav-link {
  color: var(--primary-dark);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.2rem;
  display: block;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-light);
}

/* Hero section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--bg-white);
  color: var(--text-dark);
  position: relative;
  overflow: hidden;
  padding-top: 80px;
  border-bottom: 1px solid var(--border-light);
}

.hero-content {
  grid-column: 1 / 8;
  padding: 4rem 0;
}

.hero-title {
  font-size: 5.5rem;
  margin-bottom: 2rem;
  color: var(--primary-dark);
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 3rem;
  font-weight: 300;
  color: var(--primary-light);
  max-width: 80%;
}

.btn {
  display: inline-block;
  padding: 1.2rem 2.5rem;
  border-radius: 0;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
  letter-spacing: 1px;
  font-size: 0.9rem;
  text-align: center;
}

.btn-primary {
  background-color: var(--primary-dark);
  color: var(--text-light);
  border: 1px solid var(--primary-dark);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--primary-dark);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-dark);
  border: 1px solid var(--primary-dark);
  margin-left: 1rem;
}

.btn-secondary:hover {
  background-color: var(--primary-dark);
  color: var(--text-light);
}

/* Stats section */
.stats {
  padding: 5rem 0;
  position: relative;
  border-bottom: 1px solid var(--border-light);
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.stat-item {
  padding: 2rem;
  position: relative;
  transition: transform 0.3s ease;
  border-right: 1px solid var(--border-light);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-size: 4rem;
  font-weight: 400;
  font-family: var(--font-secondary);
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 1px;
  color: var(--primary-light);
}

/* Approach Section */
.approach-content {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 4rem;
  align-items: center;
}

.approach-text {
  grid-column: 1 / 6;
}

.approach-image {
  grid-column: 7 / 13;
  position: relative;
}

.approach-image img {
  width: 100%;
  display: block;
}

/* Section titles */
.section-title {
  margin-bottom: 4rem;
  position: relative;
  grid-column: 1 / 13;
}

.section-title h2 {
  position: relative;
  padding-bottom: 1rem;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 1px;
  background-color: var(--accent-violet);
}

/* Services Section */
.services-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  padding: 3rem 2rem;
  transition: all 0.3s ease;
  position: relative;
  border: 1px solid var(--border-light);
  background-color: var(--bg-white);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.service-icon {
  margin-bottom: 1.5rem;
  color: var(--accent-violet);
}

.service-title {
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

.service-text {
  margin-bottom: 1.5rem;
  color: var(--primary-light);
}

.service-link {
  color: var(--primary-dark);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

.service-link svg {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.service-link:hover {
  color: var(--accent-violet);
}

.service-link:hover svg {
  transform: translateX(5px);
}

/* For Investors Section */
.investors-section {
  padding: 7rem 0;
  border-bottom: 1px solid var(--border-light);
}

.investors-content {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 4rem;
  align-items: center;
}

.investors-image {
  grid-column: 1 / 6;
  position: relative;
}

.investors-text {
  grid-column: 7 / 13;
}

.investors-image img {
  width: 100%;
  display: block;
}

/* CTA Section */
.cta {
  padding: 7rem 0;
  text-align: center;
  position: relative;
  border-bottom: 1px solid var(--border-light);
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  margin-bottom: 2rem;
  font-size: 3.5rem;
  color: var(--primary-dark);
}

.cta-text {
  margin: 0 auto 3rem;
  font-size: 1.2rem;
  color: var(--primary-light);
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.cta .btn-primary {
  background-color: var(--accent-violet);
  color: var(--text-light);
  border-color: var(--accent-violet);
}

.cta .btn-primary:hover {
  background-color: transparent;
  color: var(--accent-violet);
}

/* Footer */
footer {
  padding: 5rem 0 2rem;
  position: relative;
  border-top: 1px solid var(--border-light);
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}

.footer-col h3 {
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  position: relative;
  padding-bottom: 1rem;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 1px;
  background: var(--accent-violet);
}

.footer-links {
  list-style: none;
}

.footer-link {
  margin-bottom: 1rem;
}

.footer-link a {
  color: var(--primary-light);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
}

.footer-link a svg {
  margin-right: 0.5rem;
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.footer-link a:hover {
  color: var(--accent-violet);
}

.footer-link a:hover svg {
  transform: translateX(3px);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--accent-violet);
  border-color: var(--accent-violet);
  transform: translateY(-3px);
}

.social-link svg {
  width: 18px;
  height: 18px;
  fill: var(--primary-dark);
}

.social-link:hover svg {
  fill: var(--text-light);
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  margin-top: 4rem;
  padding-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--primary-light);
}

/* Form elements */
.form-control {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--border-light);
  margin-bottom: 1rem;
  font-family: var(--font-primary);
  font-size: 0.9rem;
}

.form-submit {
  width: 100%;
  padding: 1rem;
  background-color: var(--primary-dark);
  color: var(--text-light);
  border: none;
  cursor: pointer;
  font-family: var(--font-primary);
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.form-submit:hover {
  background-color: var(--accent-violet);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeIn 0.8s ease forwards;
}

.animate-slide-in {
  opacity: 0;
  transform: translateX(-50px);
  animation: slideIn 0.8s ease forwards;
}

.animate-scale-in {
  opacity: 0;
  transform: scale(0.9);
  animation: scaleIn 0.8s ease forwards;
}

/* Utility classes */
.text-center {
  text-align: center;
}

/* Responsive */
@media (max-width: 1200px) {
  .container {
    max-width: 1000px;
  }
  
  h1 {
    font-size: 4.5rem;
  }
  
  h2 {
    font-size: 3rem;
  }
  
  .hero-title {
    font-size: 4.5rem;
  }
  
  .services-container {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  
  .approach-text, .investors-text {
    grid-column: 1 / 7;
  }
  
  .approach-image, .investors-image {
    grid-column: 8 / 13;
  }
}

@media (max-width: 992px) {
  .container {
    max-width: 800px;
  }
  
  h1 {
    font-size: 4rem;
  }
  
  h2 {
    font-size: 2.5rem;
  }
  
  .hero-title {
    font-size: 4rem;
  }
  
  .hero-content {
    grid-column: 1 / 12;
  }
  
  .approach-text, .approach-image, .investors-text, .investors-image {
    grid-column: 1 / 13;
  }
  
  .approach-image, .investors-image {
    margin-top: 2rem;
  }
  
  .nav-menu {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
}

@media (max-width: 768px) {
  .container {
    max-width: 100%;
    padding: 0 1.5rem;
  }
  
  h1 {
    font-size: 3.5rem;
  }
  
  h2 {
    font-size: 2.2rem;
  }
  
  .hero-title {
    font-size: 3.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
    max-width: 100%;
  }
  
  .services-container {
    grid-template-columns: 1fr;
  }
  
  .stats-container {
    grid-template-columns: 1fr;
  }
  
  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    padding: 1.5rem 0;
  }
  
  .stat-item:last-child {
    border-bottom: none;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn-secondary {
    margin-left: 0;
    margin-top: 1rem;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .cta {
    padding: 4rem 0;
  }
  
  .cta-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 1rem;
  }
  
  h1 {
    font-size: 2.8rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .btn {
    padding: 1rem 2rem;
    width: 100%;
    text-align: center;
    font-size: 0.85rem;
  }
  
  .stat-number {
    font-size: 3rem;
  }
  
  .section-title {
    margin-bottom: 2.5rem;
  }
  
  .service-card {
    padding: 2rem 1.5rem;
  }
  
  .cta-text {
    font-size: 1rem;
  }
  
  .footer-col h3 {
    font-size: 1.2rem;
  }
  
  .footer-bottom {
    margin-top: 2rem;
  }
  
  .hero {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: 2rem;
  }
}
