:root {
    --primary-color: #000000;
    --secondary-color: #3e72de;
    --background-color: #FFFFFF;
    --background: #edf0ef;
}

.article-hero {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 39vh;
    background-image: url('<?php echo get_the_post_thumbnail_url(); ?>');
    background-size: cover;
    background-repeat: no-repeat;
    /*background-position: center center;*/
    margin-top: 0;
}

/* Overlay gris semi-opaque sur le HERO */
.article-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 39%;
    background: rgba(0, 0, 0, 0.45); /* 0.45 = foncé moyen, ajuste si tu veux */
    z-index: 1;
}


.hero-content h1{
    font-size: 2.5rem;
}

.hero-content {
    z-index: 3;
}

.hero-content h1 {
    margin-bottom: 3.75rem;
    color: var(--background-color);
    text-align: center;
    font-size: 2.5rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-shadow: 0px 4px 9px rgba(0, 0, 0, 0.64);
}

.typographie {
    width: 100%;
    display: flex;
    justify-content: center;
}

.typographie h2 {
    color: var(--background-color);
    font-size: 2.1875rem;
}

.paragraph-1,
.paragraph-2 {
    color: var(--background-color);
    max-width: 31.25rem;
}

.paragraph-2 {
    font-weight: 700;
}


.widget-1 ul {
    padding-left: 1.5625rem;
}

.widget-1 ul li {
    color: var(--background-color);
}

.widget-2  {
    max-width: 34.375rem;
    text-align: center;
}


.widget-2 div {
    width: 100%;
    display: grid;
    justify-content: center;
}

.widget-2 div input {
    width: 15.625rem;
    height: 3.125rem;
    border-radius: 0.3125rem;
    border: 2px solid var(--secondary-color);
    text-align: center;
    font-size: 1rem;
    font-weight:bolder;
}

.widget-2 div button {
    width: 15.625rem;
    height: 3.125rem;
    margin-top: 0.625rem;
    border-radius: 0.3125rem;
    background-color: var(--secondary-color);
    color: var(--background-color);
    border: none;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    cursor: pointer;
}

.widget-1 {
    margin-right: 5rem;
}

.widget-2 {
    margin-left: 5.625rem;
}

.articles {
    width: 100%;
    display: flex;
    justify-content: center;
}

.article {
    width: 59.375rem;
    margin-top: 1.875rem;
    margin-bottom: 3.125rem;
    margin-left: auto;
    margin-right: auto;
    padding: 0.625rem ;
}

div.breadcrumbs{
    margin-bottom: 2.1875rem;
}

#links {
    position: relative;
    display: flex;
    bottom: 3.125rem;
    right: 5.625rem;
}

.link {
    margin-right: 0.3125rem;
}

.link a {
    text-decoration: none;
    color: var(--primary-color);
}

 .prix {
    font-weight: 700;
    font-size: 1.5625rem;
    color: #fff;
    padding: 2.1875rem 0 1.5625rem;
    text-shadow: 0px 4px 9px rgba(0, 0, 0, 0.64);
}

.article p {
    color: #000;
    line-height: 1.5625rem;
    margin-bottom: 1.5625rem;
}

.tables {
    width: 100%;
    display: flex;
    justify-content: center;
}

.table-layout {
    width: 100%;
    display: grid;
    margin: 1.875rem 0;
}

.table,
.table1,
.table2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 3.125rem;
    border-top: 1px solid #ddd;
    padding: 1rem;
}

.table1 {
    /* border-top: 4px solid var(--primary-color);
    border-bottom: 2px solid var(--primary-color); */
    color: #222;
    background: #f5f5f5;
    border-bottom: 0;
    text-align: left;
    padding: 1rem;
    height: 4.0625rem;
}


.table1 h3,
.table1 h4,
.table h3,
.table2 h3 {
    font-weight: 500;
    color: var(--primary-color);
}

.table1 h4 {
    margin-right: 4.375rem;
}

.paragraph-4 {
    margin-right: 2.5rem;
}





.article p {
    color: #000;
    line-height: 1.5625rem;
    margin-bottom: 1.5625rem;
}

.list {
    width: 100%;
    display: grid;
    padding: 1.25rem;
}

.list ul li {
    color: var(--primary-color);
    line-height: 1.875rem;
}

.article h4,
.article {
    color: #3e72de;
}

.steptodown {
    width: 100%;
    height: 30rem;
    margin: 0.9375rem 0 0.9375rem;
}

.code-form {
    width: 100%;
    margin-top: 1.25rem;
    align-items: center;
    display: flex;
    justify-content: center;
    border-radius: 0.3125rem;
}

