/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

h1 {
    font-size: 2.625rem;
    margin-block: 2.625rem;
}

.fs-logo {
    color: var(--contrast);
}

#text-hero {
    text-shadow: 0 0 7px rgba(0, 0, 0, 0.65);
}

#text-hero a:hover {
    text-shadow: none;
}

.name-hero {
    display: block;
    font-family: "Great Vibes", cursive;
    font-size: 6rem;
    margin-bottom: 1rem;
    line-height: 1;
}

.name-subline {
    display: block;
    font-size: 0.9rem;
    line-height: 1.4;
}

.label-number {
    font-weight: 500;
    font-size: 3.5rem;
    line-height: 0.4;
}

@media (max-width: 767px) {
    .name-hero {
        font-size: 4rem;
    }
}

@media (min-width: 1025px) {
    .home .gb-menu-container, .home .fs-logo {
        color: var(--base-3);
    }

    .gb-sub-menu {
        box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    }



    .gb-menu > .menu-item > a {
        position: relative;
        color: inherit;
        text-decoration: none;
    }

    .home .gb-menu > .menu-item > a {
        text-shadow: 0 0 7px rgba(0, 0, 0, 0.65);
    }

    /* Pseudo-élément ligne animée */
    .gb-menu >.menu-item > a::after {
        content: "";
        position: absolute;
        bottom: -4px;
        left: 0;
        width: 0%;
        height: 2px;
        background-color: var(--base); /* remplace si besoin */
        transform: scaleX(0);
        transform-origin: center;
        transition: transform 0.3s ease;
    }

    /* Animation au survol, sauf sur l’élément actif */
    .gb-menu >.menu-item:not(.current-menu-item):not(.current_page_item) > a:hover::after {
        transform: scaleX(1);
        width: 100%;
    }

    /* Soulignement permanent pour l’élément actif (facultatif) */
    .gb-menu >.menu-item.current-menu-item > a::after {
        transform: scaleX(1);
        width: 100%;
    }

    /*Avis google*/
    .ti-reviews-container-wrapper {
        display: flex;
        justify-content: center;
    }
}

/* Bandeau horizontal animé */
.marquee {
    user-select: none;
}

.marquee__content {
    animation: scroll 30s linear infinite;
}

.marquee__content li {
    white-space: nowrap;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-100% - 1rem));
    }
}

/* tableau prix */
.table-pricing table {
    max-width: 500px;
}

.table-pricing table th,
.table-pricing table td,
.wp-block-table thead,
.table-pricing table {
    border: none;
}

.table-pricing table th:first-child,
.table-pricing table td:first-child {
    text-align: left;
}

.table-pricing table th:not(:first-child),
.table-pricing table td:not(:first-child) {
    text-align: center;
}

/* Contact form 7 */
/* Conteneur général */
.wpcf7 {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Formulaire */
.wpcf7-form {
    width: 100%;
}

/* Labels */
.wpcf7 label {
    display: block;
    width: 100%;
    text-align: left;
    margin-bottom: 6px;
}

/* Champs de formulaire */
.wpcf7 input:not([type="checkbox"]),
.wpcf7 textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-family: sans-serif;
    border: 2px solid var(--base, #ccc);
    border-radius: 12px;
    box-sizing: border-box;
    resize: vertical;
}

.wpcf7 textarea {
    overflow-y: auto;
    overflow-x: hidden;
}

.wpcf7 input:not([type="checkbox"]) {
    max-width: 400px;
}

.wpcf7 input:not([type="submit"]):is(:focus),
.wpcf7 textarea:is(:focus) {
    outline: 2px solid var(--accent, #0073e6);
    outline-offset: 2px;
}

    /* Bouton d'envoi */
.wpcf7 input[type="submit"] {
    max-width: 200px;
    color: var(--accent);
    background-color: transparent;
    font-family: var(--gp-font--nunito-sans);
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    border: 2px solid var(--accent);
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    margin: 0 auto;
}

.wpcf7 input[type="submit"]:is(:hover,:focus) {
    background-color: var(--accent);
    color: #ffffff
}

/* Message d'erreur ou confirmation */
.wpcf7-response-output {
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #f5f5f5;
    font-size: 0.9rem;
}

/* Galerie photo Envira Gallery */
#envirabox-title-float-wrap {
    display: none;
}