/* Impots */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100..900&display=swap');
@import url("https://use.typekit.net/zmh5wkl.css");

/* Bases */
body {
    color: #000;
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    margin-top: 110px;
}
ul, li {
    list-style: none;
    margin: 0;
    padding: 0;
}
.cta {
    background: #000;
    border-radius: 60px;
    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;
}
h2 {
    font-weight: 600;
}

/* Flèche */
.fleche-charte {
    background: #f21400 url(../img/icons/right-arrow-white.svg) center center / 11px no-repeat;
    display: block;
    height: 35px;
    margin-bottom: 30px;
    width: 35px;
}

/* Cartes pour "Bénéfices" et "Formation" */
.card-deck {
    gap: 30px 0;
}
.card-deck .card {
    background: none;
    border: none;
    color: #000;
}
.card-deck .card-body {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 2px rgba(0,0,0,.1);
    padding: 60px 20px;
}
.card-deck .card-content h3 {
    font-size: 1.25em;
    font-weight: 600;
    margin-bottom: 10px;
    padding: 0;
}
.card-deck .card-content p {
    margin: 0;
    padding: 0;
}
.card-deck .card-header {
    align-content: center;
    background: none;
    border: none;
    margin-bottom: 30px;
    padding: 0;
}
.card-deck .card-header > span {
    align-content: center;
    background: rgba(242, 20, 0, 0.1);
    border-radius: 50%;
    color: #f21400;
    display: inline-block;
    font-size: 1.6rem;
    font-weight: 700;
    height: 60px;
    text-align: center;
    width: 60px;
    
    
    
}
@media (max-width:991px){
        .card-deck-bf .card-body {
            text-align: left;
        }
}
@media (min-width:575px) and (max-width:991px){
    .card-deck .card-body {
        display: flex;
        gap: 30px;
        padding: 60px 30px;
    }
    .card-deck .card-header {
        height: 100%;
        margin-bottom: 30px;
    }
    .card-deck .card-content {
        align-content: center;
    }
    .card-deck .card-header > span {
        align-content: center;
        background: rgba(242, 20, 0, 0.1);
        border-radius: 50%;
        display: inline-block;
        height: 60px;
        text-align: center;
        width: 60px;
    }
}

/* Navbar */
.navbar {
    backdrop-filter: blur(40px);
    background: rgba(255,255,255,.8);
    font-size: .8em;
    font-weight: 500;
    inset: 0 0 auto 0;
    padding: 30px 0;
    position: absolute;
}
.navbar .container {
    position: relative;
}
.navbar img {
    height: 30px;
}
.navbar nav a {
    color: #000;
    text-decoration: none;
}
.navbar .cta {
    background: #f21400;
}
.navbar button {
    background: none;
    border: 0;
    display: none;
    height: 50px;
    inset: -10px 0 auto auto;
    padding: 0 15px;
    position: absolute;
    width: 50px;
}
.navbar button span {
    background: #000;
    display: block;
    height: 1.5px;
    margin-bottom: 5px;
    transition: .25s;
    width: 20px;
}
.navbar.active button span:nth-child(1) {
    transform: rotate(45deg);
}
.navbar.active button span:nth-child(2) {
    opacity: 0;
}
.navbar.active button span:nth-child(3) {
    margin-top: -12px;
    transform: rotate(-45deg);
}
@media (min-width: 992px) {
    .navbar nav {
        display: block !important;
    }
    .navbar nav ul {
        align-items: center;
        display: flex;
        gap: 40px;
    }
}
@media (max-width: 991px) {
    .navbar nav a {
        font-weight: 600;
    }
    .navbar button {
        display: block;
    }
    .navbar nav,
    .navbar .cta {
        display: none;
        font-size: 1.1em;
    }
    .navbar.active .cta {
        display: block;
        width: 100%;
    }
    .navbar nav {
        width: 100%;
    }
    .navbar nav ul {
        display: block;
        padding-top: 30px;
    }
    .navbar nav li {
        border-top: 1px solid rgba(0,0,0,.05);
        padding: 20px 0;
    }
    .navbar nav li:last-child a {
        width: 100%;
    }
}

