/* Styles globaux */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

:root {
  --primary-gradient-start: #6b46c1;
  --primary-gradient-end: #14b8a6;
  --accent-coral: #ff6b6b;
  --accent-lime: #84cc16;
  --text-white: #ffffff;
  --text-light-gray: #e5e7eb;
  --overlay-dark: rgba(0, 0, 0, 0.6);
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: linear-gradient(135deg, var(--primary-gradient-start), var(--primary-gradient-end));
  color: var(--text-white);
  line-height: 1.6;
  min-height: 100vh;
}

div {
  word-break: break-word;
  overflow-wrap: break-word;
}

section[id] {
  scroll-margin-top: 40px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 80px 0;
}

/* Effet de verre */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 15px;
  box-shadow: var(--glass-shadow);
  padding: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Boutons */
.btn {
  display: inline-block;
  padding: 12px 25px;
  background: var(--accent-coral);
  color: var(--text-white);
  border: none;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover {
  background: var(--accent-lime);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--accent-coral);
}

.btn-outline:hover {
  background: var(--accent-coral);
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-white);
  text-decoration: none;
  letter-spacing: 1px;
}

nav ul {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 20px;
}

nav ul li a {
  color: var(--text-white);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: var(--accent-coral);
}



#menu-toggle {
  display: none;
}

.menu-btn {
  display: none;
  cursor: pointer;
  padding: 10px;
}

.menu-icon {
  display: block;
  position: relative;
  width: 30px;
  height: 2px;
  background-color: var(--text-white);
  transition: all 0.3s ease;
}

.menu-icon::before,
.menu-icon::after {
  content: '';
  position: absolute;
  width: 30px;
  height: 2px;
  background-color: var(--text-white);
  transition: all 0.3s ease;
}

.menu-icon::before {
  transform: translateY(-10px);
}

.menu-icon::after {
  transform: translateY(10px);
}

#menu-toggle:checked + .menu-btn .menu-icon {
  background-color: transparent;
}

#menu-toggle:checked + .menu-btn .menu-icon::before {
  transform: rotate(45deg);
}

#menu-toggle:checked + .menu-btn .menu-icon::after {
  transform: rotate(-45deg);
}

/* Hero Section */
.hero {
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--overlay-dark);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

/* Sections */
.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--accent-coral);
}

.section-title p {
  color: var(--text-light-gray);
  max-width: 700px;
  margin: 0 auto;
}

/* Grille de cartes */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.card-image {
  height: 200px;
  width: 100%;
  overflow: hidden;
  border-radius: 10px 10px 0 0;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-content {
  padding: 20px;
}

.card-content h3 {
  margin-bottom: 15px;
  color: var(--text-white);
}

/* À propos */
.about {
  text-align: center;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.value-item {
  text-align: center;
}

.value-item i {
  font-size: 2.5rem;
  color: var(--accent-coral);
  margin-bottom: 15px;
}

/* Avantages */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.advantage-item {
  display: flex;
  align-items: flex-start;
}

.advantage-icon {
  margin-right: 15px;
  font-size: 2rem;
  color: var(--accent-lime);
}

/* Étapes */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.step-item {
  position: relative;
  padding-left: 60px;
}

.step-number {
  position: absolute;
  top: 0;
  left: 0;
  width: 45px;
  height: 45px;
  background-color: var(--accent-coral);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
}

/* Témoignages */
.testimonial-item {
  position: relative;
  padding: 30px;
}

.testimonial-text {
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
}

.author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info h4 {
  font-weight: 600;
  margin-bottom: 5px;
}

.author-info p {
  font-size: 0.9rem;
  color: var(--text-light-gray);
}

/* Formulaire */
.form-section {
  max-width: 800px;
  margin: 0 auto;
}

.contact-form {
  padding: 40px;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: var(--text-white);
  font-family: 'Montserrat', sans-serif;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-coral);
  background: rgba(255, 255, 255, 0.15);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 15px;
}

select.form-control option {
  background-color: white;
  color: black;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.checkbox-group input {
  margin-right: 10px;
  margin-top: 5px;
}

.checkbox-group label a {
  color: #9aff00;
  text-decoration: none;
}

.checkbox-group label a:hover {
  text-decoration: underline;
}

/* FAQ Section */
.faq-item {
  margin-bottom: 15px;
}

.faq-question {
  background: rgba(255, 255, 255, 0.1);
  padding: 15px 20px;
  border-radius: 8px;
  cursor: pointer;
  position: relative;
  font-weight: 500;
  display: block;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0 0 8px 8px;
}

.faq-answer-content {
  padding: 20px;
}

input[type="checkbox"].faq-toggle {
  display: none;
}

input[type="checkbox"].faq-toggle:checked ~ .faq-answer {
  max-height: 500px;
}

input[type="checkbox"].faq-toggle:checked ~ .faq-question::after {
  content: '-';
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
}

.contact-icon {
  margin-right: 15px;
  font-size: 1.5rem;
  color: var(--accent-coral);
}

.contact-map {
  width: 100%;
  height: 300px;
  border-radius: 15px;
  overflow: hidden;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Footer */
.footer {
  background: rgba(0, 0, 0, 0.3);
  padding: 50px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  display: inline-block;
}

.footer-links h4 {
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: var(--text-light-gray);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links ul li a:hover {
  color: var(--accent-coral);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Page de remerciement */
.thank-you {
  margin: 8rem auto 5rem;
  text-align: center;
  max-width: 600px;
}

.thank-you .glass-card {
  padding: 50px;
}

.thank-you h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.thank-you p {
  margin-bottom: 30px;
}

/* Pages de politique */
.policy-page {
  margin: 120px auto 50px;
}

.policy-content {
  max-width: 900px;
  margin: 0 auto;
}

.policy-content h2 {
  margin: 30px 0 15px;
}

.policy-content p,
.policy-content ul {
  margin-bottom: 15px;
}

.policy-content ul {
  padding-left: 20px;
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.9);
  padding: 20px;
  z-index: 1000;
  transition: bottom 0.5s ease;
  text-align: center;
}

.cookie-popup.show {
  bottom: 0;
}

.cookie-popup p {
  margin-bottom: 15px;
}

.cookie-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.8rem;
  }

  .section-title h2 {
    font-size: 2.2rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.3rem;
  }

  .section-padding {
    padding: 60px 0;
  }

  .menu-btn {
    display: block;
  }

  nav ul {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--primary-gradient-start);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: left 0.3s ease;
    gap: 30px;
  }

  #menu-toggle:checked ~ nav ul {
    left: 0;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 2rem;
  }

  .btn {
    width: 100%;
    margin-bottom: 10px;
  }

  .section-title h2 {
    font-size: 1.8rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .thank-you .glass-card {
    padding: 30px 20px;
  }
}
