/* Style principal pour domain.com - Services d'audit financier */

/* Réinitialisation et styles de base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
}

body {
  font-family: 'Poppins', Arial, sans-serif;
  background-color: #2D0A3D;
  color: #FFFFFF;
  line-height: 1.6;
}

section[id] {
  scroll-margin-top: 40px;
}

div {
  word-break: break-word;
  overflow-wrap: break-word;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background-color: rgba(45, 10, 61, 0.9);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: #FFFFFF;
  text-decoration: none;
}

.logo span {
  color: #1FFFE3;
}

/* Navigation */
nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 25px;
}

nav ul li a {
  text-decoration: none;
  color: #F5E9DA;
  font-weight: 500;
  transition: all 0.3s ease;
}

nav ul li a:hover {
  color: #1FFFE3;
}

/* 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: #FFFFFF;
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* Sections générales */
section {
  padding: 80px 0;
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 40px;
  text-align: center;
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #1FFFE3, #FF6F3C);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(45, 10, 61, 0.7);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 30px;
  color: #F5E9DA;
}

/* Boutons */
.btn {
  display: inline-block;
  padding: 14px 30px;
  background: linear-gradient(45deg, #1FFFE3, #1FFFE3);
  color: #2D0A3D;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  background: linear-gradient(45deg, #1FFFE3, #1CCECA);
}

.btn-secondary {
  background: linear-gradient(45deg, #FF6F3C, #FF9F68);
  color: #FFFFFF;
}

.btn-secondary:hover {
  background: linear-gradient(45deg, #FF6F3C, #FF8952);
}

/* Grid pour les cartes */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

/* Cartes */
.card {
  background: linear-gradient(145deg, #2D0A3D, #3D1A4D);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-content {
  padding: 20px;
}

.card-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #1FFFE3;
}

.card-text {
  color: #F5E9DA;
  margin-bottom: 20px;
}

/* Section Services */
.services {
  background-color: #230832;
}

/* Section À propos */
.about {
  position: relative;
}

.about-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.about-text {
  flex: 1;
}

.about-image {
  flex: 1;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Section Avantages */
.advantages {
  background-color: #230832;
}

.advantage-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px 20px;
}

.advantage-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(45deg, #1FFFE3, #1CCECA);
  border-radius: 50%;
  margin-bottom: 20px;
}

.advantage-icon i {
  font-size: 2rem;
  color: #2D0A3D;
}

.advantage-title {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: #1FFFE3;
}

/* Section Statistiques */
.stats {
  background: linear-gradient(45deg, #2D0A3D, #3D1A4D);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.stat-item {
  text-align: center;
  padding: 20px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #1FFFE3;
}

.stat-label {
  font-size: 1.1rem;
  color: #F5E9DA;
}

/* Section Formulaire */
.contact-form {
  background-color: #230832;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  max-width: 800px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  color: #F5E9DA;
}

.form-input,
.form-select {
  width: 100%;
  padding: 15px;
  border: none;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #FFFFFF;
  font-size: 1rem;
}

.form-select {
  cursor: pointer;
}

.form-select option {
  background-color: #FFFFFF;
  color: #2D0A3D;
}

.form-checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.form-checkbox {
  margin-right: 10px;
  margin-top: 5px;
}

.form-checkbox-label {
  color: #F5E9DA;
  font-size: 0.9rem;
}

.form-checkbox-label a {
  color: #1FFFE3;
  text-decoration: underline;
}

/* Section Témoignages */
.testimonials {
  background-color: #230832;
}

.testimonial-card {
  padding: 30px;
  background: linear-gradient(145deg, #2D0A3D, #3D1A4D);
  border-radius: 20px;
  position: relative;
}

.testimonial-text {
  margin-bottom: 20px;
  font-style: italic;
  color: #F5E9DA;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
}

.testimonial-author-name {
  font-weight: 700;
  color: #1FFFE3;
}

.testimonial-author-title {
  color: #F5E9DA;
  font-size: 0.9rem;
}

/* Section CTA */
.cta {
  text-align: center;
  padding: 100px 0;
  background: linear-gradient(45deg, #2D0A3D, #3D1A4D);
}

.cta-title {
  font-size: 2.5rem;
  margin-bottom: 30px;
}

.cta-text {
  max-width: 700px;
  margin: 0 auto 40px;
  color: #F5E9DA;
}

/* Footer */
footer {
  background-color: #1A0627;
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.footer-section h3 {
  color: #1FFFE3;
  margin-bottom: 20px;
  font-size: 1.3rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #F5E9DA;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: #1FFFE3;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.footer-contact-icon {
  margin-right: 10px;
  color: #1FFFE3;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #F5E9DA;
  font-size: 0.9rem;
}

/* Page de politique */
.policy-page {
  padding: 120px 0 80px;
}

.policy-container {
  background-color: #230832;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.policy-title {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #1FFFE3;
}

.policy-section {
  margin-bottom: 30px;
}

.policy-section h2 {
  color: #1FFFE3;
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.policy-section p {
  color: #F5E9DA;
  margin-bottom: 15px;
}

/* Page Merci */
.thank-you {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thank-you-container {
  background-color: #230832;
  padding: 60px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  text-align: center;
  max-width: 700px;
  margin: 8rem auto 5rem;
}

.thank-you-title {
  font-size: 2.5rem;
  color: #1FFFE3;
  margin-bottom: 20px;
}

.thank-you-text {
  color: #F5E9DA;
  margin-bottom: 30px;
}

/* Cookie popup */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #230832;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  max-width: 350px;
  display: none;
}

.cookie-popup.show {
  display: block;
}

.cookie-text {
  margin-bottom: 15px;
  color: #F5E9DA;
  font-size: 0.9rem;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

.cookie-btn {
  padding: 8px 15px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.9rem;
  border: none;
  transition: all 0.3s ease;
}

.cookie-accept {
  background-color: #1FFFE3;
  color: #2D0A3D;
}

.cookie-decline {
  background-color: transparent;
  border: 1px solid #F5E9DA;
  color: #F5E9DA;
}

/* FAQ (utilisant des checkboxes) */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
}

.faq-checkbox {
  position: absolute;
  opacity: 0;
  height: 0;
  width: 0;
}

.faq-question {
  display: block;
  padding: 15px 20px;
  background: linear-gradient(145deg, #2D0A3D, #3D1A4D);
  color: #1FFFE3;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  border-radius: 10px;
}

.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;
  background-color: rgba(255, 255, 255, 0.05);
  transition: max-height 0.3s ease;
}

.faq-answer-content {
  padding: 15px 20px;
  color: #F5E9DA;
}

.faq-checkbox:checked ~ .faq-question::after {
  content: '−';
}

.faq-checkbox:checked ~ .faq-answer {
  max-height: 500px;
}

/* Media Queries */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.8rem;
  }
  
  .about-content {
    flex-direction: column;
  }
  
  .about-text,
  .about-image {
    flex: none;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .menu-toggle-label {
    display: block;
  }
  
  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #2D0A3D;
    flex-direction: column;
    padding: 20px 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
  }
  
  nav ul li {
    margin: 0;
    text-align: center;
  }
  
  nav ul li a {
    display: block;
    padding: 15px 0;
  }
  
  .menu-toggle:checked ~ ul {
    display: flex;
  }
  
  .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(5px, -5px);
  }
  
  .hero-title {
    font-size: 2.3rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .contact-form {
    padding: 30px 20px;
  }
  
  .policy-container,
  .thank-you-container {
    padding: 30px 20px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .btn {
    padding: 12px 25px;
    font-size: 0.9rem;
  }
  
  .grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .thank-you-container {
    margin: 6rem auto 3rem;
  }

  .thank-you {
    height: auto;}
}
