/* Style principal pour domain.com */
:root {
  --color-indigo: #2C2E7D;
  --color-turquoise: #5CE1E6;
  --color-coral: #FF6F61;
  --color-light: #FAFAFA;
  --color-dark: #1A1A1A;
  --color-lime: #D4FF00;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, var(--color-indigo), var(--color-turquoise));
  color: var(--color-light);
  min-height: 100vh;
  line-height: 1.6;
}

section[id] {
  scroll-margin-top: 40px;
}

div {
  word-break: break-word;
  overflow-wrap: break-word;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(26, 26, 26, 0.9);
  z-index: 1000;
  padding: 1rem 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-light);
  text-decoration: none;
}

nav ul {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 20px;
}

nav ul li a {
  color: var(--color-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: var(--color-lime);
}

.cta-button {
  background-color: var(--color-coral);
  color: var(--color-light);
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: var(--color-lime);
  color: var(--color-dark);
}

/* Menu hamburger pour mobile */
.menu-toggle {
  display: none;
}

.menu-toggle-label {
  display: none;
  cursor: pointer;
}

.menu-toggle-label span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--color-light);
  margin: 5px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  padding: 2rem;
  z-index: 2;
  background-color: #424242e8;
    border-radius: 1rem;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* Services Section */
.services {
  padding: 5rem 0;
  background-color: rgba(26, 26, 26, 0.8);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.5rem;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  width: 70%;
  height: 3px;
  background-color: var(--color-coral);
  bottom: -10px;
  left: 15%;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.service-card {
  background-color: rgba(250, 250, 250, 0.1);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.service-card-img {
  height: 200px;
  overflow: hidden;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card-img img {
  transform: scale(1.1);
}

.service-card-content {
  padding: 1.5rem;
  flex-grow: 1;
}

.service-card h3 {
  color: var(--color-light);
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--color-light);
  margin-bottom: 1.5rem;
}

/* About Section */
.about {
  padding: 5rem 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}

.about-text h2 {
  margin-bottom: 1.5rem;
}

.advantages {
  margin-top: 2rem;
}

.advantage-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.advantage-icon {
  background-color: var(--color-coral);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
}

/* Form Section */
.contact-form-section {
  padding: 5rem 0;
  background-color: rgba(26, 26, 26, 0.8);
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem;
  background-color: rgba(250, 250, 250, 0.1);
  border-radius: 10px;
}

form {
  display: grid;
  gap: 20px;
}

.form-group {
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  color: var(--color-light);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid rgba(250, 250, 250, 0.3);
  border-radius: 5px;
  background-color: rgba(250, 250, 250, 0.1);
  color: var(--color-light);
}

.form-group select option {
  background-color: white;
  color: var(--color-dark);
}
form a {
    color: var(--color-lime);
text-decoration: none;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
}

.form-submit {
  background-color: var(--color-coral);
  color: var(--color-light);
  border: none;
  padding: 12px 15px;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.form-submit:hover {
  background-color: var(--color-lime);
  color: var(--color-dark);
}

/* Testimonials Section */
.testimonials {
  padding: 5rem 0;
}

.testimonial-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.testimonial-card {
  background-color: rgba(250, 250, 250, 0.1);
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-10px);
}

.testimonial-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  overflow: hidden;
}

.testimonial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-text {
  margin-bottom: 1rem;
  font-style: italic;
}

.testimonial-author {
  font-weight: 700;
  color: var(--color-lime);
}

/* FAQ Section */
.faq {
  padding: 5rem 0;
  background-color: rgba(26, 26, 26, 0.8);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  border-radius: 5px;
  overflow: hidden;
}

.faq-question {
  display: block;
  padding: 1rem;
  background-color: rgba(250, 250, 250, 0.1);
  color: var(--color-light);
  cursor: pointer;
  position: relative;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  background-color: rgba(250, 250, 250, 0.05);
  transition: max-height 0.3s ease;
}

.faq-answer-content {
  padding: 1rem;
}

.faq-toggle {
  position: absolute;
  opacity: 0;
  z-index: -1;
}

.faq-toggle:checked + .faq-question::after {
  content: '-';
}

.faq-toggle:checked ~ .faq-answer {
  max-height: 500px;
}

/* Contact Section */
.contacts {
  padding: 5rem 0;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact-icon {
  background-color: var(--color-coral);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
}

.contact-text h4 {
  margin-bottom: 0.5rem;
}

/* Footer */
footer {
  background-color: var(--color-dark);
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 2rem;
}

.footer-column h4 {
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  width: 50px;
  height: 2px;
  background-color: var(--color-coral);
  bottom: -8px;
  left: 0;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--color-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--color-coral);
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(250, 250, 250, 0.1);
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background-color: var(--color-dark);
  padding: 1rem;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  opacity: 0;
  transition: bottom 0.5s ease, opacity 0.5s ease;
}

.cookie-popup.show {
  bottom: 0;
  opacity: 1;
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.cookie-text {
  flex: 1;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

/* Thank You Page */
.thank-you-container {
  background-color: rgba(250, 250, 250, 0.1);
  border-radius: 10px;
  padding: 3rem;
  text-align: center;
  max-width: 600px;
  margin: 8rem auto 5rem;
  border: 1px solid var(--color-coral);
  gap: 1rem;
  display: grid
;
}

.thank-you-container h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--color-coral);
}

/* Policy Pages */
.policy-container {
  background-color: rgba(250, 250, 250, 0.1);
  border-radius: 10px;
  padding: 3rem;
  max-width: 900px;
  margin: 8rem auto 5rem;
  border: 1px solid var(--color-coral);
}

.policy-container h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--color-coral);
  text-align: center;
}

.policy-container h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--color-light);
}

.policy-container p, .policy-container ul {
  margin-bottom: 1.5rem;
}

.policy-container ul {
  margin-left: 2rem;
}

/* Media Queries */
@media (max-width: 992px) {
  .about-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header-container {
    position: relative;
  }

  .menu-toggle-label {
    display: block;
    z-index: 1001;
  }

  nav ul {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 70%;
    max-width: 300px;
    background-color: var(--color-dark);
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    transition: right 0.3s ease;
    z-index: 1000;
  }

  .menu-toggle:checked ~ nav ul {
    right: 0;
  }

  .menu-toggle:checked ~ .menu-toggle-label span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-toggle:checked ~ .menu-toggle-label span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle:checked ~ .menu-toggle-label span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .section-title h2 {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 2rem;
  }

  .service-card-img {
    height: 150px;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-buttons {
    width: 100%;
    justify-content: center;
  }

  .form-container, .thank-you-container, .policy-container {
    padding: 1.5rem;
  }
}
