@charset "UTF-8";
/*
Theme Name: CPGA CUSTOM THEME
Author: Toi
Version: CPGA
*/

html {
  scroll-behavior: smooth;
}

/* RESET */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

pre {
	overflow: auto;
}

h1:first-child,
h2:first-child,
h3:first-child,
h4:first-child,
h5:first-child,
h6:first-child {
	margin-top: 0;
}

h1:last-child,
h2:last-child,
h3:last-child,
h4:last-child,
h5:last-child,
h6:last-child {
	margin-bottom: 0;
}

img {
	max-width: 100%;
	height: auto;
}

input[type="submit"],
button,
a {
	transition: .3s;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea,
select {
	border: 1px solid var(--wp--preset--color--primary, #adadad);
	padding: 16px 18px;
	border-radius: 6px;
	background: #ffffff;
}

select {
	height: 55px;
}

textarea {
	width: 100%;
	font-family: inherit;
}

label {
	margin-bottom: 10px;
	display: inline-block;
}

label:last-child {
	margin-bottom: 0;
}

.breadcrumbs {
	text-align: center;
	font-size: 14px;
}

.breadcrumbs a {
	text-decoration: none;
}

.breadcrumbs a:hover {
	text-decoration: underline;
}

/* ------- */

/* GLOBAL STYLE */
html {
	margin-top: 0px !important;
	background: #EFFAF9;
}

main {
	margin-block-start: 0px !important;
}

/* TITLE STYLE */
/* .wp-block-heading em {
	color: var(--wp--preset--color--secondary) !important;
} */

/* BUTTON HOVER STYLE */
.wp-block-button__link {
	transition: all 0.25s ease;
}

.wp-block-button__link:hover {
	background-color: var(--wp--preset--color--secondary);
	color: #fff;
	transform: translateY(-2px);
}

.wp-element-button {
	cursor: pointer;
}

/* ------- */


/* HEADER */

.admin-bar .site-header {
	margin-top: 32px;
}

/* LOGOS */
.site-header .logo-light {
	display: none;
}

.site-header.with-background .logo-dark {
	display: none;
}

.site-header.with-background .logo-light {
	display: block;
}

.site-header.with-background.is-scrolled .logo-dark {
	display: block;
}

.site-header.with-background.is-scrolled .logo-light {
	display: none;
}

.header-sticky {
	position: sticky;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 9999;
	transition: all .25s ease;
}

.header-fixed {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 9999;
	transition: all .25s ease;
}

.site-header:not(.with-background) {
	border-bottom: 1px solid #e3e3e3;
}

.site-header.is-scrolled {
	background: #EFFAF9;
	box-shadow: 0 10px 20px rgba(0, 0, 0, .02);
	border-bottom: 1px solid #e3e3e3;
}

.site-header .nav-responsive .wp-block-navigation-submenu {
	padding: 24px 0;
}

.site-header .nav-responsive ul.wp-block-navigation-submenu {
	box-shadow: 0 20px 30px rgba(0, 0, 0, .05);
	padding: 15px !important;
}

@media (min-width: 900px) {

	.site-header.with-background:not(.is-scrolled) .nav__cta a {
		background: var(--wp--preset--color--white) !important;
		color: var(--wp--preset--color--primary) !important;
	}

	.site-header .nav-responsive .wp-block-navigation-item {
		position: relative;
	}

	.site-header .nav-responsive .wp-block-navigation-item a,
	.site-header .nav-responsive .wp-block-navigation-submenu a {
		transition: none !important;
	}

	.site-header.with-background:not(.is-scrolled) .nav-responsive .wp-block-navigation-item a,
	.site-header.with-background:not(.is-scrolled) .nav-responsive .wp-block-navigation-submenu>a {
		color: var(--wp--preset--color--white) !important;
	}
	.site-header.with-background:not(.is-scrolled) .nav-responsive .wp-block-navigation-submenu .wp-block-navigation-item a {
		color: var(--wp--preset--color--gray) !important;
	}

	.site-header.with-background:not(.is-scrolled) .nav-responsive .wp-block-navigation-submenu svg {
		stroke: var(--wp--preset--color--white);
	}

	.site-header .nav-responsive ul.wp-block-navigation-submenu {
		opacity: 0;
		visibility: hidden;
		position: absolute !important;
		top: 100%;
		left: 0 !important;
		background: #EFFAF9;
		min-width: 240px;
		z-index: 999;
		color: var(--wp--preset--color--gray);
		border: none;
		border-top: 1px solid #e3e3e3;
	}
}

/* Breakpoint custom du menu */
@media (max-width: 900px) {

	.nav-responsive .wp-block-navigation__responsive-container:not(.is-menu-open) {
		display: none !important;
	}

	.nav-responsive .wp-block-navigation__responsive-container-open {
		display: flex;
	}

	.is-menu-open .wp-block-navigation__responsive-container-content {
		align-items: center !important;
	}

	.is-menu-open .wp-block-navigation-item a,
	.is-menu-open .wp-block-navigation-submenu a {
		color: var(--wp--preset--color--gray) !important;
	}

	.is-menu-open ul,
	.is-menu-open li {
		align-items: center !important;
	}
}

/* ------- */

/* STATS BLOCK */
.cpga-performance__block {
	--separator: 1px;
	--separator-color: var(--wp--preset--color--white);

	display: flex;
	flex-wrap: wrap;
	gap: var(--separator);
	background: var(--separator-color);
}

.cpga-performance__block .cpga-performance__column {
	background: var(--wp--preset--color--secondary);
	flex: 1 1 240px;
	/* largeur mini avant retour ligne */
	padding: 24px 16px;
	text-align: center;
}

/* ------- */



/* BANNER BLOCK */
@media (max-width: 781px) {
	.cpga-banner__content {
		border-radius: 8px !important;
	}

	.cpga-banner__media {
		margin-top: 24px !important;
		border-radius: 8px !important;
	}
}

/* ------- */

/* wp-block-search styles */
.wp-block-search__button-inside .wp-block-search__inside-wrapper {
	padding: 0;
	border-radius: 6px;
	border-color: #e3e3e3;
	overflow: hidden;
}

.wp-block-search__button-inside .wp-block-search__input {
	border: 0;
	border-radius: 0;
}

.wp-block-search__button-inside .wp-block-search__button {
	background: transparent;
	border-radius: 0;
	color: var(--wp--preset--color--primary);
	padding: 10px;
	margin: 0;
}

.wp-block-search__button-inside .wp-block-search__button svg {
	width: 30px;
	height: 30px;
}

.wp-block-search__button-inside .wp-block-search__button:hover {
	color: var(--wp--preset--color--secondary);
	background: transparent;
}



/* wp-block-latest-posts styles */
.wp-block-latest-posts:after {
	content: '';
	display: table;
	clear: both;
}

.wp-block-latest-posts a {
	color: inherit;
}

.wp-block-latest-posts a:hover {
	text-decoration: none;
	color: var(--wp--preset--color--secondary);
}

.wp-block-latest-posts li {
	margin-bottom: 35px;
}

.wp-block-latest-posts .wp-block-latest-posts__post-title {
	font-weight: 700;
	color: var(--wp--preset--color--primary);
	margin-bottom: 10px;
	display: block;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.wp-block-latest-posts__featured-image img {
	border-radius: 50%;
}

.wp-block-latest-posts__featured-image.alignleft {
	margin-right: 20px;
}

.wp-block-latest-posts__featured-image.alignright {
	margin-left: 20px;
}

.wpcf7-submit {
	background-color: var(--wp--preset--color--primary);
	border-radius: 16px;
}

/* wp-block-separator styles */
.wp-block-separator {
	height: 1px !important;
	border: 0 !important;
}

/* wpcf7 form styles */
.wpcf7-form label,
.wpcf7-form input {
	width: 100%;
}

.wpcf7-response-output {
	border: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.wpcf7-form textarea {
	resize: vertical;
	height: 180px;
}

/* form styles */
#custom-login-form,
.custom-login-welcome {
	margin: 40px auto !important;
	padding: 30px;
	background-color: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--gray-light);
	border-radius: 20px;
	font-family: var(--wp--preset--font-family--inter);
	color: var(--wp--preset--color--gray);
}

.custom-login-welcome h3 {
	font-family: var(--wp--preset--font-family--poppins);
	color: var(--wp--preset--color--primary);
	margin-bottom: 15px;
	font-size: var(--wp--preset--font-size--large);
	font-weight: 600;
}

#custom-login-form p {
	display: flex;
	flex-direction: column;
	margin-bottom: 20px;
}

#custom-login-form label {
	display: block;
	width: 100%;
	font-family: var(--wp--preset--font-family--poppins);
	color: var(--wp--preset--color--primary);
	font-weight: 600;
	font-size: var(--wp--preset--font-size--small);
	margin-bottom: 8px;
}

/* Champs de saisie (Inputs) */
#custom-login-form input[type="text"],
#custom-login-form input[type="password"] {
	width: 100%;
	padding: 14px;
	border: 1px solid var(--wp--preset--color--gray-light);
	background-color: var(--wp--preset--color--background);
	border-radius: 10px;
	font-family: var(--wp--preset--font-family--inter);
	color: var(--wp--preset--color--gray);
}

