/* 
 * AuditÉclat - Styles CSS
 * 
 * Palette de couleurs:
 * - Principale: #00d9d9 (Turquoise)
 * - Fond: #1e1e1e (Graphite foncé)
 * - Accentuation: #ffe04a (Jaune soleil)
 * - Texte: #f2f2f2 (Blanc argenté)
 * - Boutons: #9a7cff (Violet lavande)
 */

/* === RESET ET BASES === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

@font-face {
  font-family: 'Montserrat';
  src: url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');
  font-display: swap;
}

@font-face {
  font-family: 'Open Sans';
  src: url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&display=swap');
  font-display: swap;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Open Sans', sans-serif;
  background-color: #1e1e1e;
  color: #f2f2f2;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #00d9d9;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 3px;
  background-color: #ffe04a;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

p, ul, ol {
  margin-bottom: 1.5rem;
}

a {
  color: #00d9d9;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #ffe04a;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

section {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

section:nth-child(even) {
  background-color: #252525;
}

/* Boutons */
.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  cursor: pointer;
  background-color: #9a7cff;
  color: #1e1e1e;
}

.btn:hover {
  background-color: #8569e6;
  color: #f2f2f2;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.btn-primary {
  background-color: #00d9d9;
  color: #1e1e1e;
}

.btn-primary:hover {
  background-color: #00b8b8;
  color: #1e1e1e;
}

/* === HEADER ET NAVIGATION === */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(30, 30, 30, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo svg {
  height: 40px;
  width: auto;
}

/* Menu burger sans JavaScript */
.burger-menu {
  position: relative;
}

.burger-toggle {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.burger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
  z-index: 2;
  position: relative;
}

.burger-btn span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #f2f2f2;
  transition: all 0.3s ease;
  transform-origin: left center;
}

.main-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
}

.main-nav li {
  margin: 0 1rem;
}

.main-nav a {
  color: #f2f2f2;
  font-weight: 500;
  font-family: 'Montserrat', sans-serif;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #00d9d9;
  transition: width 0.3s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

/* === HERO SECTION === */
.hero {
  padding: 10rem 0 5rem;
  background-color: #1e1e1e;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(0, 217, 217, 0.1), transparent 50%);
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  animation: fadeInUp 1s ease;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: #00d9d9;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.hero-image {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0,0,0,0.3);
  animation: fadeIn 1.5s ease;
}

.hero-image img {
  border-radius: 10px;
  transition: transform 0.5s ease;
}

.hero-image:hover img {
  transform: scale(1.05);
}

/* === ABOUT SECTION === */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text {
  animation: fadeIn 1s ease;
}

.about-text ul {
  list-style: none;
}

.about-text li {
  margin-bottom: 1rem;
  padding-left: 30px;
  position: relative;
}

.about-text li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  background-color: #ffe04a;
  border-radius: 50%;
}

.about-text span {
  color: #00d9d9;
  font-weight: bold;
}

.about-image {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.about-image img {
  transition: transform 0.5s ease;
  border-radius: 10px;
}

.about-image:hover img {
  transform: scale(1.05);
}

/* === ADVANTAGES SECTION === */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.advantage-card {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  transition: all 0.3s ease;
  animation: fadeIn 1s ease;
}

.advantage-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  background-color: rgba(255, 255, 255, 0.08);
}

.advantage-icon {
  margin: 0 auto 1.5rem;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(0, 217, 217, 0.1);
}

.icon {
  width: 30px;
  height: 30px;
  stroke: #00d9d9;
  stroke-width: 2;
  fill: none;
}

/* === SERVICES SECTION === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
  animation: fadeIn 1s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-card h3, .service-card p {
  padding: 0 1.5rem;
}

.service-card h3 {
  margin-top: 1.5rem;
}

.service-price {
  font-weight: bold;
  color: #ffe04a;
  padding: 0 1.5rem;
  margin-bottom: 1rem;
}

.service-card .btn {
  margin: 1rem 1.5rem 1.5rem;
}

/* === WHY US SECTION === */
.why-us-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.why-us-text ul {
  list-style: none;
}

.why-us-text li {
  margin-bottom: 1rem;
  padding-left: 30px;
  position: relative;
}

.why-us-text li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  background-color: #ffe04a;
  border-radius: 50%;
}

.why-us-text strong {
  color: #00d9d9;
}

.why-us-image {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.why-us-image img {
  transition: transform 0.5s ease;
  border-radius: 10px;
}

.why-us-image:hover img {
  transform: scale(1.05);
}

/* === TESTIMONIALS SECTION === */
.testimonial-slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 10px;
  position: relative;
  transition: all 0.3s ease;
}

.testimonial:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  background-color: rgba(255, 255, 255, 0.08);
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 4rem;
  color: rgba(0, 217, 217, 0.2);
  font-family: serif;
}

.testimonial-content p {
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
}

.testimonial-author strong {
  color: #00d9d9;
}

.testimonial-author span {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* === FAQ SECTION === */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.faq-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  background-color: rgba(255, 255, 255, 0.08);
}

.faq-item h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #ffe04a;
}

.faq-item p {
  margin-bottom: 0;
}

/* === CONTACT FORM SECTION === */
.contact-form {
  background-color: #252525;
}

.contact-form .container {
  max-width: 800px;
}

form {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 10px;
  animation: fadeIn 1s ease;
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  color: #00d9d9;
  font-weight: 600;
}

