/* Styles spécifiques pour la page d'accueil */

/* Import des variables de couleur depuis style.css */
:root {
    --primary-blue: #17254A;
    --primary-red: #C1121F;
    --secondary-blue: #2a3f5f;
    --light-blue: #e8eef5;
    --accent-red: #d91f2e;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --background-light: #f8f9fa;
    --border-color: #dee2e6;
}

/* Lettre d'introduction */
.intro-letter {
    background: white;
    border-radius: 20px;
    padding: 50px;
    margin-bottom: 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: fadeInUp 0.8s ease 0.2s both;
}

.letter-content {
    max-width: 900px;
    margin: 0 auto;
}

.letter-date {
    text-align: right;
    color: #666;
    margin-bottom: 20px;
    font-style: italic;
}

.letter-to {
    margin-bottom: 30px;
    font-weight: 600;
    color: #333;
}

.letter-content h3 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin: 30px 0;
    font-weight: 700;
}

.letter-content p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

/* Objectifs liste */
.objectives-list {
    display: grid;
    gap: 20px;
}

.objective-item {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid var(--primary-red);
    transition: all 0.3s ease;
}

.objective-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.objective-item i {
    font-size: 2rem;
    color: var(--primary-red);
    flex-shrink: 0;
}

.objective-item h4 {
    color: var(--primary-blue);
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.objective-item p {
    color: #666;
    line-height: 1.6;
}

/* Programme highlights */
.program-highlights {
    background: white;
    border-radius: 20px;
    padding: 50px;
    margin-bottom: 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: fadeInUp 0.8s ease 0.4s both;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.highlight-card {
    padding: 25px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: white;
    border-radius: 12px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(23, 37, 74, 0.4);
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--accent-red) 100%);
}

.highlight-card i {
    font-size: 2rem;
    flex-shrink: 0;
}

.highlight-card p {
    line-height: 1.6;
    margin: 0;
}

/* Programme content */
.program-content {
    padding: 30px;
    background: #f8f9fa;
    border-radius: 12px;
}

.program-section-title {
    background: var(--primary-blue);
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    margin: 30px 0 20px 0;
}

.program-section-title:first-child {
    margin-top: 0;
}

.program-section-title h4 {
    margin: 0;
    font-size: 1.3rem;
}

.program-content h5 {
    color: var(--primary-blue);
    font-size: 1.1rem;
    margin: 25px 0 15px 0;
    font-weight: 600;
}

.program-content h6 {
    color: var(--secondary-blue);
    font-size: 1rem;
    margin: 20px 0 10px 0;
    font-weight: 600;
}

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

.program-list li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: #555;
    line-height: 1.6;
}

.program-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-red);
    font-weight: bold;
    font-size: 1.2rem;
}

.program-list ul {
    margin-top: 10px;
    margin-left: 20px;
}

.program-list ul li:before {
    content: '•';
    color: var(--primary-blue);
}

.program-note {
    background: #fff9e6;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-red);
    margin: 20px 0;
    color: #856404;
}

/* Compétences section */
.competences-section, .strong-points {
    background: white;
    border-radius: 20px;
    padding: 50px;
    margin-bottom: 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: fadeInUp 0.8s ease 0.6s both;
}

.section-intro {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.points-list {
    display: grid;
    gap: 20px;
}

.point-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid var(--primary-blue);
}

.point-item i {
    font-size: 1.5rem;
    color: var(--primary-blue);
    flex-shrink: 0;
}

.point-item p {
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* Animateur section */
.animator-section {
    background: white;
    border-radius: 20px;
    padding: 50px;
    margin-bottom: 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: fadeInUp 0.8s ease 0.7s both;
}

.animator-card {
    background: #f8f9fa;
    border-radius: 15px;
    overflow: hidden;
}

.animator-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: white;
    padding: 30px;
    display: flex;
    gap: 20px;
    align-items: center;
}

.animator-header i {
    font-size: 4rem;
}

.animator-header h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.animator-title {
    font-size: 1rem;
    opacity: 0.95;
    font-weight: 400;
}

.animator-content {
    padding: 30px;
}

.animator-content p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

.animator-content h4 {
    color: var(--primary-blue);
    font-size: 1.3rem;
    margin: 30px 0 15px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.animator-content ul {
    list-style: none;
    padding: 0;
}

.animator-content li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: #555;
    line-height: 1.6;
}

.animator-content li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-red);
    font-weight: bold;
}

/* Pédagogique section */
.pedagogical-section, .evaluation-section {
    background: white;
    border-radius: 20px;
    padding: 50px;
    margin-bottom: 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: fadeInUp 0.8s ease 0.8s both;
}

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

.pedagogical-item {
    text-align: center;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
}

