/* Impots */
@import url("https://use.typekit.net/xfs7akf.css");

/* Bases */
body {
    color: #000;
    font-family: 'Poppins', sans-serif;
    font-style: normal;
}
body.menu-open {
  overflow: hidden;
  height: 100vh;
}
ul, li {
    list-style: none;
    margin: 0;
    padding: 0;
}
.cta {
    background: #000;
    border-radius: 5px;
    color: #fff;
    display: inline-block;
    font-weight: 500;
    padding: 15px 25px;
    text-align: center;
    text-decoration: none;
    transition: transform 0.2s ease; 
}
.cta:hover,
.cta:focus {
    transform: scale(1.05);
}
.container {
    padding: 0 30px;
}

/* Titre de rubrique */
.rub-title {
    background: url(../img/icons/slash-red.svg) left center / 20px no-repeat;
    font-family: 'new-science', sans-serif;
    font-weight: 600;
    padding-left: 30px;
    text-transform: uppercase;
}

/* En-tête */
header {
    background: url(../img/bgs/home-bg.jpg) center / cover no-repeat;
    color: #fff;
    padding: 60px 0;
    text-align: center;
}
header .hero {
    padding: 60px 0;
}
header .hero > span {
    background: url(../img/icons/down-arrow-red.svg) center /cover no-repeat;
    display: inline-block;
    height: 12px;
    margin-bottom: 60px;
    width: 24px;
}
header .hero h1 {
    font-family: 'new-science', sans-serif;
    font-size: 3em;
    font-style: normal;
    font-weight: 600;
    line-height: .9em;
    text-transform: uppercase;
}
header .hero h1 > mark {
    background: none;
    color: #fff;
    display: block;
}
header .hero ul {
    margin: 40px 0;
}
header .hero ul li {
    display: inline-block;
    font-family: 'new-science', sans-serif;
    font-size: .85em;
    font-style: normal;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
}
header .hero ul li:nth-child(1),
header .hero ul li:nth-child(2){
    border-right: solid .5px rgba(255,255,255,.7);
    margin-right: 15px;
    padding-right: 15px;
}
header .hero p > span {
    font-weight: 100;
    margin: 0 7px;
}
header .navbar {
    justify-content: center;
    position: relative;
}
header .navbar img {
    height: 65px;
    z-index: 2;
    position: sticky;
}
header .navbar button {
    background: none;
    border: 0;
    height: 50px;
    inset: auto auto auto 0;
    padding: 0 15px;
    position: absolute;
    width: 50px;
    z-index: 2;
}
header .navbar button span {
    background: #fff;
    display: block;
    height: 1.5px;
    margin-bottom: 5px;
    transition: .25s;
    width: 20px;
}
header .navbar.active button span:nth-child(1) {
    transform: rotate(45deg);
}
header .navbar.active button span:nth-child(2) {
    opacity: 0;
}
header .navbar.active button span:nth-child(3) {
    margin-top: -12px;
    transform: rotate(-45deg);
}
@media (max-width:575px){
    header .navbar img {
        height: 50px;
    }
    header .navbar button {
        padding: 0;
    }
    header .hero h1 {
        font-size: 2em;
    }
}
@media (max-width:991px){
    header .hero ul li {
        display: block;
    }
    header .hero ul li {
        border: none;
        border-right: none !important;
        border-top: solid .5px rgba(255,255,255,.4);
        margin: 10px 0 !important;
        padding: 10px 0 !important;
    }
    
}

/* Menu */
#main-menu {
    background: #000;
    display: none;
    height: 100vh;
    inset: 0;
    opacity: 0;
    padding: 200px 0 0 15px;
    position: fixed;
    z-index: 1;
}
#main-menu a {
    color: #fff;
    display: block;
    font-size: 1.2em;
    text-decoration: none;
}
#main-menu li {
    border-top: solid 1px rgba(255,255,255,.1);
    display: block;
    padding: 20px 0;
}
@media (max-width:991px){
    #main-menu {
        text-align: center;
    }
}

