/* ===============================================
   VASTI GROUP - Identité Visuelle
   Couleurs: Orange #FF8C00, Vert #009E60, Blanc
   =============================================== */

:root {
  /* Couleurs principales - Drapeau Côte d'Ivoire */
  --vasti-orange: #FF8C00;
  --vasti-white: #FFFFFF;
  --vasti-green: #009E60;
  
  /* Couleurs complémentaires */
  --vasti-dark: #1a1a1a;
  --vasti-gray: #f5f5f5;
  --vasti-gray-dark: #666666;
  --vasti-orange-light: #FFB84D;
  --vasti-orange-dark: #CC7000;
  --vasti-green-light: #00C878;
  --vasti-green-dark: #007A4A;
  
  /* Typographie */
  --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-heading: 'Arial Black', 'Arial Bold', sans-serif;
  
  /* Espacements */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  line-height: 1.7;
  color: var(--vasti-dark);
  background-color: var(--vasti-white);
  overflow-x: hidden;
}

/* ===============================================
   TYPOGRAPHIE
   =============================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: var(--spacing-sm);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }

@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.5rem; }
}

p {
  margin-bottom: var(--spacing-sm);
}

a {
  color: var(--vasti-orange);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--vasti-orange-dark);
}

/* ===============================================
   HEADER & NAVIGATION
   =============================================== */

.header {
  background: linear-gradient(135deg, var(--vasti-orange) 0%, var(--vasti-orange-dark) 100%);
  padding: 1rem 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  height: 50px;
  width: auto;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-menu a {
  color: var(--vasti-white);
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.nav-menu a:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.nav-cta {
  background-color: var(--vasti-green) !important;
  color: var(--vasti-white) !important;
  padding: 0.75rem 1.5rem !important;
  border-radius: 50px;
  font-weight: 700;
}

.nav-cta:hover {
  background-color: var(--vasti-green-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 158, 96, 0.3);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--vasti-white);
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: var(--vasti-orange);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 2rem;
  }

  .nav-menu.active {
    left: 0;
  }

  .mobile-menu-toggle {
    display: block;
  }
}

/* ===============================================
   HERO SECTION
   =============================================== */

.hero {
  background: linear-gradient(135deg, var(--vasti-orange) 0%, var(--vasti-green) 100%);
  color: var(--vasti-white);
  padding: 150px 2rem 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: 70px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,112C1248,107,1344,117,1392,122.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
  background-size: cover;
  opacity: 0.3;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: var(--spacing-md);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-md);
  font-weight: 300;
  animation: fadeInUp 1s ease 0.2s both;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: var(--spacing-lg);
  animation: fadeInUp 1s ease 0.4s both;
}

.stat-item {
  background: rgba(255, 255, 255, 0.15);
  padding: 2rem;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
  font-size: 3rem;
  font-weight: 900;
  display: block;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  opacity: 0.9;
}

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

/* ===============================================
   CTA BUTTONS
   =============================================== */

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--vasti-green);
  color: var(--vasti-white);
  box-shadow: 0 4px 15px rgba(0, 158, 96, 0.3);
}

.btn-primary:hover {
  background-color: var(--vasti-green-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 158, 96, 0.4);
}

.btn-secondary {
  background-color: var(--vasti-white);
  color: var(--vasti-orange);
  box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
}

.btn-secondary:hover {
  background-color: var(--vasti-gray);
  transform: translateY(-3px);
}

.btn-outline {
  background-color: transparent;
  color: var(--vasti-orange);
  border: 2px solid var(--vasti-orange);
}

.btn-outline:hover {
  background-color: var(--vasti-orange);
  color: var(--vasti-white);
}

.cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--spacing-md);
}

/* ===============================================
   SECTIONS GÉNÉRALES
   =============================================== */

.section {
  padding: var(--spacing-xl) 2rem;
}

.section-alternate {
  background-color: var(--vasti-gray);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.section-title {
  color: var(--vasti-orange);
  margin-bottom: var(--spacing-sm);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--vasti-orange), var(--vasti-green));
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--vasti-gray-dark);
  max-width: 700px;
  margin: var(--spacing-md) auto 0;
}

/* ===============================================
   GRILLES & CARTES
   =============================================== */

.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

.card {
  background: var(--vasti-white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(255, 140, 0, 0.15);
  border-color: var(--vasti-orange);
}

.card-icon {
  font-size: 3rem;
  margin-bottom: var(--spacing-sm);
  color: var(--vasti-orange);
}

.card-title {
  color: var(--vasti-dark);
  margin-bottom: var(--spacing-sm);
}

.card-description {
  color: var(--vasti-gray-dark);
  line-height: 1.8;
}

.card-price {
  font-size: 2rem;
  font-weight: 900;
  color: var(--vasti-green);
  margin: var(--spacing-sm) 0;
}

.card-features {
  list-style: none;
  margin: var(--spacing-sm) 0;
}

.card-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--vasti-gray);
}

