/* Styles pour le site domain - Financial Audit France */

/* Réinitialisation et base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
}

body {
  font-family: 'Roboto', 'Segoe UI', sans-serif;
  background-color: #014D40;
  color: #F5F3E7;
  line-height: 1.6;
}

section[id] {
  scroll-margin-top: 40px;
}

div {
  word-break: break-word;
  overflow-wrap: break-word;
}

/* Variables de couleur */
:root {
  --primary: #014D40;      /* Fond principal - izumrudnyj */
  --accent: #9D4EDD;       /* Accent - fioletovyj */
  --secondary: #FFB703;    /* Couleur secondaire - žoltyj */
  --text: #F5F3E7;         /* Texte - beževo-belyj */
  --buttons: #E63946;      /* Boutons - malinovyj */
  --additional: #06D6A0;   /* Éléments supplémentaires - birûzovyj */
}

/* Typographie */
h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
  color: var(--text);
  font-weight: 700;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  position: relative;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--secondary);
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--buttons);
}

/* Layout */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

section {
  padding: 4rem 0;
}

/* Header et navigation */
header {
  background-color: rgba(1, 77, 64, 0.95);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
}

/* Navigation */
nav {
  position: relative;
}

nav ul {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 20px;
}

nav a {
  color: var(--text);
  font-weight: 500;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary);
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

/* Burger menu */


#burger-toggle {
  display: none;
}

.burger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
}

.burger-btn span {
  height: 3px;
  width: 100%;
  background-color: var(--text);
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Hero section */
.hero {
  height: 90vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  animation: fadeInDown 1s ease;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--buttons);
  color: var(--text);
  border: none;
  border-radius: 30px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  animation: fadeIn 1.5s ease;
}

