/* 
* Ncdrhh - Style principal
* Créé le: 21 octobre 2025
*/


:root {
  --black: #000000;
  --dark-gray: #111111;
  --light-gray: #333333;
  --text-main: #FFFFFF;
  --text-secondary: #CCCCCC;
  --neon-green: #39FF14;
  --neon-pink: #FF10F0;
  --neon-blue: #00FFFF;
  --shadow-color: rgba(0, 0, 0, 0.5);
  --glow-green: 0 0 10px rgba(57, 255, 20, 0.7);
  --glow-pink: 0 0 10px rgba(255, 16, 240, 0.7);
  --glow-blue: 0 0 10px rgba(0, 255, 255, 0.7);
}

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


body {
  font-family: 'Source Sans 3', sans-serif;
  background-color: var(--black);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a:hover {
  color: var(--neon-green);
}

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

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

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
  font-weight: 600;
}

h1 {
  font-size: 2.5rem;
  background: linear-gradient(90deg, var(--neon-green), var(--neon-pink), var(--neon-blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2rem;
  color: var(--neon-pink);
  margin-bottom: 1.2rem;
}

h3 {
  font-size: 1.5rem;
  color: var(--neon-blue);
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

strong {
  color: var(--text-main);
}

button, .btn {
  background-color: transparent;
  color: var(--text-main);
  border: 2px solid var(--neon-green);
  padding: 10px 20px;
  cursor: pointer;
  font-size: 1rem;
  font-family: 'Source Sans 3', sans-serif;
  transition: all 0.3s ease;
  border-radius: 4px;
  display: inline-block;
  text-align: center;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
}

button:hover, .btn:hover {
  background-color: var(--neon-green);
  color: var(--black);
  box-shadow: var(--glow-green);
}

.btn-pink {
  border-color: var(--neon-pink);
}

.btn-pink:hover {
  background-color: var(--neon-pink);
  box-shadow: var(--glow-pink);
}

.btn-blue {
  border-color: var(--neon-blue);
}

.btn-blue:hover {
  background-color: var(--neon-blue);
  box-shadow: var(--glow-blue);
}


header {
  background-color: var(--black);
  border-bottom: 1px solid var(--light-gray);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo {
  height: 60px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-main);
  cursor: pointer;
}

nav ul {
  display: flex;
  list-style-type: none;
  gap: 30px;
}

nav ul li a {
  position: relative;
  padding-bottom: 5px;
}

nav ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background: linear-gradient(90deg, var(--neon-green), var(--neon-pink));
  transition: width 0.3s ease;
}

nav ul li a:hover::after {
  width: 100%;
}


.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at center, var(--dark-gray) 0%, var(--black) 70%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, rgba(57, 255, 20, 0.05), rgba(255, 16, 240, 0.05), rgba(0, 255, 255, 0.05));
  animation: rotate 20s linear infinite;
  top: -50%;
  left: -50%;
  z-index: 1;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--text-secondary);
}

.hero-buttons {
  display: flex;
  gap: 20px;
}


section {
  padding: 80px 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--neon-green), var(--neon-pink), var(--neon-blue));
}


.card {
  background-color: var(--dark-gray);
  border-radius: 8px;
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--neon-green), var(--neon-pink), var(--neon-blue));
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px var(--shadow-color);
}

.card h3 {
  margin-top: 10px;
}

.card-img {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
  height: 200px;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .card-img img {
  transform: scale(1.05);
}


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


.features {
  background-color: var(--dark-gray);
}

.feature-item {
  text-align: center;
  padding: 20px;
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--neon-blue);
}


.stats {
  text-align: center;
  padding: 60px 0;
}

.stat-item {
  margin-bottom: 40px;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(90deg, var(--neon-green), var(--neon-blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 10px;
}

.odometer {
  font-size: 3rem;
  font-weight: 700;
  color: var(--neon-green);
}


.contact-form {
  background-color: var(--dark-gray);
  padding: 40px;
  border-radius: 8px;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.contact-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--neon-green), var(--neon-pink), var(--neon-blue));
  opacity: 0.1;
  border-radius: 8px;
  z-index: 0;
}

.form-content {
  position: relative;
  z-index: 1;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  background-color: var(--black);
  border: 1px solid var(--light-gray);
  color: var(--text-main);
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1rem;
  border-radius: 4px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

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

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

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.checkbox-group input[type="checkbox"] {
  margin-right: 10px;
  margin-top: 5px;
}

.checkbox-group label {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.checkbox-group a {
  color: var(--neon-green);
}

.checkbox-group a:hover {
  text-decoration: underline;
}


footer {
  background-color: var(--dark-gray);
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  max-width: 200px;
  margin-bottom: 20px;
}

.footer-info p {
  margin-bottom: 10px;
  color: var(--text-secondary);
}

.footer-links h4 {
  color: var(--text-main);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-links h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--neon-green);
}

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

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: var(--text-secondary);
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
}

