/*
Theme Name: Scarle Digital theme
Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Template: hello-elementor
Author: Elementor Team
Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 3.4.9.1785948024
Updated: 2026-08-05 18:40:24

*/

/*============ HOME ============*/
/*bandeau déroulant*/
.scarle-marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 25px 0;
}

.scarle-marquee-track {
  display: flex;
  width: max-content;
  animation: scarle-marquee 35s linear infinite;
}

.scarle-marquee-content {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: clamp(30px, 3vw, 60px);
  padding-right: clamp(30px, 3vw, 60px);
}

.scarle-marquee-content span {
  flex-shrink: 0;
  white-space: nowrap;
  font-size: clamp(65px, 8vw, 150px);
  line-height: 0.9;
  font-weight: 400;
  letter-spacing: -0.055em;
  color: #070707;
}

.scarle-marquee-icon {
  width: clamp(80px, 7vw, 125px);
  height: clamp(80px, 7vw, 125px);
  flex-shrink: 0;
  object-fit: contain;
  animation: scarle-rotate 14s linear infinite;
}

@keyframes scarle-marquee {
  from {transform: translateX(0);}

  to {transform: translateX(-50%);}
}

@keyframes scarle-rotate {
  from {transform: rotate(0deg);}

  to { transform: rotate(360deg);}
}

@media (max-width: 767px) {
  .scarle-marquee {padding: 15px 0;}

  .scarle-marquee-content {
    gap: 24px;
    padding-right: 24px;
  }

  .scarle-marquee-content span {font-size: clamp(42px, 14vw, 70px);  }

  .scarle-marquee-icon {
    width: 62px;
    height: 62px;
  }
}

/*icone*/
.scarle-arrow {
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
    min-height: 52px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    border: 1px solid #ffffff !important;
    border-radius: 50% !important;

    padding: 0 !important;
    background: transparent !important;
    overflow: hidden;

    transition: border-color .3s ease;
}

.scarle-arrow .elementor-widget-container {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: transparent !important;
}

.scarle-arrow svg {
    width: 18px !important;
    height: 12px !important;

    display: block;

    transition:
        transform .3s ease,
        fill .3s ease;
}

.scarle-arrow svg path {
    fill: #ffffff !important;
    transition: fill .3s ease;
}


/* HOVER */

.scarle-arrow:hover {
    border-color: #fd4360 !important;
    background: transparent !important;
}

.scarle-arrow:hover svg {
    transform: rotate(-45deg);
}

.scarle-arrow:hover svg path {
    fill: #fd4360 !important;
}