.element-form {
    width: 100%;
    height: 6.875rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #edf0ef;
    border-radius: 0.3125rem;
    position: fixed;
    bottom: 0;
    z-index: 10;
}

.element-form div {
    width: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.element-form div h2 {
    position: relative;
    width: 31.25rem;
    font-size: 1.3125rem;
    color: #00bfa5;
    margin: 0;
}
.element-form div p {
    position: relative;
    width: 31.25rem;
    font-size: 1.3125rem;
    color: #00bfa5;
    margin: 0;
    font-weight: 700;
}
.element-middle p{
    position: relative;
    font-size: 1.4375rem;
    color: #00bfa5;
    margin: 0;
    font-weight: 700;
    padding: 0.9375rem;

}

.form {
    width: 100%;
    display: flex;
    justify-content: center;
}

.form input {
    width: 15.625rem;
    height: 3.125rem;
    border: 2px solid #3e72de;
    border-radius: 0.3125rem;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9375rem;
    text-align: center;
}

.form button {
    width: 15.625rem;
    height: 3.125rem;
    margin-left: 0.625rem;
    border: none;
    background: #3e72de;
    border-radius: 0.3125rem;
    cursor: pointer;
    color: var(--background-color);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
}
h2{
    margin: 1.375rem 0 1.375rem;
}

#faq {
    margin-bottom: 1.25rem;
    margin-top: 1.25rem;
}

.faq-item {
    margin-bottom: 1.25rem;
    border: 1px solid #3e72de;
    padding: 0.625rem 0.25rem;
    cursor: pointer;
    text-align: center;
    width: 100%;
    margin: auto auto 1.25rem;
}

.question {
    font-weight: bold;
    color: #3e72de;
}

.answer {
    display: none;
}

.faq-item:hover .question,
.faq-item:hover .answer {
    display: block;
}

#references {
    width: 100%;
}

.reference {
    margin-top: 0.625rem;
    margin-bottom: 1.25rem;
    width: 100%;
    padding: 1.25rem;
}

.reference li {
    color: var(--primary-color);
}

.reference p {
    color: #77B8E9;
    margin-bottom: 1.5625rem;
}

.file-article {
    margin-top: 1.5625rem;
}

.file div {
    width: 100%;
    display: flex;
    padding: 1.25rem;
}
.box-articles{
    display: flex;
    width: 100%;
}
.table-content{
    width: 20%;
    background-color: #000000;
    padding: 1.5625rem;
    
}
.list-content li{
    padding: 0.9375rem 0.3125rem;
    margin-bottom: 1.875rem;
    color: #FFF;
    list-style: none;
}
.list-content li a{
    text-decoration: none;
    color: #FFF;
}
.box-content span{
    text-decoration: none;
}
.box-content span.post.post-page.current-item{
    color: #686464;
}
.box-content a{
    text-decoration: none; 
    color: #00bfa5;
}

.toc_list{
    display: flex;
    flex-direction: column;
    gap: 0.9375rem;
    list-style: none;
}
ul.toc_list > li > ul {
    list-style: none;
}
ul.toc_list > li > ul > li > ul {
    list-style: none;
}

.toc_list li a{
    color: #00bfa5;
    text-decoration: none;
}

ul.toc_list li ul li {
    padding-left: calc(1.875rem + 0.625rem); 
}

ul.toc_list li ul li ul li {
    padding-left: calc(1.875rem + 1.25rem);
}
div.file ul li{
    margin-bottom: 0.625rem;
}

div.file ul li ul li{
    list-style: none;
    padding-left: 1.5625rem;

} 

div.file ul li ul li::before {
    content: "\2023";
    display: inline-block;
    width: 2.5rem;
    text-align: right;
    margin-left: -2.5rem; 
    margin-right: 0.5rem;
    font-size: large;
    font-weight: 900;
}


div.file ul li ul li ul li{
    list-style: none;
    padding-left: 1.875rem; 

} 
div.file ul li ul li ul li::before {
    content: "\2023";
    display: inline-block;
    width: 2.5rem;
    text-align: right;
    margin-left: -2.5rem; 
    margin-right: 0.5rem;
    font-size: large;
    font-weight: 900;
}

div.file ul li ul li ul li ul li{
    list-style: none;
    padding-left: 2.1875rem; 

} 

