
* { /* Ca c'est pour bien tout initialiser */
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    color: black;
    background-color: #F5EFE0;
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-weight: 500;
    line-height: 1.2;
}

h1 { 
    font-size: 2.5rem; 
}
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    background-color: #D3B691;
    box-shadow: 0 2px 10px;
    position: sticky;
    top: 0;
    transition: all 0.3s ease;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo-img {
    height: 60px;
    width: auto;
}

.nav-list {
    display: flex;
    gap: 2rem;
    align-items: center;

}
.nav {
    display: flex;
    text-align: right;
}
.nav-list a {
    color: black;
    font-size: 1rem;
    padding: 0.5rem 0;
}

.nav-list a:hover,
.nav-list a.active {
    color: black;
    text-decoration: underline;
}

.cart-count {
    background-color: #D3B691;
    color: white;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 0.75rem;
    margin-left: 5px;
}

.zone-menu{
    width: 85%;
    display: flex;
    justify-content: flex-end;
}

.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    
}

.burger span {
    width: 25px;
    height: 3px;
    background-color: black;
    margin: 4px 0;
    border-radius: 2px;
    transition: all 0.3s;
}

.toggle-menu {
    display: none;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #D3B691;
    color: rgb(0, 0, 0);
    border: 2px 4px #d3b691c8;
    border-style: solid;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s;
    text-align: center;
    box-shadow: 0 1px 3px;
}

.btn:hover {
    color: black;
    transform: translateY(-5px);
    box-shadow: 0 4px 12px;
}

.hero {
    background-image: url("background_bois.jpg");
    background-size: cover;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 20px;
}

.hero-content {
    max-width: 700px;
}

.hero h1 {
    color: black;
    margin-bottom: 1rem;
    font-size: 3rem;
}

.hero p {
    font-size: 1.25rem;
    color: black;
    margin-bottom: 2rem;
}

.page-header {
    padding: 4rem 0 2rem;
    text-align: center;
}

.page-header h1 {
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.1rem;
}

section {
    padding: 4rem 0;
}

section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

#titre_qui_suis_je{
    text-align: left;
}

.content-grid,
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 2rem;
}

.grille-produits-phares {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

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

.product-card {
    background-color: #FFE7C2;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px ;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.title-produit{
    height: 80px;
}

.desc-produit{
    height: 60px;
}

.product-card:hover {
    box-shadow: 0 8px 20px;
}

.product-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.product-card h3 {
    padding: 1rem 1.5rem 0.5rem;
    color: black;
}

.product-description {
    padding: 0 1.5rem;
    font-size: 0.9rem;
}

.product-card .btn {
    margin: 1rem 1.5rem 1.5rem;
}

.filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
   
}

.filter-btn {
    padding: 10px 20px;
    background-color: #D3B691;
    border: 3px solid hsl(35, 37%, 32%);
    border-style: double;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.filter-btn:hover {
    color: hsl(35, 37%, 32%);
    border-color: hsl(35, 37%, 32%);
}
.filter-btn.active{
    font-weight: bold;
}

.value-card {
    padding: 2rem;
    background-color: #D3B691;
    border-radius: 8px;
    text-align: center;
}

.value-card h3 {
    margin-bottom: 1rem;
}

.process-steps {
    display: flex;
    justify-content: space-around;
    gap: 2rem;
    flex-wrap: wrap;
}

.step {
    text-align: center;
    max-width: 200px;
}

.step-number {
    width: 60px;
    height: 60px;
    color: #D3B691;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}


.cart-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.cart-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    align-items: center;
}

.cart-item-image {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
}

.info-item {
    margin-bottom: 2rem;
}

.info-item h3 {
    color: black;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.contact-form {
    padding: 2rem;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid black;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-group input {
    width: auto;
}

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

.faq-item {
    padding: 1.5rem;
    border-radius: 8px;
}

.faq-item h3 {
    color: black;
    margin-bottom: 1rem;
}

.cta-section {
    text-align: center;
    padding: 4rem 0;
}

.cta-section h2 {
    margin-bottom: 1rem;
}

.cta-section p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.footer {
    background-color: #D3B691;
    color: black;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-weight: bold;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a:hover {
    font-weight: bold;
}

.zone-titre{
    display:flex;
    justify-content: center;
    margin-top: 50px;
    margin-bottom: 70px;
    text-shadow:0px 2px 2px black;
    color: rgb(93, 39, 0);
}

.info-produit{
    display: flex;
    justify-content: space-around;
    margin-bottom: 5%;
}
.zone-img{
    width: 40%;
    box-shadow: 0px 10px 10px rgba(0,0,0,0.7);
}
.zone-desc{
    display: flex;
    width: 50%;
    font-family: Apple Chancery, cursive;
    align-items: center;
}
.zone-desc p{
    font-size: 22px;
}

@media (max-width: 968px) {
    .content-grid,
    .about-grid,
    .contact-grid,
    .cart-content {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        flex-direction: column;
        align-items: center;
    }
    .info-item{
        display: flex;
        align-items: center;
        flex-direction: column;
    }
    .footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(5%, 1fr));
    gap: 1rem;
    margin-bottom: 0.5rem;
}
}

@media (max-width: 768px) {
    .zone-img
     {
        display: flex;
        justify-content: center;
        width: 100%;
        box-shadow: 0px 0px 0px rgb(0, 0, 0); 
    }
    .zone-img img
     {
        width: 250px;
    }
    .zone-desc {
        display: flex;
        justify-content: center;
        width: 100%;
        font-family: Apple Chancery, cursive;
        align-items: center;
        margin-top:2%;
        margin-bottom: 2%;
        padding-left: 2%;
        padding-right: 2%;
    }
    .info-produit
     {
       flex-direction: column;
    }
    .burger {
        display: flex;
    }
     .nav {
        position: absolute;
        top: 80px;
        right: 0;
        background-color: #D3B691;
        width: 100%;
        text-align: center;
        display: none;
        flex-direction: column;
    }

    .toggle-menu:checked ~ .nav {
        display: flex;
    }

    .toggle-menu:checked + .burger span:nth-child(2){
        opacity: 0;
    }
    
    .nav-list {
        flex-direction: column;
        padding: 0rem;
        gap: 0;
    }
    
    .nav-list li {
        margin: 1px 0;
    }
    
    .nav-list a {
        display: block;
        padding: 1rem 0;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .products-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
        gap: 2rem;
    }

    .grille-produits-phares {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(225px, 1fr));
        gap: 2rem;
}
    
    .cart-summary {
        position: static;
    }
}

@media (max-width: 515px) {
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 2rem 0;
    }
    
    .hero {
        min-height: 400px;
    }
    .products-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(142px, 1fr));
        gap: 2rem;
    }
    .grille-produits-phares {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(142px, 1fr));
        gap: 2rem;
    }
    h1 {
        font-size: 1.5rem;
    }
    h2 {
        font-size: 1rem;
    }
    h3 {
        font-size: 1rem;
    }
    .product-description {
        font-size: 0.75rem;
    }
    .product-card .btn {
    margin: 1rem .5rem 1.5rem;
    }
    .product-image {
    height: 180px;
}
}

@media (max-width: 350px) {
    .products-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }
    .grille-produits-phares {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
        gap: 2rem;
    }
    .product-card .btn {
    margin: 1rem .5rem 1.5rem;
}
}