@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

:root {
    --font-main: 'Crimson Text', serif;
    --font-secondary: 'Poppins', sans-serif;
    --primary-color: #4B4BAD;
    --primary-hover: #3c3c96;
    --background-color: #f5f5f7;
    --accent-color: #FFD700;
    --gradient-primary: linear-gradient(135deg, var(--primary-color), #6B6BE3);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
}

/* Animations globales */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero section améliorée */
.hero {
    position: relative;
    background: var(--gradient-primary);
    color: white;
    overflow: hidden;
}

.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 1440 320"><path fill="%23ffffff20" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,208C1248,224,1344,192,1392,176L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-repeat: no-repeat;
    background-position: center bottom;
    opacity: 0.1;
}

.hero h1 {
    font-family: var(--font-secondary);
    font-size: 3.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    animation: slideInDown 1s ease-out;
}

.hero img {
    transform: perspective(1000px) rotateY(-15deg);
    transition: transform 0.5s ease;
    box-shadow: var(--shadow-lg);
}

.hero img:hover {
    transform: perspective(1000px) rotateY(0deg);
}

/* Cards améliorés */
.stats ul li {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transform: translateY(0);
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

.stats ul li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.stats ul li:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Sections principales */
.mardi-emploi, .mercredi-formation {
    position: relative;
    padding: 60px 20px;
    margin: 0;
    background: white;
}

.mardi-emploi {
    background: linear-gradient(135deg, #E3F2FD, #BBDEFB);
}

.mercredi-formation {
    background: linear-gradient(135deg, #FFF9C4, #FFF59D);
}

.informations-aultech {
    background: linear-gradient(135deg, #E1BEE7, #CE93D8);
}

/* Boutons améliorés */
.btn {
    background: var(--gradient-primary);
    border: none;
    padding: 12px 30px;
    font-family: var(--font-secondary);
    font-weight: 600;
    letter-spacing: 0.5px;
    transform: scale(1);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
    background: linear-gradient(135deg, var(--primary-hover), #5757CC);
}

/* Cartes de témoignages améliorées */
.objectifs-avis article {
    background: white;
    border-radius: var(--border-radius);
    border: none;
    box-shadow: var(--shadow-md);
    transform: translateX(0);
    transition: all 0.3s ease;
}

.objectifs-avis article:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

/* Comment participer - style amélioré */
.comment-participer ul li {
    display: flex;
    align-items: center;
    gap: 15px;
    background: white;
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    transform: translateX(0);
    transition: all 0.3s ease;
}

.comment-participer ul li::before {
    content: counter(item);
    counter-increment: item;
    background: var(--gradient-primary);
    color: white;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-family: var(--font-secondary);
    font-weight: 600;
}

.comment-participer ul li:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--background-color);
}

span{
    font-style: bold;
    text-decoration: underline;
}

/* Partie Hero ------------------------------------------------------ */

.hero {
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 0 auto;
  padding: 40px 20px;
  height: 100vh;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  width: 90%;
  text-align: center;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.hero p {
  margin-bottom: 20px;
  text-align: center;
  font-size: 1.1rem;
  max-width: 800px;
}

.hero figure {
  width: 73%;
  margin: 0 auto;
}

.hero img {
  width: 100%;
  height: auto;
  box-shadow: 12px -12px #f0e68c;
  border-radius: 10px;
  border: 1px solid black;
  -webkit-user-drag: none;
}

/* Fin Partie Hero ------------------------------------------------------ */

.mardi-emploi, .mercredi-formation, .informations-aultech {
    width: 100vw;
}

/* Partie Mardi Emploi ------------------------------------------------------ */

.mardi-emploi {
    margin: 50px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 50px;
    background-color: #c8e2fe;
    padding: 40px 20px;
    border-top: 1px dashed black;
    border-bottom: 1px dashed black;
}

.mardi-emploi > h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-decoration: underline;
    text-align: center;
}

.mardi-emploi article h3 {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.mardi-emploi article p {
    margin-bottom: 20px;
    max-width: 800px;
    text-align: center;
}

/* Stats Section */

.stats {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 30px;
    gap: 20px;
}

.stats h2 {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
    background-color: #c8e2fe;
    padding: 0 10px;
}

.stats ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
    list-style: none;
    padding: 20px 0;
}

.stats ul li {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid black;
    padding: 20px;
    background-color: white;
    /* width: 150px; */
}

.stats ul li h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.stats ul li p {
    font-size: 1rem;
}

/* Objectifs et Avis */

.objectifs-avis {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    position: relative;
    width: 100%;
    max-width: 800px;
}

.objectifs-avis h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
    text-decoration: underline;
    text-align: center;
}

.objectifs-avis ul {
    list-style: disc inside;
    padding-left: 20px;
    font-size: 1.1rem;
}

.objectifs-avis li {
    margin-bottom: 10px;
}

.objectifs-avis article {
    width: 100%;
    background-color: #fbfbfb;
    border: 1px solid black;
    border-left: 5px solid var(--primary-color);
    margin-top: 10px;
    padding: 20px;
    font-style: italic;
}

.objectifs-avis article h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.objectifs-avis article p {
    font-size: 1rem;
}

.btn {
    background-color: var(--primary-color);
    color: white;
    border: 1px solid black;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 1rem;
}

.btn:hover {
    background-color: var(--primary-hover);
}

/* Fin Partie Mardi Emploi ------------------------------------------------------ */

/* Partie Mercredi Formation ------------------------------------------------------ */

.mercredi-formation {
    background-color: #f0e68c; 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 40px 20px;
    border-top: 1px dashed black;
    border-bottom: 1px dashed black;
    margin: 50px 20px;
}

.mercredi-formation > h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-decoration: underline;
    text-align: center;
}

.mercredi-formation article h3 {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.mercredi-formation article p {
    margin-bottom: 20px;
    max-width: 800px;
    text-align: center;
}

/* Réutilisation de la classe stats pour Mercredi Formation */

.mercredi-formation .stats h2 {
    background-color: #f0e68c;
}

.mercredi-formation .stats ul li {
    width: 266px;
    height: auto;
}

.objectifs-avis.mercredi-formation {
    margin-top: 40px;
}

/* Fin Partie Mercredi Formation ------------------------------------------------------ */

/* Partie Informations Aultech ------------------------------------------------------ */

.informations-aultech {
    margin: 50px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* gap: 50px; */
    background-color: #d1c4e9; 
    padding: 40px 20px;
    border-top: 1px dashed black;
    border-bottom: 1px dashed black;
}

.informations-aultech > h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-decoration: underline;
    text-align: center;
}

.informations-aultech > p {
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.1rem;
    max-width: 800px;
}

.informations-aultech ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
    list-style: none;
    padding: 20px 0;
}

