/* Styles principaux pour Audit Financier Canada */

/* Variables de couleurs */
:root {
  --primary-color: #0D1B2A;    /* Bleu profond */
  --secondary-color: #FFB703;  /* Ambre */
  --accent-color: #F26419;     /* Corail */
  --bg-color: #FAF3E0;         /* Beige clair */
  --text-color: #333333;       /* Graphite */
  --neutral-color: #F7F5F2;    /* Ivoire */
}

/* Réinitialisation de base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Styles de base */
html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text-color);
  background-color: var(--bg-color);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  margin-bottom: 1rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent-color);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
header {
  background-color: var(--primary-color);
  color: white;
  padding: 1rem 0;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  margin-right: 0.5rem;
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: white;
}

/* Navigation */
.nav-menu {
  display: flex;
  list-style: none;
}

.nav-menu li {
  margin-left: 1.5rem;
}

.nav-menu a {
  color: white;
  font-weight: 600;
  position: relative;
}

.nav-menu a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--secondary-color);
  transition: width 0.3s ease;
}

.nav-menu a:hover:after {
  width: 100%;
}

/* CSS-only mobile menu */
.menu-toggle {
  display: none;
}

/* Hero Section */
.hero {
  padding: 5rem 0;
  background-color: var(--primary-color);
  color: white;
  text-align: center;
}

.hero-bg {
  background: linear-gradient(rgba(13, 27, 42, 0.85), rgba(13, 27, 42, 0.85)), url('img/Iusmj1.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: var(--accent-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Sections communes */
section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--secondary-color);
}

/* À propos */
.about {
  background-color: var(--neutral-color);
}

/* Avantages */
.benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.benefit-card {
  background-color: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-10px);
}

/* Services */
.services {
  background-color: var(--neutral-color);
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.service-card-img {
  height: 200px;
  overflow: hidden;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card-img img {
  transform: scale(1.1);
}

.service-card-content {
  padding: 1.5rem;
}

.service-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Témoignages */
.testimonials {
  background-color: white;
}

.testimonial-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  padding: 2rem;
  background-color: var(--neutral-color);
  border-radius: 8px;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 0;
  left: 20px;
  font-size: 5rem;
  color: var(--secondary-color);
  opacity: 0.2;
  font-family: 'Playfair Display', serif;
}

/* Formulaire */
.contact-form {
  max-width: 700px;
  margin: 0 auto;
  background-color: white;
  padding: 3rem;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-control {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: 'Open Sans', sans-serif;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--secondary-color);
  outline: none;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.checkbox-group input {
  margin-right: 10px;
  margin-top: 5px;
}

/* Blog */
.blog-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.blog-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.blog-card-img {
  height: 200px;
  overflow: hidden;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-img img {
  transform: scale(1.1);
}

.blog-card-content {
  padding: 1.5rem;
}

.blog-date {
  color: #777;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-column h3 {
  margin-bottom: 1.5rem;
  color: var(--secondary-color);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: #ccc;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--secondary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background-color: var(--primary-color);
  color: white;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  max-width: 500px;
}

.cookie-popup p {
  margin-right: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
  }
  
  .logo {
    margin-bottom: 1rem;
  }

  .nav-menu {
    flex-direction: column;
    width: 100%;
    text-align: center;
  }
  
  .nav-menu li {
    margin: 0.5rem 0;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .cookie-popup {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-popup p {
    margin-right: 0;
    margin-bottom: 1rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .benefit-card, .service-card, .testimonial-card, .blog-card {
    padding: 1rem;
  }
}

/* Politique pages */
.policy-page {
  padding: 3rem 0 5rem;
}

.policy-content {
  max-width: 800px;
  margin: 0 auto;
  background-color: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.policy-content h2 {
  margin-top: 2rem;
  color: var(--primary-color);
}

.policy-content ul {
  margin: 1rem 0 1rem 2rem;
}

.policy-content p, .policy-content li {
  margin-bottom: 1rem;
} 