#custom-login-form input[type="text"]:focus,
#custom-login-form input[type="password"]:focus {
	border-color: var(--wp--preset--color--primary);
	outline: none;
}

#custom-login-form .login-remember {
	display: flex;
	align-items: center;
	gap: 8px;
}

#custom-login-form .login-remember label {
	display: inline;
	font-family: var(--wp--preset--font-family--inter);
	color: var(--wp--preset--color--gray);
	font-weight: 400;
	margin-bottom: 0;
}

#custom-login-form input[type="checkbox"] {
	accent-color: var(--wp--preset--color--primary);
	cursor: pointer;
}

#custom-login-form input[type="submit"] {
	width: 100%;
	background-color: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--white);
	font-family: var(--wp--preset--font-family--poppins);
	font-weight: 600;
	padding: 14px 24px;
	border: none;
	border-radius: 16px;
	cursor: pointer;
	transition: opacity 0.2s ease;
	font-size: var(--wp--preset--font-size--normal);
}

#custom-login-form input[type="submit"]:hover {
	opacity: 0.9;
}

.custom-login-btn-secondary {
	display: inline-block;
	text-align: center;
	text-decoration: none;
	background-color: var(--wp--preset--color--secondary);
	color: var(--wp--preset--color--white) !important;
	font-family: var(--wp--preset--font-family--poppins);
	font-weight: 600;
	padding: 14px 24px;
	border-radius: 16px;
	transition: opacity 0.2s ease;
}

