/* Style principal pour domain.com */
:root {
  --bg-primary: #0F172A;
  --accent-green: #00F5A0;
  --accent-coral: #FF6B81;
  --accent-yellow: #F9F871;
  --text-light: #F1F5F9;
  --text-white: #FFFFFF;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-light);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-white);
  margin-bottom: 1rem;
}

a {
  color: var(--accent-green);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent-coral);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 4rem 0;
}

/* Header et Navigation */
header {
  background-color: var(--bg-primary);
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--text-white);
}

.logo svg {
  margin-right: 0.5rem;
  height: 30px;
  width: 30px;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 1.5rem;
}

nav ul li a {
  color: var(--text-light);
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: var(--accent-green);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Pour le menu mobile */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  height: 100vh;
  background-color: var(--bg-primary);
  z-index: 1001;
  transition: right 0.3s ease;
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav ul {
  padding: 2rem;
  list-style: none;
}

.mobile-nav ul li {
  margin-bottom: 1.5rem;
}

.mobile-nav-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--text-white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  background-image: linear-gradient(rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.9)), url('../img/s2X74M.jpg');
  background-size: cover;
  background-position: center;
  padding-top: 60px;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* Boutons */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background: linear-gradient(45deg, var(--accent-coral), var(--accent-green));
  color: var(--text-white);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 245, 160, 0.3);
  color: var(--text-white);
}

/* Sections */
.about, .why-us, .services, .benefits, .testimonials, .contact, .faq {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.5rem;
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(45deg, var(--accent-coral), var(--accent-green));
}

/* À propos */
.about-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  align-items: center;
}

.about-image {
  overflow: hidden;
  border-radius: 10px;
}

.about-image img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.about-text {
  padding: 1rem;
}

/* Pourquoi nous */
.why-us-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.why-card {
  background: rgba(241, 245, 249, 0.05);
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease;
}

.why-card:hover {
  transform: translateY(-10px);
}

.why-card-icon {
  color: var(--accent-green);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: rgba(241, 245, 249, 0.05);
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-image {
  width: 100%;
  margin: 0 auto 1rem;
  border-radius: 10px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.05);
}

/* Avantages */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.benefit-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.benefit-icon {
  min-width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 245, 160, 0.2);
  border-radius: 50%;
  margin-right: 1rem;
  color: var(--accent-green);
}

/* Témoignages */
.testimonials-slider {
  max-width: 800px;
  margin: 0 auto;
}

.testimonial {
  background: rgba(241, 245, 249, 0.05);
  border-radius: 10px;
  padding: 2rem;
  margin: 1rem;
  text-align: center;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  font-weight: bold;
}

/* Formulaire */
.form-container {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(241, 245, 249, 0.05);
  border-radius: 10px;
  padding: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.form-control {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid rgba(241, 245, 249, 0.2);
  border-radius: 5px;
  background: rgba(241, 245, 249, 0.05);
  color: var(--text-light);
  font-family: 'Open Sans', sans-serif;
}

select.form-control {
  color: var(--text-light);
}

select.form-control option {
  background-color: var(--bg-primary);
  color: var(--text-light);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-green);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.checkbox-group input {
  margin-right: 0.5rem;
  margin-top: 0.3rem;
}

/* FAQ */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: rgba(241, 245, 249, 0.05);
  border-radius: 5px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  padding: 1rem;
  cursor: pointer;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  padding: 0 1rem;
  height: 0;
  overflow: hidden;
  transition: height 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 1rem;
  height: auto;
  border-top: 1px solid rgba(241, 245, 249, 0.1);
}

/* Footer */
footer {
  background-color: rgba(9, 14, 26, 0.8);
  padding: 3rem 0 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-col h3 {
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-contact-list {
  list-style: none;
}

.footer-contact-list li {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
}

.footer-contact-list li i {
  margin-right: 0.8rem;
  color: var(--accent-green);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.copyright {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(241, 245, 249, 0.1);
  text-align: center;
  font-size: 0.9rem;
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background-color: rgba(15, 23, 42, 0.95);
  padding: 1.5rem;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transition: bottom 0.5s ease;
}

.cookie-popup.show {
  bottom: 0;
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-text {
  margin-right: 2rem;
}

.cookie-buttons {
  display: flex;
}

.cookie-btn {
  padding: 0.5rem 1rem;
  margin-left: 1rem;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
}

.cookie-accept {
  background-color: var(--accent-green);
  color: var(--bg-primary);
}

.cookie-info {
  background-color: transparent;
  border: 1px solid var(--accent-green);
  color: var(--accent-green);
}

/* Pages politiques */
.policy-container {
  max-width: 800px;
  margin: 120px auto 50px;
  background: rgba(241, 245, 249, 0.05);
  border-radius: 10px;
  padding: 2rem;
}

.policy-header {
  text-align: center;
  margin-bottom: 2rem;
}

.policy-section {
  margin-bottom: 2rem;
}

.policy-section h2 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

/* Page de remerciement */
.thank-you {
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.thank-you-content {
  max-width: 600px;
  border: 2px solid var(--accent-green);
  border-radius: 10px;
  padding: 2rem;
  background: rgba(241, 245, 249, 0.05);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.thank-you h1 {
  margin-bottom: 1.5rem;
}

.thank-you i {
  font-size: 5rem;
  color: var(--accent-green);
  margin-bottom: 2rem;
}

/* Media Queries */
@media (max-width: 992px) {
  .about-content {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  nav ul {
    display: none;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .mobile-nav {
    display: block;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-text {
    margin-right: 0;
    margin-bottom: 1rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
}
