/* Reset et base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Comic Neue', cursive;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.auto-hero {
  background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
  padding: 120px 0 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.auto-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,0.1) 0%, transparent 50%);
  animation: gentleFloat 15s ease-in-out infinite;
}

.auto-title {
  font-family: 'Bangers', cursive;
  font-size: 4em;
  color: #fff;
  text-shadow: 3px 3px 0 #333;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.auto-subtitle {
  font-size: 1.5em;
  color: #fff;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
  max-width: 800px;
  margin: 0 auto;
}

/* Benefits Section avec arrière-plan comics vif */
.benefits-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #ff6b6b 0%, #ffd93d 50%, #4ecdc4 100%);
    background-size: 300% 300%;
    animation: comicGradientMove 10s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.benefits-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, #333 3px, transparent 3px),
        radial-gradient(circle at 75% 75%, #333 2px, transparent 2px);
    background-size: 50px 50px, 80px 80px;
    opacity: 0.1;
    animation: comicPatternMove 20s linear infinite;
}


/* Section CPF avec arrière-plan comics vif */
.cpf-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #9b59b6 0%, #e74c3c 50%, #f39c12 100%);
    background-size: 400% 400%;
    animation: comicGradientMove 8s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.cpf-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.cpf-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.3)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.2)"/><circle cx="40" cy="80" r="1" fill="rgba(255,255,255,0.4)"/><circle cx="70" cy="70" r="2.5" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: 200px 200px;
    animation: float-particles 20s linear infinite;
    opacity: 0.6;
}

@keyframes float-particles {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-100px) rotate(360deg); }
}

.cpf-content {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 50px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cpf-logo {
    width: 180px;
    height: auto;
    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.3));
    transition: transform 0.3s ease;
}

.cpf-logo:hover {
    transform: scale(1.05) rotate(5deg);
}

.cpf-text {
    color: #fff;
}

.cpf-text h2 {
    font-family: 'Bangers', cursive;
    font-size: 3em;
    color: #fff;
    text-shadow: 3px 3px 0 rgba(0,0,0,0.5);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.cpf-text p {
    font-size: 1.3em;
    line-height: 1.7;
    margin-bottom: 30px;
    text-shadow: 1px 1px 0 rgba(0,0,0,0.3);
    opacity: 0.95;
}

.cpf-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.cpf-benefit {
    background: rgba(33, 66, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cpf-benefit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.cpf-benefit:hover::before {
    left: 100%;
}

.cpf-benefit:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.4);
}

.cpf-benefit-icon {
    font-size: 2.5em;
    margin-bottom: 10px;
    display: block;
}

.cpf-benefit h4 {
    font-family: 'Bangers', cursive;
    font-size: 1.3em;
    margin-bottom: 8px;
    text-shadow: 1px 1px 0 rgba(0,0,0,0.3);
}

.cpf-benefit p {
    font-size: 0.95em;
    margin: 0;
    opacity: 0.9;
}

.btn-cpf {
    background: linear-gradient(135deg, #ffd93d 0%, #ffb74d 100%);
    color: #333;
    padding: 18px 40px;
    font-size: 1.4em;
    border-radius: 50px;
    border: 3px solid rgba(255,255,255,0.3);
    text-shadow: none;
    box-shadow: 
        0 8px 25px rgba(0,0,0,0.3),
        inset 0 1px 0 rgba(255,255,255,0.3);
    position: relative;
    overflow: hidden;
}

.btn-cpf::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.3s ease;
}

.btn-cpf:hover::before {
    left: 100%;
}

.btn-cpf:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 12px 35px rgba(0,0,0,0.4),
        inset 0 1px 0 rgba(255,255,255,0.5);
}

/* Responsive pour la section CPF */
@media (max-width: 1024px) {
    .cpf-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .cpf-logo {
        justify-self: center;
        width: 150px;
    }
}

