/* 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 */
.perfectionnement-hero {
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.perfectionnement-hero::before {
    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="50" cy="50" r="3" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    background-size: 60px 60px;
    animation: sparkle 10s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.perfectionnement-hero .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

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

.perfectionnement-subtitle {
    color: #fff;
    font-size: 1.3em;
    text-shadow: 2px 2px 0 #333;
    opacity: 0.95;
}

/* Section Pourquoi se perfectionner */
.why-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #00b894 0%, #00a085 100%);
    position: relative;
    overflow: hidden;
}

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

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

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

.why-subtitle {
    font-size: 1.2em;
    color: #fff;
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 0 rgba(0,0,0,0.3);
    opacity: 0.95;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.why-card {
    background: rgba(255,255,255,0.95);
    border-radius: 20px;
    border: 4px solid #333;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

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

.why-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.why-card:nth-child(1) {
    border-color: #e74c3c;
}

.why-card:nth-child(2) {
    border-color: #f39c12;
}

.why-card:nth-child(3) {
    border-color: #2ecc71;
}

.why-card:nth-child(4) {
    border-color: #9b59b6;
}

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

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

.why-description {
    color: #666;
    line-height: 1.5;
    font-size: 0.95em;
}

/* Section Tarifs */
.pricing-section {
    padding: 100px 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, #fd79a8 0%, #fdcb6e 100%);
    position: relative;
    overflow: hidden;
}

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

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

.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;
}

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

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

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

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

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

.service-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: 
        8px 8px 0 #ffdd57,
        14px 14px 0 rgba(0,0,0,0.2);
}

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

.featured-banner {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: #fff;
    text-align: center;
    padding: 10px 15px;
    font-family: 'Bangers', cursive;
    font-size: 1.2em;
    text-shadow: 2px 2px 0 #333;
    border-bottom: 3px solid #333;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.featured-banner::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-right: 8px solid #fff;
}

.featured-banner::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 8px solid #fff;
}

.card-header {
    padding: 30px;
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    position: relative;
    text-align: center;
    border-bottom: 4px solid #333;
}

.service-card.featured .card-header {
    background: linear-gradient(135deg, #fd79a8 0%, #fdcb6e 100%);
}

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

.service-icon i {
    font-size: 2.5em;
    color: #333;
}

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

.card-content {
    padding: 30px;
}

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

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

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

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

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

.pricing-note {
    text-align: center;
    margin-top: 50px;
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 15px;
    border: 2px solid rgba(255,255,255,0.2);
}

.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);
}

.pricing-link {
  color: #fff;
  text-decoration: underline;
  transition: color 0.3s ease;
  opacity: 0.9;
}

.pricing-link:hover {
  opacity: 1;
}

/* Section Pour qui */
.who-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #a29bfe 0%, #6c5ce7 100%);
    position: relative;
    overflow: hidden;
}

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

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

.who-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.who-card {
    background: rgba(255,255,255,0.95);
    border-radius: 20px;
    border: 4px solid #333;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

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

.who-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.who-card:nth-child(1) {
    border-color: #00b894;
}

.who-card:nth-child(2) {
    border-color: #fdcb6e;
}

.who-card:nth-child(3) {
    border-color: #74b9ff;
}

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

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

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

/* Section Formation */
.formation-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
    position: relative;
    overflow: hidden;
}

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

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

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

.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, #fff 0%, #f1f2f6 100%);
    transform: translateX(-50%);
    border: 2px solid #333;
}

.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, #ffd93d 0%, #ffb74d 100%);
    color: #333;
    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;
    text-shadow: 1px 1px 0 #fff;
}

.timeline-content {
    background: #fff;
    border-radius: 15px;
    border: 3px solid #333;
    padding: 25px;
    margin: 0 30px;
    flex: 1;
    box-shadow: 
        4px 4px 0 #333,
        8px 8px 0 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;
    font-size: 1em;
}

/* Section Compétences */
.skills-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #fd79a8 0%, #fdcb6e 100%);
    position: relative;
    overflow: hidden;
}

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

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

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

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