.informations-aultech ul li {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid black;
    padding: 20px;
    background-color: white;
    width: 248px;
}

.informations-aultech ul li h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.informations-aultech ul li p {
    font-size: 1rem;
}

.statistiques-aultech {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 30px;
    gap: 20px;
}

.statistiques-aultech > h3 {
    position: absolute;
    top: -40px;
    left: 80%;
    transform: translateX(-50%);
    font-size: 1.5rem;
    background-color: #d1c4e9;
    padding: 0 10px;
    width: 100%;
}

.statistiques-aultech article {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid black;
    padding: 20px;
    background-color: white;
    width: 230px;
    text-align: center;
}

.statistiques-aultech article h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.statistiques-aultech article p {
    font-size: 1rem;
}

/* Fin Partie Informations Aultech ------------------------------------------------------ */

/* Partie Comment Participer ------------------------------------------------------ */

.comment-participer {
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin: 50px 20px;
}

.comment-participer h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: underline;
    margin-bottom: 20px;
    text-align: center;
}

.comment-participer ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 600px;
    padding: 0;
}

.comment-participer ul li {
    background-color: #ffffff;
    border: 1px solid black;
    padding: 15px 20px;
    border-left: 5px solid var(--primary-color);
    border-radius: 5px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    font-size: 1rem;
    text-align: left;
}

