/* 
 * Style principal pour le Cabinet d'Audit Financier
 * Palette de couleurs:
 * - Fond principal: #0F172A (bleu foncé)
 * - Accent gradient: #FFD700 à #FF69B4 (or à rose)
 * - Éléments secondaires: #6EE7B7 (menthe), #FBBF24 (or clair)
 * - Font: 'Poppins', sans-serif
 */

/* ---------- RESET & BASE ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #0F172A;
  color: #FFFFFF;
  line-height: 1.6;
  min-height: 100vh;
  padding-top: 5rem;
}

a {
  color: #FBBF24;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #FF69B4;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

section {
  padding: 5rem 0;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
  font-weight: 600;
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
  background: linear-gradient(45deg, #FFD700, #FF69B4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

h2 {
  font-size: 2rem;
  color: #FFFFFF;
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(to right, #FFD700, #FF69B4);
  border-radius: 2px;
}

h3 {
  font-size: 1.5rem;
  color: #FBBF24;
}

p {
  margin-bottom: 1rem;
}

/* ---------- BOUTONS ---------- */
.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  outline: none;
}

.btn-primary {
  background: linear-gradient(45deg, #FFD700, #FF69B4);
  color: #0F172A;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(45deg, #FF69B4, #FFD700);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
  color: #0F172A;
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid #6EE7B7;
  color: #6EE7B7;
}

.btn-secondary:hover {
  background-color: #6EE7B7;
  color: #0F172A;
  transform: translateY(-3px);
}

/* ---------- HEADER ---------- */
.site-header {
  background-color: rgba(15, 23, 42, 0.95);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0.5rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  display: block;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 1rem;
}

.main-nav a {
  padding: 0.5rem 1rem;
  color: #FFFFFF;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border-radius: 20px;
}

.main-nav a:hover {
  color: #FFD700;
  background-color: rgba(255, 255, 255, 0.1);
}

/* ---------- HERO SECTION ---------- */
.hero {
  height: calc(100vh - 5rem);
  min-height: 500px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.7)),
              url('./img/FfUnfm.jpg') no-repeat center center/cover;
  text-align: center;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  color: rgba(255, 255, 255, 0.8);
}

/* ---------- À PROPOS ---------- */
.about-content {
  display: flex;
  gap: 3rem;
  align-items: center;
}

.about-text {
  flex: 1;
}

.about-image {
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transform: rotate(2deg);
  transition: transform 0.5s ease;
}

.about-image:hover {
  transform: rotate(0deg);
}

/* ---------- SERVICES ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.1);
}

.service-card h3 {
  color: #6EE7B7;
}

.price {
  font-size: 2rem;
  font-weight: 700;
  color: #FFD700;
  margin: 1.5rem 0;
}

/* ---------- POURQUOI NOUS ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature {
  text-align: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.feature:hover {
  transform: translateY(-5px);
}

.feature-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
}

.mint-icon {
  background-color: rgba(110, 231, 183, 0.15);
  color: #6EE7B7;
  border: 2px solid #6EE7B7;
}

.gold-icon {
  background-color: rgba(251, 191, 36, 0.15);
  color: #FBBF24;
  border: 2px solid #FBBF24;
}

.pink-icon {
  background-color: rgba(255, 105, 180, 0.15);
  color: #FF69B4;
  border: 2px solid #FF69B4;
}

/* SVG иконки */
.feature-icon svg,
.benefit-icon svg {
  width: 48px;
  height: 48px;
  display: block;
  margin: 0 auto;
  color: inherit;
}

/* ---------- AVANTAGES ---------- */
.benefits-table {
  max-width: 800px;
  margin: 0 auto;
}

.benefit-row {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.benefit-row:hover {
  transform: translateX(10px);
  background: rgba(255, 255, 255, 0.05);
}

.benefit-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.5rem;
  font-size: 1.5rem;
}

.benefit-content {
  flex: 1;
}

/* ---------- PROCESSUS ---------- */
.process-bar {
  display: flex;
  justify-content: space-between;
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.process-bar::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, #FFD700, #FF69B4);
  z-index: 1;
}

