/* Style principal pour la plateforme juridique Trybz */

:root {
  --primary: #000000;
  --primary-dark: #333333;
  --secondary: #666666;
  --text-dark: #1A1A1A;
  --text-light: #F4F4F4;
  --bg-light: #F8F9FA;
  --bg-dark: #1A1A1A;
  --danger: #8B0000;
  --success: #006400;
  --border-radius: 8px;
  --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --primary-color: #000000; /* Noir */
  --primary-light: #333333; /* Gris foncé */
  --primary-dark: #000000; /* Noir pur */
  --secondary-color: #666666; /* Gris moyen */
  --accent-color: #999999; /* Gris clair */
  --dark-color: #000000; /* Noir */
  --text-color: #333333; /* Gris foncé pour texte */
  --light-color: #ffffff; /* Blanc */
  --gray-color: #e0e0e0; /* Gris très clair */
  --success-color: #4CAF50; /* On garde pour fonctionnalité */
  --warning-color: #FFC107; /* On garde pour fonctionnalité */
  --danger-color: #F44336; /* On garde pour fonctionnalité */
  --font-main: 'Roboto', sans-serif;
  --font-heading: 'Montserrat', sans-serif;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-light);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  z-index: 1000;
}

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

.logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo svg {
  height: 25px;
  margin-right: 5px;
}

.logo span {
  color: var(--text-dark);
  font-size: 1.4rem;
  margin-left: 5px;
}

nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav ul li {
  margin-left: 2rem;
}

nav ul li a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: var(--transition);
}

nav ul li a:hover {
  color: var(--primary);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-dark);
  cursor: pointer;
  padding: 0.5rem;
  align-self: center;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #000000 0%, #333333 100%);
  color: white;
  padding: 120px 0 80px;
  text-align: center;
}

.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.hero-subtitle {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  opacity: 0.9;
}

/* Profiles Section */
.profiles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-top: -40px;
  position: relative;
  z-index: 10;
}

.profile-card {
  background-color: white;
  border-radius: 0;
  border: 1px solid #e0e0e0;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.1);
  padding: 2rem;
  transition: var(--transition);
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.profile-card:hover {
  transform: translateY(-5px);
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.2);
}

.profile-icon {
  width: 80px;
  height: 80px;
  border-radius: 0;
  background-color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 2rem;
}

.profile-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.profile-card p {
  color: #666;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* Info Section */
.info-section {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.info-card {
  background-color: white;
  border-radius: 0;
  border: 1px solid #e0e0e0;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.1);
  padding: 2rem;
  text-align: center;
}

.info-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.info-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

/* Buttons */
.btn {
  display: inline-block;
  background-color: #000000;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid #000000;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
}

.btn:hover {
  background-color: #ffffff;
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
  background-color: transparent;
  color: #000000;
  border: 2px solid #000000;
}

.btn-secondary:hover {
  background-color: #f0f0f0;
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-download {
  width: 100%; 
  padding: 12px; 
  font-size: 16px; 
  display: block; 
  text-align: center; 
  border-radius: 0;
  margin-bottom: 10px;
}

.btn-technical {
  background-color: #333333;
  border-color: #333333;
}

.btn-technical:hover {
  background-color: #ffffff;
  color: #333333;
}

.download-section {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 1.5rem;
}

/* Section Titles */
.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  padding-bottom: 15px;
}

.section-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--primary);
}

/* Footer */
footer {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 3rem 0 0;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
}

.footer-col h3 {
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 1rem;
  font-size: 1.3rem;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h3:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--secondary);
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  color: #ccc;
  text-decoration: none;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--light-color);
}

.copyright {
  text-align: center;
  padding: 1.5rem 0;
  margin-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* CGV Content Styles */
.cgv-interactive {
  padding-top: 100px;
}

.cgv-container {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 30px;
  margin-top: 2rem;
}

.cgv-sidebar {
  background-color: white;
  border-radius: 0;
  border: 1px solid #e0e0e0;
  padding: 1.5rem;
  box-shadow: var(--box-shadow);
  position: sticky;
  top: 100px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}

.cgv-sidebar h3 {
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary);
}

