/* CSS personalisé du thème FA Renov Habitat */
/* général */
.section-title .h3 {
    display: inline-block;
    position: relative;
    font-family: var(--default-font);
    font-weight: 500;
    line-height: 1.2em;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-color);
    padding-left: 25px;
    margin-bottom: 20px;
	font-size: 20px;
}

.petitepolice {
    font-size: 20px!important;
}

.moyennepolice {
    font-size: 26px!important;
}

.normalepolice {
    font-size: 36px!important;
}

.btn-default {
    text-transform: uppercase;
}

a {
    color: var(--primary-color);
    text-decoration: none
}

a:hover {
    color: var(--accent-color);
}

.page-header-box ol li.breadcrumb-item {
    text-transform: none;
}

.btn-default::before {
	height: 100%;
}	

.btn-default:hover::before {
    background-color: var(--primary-color);
	border: 2px solid var(--accent-color);
    z-index: -1;
	height: 100%;
}

/* général */
/*sidebar */
.service-catagery-list .h3, .project-catagery-list .h3 {
    font-size: 20px;
    font-weight: 600;
    text-transform: capitalize;
    background-color: var(--accent-color);
    color: var(--white-color);
    padding: 18px 30px;
}

.service-sidebar .sidebar-cta-footer a, .project-sidebar .sidebar-cta-footer a {
    color: var(--secondary-color);
}

@media (min-width: 992px) {
    #custom_html-2 {
        position: -webkit-sticky;
        position: sticky;
        top: 40px;
        z-index: 1020;
    }
}

/*sidebar */
/* Uniquement pour admin connecté */
.admin-bar .hero {
    margin-top: -130px;
}
/* Uniquement pour admin connecté */
/*menu header*/
.hero {
    margin-top: -100px;
}

.header-contact-box-content .h3 {
    font-size: 20px;
    text-transform: capitalize;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.header-contact-box {
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.header-contact-box-content p a {
    color: var(--secondary-color);
    margin: 0;
}

.header-social-links .h5 {
    color: var(--secondary-color);
	margin-bottom: 20px;
}

.main-menu ul ul {
    width: 250px;
}
/*menu header*/


/* footer */
.footer-contact-content a {
	color: var(--accent-color);
	transition: all 0.3s ease-in-out;
}

.footer-contact-content:hover a {
	color: var(--white-color);
}

.color_red {
    color: #ff0000;
}

.footer-newsletter-form .h3 {
    font-size: 22px;
    text-transform: capitalize;
    margin-bottom: 40px;
}

.footer-links .h3 {
    font-size: 20px;
    text-transform: capitalize;
    color: var(--white-color);
    margin-bottom: 40px;
}

footer .h3 {
	margin: 0;
    font-family: var(--accent-font);
    font-weight: 600;
    line-height: 1.2em;
}

footer .footer-contact-content p a {
	color: var(--accent-color)!important;
    text-decoration: none;
}

footer .footer-contact-content p a:hover {
    color: var(--white-color)!important;
    text-decoration: none;
}

/* footer */
/* formulaire de contact */
.contact-info-item .contact-info-content .h3 {
	font-size: 20px;
    margin: 0;
    font-family: var(--accent-font);
    font-weight: 600;
    line-height: 1.2em;
    color: var(--primary-color);
}

.contact-info-item .contact-info-content p {
	font-size: 18px;
    margin: 0;
    font-family: var(--accent-font);
    font-weight: 400;
    line-height: 1.2em;
    color: var(--primary-color);
}

.contact-info-item .contact-info-content .h3 a {
    color: var(--primary-color);
    text-decoration: none;
}

.section-title .h3 {
    display: inline-block;
    position: relative;
    font-family: var(--default-font);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2em;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-color);
    padding-left: 25px;
    margin-bottom: 20px;
}

.form-group {
    position: relative;
}

.form-group:has(#intervention)::after {
    content: '\f107';
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    right: 25px;
    top: 15px;
    color: #7e7e7e;
    pointer-events: none;
    z-index: 2;
}

.page-header{
	background: url('../images/toiture-tuiles-mecanique-village.jpg');
}

/* État de base de la flèche */
.form-group::after {
    transition: transform 0.3s ease;
}

/* Rotation au clic/focus sur le select */
.form-group:focus-within::after {
    transform: rotate(180deg);
}

.contact-form-content form .form-control {
    color: #898989;
}

#intervention {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-right: 30px;
}