.pedagogical-item:hover {
    border-color: var(--primary-blue);
    transform: translateY(-5px);
}

.pedagogical-item i {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
    display: block;
}

.pedagogical-item p {
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.pedagogical-note {
    background: #fff9e6;
    padding: 25px;
    border-radius: 12px;
    border: 2px solid var(--primary-red);
}

.pedagogical-note h4 {
    color: #856404;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pedagogical-note p {
    color: #856404;
    line-height: 1.6;
    margin: 0;
}

/* Evaluation list */
.evaluation-list {
    display: grid;
    gap: 20px;
}

.evaluation-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    align-items: center;
}

.evaluation-item i {
    font-size: 2rem;
    color: var(--primary-red);
    flex-shrink: 0;
}

.evaluation-item p {
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* Pricing includes */
.pricing-includes {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    margin-top: 30px;
}

.pricing-includes h4 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-includes ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.pricing-includes li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: #555;
}

.pricing-includes li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-red);
    font-weight: bold;
}

.pricing-warning {
    background: #fff3cd;
    padding: 20px;
    border-radius: 10px;
    border: 2px solid var(--primary-red);
    margin-top: 20px;
}

.pricing-warning p {
    color: #856404;
    line-height: 1.6;
    margin: 0;
}

.pricing-note-small {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    margin-top: 10px;
}

/* Price detail */
.price-detail {
    font-size: 1rem;
    color: #666;
    margin-top: 10px;
    font-weight: 400;
}

.pricing-calculation {
    margin-top: 25px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    text-align: left;
}

.pricing-calculation p {
    margin: 8px 0;
    color: #555;
    font-size: 0.95rem;
}

.pricing-calculation p strong {
    color: var(--primary-blue);
}

.pricing-calculation .total-ttc {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid #dee2e6;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: white;
    padding: 60px 40px;
    border-radius: 20px;
    margin-bottom: 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: fadeInUp 0.8s ease 0.1s both;
}

.hero-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-badges {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.badge {
    background: rgba(255,255,255,0.2);
    padding: 12px 24px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
}

.badge i {
    font-size: 1.2rem;
}

/* Section Headings */
.section-heading {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 700;
}

.section-heading i {
    font-size: 2.2rem;
    color: var(--primary-red);
}

/* Programme Section */
.program-section {
    background: white;
    border-radius: 20px;
    padding: 50px;
    margin-bottom: 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: fadeInUp 0.8s ease 0.3s both;
}

.program-day {
    margin-bottom: 50px;
}

.program-day:last-child {
    margin-bottom: 0;
}

.day-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: white;
    padding: 20px 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.day-header i {
    font-size: 2rem;
}

.day-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
}

.program-timeline {
    padding-left: 30px;
    border-left: 4px solid #e9ecef;
    position: relative;
}

.program-item {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    position: relative;
}

.program-item:before {
    content: '';
    position: absolute;
    left: -34px;
    top: 5px;
    width: 12px;
    height: 12px;
    background: var(--primary-blue);
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 2px var(--primary-blue);
}

.program-item.pause:before {
    background: var(--primary-red);
    box-shadow: 0 0 0 2px var(--primary-red);
}

.program-item .time {
    min-width: 120px;
    font-weight: 600;
    color: var(--primary-blue);
    font-size: 1.1rem;
}

.program-item .content {
    flex: 1;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid var(--primary-blue);
}

.program-item .content.pause {
    background: #d4edda;
    border-left-color: var(--primary-red);
}

.program-item h4 {
    font-size: 1.3rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.program-item.pause h4 {
    color: var(--primary-red);
}

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

.program-item li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: #555;
}

.program-item li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: bold;
}

/* Objectifs Section */
.objectives-section {
    background: white;
    border-radius: 20px;
    padding: 50px;
    margin-bottom: 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: fadeInUp 0.8s ease 0.4s both;
}

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

.objective-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid #dee2e6;
    transition: all 0.3s ease;
}

.objective-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-color: var(--primary-blue);
}

.objective-card i {
    font-size: 3rem;
    color: var(--primary-red);
    margin-bottom: 15px;
}

