:root{
    --bg-color: #eee;
    --header-color: #C59547;
    --item-color: #DBCBA9;
    --btn-color: #CC8533;
    --footer-color: #C59547;
}
header{
    background-color: var(--header-color);
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 5px;
    max-width: 100%;
    #title {
        padding: 10px;
    }
    #title {
        font-size: 36px;
    }
    /*.mailto_button {
        display: inline-block;
        padding: 0.8rem 1.5rem;
        background: var(--btn-color);
        color: white;
        text-decoration: none;
        border-radius: 5px;
        max-width: 10vh;
    }
    .mailto_button:hover{
        padding: 1.2rem 2rem;
    }*/
    nav {
        padding: 10px;
        display: flex;
        gap: 20px;
        a{
            text-decoration: none;
            font-size: 24px;
            color: black;
        }
        a:hover {
            padding: 0 10px;
            font-weight: bolder;
        }
    }
}
body {
    display: flex;
    flex-direction: column;
    height: 100vh;
}
main {
    flex: 1;
    padding-top: 3rem;
}
/* ========== SECTION FEATURES ========== */
.features-section {
    padding: 2rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    background-color: var(--item-color);
    border-radius: 20px;
}
#features-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10rem;
    align-items: center;
    justify-content: space-evenly; /* ← Utilise ça, pas justify-self */
}
.features-section h2 {
    flex: 1 1 100%;
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
    font-weight: bolder;
}

.features-section figure {
    flex: 1;
    margin: 0;
    position: relative;
    text-align: center;
}

.features-section figure img {
    width: 100%;
    max-width: 600px;
    min-width: 200px;
    height: auto;
    border-radius: 15px;
    background: #000;
}

.features-section figcaption {
    margin-top: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: #eee;
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.features-section ul {
    flex: 1;
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: center;
    text-align: center;
}

.features-section li {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    font-weight: bold;
    position: relative;
}

/*.features-section li::before {
    content: "•";
    position: absolute;
    left: 0;
    font-size: 2rem;
    color: #333;
}*/

/* Responsive */
@media (max-width: 768px) {
    .features-section figure,
    .features-section ul {
        flex: 1 1 100%;
    }
}


.tools-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.tools-section p {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    color: #333;
    line-height: 1.6;
}

.tools-section img {
    height: 60px;
    width: auto;
    gap: 5rem;
    object-fit: contain;
    transition: all 0.3s ease;
}

.tools-section ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    list-style: none;
    padding: 1rem;
    margin: 0;
}

.tools-section li {
    display: flex;
    justify-content: center;
    align-items: center;
}

.cta-section{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    p {
        margin-bottom: 10px;
        font-size: 1.5rem;
        text-align: center;
    }
    .btn-chat{
        font-size: 1.2rem;
        margin-top: 15px;
        color: #333;
    }
    .forms-airtable{
        font-size: 1.2rem;
        color: #333;
        margin-top: 15px;
    }
}
.pricing-section{
    margin-top: 30px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: column;
}
.pricing-section ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 0;
    margin: 0 0 2.5rem 0;
    list-style: none;
}

.pricing-section li {
    background: #e0e0e0;
    border-radius: 28px;
    padding: 2.5rem 2.8rem;
    text-align: center;
    min-width: 220px;
    transition: box-shadow 0.2s;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.pricing-section li:hover {
    box-shadow: 0 5px 18px rgba(0,0,0,0.10);
}

.pricing-section h3 {
    margin: 0 0 0.8rem 0;
    font-size: 1.5rem;
}

.pricing-section .prix {
    font-size: 2rem;
    font-weight: bold;
    margin-right: 4px;
    color: #222;
}

.pricing-section .per {
    font-size: 1.1rem;
    color: #555;
}
.pricing-section a{
    max-width: 15vh;
    button{
        color: #333;
        background-color: transparent;
        font-size: 1.2rem;
    }
}

.about-section {
    margin: 100px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-evenly;
    text-align: center;
    gap: 30px;
    img{
        min-width: 100px;
        max-width: 350px;
        border-radius: 50%;
        justify-content: center;
    }
    p {
        font-size: 1.1rem;
    }
}
#container-item{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    max-width: 100%;
}
article{
    background-color: var(--item-color);
    padding: 30px;
    border-radius: 30px;
    margin: 20px;
    width: 70%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    flex-direction: column;
}
.primarydiv{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    gap: 5vh;
    h2 {
        font-size: 1.5rem;
        font-weight: bolder;
    }
    h3 {
        font-size: 1.2rem;
        font-weight: bold;
    }
    h4 {
       font-weight: bold;
    }
    div{
        flex-direction: column ;
        justify-content: center;
    }
    ul {
        min-width: 10vh;
    }
}
article.maindiv:nth-child(even) .primarydiv {
    flex-direction: row-reverse;
}

.secondarydiv{
    margin-top: 20px;
}

#airtable {
    display: flex;
    justify-content: center;
    margin: 30px;
    a {
        font-size: 1.2rem;
    }
}

#faq {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

#faq h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.faq-item {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.faq-item summary {
    padding: 1rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
}

.faq-item summary:hover {
    background: #f5f5f5;
}

.faq-item[open] summary {
    background: var(--footer-color);
    color: white;
}

.faq-content {
    padding: 1rem 1.5rem;
    border-top: 1px solid #ddd;
}

.faq-content p {
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.faq-cta {
    text-align: center;
    margin-top: 2rem;
    padding: 1.5rem;
    border-radius: 8px;
}

.btn-chat {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: var(--footer-color);
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 1rem;
}

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


footer {
    background-color: var(--footer-color);
    text-align: center;
    padding: 1.5rem 0;
    img {
        height: 32px;
        margin: 0 10px;
    }
    p {
        margin-top: 1rem;
    }
}
