/**
 * Theme Name: Florine Michel
 * Description: Blocksy Child theme
 * Author: Studio CAD
 * Template: blocksy
 * Text Domain: blocksy
 */

body, h1, h2, h3, h4, h5, h6, label, figcaption, blockquote, blockquote p, .menu a, .site-title, .entry-meta, .mobile-menu, .widget-title, .ct-post-title, .ct-breadcrumbs, .ct-header-text, .site-description, .page-description, .ct-footer-copyright, .ct-widget>*:not(.widget-title){
	/*color: var(--theme-palette-color-1);*/
}

.link-white a {
	color: white !important;
	text-decoration: none !important;
}

.text-pink {
	color: var(--wp--preset--color--palette-color-2);
}

.tabs-left {
	max-height: fit-content;
}

.fm-actu .entry-excerpt {
	        font-size: 15px;
            line-height: 1.6;
            color: var(--wp--preset--color--palette-color-5, #e1e8ed);
            display: -webkit-box;
            -webkit-line-clamp: 4;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
}

.fm-actu .entry-button {
	font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 10px 20px;
}

.next.page-numbers, .prev.page-numbers {
	border-color: var(--theme-palette-color-2);
    background-color: var(--theme-palette-color-2);
	color: var(--theme-palette-color-3);
	border-radius: 0px !important;
	border: 0px !important;
}

.next.page-numbers:hover, .prev.page-numbers:hover {
	border-color: var(--theme-palette-color-3);
    background-color: var(--theme-palette-color-1);
	color: var(--theme-palette-color-3);
	border: 0px !important;
}

        .fm-news-excerpt {
            font-size: 15px;
            line-height: 1.6;
            color: var(--wp--preset--color--palette-color-5, #e1e8ed);
            display: -webkit-box;
            -webkit-line-clamp: 4;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
        }



        .fm-carousel-wrapper {
            position: relative;
            width: 100%; 
            margin: 0 auto;
            padding: 0; 
            font-family: inherit;
            box-sizing: border-box;
        }
        
        .fm-carousel-wrapper * {
            box-sizing: border-box;
        }

        .fm-news-swiper {
            width: 100%;
            overflow: hidden;
            padding-bottom: 10px; 
        }

        .fm-news-swiper .swiper-slide {
            height: auto; 
            display: flex;
        }

        .fm-news-card {
            display: flex;
            flex-direction: column;
            width: 100%;
            height: 100%;
            background-color: var(--wp--preset--color--palette-color-1, #202e43);
            color: var(--wp--preset--color--palette-color-3, #ffffff);
            transition: transform 0.3s ease;
        }

        .fm-news-card-img-link {
            display: block;
            width: 100%;
            height: 220px;
            overflow: hidden;
            flex-shrink: 0;
        }

        .fm-news-card img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: transform 0.4s ease;
        }

        .fm-news-card-img-link:hover img {
            transform: scale(1.05);
        }

        .fm-news-content {
            padding: 30px;
            display: flex;
            flex-direction: column;
            flex-grow: 1;
        }

        .fm-news-title {
            font-size: 20px;
            font-weight: 700;
            margin-top: 0;
            margin-bottom: 15px;
            line-height: 1.3;
        }

        .fm-news-title a {
            color: var(--wp--preset--color--palette-color-3, #ffffff);
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .fm-news-title a:hover {
            color: var(--wp--preset--color--palette-color-2, #c999b1);
        }

        .fm-news-excerpt-container {
            flex-grow: 1;
            margin-bottom: 30px;
        }

        .fm-news-excerpt {
            font-size: 15px;
            line-height: 1.6;
            color: var(--wp--preset--color--palette-color-5, #e1e8ed);
            display: -webkit-box;
            -webkit-line-clamp: 4;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .fm-news-btn {
            display: inline-flex;
            align-items: center;
            background-color: var(--wp--preset--color--palette-color-2, #c999b1);
            color: var(--wp--preset--color--palette-color-3, #ffffff);
            font-size: 13px;
            font-weight: 700;
            text-transform: uppercase;
            text-decoration: none;
            padding: 10px 20px;
            align-self: flex-start;
            transition: background-color 0.3s ease;
            margin-top: auto;
        }

        .fm-news-btn:hover {
            background-color: var(--wp--preset--color--palette-color-3, #192a3d);
            color: var(--wp--preset--color--palette-color-1, #ffffff);
        }

        .fm-swiper-btn-prev,
        .fm-swiper-btn-next {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 36px;
            height: 36px;
            background-color: var(--wp--preset--color--palette-color-2, #c999b1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 10;
            color: var(--wp--preset--color--palette-color-3, #ffffff);
            transition: opacity 0.3s ease, background-color 0.3s ease;
        }

        .fm-swiper-btn-prev:hover,
        .fm-swiper-btn-next:hover {
            background-color: var(--wp--preset--color--palette-color-1, #202e43);
        }

        .fm-swiper-btn-prev.swiper-button-disabled,
        .fm-swiper-btn-next.swiper-button-disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        .fm-swiper-btn-prev { left: -60px; }
        .fm-swiper-btn-next { right: -60px; }

        .fm-swiper-btn-prev svg,
        .fm-swiper-btn-next svg {
            width: 16px;
            height: 16px;
            fill: none;
            stroke: currentColor;
            stroke-width: 3;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        
        @media (max-width: 1400px) {
            .fm-carousel-wrapper { 
                padding: 0 50px; 
            }
            .fm-swiper-btn-prev { left: 0; }
            .fm-swiper-btn-next { right: 0; }
        }

        @media (max-width: 1024px) {
            .fm-news-content { padding: 25px; }
        }

        @media (max-width: 768px) {
            .fm-carousel-wrapper { 
                padding: 0 45px; 
            }
        }

        @media (max-width: 480px) {
            .fm-carousel-wrapper { 
                padding: 0 40px; 
            }
            .fm-news-content { padding: 20px; }
            .fm-news-title { font-size: 18px; }
        }






.contact-form {
	margin: 0px !important;
}

/* 1. Champs de texte (Input et Textarea) */
.contact-form .wpforms-field input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.contact-form .wpforms-field textarea {
    width: 100% !important;
    background-color: transparent !important;
    border: none !important;
    border-bottom: 1px solid var(--theme-palette-color-5) !important;
    border-radius: 0 !important; /* Retire les bords arrondis par défaut de WPForms */
    padding: 12px 0 !important;
    font-family: inherit !important;
    font-size: 1rem !important;
    color: var(--theme-palette-color-4) !important;
    box-shadow: none !important; /* Retire les ombres internes par défaut */
    transition: all 0.3s ease !important;
}

.contact-form #wpforms-414-field_4 {
	padding-left: 50px !important;
}

.contact-form .wpforms-field-container {
	text-align: left;
}

/* 2. Effet de focus (clic sur le champ) */
.contact-form .wpforms-field input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):focus,
.contact-form .wpforms-field textarea:focus {
    outline: none !important;
    border-bottom-color: var(--theme-palette-color-2) !important;
    box-shadow: 0 1px 0 0 var(--theme-palette-color-2) !important;
    background-color: transparent !important;
}

/* 3. Styles des Placeholders (Textes indicatifs) */
.contact-form .wpforms-field input::placeholder,
.contact-form .wpforms-field textarea::placeholder {
    color: #040405 !important;
    font-weight: 300 !important;
    opacity: 1 !important;
}

/* 4. Cacher les étiquettes (Labels) */
/* NB: Il est recommandé de masquer les labels directement dans les réglages 
   du champ WPForms (Options avancées > Masquer l'étiquette) pour l'accessibilité. 
   Si tu ne l'as pas fait, ce code les masquera visuellement. */
.contact-form .wpforms-field-label {
    display: none !important;
}

/* 5. Espacement entre les champs */
.contact-form .wpforms-field {
    padding-bottom: 1.5rem !important;
    margin-bottom: 0 !important;
}

/* 6. Enlever la bordure de redimensionnement moche sur le textarea */
.contact-form .wpforms-field textarea {
    resize: vertical !important;
}

/* ==========================================================================
   Styles pour le bouton Envoyer (Submit)
   ========================================================================== */

.contact-form .wpforms-submit-container {
    margin-top: 1.5rem !important;
    text-align: right !important; /* Aligne le bouton à droite sur grand écran */
}

.contact-form button[type="submit"].wpforms-submit {
    background-color: var(--theme-palette-color-1) !important;
    color: var(--theme-palette-color-3) !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    font-size: 0.875rem !important;
    padding: 1rem 2.5rem !important;
    border-radius: 0.125rem !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
}

/* Effet au survol du bouton */
.contact-form button[type="submit"].wpforms-submit:hover,
.contact-form button[type="submit"].wpforms-submit:focus {
    background-color: var(--theme-palette-color-2) !important;
    color: var(--theme-palette-color-3) !important;
    transform: translateY(-2px) !important; /* Petit effet de soulèvement */
    border: none !important;
}

/* Responsive : Bouton 100% de large sur mobile */
@media (max-width: 600px) {
    .contact-form button[type="submit"].wpforms-submit {
        width: 100% !important;
        text-align: center !important;
    }
}




@media (min-width: 1490px) {
    .ct-header-trigger.ct-toggle  {
        display: none;
    }
}

@media (max-width: 1490px) {
    [data-id="Wg0p32"], #menu-header-florine-michel {
        display: none !important;
    }
}




@media (min-width: 689.99px) and (max-width: 1024px){
	
	.hide-for-tablet{
		display: none;
	}
}

@media (min-width: 689.99px) and (max-width: 960px){
	
	
}

@media (max-width: 768px){
	
	
}


@media (min-width: 768px) and (max-width: 1024px){

	
}
@media (max-width: 689.98px){
	.hide-for-mobile{
		display: none;
	}
	
}

