/* Palette de couleurs */
:root {
    --vert-principal: #1ca504;
    --vert-secondaire: #2ecc71;
    --gris-fonce: #1C1C1C;
    --gris-metal: #bdc3c7;
    --blanc: #ffffff;
}

/* Style général */
html, body {
    height: 100%;
    font-family: 'Montserrat', sans-serif;
    background-color: var(--gris-fonce)!important;
    color: var(--blanc);
    margin: 0;
    display: flex;
    flex-direction: column;
}



#wpadminbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(28, 28, 28);
    height: 32px;
}

main {
    flex: 1;
}

body.admin-bar .top-bar {
    top: 32px; /* Hauteur de la barre admin WordPress */
}

body.admin-bar .navbar {
    top: 64px; /* 32px (barre admin) + 32px (top-bar) */
}

/* Barre admin absente */
body:not(.admin-bar) .top-bar {
    top: 0; /* Top-bar collée au haut de la page */
}

body:not(.admin-bar) .navbar {
    top: 3.3rem; /* Navbar juste en dessous de la top-bar */
}

/* Top Bar */
.top-bar {
    background: linear-gradient(90deg, rgba(28, 28, 28, 0.9), rgba(20, 20, 20, 0.9));
    padding: 0.5rem;
    font-size: 0.85rem;
    color: var(--blanc);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: fixed;
    top: 32px;
    width: 100%;
    z-index: 999;
}

