/*
Theme Name: OnePress Edatis
Theme URI: https://edatis.com/
Description: Thème enfant OnePress modernisé pour Edatis, basé sur OnePress 2.3.21.
Author: Edatis
Author URI: https://edatis.com/
Template: onepress
Version: 1.1.0
Requires at least: 6.9
Tested up to: 7.0.2
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: onepress-edatis
*/

:root {
	--wp--preset--color--primary: #1754a5;
	--onepress-primary-color: #1754a5;
	--edatis-primary: #1754a5;
	--edatis-ink: #20353d;
	--edatis-footer-dark: #16252b;
}

html,
body,
button,
input,
select,
textarea {
	font-family: "Open Sans", Helvetica, Arial, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
.site-branding .site-title,
.site-branding .site-text-logo,
.onepress-menu a {
	font-family: "Titillium Web", Helvetica, Arial, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	color: #20353d;
}

::-moz-selection {
	background: #1754a5;
	color: #fff;
}

::selection {
	background: #1754a5;
	color: #fff;
}

a,
.highlight,
.header-social a,
.onepress-menu a:hover,
.onepress-menu li.onepress-current-item > a,
.onepress-menu ul li.current-menu-item > a,
.onepress-menu > li a.menu-actived,
.section-contact .address-contact span {
	color: #1754a5;
}

input[type="button"],
input[type="reset"],
input[type="submit"],
button,
.btn-theme-primary {
	background-color: #1754a5;
}

.btn-theme-primary-outline {
	border-color: #1754a5;
	color: #1754a5;
	font-size: 0.9rem;
	min-height: 50px;
	line-height: 2.5;
	width: min(100%, 271px);
}

.btn-theme-primary-outline:hover,
.btn-theme-primary-outline:focus {
	background-color: #1754a5;
	border-color: #1754a5;
	color: #fff;
}

.entry-content blockquote {
	border-left-color: #1754a5;
}

.section-meta {
	background-color: #e2eef0;
}

.section-features,
.section-news {
	background-color: #f8f9f9;
}

.section-title-area {
	margin-bottom: 2.5rem;
}

.section-title-area .section-title {
	font-weight: 700;
}

.section-desc {
	margin-top: 0;
	text-align: center;
}

/* Hero Edatis historique, adapté aux écrans modernes. */
.hero-slideshow-wrapper {
	background-color: #fff;
}

.hero-slideshow-wrapper::after {
	background-color: transparent;
}

.hero-content-style1 {
	max-width: 547px;
	text-align: left;
	width: 100%;
}

.hero-content-style1 h2 {
	font-size: 42px;
	font-weight: 300;
	min-height: 110px;
}

.hero-content-style1 h2 strong {
	font-size: 1.2em;
	font-weight: 700;
}

.hero-content-style1 p {
	font-size: 22px;
	font-style: normal;
	font-weight: 300;
}

/* Cartes Services : dimensions et hiérarchie visuelle historiques. */
.section-services .service-item {
	min-height: 300px;
}

.section-services .service-item .service-image {
	float: none;
	height: 36px;
}

.section-services .service-item .service-image img {
	height: auto;
	max-height: 64px;
	max-width: 167px;
}

.section-services .service-item .service-image i {
	color: #1754a5;
}

.section-services .service-item .service-content {
	margin-top: 20px;
}

.section-services .service-item .service-content a,
.section-services .service-item .service-content a:hover,
.section-services .service-item .service-content a:visited {
	color: #777 !important;
	text-decoration: none !important;
}

.section-services .service-item .service-title {
	display: none;
}

.section-videolightbox {
	background: #fff;
}

.section-videolightbox .videolightbox__heading {
	color: #20353d;
}

/* Footer Edatis. */
.site-footer {
	background: #20353d;
	color: #bbb;
}

.site-footer .footer-connect.edatis-footer {
	padding: 3rem 0;
	text-align: left;
}

.edatis-footer__newsletter {
	margin-bottom: 2.5rem;
	text-align: center;
}

.edatis-footer__grid {
	align-items: flex-start;
}

.edatis-footer .follow-heading {
	color: #fff;
	font-size: 0.9375rem;
	letter-spacing: 0.8px;
	margin-bottom: 0.75rem;
}

.edatis-footer__logo-link,
.edatis-footer__solution-link {
	display: inline-block;
}

.edatis-footer__logo {
	height: auto;
	max-width: 266px;
	width: 100%;
}

.edatis-footer__solution-logo {
	height: auto;
	max-width: 176px;
	width: 100%;
}

.edatis-footer__tagline {
	color: #fff;
	font-weight: 600;
	margin: 0.75rem 0 0;
	max-width: 28rem;
}

.edatis-footer__links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.edatis-footer__links li {
	margin: 0 0 0.35rem;
}

.edatis-footer .footer-block,
.edatis-footer .footer-block:visited {
	color: #fff;
	text-decoration: none;
}

.edatis-footer .footer-block:hover,
.edatis-footer .footer-block:focus {
	color: #fff;
	text-decoration: underline;
}

.edatis-footer .footer-social {
	text-align: left;
}

.edatis-footer .footer-social a {
	color: #fff;
	font-size: 28px;
	margin: 0 16px 0 0;
}

.edatis-footer .footer-social a:hover,
.edatis-footer .footer-social a:focus {
	color: #8eb4e7;
}

.site-footer .site-info {
	background: #16252b;
}

.site-footer .btt a {
	background: #16252b;
	color: #fff;
}

.site-footer .btt a:hover,
.site-footer .btt a:focus {
	color: #8eb4e7;
}

/* Styles historiques de la section RGPD. */
#rgpd .section-subtitle {
	color: #20353d;
	font-size: 28px;
}