.card-features li:before {
  content: '✓';
  color: var(--vasti-green);
  font-weight: bold;
  margin-right: 0.5rem;
}

/* ===============================================
   À PROPOS DU FONDATEUR
   =============================================== */

.founder-section {
  background: linear-gradient(135deg, var(--vasti-gray) 0%, var(--vasti-white) 100%);
}

.founder-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: center;
}

.founder-image-wrapper {
  position: relative;
}

.founder-image {
  width: 100%;
  max-width: 400px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(255, 140, 0, 0.3);
  border: 5px solid var(--vasti-orange);
}

.founder-quote {
  background: linear-gradient(135deg, var(--vasti-orange), var(--vasti-green));
  color: var(--vasti-white);
  padding: 2rem;
  border-radius: 12px;
  font-style: italic;
  font-size: 1.2rem;
  margin-top: var(--spacing-md);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.founder-content h3 {
  color: var(--vasti-orange);
  margin-bottom: var(--spacing-sm);
}

.founder-bio {
  line-height: 1.9;
  margin-bottom: var(--spacing-sm);
}

.founder-highlights {
  background: var(--vasti-white);
  padding: 2rem;
  border-radius: 12px;
  border-left: 5px solid var(--vasti-green);
  margin-top: var(--spacing-md);
}

.founder-highlights ul {
  list-style: none;
}

.founder-highlights li {
  padding: 0.5rem 0;
  color: var(--vasti-dark);
}

.founder-highlights li:before {
  content: '🎯';
  margin-right: 0.75rem;
}

@media (max-width: 768px) {
  .founder-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .founder-image {
    max-width: 300px;
    margin: 0 auto;
    display: block;
  }
}

/* ===============================================
   FORMULAIRES
   =============================================== */

.form-group {
  margin-bottom: var(--spacing-sm);
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--vasti-dark);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--vasti-gray);
  border-radius: 8px;
  font-size: 1rem;
  font-family: var(--font-primary);
  transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--vasti-orange);
  box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.1);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

/* ===============================================
   FOOTER
   =============================================== */

.footer {
  background: linear-gradient(135deg, var(--vasti-dark) 0%, #000 100%);
  color: var(--vasti-white);
  padding: var(--spacing-lg) 2rem var(--spacing-md);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: var(--spacing-md);
}

.footer-section h4 {
  color: var(--vasti-orange);
  margin-bottom: var(--spacing-sm);
}

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

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--vasti-white);
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--vasti-orange);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: var(--spacing-sm);
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--vasti-orange);
  color: var(--vasti-white);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: var(--vasti-green);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
}

.flag-colors {
  display: inline-flex;
  gap: 0.5rem;
  margin: 0 0.5rem;
}

.flag-orange, .flag-white, .flag-green {
  width: 20px;
  height: 15px;
  display: inline-block;
  border-radius: 2px;
}

.flag-orange { background-color: var(--vasti-orange); }
.flag-white { background-color: var(--vasti-white); border: 1px solid var(--vasti-gray); }
.flag-green { background-color: var(--vasti-green); }

/* ===============================================
   ANIMATIONS & UTILITIES
   =============================================== */

.fade-in {
  animation: fadeIn 1s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.text-center { text-align: center; }
.text-orange { color: var(--vasti-orange); }
.text-green { color: var(--vasti-green); }
.bg-orange { background-color: var(--vasti-orange); }
.bg-green { background-color: var(--vasti-green); }

.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }

/* ===============================================
   RESPONSIVE
   =============================================== */

@media (max-width: 1024px) {
  :root {
    --spacing-xl: 4rem;
  }
}

@media (max-width: 768px) {
  :root {
    --spacing-lg: 3rem;
    --spacing-xl: 3rem;
  }
  
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* ===============================================
   LOADING & MODALS
   =============================================== */

.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--vasti-white);
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  animation: fadeIn 0.3s ease;
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: var(--vasti-white);
  padding: 2rem;
  border-radius: 12px;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: slideInUp 0.3s ease;
}

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

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--vasti-gray-dark);
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: var(--vasti-orange);
}

/* ===============================================
   ALERTS & NOTIFICATIONS
   =============================================== */

.alert {
  padding: 1rem 1.5rem;
  border-radius: 8px;
  margin-bottom: var(--spacing-sm);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.alert-success {
  background-color: #d4edda;
  color: #155724;
  border-left: 4px solid var(--vasti-green);
}

.alert-error {
  background-color: #f8d7da;
  color: #721c24;
  border-left: 4px solid #dc3545;
}

.alert-info {
  background-color: #d1ecf1;
  color: #0c5460;
  border-left: 4px solid #17a2b8;
}

.alert-warning {
  background-color: #fff3cd;
  color: #856404;
  border-left: 4px solid var(--vasti-orange);
}