.contact-info {
    display: flex;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    color: var(--blanc);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item i {
    margin-right: 0.5rem;
    color: var(--vert-secondaire);
}

.contact-item:hover {
    color: var(--vert-secondaire);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    color: var(--gris-metal);
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: var(--vert-principal);
}

/* Navbar */
.navbar {
    background: linear-gradient(90deg, #2d2d2d, #1b1b1b);
    padding: 0.75rem 1rem;
    border-top: 2px solid var(--vert-principal);
    position: fixed!important;
    top: 5.35rem;
    width: 100%;
    z-index: 998;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar-link, a.navbar-item {
    background-color: transparent!important;
    cursor: pointer;
}

.navbar-item::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 1px;
    width: 0;
    height: 2px;
    background: var(--vert-secondaire);
    transition: all 0.4s ease;
    transform: translateX(-50%);
}

.navbar-item:hover::after {
    width: 80%;
}

/* Logo & Brand */
.navbar-brand .navbar-item {
    display: flex;
    align-items: center;
}

.navbar .logo {
    max-height: 33px!important;
    margin-right: 0.5rem;
    transition: transform 0.3s ease;
}

img.custom-logo {
    max-height: 40px!important;
    max-width: 50px!important;
    height: auto;
    width: auto;
    object-fit: contain;
}

img.custom-logo:hover {
    transform: scale(1.1);
}

.company-name {
    font-weight: bold;
    color: var(--blanc);
    max-width: 120px;
    font-size: 0.8rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Navbar Items */
.navbar-item {
    color: var(--blanc);
    font-weight: bold;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.navbar-item:hover {
    color: var(--vert-secondaire);
    transform: translateY(-2px);
}

/* Burger Menu */
.navbar-burger {
    color: var(--blanc);
    cursor: pointer;
    display: none;
}

.navbar-burger.active span {
    background: var(--vert-secondaire);
}

/* Mobile Menu */
.navbar-menu {
    display: none;
}

.navbar-menu.active {
    display: flex;
    flex-direction: column;
    background: #1b1b1b;
    position: absolute;
    top: 3.5rem;
    right: 0;
    width: 100%;
    z-index: 999;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.navbar-menu .navbar-item {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-menu .navbar-item:hover {
    background: rgba(255, 255, 255, 0.1);
}


/* Section Héros */
.hero {
    padding-top: 5.5rem;
    border-bottom: 3px solid var(--vert-principal);
}

.hero-body .container {
    background: rgba(0, 0, 0, 0.6);
    padding: 3rem;
    border-radius: 8px;
    animation: fade-in 1s ease-out;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out;
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fade-in {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1.title {
    font-size: 2.5rem;
    color: var(--vert-principal);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    margin-bottom: 2.3rem;
    white-space: pre-wrap;
    text-align: center;
}

.hero h2.subtitle {
    color: var(--gris-metal);
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    margin-top: 1.5rem;
}

.buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

a.button.cta-button {
    background: linear-gradient(90deg, var(--vert-secondaire), var(--vert-principal));
    color: var(--blanc);
    padding: 1rem 2rem;
    font-size: 1.25rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

a.button.cta-button:hover {
    background: linear-gradient(90deg, #1e874b, #145a39);
    color: white;
    transform: scale(1.05);
}

/* Bouton contact flottant */
.floating-phone {
    position: fixed;
    z-index: 100;
    bottom: 20px;
    right: 20px;
    background: var(--vert-principal);
    color: var(--blanc);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    animation: pulse 6s infinite;

    a {
        color: var(--blanc);
    }
    &:hover{
        color: var(--blanc);
    }
}

.floating-phone:hover {
    background: #1e874b;
    color: var(--blanc);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(28, 204, 71, 0.5); }
    70% { box-shadow: 0 0 20px 10px rgba(28, 204, 71, 0); }
    100% { box-shadow: 0 0 0 0 rgba(28, 204, 71, 0); }
}

/* Section Services */
.service-box {
    background: linear-gradient(135deg, #1b1b1b, #2d2d2d);
    border: 2px solid var(--vert-principal);
    padding: 2rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.icon-container {
    font-size: 3rem;
    color: var(--vert-secondaire);
    margin-bottom: 1rem;
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
}

.service-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--vert-principal);
    margin-bottom: 0.5rem;
}

.service-description {
    font-size: 1rem;
    color: var(--gris-metal);
    margin-bottom: 1rem;
    flex-grow: 1;
}


a.button.service-button {
    background: var(--vert-principal);
    color: var(--blanc);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 0.9rem;
    align-self: center;
    margin-top: auto;
}

button.button.service-button {
    background: var(--vert-principal);
    color: var(--blanc);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 0.9rem;
    align-self: center;
    margin-top: auto;
}

.service-box:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0px 8px 20px rgba(46, 204, 113, 0.5);
}

.service-box:hover .icon-container {
    transform: scale(1.2);
    color: var(--vert-principal);
}

/* Section Processus */
section#processus {
    background: linear-gradient(to right, #101010, #1c1c1c);
    padding: 4rem 2rem;
    align-items: center;
    border-bottom: 3px solid var(--vert-principal);
}

.process-box {
    background: linear-gradient(135deg, #1e1e1e, #2a2a2a);
    border: 2px solid var(--vert-principal);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    min-height: 300px;
    max-width: 300px;
    box-sizing: border-box;
}

.process-box:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0px 8px 25px rgba(28, 255, 118, 0.5);
    background: linear-gradient(135deg, var(--vert-secondaire), var(--vert-principal));
    color: var(--blanc);
}

.process-box .icon-container {
    font-size: 4rem;
    color: var(--vert-secondaire);
    margin-bottom: 1rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.process-box:hover .icon-container {
    transform: rotate(15deg) scale(1.2);
    color: var(--vert-principal);

}

.process-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--blanc);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    flex-grow: 0;
}

.process-description {
    font-size: 1.1rem;
    color: #e0e0e0;
    line-height: 1.6;
    flex-grow: 1;
    text-align: center;
}

.process-box:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 50%;
    width: 40px;
    height: 2px;
    background-color: var(--vert-principal);
    transform: translateY(-50%);
    transition: width 0.3s ease, background-color 0.3s ease;
}

.process-box:hover:not(:last-child)::after {
    background-color: var(--vert-secondaire);
    width: 60px;
}

@keyframes fade-in-up {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.process-box {
    animation: fade-in-up 0.6s ease-out;
}

.process-box {
    animation: fade-in-up 0.6s ease-out;
}

/* Section À propos */
#about {
    background: linear-gradient(135deg, var(--gris-fonce), #2d2d2d);
    padding: 4rem 1.5rem;
    color: var(--blanc);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
}

#about .content {
    flex: 1;
    text-align: left;
    padding-right: 2rem;
}

#about h2.title {
    color: var(--vert-principal);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

#about ul {
    margin-top: 1rem;
    padding-left: 1.5rem;
}

#about ul li {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: var(--gris-metal);
}

#about ul li i {
    color: var(--vert-secondaire);
    margin-right: 0.5rem;
}

#about .image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

#about .image img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.3);
}


/* Section Testimonials */
#testimonials {
    padding: 4rem 1rem;
    background: var(--gris-fonce);
    border-top: 3px solid var(--vert-principal);
    border-bottom: 3px solid var(--vert-principal);
}

.carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-item {
    min-width: 100%;
    text-align: center;
    padding: 1rem;
}

.testimonial-box {
    background: linear-gradient(135deg, #1e1e1e, #2a2a2a);
    border: 2px solid var(--vert-principal);
    padding: 2rem;
    border-radius: 16px;
    color: var(--blanc);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    margin: auto;
    max-width: 700px;
}

.testimonial-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 1rem;
    border: 3px solid var(--vert-secondaire);
    object-fit: cover;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-author {
    font-size: 1rem;
    font-weight: bold;
    color: var(--vert-principal);
}

/* Flèches carousel */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--vert-principal);
    color: var(--blanc);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.3rem;
    z-index: 10;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.carousel-control:hover {
    background: var(--vert-secondaire);
}

.carousel-control.prev {
    left: 20px;
}

.carousel-control.next {
    right: 20px;
}

/* Indicateurs carousel */
.carousel-indicators {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    gap: 0.5rem;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gris-metal);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.carousel-indicator.active {
    background: var(--vert-principal);
}

/* Section Tarifs */
.tarifs {
    background: var(--gris-fonce);
    padding: 5rem 2rem;
    border-bottom: 3px solid var(--vert-principal);
}

.tarif-subtitle{
    margin-top: 0.5rem;
}

.tarifs h2 {
    margin-bottom: 2rem;
}

.tarifs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.tarif-card i {
    font-size: 2.5rem;
    color: var(--vert-secondaire);
    margin-bottom: 0.5rem;
}


.tarif-card {
    background: linear-gradient(135deg, #1c1c1c, #101010);;
    border: 2px solid var(--vert-principal);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.6s ease, box-shadow 0.3s ease;
}

.tarif-card:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0px 8px 20px rgba(28, 255, 118, 0.5);
}

.tarif-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--vert-principal);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.tarif-price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--blanc);
    margin-bottom: 1rem;
}

