@import url('https://fonts.googleapis.com/css2?family=Righteous&display=swap');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    background: #F8F7F5;
    color: #2B2B2B;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}


/* HEADER */

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 8%;
}


.logo {
    font-family: 'Righteous', cursive;
    font-size: 42px;
    color: #365F91;
    letter-spacing: 1px;
}


nav a {
    text-decoration: none;
    color: #444;
    margin-left: 30px;
    font-size: 15px;
}


nav a:hover {
    color: #7D60A0;
}



/* HERO */

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 70px 8%;
    gap: 50px;
}


.hero-text {
    width: 50%;
}


.hero-text h1 {
    font-size: 38px;
    color: #7D60A0;
    margin-bottom: 15px;
}


.hero-text h2 {
    font-size: 24px;
    font-weight: 400;
    color: #333;
    margin-bottom: 20px;
}


.hero-text p {
    font-size: 17px;
    color: #555;
    margin-bottom: 35px;
}



.hero-image {
    width: 45%;
    display: flex;
    justify-content: center;
    align-items: center;
}


.hero-image img {
    width: 100%;
    max-width: 420px;
    height: auto;
    display: block;

    /* Ombre suivant la forme du produit */
    filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.14));

    /* Aucune bordure ni ombre rectangulaire */
    border: none;
    border-radius: 0;
    box-shadow: none;
}


/* BUTTON */

.button {

    display: inline-block;

    padding: 15px 34px;

    border-radius: 40px;

    text-decoration: none;

    font-weight: 600;

    color: white;

    background: linear-gradient(135deg,#365F91,#4D78B4);

    transition: all .25s ease;

    box-shadow: 0 8px 20px rgba(54,95,145,.18);

}


.button:hover{

    transform:translateY(-3px);

    box-shadow:0 14px 30px rgba(54,95,145,.28);

    background:linear-gradient(135deg,#4D78B4,#7D60A0);

}


/* FEATURES */

.features {
    padding: 70px 8%;
    text-align: center;
}


.features h2 {
    color: #365F91;
    font-size: 30px;
    margin-bottom: 45px;
}



.cards {
    display: flex;
    justify-content: center;
    gap: 35px;
}



.cards div {

    background: white;
    width: 30%;
    padding: 35px;
    border-radius: 18px;

    box-shadow:
    0 10px 30px rgba(0,0,0,0.05);

    border-top: 3px solid #7D60A0;
}



.cards h3 {
    color: #365F91;
    margin-bottom: 15px;
}



/* FOOTER */

footer {
    text-align: center;
    padding: 35px;
    color: #777;
}



/* MOBILE */

@media(max-width:800px){

header {
    flex-direction: column;
}


nav {
    margin-top:20px;
}


.hero {
    flex-direction: column;
}


.hero-text,
.hero-image {
    width:100%;
}


.cards {
    flex-direction:column;
}


.cards div {
    width:100%;
}

}

.product-info {
    margin-top: 35px;
    padding: 20px 0;
}


.product-info h3 {
    font-size: 22px;
    color: #7D60A0;
    margin-bottom: 15px;
}


.product-info ul {
    list-style: none;
    padding: 0;
}


.product-info li {
    margin-bottom: 10px;
    color: #555;
    font-size: 16px;
}
