/* Body */
body {
background: none;
}
/* Body */
/* Header*/
.btn.btn-clean-inverse {
    background-color: transparent;
    border-color: #28303d;
    color: #28303d !important;
	font-weight: 600;
}

.btn-clean-inverse:hover,.btn-clean-inverse:active {
    background-color: #28303d;
    border-color: #28303d;
    color: #fff !important;	
}

.topbar-offer a {
    font-size: 14px;
    color: var(--white-color);
    margin-bottom: 0;
    text-align: center;
}

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

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

.section-title .h2 {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2em;
    letter-spacing: -0.02em;
    color: var(--white-color);
    margin-bottom: 0;
    cursor: none;
}
.footer-links ul li {
    text-transform: none;
}

.icon-box i.fa-facebook-f {
    font-size: 20px;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

/*footer*/
/* Accueil */
.section-title .h3 {
    position: relative;
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6em;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-color);
    padding-left: 18px;
    margin-bottom: 15px;
}

.section-title .h3::before{
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    background: var(--accent-color);
    border-radius: 50%;
    width: 8px;
    height: 8px;
}

.section-title.dark-section p, .section-title.dark-section .h1, .section-title.dark-section .h2, .section-title.dark-section .h3{
    color: var(--white-color);
}

.about-customer-box .h2 {
    font-size: 46px;
    color: var(--white-color);
    margin-bottom: 10px;
}

.work-counter-item .h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
}

.work-facility-content .h3 {
    font-size: 20px;
    text-transform: none;
    margin-bottom: 10px;
}

.post-item-content h2, .post-item-content h3{
    font-size: 20px;
    line-height: 1.4em;
    color: var(--primary-color);
    margin-bottom: 15px;
}
.our-work-list ul li, .service-item-content h3, .service-item-content h3, .about-customer-box p, .about-customer-box p, .about-item-content h3, .btn-services {
    text-transform: none;
}

.service-item-content h3 a {
    color: var(--primary-color);
    text-decoration: none;
    position: relative;
    display: inline-block;
    transition: color 0.3s ease, transform 0.3s ease;
}

.service-item-content h3 a:hover {
    color: var(--accent-color, #297a04);
    transform: translateX(4px);
}

.service-item-content h3 a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--accent-color, #297a04);
    transition: width 0.3s ease;
}

.service-item-content h3 a:hover::after {
    width: 100%;
}

.our-work-accueil {
    padding: 20px 0;
}

/* Accueil */
/* les pages des services */
.section-title-services {
    position: relative;
    margin-bottom: 40px;
    z-index: 1;
}

.section-title-services h2 {
    font-size: 46px;
    font-weight: 700;
    line-height: 1.2em;
    letter-spacing: -0.02em;
    color: var(--primary-color);
    margin-bottom: 0;
    cursor: none;
}

.section-title-services.dark-section p, .section-title-services.dark-section h2, .section-title-services.dark-section .h1, .section-title-services.dark-section .h2, .section-title-services.dark-section .h3, .footer-cta-body h2, .footer-cta-body p {
    color: var(--white-color);
}

.section-title-services .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: #297a04;
    padding-left: 25px;
    margin-bottom: 20px;
}

.section-title-services .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;
}

.about-us-item .icon-box {
    background-color: #297a04;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 30px;
}

.about-us-item:nth-child(even) .icon-box {
    background-color: #0684ad;
}

.about-us-item {
    flex-wrap: nowrap;
}

.about-us-content-list, .project-entry-list {
    margin-bottom: 30px;
}

.about-us-content-list ul, .project-entry-list ul{
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 20px;
}

.about-us-content-list ul li, .project-entry-list ul li{
	position: relative;
	width: calc(50% - 10px);
	color: var(--primary-color);
	padding-left: 25px;
}

.about-us-content-list ul li::before, .project-entry-list ul li::before{
	content: '\f00c';
	position: absolute;
    font-family: 'FontAwesome';
    font-weight: 900;
    font-size: 18px;
	top: 10px;
	left: 0;
	color: var(--accent-color);
}

.mission-vision-box{
    background-color: #fff;
}

.project-entry ul li {
    text-transform: none;
    color: var(--text-color);
}

.features-img-1 figure {
    display: block;
}