.tarif-description {
    font-size: 1rem;
    color: var(--gris-metal);
    line-height: 1.6;
}


#why-choose-us {
    background: var(--gris-fonce);
    padding: 4rem 2rem;
    text-align: center;
    border-top: 2px solid var(--vert-principal);
    border-bottom: 2px solid var(--vert-principal);
}

.why-us-card {
    background: linear-gradient(135deg, #1e1e1e, #2d2d2d);
    border: 2px solid var(--vert-principal);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.why-us-card:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0px 12px 25px rgba(28, 255, 118, 0.4);
    background: linear-gradient(135deg, #1c1c1c, #2b2b2b);
}

.why-us-card .icon-container {
    font-size: 3rem;
    color: var(--vert-secondaire);
    margin-bottom: 1rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.why-us-card:hover .icon-container {
    color: var(--vert-principal);
    transform: scale(1.2);
}

.why-us-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--vert-principal);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.why-us-description {
    font-size: 1rem;
    color: var(--gris-metal);
    line-height: 1.5;
}

/* Section FAQ */

section#faq {
    border-bottom: 3px solid var(--vert-principal);
}

.faq-accordion {
    margin-top: 2rem;
}

.faq-item {
    background: #1e1e1e;
    margin-bottom: 1rem;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 255, 118, 0.3);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--vert-principal);
    background: #242424;
    transition: background 0.3s ease, color 0.3s ease;
}