.footer-links ul li a:hover {
  color: var(--neon-green);
  transform: translateX(5px);
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--light-gray);
  color: var(--text-secondary);
  font-size: 0.9rem;
}


.chart-container {
  background-color: var(--dark-gray);
  padding: 30px;
  border-radius: 8px;
  margin-bottom: 40px;
  position: relative;
}

.chart-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(57, 255, 20, 0.05), rgba(255, 16, 240, 0.05));
  border-radius: 8px;
  z-index: 0;
}

.chart-content {
  position: relative;
  z-index: 1;
}


.cta {
  background: linear-gradient(135deg, var(--dark-gray), var(--black));
  text-align: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(57, 255, 20, 0.05), rgba(0, 255, 255, 0.05));
  z-index: 0;
}

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

.cta h2 {
  margin-bottom: 20px;
}

.cta p {
  margin-bottom: 30px;
  font-size: 1.1rem;
}


.article {
  margin-bottom: 50px;
}

.article-header {
  margin-bottom: 30px;
}

.article-meta {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.article-content {
  line-height: 1.8;
}

.article-content p {
  margin-bottom: 20px;
}

.article-content h3 {
  margin: 30px 0 15px;
}

.article-content ul, .article-content ol {
  margin-bottom: 20px;
  padding-left: 20px;
}

.article-content li {
  margin-bottom: 10px;
  color: var(--text-secondary);
}


.contact-info {
  margin-bottom: 50px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.contact-icon {
  font-size: 1.5rem;
  margin-right: 15px;
  color: var(--neon-green);
  min-width: 30px;
  text-align: center;
}

.map-container {
  border-radius: 8px;
  overflow: hidden;
  height: 400px;
  margin-bottom: 50px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}


.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--dark-gray);
  padding: 20px;
  z-index: 1000;
  box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.3);
  display: none;
}

.cookie-consent.show {
  display: block;
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.cookie-text {
  flex: 1;
  min-width: 280px;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  flex-direction: column;
}

.cookie-settings {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1001;
  display: none;
}

.cookie-settings.show {
  display: flex;
}

.settings-modal {
  background-color: var(--dark-gray);
  border-radius: 8px;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 30px;
  position: relative;
}

.settings-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.close-settings {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-main);
  cursor: pointer;
}

.cookie-category {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--light-gray);
}

.cookie-category:last-child {
  border-bottom: none;
}

.category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--light-gray);
  transition: .4s;
  border-radius: 24px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: var(--text-main);
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--neon-green);
}

input:checked + .slider:before {
  transform: translateX(26px);
}

.settings-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}


.thank-you {
  text-align: center;
  padding: 100px 0;
}

.thank-you h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.thank-you p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.thank-you-icon {
  font-size: 5rem;
  color: var(--neon-green);
  margin-bottom: 30px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}


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

.policy-content h2 {
  margin-top: 40px;
  margin-bottom: 20px;
}

.policy-content h3 {
  margin-top: 30px;
  margin-bottom: 15px;
}

.policy-content p, .policy-content ul, .policy-content ol {
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.policy-content ul, .policy-content ol {
  padding-left: 20px;
}

.policy-content li {
  margin-bottom: 10px;
}

.policy-date {
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 30px;
  display: block;
}


@media (max-width: 991px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
  
  .grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

.close-nav {
  display: none;
}

@media (max-width: 767px) {
  .nav-toggle {
    display: block;
  }
  
  nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100vh;
    background-color: var(--black);
    transition: left 0.3s ease;
    z-index: 1000;
    padding: 80px 30px 30px;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.3);
  }
  
  nav.active {
    left: 0;
  }
  
  nav ul {
    flex-direction: column;
    gap: 20px;
  }
  
  .close-nav {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-main);
    cursor: pointer;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
  }
  
  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 575px) {
  .grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .contact-form {
    padding: 30px 20px;
  }
  
  .hero {
    min-height: 60vh;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  h3 {
    font-size: 1.3rem;
  }
}


.iti {
  width: 100%;
}

.iti__flag {
  background-image: url("https://cdn.jsdelivr.net/npm/intl-tel-input@19.5.1/build/img/flags.png");
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .iti__flag {
    background-image: url("https://cdn.jsdelivr.net/npm/intl-tel-input@19.5.1/build/img/flags@2x.png");
  }
}