.btn-services{
	position: relative;
	display: inline-block;
	font-family: var(--accent-font);
	font-size: 16px;
	font-weight: 600;
	line-height: 1em;
	text-transform: uppercase;
	background: var(--primary-color);
	color: var(--white-color);
	padding: 17px 16px 17px 16px;
	margin-right: 50px;
	border: none;
	transition: all 0.5s ease-in-out;
	z-index: 1;
}

.btn-services:hover{
	background-color: transparent;
}

.btn-services::before{
	content: '';
	position: absolute;
	top: 0;
	right: -50px;
	background-color: var(--accent-color);
	background-image: url('../images/arrow-btn.svg');
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 24px auto;
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.4s ease-in-out;
}

.btn-services:hover::before{
	background-color: var(--primary-color);
}

.btn-services::after{
	content: '';
    display: block;
    position: absolute;
	top: 0;
    left: auto;
	right: 0;
    bottom: 0;
	width: 0;
	height: 100%;
    background: var(--accent-color);
    transition: all 0.4s ease-in-out;
	z-index: -1;
}

.btn-services:hover:after{
	width: 100%;
	left: 0;
	right: auto;
}

.our-work-image-services{
	position: relative;
	display: flex;
	align-items: end;
	justify-content: center;
	padding: 230px 180px 0 0;
	margin-right: 110px;
}

.our-work-image-services:before{
	content: '';
	position: absolute;
	width: 90%;
	height: 80%;
	top: 50%;
	left: 4px;
	transform: translateY(-50%);
	background: #297a04;
	border-radius: 80px;
	z-index: -1;
}

.footer-cta-box {
    background-color: #1e1e1e;
    padding: 80px 30px;
}

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

.work-facility-list {
    border-top: none;
    margin-top: 20px;
    padding: 20px 20px;
}

.svg-assurance {
    color: var(--primary-color);
    display: block;
    margin: auto;
}

.about-facility-content p, .mission-vision-nav ul li .nav-link {
    text-transform: none;
}
/* les pages des services */
/* Contact */
.form-control {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6em;
    color: var(--text-color);
    padding: 11px 20px;
    border: 1px solid #898989;
    border-radius: 0;
    box-shadow: none;
    outline: none;
    background: transparent;
}
.form-group:has(#intervention) {
    position: relative;
}

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

.form-group:has(#intervention):focus-within::after {
    transform: translateY(-50%) rotate(180deg); 
}

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

.section-title .title-contact{
color: var(--primary-color);
}

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

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

.text-orange {
    color: #ff6d0d;
}

.text-vert {
    color: #297a04;
}

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

.contact-info-content .h3 {
    font-size: 20px;
    margin-bottom: 20px;
}
.wpcf7-form .btn-services {
    transition: all 0.3s ease;
    border: 1px solid var(--accent-color) !important;
}

.wpcf7-form .btn-services:hover {
    background-color: transparent !important;
    color: var(--accent-color) !important;
    border: 1px solid var(--accent-color) !important;
    transition: all 0.3s ease;
}

.contact-info-item .icon-box {
    background: #297a04;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease-in-out;
    
    /* TRUC DE NINJA : Force le lissage matériel pour éviter la saccade au survol */
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

.contact-info-item {
    border: 1px solid #297a04;
    height: calc(100% - 30px);
    margin-bottom: 30px;
    padding: 30px;
}

.contact-info-item:hover .icon-box{
    background: var(--primary-color);
}

.contact-info-item .icon-box img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    transition: all 0.3s ease-in-out; 
    transform: translateZ(0); 
}
.petitepolice {
    font-size: 20px !important;
}

.btn-default {
    text-transform: none;
}
/* Contact */
/* Pages réassurance */
.sidebar-cta-title h2 {
    font-size: 20px;
    text-transform: none;
    color: var(--white-color);
    margin-bottom: 20px;
}

.sidebar-cta-title p {
    color: var(--secondary-color);
}

.sidebar-cta-title a, .sidebar-cta-contact a {
    color: var(--secondary-color);
}

.service-category-list .h3, .project-category-list .h3 {
    font-size: 20px;
    font-weight: 600;
    text-transform: capitalize;
    background-color: #297a04;
    color: var(--white-color);
    padding: 18px 30px;
}

.service-category-list {
    border: 1px solid #297a04;
    padding: 0px;
}

.service-category-list ul {
    list-style: none;
    margin: 0;
    padding: 30px;
}