@media (max-width: 768px) {
    .cpf-section {
        padding: 80px 0;
    }
    
    .cpf-text h2 {
        font-size: 2.5em;
    }
    
    .cpf-text p {
        font-size: 1.1em;
    }
    
    .cpf-benefits {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .btn-cpf {
        padding: 15px 35px;
        font-size: 1.2em;
    }
    
    .pricing-title {
        font-size: 2.8em;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .service-card.featured {
        transform: none;
    }
    
    .service-card:hover {
        transform: translateY(-5px);
    }
    
    .formation-timeline::before {
        display: none;
    }
    
    .timeline-item {
        flex-direction: column !important;
        align-items: center;
        text-align: center;
        margin-bottom: 40px;
    }
    
    .timeline-marker {
        margin-bottom: 20px;
        width: 60px;
        height: 60px;
        font-size: 1.5em;
    }
    
    .timeline-content {
        margin: 0;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .cpf-text h2 {
        font-size: 2em;
    }
    
    .cpf-logo {
        width: 120px;
    }
    
    .pricing-title {
        font-size: 2.2em;
    }
    
    .pricing-grid {
        gap: 25px;
    }
    
    .price-badge {
        font-size: 1.1em;
        padding: 8px 14px;
    }
} 

/* Titre de section avec texte blanc sur fond coloré */
.benefits-title {
  font-family: 'Bangers', cursive;
  font-size: 3em;
  color: #fff;
  text-shadow: 3px 3px 0 #333;
  text-align: center;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.benefits-subtitle {
  font-size: 1.3em;
  color: #fff;
  text-shadow: 2px 2px 0 #333;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.benefit-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: 20px;
  border: 4px solid #333;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(78, 205, 196, 0.1), transparent);
  transform: rotate(45deg);
  transition: all 0.5s;
  opacity: 0;
}

.benefit-card:hover::before {
  opacity: 1;
  transform: rotate(45deg) translate(50%, 50%);
}

.benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.3);
}

.benefit-icon {
  font-size: 3em;
  margin-bottom: 20px;
  display: block;
}

.benefit-name {
  font-family: 'Bangers', cursive;
  font-size: 1.8em;
  color: #333;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.benefit-description {
  color: #666;
  font-size: 1.1em;
  line-height: 1.6;
}

/* Formation Section */
.formation-section {
    padding: 100px 0;
    background: 
        linear-gradient(45deg, 
            #74b9ff 0%, 
            #0984e3 25%, 
            #a29bfe 50%, 
            #6c5ce7 75%, 
            #74b9ff 100%
        );
    background-size: 400% 400%;
    animation: gentleFlow 8s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.formation-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 50% 50%, rgba(116, 185, 255, 0.1) 0%, transparent 60%);
    animation: gentleFloat 8s ease-in-out infinite;
}

.formation-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M10 50 Q 30 30, 50 50 Q 70 70, 90 50" stroke="rgba(255,255,255,0.1)" stroke-width="2" fill="none"/></svg>') repeat;
    background-size: 90px 90px, 140px 140px;
    animation: floatingElements 18s linear infinite;
    opacity: 0.7;
}

.formation-section .container {
    position: relative;
    z-index: 2;
}

.formation-title {
    color: #333;
    text-shadow: 2px 2px 0 #fff;
    font-family: 'Bangers', cursive;
    font-size: 2.8em;
    margin-bottom: 60px;
    text-transform: uppercase;
}

.formation-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.formation-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 50px;
    position: relative;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-marker {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: #fff;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    border: 4px solid #333;
    z-index: 2;
    position: relative;
}