.faq-question:hover {
    background: var(--vert-secondaire);
    color: var(--blanc);
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0 1.5rem;
    background: #1c1c1c;
    transition: max-height 0.4s ease, opacity 0.4s ease;
}

.faq-answer p {
    padding: 1rem 0;
    font-size: 1rem;
    color: var(--gris-metal);
    line-height: 1.6;
}

/* Style actif */
.faq-item.active .faq-answer {
    max-height: 200px;
    opacity: 1;
}

.faq-item.active .faq-question i {
    transform: rotate(90deg);
}

.ewd-ufaq-faq {
    background: #1e1e1e;
    margin-bottom: 1rem;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ewd-ufaq-faq:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 255, 118, 0.3);
}

.ewd-ufaq-faq-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--vert-principal);
    background: #242424;
    transition: background 0.3s ease, color 0.3s ease;
}

.ewd-ufaq-faq-title:hover {
    background: var(--vert-secondaire);
    color: var(--blanc);
}

.ewd-ufaq-faq-title i {
    transition: transform 0.3s ease;
}

.ewd-ufaq-faq-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0 1.5rem;
    background: #1c1c1c;
    transition: max-height 0.4s ease, opacity 0.4s ease;
}

.ewd-ufaq-faq-content p {
    padding: 1rem 0;
    font-size: 1rem;
    color: var(--gris-metal);
    line-height: 1.6;
}

/* Style actif */
.ewd-ufaq-faq.expanded .ewd-ufaq-faq-content {
    max-height: 200px;
    opacity: 1;
}

.ewd-ufaq-faq.expanded .ewd-ufaq-faq-title i {
    transform: rotate(90deg);
}

/* Section Contact */
.map iframe {
    border-radius: 12px;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.2);
}

.contact-form {
    background: linear-gradient(135deg, #1e1e1e, #2b2b2b);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-form:hover {
    transform: scale(1.02);
    box-shadow: 0px 10px 25px rgba(28, 255, 118, 0.5);
}

.contact-details {
    background: linear-gradient(135deg, #1e1e1e, #2b2b2b);
    padding: 1.5rem;
    display: inline-grid;
    gap: 1rem;
    border-radius: 12px;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.3);
    margin-bottom: 1rem;
}

.contact-form .input,
.contact-form .textarea {
    background: #1c1c1c;
    color: var(--blanc);
    border: 1px solid var(--vert-principal);
    border-radius: 8px;
}

.contact-form .input:focus,
.contact-form .textarea:focus {
    border-color: var(--vert-secondaire);
    box-shadow: 0 0 5px rgba(28, 255, 118, 0.5);
}

.contact-form .button {
    background: var(--vert-principal);
    border: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.contact-form .button:hover {
    background: var(--vert-secondaire);
    transform: translateY(-2px);
}

.contact-form .control.has-icons-left .input:focus + .icon.is-left i,
.contact-form .textarea:focus ~ .icon.is-left i {
    color: var(--vert-secondaire);
    transition: color 0.3s ease;
}

.wpcf7 .contact-form {
    background: linear-gradient(135deg, #1e1e1e, #2b2b2b);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wpcf7 .contact-form:hover {
    transform: scale(1.02);
    box-shadow: 0px 10px 25px rgba(28, 255, 118, 0.5);
}

/* Champs de saisie (input, textarea) */
.wpcf7 .contact-form .wpcf7-form-control {
    background: #1c1c1c;
    color: var(--blanc);
    border: 1px solid var(--vert-principal);
    border-radius: 8px;
    padding: 0.75rem;
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box;
}

.wpcf7 .contact-form .wpcf7-form-control:focus {
    border-color: var(--vert-secondaire);
    box-shadow: 0 0 5px rgba(28, 255, 118, 0.5);
    outline: none;
}

/* Bouton d'envoi */
.wpcf7 .contact-form .wpcf7-submit {
    background: var(--vert-principal);
    border: none;
    color: var(--blanc);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.wpcf7 .contact-form .wpcf7-submit:hover {
    background: var(--vert-secondaire);
    transform: translateY(-2px);
}

/* Contrôle des icônes (si vous utilisez des icônes avec des champs) */
.wpcf7 .contact-form .control.has-icons-left .wpcf7-form-control {
    padding-left: 2.5rem;
}

.wpcf7 .contact-form .control.has-icons-left .icon.is-left {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--vert-principal);
}

.wpcf7 .contact-form .control.has-icons-left .input:focus + .icon.is-left i,
.wpcf7 .contact-form .textarea:focus ~ .icon.is-left i {
    color: var(--vert-secondaire);
    transition: color 0.3s ease;
}


/* Message de validation et d'erreur */
.wpcf7 .wpcf7-response-output {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: bold;
}

.wpcf7 .wpcf7-response-output.wpcf7-mail-sent-ok {
    background: rgba(28, 255, 118, 0.1);
    border: 1px solid var(--vert-principal);
    color: var(--vert-principal);
}

.wpcf7 .wpcf7-response-output.wpcf7-validation-errors {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid red;
    color: red;
}

/* PORTFOLIO */
/* Vidéos */
#videos {
    padding: 4rem 2rem;
    background: var(--gris-fonce);
    border-top: 2px solid var(--vert-principal);
}

#videos .title {
    color: var(--vert-principal);
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 1.5rem;
}

#videos .subtitle {
    color: var(--gris-metal);
    text-align: center;
    margin-bottom: 2rem;
}

