/* 
* STYLES PRINCIPAUX - FINANCEVISION AUDIT
* Palette de couleurs:
* - Principale: #00C9A7 (aqueamarine)
* - Secondaire: #4B0082 (indigo)
* - Accent: #FFB400 (ambre)
* - Fond: #F7F7F7 (gris clair)
* - Texte: #1B1B1B (noir charbon)
*/

/* RESET ET BASE */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #F7F7F7;
  color: #1B1B1B;
  line-height: 1.6;
  font-size: 16px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #4B0082;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover, a:focus {
  color: #00C9A7;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* TYPOGRAPHIE */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
  color: #1B1B1B;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2rem;
  position: relative;
  padding-bottom: 15px;
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, #00C9A7, #4B0082);
  border-radius: 2px;
}

h3 {
  font-size: 1.8rem;
}

p {
  margin-bottom: 1.5rem;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2::after {
  left: 50%;
  transform: translateX(-50%);
}

.text-center {
  text-align: center;
}

/* BOUTONS */
.btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary {
  background-color: #00C9A7;
  color: #fff;
}

.btn-primary:hover {
  background-color: #00b095;
  color: #fff;
}

.btn-secondary {
  background-color: #4B0082;
  color: #fff;
}

.btn-secondary:hover {
  background-color: #3b0064;
  color: #fff;
}

.btn-accent {
  background-color: #FFB400;
  color: #1B1B1B;
}

.btn-accent:hover {
  background-color: #e6a200;
}

/* HEADER ET NAVIGATION */
.main-header {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  align-items: center;
  display: flex;
}

.nav-list li {
  margin-left: 30px;
}

.nav-list a {
  font-weight: 500;
  position: relative;
}

.nav-list a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background-color: #00C9A7;
  transition: width 0.3s ease;
}

.nav-list a:not(.btn):hover::after,
.nav-list a:not(.btn):focus::after {
  width: 100%;
}

.menu-toggle,
.menu-icon {
  display: none;
}

/* SECTIONS */
section {
  padding: 80px 0;
}

/* HERO SECTION */
.hero {
  background: linear-gradient(135deg, #4B0082 0%, #00C9A7 100%);
  color: #fff;
  padding: 150px 0;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(75, 0, 130, 0.75); /* Couleur indigo semi-transparente */
  z-index: 1;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 750px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  margin-bottom: 30px;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 40px;
}

/* ABOUT SECTION */
.about {
  background-color: #fff;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-text {
  flex: 1;
}

.about-image {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
}

/* ADVANTAGES SECTION */
.advantages {
  background-color: #F7F7F7;
}

.advantages-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.advantage-item {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
  width: 70px;
  height: 70px;
  background-color: rgba(0, 201, 167, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.advantage-icon svg {
  width: 35px;
  height: 35px;
  fill: #00C9A7;
}

/* SERVICES SECTION */
.services {
  background-color: #fff;
}

.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.service-card {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-img {
  height: 200px;
  overflow: hidden;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-img img {
  transform: scale(1.1);
}

.service-content {
  padding: 25px;
}

.service-content h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

/* WHY US SECTION */
.why-us {
  background: linear-gradient(135deg, #4B0082 0%, #00C9A7 100%);
  color: #fff;
  position: relative;
}

.why-us h2 {
  color: #fff;
}

.why-us h2::after {
  background: linear-gradient(to right, #FFB400, #fff);
}

.why-us-content {
  display: flex;
  gap: 50px;
}

.why-us-text {
  flex: 1;
}

.why-us-features {
  flex: 1;
}

.feature-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  backdrop-filter: blur(5px);
  transition: transform 0.3s ease;
}

.feature-item:hover {
  transform: translateX(10px);
}

.feature-item h3 {
  color: #fff;
  margin-bottom: 10px;
  font-size: 1.3rem;
}

/* CONTACT FORM SECTION */
.contact {
  background-color: #fff;
}

.contact-content {
  display: flex;
  gap: 50px;
}

.contact-info {
  flex: 1;
}

.contact-form-container {
  flex: 1;
  padding: 20px;
}

/* Messages d'erreur du formulaire */
.form-errors {
  background-color: rgba(255, 0, 0, 0.1);
  border-left: 4px solid #ff3b30;
  padding: 12px 15px;
  margin-bottom: 20px;
  border-radius: 5px;
}

.error-message {
  color: #d51c1c;
  font-size: 0.9rem;
  margin-bottom: 5px;
}

.error-message:last-child {
  margin-bottom: 0;
}

.form-control.error {
  border-color: #ff3b30;
}

.form-group {
  margin-bottom: 20px;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  background-color: #F7F7F7;
  border: 2px solid #bdbdbd;
  border-radius: 5px;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: #00C9A7;
  box-shadow: 0 0 0 3px rgba(0, 201, 167, 0.2);
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.checkbox-group {
  margin-bottom: 20px;
}

.checkbox-container {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.checkbox-container input {
  margin-right: 10px;
}

/* FAQ SECTION */
.faq {
  background-color: #F7F7F7;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: #fff;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
}

/* FOOTER */
.main-footer {
  background-color: #1B1B1B;
  color: #F7F7F7;
  padding: 80px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}

.footer-description {
  margin-top: 20px;
  opacity: 0.8;
}

.footer-contact a,
.footer-legal a {
  color: #F7F7F7;
  display: inline-block;
  margin-bottom: 10px;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-contact a:hover,
.footer-legal a:hover {
  opacity: 1;
  color: #00C9A7;
}

.footer-legal ul li {
  margin-bottom: 10px;
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  opacity: 0.6;
  font-size: 0.9rem;
}

/* COOKIE POPUP */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  padding: 20px;
  z-index: 9999;
  display: none;
  max-width: 400px;
}

.cookie-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.cookie-content p {
  margin-bottom: 15px;
}

.cookie-more {
  margin-top: 10px;
  font-size: 0.9rem;
  text-decoration: underline;
}

/* NEOMORPHISM ELEMENTS */
.neomorph {
  border-radius: 20px;
  padding: 25px;
  background: #f7f7f7;
  box-shadow: 8px 8px 16px #d9d9d9, 
              -8px -8px 16px #ffffff;
}

.neomorph-inset {
  border-radius: 20px;
  background: #f7f7f7;
  box-shadow: inset 8px 8px 16px #d9d9d9, 
              inset -8px -8px 16px #ffffff;
}

/* RESPONSIVE STYLES */
@media (max-width: 992px) {
  h1 {
    font-size: 2.8rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .about-content,
  .why-us-content,
  .contact-content {
    flex-direction: column;
  }
  
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .menu-icon {
    display: block;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
  }
  
  .menu-icon span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background-color: #1B1B1B;
    border-radius: 3px;
    transition: all 0.3s ease;
  }
  
  .menu-icon span:nth-child(1) {
    top: 0;
  }
  
  .menu-icon span:nth-child(2) {
    top: 8px;
  }
  
  .menu-icon span:nth-child(3) {
    top: 16px;
  }
  
  .menu-toggle:checked + .menu-icon span:nth-child(1) {
    transform: rotate(45deg);
    top: 8px;
  }
  
  .menu-toggle:checked + .menu-icon span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle:checked + .menu-icon span:nth-child(3) {
    transform: rotate(-45deg);
    top: 8px;
  }
  
  .nav-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #fff;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
  }
  
  .menu-toggle:checked ~ .nav-list {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  
  .nav-list li {
    margin: 15px 0;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 576px) {
  section {
    padding: 60px 0;
  }
  
  .hero {
    padding: 80px 0;
  }
  
  .cookie-popup {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }
} 