.btn:hover {
  background-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* À propos section */
.about {
  background-color: rgba(1, 77, 64, 0.9);
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.about-text {
  flex: 1;
}

.mission-values {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.mission, .values {
  flex: 1;
  padding: 1.5rem;
  border-radius: 5px;
  background-color: rgba(9, 90, 76, 0.6);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.mission:hover, .values:hover {
  transform: translateY(-5px);
}

/* Services section */
.services {
  background-color: rgba(1, 77, 64, 0.8);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.service-card {
  background-color: rgba(9, 90, 76, 0.6);
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-img {
  height: 200px;
  overflow: hidden;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover img {
  transform: scale(1.05);
}

.service-content {
  padding: 1.5rem;
}

/* Avantages section */
.advantages {
  background-color: rgba(1, 77, 64, 0.9);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.advantage-item {
  background-color: rgba(9, 90, 76, 0.6);
  padding: 1.5rem;
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease;
}

.advantage-item:hover {
  transform: translateY(-5px);
}

.advantage-icon {
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 1rem;
}

/* Chiffres et faits section */
.numbers {
  background-color: var(--accent);
  color: var(--text);
  text-align: center;
}

.numbers h2::after {
  left: 50%;
  transform: translateX(-50%);
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 2rem;
}

.number-item {
  padding: 1.5rem;
}

.number-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.number-label {
  font-size: 1rem;
  font-weight: 500;
}

/* Témoignages section */
.testimonials {
  background-color: rgba(1, 77, 64, 0.8);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.testimonial-item {
  background-color: rgba(9, 90, 76, 0.6);
  padding: 1.5rem;
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  position: relative;
}

.testimonial-text {
  margin-bottom: 1.5rem;
  font-style: italic;
  position: relative;
  padding-left: 1.5rem;
}

.testimonial-text::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: -5px;
  font-size: 2.5rem;
  color: var(--secondary);
  opacity: 0.5;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.testimonial-author-info h4 {
  margin-bottom: 0.2rem;
  font-size: 1.1rem;
}

.testimonial-author-info p {
  font-size: 0.9rem;
  color: rgba(245, 243, 231, 0.8);
  margin-bottom: 0;
}

/* Contact form section */
.contact-form {
  background-color: rgba(1, 77, 64, 0.9);
  padding: 3rem 0;
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  background-color: rgba(9, 90, 76, 0.6);
  padding: 2rem;
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-title {
  text-align: center;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

input, select, textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid rgba(245, 243, 231, 0.2);
  background-color: rgba(245, 243, 231, 0.1);
  color: var(--text);
  border-radius: 3px;
  font-size: 1rem;
}

/* Fond blanc pour les options */
select option {
  background-color: white;
  color: #333;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 1rem;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 5px;
}

.form-submit {
  text-align: center;
}

/* FAQ section */
.faq {
  background-color: rgba(1, 77, 64, 0.8);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  border-radius: 5px;
  overflow: hidden;
}

.faq-question {
  display: block;
  background-color: rgba(9, 90, 76, 0.6);
  padding: 1rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background-color: rgba(9, 90, 76, 0.4);
}

.faq-text {
  padding: 1rem;
}

.faq-toggle {
display: none;
}

.faq-toggle:checked + .faq-question {
  background-color: var(--accent);
}

.faq-toggle:checked + .faq-question::after {
  content: '−';
}

.faq-toggle:checked ~ .faq-content {
  max-height: 500px;
}

/* Footer */
.footer {
  background-color: rgba(0, 60, 50, 1);
  padding: 3rem 0 1rem;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.footer-section {
  margin-bottom: 2rem;
}

.footer-section h3 {
  position: relative;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--secondary);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.footer-contact-icon {
  margin-right: 10px;
  color: var(--secondary);
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(245, 243, 231, 0.1);
  margin-top: 2rem;
}

/* Cookie consent */
.cookie-consent {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  color: var(--text);
  padding: 1rem;
  z-index: 9999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: bottom 0.5s ease;
}

.cookie-consent.show {
  bottom: 0;
}

.cookie-text {
  flex: 1;
  padding-right: 1rem;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

.cookie-btn {
  padding: 8px 15px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  font-weight: 500;
}

.cookie-accept {
  background-color: var(--secondary);
  color: #333;
}

.cookie-decline {
  background-color: transparent;
  border: 1px solid var(--text);
  color: var(--text);
}

/* Policy pages */
.policy-page {
  min-height: calc(100vh - 200px);
  padding: 4rem 0;
}

.policy-container {
  background-color: rgba(9, 90, 76, 0.6);
  padding: 2rem;
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.policy-container h1 {
  margin-bottom: 2rem;
}

.policy-section {
  margin-bottom: 2rem;
}

.policy-section h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Merci page */
.thank-you {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.thank-you-container {
  background-color: rgba(9, 90, 76, 0.6);
  padding: 3rem;
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  margin: 8rem auto 5rem;
  max-width: 600px;
}

.thank-you-container h1 {
  margin-bottom: 1rem;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
 

 
/* Media queries pour le responsive */
@media screen and (max-width: 992px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
}

@media screen and (max-width: 768px) {
  /* Navigation mobile */
  nav ul {
    display: none;
  }

  .burger-btn {
    display: flex;
  }
  
  #burger-toggle:checked ~ nav ul {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    width: 250px;
    background-color: var(--primary);
    padding: 1rem;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  
  #burger-toggle:checked ~ .burger-btn span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  
  #burger-toggle:checked ~ .burger-btn span:nth-child(2) {
    opacity: 0;
  }
  
  #burger-toggle:checked ~ .burger-btn span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
  
  /* Ajustements de mise en page */
  .mission-values {
    flex-direction: column;
  }
  
  .hero {
    height: 80vh;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 576px) {
  .container {
    width: 95%;
    padding: 0 10px;
  }
  
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero {
    height: 70vh;
  }
  
  section {
    padding: 3rem 0;
  }
  
  .cookie-consent {
    flex-direction: column;
  }
  
  .cookie-text {
    margin-bottom: 1rem;
    padding-right: 0;
  }
}