/* Hero */
#hero {
    text-align: center;
}
#hero h1 {
    font-family: 'Noka';
    font-size: 4.8em;
    font-weight: 900;
    line-height: .85em;
    text-transform: uppercase;
}
#hero h1 span {
    display: block;
}
#hero h1 span:last-child {
    color: #f21400;
    font-family: 'permanent-marker';
}
#hero .illustration-charte {
    background: url(../img/illustrations/hero-md.svg) top center / cover no-repeat;
    margin-top: 40px;
    height: 380px;
    width: 100%;
}
#hero .hero-content {
    background: #f21400;
    color: #fff;
    padding-top: 60px;
}
#hero .hero-content h2 {
    font-family: 'Noka';
    font-size: 2.85em;
    margin-bottom: 20px;
    text-transform: uppercase;
}
#hero .hero-content p {
    margin-bottom: 30px;
}
#hero .hero-content ul {
    display: flex;
    justify-content: center;
    gap: 15px;
}
#hero .hero-content a {
    width: 100%;
}
#hero .hero-content li:nth-child(1) a {
    background: #fff;
    color: #000;
}
#hero .hero-content li:nth-child(2) a {
    background: none;
    border: solid 2px #fff;
    color: #fff;
}
@media (max-width: 767px) {
    #hero h1 {
        font-size: 3em;
    }
    #hero .illustration-charte {
        background-image: url(../img//illustrations/hero-sm.svg);
        height: 240px;
    }
    #hero .hero-content {
        padding-top: 30px;
        text-align: left;
    }
    #hero .hero-content h2 {
        font-size: 2em;
    }
    #hero .hero-content ul {
        flex-direction: column;
    }
}
@media (min-width: 768px) {
    #hero h1 {
        padding: 40px 0;
    }
}

/* Services */
#services {
    background: #f21400;
    padding: 100px 0;
}
#services a {
    text-decoration: none;
}
#services ul {
    gap: 30px 0;
}
#services .card {
    background: none;
    border: 0;
    transition: transform 0.4s ease; 
}
#services .card-body {
    background: #fff;
    padding: 0;
    text-align: center;
}
#services .card-content {
    background: #000;
    color: #fff;
    border: 10px solid #fff;
    border-bottom: none;
    padding: 60px 0;
}
#services .card-icon img {
    height: 60px;
    margin-bottom: 40px;
}
#services .card-title {
    font-family: 'Noka';
    font-size: 2em;
    font-weight: 900;
    line-height: 1em;
    text-transform: uppercase;
}
#services .card-title > span {
    display: block;
}
#services .card-cta {
    padding: 20px 0;
}
#services .card-cta > span {
    color: #000;
    background: url(../img/icons/right-arrow-red.svg) right no-repeat;
    background-size: 7px;
    display: inline-block;
    font-weight: 600;
    padding-right: 15px;
}
#services .card:nth-child(2) .card-content,
#services .card:nth-child(4) .card-content {
    background-color: #fff;
    color: #000;
}
#services .card:nth-child(3) .card-content {
    background-color: #f21400;
}
@media (min-width:992px){
    #services .card:hover,
    #services .card:focus {
        transform: translateY(-15px);
    }
}

/* Bénéfices */
#benefits {
    background: rgba(0,0,0,0.05);
    color: #000;
    padding: 100px 0;
    text-align: center;
}
#benefits img[alt="Illustration de guillemets"] {
    margin-bottom: 30px;
}
#benefits ul {
    margin-top: 80px;
}
@media (max-width:991px){
    #benefits {
        text-align: left;
    }
}

/* Blocs de service */
.service {
    padding-top: 100px;
    padding-bottom: 100px;
}
.service .cta {
    margin: 30px 0 60px 0;
}
.service h2 {
    font-weight: 700;
    margin-bottom: 20px;;
}
.service ul.keys {
    margin-top: 30px;
}
.service ul.keys li {
    background: url(../img/icons/check.svg) left center / 17px no-repeat;
    font-weight: 600;
    margin-bottom: 5px;
    padding-left: 25px;
}

/* Feed créatif */
.feed {
    gap: 30px 0;
}
.feed article {
    aspect-ratio: 2.6/3.6;
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease; 
}
.feed article:hover,
.feed article:focus {
    transform: translateY(-15px);
}
.feed article img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}
.feed article .info {
    background: linear-gradient(0deg, rgba(0, 0, 0, .7) 0%, rgba(0, 0, 0, 0) 100%);
    inset: auto 0 0 0;
    padding: 20px;
    padding-top: 100px;
    position: absolute;
}
.feed article h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}
.feed article .type {
    font-size: .8rem;
    margin: 0;
}

/* Identité visuelle */
#identite-visuelle {
    background: #000;
    color: #fff;
}
#identite-visuelle .cta {
    background: rgba(255,255,255,.1);
    color: #fff;
}

/* Contenu digital */
#contenu-digital {
    background: rgba(0,0,0,.05);
}

/* Formation */
#formation-graphique {
    background: #000;
    color: #fff;
}
#formation-graphique .cta {
    background: #fff;
    color: #000;
}
#formation-graphique .card-body {
    background: rgba(255,255,255,.1);
    color: #fff;
}