.cgv-sidebar ul {
  list-style: none;
  padding: 0;
}

.cgv-sidebar ul li {
  margin-bottom: 0.8rem;
}

.cgv-sidebar ul li a {
  display: block;
  padding: 8px 10px;
  border-left: 3px solid transparent;
  transition: all 0.2s ease;
  font-size: 0.95rem;
  color: var(--text-dark);
  text-decoration: none;
}

.cgv-sidebar ul li a:hover, .cgv-sidebar ul li a.active {
  background-color: rgba(0, 0, 0, 0.05);
  border-left: 3px solid var(--primary);
  color: var(--primary);
  font-weight: 500;
}

.cgv-sidebar ul li a.active {
  background-color: rgba(0, 0, 0, 0.1);
}

.cgv-content {
  background-color: white;
  border-radius: 0;
  border: 1px solid #e0e0e0;
  padding: 2rem;
  box-shadow: var(--box-shadow);
}

.cgv-article {
  margin-bottom: 3rem;
}

.cgv-article h2 {
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 1.5rem;
  color: var(--primary);
  font-size: 1.8rem;
}

.cgv-article h3 {
  font-family: 'Montserrat', sans-serif;
  margin: 2rem 0 1rem;
  color: var(--text-dark);
  font-size: 1.4rem;
}

.cgv-article p, .cgv-article ul, .cgv-article ol {
  margin-bottom: 1rem;
  color: #555;
}

.cgv-article ul, .cgv-article ol {
  padding-left: 1.5rem;
}

.cgv-article ul li, .cgv-article ol li {
  margin-bottom: 0.5rem;
}

/* Form Controls */
.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 1px solid #ddd;
  border-radius: 0;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.2);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .cgv-container {
    grid-template-columns: 1fr;
  }
  
  .cgv-sidebar {
    position: relative;
    top: 0;
    max-height: none;
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .profiles-grid {
    margin-top: 0;
  }
  
  .profile-card {
    margin-bottom: 20px;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-info {
    padding: 0;
    margin-bottom: 2rem;
  }
  
  .header-container {
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 0.8rem 0;
  }
  
  .logo {
    order: 1;
    margin: 0 auto;
    padding: 0.5rem 0;
  }
  
  .mobile-menu-btn {
    display: block;
    order: 2;
    margin-left: auto;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
  }
  
  nav {
    display: none;
    width: 100%;
    order: 3;
    margin-top: 1rem;
  }
  
  nav.active {
    display: block;
  }
  
  nav ul {
    flex-direction: column;
  }
  
  nav ul li {
    margin-left: 0;
    margin-bottom: 1rem;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 1.8rem;
  }
  
  .profile-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
}

@media (min-width: 769px) {
  /* Styles pour écrans larges */
  .mobile-menu-btn {
    display: none;
  }
}

/* Utils */
a {
  text-decoration: none;
  color: var(--primary);
  transition: var(--transition);
}

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

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background-color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    padding-right: 20px;
}

.contact-info p {
    margin-bottom: 2rem;
    color: #555;
    font-size: 1.1rem;
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.2rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-right: 1rem;
    width: 30px;
    text-align: center;
}

.contact-form {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 0;
    border: 1px solid #e0e0e0;
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

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

/* Scroll to top button */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 0;
    background-color: var(--primary);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.scroll-top-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Alert styles */
.alert {
    padding: 1rem;
    border-radius: 0;
    margin-bottom: 1rem;
}

.alert-success {
    background-color: rgba(0, 0, 0, 0.1);
    color: var(--primary);
    border: 1px solid var(--primary);
}

.alert-danger {
    background-color: rgba(231, 111, 81, 0.1);
    color: var(--danger);
    border: 1px solid var(--danger);
}

.is-invalid {
    border-color: var(--danger) !important;
    box-shadow: 0 0 0 2px rgba(231, 111, 81, 0.2) !important;
}

/* Styles supplémentaires noir et blanc */
mark {
  background-color: rgba(0, 0, 0, 0.1);
  color: black;
  padding: 0 2px;
}

/* Animation smooth pour le défilement */
html {
  scroll-behavior: smooth;
} 