.section-news .no-results {
	display: none;
}

.section-news .all-news {
	margin-top: 0;
}

@media screen and (max-width: 991px) {
	.edatis-footer__column {
		margin-bottom: 2rem;
	}
}

@media screen and (max-width: 480px) {
	.hero-content-style1 h2 {
		font-size: 18px;
		min-height: 80px;
	}

	.hero-content-style1 p {
		font-size: 14px;
		min-height: 50px;
	}
}

/* Recovered May 2026 Edatis homepage. The editorial content remains in WordPress. */
.edatis-home .entry-content,
.edatis-home .entry-content > * {
	margin: 0;
	max-width: none;
}

.edatis-home .edatis-hero {
	background-color: #28204f;
	background-image: url("/wp-content/uploads/2020/10/hub-1.jpg");
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	height: 590px;
	min-height: 420px;
	position: relative;
}

.edatis-home .edatis-section {
	padding: 76px 0;
	scroll-margin-top: 76px;
}

.edatis-home .edatis-section--muted {
	background: #eef5f6;
}

.edatis-home .edatis-section--dark {
	background: linear-gradient(135deg, #28204f 0%, #3b286a 100%);
	color: #fff;
}

.edatis-home .edatis-container {
	margin: 0 auto;
	max-width: 1170px;
	padding: 0 24px;
	width: 100%;
}

.edatis-home .edatis-title {
	color: #20353d;
	font-size: clamp(2rem, 4vw, 2.75rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	margin: 0 0 34px;
	text-align: center;
}

.edatis-home .edatis-section--dark .edatis-title {
	color: #fff;
}

.edatis-home .edatis-lead {
	font-size: 1.15rem;
	line-height: 1.8;
	margin: 0 auto 24px;
	max-width: 960px;
	text-align: center;
}

.edatis-home .edatis-story {
	font-size: 1.05rem;
	line-height: 1.8;
	margin: 0 auto;
	max-width: 1000px;
}

.edatis-home .edatis-story p {
	margin: 0 0 1.25rem;
}

.edatis-home .edatis-highlight {
	border-left: 4px solid #1754a5;
	font-size: 1.08rem;
	margin-top: 2rem;
	padding: 0.2rem 0 0.2rem 1.5rem;
}

.edatis-home .edatis-grid {
	display: grid;
	gap: 28px;
}

.edatis-home .edatis-grid--three {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.edatis-home .edatis-card {
	background: #fff;
	border: 1px solid #dce7e9;
	border-radius: 12px;
	box-shadow: 0 12px 30px rgba(32, 53, 61, 0.08);
	padding: 34px 30px;
	text-align: center;
}

.edatis-home .edatis-card__logo {
	display: block;
	height: 42px;
	margin: 0 auto 22px;
	max-width: 190px;
	object-fit: contain;
	width: auto;
}

.edatis-home .edatis-card h3 {
	color: #1754a5;
	font-size: 1.55rem;
	margin: 0 0 6px;
}

.edatis-home .edatis-card h4 {
	color: #20353d;
	font-size: 1.05rem;
	font-weight: 600;
	margin: 0 0 18px;
}

.edatis-home .edatis-card p {
	line-height: 1.7;
	margin: 0;
}

.edatis-home .edatis-timeline {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	list-style: none;
	margin: 42px 0 0;
	padding: 0;
}

.edatis-home .edatis-timeline li {
	align-items: center;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 8px 24px rgba(32, 53, 61, 0.08);
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 150px;
	padding: 24px 18px;
	text-align: center;
}

.edatis-home .edatis-timeline time {
	color: #1754a5;
	font-size: 1.2rem;
	font-weight: 700;
	margin-bottom: 14px;
}

.edatis-home .edatis-timeline img {
	height: 62px;
	max-width: 190px;
	object-fit: contain;
	width: auto;
}

.edatis-home .edatis-value {
	padding-top: 6px;
	text-align: center;
}

.edatis-home .edatis-value__icon {
	align-items: center;
	background: #1754a5;
	border-radius: 50%;
	color: #fff;
	display: inline-flex;
	font-size: 1.5rem;
	height: 64px;
	justify-content: center;
	margin-bottom: 18px;
	width: 64px;
}

.edatis-home .edatis-value h3 {
	font-size: 1.4rem;
	margin: 0 0 14px;
}

.edatis-home .edatis-value p {
	line-height: 1.75;
	margin: 0;
}

.edatis-home .edatis-counters {
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	text-align: center;
}

.edatis-home .edatis-counter strong {
	color: #fff;
	display: block;
	font-size: clamp(2rem, 4vw, 3.25rem);
	font-weight: 700;
	line-height: 1;
	margin-bottom: 12px;
}

.edatis-home .edatis-counter span {
	font-size: 1rem;
}

.edatis-home .edatis-references {
	align-items: center;
	display: grid;
	gap: 22px;
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

.edatis-home .edatis-reference {
	align-items: center;
	background: #fff;
	border: 1px solid #e1eaec;
	border-radius: 8px;
	display: flex;
	justify-content: center;
	min-height: 128px;
	padding: 18px;
}

.edatis-home .edatis-reference img {
	height: auto;
	max-height: 92px;
	max-width: 100%;
	object-fit: contain;
}

.edatis-home .edatis-rgpd {
	text-align: center;
}

.edatis-home .edatis-button,
.edatis-home .edatis-button:visited {
	background: #1754a5;
	border: 2px solid #1754a5;
	border-radius: 4px;
	color: #fff;
	display: inline-block;
	font-weight: 700;
	margin-top: 16px;
	padding: 13px 24px;
	text-decoration: none;
}

.edatis-home .edatis-button:hover,
.edatis-home .edatis-button:focus {
	background: #fff;
	color: #1754a5;
}

.edatis-home .edatis-contact {
	display: grid;
	gap: 56px;
	grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
}

.edatis-home .edatis-contact h3 {
	font-size: 1.5rem;
	margin: 0 0 22px;
}

.edatis-home .edatis-contact__details {
	background: #eef5f6;
	border-radius: 10px;
	padding: 30px;
}

.edatis-home .edatis-contact__details p {
	line-height: 1.8;
	margin: 0 0 18px;
}

.edatis-home .wpcf7 label {
	color: #20353d;
	display: block;
	font-weight: 600;
	margin-bottom: 18px;
}

.edatis-home .wpcf7 input:not([type="submit"]),
.edatis-home .wpcf7 textarea {
	background: #fff;
	border: 1px solid #cad8db;
	border-radius: 4px;
	margin-top: 7px;
	max-width: 100%;
	padding: 11px 12px;
	width: 100%;
}

.edatis-home .wpcf7 input[type="submit"] {
	border: 0;
	border-radius: 4px;
	font-weight: 700;
	padding: 13px 28px;
}

.edatis-footer__brand .custom-logo {
	height: auto;
	max-width: 266px;
	width: 100%;
}

@media screen and (max-width: 991px) {
	.edatis-home .edatis-grid--three,
	.edatis-home .edatis-timeline {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.edatis-home .edatis-references {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.edatis-home .edatis-contact {
		grid-template-columns: 1fr;
	}
}

@media screen and (max-width: 767px) {
	.edatis-home .edatis-hero {
		background-size: cover;
		height: 360px;
		min-height: 0;
	}

	.edatis-home .edatis-section {
		padding: 56px 0;
	}

	.edatis-home .edatis-grid--three,
	.edatis-home .edatis-timeline,
	.edatis-home .edatis-counters {
		grid-template-columns: 1fr;
	}

	.edatis-home .edatis-references {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media screen and (max-width: 420px) {
	.edatis-home .edatis-hero {
		height: 280px;
	}

	.edatis-home .edatis-container {
		padding: 0 18px;
	}

	.edatis-home .edatis-references {
		grid-template-columns: 1fr;
	}
}
