/* 
 * Styles pour le site d'audit financier
 * Couleurs: #1F2633 (fond), #FF5C57 (accent), #F4F5F7, #FFD700, #00A7E1
 * Polices: Montserrat, Lora
 */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Lora:wght@400;500;600&display=swap');

:root {
  --primary: #1F2633;
  --accent: #FF5C57;
  --light: #F4F5F7;
  --gold: #FFD700;
  --blue: #00A7E1;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--primary);
  color: var(--light);
  line-height: 1.6;
  position: relative;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3, h4, h5 {
  font-family: 'Lora', serif;
  margin-bottom: 20px;
  font-weight: 600;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  position: relative;
  padding-bottom: 15px;
}

h2:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--accent);
}

p {
  margin-bottom: 20px;
}

a {
  color: var(--light);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--accent);
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--accent);
  color: var(--light);
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.btn:hover {
  background-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--accent);
}

.btn-outline:hover {
  background-color: var(--accent);
}

section {
  padding: 80px 0;
}

/* Header */
header {
  background-color: var(--primary);
  padding: 20px 0;
  position: fixed;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
}

header.scrolled {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  padding: 10px 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 40px;
}

.logo img {
  height: 100%;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  font-weight: 500;
  position: relative;
}

nav ul li a:after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: width 0.3s ease;
}

nav ul li a:hover:after {
  width: 100%;
}

  .menu-toggle {
    display: none;
    cursor: pointer;
  }
  
  .menu-toggle a {
    display: block;
    text-decoration: none;
  }
  
  .bar {
    width: 25px;
    height: 3px;
    background-color: var(--light);
    margin: 5px 0;
    transition: all 0.3s ease;
  }

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--primary);
  position: relative;
  overflow: hidden;
  background-image: url('./img/SM0KL5.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
}

.hero:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(31, 38, 51, 0.8);
  z-index: 1;
}

.hero:after {
  content: '';
  position: absolute;
  right: -20%;
  bottom: -30%;
  width: 60%;
  height: 80%;
  background-color: rgba(255, 92, 87, 0.05);
  border-radius: 50%;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  margin-bottom: 30px;
  font-size: 3rem;
}

.hero h1 span {
  color: var(--accent);
}

.hero p {
  margin-bottom: 40px;
  font-size: 1.1rem;
  opacity: 0.9;
}

