/* 
   Clarté Financière - Style principal
   Palette de couleurs:
   - Glubokiy ametist (#5C3D99) — fonds
   - Lavandovyy (#D4BFFF) — accents
   - Salatovyy neon (#C2F970) — boutons et interactif
   - Svetlo-seryy beton (#EAEAEA) — blocs de texte
   - Ugolʹnyy seryy (#1E1E1E) — texte principal
*/
iframe{
  width: 100%;
  height: 100%;
  border: none;
}
/* === RESET & BASE === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, sans-serif;
  line-height: 1.6;
  color: #1E1E1E;
  background-color: #FFFFFF;
  overflow-x: hidden;
  padding-top: 80px; /* Espace pour le header fixe */
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #5C3D99;
  text-decoration: none;
  transition: color 0.3s, transform 0.3s;
}

a:hover {
  color: #C2F970;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

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: 4px;
  background: #C2F970;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

.contact-info1{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin-bottom: 3rem;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 80px 0;
}

/* === HEADER ET NAVIGATION === */
.site-header {
  background-color: #FFFFFF;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  position: relative;
}

.logo-container {
  z-index: 1001;
}

.logo-container img {
  display: block;
  max-height: 50px;
  width: auto;
}

/* Style du bouton hamburger */
.nav-toggle {
  display: none; /* Masquer la checkbox */
}

.nav-toggle-label {
  display: none; /* Masqué sur desktop */
  padding: 10px 15px;
  background-color: #5C3D99;
  color: white;
  cursor: pointer;
  font-weight: bold;
  border-radius: 4px;
  position: absolute;
  top: 15px;
  right: 20px;
  z-index: 1002;
}

/* Menu principal */
.main-nav {
  display: block;
}

.main-nav ul {
  display: flex;
  gap: 20px;
  align-items: center;
}

.main-nav a {
  font-weight: 500;
  color: #1E1E1E;
  padding: 5px 0;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #C2F970;
  transition: width 0.3s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

.cta-button {
  background-color: #C2F970;
  color: #1E1E1E;
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
}

.cta-button:hover {
  background-color: #b8f050;
}

/* Comportement mobile - ultra simple et fiable */
@media (max-width: 768px) {
  .nav-toggle-label {
    display: block;
  }
  
  .main-nav {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: #FFFFFF;
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }
  
  .main-nav ul {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  
  .main-nav li {
    width: 100%;
    text-align: center;
    margin-bottom: 15px;
  }
  
  .main-nav a {
    display: block;
    padding: 10px 0;
    font-size: 18px;
  }
  
  /* L'essentiel: afficher le menu quand la checkbox est cochée */
  .nav-toggle:checked ~ .main-nav {
    display: block;
  }
  
  /* Changement visuel du bouton quand le menu est ouvert */
  .nav-toggle:checked ~ .nav-toggle-label {
    background-color: #C2F970;
    color: #1E1E1E;
  }
}

/* === HERO SECTION === */
.hero {
  padding-top: 150px;
  padding-bottom: 80px;
  background: linear-gradient(135deg, #5C3D99 0%, #7A5FB9 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background-image: url('./img/8CJGKt.jpg');
  background-size: cover;
  background-position: center;
  clip-path: polygon(25% 0, 100% 0, 100% 100%, 0 100%);
  opacity: 0.8;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.hero-content {
  padding-right: 20px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-highlight {
  color: #C2F970;
}

.hero-description {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.hero-cta {
  display: inline-block;
  padding: 15px 30px;
  background-color: #C2F970;
  color: #1E1E1E;
  font-weight: 600;
  border-radius: 4px;
  font-size: 1.1rem;
  transition: transform 0.3s;
}

.hero-cta:hover {
  transform: translateY(-3px);
}

.hero-image {
  position: relative;
}

/* === ABOUT SECTION === */
.about-section {
  background-color: #FFFFFF;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-content h2 {
  margin-bottom: 2rem;
}

.about-image {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(92, 61, 153, 0.2);
}

.about-image::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100px;
  height: 100px;
  border-top: 8px solid #C2F970;
  border-left: 8px solid #C2F970;
}

/* === SERVICES SECTION === */
.services-section {
  background-color: #F8F8F8;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background-color: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  padding: 2rem;
  transition: transform 0.3s;
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background-color: #5C3D99;
}

.service-icon {
  width: 70px;
  height: 70px;
  background-color: #D4BFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 1.5rem;
}

.service-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-price {
  font-weight: 700;
  font-size: 1.75rem;
  color: #5C3D99;
  margin-top: auto;
  padding-top: 1rem;
}

/* === WHY US SECTION === */
.why-us-section {
  background-color: #5C3D99;
  color: #FFFFFF;
}

.why-us-header {

  margin-bottom: 3rem;
}

.why-us-header h2 {
  color: #FFFFFF;
  display: inline-block;
}

.why-us-header h2::after {
  background-color: #C2F970;
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.why-us-item {
  padding: 2rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;

  transition: transform 0.3s;
}

.why-us-item:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.15);
}

.why-us-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  background-color: #C2F970;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-us-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: #C2F970;
}

/* === TESTIMONIALS SECTION === */
.testimonials-section {
  background-color: #FFFFFF;
}

.testimonials-header {

  margin-bottom: 3rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background-color: #EAEAEA;
  padding: 2rem;
  border-radius: 8px;
  position: relative;
}

.testimonial-content {
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
}

.testimonial-content::before {
  content: '"';
  font-size: 3rem;
  color: #D4BFFF;
  position: absolute;
  top: -20px;
  left: -10px;
  opacity: 0.5;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 1rem;
}

.testimonial-name {
  font-weight: 600;
}

.testimonial-role {
  font-size: 0.9rem;
  color: #666;
}

/* === PROCESS SECTION === */
.process-section {
  background-color: #F8F8F8;
  position: relative;
  overflow: hidden;
}

.process-header {

  margin-bottom: 4rem;
}

.process-timeline {
  position: relative;
  padding: 0 20px;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background-color: #5C3D99;
}

.process-item {
  display: flex;
  align-items: center;
  margin-bottom: 4rem;
  position: relative;
}

.process-item:last-child {
  margin-bottom: 0;
}

.process-item:nth-child(odd) {
  flex-direction: row-reverse;
}

.process-content {
  width: 45%;
  background-color: #FFFFFF;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.process-icon {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 70px;
  background-color: #C2F970;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #5C3D99;
  z-index: 2;
  box-shadow: 0 0 0 8px #FFFFFF;
}

.process-title {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: #5C3D99;
}

/* === ARTICLES SECTION === */
.articles-section {
  background-color: #FFFFFF;
}

.articles-header {

  margin-bottom: 3rem;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.article-card {
  background-color: #FFFFFF;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

.article-card:hover {
  transform: translateY(-10px);
}

.article-image {
  height: 200px;
  position: relative;
  overflow: hidden;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.article-card:hover .article-image img {
  transform: scale(1.05);
}

.article-content {
  padding: 1.5rem;
}

.article-date {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.article-title {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.article-excerpt {
  margin-bottom: 1rem;
  color: #555;
  font-size: 0.95rem;
}

.article-link {
  font-weight: 600;
  color: #5C3D99;
  display: inline-flex;
  align-items: center;
}

.article-link::after {
  content: '→';
  margin-left: 5px;
  transition: margin-left 0.3s;
}

.article-link:hover::after {
  margin-left: 8px;
}

/* === FORM SECTION === */
.form-section {
  background-color: #F8F8F8;
  position: relative;
}

.form-header {

  margin-bottom: 3rem;
}

.form-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: #FFFFFF;
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(92, 61, 153, 0.1);
  position: relative;
  z-index: 2;
  transform: rotate(-2deg);
}

.form-container form {
  transform: rotate(2deg);
}

.form-row {
  margin-bottom: 2rem;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, 1fr);
}

.form-group {
  position: relative;
}

.form-group:nth-child(1) {
  grid-column: 1 / 3;
}

.form-group:nth-child(2) {
  grid-column: 3 / 4;
}

.form-group:nth-child(3) {
  grid-column: 1 / 4;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #5C3D99;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #D4BFFF;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.3s;
  background-color: #FFFFFF;
}

.form-control:focus {
  border-color: #5C3D99;
  outline: none;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%235C3D99' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
}

.form-checkbox {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
}

.form-checkbox input {
  position: absolute;
  opacity: 0;
  height: 0;
  width: 0;
}

.checkbox-custom {
  margin-right: 10px;
  flex: 0 0 20px;
  height: 20px;
  width: 20px;
  border: 2px solid #D4BFFF;
  border-radius: 4px;
  position: relative;
  display: inline-block;
  transition: background-color 0.3s, border-color 0.3s;
  cursor: pointer;
  transform: translateY(2px);
}

.form-checkbox input:checked ~ .checkbox-custom {
  background-color: #C2F970;
  border-color: #C2F970;
}

.form-checkbox input:checked ~ .checkbox-custom::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid #5C3D99;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.form-submit {
  display: block;
  width: 100%;
  padding: 15px;
  background-color: #C2F970;
  color: #1E1E1E;
  border: none;
  border-radius: 6px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
}

.form-submit:hover {
  background-color: #b8f050;
  transform: translateY(-3px);
}

/* === CONTACT SECTION === */
.contact-section {
  background-color: #FFFFFF;
  padding-bottom: 0;
}

.contact-header {

  margin-bottom: 3rem;
}

.contact-info {
  display: grid;
  margin-bottom: 3rem;
}

.contact-card {
  background-color: #EAEAEA;
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s;
}

.contact-card:hover {
  transform: translateY(-5px);
  background-color: #D4BFFF;
}

.contact-icon {
  width: 60px;
  height: 60px;
  background-color: #C2F970;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.contact-text {
  font-size: 1.1rem;
  font-weight: 500;
}

.map-container {
  height: 400px;
  width: 100%;
  background-color: #EAEAEA;
}

/* === FOOTER === */
.site-footer {
  background-color: #1E1E1E;
  color: #FFFFFF;
  padding: 4rem 0 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-section h3 {
  color: #C2F970;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 10px;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: #D4BFFF;
}

.footer-section p {
  color: #AAAAAA;
}

.contact-info li, .legal-links li {
  margin-bottom: 10px;
}

.contact-info a, .legal-links a {
  color: #D4BFFF;
  transition: color 0.3s;
}

.contact-info a:hover, .legal-links a:hover {
  color: #C2F970;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #333333;
}

.footer-bottom p {
  color: #888888;
  font-size: 0.9rem;
}

/* === COOKIE POPUP === */
.cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(30, 30, 30, 0.95);
  color: #FFFFFF;
  padding: 1rem;
  z-index: 9999;
}

.cookie-popup-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem;
  text-align: center;
}

.cookie-popup h3 {
  color: #C2F970;
  margin-bottom: 1rem;
}

.cookie-popup p {
  margin-bottom: 1.5rem;
}

.cookie-accept-btn {
  background-color: #C2F970;
  color: #1E1E1E;
  border: none;
  padding: 10px 25px;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}

.cookie-accept-btn:hover {
  background-color: #b8f050;
}

.cookie-more-info {
  margin-top: 1rem;
  font-size: 0.9rem;
}

.cookie-more-info a {
  color: #D4BFFF;
}

/* === THANK YOU PAGE === */
.thank-you-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 0;
  background-color: #F8F8F8;
}

.thank-you-content {
  max-width: 700px;
  margin: 0 auto;
}

.thank-you-icon {
  width: 100px;
  height: 100px;
  background-color: #C2F970;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  font-size: 3rem;
}

.thank-you-title {
  font-size: 2.5rem;
  color: #5C3D99;
  margin-bottom: 1.5rem;
}

.back-to-home {
  display: inline-block;
  margin-top: 2rem;
  padding: 12px 25px;
  background-color: #5C3D99;
  color: #FFFFFF;
  border-radius: 4px;
  font-weight: 600;
  transition: background-color 0.3s;
}

.back-to-home:hover {
  background-color: #4C3180;
}

/* === POLICY PAGES === */
.policy-page {
  padding: 7rem 0 4rem;
  background-color: #FFFFFF;
}

.policy-container {
  max-width: 900px;
  margin: 0 auto;
  background-color: #EAEAEA;
  padding: 3rem;
  border-radius: 8px;
}

.policy-title {
  text-align: center;
  margin-bottom: 3rem;
  color: #5C3D99;
}

.policy-section {
  margin-bottom: 2.5rem;
}

.policy-section h3 {
  color: #5C3D99;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid #D4BFFF;
  padding-bottom: 10px;
}

.policy-section p {
  margin-bottom: 1rem;
}

.policy-section ul {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 1rem;
}

.policy-section ul li {
  margin-bottom: 0.5rem;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1200px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .process-timeline::before {
    left: 30px;
  }
  
  .process-item {
    flex-direction: row !important;
  }
  
  .process-icon {
    left: 30px;
  }
  
  .process-content {
    width: calc(100% - 80px);
    margin-left: 80px;
  }
}

@media (max-width: 992px) {
  section {
    padding: 60px 0;
  }
  
  .hero {
    padding-top: 120px;
  }
  
  .hero .container {
    grid-template-columns: 1fr;
  }
  
  .hero::before {
    width: 100%;
    opacity: 0.15;
    clip-path: none;
  }
  
  .about-grid, 
  .services-grid, 
  .why-us-grid, 
  .testimonials-grid, 
  .articles-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .form-group:nth-child(1),
  .form-group:nth-child(2),
  .form-group:nth-child(3) {
    grid-column: 1;
  }
  
  .contact-info {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .main-nav {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .about-grid, 
  .services-grid, 
  .why-us-grid, 
  .testimonials-grid, 
  .articles-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .form-container {
    padding: 2rem;
    transform: none;
  }
  
  .form-container form {
    transform: none;
  }
}

@media (max-width: 576px) {
  section {
    padding: 40px 0;
  }
  
  .hero {
    padding-top: 100px;
    padding-bottom: 60px;
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .policy-container {
    padding: 1.5rem;
  }
} 