/* Style principal pour AuditFi Conseil */
:root {
  --dark-blue: #1C2237;
  --gold: #F5B400;
  --turquoise: #00E0C7;
  --white: #FFFFFF;
  --dark-bg: #0D111C;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  background-color: var(--dark-blue);
  color: var(--white);
  line-height: 1.6;
}

a {
  color: var(--turquoise);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--gold);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background-color: var(--dark-bg);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.logo {
  height: 40px;
}

.nav-toggle {
  display: none;
}

.nav-checkbox {
  display: none;
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-item {
  margin-left: 25px;
}

.nav-link {
  color: var(--white);
  font-weight: 500;
  position: relative;
  padding-bottom: 5px;
}

.nav-link:hover {
  color: var(--gold);
}

.nav-link:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--gold);
  transition: all 0.3s ease;
}

.nav-link:hover:after {
  width: 100%;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background-color: var(--gold);
  color: var(--dark-blue);
}

.btn-primary:hover {
  background-color: var(--turquoise);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
  background-color: var(--turquoise);
  color: var(--dark-blue);
}

.btn-secondary:hover {
  background-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Hero Section */
.hero {
  height: 100vh;
  min-height: 800px;
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(13, 17, 28, 0.85), rgba(13, 17, 28, 0.85)), url('./img/m3EsHx.jpg');
  background-size: cover;
  background-position: center;
  
}

.hero-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--white);
  line-height: 1.2;
}

.hero-title span {
  color: var(--gold);
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 30px;
  color: var(--turquoise);
}

/* Sections communes */
.section {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: var(--white);
}

.section-title span {
  color: var(--gold);
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  margin: -30px auto 50px;
  max-width: 700px;
  color: var(--turquoise);
}

/* À propos */
.about {
  background-color: var(--dark-bg);
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.about-text {
  flex: 1;
  padding-right: 40px;
  min-width: 300px;
}

.about-image {
  flex: 1;
  min-width: 300px;
}

.about-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Services */
.services-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 30px;
}

.service-card {
  background-color: var(--dark-bg);
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 30px;
  width: calc(33.33% - 20px);
  min-width: 280px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.service-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  padding: 15px;
  background-color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--turquoise);
}

/* Avantages */
.advantages {
  background-color: var(--dark-bg);
}

.advantages-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.advantage-item {
  width: calc(50% - 20px);
  min-width: 280px;
  margin-bottom: 40px;
  display: flex;
  align-items: flex-start;
}

.advantage-icon {
  background-color: var(--turquoise);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  flex-shrink: 0;
}

.advantage-content h3 {
  color: var(--gold);
  margin-bottom: 10px;
  font-size: 1.3rem;
}

/* Clients */
.clients-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.testimonial {
  background-color: var(--dark-bg);
  border-radius: 10px;
  padding: 30px;
  margin: 15px;
  width: calc(33.33% - 30px);
  min-width: 280px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
}

.testimonial-text:before {
  content: '"';
  font-size: 4rem;
  position: absolute;
  left: -20px;
  top: -20px;
  color: var(--gold);
  opacity: 0.3;
}

.client-info {
  display: flex;
  align-items: center;
}

.client-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 15px;
  object-fit: cover;
}

.client-name {
  font-weight: bold;
  color: var(--turquoise);
}

.client-position {
  font-size: 0.9rem;
  color: var(--white);
  opacity: 0.8;
}

/* FAQ */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--dark-bg);
  border-radius: 10px;
  margin-bottom: 20px;
  overflow: hidden;
}

.faq-question {
  padding: 20px;
  font-weight: bold;
  color: var(--gold);
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
}

.faq-question:after {
  content: '+';
  position: absolute;
  right: 20px;
  font-size: 1.5rem;
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

/* This uses CSS :target for toggling FAQ without JavaScript */
.faq-item:target .faq-answer {
  max-height: 1000px;
  padding: 0 20px 20px;
}

.faq-item:target .faq-question:after {
  content: '−';
}

/* Formulaire */
.contact-form {
  background-color: var(--dark-bg);
  border-radius: 15px;
  padding: 40px;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: var(--turquoise);
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid var(--dark-blue);
  border-radius: 5px;
  background-color: var(--dark-bg);
  color: var(--white);
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--turquoise);
  outline: none;
}

.form-check {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.form-check-input {
  margin-right: 10px;
  margin-top: 5px;
}

/* Footer */
.footer {
  background-color: var(--dark-bg);
  padding: 60px 0 30px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-column {
  width: calc(25% - 20px);
  min-width: 200px;
  margin-bottom: 30px;
}

.footer-title {
  color: var(--gold);
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-links {
  list-style: none;
}

.footer-link {
  margin-bottom: 10px;
}

.contact-info {
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
}

.contact-icon {
  color: var(--turquoise);
  margin-right: 10px;
  width: 20px;
  text-align: center;
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 30px;
  font-size: 0.9rem;
  color: var(--white);
  opacity: 0.7;
}

/* Cookie popup */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background-color: var(--dark-bg);
  border-radius: 10px;
  padding: 20px;
  max-width: 350px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  z-index: 1000;
}

.cookie-popup p {
  margin-bottom: 15px;
}

.cookie-buttons {
  display: flex;
  justify-content: space-between;
}

/* Media Queries pour la responsivité */
@media screen and (max-width: 992px) {
  .service-card, .testimonial {
    width: calc(50% - 20px);
  }
  
  .footer-column {
    width: calc(50% - 20px);
  }
}

@media screen and (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    background-color: var(--dark-bg);
    width: 100%;
    flex-direction: column;
    text-align: center;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    padding: 20px 0;
  }
  
  .nav-toggle {
    display: block;
    width: 30px;
    height: 25px;
    position: relative;
    cursor: pointer;
  }
  
  .nav-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--white);
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
  }
  
  .nav-toggle span:nth-child(1) {
    top: 0;
  }
  
  .nav-toggle span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
  }
  
  .nav-toggle span:nth-child(3) {
    bottom: 0;
  }
  
  .nav-checkbox:checked ~ .nav-menu {
    left: 0;
  }
  
  .nav-checkbox:checked ~ .nav-toggle span:nth-child(1) {
    transform: rotate(45deg);
    top: 11px;
  }
  
  .nav-checkbox:checked ~ .nav-toggle span:nth-child(2) {
    opacity: 0;
  }
  
  .nav-checkbox:checked ~ .nav-toggle span:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 11px;
  }
  
  .nav-item {
    margin: 10px 0;
  }
  
  /* Ajout de padding pour éviter que le header ne chevauche le contenu en mobile */
  .hero {
    padding-top: 120px;
  }
  
  .about-text, .about-image {
    flex: 100%;
    padding-right: 0;
    margin-bottom: 30px;
  }
  
  .service-card, .testimonial, .advantage-item {
    width: 100%;
  }
}

@media screen and (max-width: 576px) {
  .section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .footer-column {
    width: 100%;
  }
} 