/* Fin Partie Comment Participer ------------------------------------------------------ */

/* Partie Contactez-nous ------------------------------------------------------ */

.contactez-nous {
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin: 50px 20px;
}

.contactez-nous h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: underline;
    margin-bottom: 20px;
    text-align: center;
}

.contactez-nous p {
    font-size: 1.1rem;
    text-align: center;
    max-width: 800px;
    color: #333333;
}

.contactez-nous ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 0;
}

.contactez-nous ul li {
    font-size: 1rem;
    color: #555555;
}

.contactez-nous ul li a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contactez-nous ul li a:hover {
    color: var(--primary-hover);
}

/* Formulaire de Contact */

.contactez-nous form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 500px;
}

.contactez-nous form input,
.contactez-nous form textarea {
    padding: 10px 15px;
    border: 1px solid #cccccc;
    border-radius: 5px;
    font-family: var(--font-main);
    font-size: 1rem;
    width: 100%;
}

.contactez-nous form textarea {
    resize: vertical;
    min-height: 100px;
}

.contactez-nous form button {
    align-self: flex-start;
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.contactez-nous form button:hover {
    background-color: var(--primary-hover);
}

/* Fin Partie Contactez-nous ------------------------------------------------------ */

/* Footer ------------------------------------------------------ */

footer {
    background-color: #3268AE;
    color: #ECF0F1;
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
    width: 100%;
}

footer::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    right: 0;
    height: 100px;
    background-color: #2d5484;
    transform: skewY(-3deg);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    gap: 20px;
}

.footer-section {
    flex: 1 1 200px;
    margin: 0 15px 30px;
}

.footer-logo {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #ffffff;
}

.footer-section ul {
    list-style-type: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #ECF0F1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #3498DB;
}

.social-links {
    display: flex;
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #34495E;
    border-radius: 50%;
    margin-right: 10px;
    transition: background-color 0.3s ease;
    text-decoration: none;
    color: #ECF0F1;
    font-size: 1rem;
}

.social-links a:hover {
    background-color: #3498DB;
}

address a {
    color: #ffffff;
    text-decoration: underline;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #2d5484;
    font-size: 0.9rem;
}

/* Responsivité */

@media (max-width: 1200px) {
    .hero h1 {
        font-size: 2.2rem;
        width: 95%;
    }

    .mardi-emploi > h2,
    .mercredi-formation > h2,
    .informations-aultech > h2 {
        font-size: 2.2rem;
    }

    .footer-content {
        flex-direction: row;
    }
}

@media (max-width: 992px) {
    .stats ul,
    .statistiques-aultech {
        flex-direction: column;
        align-items: center;
    }

    .stats ul li,
    .statistiques-aultech article,
    .informations-aultech ul li {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 16px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .mardi-emploi > h2,
    .mercredi-formation > h2,
    .informations-aultech > h2,
    .comment-participer h2,
    .contactez-nous h2 {
        font-size: 1.8rem;
    }

    .stats h2,
    .statistiques-aultech > h3 {
        font-size: 1.2rem;
    }

    .stats ul li,
    .statistiques-aultech article,
    .informations-aultech ul li {
        width: 100%;
        max-width: 250px;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .footer-section {
        flex: 1 1 100%;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .mardi-emploi > h2,
    .mercredi-formation > h2,
    .informations-aultech > h2,
    .comment-participer h2,
    .contactez-nous h2 {
        font-size: 1.5rem;
    }

    .btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .footer-logo {
        font-size: 24px;
    }

    .social-links a {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