.custom-login-btn-secondary:hover {
	opacity: 0.9;
}
.overflow-hidden {
	overflow: hidden;
}


/* PAGINATION */
.wp-block-query-pagination .wp-block-query-pagination-previous,
.wp-block-query-pagination .wp-block-query-pagination-next {
	border: 1px solid var(--wp--preset--color--primary);
	border-radius: 6px;
	line-height: 1;
	padding: 11px 15px;
	font-weight: 900;
	color: var(--wp--preset--color--primary);
}

.wp-block-query-pagination .wp-block-query-pagination-previous-arrow,
.wp-block-query-pagination .wp-block-query-pagination-next-arrow {
	font-weight: 900;
	margin: 0 5px;
}

.wp-block-query-pagination > .wp-block-query-pagination-numbers {
	display: flex;
	gap: 31px;
	margin: 10px;
}

.wp-block-query-pagination > .wp-block-query-pagination-numbers .page-numbers {
	color: var(--wp--preset--color--primary);
}
.wp-block-query-pagination > .wp-block-query-pagination-numbers .page-numbers.current {
	color: var(--wp--preset--color--gray);
}

.waves-pattern {
    position: relative;
}
@media (min-width: 769px) {
	.waves-pattern::after {
		content: "";
		position: absolute;
		bottom: -50px;
		left: -75px;
			background-image: url('/wp-content/uploads/2026/06/pattern_waves-3_2.5_2_0-0_0_1__hsla240-7_-18_-0.00_hsla202-90_-38_-1.00_hsla202-90_-38_-1.00_hsla202-90_-38_-1.00_hsla202-90_-38_-1.00-11.png');
		
		background-repeat: repeat-x;
		background-size: contain;
		pointer-events: none; 

		width: 430px;
		height: 430px;
	}
}