/* About Section */
.about {
  background-color: var(--primary);
  position: relative;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.about-text {
  flex: 1;
  padding-right: 50px;
}

.about-image {
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.about-image img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.about-image:hover img {
  transform: scale(1.05);
}

/* Services Section */
.services {
  background-color: #23293a;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.service-card {
  background-color: var(--primary);
  padding: 30px;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.service-card:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(to right, var(--accent), var(--gold));
  transition: width 0.3s ease;
}

.service-card:hover:after {
  width: 100%;
}

.service-icon {
  margin-bottom: 20px;
}

.service-icon svg {
  width: 50px;
  height: 50px;
  fill: var(--accent);
}

.service-card h3 {
  margin-bottom: 15px;
}

/* Benefits Section */
.benefits {
  background-color: var(--primary);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.benefit-item {
  text-align: center;
  padding: 30px;
  transition: all 0.3s ease;
}

.benefit-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background-color: rgba(255, 92, 87, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-icon svg {
  width: 35px;
  height: 35px;
  fill: var(--accent);
}

.benefit-item:hover {
  transform: translateY(-5px);
}

/* Testimonials Section */
.testimonials {
  background-color: #23293a;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.testimonial-card {
  background-color: var(--primary);
  padding: 30px;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.quote {
  font-size: 3rem;
  color: var(--accent);
  opacity: 0.2;
  position: absolute;
  top: 10px;
  right: 20px;
}

.testimonial-text {
  font-family: 'Lora', serif;
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-author-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.testimonial-author-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-author-name {
  font-weight: 600;
}

.testimonial-author-title {
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Pricing Section */
.pricing {
  background-color: var(--primary);
}

.pricing-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 50px;
}

.pricing-card {
  background-color: #23293a;
  border-radius: 8px;
  overflow: hidden;
  width: 100%;
  max-width: 350px;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.pricing-header {
  background-color: var(--primary);
  padding: 20px;
  text-align: center;
  position: relative;
}

.pricing-header h3 {
  margin-bottom: 10px;
  color: var(--light);
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 10px;
}

.pricing-price span {
  font-size: 1rem;
  font-weight: normal;
  opacity: 0.7;
}

.pricing-popular {
  position: absolute;
  top: 0;
  right: 0;
  background-color: var(--accent);
  color: var(--light);
  font-size: 0.8rem;
  padding: 5px 10px;
  border-bottom-left-radius: 8px;
}

.pricing-content {
  padding: 30px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 30px;
}

.pricing-features li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.pricing-features li:before {
  content: '✓';
  color: var(--accent);
  margin-right: 10px;
  font-weight: bold;
}

.pricing-card .btn {
  width: 100%;
  text-align: center;
}

/* Contact Form Section */
.contact {
  background-color: #23293a;
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 25px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  width: 100%;
  padding: 12px 15px;
  background-color: var(--primary);
  border: 1px solid #2c3347;
  border-radius: 4px;
  color: var(--light);
  font-family: 'Montserrat', sans-serif;
  transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--accent);
}

.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 10px;
}

.radio-option {
  flex: 1;
  min-width: 150px;
}

.radio-container {
  display: block;
  position: relative;
  padding: 15px;
  padding-left: 45px;
  border: 1px solid #2c3347;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.radio-container:hover {
  border-color: var(--accent);
}

.radio-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.radio-checkmark {
  position: absolute;
  top: 15px;
  left: 15px;
  height: 20px;
  width: 20px;
  background-color: var(--primary);
  border: 2px solid #2c3347;
  border-radius: 50%;
}

.radio-container:hover .radio-checkmark {
  border-color: var(--accent);
}

.radio-container input:checked ~ .radio-checkmark {
  background-color: var(--primary);
  border-color: var(--accent);
}

.radio-checkmark:after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  display: none;
}

.radio-container input:checked ~ .radio-checkmark:after {
  display: block;
}

.checkbox-container {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 15px;
  cursor: pointer;
  user-select: none;
}

.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: var(--primary);
  border: 2px solid #2c3347;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.checkbox-container:hover .checkmark {
  border-color: var(--accent);
}

.checkbox-container input:checked ~ .checkmark {
  background-color: var(--primary);
  border-color: var(--accent);
}

.checkmark:after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid var(--accent);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
  display: block;
}

/* Map Section */
.map-section {
  background-color: var(--primary);
}

.map-container {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.map-container img {
  width: 100%;
  height: auto;
  display: block;
}

/* Footer */
footer {
  background-color: #1a2029;
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.footer-about h3 {
  margin-bottom: 20px;
}

.footer-about p {
  margin-bottom: 20px;
  opacity: 0.7;
}

.footer-links h3 {
  margin-bottom: 20px;
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-contact h3 {
  margin-bottom: 20px;
}

.contact-info {
  list-style: none;
}

.contact-info li {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
}

.contact-icon {
  margin-right: 15px;
  min-width: 20px;
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #2c3347;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background-color: var(--primary);
  padding: 20px;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  opacity: 0;
  transition: all 0.5s ease;
}

.cookie-banner.show {
  bottom: 0;
  opacity: 1;
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.cookie-text {
  flex: 1;
  min-width: 300px;
}

.cookie-buttons {
  display: flex;
  gap: 15px;
}

/* Policy Pages */
.policy-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 120px 20px 80px;
}

.policy-container h1 {
  margin-bottom: 40px;
}

.policy-container h2 {
  margin-top: 40px;
}

.policy-container p, 
.policy-container ul {
  margin-bottom: 20px;
}

.policy-container ul {
  padding-left: 20px;
}

.policy-container ul li {
  margin-bottom: 10px;
}

/* Thank You Page */
.thank-you {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.thank-you-content {
  max-width: 600px;
  padding: 50px;
  background-color: #23293a;
  border-radius: 8px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.thank-you-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 30px;
  background-color: rgba(255, 92, 87, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thank-you-icon svg {
  width: 40px;
  height: 40px;
  fill: var(--accent);
}

/* Media Queries */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  section {
    padding: 60px 0;
  }
  
  .container {
    padding: 0 15px;
    width: 100%;
    box-sizing: border-box;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .about-container {
    flex-direction: column;
  }
  
  .about-text {
    padding-right: 0;
    margin-bottom: 40px;
  }
  
  nav ul {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--primary);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
  }
  
  nav ul.active {
    left: 0;
  }
  
  nav ul li {
    margin: 20px 0;
  }
  
  .menu-toggle {
    display: block;
  }
  
  /* PHP-based mobile menu styles - no need for :active pseudo-classes */
  
  .pricing-grid {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .radio-group {
    flex-direction: column;
  }
  
  .cookie-content {
    flex-direction: column;
  }
  
  .cookie-buttons {
    width: 100%;
    justify-content: center;
  }
} 