/* Style principal pour domain - Services d'audit financier */

/* === RESET & BASE === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', Arial, sans-serif;
  background-color: #121826;
  color: #FFFFFF;
  line-height: 1.6;
}

a {
  color: #FF385C;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #FFD15C;
}

/* Container responsive */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.section {
  padding: 80px 0;
}

/* === TYPOGRAPHIE === */
h1, h2, h3, h4, h5, h6 {
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  text-align: center;
}

h2:after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FF385C;
  margin: 15px auto 0;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 15px;
  color: #B0B8C1;
}

/* === BOUTONS === */
.btn {
  display: inline-block;
  background-color: #FF385C;
  color: #FFFFFF;
  padding: 12px 30px;
  border-radius: 5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: #FFD15C;
  color: #121826;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid #FF385C;
  color: #FF385C;
}

.btn-secondary:hover {
  background-color: #FF385C;
  color: #FFFFFF;
}

/* === HEADER === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: rgba(18, 24, 38, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.logo:hover {
  color: #FFD15C;
}

/* Navigation */
.nav-desktop {
  display: flex;
}

.nav-mobile {
  display: none;
}

.nav-desktop ul {
  display: flex;
  list-style: none;
}

.nav-desktop ul li {
  margin-left: 30px;
}

.nav-desktop ul li a {
  color: #FFFFFF;
  position: relative;
}

.nav-desktop ul li a:hover {
  color: #FFD15C;
}

.nav-desktop ul li a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: #FF385C;
  transition: width 0.3s ease;
}

.nav-desktop ul li a:hover:after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #FFFFFF;
  transition: all 0.3s ease;
}

