* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Textes en Poppins */
body {
    font-family: 'Poppins', sans-serif;
    color: #5a3a31;
    line-height: 1.6;
}

/* Titres en Quicksand Bold */
h1, h2, h3 {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
}

/* Navigation */
nav {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 50px;
    background: #f8f2ef;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    gap: 60px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-gauche, .nav-droit {
    display: flex;
    gap: 30px;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
}

nav a {
    text-decoration: none;
    color: #5a3a31;
    font-size: 18px;
    transition: color 0.3s;
}

nav a:hover {
    color: #c47233;
}

/* Burger Menu Bouton */
.burger-menu {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.burger-menu span {
    width: 30px;
    height: 3px;
    background: #c47233;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    background: #c47233;
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
    background: #c47233;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #f8f2ef;
    z-index: 999;
    transform: translateY(-100%);
    transition: transform 0.4s ease;
    overflow-y: auto;
}

.mobile-menu-overlay.active {
    transform: translateY(0);
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 120px 40px 60px;
}

.mobile-menu-link {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    color: #5a3a31;
    text-decoration: none;
    transition: color 0.3s;
    text-align: left;
}

.mobile-menu-link:hover {
    color: #c47233;
}

/* Hero Section */
.hero {
    background-image: url('../img/peluche-therapeutique-anti-stress.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    padding: 120px 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
}

.hero-contenu {
    max-width: 700px;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    color: #5a3a31;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero p {
    font-size: 18px;
    margin-bottom: 35px;
    color: #5a3a31;
}

.bouton-principal {
    font-family: 'Poppins', sans-serif;
    background: #c47233;
    color: #f8f2ef;
    padding: 15px 35px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s;
}

.bouton-principal:hover {
    background: #a85e28;
}

/* produits Section */
.produits {
    padding: 80px 50px;
    background: #f8f2ef;
    text-align: center;
}

.produits h2 {
    font-size: 36px;
    color: #5a3a31;
    margin-bottom: 15px;
}

.produits-intro {
    max-width: 600px;
    margin: 0 auto 50px;
    color: #5a3a31;
}

.produits-grille {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.carte-produit {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.carte-produit:hover {
    transform: translateY(-5px);
}

.image-produit {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #e0d0c0;
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-produit img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.carte-produit h3 {
    font-size: 22px;
    color: #5a3a31;
    margin-bottom: 10px;
}

.carte-produit p {
    font-size: 14px;
    color: #5a3a31;
}

/* Avis Section */
.avis {
    padding: 80px 50px;
    background-image: url('../img/peluche-reconfort-calin-rassurant.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    position: relative;
}

.avis-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #5a3a31;
    opacity: 0.4;
    z-index: 1;
}

.avis-contenu {
    position: relative;
    z-index: 2;
    text-align: center;
}

.avis h2 {
    font-size: 36px;
    color: #f8f2ef;
    margin-bottom: 60px;
}

.avis-grille {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 50px;
}

.carte-avis {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    padding: 30px 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.etoiles {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
    font-size: 18px;
}

.carte-avis p {
    font-size: 14px;
    line-height: 1.6;
    color: #5a3a31;
    margin-bottom: 20px;
    text-align: left;
}

.nom-client {
    font-weight: 600;
    font-size: 16px !important;
    margin-bottom: 0 !important;
}

.bouton-avis {
    background: #f8f2ef;
    color: #5a3a31;
}

.bouton-avis:hover {
    background: #e8e2df;
}

/* Slider Promo Section */
.slider-promo {
    padding: 80px 50px;
    background: #f8f2ef;
    text-align: center;
}

.slider-promo h2 {
    font-size: 36px;
    color: #5a3a31;
    margin-bottom: 50px;
}

.slider-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.slider-wrapper input[type="radio"] {
    display: none;
}

.slider-images {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.slides {
    display: flex;
    width: 300%;
    transition: transform 0.5s ease-in-out;
}

.slide-item {
    width: 33.333%;
    flex-shrink: 0;
}

.slide-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* Navigation flèches */
.slide-prev,
.slide-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(248, 242, 239, 0.8);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: rgba(90, 58, 49, 0.4);
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
    user-select: none;
}

.slide-prev:hover,
.slide-next:hover {
    background: rgba(248, 242, 239, 1);
    color: rgba(90, 58, 49, 0.7);
}

.slide-prev {
    left: 20px;
}

.slide-next {
    right: 20px;
}

/* Navigation dots */
.slider-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.slider-nav label {
    width: 12px;
    height: 12px;
    background: rgba(90, 58, 49, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.slider-nav label:hover {
    background: rgba(90, 58, 49, 0.6);
    transform: scale(1.2);
}

/* Logique du slider */
#slide1:checked ~ .slider-images .slides {
    transform: translateX(0%);
}

#slide2:checked ~ .slider-images .slides {
    transform: translateX(-33.333%);
}

#slide3:checked ~ .slider-images .slides {
    transform: translateX(-66.666%);
}

/* Dots actifs */
#slide1:checked ~ .slider-nav label:nth-child(1),
#slide2:checked ~ .slider-nav label:nth-child(2),
#slide3:checked ~ .slider-nav label:nth-child(3) {
    background: rgba(90, 58, 49, 0.8);
    transform: scale(1.3);
}

/* Affichage des flèches selon la slide active */
#slide1:checked ~ .slider-images .arrow-slide1 {
    display: flex;
}

#slide2:checked ~ .slider-images .arrow-slide2 {
    display: flex;
}

#slide3:checked ~ .slider-images .arrow-slide3 {
    display: flex;
}

/* a-propos Section */
.a-propos {
    padding: 80px 50px;
    background: #f8f2ef;
}

.a-propos-contenu {
    display: flex;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.a-propos-text {
    flex: 1;
}

.a-propos-text h2 {
    font-size: 32px;
    color: #5a3a31;
    margin-bottom: 20px;
}

.a-propos-text p {
    margin-bottom: 15px;
    color: #5a3a31;
}

.a-propos-image {
    flex: 1;
    aspect-ratio: 4 / 3;
    background: #e0d0c0;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.a-propos-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Anti-stress Section */
.anti-stress {
    padding: 80px 50px;
    background: #f8f2ef;
}

.anti-stress-contenu {
    display: flex;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    flex-direction: row-reverse;
}

.anti-stress-text {
    flex: 1;
}

.anti-stress-text h2 {
    font-size: 32px;
    color: #5a3a31;
    margin-bottom: 20px;
}

.anti-stress-text p {
    margin-bottom: 15px;
    color: #5a3a31;
}

.anti-stress-image {
    flex: 1;
    aspect-ratio: 4 / 3;
    background: #e0d0c0;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.anti-stress-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Newsletter Section */
.newsletter {
    padding: 60px 50px;
    background: #5a3a31;
    color: #f8f2ef;
}

.newsletter-container {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
}

.newsletter-text {
    flex: 1;
    text-align: left;
}

.newsletter-text h2 {
    font-size: 32px;
    margin-bottom: 20px;
    line-height: 1.3;
}

.newsletter-text p {
    font-size: 16px;
    opacity: 0.9;
    line-height: 1.6;
}

.newsletter-formulaire {
    display: flex;
    flex-direction: row;
    gap: 15px;
    margin-bottom: 15px;
}

.newsletter-formulaire input {
    font-family: 'Poppins', sans-serif;
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 30px;
    font-size: 14px;
}

.newsletter-formulaire button {
    font-family: 'Poppins', sans-serif;
    background: #c47233;
    color: white;
    padding: 15px 35px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
    white-space: nowrap;
}

.newsletter-formulaire button:hover {
    background: #a85e28;
}

.newsletter-notice {
    font-size: 12px;
    opacity: 0.8;
    text-align: left;
    line-height: 1.5;
}

.newsletter-notice .underline {
    text-decoration: underline;
}

.newsletter-notice a {
    color: #f8f2ef;
    transition: opacity 0.3s;
}

.newsletter-notice a:hover {
    opacity: 1;
}

/* Footer */
footer {
    background: #5a3a31;
    color: #f8f2ef;
    padding: 60px 50px 0;
}

.footer-contenu {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto 40px;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #f8f2ef;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #f8f2ef;
    text-decoration: none;
    font-size: 14px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-section a:hover {
    opacity: 1;
}

.footer-marque {
    max-width: 300px;
}

.conteneur-sections-footer {
    display: contents;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 60px;
    width: auto;
}

.reseaux-sociaux {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.reseaux-sociaux a {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
}

.reseaux-sociaux a img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.reseaux-sociaux a:hover {
    opacity: 0.7;
}

.footer-bas {
    background: #deb291;
    margin: 0 -50px;
    padding: 30px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #5a3a31;
}

.footer-bas p {
    margin: 0;
}

.footer-bas-liens {
    display: flex;
    gap: 20px;
    align-items: center;
}

.footer-bas-liens a {
    color: #5a3a31;
    text-decoration: none;
    opacity: 0.8;
}

.footer-bas-liens a:hover {
    opacity: 1;
}


/* ---responsive--- */
@media (max-width: 768px) {
    nav {
        padding: 15px 20px;
        flex-direction: row;
        justify-content: space-between;
        gap: 15px;
    }

    .nav-gauche, .nav-droit {
        display: none;
    }

    .burger-menu {
        display: flex;
    }

    /* Hero Mobile */
    .hero {
        background-image: url('../img/peluche-therapeutique-anxiete.png');
        background-attachment: scroll;
        flex-direction: column;
        padding: 50px 20px 80px;
        text-align: center;
        min-height: 60vh;
        justify-content: flex-start;
        padding-top: 40px;
    }

    .hero h1 {
        font-size: 30px;
        margin-top: 20px;
    }

    .hero p {
        font-size: 14px;
        margin-bottom: 25px;
    }

    .hero .bouton-principal {
        font-size: 14px;
        padding: 12px 28px;
    }

    /* produits Mobile */
    .produits {
        padding: 50px 20px;
    }

    .produits h2 {
        font-size: 26px;
    }

    .produits-grille {
        grid-template-columns: 1fr;
    }

    /* Avis Mobile */
    .avis {
        padding: 50px 20px;
        background-attachment: scroll;
    }

    .avis h2 {
        font-size: 26px;
        margin-bottom: 40px;
    }

    .avis-grille {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .carte-avis {
        padding: 25px 20px;
    }

    .etoiles {
        font-size: 16px;
    }

    .carte-avis p {
        font-size: 13px;
    }

    .nom-client {
        font-size: 14px !important;
    }

    /* Slider Promo Mobile */
    .slider-promo {
        padding: 50px 20px;
    }

    .slider-promo h2 {
        font-size: 26px;
        margin-bottom: 30px;
    }

    .slide-prev,
    .slide-next {
        width: 45px;
        height: 45px;
        font-size: 40px;
    }

    .slide-prev {
        left: 10px;
    }

    .slide-next {
        right: 10px;
    }

    .slider-nav {
        margin-top: 30px;
        gap: 10px;
    }

    .slider-nav label {
        width: 10px;
        height: 10px;
    }

    /* a-propos & Anti-stress Mobile */
    .a-propos, .anti-stress {
        padding: 50px 20px;
    }

    .a-propos h2, .anti-stress h2 {
        font-size: 26px;
    }

    .a-propos-contenu, .anti-stress-contenu {
        flex-direction: column;
    }

    /* Newsletter Mobile */
    .newsletter {
        padding: 50px 20px;
        background: #f8f2ef;
    }

    .newsletter-container {
        background: #deb291;
        border-radius: 20px;
        padding: 40px 30px;
        flex-direction: column;
        gap: 20px;
        align-items: stretch;
    }

    .newsletter-text {
        text-align: center;
    }

    .newsletter-text h2 {
        font-size: 22px;
        color: #5a3a31;
        margin-bottom: 15px;
    }

    .newsletter-text p {
        font-size: 13px;
        color: #5a3a31;
        opacity: 1;
    }

    .newsletter-formulaire {
        flex-direction: row;
        gap: 10px;
    }

    .newsletter-formulaire input {
        flex: 1;
        min-width: 0;
        padding: 12px 15px;
        font-size: 13px;
        color: #5a3a31;
    }

    .newsletter-formulaire button {
        width: auto;
        padding: 12px 20px;
        font-size: 13px;
        white-space: nowrap;
    }

    .newsletter-notice {
        text-align: center;
        font-size: 11px;
        color: #5a3a31;
    }

    .newsletter-notice a {
        color: #5a3a31;
        text-decoration: underline;
    }

    /* Footer Mobile */
    footer {
        padding: 40px 20px 0;
    }

    .footer-contenu {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }

    .footer-marque {
        max-width: 100%;
        order: 1;
    }

    .footer-logo {
        display: flex;
        justify-content: center;
        margin-bottom: 15px;
    }

    .footer-marque p {
        margin-bottom: 20px;
        font-size: 13px;
    }

    .reseaux-sociaux {
        justify-content: center;
        margin-top: 0;
    }

    .reseaux-sociaux a {
        width: 25px;
        height: 25px;
    }

    /* Sections Footer colonnes */
    .conteneur-sections-footer {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        width: 100%;
        order: 2;
        text-align: left;
    }

    .footer-section:not(.footer-marque) {
        margin: 0;
    }

    .footer-section h3 {
        font-size: 14px;
        margin-bottom: 15px;
    }

    .footer-section ul li {
        margin-bottom: 8px;
    }

    .footer-section a {
        font-size: 11px;
    }

    .footer-bas {
        margin: 0 -20px;
        padding: 30px 20px;
        flex-direction: column-reverse;
        gap: 15px;
        text-align: center;
    }

    .footer-bas p {
        margin-top: 10px;
    }

    .footer-bas-liens {
        flex-wrap: wrap;
        justify-content: center;
    }

    .reseaux-sociaux a {
        width: 25px;
        height: 25px;
    }
}

/* ---Tablette/iPad - Responsive--- */
@media (min-width: 769px) and (max-width: 1024px) {
    nav {
        padding: 20px 40px;
        gap: 40px;
    }

    .logo img {
        height: 55px;
    }

    nav a {
        font-size: 16px;
    }

    .hero {
        background-image: url('../img/peluche-therapeutique-anxiete.png');
        background-attachment: scroll;
        padding: 50px 40px 100px;
        min-height: 70vh;
        align-items: flex-start;
        padding-top: 150px;
    }

    .hero-contenu {
        margin-top: 40px;
    }

    .hero h1 {
        font-size: 58px;
    }

    .hero p {
        font-size: 18px;
    }

    .produits, .a-propos, .anti-stress {
        padding: 60px 40px;
    }

    .produits h2, .a-propos h2, .anti-stress h2 {
        font-size: 40px;
    }

    .produits-grille {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    /* Avis Tablette */
    .avis {
        padding: 60px 40px;
        background-attachment: scroll;
    }

    .avis h2 {
        font-size: 32px;
        margin-bottom: 50px;
    }

    .avis-grille {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .carte-avis {
        max-width: 600px;
        margin: 0 auto;
    }

    /* Slider Promo Tablette */
    .slider-promo {
        padding: 60px 40px;
    }

    .slider-promo h2 {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .slide-prev,
    .slide-next {
        width: 55px;
        height: 55px;
        font-size: 50px;
    }

    .slide-prev {
        left: 15px;
    }

    .slide-next {
        right: 15px;
    }

    /* Newsletter Tablette */
    .newsletter {
        padding: 60px 40px;
    }

    .newsletter-container {
        gap: 40px;
    }

    .newsletter-text h2 {
        font-size: 28px;
    }

    .newsletter-text p {
        font-size: 15px;
    }

    footer {
        padding: 50px 40px 0;
    }

    .footer-contenu {
        gap: 30px;
    }

    .footer-bas {
        margin: 0 -40px;
        padding: 30px 40px;
    }
}