.process-step {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 18%;
}

.step-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(45deg, #FFD700, #FBBF24);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: #0F172A;
  box-shadow: 0 4px 10px rgba(251, 191, 36, 0.3);
}

.process-step p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- FORMULAIRE DE CONTACT ---------- */
.contact-form {
  max-width: 700px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.03);
  padding: 2.5rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

input, select {
  width: 100%;
  padding: 0.8rem 1rem;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #cf4949;
  font-family: 'Poppins', sans-serif;
  transition: all 0.3s ease;
}

input:focus, select:focus {
  outline: none;
  border-color: #6EE7B7;
  box-shadow: 0 0 0 3px rgba(110, 231, 183, 0.2);
}

.checkbox-group {
  display: flex;
  align-items: center;
}

.checkbox-group input {
  width: auto;
  margin-right: 0.8rem;
}

.checkbox-group label {
  margin-bottom: 0;
  font-size: 0.9rem;
}

/* ---------- CONTACT INFO ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.contact-details {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-map {
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
}

.map-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- FOOTER ---------- */
.site-footer {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 3rem 0 1rem;
  margin-top: 3rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-about, .footer-links, .footer-contact {
  padding: 1rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.copyright {
  margin-bottom: 1rem;
}

.legal-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.legal-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
}

.legal-links a:hover {
  color: #6EE7B7;
}

/* ---------- COOKIE BANNER ---------- */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 400px;
  background-color: #1E293B;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  margin: 0 auto;
}

.cookie-content p {
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.cookie-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.btn-cookie {
  background: linear-gradient(45deg, #FFD700, #FF69B4);
  color: #0F172A;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 20px;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-cookie:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3);
}

.cookie-more {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- MEDIA QUERIES ---------- */
@media (max-width: 992px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .about-content {
    flex-direction: column;
  }
  
  .hero {
    height: auto;
    min-height: 60vh;
    padding: 4rem 0;
  }
  
  .process-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }
  
  .process-bar::before {
    width: 4px;
    height: 100%;
    top: 0;
    left: 25px;
  }
  
  .process-step {
    display: flex;
    align-items: center;
    text-align: left;
    width: 100%;
    padding-left: 60px;
  }
  
  .step-number {
    position: absolute;
    left: 0;
    margin: 0;
  }
  
  .process-step h3 {
    margin: 0 0 0.5rem 1rem;
  }
  
  .process-step p {
    margin: 0 0 0 1rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 4rem;
  }
  
  section {
    padding: 3rem 0;
  }
  
  .site-header {
    padding: 0.3rem 0;
  }
  
  .logo svg {
    width: 100px;
    height: 25px;
  }
  
  .main-nav a {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }
  
  .main-nav ul {
    gap: 0.5rem;
  }
  
  .hero {
    min-height: 50vh;
    padding: 2rem 0;
  }
  
  .feature-icon, .benefit-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .feature-icon svg,
  .benefit-icon svg {
    width: 40px;
    height: 40px;
  }
  
  .footer-legal {
    flex-direction: column;
    text-align: center;
  }
  
  .legal-links {
    justify-content: center;
    margin-top: 1rem;
  }
}

@media (max-width: 480px) {
  body {
    padding-top: 3.5rem;
  }
  
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .main-nav a {
    padding: 0.3rem 0.5rem;
    font-size: 0.8rem;
  }
  
  .hero {
    min-height: 40vh;
    padding: 1.5rem 0;
  }
  
  .logo svg {
    width: 90px;
    height: 22px;
  }
  
  .btn-primary, .btn-secondary {
    padding: 0.7rem 1.2rem;
    font-size: 0.9rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .cookie-banner {
    left: 10px;
    right: 10px;
    padding: 1rem;
  }
}

/* Animation */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1, .hero p, .hero .btn-primary {
  animation: fadeUp 0.8s ease forwards;
}

.hero p {
  animation-delay: 0.3s;
}

.hero .btn-primary {
  animation-delay: 0.6s;
  opacity: 0;
} 