.scarle-striped-title .elementor-heading-title {
    font-size: clamp(90px, 12vw, 220px);
    line-height: .82;
    font-weight: 500;
    text-transform: uppercase;

    background:
        url("https://scarlette-digital.com/scarle2026/wp-content/uploads/2026/08/decor-lines.webp") center / cover no-repeat,
        linear-gradient(90deg, #383838, #fd4360);

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/*portfolio grille*/
/* ========================================
   PORTFOLIO ACCORDÉON - LOOP GRID
======================================== */

/* Chaque projet */
.scarle-projects-accordion .e-loop-item {
    flex: 1 1 0;
    min-width: 0;

    overflow: hidden;
    border-radius: 25px !important;

    transition: flex .55s cubic-bezier(.2,.8,.2,1);
}

/* Projet survolé */
.scarle-projects-accordion .e-loop-item:hover {
    flex: 3 1 0;
}


/* ========================================
   CONTENEUR DE LA LOOP GRID
======================================== */

.scarle-projects-accordion .elementor-loop-container {
    display: flex !important;
    gap: 10px;
}


/* ========================================
   IMAGE DU PROJET
======================================== */

.scarle-projects-accordion .elementor-widget-image,
.scarle-projects-accordion .elementor-widget-image .elementor-widget-container {
    border-radius: 25px !important;
    overflow: hidden;
}

.scarle-projects-accordion .e-loop-item img {
    width: 100%;
    height: 520px;

    object-fit: cover;

    border-radius: 25px !important;

    transition: transform .6s cubic-bezier(.2,.8,.2,1);
}


/* Léger zoom au hover */
.scarle-projects-accordion .e-loop-item:hover img {
    transform: scale(1.03);

    border-radius: 25px !important;
}


/* ========================================
   CONTENU DU PROJET
======================================== */

.scarle-project-card .scarle-project-content {
    opacity: 0;
    transform: translateY(15px);

    transition:
        opacity .35s ease,
        transform .35s ease;
}

/* Apparition du contenu */
.scarle-project-card:hover .scarle-project-content {
    opacity: 1;
    transform: translateY(0);
}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 767px) {

    .scarle-projects-accordion .elementor-loop-container {
        flex-direction: column;
    }

    .scarle-projects-accordion .e-loop-item,
    .scarle-projects-accordion .e-loop-item:hover {
        flex: none;
        width: 100%;
    }

    .scarle-projects-accordion .e-loop-item img {
        height: 320px;
        border-radius: 25px !important;
    }

    /* Sur mobile on affiche directement le contenu */
    .scarle-project-card .scarle-project-content {
        opacity: 1;
        transform: none;
    }
}
/*bandes défilante cf page accueil*/

/*fil d'ariane*/
#breadcrumbs a {font-size: 12px;}

/*page portfolio*/

.scarle-collaborations {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px;
}

.scarle-collaboration-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.scarle-collaboration-logo img {
    display: block;
    width: auto;
    height: auto;
    max-width: 150px;
    max-height: 65px;
    object-fit: contain;
    transition: opacity .25s ease, transform .25s ease;
}

.scarle-collaboration-logo:hover img {
    opacity: .75;
    transform: translateY(-2px);
}

/* ==========================================================
   TIMELINE PROJET SCARLE
   Shortcode : [scarle_timeline_projet]
   ========================================================== */

.scarle-project-timeline {
    --scarle-pink: #fd4360;
    --scarle-text: #070707;
    --scarle-muted: #666666;

    position: relative;

    width: 100%;
    max-width: 1400px;

    margin: 0 auto;
}


/* ==========================================================
   LIGNE CENTRALE
   ========================================================== */

.scarle-project-timeline::before {
    content: "";

    position: absolute;

    top: 25px;
    bottom: 25px;
    left: 50%;

    width: 2px;

    background: var(--scarle-pink);

    transform: translateX(-50%);

    z-index: 0;
}


/* ==========================================================
   STRUCTURE D'UNE ÉTAPE
   ========================================================== */

.scarle-project-timeline__row {
    position: relative;

    display: grid !important;

    grid-template-columns:
        minmax(0, 1fr)
        90px
        minmax(0, 1fr);

    grid-template-rows: 1fr !important;

    align-items: center;

    min-height: 390px;

    padding: 50px 0;

    z-index: 1;
}


/* ==========================================================
   PLACEMENT BLOC NORMAL
   IMAGE GAUCHE / TEXTE DROITE
   ========================================================== */

.scarle-project-timeline__row:not(.scarle-project-timeline__row--reverse)
.scarle-project-timeline__media {
    grid-area: 1 / 1 / 2 / 2 !important;
}

.scarle-project-timeline__row:not(.scarle-project-timeline__row--reverse)
.scarle-project-timeline__axis {
    grid-area: 1 / 2 / 2 / 3 !important;
}

.scarle-project-timeline__row:not(.scarle-project-timeline__row--reverse)
.scarle-project-timeline__content {
    grid-area: 1 / 3 / 2 / 4 !important;
}


/* ==========================================================
   PLACEMENT BLOC INVERSÉ
   TEXTE GAUCHE / IMAGE DROITE
   ========================================================== */

.scarle-project-timeline__row--reverse
.scarle-project-timeline__content {
    grid-area: 1 / 1 / 2 / 2 !important;

    width: 100%;
    max-width: 520px;

    padding-left: 0;
    padding-right: 45px;

    align-self: center;
}

.scarle-project-timeline__row--reverse
.scarle-project-timeline__axis {
    grid-area: 1 / 2 / 2 / 3 !important;

    align-self: center;
}

.scarle-project-timeline__row--reverse
.scarle-project-timeline__media {
    grid-area: 1 / 3 / 2 / 4 !important;

    align-self: center;

    display: flex;
    justify-content: flex-end;
}


/* ==========================================================
   IMAGE
   ========================================================== */

.scarle-project-timeline__media {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: flex-start;

    border-radius: 25px !important;
    align-self: center;
}

.scarle-project-timeline__image {
    display: block;

    width: 100%;
    max-width: 520px;

    height: auto;

    aspect-ratio: 4 / 3;

    object-fit: cover;

    border-radius: 25px !important;
}


/* ==========================================================
   AXE CENTRAL
   ========================================================== */

.scarle-project-timeline__axis {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    align-self: center;

    z-index: 5;
}


/* ==========================================================
   NUMÉRO
   ========================================================== */

.scarle-project-timeline__number {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    border-radius: 50%;

    background: var(--scarle-pink);
    color: #ffffff;

    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;

    box-shadow: 0 0 0 8px #ffffff;
}


/* ==========================================================
   CONTENU TEXTE
   ========================================================== */

.scarle-project-timeline__content {
    width: 100%;
    max-width: 520px;

    padding-left: 45px;

    align-self: center;
}


/* ==========================================================
   SURTITRE
   ========================================================== */

.scarle-project-timeline__eyebrow {
    margin: 0 0 14px 0;

    color: var(--scarle-pink);

    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;

    letter-spacing: 0.12em;

    text-transform: uppercase;
}


/* ==========================================================
   TITRE
   ========================================================== */

.scarle-project-timeline__title {
    margin: 0 0 18px 0;

    color: var(--scarle-text);

    font-family: "Cayano Pro", sans-serif;
    font-size: clamp(32px, 3vw, 52px);
    font-weight: 400;
    line-height: 0.98;

    text-wrap: balance;
}


/* ==========================================================
   TEXTE
   ========================================================== */

.scarle-project-timeline__text {
    color: var(--scarle-muted);

    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    line-height: 1.7;
}

.scarle-project-timeline__text p {
    margin-top: 0;
    margin-bottom: 14px;
}

.scarle-project-timeline__text p:last-child {
    margin-bottom: 0;
}


/* ==========================================================
   TABLETTE
   ========================================================== */

@media (max-width: 1024px) {

    .scarle-project-timeline__row {
        grid-template-columns:
            minmax(0, 1fr)
            70px
            minmax(0, 1fr);

        min-height: 330px;

        padding: 40px 0;
    }


    /* Contenu normal */

    .scarle-project-timeline__content {
        padding-left: 30px;
    }


    /* Contenu inversé */

    .scarle-project-timeline__row--reverse
    .scarle-project-timeline__content {
        padding-left: 0;
        padding-right: 30px;
    }


    /* Numéros */

    .scarle-project-timeline__number {
        width: 38px;
        height: 38px;

        font-size: 14px;

        box-shadow: 0 0 0 6px #ffffff;
    }


    /* Images */

    .scarle-project-timeline__image {
        border-radius: 25px;
    }
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 767px) {

    .scarle-project-timeline {
        padding-left: 42px;
    }


    /* Ligne verticale déplacée à gauche */

    .scarle-project-timeline::before {
        left: 16px;

        top: 20px;
        bottom: 20px;

        transform: none;
    }


    /* Chaque étape passe en colonne */

    .scarle-project-timeline__row,
    .scarle-project-timeline__row--reverse {
        display: flex !important;

        flex-direction: column;

        align-items: stretch;

        min-height: 0;

        padding: 25px 0 50px;
    }


    /* Axe */

    .scarle-project-timeline__axis,
    .scarle-project-timeline__row--reverse
    .scarle-project-timeline__axis {
        position: absolute;

        top: 28px;
        left: -42px;

        width: 32px;
        height: 32px;

        display: block;
    }


    /* Numéro */

    .scarle-project-timeline__number {
        width: 32px;
        height: 32px;

        font-size: 12px;

        box-shadow: 0 0 0 5px #ffffff;
    }


    /* Image */

    .scarle-project-timeline__media,
    .scarle-project-timeline__row--reverse
    .scarle-project-timeline__media {
        width: 100%;

        order: 1;

        display: block;
    }

    .scarle-project-timeline__image {
        width: 100%;
        max-width: none;

        aspect-ratio: 16 / 10;

        border-radius: 25px;
    }


    /* Texte */

    .scarle-project-timeline__content,
    .scarle-project-timeline__row--reverse
    .scarle-project-timeline__content {
        width: 100%;
        max-width: none;

        order: 2;

        padding: 25px 0 0 0;
    }


    /* Surtitre */

    .scarle-project-timeline__eyebrow {
        margin-bottom: 10px;

        font-size: 11px;
    }


    /* Titre */

    .scarle-project-timeline__title {
        margin-bottom: 14px;

        font-size: clamp(28px, 9vw, 40px);
        line-height: 1;
    }


    /* Texte */

    .scarle-project-timeline__text {
        font-size: 15px;
        line-height: 1.65;
    }
}


/* ==== STYLE FAQ dans css dans template prestation====*/