/* Services */
#services {
    background: rgba(0,0,0,.05);
    padding: 100px 0;
}
#services p {
    margin: 30px 0;
}
#services ul {
    gap: 30px 0;
}
#services .card {
    background: none;
    border: 0;
}
#services .card-body {
    align-content: center;
    background: #fff;
    border-radius: 10px;
    color: #000;
    padding: 40px 30px;
}
#services .card-content {
    align-items: center;
    display: flex;
    gap: 20px;
}
#services .card-icon {
    align-items: center;
    aspect-ratio: 1 / 1;
    background: #e30613;
    border-radius: 50%;
    display: flex;
    height: 50px;
    justify-content: center;
    width: 50px;
}
#services .card-icon img {
    height: 24px;
    width: 24px;
}
#services .card-title {
    font-size: 1em;
    font-style: normal;
    font-weight: 600;
    margin: 0;
}
#services .card-content p {
    font-size: .85em;
    margin: 0;
}
@media (max-width: 575px) {
    #services .card-content {
        display: block;
        text-align: center;
    }

    #services .card-icon {
        margin: 0 auto 20px;
    }
}

/* Vidéos */
#videos {
    padding: 100px 0;
}
#videos p {
    margin: 30px 0;
}
#videos ul {
    margin-top: 40px;
}
#videos li {
    margin-bottom: 30px;
}
#videos article {
    aspect-ratio: 16/9;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease; 
}
#videos article:hover,
#videos article:focus {
    transform: scale(1.02);
}
#videos article a {
    color: #fff;
}
#videos article img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}
#videos article .info {
    align-items: flex-end;
    justify-content: space-between;
    background: linear-gradient(0deg, rgba(0, 0, 0, .7) 0%, rgba(0, 0, 0, 0) 50%);
    display: flex;
    gap: 20px;
    inset: 0;
    padding: 15px;
    position: absolute;
}
#videos article .info h3 {
    font-size: .85em;
    font-weight: 600;
    margin: 0;
}
#videos article .info > span {
    background: url(../img/icons/videos-play.svg) top center / cover no-repeat;
    display: block;
    height: 30px;
    width: 30px;
}
#videos .placeholder {
    width: 100%;
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
}
#videos .placeholder::before {
    content: '';
    display: block;
    padding-top: 56.25%; /* 16/9 */
    background-color: #ccc;
    border-radius: 5px;
    animation: blink 1s infinite;
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Bénéfices */
#benefits {
    background: url(../img/bgs/benefits-bg.jpg) center / cover no-repeat;
    color: #fff;
    padding: 100px 0;
}
#benefits h2 {
    font-family: 'new-science', sans-serif;
    font-size: 3em;
    font-weight: 600;
    margin-bottom: 30px;
    text-transform: uppercase;
}
#benefits p {
    margin-bottom: 30px;
}
#benefits h4 {
    font-family: 'new-science', sans-serif;
    font-size: 2em;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
}
#benefits h4 > span {
    color: #e30613;
}
#benefits li {
    background: url(../img/icons/benefits-check.svg) left 5px / 17px no-repeat;
    margin-bottom: 5px;
    padding-left: 25px;
}
#benefits a {
    background: #e30613;
    color: #fff;
    margin-top: 30px;
}
@media (max-width:991px){
    #benefits h2 {
        font-size: 2em;
    }
    #benefits h4 {
        font-size: 1.6em;
        margin-top: 30px;
    }
    #benefits h4 > span {
        display: block;
        line-height: 1.4em;
    }
}

/* Chiffres-clés */
#keyfigures {
    background: linear-gradient(90deg, #e30613 0%, #9c0f06 50%);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}
#keyfigures h3 {
    font-size: 3em;
    font-weight: 900;
    margin: 0;
}
#keyfigures p {
    margin-bottom: 0;
}
#keyfigures p > span {
    display: block;
}
@media (max-width: 991px) {
    #keyfigures li {
        border-bottom: solid 1px rgba(255,255,255,.2);
        margin-bottom: 30px;
        padding-bottom: 30px;
    }
    #keyfigures li:last-child {
        border: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }
}