div.file ul li ul li ul li ul li::before {
    content: "\2023";
    display: inline-block;
    width: 2.5rem;
    text-align: right;
    margin-left: -2.5rem; 
    margin-right: 0.5rem;
    font-size: large;
    font-weight: 900;
}
div.table p{
    line-height: normal;
    margin-top: 0 !important;
}
div.table2 p{
    line-height: normal;
    margin-top: 0 !important;
}
.table-title2{
    margin-right: 2.5rem;
}
.page-list a{
    text-decoration: none;
    color: #00bfa5;
}
.article a{
    text-decoration: none;
    color: #00bfa5;
}
.page-list li {
  list-style:circle;
}
.article li{
    list-style: circle;
}
h2{
    color: #3e72de;
}
h3{
    color: #3e72de;
}
h4{
    color: #3e72de;
}
.toc_list li{
    list-style: none;
   line-height: 1.875rem;
}
.articles h4{
    color: #3e72de;
    font-size: 1.5rem;
}
.box-content ul{
    padding: 0.3125rem 1.5625rem;
}
.box-content ol{
    padding: 0.3125rem 1.5625rem;
}
div.bread span{
    font-size: 0.9375rem;
}
div.bread a{
    font-size: 0.9375rem;
}
.close-all-btn{
    line-height: 0.875rem;
    position: relative;
    top: 1.4375rem;
    left: 10.625rem;
    color: #00bfa5;
    cursor: pointer;
}

.bread{
    margin-bottom: 1.875rem;
}




/*------------------!- responsive -!------------------ */
@media only screen and (max-width: 1270px) {
    .widget-1 {
        padding-left: 2.5rem;
    }
}
@media only screen and (max-width: 992px) {

    .typographie,
    .widget-1,
    .widget-2 {
        display: grid;
        width: 100%;
        justify-content: center;
    }
    .widget-1 {
        padding-left: 1.25rem;
    }

    .widget-1,
    .widget-2 {
        margin-right: 0;
        margin-left: 0;
    }



    .tables {
        width: auto;
    }

    .table,
    .table1,
    .table2 {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: auto;
        height: 5.625rem;
    }


     
    .prix
     {
        text-align: center;
        max-width: 100%;
    }

    .hero-content {
        width: 90%;
        z-index: 3;
    }

    .article {
        width: 90%;
    }

    .form {
        display: grid;
        width: auto;
        justify-content: center;
    }

    .form button {
        margin-left: 0;
        margin-top: 0.625rem;
    }

    .element-form div {
        width: auto;
        display: flex;
        flex-direction: column;
        gap: 0.3125rem;
    }

    .element-form {
        width: auto;
        height: 15.625rem;
    }

    .element-form div h2 {
        position: relative;
        width: 100%;
        font-size: 1.0625rem;
        padding: 0.3125rem;
        text-align: center;
    }
    .element-form div p {
        position: relative;
        width: 100%;
        font-size: 1.0625rem;
        padding: 0.3125rem;
        text-align: center;
    }
    .element-middle p{
        position: relative;
        width: 100%;
        font-size: 1.0625rem;
        padding: 0.3125rem;
        text-align: center;
        font-weight: 700;

    }

    #links {
        justify-content: center;
        left: 0.4375rem;
    }

    .element-form {
        height: 11.875rem;
        width: 100%;
    }
    .article-hero{
        height: 100%;
    }
    .prix {
        font-size: 1.25rem;
    }
    .article{
        margin-top: 1.875rem;
    }
    .box-articles{
        display: flex;
        flex-direction: column;
    }
    .table-content{
        width: 100%;
      
        
    }
    .widget-2 div {
        margin-bottom: 1.5625rem;
    }

    .hero-content h1{
        font-size: 1.875rem;
        margin-bottom: 3.75rem;
        margin-top: 10rem;
    }
    .article-hero {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 39vh;
        background-image: url('<?php echo get_the_post_thumbnail_url(); ?>');
        background-size: cover;
        background-repeat: no-repeat;
        /*background-position: center center;*/
        margin-top: 0;
    }
    .prix{
        padding: 0;
        margin-bottom: 1.25rem;
    }

    .form input{
        height: 2.5rem;
    }
    .form button{
        height: 2.5rem;
        font-size: 1rem;
    }
    .steptodown {
        height: auto;
    }

    .faq-item{
        width: auto;
    }
    .paragraph-4{
        color: #222;
    }
    div.table p{
        line-height: normal;
        margin-top: 0 !important;
    }
    div.table2 p{
        line-height: normal;
        margin-top: 0 !important;
    }
    div.table{
        gap: 1.25rem;
    }
    div.table2{
        gap: 1.25rem;
    }
    .typographie{
        margin-bottom: 1.25rem;
    }
    .article-hero {
        align-items: start;
    }
   

  }
