
/* =========================
   RESET GLOBAL (IMPORTANT)
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
     
}

html, body {
    width: 100%;
    overflow-x: hidden;
   
}

/* =========================
   BODY
========================= */
body {
    font-family: 'Poppins', sans-serif;
}

/* ❌ IMPORTANT : supprimé main {display:flex} global */

/* =========================
   HERO
========================= */
.main01 {
    display: flex;
    justify-content: start;
    align-items: center;

    height: 100vh;

     background: linear-gradient(rgba(31, 30, 74, 0.716), rgba(34, 40, 78, 0.738)),
                url("./sandbox-at-récup/atrécup.jpg"); 
               
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    color: white;
}

.main01 section {
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-left: 2em;

}

.main01 h1 {
     font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 7em;
    color: #cae8d8;
}

.main01 p {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 1.2rem;
    line-height: 1.5;
    padding: 0.5em;
    font-weight: 700;
}

.main01 a {
    display: flex;
    flex-direction: row;
    padding: 0em 0.5em 0em 0em;
    background: white;
    color: #1a203d;
    text-decoration: none;
    font-size: 1.5em;
    width: 40%;
    text-align: start;
}

.main01 a:hover {  background-color: #2e396b; color: #fff;}


.main01 a i { padding: 0.5em; }
.main01 a:hover i{   color: #cae8d8;}



.brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    width: 100px;
    height: auto;
}

.brand h1 {
    font-size: 3rem;
    color: #cae8d8;
}

/* =========================
   MAIN 02 - DESIGN PRO
========================= */

.main02 {
    display: flex;
    flex-direction: column;
}

/* Cible uniquement les enfants directs */
.main02 > .bloc {
    display: flex;
    align-items: center;
    min-height: 500px;
}

/* Image */
.main02 > .bloc img {
    width: 50%;
    height: 500px;
    object-fit: cover;
}

/* Texte */
.main02 > .bloc .content {
    width: 50%;
    height:500px;
    padding: 10em 2em;
    background: #1a203d;
    color: white;
}

/* Titre */
.main02 > .bloc h2 {
    font-size: 2.5rem;
    color: #cae8d8;
    margin-bottom: 20px;
}

/* Paragraphes */
.main02 > .bloc p {
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Highlight (ton badge) */
.main02 > .bloc .highlight {
    margin-top: 20px;
    padding: 10px 15px;

    background: rgba(202, 232, 216, 0.1);
    border-left: 4px solid #cae8d8;

    color: #cae8d8;
    font-weight: 600;
    font-size: 0.95rem;

    display: inline-block;
}

/* Bloc inversé */
.main02 > .bloc.reverse {
    flex-direction: row-reverse;
}


/* =========================
   MAIN 03
========================= */
.main03 {
    display: flex;
    justify-content: center;
    padding: 50px 20px;
    background: #1a203d;
    
}

.main03 > article {
    display: flex;
    align-items: center;
    gap: 50px;
    background: linear-gradient(rgba(30, 30, 78, 0.6), rgba(31, 26, 67, 0.6));background: linear-gradient(rgba(30, 30, 78, 0.6), rgba(31, 26, 67, 0.6));
    max-width: 1000px;
    background: #2e396b;
    padding: 20px;
    
}

.main03 h1 {
    color: #fff;
    font-size: 3em;
    padding: 0em 0.5em;
}

.main03 .desc {
    padding: 1em;
    color: #fff;
    line-height: 1.6;
}

.main03 img {
    width: 100%;
    max-width: 450px;
    height: 500px;
    object-fit: cover;
  
}
.main03 video {
    width: 600px;
    max-width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 10px;
}

/* =========================
   MAIN 04
========================= */
.main04 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    color: #fff;
    padding: 70px 20px;
    background: #2e396b;
}

.main04 .desc {
    padding: 1em;
    color: #fff;
    line-height: 1.6;
}


.main04 img {
    width: 600px;
    height: 600px;
    max-width: 100%;
    object-fit: cover;
}
.main04 video {
    width: 600px;
    max-width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 10px;
}

.main04 h1 {
    padding: 1em;
    color: #cae8d8;
    font-size: 3em;
}

/* =========================
   MAIN 05
========================= */
.main05 {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 80px;
    color: #fff;
    padding: 40px 20px;
    background: #1a203d;
}

.main05 img {
    width: 600px;
    height: 600px;
    max-width: 100%;
    object-fit: cover;
}
.main05 video {
    width: 600px;
    max-width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 10px;
}

.main05 h1 {
    padding: 1em;
    color: #cae8d8;
    font-size: 3em;
    font-weight: 700;
}


.main05 .desc {
    padding: 1em;
    color: #fff;
    line-height: 1.6;
}


/* =========================
   MAIN 06
========================= */
.main06 {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #1a203d;
    color: white;
    text-align: start;
}

.main06 h1 {
    color: #cae8d8;
    font-size: 2.2rem;
    margin-bottom: 40px;
}

/* bloc contact */
.main06 .contact {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
    width: 100%;
    background-color: #2e396b;
    padding: 4em;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* infos */
.main06 .info {
    flex: 1;
    min-width: 250px;
}

.main06 .info h2 {
    margin-bottom: 15px;
    color: #fff;
}

.main06 .info h3 {margin: 15px 0px;}

.main06 .info p {
    margin: 10px 0;
    color: #ddd;
    line-height: 1.5;
}

/* boutons */
.main06 .actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-width: 200px;
}

.main06 .btn {
    padding: 12px 20px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 6px;
    transition: 0.3s;
    text-align: center;
}

/* bouton appel */
.main06 .call {
    background: #cae8d8;
    color: #1a203d;
}

/* bouton avis */
.main06 .review {
    background: transparent;
    border: 2px solid #cae8d8;
    color: #cae8d8;
}

/* hover */
.main06 .btn:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

/* MAP */
.main06 .map {
    max-width: 1500px;
    min-width: 70%;
    margin: 20px auto 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.main06 .map iframe {
    width: 100%;
    height: 300px;
    border: 0;
}


/* =========================
   RESPONSIVE TABLET
========================= */
@media (max-width: 1024px) {

    .main01 h1 {
        font-size: 3.5rem;
    }

    .main03 > article,
    .main04,
    .main05 {
        flex-direction: column;
        text-align: center;
    }

    .main04 img,
    .main05 img {
        width: 100%;
    }
}


.footer {
    background: #1a203d;
    color: #fff;
    text-align: center;
    padding: 30px 20px;
    border-top: 2px solid #2e396b;
}

.footer p {
    margin-bottom: 10px;
    font-weight: 600;
    color: #cae8d8;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    padding: 5px 10px;
    transition: 0.3s;
    border-radius: 6px;
}

.footer-links a:hover {
    background: #2e396b;
    color: #cae8d8;
}

.footer span {
    color: #cae8d8;
}






.legal {
    max-width: 900px;
    margin: 60px auto;
    padding: 40px;
    background: #1a203d;
    color: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Titre principal */
.legal h1 {
    text-align: center;
    font-size: 2.5rem;
    color: #cae8d8;
    margin-bottom: 40px;
}

/* Titres sections */
.legal h2 {
    margin-top: 30px;
    margin-bottom: 10px;
    color: #3B82F6;
    font-size: 1.4rem;
    border-left: 4px solid #cae8d8;
    padding-left: 10px;
}

/* Textes */
.legal p {
    line-height: 1.7;
    color: #d1d5db;
    margin-bottom: 10px;
}

/* Liens */
.legal a {
    color: #3B82F6;
    text-decoration: none;
    font-weight: 600;
}

.legal a:hover {
    color: #cae8d8;
    text-decoration: underline;
}

/* Responsive mobile */
@media (max-width: 768px) {
    .legal {
        margin: 20px;
        padding: 20px;
    }

    .legal h1 {
        font-size: 1.8rem;
    }
}
/* =========================
   RESPONSIVE MOBILE
========================= */
@media (max-width: 768px) {

    .main01 {
        justify-content: center;
        text-align: center;
    }

    .main01 section {
        padding-left: 0;
        align-items: center;
    }

    .main01 h1 {
        font-size: 2.5rem;
    }




    .main02 > .bloc {
        flex-direction: column;
        text-align: center;
    }

    .main02 > .bloc.reverse {
        flex-direction: column;
    }

    .main02 > .bloc img,
    .main02 > .bloc .content {
        width: 100%;
    }

    .main02 > .bloc img {
        height: 300px;
    }

    .main03 h1,
    .main04 h1,
    .main05 h1 {
        font-size: 2rem;
    }

      .main06 .contact {
        flex-direction: column;
        padding: 2em;
        gap: 30px;
    }

    .main06 .actions {
        width: 100%;
    }

    .main06 .btn {
        width: 100%;
    }

    .main06 .map iframe {
        height: 250px;
    }

    video {
        width: 100%;
        height: auto;
    }
}