.service-category-list ul li {
    position: relative;
    background-color: var(--white-color);
    border-bottom: 1px solid var(--divider-color);
    padding-bottom: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease-in-out;
}

.sidebar-cta-title h3 {
    color: var(--white-color);
	padding-bottom: 20px;
	font-weight: 400;
}

h2.title-section {
    font-size: 30px;
}

.sidebar-cta-box {
    background-color: #297a04;
}

.service-sidebar {
    position: sticky;
    top: 30px;
    margin-right: 30px;
	align-self: flex-start;
}

@media only screen and (max-width: 991px){
	.service-sidebar{
		position: initial;
		margin-right: 0;
		margin-bottom: 30px;
	}
}

.service-category-list ul li a {
    text-transform: none;
}

/* Pages réassurance */
/* Général ba de css */
.h1, .h2, .h3, .h4, .h5, .h6{
    margin: 0;
    font-weight: 700;
    line-height: 1.2em;
    color: var(--primary-color);
}

li.breadcrumb-item.active {
    color: #297a04 !important;
}

.page-header-box {
    text-align: left;
}

.page-header-box ol {
    justify-content: left;
}

.page-header-box ol li.breadcrumb-item {
    text-transform: none;
}
	
.page-header-box h1 {
    font-size: 60px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
}
/* Général */

/* page devis */
.devis-wrapper {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    max-width: 960px;
    margin: 0 auto;
    border: 1px solid #f0f0f0;
}
.devis-badge {
    background: #eef7ff;
    color: var(--primary-color, #3450A3);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 12px;
}
.devis-header h2 {
    font-size: 1.8rem;
    color: #1e293b;
    margin-bottom: 10px;
}
.devis-intro-text {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 35px;
}
.devis-section {
    margin-bottom: 35px;
}
.devis-section-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.step-number {
    background: var(--primary-color, #3450A3);
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}
.presta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 16px;
}
.presta-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}
.presta-checkbox {
    display: none !important;
}
.presta-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 18px 10px;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    width: 100%;
    min-height: 110px;
    box-sizing: border-box;
}
.presta-card:hover {
    border-color: var(--primary-color, #3450A3);
}
.presta-icon-box {
    color: var(--primary-color, #3450A3);
    margin-bottom: 8px;
}
.presta-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #334155;
    text-align: center;
}
.check-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 20px;
    height: 20px;
    background: var(--accent-color, #297a04);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
    opacity: 0;
    transform: scale(0);
    transition: all 0.2s ease;
}

/* État Sélectionné */
.presta-item.selected .presta-card {
    border-color: var(--accent-color, #297a04);
    background: #f0fdf4;
}
.presta-item.selected .presta-icon-box {
    color: var(--accent-color, #297a04);
}
.presta-item.selected .presta-label {
    color: #166534;
    font-weight: 700;
}
.presta-item.selected .check-badge {
    opacity: 1;
    transform: scale(1);
}

/* Sélecteur de Quantité */
.qty-selector {
    display: none;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border: 2px solid var(--accent-color, #297a04);
    border-radius: 8px;
    margin-top: 8px;
    padding: 3px 6px;
    width: 100%;
    box-sizing: border-box;
}
.presta-item.selected .qty-selector {
    display: flex;
}
.btn-qty {
    width: 30px;
    height: 30px;
    border: none;
    background: #e2e8f0;
    color: #0f172a;
    font-weight: 700;
    font-size: 1.2rem;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
}
.btn-qty:hover {
    background: #cbd5e1;
}
.qty-selector input[type="number"] {
    width: 40px;
    border: none;
    text-align: center;
    font-weight: 700;
    font-size: 1rem;
    color: #0f172a;
    background: transparent;
    outline: none;
    padding: 0;
    margin: 0;
    -moz-appearance: textfield;
}
.qty-selector input::-webkit-outer-spin-button,
.qty-selector input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Champs & RGPD */
.input-group-custom input,
.input-group-custom textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 0.95rem;
    background: #f8fafc;
    box-sizing: border-box;
}
.input-group-custom input:focus,
.input-group-custom textarea:focus {
    outline: none;
    border-color: var(--primary-color, #3450A3);
    background: #ffffff;
}
.rgpd-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.4;
}

.rgpd-box input[type="checkbox"] {
    margin-top: 4px;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.rgpd-box label {
    font-size: 0.85rem;
    line-height: 1.4;
    cursor: pointer;
    margin: 0;
}