.objective-card h3 {
    font-size: 1.4rem;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.objective-card p {
    color: #666;
    line-height: 1.6;
}

/* Target Section */
.target-section {
    background: white;
    border-radius: 20px;
    padding: 50px;
    margin-bottom: 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: fadeInUp 0.8s ease 0.5s both;
}

.target-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.target-item {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: white;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.target-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(30, 60, 114, 0.4);
}

.target-item i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.target-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Pricing Section */
.pricing-section {
    background: white;
    border-radius: 20px;
    padding: 50px;
    margin-bottom: 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: fadeInUp 0.8s ease 0.6s both;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.pricing-card {
    background: #f8f9fa;
    border: 3px solid #dee2e6;
    border-radius: 20px;
    padding: 40px;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.pricing-card.featured {
    border-color: var(--primary-blue);
    background: linear-gradient(135deg, #f8f9fa 0%, #e3e8f0 100%);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.ribbon {
    position: absolute;
    top: 20px;
    right: -10px;
    background: var(--primary-red);
    color: white;
    padding: 8px 20px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(193, 18, 31, 0.4);
}

.ribbon:after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -10px;
    width: 0;
    height: 0;
    border-left: 10px solid #1e8449;
    border-bottom: 10px solid transparent;
}

.pricing-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #dee2e6;
}

.pricing-header h3 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.price {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.price .amount {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-red) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price .ht {
    font-size: 1rem;
    color: #666;
    margin-top: 5px;
}

.pricing-features {
    list-style: none;
    padding: 0;
}

.pricing-features li {
    padding: 12px 0;
    color: #555;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
}

.pricing-features li i {
    color: var(--primary-red);
    font-size: 1.2rem;
}

.pricing-features li i.fa-star {
    color: #f39c12;
}

.pricing-note {
    text-align: center;
    color: #666;
    font-size: 0.95rem;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.pricing-note i {
    color: var(--primary-blue);
    margin-right: 8px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: white;
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: fadeInUp 0.8s ease 0.7s both;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

/* Centrer le bouton unique si un seul bouton */
.cta-buttons:has(:only-child) {
    justify-content: center;
}

.btn-cta {
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.btn-cta.primary {
    background: var(--primary-red);
    color: white;
}

.btn-cta.primary:hover {
    background: var(--accent-red);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(193, 18, 31, 0.4);
}

.btn-cta.secondary {
    background: white;
    color: var(--primary-blue);
}

.btn-cta.secondary:hover {
    background: #f8f9fa;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255,255,255,0.3);
}

.cta-note {
    font-size: 1rem;
    opacity: 0.9;
}

.cta-note i {
    margin-right: 8px;
}

/* Responsive pour page d'accueil */
@media (max-width: 768px) {
    /* Texte plus petit sur mobile */
    .hero-content h2 {
        font-size: 1.5rem;
    }

    .hero-description {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .hero-badges {
        flex-direction: column;
    }

    /* Sections avec padding réduit */
    .program-section,
    .objectives-section,
    .target-section,
    .pricing-section,
    .intro-letter,
    .competences-section,
    .strong-points,
    .animator-section,
    .pedagogical-section,
    .evaluation-section,
    .program-highlights {
        padding: 25px 15px;
    }

    /* Titres de section réduits */
    .section-heading {
        font-size: 1.4rem;
        flex-wrap: wrap;
    }

    .section-heading i {
        font-size: 1.6rem;
    }

    /* Texte justifié sur mobile */
    .letter-content p,
    .section-intro,
    .animator-content p {
        text-align: left;
        font-size: 0.95rem;
        line-height: 1.6;
    }

    /* Titres de paragraphes */
    .letter-content h3 {
        font-size: 1.2rem;
    }

    /* Programme */
    .program-item {
        flex-direction: column;
        gap: 10px;
    }

    .program-item .time {
        min-width: auto;
        font-size: 1rem;
    }

    .program-item h4 {
        font-size: 1.1rem;
    }

    .program-item li {
        font-size: 0.9rem;
    }

    .day-header h3 {
        font-size: 1.4rem;
    }

    .program-section-title h4 {
        font-size: 1.1rem;
    }

    /* Cartes objectifs */
    .objective-card h3 {
        font-size: 1.2rem;
    }

    .objective-card p {
        font-size: 0.9rem;
    }

    /* Cartes tarifs */
    .pricing-cards {
        grid-template-columns: 1fr;
    }

    .pricing-card {
        padding: 25px 15px;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-header h3 {
        font-size: 1.5rem;
    }

    .price .amount {
        font-size: 2.2rem;
    }

    .pricing-features li {
        font-size: 0.9rem;
    }

    /* CTA */
    .cta-content h2 {
        font-size: 1.8rem;
    }

    .cta-content p {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-cta {
        justify-content: center;
        font-size: 1rem;
        padding: 15px 30px;
        width: auto;
        max-width: 100%;
    }

    /* Grilles */
    .objectives-grid,
    .highlights-grid,
    .target-grid,
    .pedagogical-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* Icônes réduites */
    .objective-item i,
    .highlight-card i,
    .pedagogical-item i {
        font-size: 1.5rem;
    }

    /* Espacement uniforme */
    .objective-item,
    .point-item,
    .evaluation-item {
        padding: 15px;
        gap: 12px;
    }

    .objective-item h4 {
        font-size: 1rem;
    }

    .objective-item p {
        font-size: 0.9rem;
    }
}