.video-container {
    flex: 1 0 calc(33.333% - 1rem);
    min-height: 380px;
    max-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    border: 2px solid var(--vert-principal);
    border-radius: 10px;
    background: linear-gradient(135deg, #1e1e1e, #2a2a2a);
    padding: 1rem;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(28, 255, 118, 0.5);
}

.video-container video {
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 1rem;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}

.video-container h3 {
    color: var(--vert-principal);
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 0.5rem;
}

.video-container p {
    font-size: 1rem;
    color: var(--gris-metal);
    text-align: center;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    gap: 0.5rem;
}

.pagination.is-centered {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

.pagination-link {
    background-color: var(--vert-principal);
    color: var(--blanc);
    border: none;
    border-radius: 5px;
    margin: 0 5px;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.pagination-link.is-current {
    background-color: var(--vert-secondaire);
    font-weight: bold;
}

.pagination-link:hover {
    transform: scale(1.1);
    background-color: var(--vert-secondaire);
}

/* Galerie avant/après */

#avant-apres .title {
    color: var(--vert-principal);
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 1.5rem;
}

#avant-apres .subtitle {
    color: var(--gris-metal);
    text-align: center;
    margin-bottom: 2rem;
}

#cta {
    border-bottom: 3px solid var(--vert-principal);
}


#cta-portfolio {
    background: linear-gradient(135deg, #1c1c1c, #2b2b2b);
    padding: 4rem 2rem;
    text-align: center;
}

#cta-portfolio .button:hover {
    background: var(--vert-secondaire);
    transform: scale(1.05);
}

.before-after-container {
    position: relative;
    border: 2px solid var(--vert-principal);
    border-radius: 10px;
    margin-bottom: 1.5rem;
    height: 31rem;
    overflow: hidden;
}

.image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

img.before,
img.after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: clip-path 0.1s ease-out;
}

img.after {
    clip-path: inset(0 50% 0 0);
}

.slider {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 8px;
    appearance: none;
    background: var(--vert-secondaire);
    border-radius: 4px;
    cursor: pointer;
}

.slider::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--vert-principal);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--vert-principal);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.label-before,
.label-after {
    position: absolute;
    top: 10px;
    font-weight: bold;
    font-size: 0.9rem;
    background: rgba(0, 0, 0, 0.6);
    color: var(--blanc);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    z-index: 3;
}

.label-before {
    left: 10px;
}

.label-after {
    right: 10px;
}

/* Tooltip (bulles d'info pour Avant/Après) */
.tooltip {
    position: absolute;
    top: 10px;
    font-weight: bold;
    font-size: 0.9rem;
    background: rgba(0, 0, 0, 0.8);
    color: var(--blanc);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    z-index: 3;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.2s ease-out;
}