/* === HERO SECTION === */
.hero {
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  background-image: linear-gradient(rgba(18, 24, 38, 0.8), rgba(18, 24, 38, 0.9)), url('../img/6PBIvF.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding-top: 80px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  animation: fadeInDown 1s ease;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  animation: fadeIn 1s ease 0.5s both;
}

.hero .btn {
  animation: fadeIn 1s ease 1s both;
}

/* === ABOUT SECTION === */
.about {
  background-color: #1E2A38;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.about-image {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.about-image:hover img {
  transform: scale(1.05);
}

.about-text {
  flex: 1;
}

/* === BENEFITS SECTION === */
.benefits {
  background-color: #121826;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.benefit-card {
  background-color: #2C3E50;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: all 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.benefit-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #FFD15C;
}

.benefit-title {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

/* === SERVICES SECTION === */
.services {
  background-color: #1E2A38;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: #2C3E50;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.service-image {
  height: 200px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.1);
}

.service-content {
  padding: 25px;
}

.service-title {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

/* === TESTIMONIALS SECTION === */
.testimonials {
  background-color: #121826;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background-color: #2C3E50;
  padding: 30px;
  border-radius: 10px;
  position: relative;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.testimonial-content {
  position: relative;
  padding-left: 30px;
}

.testimonial-content:before {
  content: '\201C';
  font-size: 60px;
  position: absolute;
  left: -10px;
  top: -20px;
  color: #FF385C;
  opacity: 0.5;
}

.testimonial-author {
  display: flex;
  align-items: center;
  margin-top: 20px;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-info h4 {
  margin-bottom: 5px;
}

.testimonial-info p {
  font-size: 0.9rem;
  margin: 0;
}

/* === PROCESS SECTION === */
.process {
  background-color: #1E2A38;
}

.process-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.process-step {
  flex: 1;
  min-width: 200px;
  max-width: 250px;
  text-align: center;
}

.step-number {
  width: 50px;
  height: 50px;
  line-height: 50px;
  background-color: #FF385C;
  color: #FFFFFF;
  font-weight: bold;
  border-radius: 50%;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}

.process-steps .process-step:not(:last-child) .step-number:after {
  content: '';
  position: absolute;
  top: 50%;
  left: 100%;
  width: 100%;
  height: 2px;
  background-color: #FF385C;
  z-index: -1;
}

.step-content {
  padding: 20px;
  background-color: #2C3E50;
  border-radius: 10px;
  height: 100%;
  transition: all 0.3s ease;
}

.step-content:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.step-icon {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #FFD15C;
}

/* === CONTACT FORM === */
.contact {
  background-color: #121826;
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  background-color: #2C3E50;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

input, select, textarea {
  width: 100%;
  padding: 12px 15px;
  background-color: #1E2A38;
  border: 1px solid #1E2A38;
  border-radius: 5px;
  color: #FFFFFF;
  font-family: inherit;
  transition: all 0.3s ease;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #FF385C;
  box-shadow: 0 0 0 3px rgba(255, 56, 92, 0.3);
}

textarea {
  resize: vertical;
  min-height: 100px;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.checkbox-group input {
  width: auto;
  margin-right: 10px;
  margin-top: 5px;
}

.checkbox-group label {
  margin-bottom: 0;
  font-size: 0.9rem;
  font-weight: normal;
}

.form-submit {
  text-align: center;
}

/* === FOOTER === */
.footer {
  background-color: #1E2A38;
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.footer-desc {
  margin-bottom: 20px;
}

.footer-contact p {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.footer-contact .icon {
  margin-right: 10px;
  color: #FF385C;
  font-size: 1.2rem;
}

.footer-links h4 {
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-links h4:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background-color: #FF385C;
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: #B0B8C1;
}

.footer-links ul li a:hover {
  color: #FFD15C;
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
}

.footer-bottom p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: -100%;
  left: 0;
  right: 0;
  background: #2C3E50;
  padding: 20px;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transition: bottom 0.5s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cookie-popup.show {
  bottom: 0;
}

.cookie-text {
  flex: 1;
  margin-right: 20px;
}

.cookie-text p {
  margin: 0;
  font-size: 0.9rem;
}

.cookie-buttons {
  display: flex;
}

.cookie-button {
  padding: 8px 15px;
  margin-left: 10px;
  font-size: 0.9rem;
}

/* Policy Pages */
.policy-container {
  max-width: 800px;
  margin: 120px auto 60px;
  background-color: #2C3E50;
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.policy-container h1 {
  margin-bottom: 30px;
  text-align: center;
}

.policy-content h2 {
  text-align: left;
  margin-top: 40px;
}

.policy-content h2:after {
  margin-left: 0;
}

.policy-content ul, .policy-content ol {
  margin-bottom: 20px;
  margin-left: 20px;
}

.policy-content li {
  margin-bottom: 10px;
  color: #B0B8C1;
}

/* Thank You Page */
.thankyou {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.thankyou-content {
  max-width: 600px;
  background-color: #2C3E50;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.thankyou-icon {
  font-size: 4rem;
  color: #FFD15C;
  margin-bottom: 20px;
}

/* FAQ Section */
.faq {
  background-color: #121826;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: #2C3E50;
  border-radius: 5px;
  margin-bottom: 15px;
  overflow: hidden;
}

.faq-question {
  padding: 20px;
  cursor: pointer;
  position: relative;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question:after {
  content: "+";
  font-size: 1.5rem;
}

.faq-question.active:after {
  content: "-";
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.active {
  padding: 0 20px 20px;
  max-height: 1000px;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Media Queries */
@media screen and (max-width: 992px) {
  h1 {
    font-size: 2.2rem;
  }
  h2 {
    font-size: 1.8rem;
  }
  .section {
    padding: 60px 0;
  }
  .about-content {
    flex-direction: column;
  }
  .process-steps .process-step:not(:last-child) .step-number:after {
    display: none;
  }
}

@media screen and (max-width: 768px) {
  .header-content {
    height: 70px;
  }
  .nav-desktop {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .nav-mobile {
    display: block;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: #1E2A38;
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease;
  }
  .nav-mobile.active {
    height: auto;
  }
  .nav-mobile ul {
    list-style: none;
    padding: 20px;
  }
  .nav-mobile ul li {
    margin-bottom: 15px;
  }
  .nav-mobile ul li a {
    color: #FFFFFF;
    display: block;
    padding: 10px 0;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero p {
    font-size: 1rem;
  }
}

@media screen and (max-width: 576px) {
  h1 {
    font-size: 1.8rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  .btn {
    padding: 10px 20px;
  }
  .form-container {
    padding: 20px;
  }
  .policy-container {
    padding: 20px;
    margin-top: 100px;
  }
  .cookie-popup {
    flex-direction: column;
  }
  .cookie-text {
    margin-right: 0;
    margin-bottom: 15px;
  }
}