.timeline-content {
    background: #fff;
    border-radius: 15px;
    border: 3px solid #333;
    padding: 25px;
    margin: 0 30px;
    flex: 1;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.timeline-content h3 {
    font-family: 'Bangers', cursive;
    font-size: 1.6em;
    color: #333;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.timeline-content p {
    color: #666;
    line-height: 1.6;
}

/* Tips Section */
.tips-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.tips-card {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: #fff;
    padding: 40px;
    border-radius: 20px;
    border: 4px solid #333;
    text-align: center;
    margin: 0 auto;
    max-width: 1000px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.tips-card h3 {
    font-family: 'Bangers', cursive;
    font-size: 2em;
    margin-bottom: 30px;
    text-shadow: 2px 2px 0 #333;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.tip-item {
    background: rgba(255,255,255,0.2);
    padding: 20px;
    border-radius: 15px;
    border: 2px solid #333;
    text-shadow: 1px 1px 0 #333;
}

/* Pricing Section avec arrière-plan comics vif */
.pricing-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #ff6b6b 0%, #4ecdc4 25%, #ffd93d 50%, #9b59b6 75%, #ff6b6b 100%);
    background-size: 400% 400%;
    animation: comicGradientMove 8s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.pricing-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        /* Trames de points Ben Day style */
        radial-gradient(circle at 25% 25%, #333 2px, transparent 2px),
        radial-gradient(circle at 75% 75%, #333 1.5px, transparent 1.5px),
        radial-gradient(circle at 50% 50%, #333 1px, transparent 1px);
    background-size: 
        40px 40px,
        60px 60px,
        20px 20px;
    opacity: 0.1;
    animation: comicPatternMove 15s linear infinite;
}

.pricing-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        /* Dégradés en losanges */
        conic-gradient(from 45deg at 20% 30%, 
            transparent 0deg, 
            rgba(255, 255, 255, 0.06) 90deg, 
            transparent 180deg, 
            rgba(255, 255, 255, 0.03) 270deg, 
            transparent 360deg
        ),
        conic-gradient(from 135deg at 80% 70%, 
            transparent 0deg, 
            rgba(51, 51, 51, 0.06) 90deg, 
            transparent 180deg, 
            rgba(51, 51, 51, 0.03) 270deg, 
            transparent 360deg
        ),
        /* Dégradés radiaux pour effet comics */
        radial-gradient(ellipse at 10% 20%, 
            rgba(255, 153, 153, 0.12) 0%, 
            transparent 60%
        ),
        radial-gradient(ellipse at 90% 80%, 
            rgba(102, 217, 212, 0.12) 0%, 
            transparent 60%
        ),
        radial-gradient(ellipse at 60% 40%, 
            rgba(255, 235, 153, 0.08) 0%, 
            transparent 50%
        );
    background-size: 
        200px 200px,
        180px 180px,
        300px 300px,
        250px 250px,
        150px 150px;
    opacity: 0.25;
    animation: comicOverlayMove 12s ease-in-out infinite reverse;
}

.pricing-section .container {
    position: relative;
    z-index: 2;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: #fff;
    border-radius: 25px;
    border: 4px solid #333;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: float 6s ease-in-out infinite;
}

.pricing-card:nth-child(2) {
    animation-delay: -2s;
}

.pricing-card:nth-child(3) {
    animation-delay: -4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.pricing-card:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.pricing-card.featured {
    border-color: #ffd93d;
    transform: scale(1.05);
}

.featured-badge {
    background: linear-gradient(135deg, #ffd93d 0%, #ffb74d 100%);
    color: #333;
    text-align: center;
    padding: 10px;
    font-family: 'Bangers', cursive;
    font-size: 1.2em;
    text-shadow: 1px 1px 0 #fff;
    border-bottom: 3px solid #333;
}

.pricing-header {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: #fff;
    padding: 30px;
    text-align: center;
    border-bottom: 4px solid #333;
}

.pricing-card.featured .pricing-header {
    background: linear-gradient(135deg, #ffd93d 0%, #ffb74d 100%);
    color: #333;
    text-shadow: 1px 1px 0 #fff;
}

.pricing-header h3 {
    font-family: 'Bangers', cursive;
    font-size: 1.8em;
    margin-bottom: 15px;
    text-shadow: 2px 2px 0 #333;
}

.pricing-card.featured .pricing-header h3 {
    text-shadow: 2px 2px 0 #fff;
}

.price {
    font-family: 'Bangers', cursive;
    font-size: 3em;
    text-shadow: 3px 3px 0 #333;
}

.pricing-card.featured .price {
    text-shadow: 3px 3px 0 #fff;
}

.pricing-features {
    padding: 30px;
}

.feature {
    padding: 12px 0;
    border-bottom: 2px dashed #eee;
    font-size: 1.1em;
    color: #333;
}

.feature:last-child {
    border-bottom: none;
}

.pricing-cta {
    padding: 30px;
    text-align: center;
    border-top: 3px solid #eee;
}

.btn-pricing {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: #fff;
    text-decoration: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-family: 'Bangers', cursive;
    font-size: 1.4em;
    text-shadow: 2px 2px 0 #333;
    border: 3px solid #333;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-pricing.featured {
    background: linear-gradient(135deg, #ffd93d 0%, #ffb74d 100%);
    color: #333;
    text-shadow: 2px 2px 0 #fff;
}

.btn-pricing:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.pricing-title {
    font-family: 'Bangers', cursive;
    font-size: 3em;
    color: #fff;
    text-shadow: 4px 4px 0 #333;
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.pricing-subtitle {
    color: #fff;
    text-align: center;
    font-size: 1.2em;
    margin-bottom: 60px;
    text-shadow: 2px 2px 0 #333;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    background: #fff;
    border-radius: 20px;
    border: 4px solid #333;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    opacity: 1;
    transform: translateY(0);
}

.service-card.featured {
    border-color: #ff6b6b;
    transform: scale(1.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.3);
}

.card-header {
    padding: 30px;
    background: linear-gradient(135deg, #74b9ff, #0984e3);
    position: relative;
    text-align: center;
}

.service-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    border: 3px solid #333;
    background: #fff;
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.price-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ffeb99;
    color: #333;
    padding: 8px 16px;
    border-radius: 20px;
    font-family: 'Bangers', cursive;
    font-size: 1.1em;
    border: 2px solid #333;
}

.card-content {
    padding: 30px;
}

.card-content h3 {
    font-family: 'Bangers', cursive;
    font-size: 1.8em;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
}

.card-content p {
    color: #666;
    text-align: center;
    margin-bottom: 20px;
}

.features-list {
    list-style: none;
    margin-bottom: 30px;
}

.features-list li {
    padding: 8px 0;
    color: #333;
    font-weight: 500;
}

.card-content .btn-comic {
    width: 100%;
    text-align: center;
    display: block;
}

.pricing-note {
    text-align: center;
    margin-top: 40px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 20px;
    border: 2px solid rgba(255,255,255,0.2);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.pricing-note p {
  color: #fff;
  font-size: 1.1em;
  margin: 0;
  font-weight: 600;
  text-shadow: 1px 1px 0 rgba(0,0,0,0.3);
  line-height: 1.6;
}

.pricing-link {
  color: #ffd93d;
  text-decoration: underline;
  transition: all 0.3s ease;
  font-weight: 700;
}

.pricing-link:hover {
  color: #ffb74d;
  text-shadow: 1px 1px 0 rgba(0,0,0,0.5);
}

/* Boutons Comic */
/* Centrage du bouton modalités */
.formation-modalities-button {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  margin-bottom: 30px;
}
.btn-comic {
  display: inline-block;
  padding: 15px 30px;
  font-family: 'Bangers', cursive;
  font-size: 1.2em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 25px;
  border: 3px solid #333;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 
    4px 4px 0 #333,
    8px 8px 0 rgba(0,0,0,0.15);
}

.btn-comic.primary {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    color: #fff;
    text-shadow: 2px 2px 0 #333;
}

.btn-comic:hover {
    transform: translate(-2px, -2px);
    box-shadow: 
        6px 6px 0 #333,
        12px 12px 0 rgba(0,0,0,0.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .cpf-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .cpf-logo {
        justify-self: center;
        width: 150px;
    }
}

@media (max-width: 768px) {
    .cpf-section {
        padding: 80px 0;
    }
    
    .cpf-text h2 {
        font-size: 2.5em;
    }
    
    .cpf-text p {
        font-size: 1.1em;
    }
    
    .cpf-benefits {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .btn-cpf {
        padding: 15px 35px;
        font-size: 1.2em;
    }
    
    .pricing-title {
        font-size: 2.8em;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .service-card.featured {
        transform: none;
    }
    
    .service-card:hover {
        transform: translateY(-5px);
    }
    
    .formation-timeline::before {
        display: none;
    }
    
    .timeline-item {
        flex-direction: column !important;
        align-items: center;
        text-align: center;
        margin-bottom: 40px;
    }
    
    .timeline-marker {
        margin-bottom: 20px;
        width: 60px;
        height: 60px;
        font-size: 1.5em;
    }
    
    .timeline-content {
        margin: 0;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .cpf-text h2 {
        font-size: 2em;
    }
    
    .cpf-logo {
        width: 120px;
    }
    
    .pricing-title {
        font-size: 2.2em;
    }
    
    .pricing-grid {
        gap: 25px;
    }
    
    .price-badge {
        font-size: 1.1em;
        padding: 8px 14px;
    }
} 

/* Important Section avec arrière-plan comics vif */
.important-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #55a3ff 0%, #003d82 50%, #00d4aa 100%);
  background-size: 400% 400%;
  animation: comicGradientMove 15s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

.important-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 40% 40%, #333 2.5px, transparent 2.5px),
        radial-gradient(circle at 80% 20%, #333 1.5px, transparent 1.5px);
    background-size: 70px 70px, 100px 100px;
    opacity: 0.1;
    animation: comicPatternMove 30s linear infinite;
}

.important-card {
  background: #fff;
  padding: 40px;
  border-radius: 20px;
  border: 4px solid #333;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.important-card h3 {
  font-family: 'Bangers', cursive;
  font-size: 2em;
  color: #333;
  margin-bottom: 20px;
  text-transform: uppercase;
  text-shadow: 2px 2px 0 #fff;
}

.important-card p {
  color: #666;
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
}

.conversion-info {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 15px;
  border: 3px solid #333;
  margin-top: 20px;
}

.conversion-info h4 {
  font-family: 'Bangers', cursive;
  font-size: 1.5em;
  color: #333;
  margin-bottom: 10px;
  text-transform: uppercase;
  text-shadow: 2px 2px 0 #fff;
}

.conversion-info p {
  color: #666;
  margin: 0;
}

/* Programme de Formation REMC Section avec arrière-plan comics vif */
.formation-program-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #fd79a8 0%, #fdcb6e 50%, #6c5ce7 100%);
    background-size: 400% 400%;
    animation: comicGradientMove 14s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.formation-program-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 75%, #333 2px, transparent 2px),
        radial-gradient(circle at 75% 25%, #333 1.8px, transparent 1.8px);
    background-size: 80px 80px, 120px 120px;
    opacity: 0.1;
    animation: comicPatternMove 35s linear infinite;
}

.formation-program-title {
    color: #fff !important;
    text-shadow: 3px 3px 0 #333 !important;
    font-family: 'Bangers', cursive;
    font-size: 2.8em;
    margin-bottom: 20px;
    text-transform: uppercase;
    text-align: center;
}

.formation-program-subtitle {
    font-size: 1.2em;
    color: #fff !important;
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 2px 2px 0 #333;
}

/* Formation Section modifiée pour couleurs vives */
.formation-section {
    background: linear-gradient(135deg, #00d2ff 0%, #3a47d5 50%, #1dd1a1 100%) !important;
    background-size: 400% 400% !important;
    animation: comicGradientMove 12s ease-in-out infinite !important;
}

.formation-section::before {
    background-image: 
        radial-gradient(circle at 30% 30%, #333 2px, transparent 2px),
        radial-gradient(circle at 70% 70%, #333 1.5px, transparent 1.5px) !important;
    background-size: 60px 60px, 90px 90px !important;
    opacity: 0.1 !important;
    animation: comicPatternMove 25s linear infinite !important;
}

.formation-title {
  color: #fff !important;
  text-shadow: 3px 3px 0 #333 !important;
}

.skills-title {
    color: #fff !important;
    text-shadow: 3px 3px 0 #333 !important;
}

/* Animations */
@keyframes gentleFloat {
  0%, 100% { 
    transform: translateY(0) scale(1); 
  }
  50% { 
    transform: translateY(-20px) scale(1.02); 
  }
}

/* Animations pour les trames comics */
@keyframes comicGradientMove {
    0%, 100% { 
        background-position: 0% 50%; 
    }
    50% { 
        background-position: 100% 50%; 
    }
}

@keyframes comicPatternMove {
    0% { 
        transform: translateX(0) translateY(0); 
    }
    25% { 
        transform: translateX(10px) translateY(-10px); 
    }
    50% { 
        transform: translateX(20px) translateY(0); 
    }
    75% { 
        transform: translateX(10px) translateY(10px); 
    }
    100% { 
        transform: translateX(0) translateY(0); 
    }
}

@keyframes comicOverlayMove {
    0%, 100% { 
        transform: scale(1) rotate(0deg); 
        opacity: 0.25; 
    }
    33% { 
        transform: scale(1.05) rotate(1deg); 
        opacity: 0.2; 
    }
    66% { 
        transform: scale(0.98) rotate(-1deg); 
        opacity: 0.3; 
    }
}

/* Section Headers identiques à l'accueil */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

        .comic-title {
            font-family: 'Bangers', cursive;
            font-size: 3.5rem;
            color: #fff;
            text-shadow: 
                4px 4px 0px #000,
                -1px -1px 0px #000,
                1px -1px 0px #000,
                -1px 1px 0px #000,
                1px 1px 0px #000;
            margin-bottom: 20px;
            transform: perspective(500px) rotateX(15deg);
            text-align: center;
        }

.comic-subtitle {
    font-size: 1.3em;
    color: #fff;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    background: linear-gradient(135deg, #ffd93d 0%, #ffb74d 100%);
    color: #333;
    padding: 12px 25px;
    border-radius: 25px;
    border: 3px solid #333;
    font-family: 'Bangers', cursive;
    text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.8);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 0.4);
    position: relative;
    overflow: hidden;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.comic-subtitle::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}

.comic-subtitle:hover::before {
    left: 100%;
}

.comic-subtitle:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 6px 18px rgba(0, 0, 0, 0.4),
        inset 0 2px 0 rgba(255, 255, 255, 0.6);
}

/* Programme de Formation REMC Section */
.formation-program-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #fffaf0 0%, #fff2e6 100%);
    position: relative;
    overflow: hidden;
}

.formation-program-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 30% 60%, #74b9ff 10%, transparent 70%);
    opacity: 0.07;
    pointer-events: none;
}

.formation-program-title {
    color: #333;
    text-shadow: 2px 2px 0 #fff;
    font-family: 'Bangers', cursive;
    font-size: 2.8em;
    margin-bottom: 20px;
    text-transform: uppercase;
    text-align: center;
}

.formation-program-subtitle {
    font-size: 1.2em;
    color: #666;
    text-align: center;
    margin-bottom: 40px;
}

.formation-program-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.program-column {
    background: #fff;
    border-radius: 15px;
    border: 3px solid #333;
    padding: 20px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.program-column:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.program-column h3 {
    font-family: 'Bangers', cursive;
    font-size: 1.6em;
    color: #333;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.program-column p {
    color: #666;
    margin-bottom: 15px;
    font-size: 1em;
}

.program-column ul {
    list-style: none;
    padding-left: 0;
}

.program-column ul li {
    margin-bottom: 10px;
    color: #333;
    font-size: 0.95em;
    line-height: 1.5;
}

/* Responsive pour Programme REMC */
@media (max-width: 1024px) {
    .formation-program-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .formation-program-grid {
        grid-template-columns: 1fr;
    }
}

/* WhatsApp Button */
.whatsapp-chat {
  position: fixed;
  bottom: 0;
  right: 0;
  z-index: 1000;
  /* Ajout de l'image de nuage en arrière-plan */
  background-image: url('../img/tl.webp');
  background-size: 120px 120px;
  background-position: center;
  background-repeat: no-repeat;
  padding: 30px;
  transform: scaleX(-1);
}

.whatsapp-chat a {
  display: block;
  width: 60px;
  height: 60px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  position: relative;
  z-index: 1001;
}

.whatsapp-chat img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-size: 400% 400%;
  position: relative;
  overflow: hidden;
}



@keyframes float {
  0%, 100% { transform: translateY(-50%) scaleX(-1) translateY(0px); }
  50% { transform: translateY(-50%) scaleX(-1) translateY(-10px); }
}