/* STYLES DE BASE DU SITE DE DOMAIN - AUDIT FINANCIER */

/* Variables et Réinitialisation */
:root {
  --couleur-principale: #1E90FF;
  --couleur-accent: #A4FF4D;
  --couleur-fond: #0D0D0D;
  --couleur-texte: #F2F2F2;
  --couleur-gradient-1: #7B2FF7;
  --couleur-gradient-2: #05F4B7;
  --espacement: 20px;
  --rayon: 2rem;
  --ombre: 0 10px 30px rgba(0, 0, 0, 0.3);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--couleur-fond);
  color: var(--couleur-texte);
  line-height: 1.6;
}

section[id] {
  scroll-margin-top: 40px;
}

div {
  word-break: break-word;
  overflow-wrap: break-word;
}

a {
  color: var(--couleur-accent);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--couleur-principale);
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
  font-weight: 700;
}

p {
  margin-bottom: 1rem;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--espacement);
}

.bouton {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(135deg, var(--couleur-principale), var(--couleur-gradient-1));
  color: white;
  border-radius: calc(var(--rayon) / 2);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.bouton:hover {
  background: linear-gradient(135deg, var(--couleur-gradient-1), var(--couleur-principale));
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  color: white;
}

.bouton-secondaire {
  background: transparent;
  border: 2px solid var(--couleur-accent);
  color: var(--couleur-accent);
}

.bouton-secondaire:hover {
  background: var(--couleur-accent);
  color: var(--couleur-fond);
}

.carte {
  background: rgba(30, 30, 30, 0.7);
  border-radius: var(--rayon);
  overflow: hidden;
  box-shadow: var(--ombre);
  transition: var(--transition);
}

.carte:hover {
  transform: translateY(-5px);
}

.carte-image {
  height: 200px;
  overflow: hidden;
}

.carte-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.carte:hover .carte-image img {
  transform: scale(1.05);
}

.carte-contenu {
  padding: var(--espacement);
}

/* HEADER & NAVIGATION */
header {
  background-color: rgba(13, 13, 13, 0.95);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem var(--espacement);
}

.logo {
  font-size: 2rem;
  font-weight: 800;
  color: var(--couleur-principale);
  text-transform: lowercase;
  position: relative;
}

.logo:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--couleur-accent), transparent);
}

nav ul {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 20px;
}

nav li a {
  color: var(--couleur-texte);
  font-weight: 500;
  position: relative;
  padding: 0.5rem;
}

nav li a:before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--couleur-accent);
  transition: var(--transition);
}

nav li a:hover:before {
  width: 100%;
}