/* Contact */
#contact {
    padding: 100px 0;
}
#contact h2 + p {
    border-bottom: 1px solid rgba(0,0,0,.1);
    margin: 0 0 30px 0;
    padding: 0 0 30px 0;
}
#contact h2 + p > span {
    color: #e30613;
    font-weight: 600;
}
#contact a {
    color: #e30613;
}
#contact form .form-control {
    background-color: rgba(0,0,0,0.05);
    border: none;
    border-radius: 4px;
    font-size: 0.95rem;
    min-height: 50px;
    padding: 12px 15px;
    transition: background 0.3s, box-shadow 0.3s;
    width: 100%;
}
#contact form .form-group {
    margin-bottom: 30px;
}
#contact form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 5px;
}
#contact form label > sup {
    color: #e30613;
    font-size: 1em;
    position: relative;
    inset: -0.3em auto auto 0.3em;
}
#contact form .invalid-feedback {
    font-weight: 400;
    font-size: .8em;
    width: auto;
}
#contact form button[type="submit"] {
    background-color: #e30613;
    border: none;
    border-radius: 60px;
    color: #fff;
    height: 50px;
    margin: 0 0 20px 0;
    width: 100%;
}
#contact .rules {
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 5px;
    margin-top: 30px;
}
#contact .legal {
    color: #666;
    font-size: 0.7rem;
}
#contact .legal a {
    color: #666;
    text-decoration: underline;
}

/* Clients */   
#clients {
    background: #000;
    color: #fff;
    padding: 100px 0;
    text-align: center;

}
#clients h2 {
    display: inline-block;
    margin-bottom: 80px;
}
#clients ul {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-gap: 30px;
}
@media (max-width:767px){
    #clients ul {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width:768px) and (max-width:991px){
    #clients ul {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (min-width:992px) and (max-width:1199px){
    #clients ul {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Pied de page */
footer {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding: 60px 0;
    color: rgba(0, 0, 0, 0.6);
    font-size: 0.85em;
    font-weight: 400;
}
footer .branding img {
    height: 45px;#e
}
footer .footer-title {
    align-content: center;
    color: #000;
    font-weight: 600;
    margin-bottom: 15px;
    height: 30px;
}
footer .legal li {
    margin-bottom: 5px;
}
footer p,
footer a {
    margin: 0;
    color: inherit;
}
footer .social li {
    margin-bottom: 10px;
}
footer .social a {
    text-decoration: none;
}
footer .social img {
    width: 20px;
    margin-right: 5px;
}
@media (max-width: 991px) {
    footer .row > li {
        margin-bottom: 30px;
    }
    footer .footer-title {
        margin-bottom: 10px;
        height: auto;
    }
    footer img.footer-title {
        margin-bottom: 15px;
    }
}

/* Chargement */
#loading {
    align-content: center;
    background-color: rgba(0,0,0,.8);
    color: #000;
    display: none;
    inset: 0;
    position: fixed;
    text-align: center;
    z-index: 1;
}
#loading img {
    height: 50px; 
     animation: spin 1s linear infinite;
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Page globales */
#page {
    padding-bottom: 60px;
}
#page .page-title {
    background: rgba(0,0,0,.05);
    padding: 40px 0;
}
#page .page-title h1 {
    font-size: 1.8em;
    font-weight: 600;
    margin: 0;
}
#page a.page-back {
    background: rgba(0,0,0,0.03) url(../img/icons/left-arrow-gray.svg) 17px center / 6px no-repeat;
    border-radius: 5px;
    color: #000;
    display: inline-block;
    font-size: .9em;
    font-weight: 600;
    margin: 40px 0;
    padding: 15px 15px 15px 35px;
    text-decoration: none;
    transition: all 0.2s ease; 
}
#page a.page-back:hover {
    background-color: rgba(0,0,0,0.1)
}
#page .page-content h2 {
    font-size: 1.4em;
}
#page .page-content  p {
    font-size: .9em;
    margin-bottom: 40px;
}
#page .page-content  a {
    color: #e30613;
}

/* Page - Message */
#page .message {
    text-align: center;
}
#page .message img {
    margin-bottom: 30px;
    width: 80px;
}
#page .message h1 {
    font-weight: 600;
}

/* Bouton pour remonter */
#scrollToTop {
    background: #fff url(../img/icons/up-arrow-gray.svg) center center / 14px no-repeat;
    border: 1px solid #EDEDED;
    border-radius: 50%;
    cursor: pointer;
    height: 50px;
    inset: auto 30px -80px auto;
    opacity: 0;
    position: fixed;
    transition: bottom 0.3s ease, opacity 0.3s ease;
    width: 50px;
    z-index: 2;
}
#scrollToTop.active {
    bottom: 30px;
    opacity: 1;
}