.tooltip-before {
    left: 10px;
}

.tooltip-after {
    right: 10px;
}

/* Footer Styles */

footer {
    margin-top: auto;
    width: 100%;
    background: var(--gris-fonce);
    color: var(--gris-metal);
    border-top: 3px solid var(--vert-principal);
    font-size: 0.9rem;
    position: relative;
}

.footer-top {
    padding: 4rem 2rem;
}

.footer-title {
    color: var(--vert-principal);
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.footer-contact,
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-contact li,
.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-contact li i {
    color: var(--vert-secondaire);
    margin-right: 0.5rem;
}

.footer-links li a {
    color: var(--gris-metal)!important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact li a {
    color: var(--gris-metal)!important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact li a:hover {
    color: var(--vert-principal)!important;
}

.footer-links li a:hover {
    color: var(--vert-principal)!important;
}

.social-icons {
    display: inline-flex;
    gap: 1.3rem;
    justify-content: center;
}

.social-icon {
    font-size: 1.5rem;
    color: var(--vert-secondaire);
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icon:hover {
    color: var(--vert-principal);
    transform: scale(1.2);
}

/* Footer Bottom */
.footer-bottom {
    background: #111;
    padding: 1rem 0;
    font-size: 0.85rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    box-sizing: border-box;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom .velyorix-credit {
    text-align: right;
    flex: 1;
}

.footer-bottom .velyorix-credit a {
    color: var(--vert-secondaire);
    text-decoration: none;
    font-size: 0.85rem;
}

.footer-bottom .velyorix-credit a:hover {
    color: var(--vert-principal);
    text-decoration: underline;
}

/* Filter paginable */

.buttons {
    display: flex!important;
    justify-content: center!important;
    flex-wrap: wrap!important;
    margin-bottom: 2rem!important;
}

.filter-button {
    border: 2px solid var(--vert-principal)!important;
    background-color: transparent!important;
    color: var(--vert-principal)!important;
    font-weight: bold!important;
    margin: 0.5rem!important;
    padding: 0.5rem 1.5rem!important;
    border-radius: 8px!important;
    transition: background-color 0.3s ease, color 0.3s ease!important;
    cursor: pointer!important;
}

.filter-button:hover {
    background-color: var(--vert-principal)!important;
    color: var(--blanc)!important;
}

.filter-button.is-active {
    background-color: var(--vert-principal)!important;
    color: var(--blanc)!important;
    box-shadow: 0px 4px 10px rgba(28, 255, 118, 0.5)!important;
}

.modal-background {
    background-color: rgba(28, 28, 28, 0.8);
    z-index: 10;
}

.modal-content .box {
    background: linear-gradient(135deg, #1e1e1e, #2b2b2b);
    border-radius: 12px;
    color: var(--blanc);
    padding: 2rem;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.6);
    border: 2px solid var(--vert-principal);
    position: relative;
    z-index: 100;
}

.modal-close-custom {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    color: var(--blanc);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.modal-close-custom:hover {
    color: var(--vert-secondaire);
    transform: scale(1.1);
}

.modal.is-active {
    display: flex;
    z-index: 1000;
}


/* Section Timeline */
.timeline {
    position: relative;
    margin-top: 2rem;
    padding: 1rem 0;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 0;
    left: 20px;
    bottom: 0;
    width: 4px;
    background-color: var(--vert-principal);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-left: 60px;
    margin-bottom: 2rem;
    padding: 1rem;
    border-left: 4px solid transparent;
    transition: all 0.3s ease-in-out;
}

.timeline-item:hover {
    border-left-color: var(--vert-principal);
    background-color: rgba(28, 204, 71, 0.1);
    transform: translateX(5px);
}

.timeline-date {
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--vert-principal);
    margin-bottom: 0.5rem;
}

.timeline-content {
    color: var(--blanc);
    font-size: 1rem;
}


/* Valeurs Cards */
.value-card {
    background: linear-gradient(135deg, #1e1e1e, #292929);
    border: 2px solid var(--vert-principal);
    padding: 2rem;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 300px;
    max-width: 350px;
    margin: auto;
}

.value-card:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 24px rgba(28, 255, 118, 0.5);
    background: linear-gradient(135deg, #292929, #1e1e1e);
}

.value-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    color: var(--vert-principal);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.value-card .icon-container {
    font-size: 3rem;
    color: var(--vert-principal);
    margin-bottom: 1rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.value-card:hover .icon-container {
    transform: scale(1.2);
    color: #32cd32;
}

.value-card p {
    font-size: 1rem;
    color: var(--blanc);
    line-height: 1.5;
    flex-grow: 1;
}

.value-section {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
}


/* Responsivité */

/* Desktop Styles (min-width: 1025px) */
@media (min-width: 1025px) {
    .navbar-burger {
        display: none;
    }

    .navbar-menu {
        display: flex !important;
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
    }
}

/* Mobile Styles (max-width: 1024px) */
@media (max-width: 1024px) {

    .navbar-burger {
        display: block;
        cursor: pointer;
    }

    .company-name {
        font-size: 0.9rem;
        max-width: 150px;
    }

    .navbar .logo {
        max-height: 30px;
    }

    .navbar-menu {
        display: none
    }

    .navbar-menu.is-active {
        display: flex !important;
        flex-direction: column;
        background: #1b1b1b;
        position: absolute;
        top: 3.5rem;
        right: 0;
        width: 100%;
        z-index: 999;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    }

    #about {
        flex-direction: column;
        text-align: center;
    }

    #about .content {
        padding-right: 0;
    }

    #about .image {
        display: block;
        margin-top: 1.5rem;
    }

    #about .image img {
        max-width: 80%;
    }

    .testimonial-box {
        padding: 1.5rem;
        max-width: 80%;
    }

    .testimonial-text {
        font-size: 1rem;
    }

    .testimonial-image {
        width: 70px;
        height: 70px;
    }

    .carousel-control {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 768px) {

    .footer-top {
        flex-direction: column;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }

    .footer-bottom {
        padding: 1.5rem 0;
        text-align: center;
    }

    .floating-phone {
        bottom: 60px;
    }

    .footer-bottom p,
    .footer-bottom a {
        font-size: 0.75rem;
    }

    #why-choose-us {
        padding: 3rem 1rem;
    }

    .icon-container {
        font-size: 2.5rem;
    }

    .why-us-title {
        font-size: 1.5rem;
    }

    .why-us-description {
        font-size: 0.95rem;
    }

    .tarifs-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-box {
        padding: 1rem;
        max-width: 90%;
    }

    .testimonial-text {
        font-size: 0.9rem;
    }

    .carousel-control {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .carousel-control.prev {
        left: 10px;
    }

    .carousel-control.next {
        right: 10px;
    }

    .top-bar {
        flex-direction: column;
        text-align: center;
    }
    .contact-info,
    .social-links {
        justify-content: center;
    }

    #about .image img {
        max-width: 100%;
    }

    section#processus {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .process-box {
        max-width: 100%;
        min-height: auto;
    }

    .process-box:not(:last-child)::after {
        display: none;
    }

}



@media (max-width: 480px) {

    .navbar .logo {
        max-height: 25px;
    }

    .company-name {
        font-size: 0.6rem;
        max-width: 60px;
    }

    .navbar-burger {
        font-size: 1.5rem;
    }

    #testimonials {
        padding: 2rem 0.5rem;
    }

    .testimonial-box {
        padding: 0.8rem;
    }

    .carousel-control {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }

    .testimonial-text {
        font-size: 0.85rem;
    }

    .testimonial-image {
        width: 50px;
        height: 50px;
    }

    .carousel-indicators {
        gap: 0.3rem;
    }

    .floating-phone {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }

    .process-box .icon-container {
        font-size: 3rem;
    }

    .process-title {
        font-size: 1.5rem;
    }

    .process-description {
        font-size: 1rem;
    }

    #about .image {
        display: none;
    }

    #about {
        padding: 2rem 1rem;
    }
}