/* Portfolio viewer */
.sr-only {
    border: 0 !important;
    clip: rect(0, 0, 0, 0) !important;
    height: 1px !important;
    margin: -1px !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: absolute !important;
    white-space: nowrap !important;
    width: 1px !important;
}
#pfl-viewer {
    display: none;
}
.viewer-overlay {
    inset: 0;
    position: fixed;
    z-index: 1000;
}
.pfl-viewer {
    align-items: center;
    backdrop-filter: blur(2px);
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    inset: 0;
    justify-content: center;
    overflow: auto;
    padding: 20px;
    position: fixed;
    transition: opacity 0.3s ease;
}
.pfl-viewer .container {
    align-items: center;
    display: flex;
    flex-direction: column;
    max-width: 1300px;
    padding: 15px;
    width: 100%;
}
.pfl-viewer .controls {
    align-items: center;
    background: #000;
    border-radius: 100px;
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 15px auto 0 auto;
    padding: 15px;
}
.pfl-viewer .controls button {
    align-items: center;
    background-color: rgba(255, 255, 255, 0.1);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 20px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    height: 50px;
    justify-content: center;
    transition: background-color 0.2s ease, transform 0.2s ease;
    width: 50px;
}
.pfl-viewer .controls button > span {
    display: none;
}
.pfl-viewer .controls button.close {
    background-image: url(../img/icons/nav-close.svg);
}
.pfl-viewer .controls button.next {
    background-image: url(../img/icons/nav-next.svg);
}
.pfl-viewer .controls button.prev {
    background-image: url(../img/icons/nav-prev.svg);
}
.pfl-viewer .controls button span {
    color: white;
    font-size: 1.2rem;
}
.pfl-viewer .controls button:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}
.pfl-viewer .controls button:hover {
    background-color: rgba(255, 255, 255, 0.25);
    transform: scale(1.2);
}
.pfl-viewer .image {
    align-items: center;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    overflow: hidden;
    position: relative;
    width: 100%;
}
.pfl-viewer .image > img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    width: 100%;
}
.pfl-viewer .image p {
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.75) 100%);
    color: #fff;
    font-size: 0.9rem;
    inset: auto auto 0 0;
    line-height: 1.35;
    margin: 0;
    padding: 120px 30px 30px 30px;
    position: absolute;
    right: 0;
}
.pfl-viewer .image p .client {
    font-weight: 600;
}
.pfl-viewer .image p .collaboration a {
    color: #fff;
}
@media (max-width: 575px) {
    .pfl-viewer .image p .collaboration  {
        display: none;
    }
}
@media (max-width: 991px) {
    .pfl-viewer .controls {
        flex-wrap: wrap;
        gap: 10px;
    }
    .pfl-viewer .image {
        aspect-ratio: 16/12;
    }
    .pfl-viewer .image p {
        font-size: 0.8rem;
        padding: 80px 20px 20px 20px;
    }
}


/* Crédits */   
#credits {
    background: #f21400;
    padding: 60px 0;
}
#credits ul {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
}
#credits li {
    align-content: center;
    height: 50px;
    text-align: center;
}
#credits img {
    height: 45px;
}
@media (min-width: 992px) {
    #credits ul {
        flex-wrap: nowrap;
        justify-content: space-between;
    }
}

/* Chiffres-clés */
#keyfigures {
    background: #000;
    color: #fff;
    padding: 100px 0;
}
#keyfigures ul {
    border-top: solid 1px rgba(255,255,255,.2);
    padding-top: 30px;
    margin-top: 30px;
}
#keyfigures h3 {
    font-size: 2em;
    font-weight: 900;
    margin: 0;
}
#keyfigures li {
    margin-bottom: 30px;
    padding-bottom: 30px;
}
#keyfigures li:last-child {
    border: none;
    margin-bottom: 0;
    padding-bottom: 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 {
    background: url(../img/backgrounds/contact.jpg) top center / cover no-repeat;
    padding: 100px 0;
}
#contact #contact-form-title {
    margin-bottom: 20px;
}
#contact .form {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 2px rgba(0,0,0,0.1);
    padding: 40px;
}
.form a {
    color: #f21400;
}
.form-check {
    margin: 15px auto 15px 15px;
}
#contact form input[type="email"].form-control,
#contact form input[type="tel"].form-control,
#contact form input[type="text"].form-control,
#contact form textarea.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 .invalid-feedback {
    font-weight: 400;
    font-size: .8em;
    width: auto;
}
#contact form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 5px;
}
#contact form label > sup {
    color: #f21400;
    font-size: 1em;
    inset: -0.3em auto auto 0.3em;
    position: relative;
}
#contact form button[type="submit"] {
    background-color: #f21400;
    border: none;
    color: #fff;
    margin: 0 0 20px 0;
    width: 100%;
}
#contact .form .rules {
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: 30px;
}
#contact .form .legal {
    color: #666;
    font-size: 0.7rem;
}
#contact .form .legal a {
    color: #666;
    text-decoration: underline;
}
#contact .informations {
    margin-top: 100px;
    text-align: center;
}
#contact .informations h2 > span {
    color: #f21400;
}
#contact .informations p {
    font-weight: 500;
}
@media (max-width:991px){
    #contact .informations {
        text-align: left;
    }
    #contact .informations h2 > span {
        display: block;
    }
}

/* 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 .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 {
    height: 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: #f21400;
}

/* Page - Message */
#page .message {
    text-align: center;
}
#page .message img {
    margin-bottom: 30px;
    width: 200px;
}
#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;
}