.skill-card {
    background: #fff;
    border-radius: 20px;
    border: 4px solid #333;
    padding: 25px;
    text-align: center;
    box-shadow: 
        6px 6px 0 #333,
        12px 12px 0 rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    position: relative;
}

.skill-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: 
        8px 8px 0 #ffdd57,
        14px 14px 0 rgba(0,0,0,0.2);
}

.skill-number {
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Bangers', cursive;
    font-size: 1.5em;
    margin: 0 auto 20px;
    border: 3px solid #333;
    text-shadow: 2px 2px 0 #333;
}

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

.skill-card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95em;
}

/* Section Situations pratiques */
.situations-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #00cec9 0%, #00b894 100%);
    position: relative;
    overflow: hidden;
}

.situations-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(255,255,255,0.1) 10%, transparent 70%);
    opacity: 0.8;
    pointer-events: none;
}

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

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

.situations-subtitle {
    font-size: 1.2em;
    color: #fff;
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 0 rgba(0,0,0,0.3);
    opacity: 0.95;
}

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

.situation-card {
    background: rgba(255,255,255,0.95);
    border-radius: 20px;
    border: 4px solid #333;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 
        6px 6px 0 #333,
        12px 12px 0 rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

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

.situation-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: 
        8px 8px 0 #ffdd57,
        14px 14px 0 rgba(0,0,0,0.2);
}

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

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

.situation-description {
    color: #666;
    line-height: 1.5;
    font-size: 0.95em;
}

/* Section conseils */
.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: 
        6px 6px 0 #333,
        12px 12px 0 rgba(0,0,0,0.15);
}

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

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

.tip-item {
    background: rgba(255,255,255,0.2);
    padding: 20px;
    border-radius: 15px;
    border: 2px solid rgba(255,255,255,0.3);
    text-shadow: 1px 1px 0 rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.tip-item:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-3px);
}

.tip-item h4 {
    font-family: 'Bangers', cursive;
    font-size: 1.3em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.tip-item p {
    font-size: 0.95em;
    line-height: 1.4;
    margin: 0;
}

/* Boutons Comic */
.btn-comic {
    display: inline-block;
    padding: 15px 30px;
    font-family: 'Bangers', cursive;
    font-size: 1.3em;
    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;
    text-shadow: 1px 1px 0 #333;
}

.btn-comic.primary {
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    color: #fff;
}

.btn-comic:hover {
    transform: translateY(-3px);
    box-shadow: 4px 4px 0 #ffdd57;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .why-grid,
    .who-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .situations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .perfectionnement-title {
        font-size: 2.5em;
    }
    
    .why-grid,
    .who-grid,
    .skills-grid,
    .situations-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .why-title,
    .skills-title,
    .formation-title,
    .situations-title {
        font-size: 2.2em;
    }
    
    .formation-timeline::before {
        left: 40px;
    }
    
    .timeline-item {
        flex-direction: row !important;
        padding-left: 100px;
    }
    
    .timeline-marker {
        position: absolute;
        left: 0;
        width: 60px;
        height: 60px;
        font-size: 1.5em;
    }
    
    .timeline-content {
        margin: 0;
    }
    
    .tips-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-title {
        font-size: 2.5em;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .service-card.featured {
        transform: none;
    }
    
    .service-card:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 480px) {
    .perfectionnement-title {
        font-size: 2em;
    }
    
    .why-title,
    .skills-title,
    .formation-title,
    .situations-title {
        font-size: 1.8em;
    }
    
    .why-icon,
    .situation-icon {
        font-size: 3em;
    }
    
    .why-name,
    .situation-name {
        font-size: 1.4em;
    }
    
    .tips-card {
        padding: 30px 20px;
    }
    
    .pricing-title {
        font-size: 2em;
    }
    
    .card-content {
        padding: 20px;
    }
}


/* 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);
  animation: whatsappFloat 4s ease-in-out infinite;
}

.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 whatsappFloat {
  0%, 100% { transform: scaleX(-1) translateY(0px); }
  50% { transform: scaleX(-1) translateY(-10px); }
}

        .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;
        }