input, select, textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: #1e1e1e;
  color: #f2f2f2;
  border-radius: 4px;
  font-family: 'Open Sans', sans-serif;
  transition: all 0.3s ease;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #00d9d9;
  box-shadow: 0 0 0 2px rgba(0, 217, 217, 0.2);
}

.checkbox {
  display: flex;
  align-items: flex-start;
}

.checkbox input {
  width: auto;
  margin-right: 10px;
  margin-top: 5px;
}

.checkbox label {
  margin-bottom: 0;
  color: #f2f2f2;
  font-weight: normal;
}

form .btn {
  margin-top: 1rem;
  width: 100%;
}

/* === THANK YOU PAGE === */
.thank-you {
  padding: 10rem 0;
  text-align: center;
}

.thank-you-content {
  max-width: 600px;
  margin: 0 auto;
}

.thank-you-icon {
  width: 80px;
  height: 80px;
  stroke: #00d9d9;
  stroke-width: 2;
  fill: none;
  margin: 0 auto 2rem;
}

/* === LEGAL PAGES === */
.legal-page {
  padding: 10rem 0 5rem;
}

.legal-content {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 10px;
}

.legal-content h2 {
  color: #ffe04a;
  margin-top: 2rem;
}

.legal-content h3 {
  color: #00d9d9;
}

.legal-content ul {
  padding-left: 1.5rem;
}

/* === COOKIE POPUP === */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #252525;
  border: 1px solid #00d9d9;
  border-radius: 10px;
  padding: 1.5rem;
  z-index: 1000;
  max-width: 400px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  animation: slideIn 0.5s ease;
}

.cookie-content {
  text-align: center;
}

.cookie-content p {
  margin-bottom: 1.5rem;
}

.cookie-link {
  display: block;
  margin-top: 1rem;
  font-size: 0.9rem;
}

/* === FOOTER === */
.site-footer {
  background-color: #1a1a1a;
  padding: 5rem 0 1rem;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at bottom right, rgba(0, 217, 217, 0.1), transparent 50%);
  z-index: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  position: relative;
  z-index: 1;
}

.footer-company {
  grid-column: 1 / -1;
}

.footer-logo {
  margin-bottom: 1.5rem;
}

.footer-description {
  max-width: 600px;
  margin-bottom: 2rem;
  opacity: 0.8;
}

.footer-contact h3, .footer-links h3, .footer-legal h3 {
  color: #ffe04a;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.footer-contact ul, .footer-links ul, .footer-legal ul {
  list-style: none;
  margin: 0;
}

.footer-contact li, .footer-links li, .footer-legal li {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
}

.footer-icon {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  stroke: #00d9d9;
  stroke-width: 2;
  fill: none;
}

.footer-contact a, .footer-links a, .footer-legal a {
  color: #f2f2f2;
  transition: color 0.3s ease;
}

.footer-contact a:hover, .footer-links a:hover, .footer-legal a:hover {
  color: #00d9d9;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  opacity: 0.7;
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
}

/* === ANIMATIONS === */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

/* === RESPONSIVE DESIGN === */
@media screen and (max-width: 992px) {
  html {
    font-size: 15px;
  }
  
  .hero .container, 
  .about-content, 
  .why-us-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hero-image, 
  .about-image, 
  .why-us-image {
    max-width: 600px;
    margin: 0 auto;
  }
}

@media screen and (max-width: 768px) {
  html {
    font-size: 14px;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.7rem;
  }
  
  section {
    padding: 4rem 0;
  }
  
  /* Menu burger styles pour mobile */
  .burger-btn {
    display: flex;
  }
  
  .main-nav {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    height: 0;
    background-color: rgba(30, 30, 30, 0.95);
    backdrop-filter: blur(10px);
    overflow: hidden;
    transition: all 0.3s ease;
    z-index: 999;
  }
  
  .main-nav ul {
    flex-direction: column;
    padding: 0 1rem;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
  }
  
  .main-nav li {
    margin: 0.8rem 0;
    width: 100%;
    text-align: center;
  }
  
  /* Styles lorsque la checkbox est cochée */
  .burger-toggle:checked ~ .main-nav {
    height: calc(100vh - 72px);
  }
  
  .burger-toggle:checked ~ .main-nav ul {
    opacity: 1;
    transform: translateY(0);
    padding: 2rem 1rem;
  }
  
  .burger-toggle:checked ~ .burger-btn span:nth-child(1) {
    transform: rotate(45deg);
    width: 120%;
  }
  
  .burger-toggle:checked ~ .burger-btn span:nth-child(2) {
    opacity: 0;
  }
  
  .burger-toggle:checked ~ .burger-btn span:nth-child(3) {
    transform: rotate(-45deg);
    width: 120%;
  }
  
  .services-grid, 
  .testimonial-slider, 
  .faq-grid {
    grid-template-columns: 1fr;
  }
  
  .service-card {
    max-width: 400px;
    margin: 0 auto;
  }
  
  .cookie-popup {
    bottom: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    border-radius: 0;
  }
}

@media screen and (max-width: 576px) {
  html {
    font-size: 13px;
  }
  
  .hero {
    padding: 8rem 0 4rem;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .legal-page {
    padding: 8rem 0 4rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-description {
    margin: 0 auto 2rem;
  }
  
  .footer-contact li, 
  .footer-links li, 
  .footer-legal li {
    justify-content: center;
  }
  
  .thank-you {
    padding: 8rem 0;
  }
} 