.contact-form-content p {
    color: var(--primary-color);
}

.text-orange {
    color: #ff6d0d;
}

.reassurance-badges {
    color: var(--primary-color);
}

/* formulaire de contact */
/* pages des catégories */
.about-item-content .h3 {
    width: 100%;
    max-width: 400px;
    font-size: 20px;
	margin: 0;
    font-family: var(--accent-font);
    font-weight: 600;
    line-height: 1.2em;
    color: var(--primary-color);
} 

.btn-default:hover{
	background-color: transparent;
	color: var(--white-color);
}

.section-title .h3::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    background: url(../images/icon-sub-heading-primary.svg) no-repeat;
    background-position: left center;
    background-size: cover;
    width: 16px;
    height: 16px;
}

.section-title h2 {
    cursor: default !important;
}

.orange-section {
    background-color: #ff66000f;
}

.approach-item-content h3 {
    text-transform: none;
}

.how-it-work {
    padding: 20px 0;
}

.how-work-benefit-box {
    margin-top: 0px;
    padding-top: 0px;
	border-top: none;
}

.work-benefits-item-content .h3 {
    font-size: 18px;
	margin: 0;
    font-family: var(--accent-font);
    font-weight: 600;
    line-height: 1.2em;
    color: var(--primary-color);
}

.footer-cta-box {
    background-color: var(--primary-color);
    padding: 80px 30px;
}

.footer-cta-body {
    margin-bottom: 30px;
}

.footer-cta-body h2 {
    color: var(--white-color);
	margin-bottom: 30px;
}

.footer-cta-body p {
    color: var(--white-color);
}

/*.cta-project-footer {
    padding: 20px 0;
}*/
/* pages des catégories */

/* articles / réalisations */
.page-article-header {
    position: relative;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed; /* Garde l'effet parallaxe */
    padding: 270px 0 170px;
    margin-top: -100px; /* Pour passer sous ton menu transparent si besoin */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Optionnel : Ajoute un voile sombre automatique pour que le titre ressorte toujours */
.page-article-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4); /* Ajuste l'opacité ici (0.4 = 40%) */
    z-index: 1;
}

.page-article-header .container {
    position: relative;
    z-index: 2; /* Pour passer au-dessus du voile sombre */
}

.swiper-slide figure {
    position: relative;
}
.wp-caption-text {
    position: absolute;
    bottom: 40px;
    left: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 5px 15px;
    font-size: 14px;
    border-radius: 4px;
    z-index: 10;
}

.icon-box-title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-weight: 700;
}

.icon-box-title img {
    width: 40px;
    height: auto;
    flex-shrink: 0;
}
.service-entry-item-content h3 {
    text-transform: none;
}

.service-entry-box-footer p a {
    text-transform: none;
}

.realisations h1 {
    font-size: 45px;
}
/* articles / réalisations */
/* page d'accueil */
.hero-counter-box .h3 {
    font-size: 20px;
    text-transform: none;
    color: var(--white-color);
    margin-bottom: 5px;
}

.why-choose-item-content .h3 {
    font-size: 20px;
    color: var(--white-color);
    margin-bottom: 10px;
}

.how-work-step-content .h3 {
    font-size: 20px;
    margin-bottom: 20px;
}

.how-work-step-no .h3 {
    font-size: 20px;
    color: var(--accent-color);
}

.testimonial-body .author-content .h3 {
    font-size: 20px;
    text-transform: capitalize;
}

.how-it-work-accueil {
    padding: 100px 0;
}

.testimonial-counter-no .h2 {
    font-size: 50px;
    color: var(--accent-color);
}

.hero-content-accueil {
    position: relative;
    width: 100%;
    max-width: 800px;
    z-index: 1;
}

.separator-bar {
    width: 100%;
    height: 20px;
    background-color: var(--primary-color);
    border: none;
    margin: 0;
}

.cta-project-footer .btn-default {
    background: var(--white-color);
    color: var(--primary-color);
}
/* page d'accueil */