.burger-menu {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.burger-menu-checkbox {
  display: none;
}

/* HERO SECTION */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero-contenu {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(13, 13, 13, 0.9), rgba(13, 13, 13, 0.7));
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

/* À PROPOS SECTION */
.a-propos {
  padding: 5rem 0;
}

.a-propos-contenu {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.a-propos-texte {
  flex: 1;
}

.a-propos-image {
  flex: 1;
  border-radius: var(--rayon);
  overflow: hidden;
  box-shadow: var(--ombre);
}

.a-propos-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* SERVICES SECTION */
.services {
  padding: 5rem 0;
  background-color: rgba(30, 30, 30, 0.3);
}

.services-grille {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 3rem;
}

.service-carte {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-titre {
  color: var(--couleur-principale);
  margin-top: 1rem;
}

.service-description {
  margin-top: auto;
}

/* AVANTAGES SECTION */
.avantages {
  padding: 5rem 0;
}

.avantages-grille {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 3rem;
}

.avantage-item {
  text-align: center;
  padding: 1.5rem;
}

.avantage-icone {
  font-size: 2.5rem;
  color: var(--couleur-accent);
  margin-bottom: 1rem;
}

/* TESTIMONIALS SECTION */
.temoignages {
  padding: 5rem 0;
  background-color: rgba(30, 30, 30, 0.3);
}

.temoignages-grille {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 3rem;
}

.temoignage-carte {
  padding: var(--espacement);
  position: relative;
}

.temoignage-texte {
  font-style: italic;
  margin-bottom: 1.5rem;
}

.temoignage-auteur {
  font-weight: 600;
  color: var(--couleur-principale);
}

.temoignage-carte:before {
  content: "";
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 4rem;
  line-height: 1;
  color: rgba(164, 255, 77, 0.2);
  font-family: serif;
}

/* FORMULAIRE SECTION */
.formulaire-section {
  padding: 5rem 0;
}

.formulaire {
  max-width: 600px;
  margin: 3rem auto 0;
  background: rgba(30, 30, 30, 0.7);
  border-radius: var(--rayon);
  padding: 2rem;
  box-shadow: var(--ombre);
}

.champ-groupe {
  margin-bottom: 1.5rem;
}

.champ-groupe label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.champ {
  width: 100%;
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.5rem;
  color: var(--couleur-texte);
  transition: var(--transition);
}

.champ:focus {
  border-color: var(--couleur-principale);
  box-shadow: 0 0 0 2px rgba(30, 144, 255, 0.3);
  outline: none;
}

.champ::placeholder {
  color: rgba(242, 242, 242, 0.5);
}

select.champ {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23F2F2F2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
  padding-right: 40px;
}

option {
  background-color: white;
  color: #333;
}

.checkbox-groupe {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.checkbox-groupe input[type="checkbox"] {
  margin-top: 0.3rem;
  margin-right: 0.5rem;
}

.bouton-soumettre {
  background: linear-gradient(135deg, var(--couleur-principale), var(--couleur-gradient-1));
  color: white;
  border: none;
  width: 100%;
  font-size: 1rem;
}

/* FAQ SECTION */
.faq {
  padding: 5rem 0;
  background-color: rgba(30, 30, 30, 0.3);
}

.faq-item {
  margin-bottom: 1rem;
}

.faq-question {
  display: block;
  width: 100%;
  background: rgba(30, 30, 30, 0.8);
  padding: 1rem;
  border-radius: 0.5rem;
  position: relative;
  cursor: pointer;
  font-weight: 600;
}

.faq-checkbox {
  display: none;
}

.faq-question:after {
  content: '+';
  position: absolute;
  right: 1rem;
  transition: var(--transition);
}

.faq-checkbox:checked ~ .faq-question:after {
  transform: rotate(45deg);
}

.faq-reponse {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: rgba(40, 40, 40, 0.8);
  border-radius: 0 0 0.5rem 0.5rem;
}

.faq-checkbox:checked ~ .faq-reponse {
  max-height: 500px;
}

.faq-contenu {
  padding: 1rem;
}

/* BLOG SECTION */
.blog {
  padding: 5rem 0;
}

.blog-grille {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 3rem;
}

.article-date {
  color: var(--couleur-accent);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

/* FOOTER */
footer {
  background-color: rgba(10, 10, 10, 0.9);
  padding: 3rem 0 1rem;
}

.footer-grille {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 2rem;
}

.footer-colonne h4 {
  color: var(--couleur-principale);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-colonne ul {
  list-style: none;
}

.footer-colonne ul li {
  margin-bottom: 0.8rem;
}

.footer-colonne ul li a {
  color: var(--couleur-texte);
  opacity: 0.7;
  transition: var(--transition);
}

.footer-colonne ul li a:hover {
  opacity: 1;
  color: var(--couleur-accent);
}

.contact-info {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.contact-icon {
  color: var(--couleur-accent);
  font-size: 1.2rem;
}

.footer-bas {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  opacity: 0.7;
}

/* PAGE DE POLITIQUE */
.page-politique {
  padding: 5rem 0;
}

.politique-container {
  background: rgba(30, 30, 30, 0.7);
  border-radius: var(--rayon);
  padding: 2rem;
  box-shadow: var(--ombre);
  max-width: 800px;
  margin: 0 auto;
}

.politique-container h2 {
  color: var(--couleur-principale);
  margin-bottom: 1.5rem;
}

.politique-container h3 {
  color: var(--couleur-accent);
  margin: 2rem 0 1rem;
}

/* PAGE DE REMERCIEMENT */
.merci-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
}

.merci-container {
  background: rgba(30, 30, 30, 0.7);
  border: 2px solid var(--couleur-principale);
  border-radius: var(--rayon);
  padding: 3rem;
  box-shadow: var(--ombre);
  text-align: center;
  max-width: 600px;
  width: 90%;
  margin: 8rem auto 5rem;
}

.merci-icon {
  font-size: 4rem;
  color: var(--couleur-accent);
  margin-bottom: 2rem;
}

/* ANIMATION CLASSES */
.fade-in {
  opacity: 0;
  animation: fadeIn 1s forwards;
}

.slide-up {
  opacity: 0;
  transform: translateY(30px);
  animation: slideUp 1s forwards;
}

.blur-reveal {
  opacity: 0;
  filter: blur(10px);
  animation: blurReveal 1s forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes blurReveal {
  to {
    opacity: 1;
    filter: blur(0);
  }
}

/* COOKIE POPUP */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(30, 30, 30, 0.95);
  border-radius: var(--rayon);
  padding: 1.5rem;
  box-shadow: var(--ombre);
  z-index: 1000;
  max-width: 500px;
  width: 90%;
  display: none;
}

.cookie-popup.active {
  display: block;
  animation: fadeIn 0.5s forwards;
}

.cookie-contenu {
  margin-bottom: 1.5rem;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .header-container {
    padding: 1rem;
  }
  
  nav ul {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: rgba(13, 13, 13, 0.98);
    flex-direction: column;
    padding: 5rem 2rem;
    transition: right 0.3s ease;
    z-index: 100;
  }
  
  .burger-menu-checkbox:checked ~ nav ul {
    right: 0;
  }
  
  .burger-menu {
    display: block;
    z-index: 200;
    order: 2;
  }
  
  .a-propos-contenu {
    flex-direction: column;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  :root {
    --espacement: 15px;
  }
  
  .container {
    width: 95%;
    padding: 10px;
  }
  
  .hero-contenu {
    padding: 0 1rem;
  }
  
  .bouton {
    padding: 10px 20px;
  }
}
