/*
	Theme Name: Le Périscope
	Theme URI:
	Author: Agence Cactus
	Author URI: https://agence-cactus.fr/
	Description: Base de thème.
	Version: 1.0.0
	Tags: base, theme
	Text Domain: base_theme
*/


/**
 * BASE 2026
 */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@400;500;600;700&family=Roboto:wght@400;500;700&family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
	--color-bleu: #00AFCB;
	--color-noir: #1D1D1B;
	--color-light-bleu: #D2EEF3;
	--color-blanc: #FAFAFA;
	--color-gris-texte: #555555;
	--color-gris-meta: #888888;

	--font-family: 'Roboto', sans-serif;
	--font-family-heading: 'Roboto Slab', serif;

	--container-max: 1400px;
	--container-padding: 60px;

	--section-gap: 80px;
	--title-xxxl: 160px;
	--title-xxl: 60px;
	--title-xl: 44px;
	--title-lg: 32px;
	--title-md: 26px;
	--title-mb: 22px;
	--title-sm: 20px;
	--text-lg: 18px;
	--text-base: 16px;
	--text-sm: 14px;
	--text-xs: 12px;
}

@media screen and (max-width: 1200px) {
	:root {
		--title-xxxl: 110px;
		--section-gap: 70px;
	}
}

@media screen and (max-width: 990px) {
	:root {
		--container-padding: 40px;
		--section-gap: 60px;

		--title-xxxl: 85px;
		--title-xxl: 55px;
		--title-xl: 42px;
		--title-lg: 36px;
		--title-md: 28px;
		--title-mb: 20px;
		--title-sm: 20px;
	}
}

@media screen and (max-width: 767px) {
	:root {
		--container-padding: 24px;
		--section-gap: 50px;

		--title-xxxl: 55px;
		--title-xxl: 50px;
		--title-xl: 40px;
		--title-lg: 28px;
		--title-md: 22px;
		--title-mb: 18px;
		--title-sm: 18px;
	}
}


body {
	font-family: var(--font-family);
	color: var(--color-noir);
	background: var(--color-blanc);
	line-height: normal;
	position: relative;
}

body header {
	margin-bottom: 0;
}

body main {
	padding-bottom: 0 !important;
	overflow: hidden;
	position: relative;
}

body img {
	width: 100%;
}

body a {
	text-decoration: none;
}

.ph-section__title,
.ph-article-title,
.ph-block__title,
h1,
h2,
h3 {
	font-family: var(--font-family-heading);
}

@media screen and (max-width: 2000px) {

	body.post-type-archive main,
	body.page-template-default main {
		padding: 70px 0 !important;
	}
}

@media (min-width: 1800px) {
	body main .row {
		margin-top: 0;
	}
}

.single-webtv main {
	padding: 70px 0 !important;
}

.modal-content {
	border-radius: 30px;
	padding: 20px 10px;
}

.modal-header {
	border-bottom: 0;
}

.modal-content input.form-control-lg {
	min-height: 42px !important;
	font-size: 18px !important;
	background-color: #EEEDED !important;
	border-radius: 10px !important;
	border: 0;
}

.modal-content button.btn.search-submit {
	border-radius: 30px;
	background-color: var(--color-noir) !important;
	color: var(--color-blanc) !important;
	padding: 8px 24px;
	box-shadow: -10px 49px 14px 0 rgba(0, 0, 0, 0.00), -7px 32px 13px 0 rgba(0, 0, 0, 0.01), -4px 18px 11px 0 rgba(0, 0, 0, 0.05), -2px 8px 8px 0 rgba(0, 0, 0, 0.09), 0 2px 4px 0 rgba(0, 0, 0, 0.10);
}

.modal-footer {
	display: none;
}

body.post-type-archive h1 {
	text-align: center;
}

@media screen and (max-width: 767px) {
	.modal-content {
		padding: 0;
	}
}


/* ——— Grilles ——— */
.ph-block {
	padding: 50px 60px;
}

.ph-grid-articles {
	display: grid;
	gap: 30px;
}

.ph-grid-2 {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
}

.ph-grid-articles--3 {
	grid-template-columns: repeat(3, 1fr);
}

.ph-grid-articles--4 {
	grid-template-columns: repeat(4, 1fr);
}

@media screen and (max-width: 1200px) {
	.ph-grid-articles--4 {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 990px) {
	.ph-block {
		padding: 50px 40px;
	}

	.ph-grid-2 {
		gap: 30px;
	}

	.ph-grid-articles--4 {
		grid-template-columns: repeat(2, 1fr);
	}

	.ph-grid-articles--3 {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 767px) {
	.ph-block {
		padding: 40px 20px;
	}

	.ph-grid-2 {
		grid-template-columns: 1fr;
	}

	.ph-grid-articles,
	.ph-grid-2 {
		gap: 20px;
	}
}

@media (max-width: 600px) {

	.ph-grid-articles--4,
	.ph-grid-articles--3 {
		grid-template-columns: 1fr;
	}
}

/* ——— Conteneurs / sections global ——— */
.ph-container {
	max-width: var(--container-max);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--container-padding);
	padding-right: var(--container-padding);
	position: relative;
}

.ph-section {
	position: relative;
	padding-top: var(--section-gap);
}

.ph-section__title {
	font-size: var(--title-xl);
	font-weight: 700;
	line-height: 1.1;
	margin: 0 0 40px;
	color: var(--color-noir);
}


/* ——— Boutons ——— */
.ph-btn {
	display: inline-flex;
	align-items: center;
	text-align: center;
	gap: 10px;
	font-family: var(--font-family);
	font-size: var(--text-base);
	font-weight: 500;
	padding: 6px 24px;
	border-radius: 0px;
	border: 2px solid transparent;
	cursor: pointer;
	transition: opacity 0.2s;
	line-height: normal;
	text-decoration: none;
	box-shadow: -10px 49px 14px 0 rgba(0, 0, 0, 0.00), -7px 32px 13px 0 rgba(0, 0, 0, 0.01), -4px 18px 11px 0 rgba(0, 0, 0, 0.05), -2px 8px 8px 0 rgba(0, 0, 0, 0.09), 0 2px 4px 0 rgba(0, 0, 0, 0.10);
}

.ph-btn:hover {
	opacity: 0.85;
}

.ph-btn--noir {
	background: var(--color-noir);
	color: var(--color-blanc);
	border-color: var(--color-noir);
}

.ph-btn--noir:hover {
	color: var(--color-blanc);
}

.ph-btn--blanc {
	background: var(--color-blanc);
	color: var(--color-noir);
	border-color: var(--color-blanc);
}

.ph-btn--blanc:hover {
	color: var(--color-noir);
}

.ph-btn--outline-blanc {
	background: transparent;
	color: var(--color-blanc);
	border-color: var(--color-blanc);
}

.ph-btn--outline-blanc:hover {
	color: var(--color-blanc);
}

.ph-btn--outline-noir {
	background: transparent;
	color: var(--color-noir);
	border-color: var(--color-noir);
}

.ph-btn--outline-noir:hover {
	color: var(--color-noir);
}

@media screen and (max-width:767px) {
	.ph-btn {
		padding: 5px 22px;
	}
}


/* ——— TAGS ——— */
.ph-tag-xl,
.ph-tag-md,
.ph-tag-sm {
	display: inline-block;
	font-family: var(--font-family-heading);
	background: var(--color-bleu);
	color: var(--color-blanc);
	border-radius: 0px;
	width: fit-content;
	font-weight: 500;
}

.ph-tag-xl {
	font-size: var(--title-xl);
	padding: 12px 30px;
}

.ph-tag-md {
	font-size: var(--title-lg);
	padding: 10px 30px;
}

.ph-tag-sm {
	font-size: var(--title-md);
	padding: 8px 30px;
}

@media (max-width: 990px) {
	.ph-tag-md {
		font-size: var(--title-md);
	}

	.ph-tag-xl {
		padding: 11px 30px;
	}

	.ph-tag-md {
		padding: 9px 30px;
	}

	.ph-tag-sm {
		padding: 7px 30px;
	}
}

@media (max-width: 767px) {
	.ph-tag-md {
		font-size: var(--title-sm);
	}

	.ph-tag-xl {
		padding: 10px 30px;
	}

	.ph-tag-md {
		padding: 8px 30px;
	}

	.ph-tag-sm {
		padding: 6px 30px;
	}
}




/***** NEW HEADER ****/
header.new_header {
	height: auto;
	background-color: var(--color-bleu);
	display: flex;
	flex-direction: column;
	padding: 15px;
}

.new_header .header-desktop {
	display: flex;
	justify-content: space-between !important;
	gap: 15px;
	width: 100%;
}

.new_header .header-desktop .header-main {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.new_header .header-main-top {
	display: flex;
	justify-content: center;
	margin-top: -20px;
	margin-bottom: 5px;
}

.new_header .header-main-bottom {
	display: flex;
	gap: 10px;
	align-items: center;
	text-align: center;
	justify-content: center;
	margin: 16px 0;
}

.new_header .sub-menu {
	text-align: left;
}

.new_header .header-desktop #edition-header {
	text-align: center;
	font-size: 13px;
	font-weight: 200;
	position: relative;
	top: unset;
	left: unset;
	width: fit-content;
	padding: 10px 15px;
	background-color: #FFFFFF;
	border-bottom: 0px solid #464646;
}

/* ——— Header : toggle édition ——— */
.new_header .header-desktop #edition-header.ph-edition-header {
	display: flex;
	align-items: center;
	font-family: "Poppins";
	gap: 6px 12px;
	position: relative;
	box-shadow: none !important;
}

.ph-edition-header .ph-edition-header__label {
	font-size: var(--text-sm);
	font-weight: 200;
	text-transform: none;
	color: var(--color-noir);
}

.ph-edition-header .ph-edition-toggle {
	display: inline-flex;
	border-radius: 0px;
	overflow: hidden;
	background: #E9E9E9;
}

.ph-edition-header .ph-edition-toggle__btn {
	appearance: none;
	border: none;
	background: transparent;
	color: var(--color-noir);
	font-size: var(--text-sm);
	font-weight: 600;
	line-height: 1.2;
	padding: 8px 18px;
	cursor: pointer;
	transition: 0.2s ease-in-out;
	white-space: nowrap;
}

.ph-edition-header .ph-edition-toggle__btn.is-active {
	background: var(--color-noir);
	color: var(--color-blanc);
	border-radius: 0px;
}

.ph-edition-header .ph-edition-toggle__select {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ——— Header : éléments ——— */

.new_header .header-desktop .home-link {
	position: relative !important;
	max-width: 300px;
	width: fit-content;
	display: flex;
	align-items: center;
	gap: 0 10px;
	top: unset !important;
	left: unset !important;
}

.new_header .header-desktop .home-link .img-peris {
	width: 200px;
}

.new_header .header-desktop .home-link .cactus-media {
	width: 75px;
}

.new_header .header-desktop #desktop-menu .menu>.menu-item>a {
	text-transform: none;
	font-weight: 200;
	color: var(--color-blanc);
}

.new_header .header-desktop #open-search {
	border: 0px;
	background-color: transparent;
	width: 40px;
	height: auto;
	margin-bottom: -2px;
}

.new_header .header-desktop #open-search:hover {
	background-color: transparent;
}

.new_header .header-desktop .header-links {
	display: flex;
	gap: 30px;
	align-items: center;
}

.new_header .header-desktop .header-journal {
	display: flex;
	align-items: center;
}

.new_header .header-desktop .header-journal a {
	font-weight: 200;
	text-align: right;
	gap: 15px;
	width: 230px;
	padding-right: 18px;
}

.new_header .header-desktop .header-journal img {
	height: 100px;
	margin-right: -70px;
	z-index: 1;
	width: fit-content;
	pointer-events: none;
}

.new_header .header-desktop .header-socials {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

.new_header .header-desktop .header-socials a {
	display: flex;
	background: var(--color-noir);
	padding: 5px;
	border-radius: 50%;
	width: 30px;
	height: 30px;
	justify-content: center;
	align-items: center;
}

.new_header .header-desktop .header-socials svg {
	max-width: 19px;
	height: 16px;
	width: fit-content;
	display: flex;
	margin: auto;
}

header.new_header #open-mobile-menu {
	height: auto;
}

@media screen and (min-width: 1800px) {
	.new_header .header-desktop .home-link {
		order: 0 !important;
	}
}

/*
 @media screen and (max-width: 1650px) {
	 .new_header .header-desktop .home-link {
		 flex-direction: column;
		 align-items: start;
	 }
 }
*/

@media screen and (max-width: 1600px) {
	.new_header .header-desktop .header-links {
		gap: 15px;
	}

	.new_header .header-desktop {
		gap: 12px;
	}

	.new_header .header-desktop .header-journal img {
		height: 90px;
	}

	#desktop-menu .menu>.menu-item {
		padding-right: 18px;
	}
}

@media screen and (max-width: 1400px) {
	.new_header .header-desktop {
		justify-content: end;
		gap: 15px;
	}

	.new_header .header-desktop .header-main {
		display: flex;
		flex-direction: row;
		align-items: center;
		gap: 10px;
	}

	.new_header .header-main-top {
		margin-top: 0px;
		margin-bottom: 0px;
	}

	.new_header .header-main-bottom {
		margin: 0;
	}

	.new_header .header-desktop .header-socials {
		display: none;
	}

	.new_header .header-desktop .home-link {
		flex-direction: row;
		margin-right: auto;
		align-items: center;
	}

	.new_header .header-desktop .header-journal img {
		margin-top: -10px;
		margin-bottom: -10px;
	}
}

@media screen and (max-width: 1200px) {
	.new_header .ph-edition-header--desktop {
		flex-direction: column;
	}
}

@media screen and (max-width: 1050px) {
	.new_header .ph-edition-header--desktop {
		display: none !important;
	}
}

.new_header .ph-edition-header--mobile {
	display: none;
	justify-content: center;
	padding: 10px 5px;
	text-align: center;
	font-weight: 200;
	background: white;
	margin: 10px -15px -15px -15px;
	width: calc(100% + 30px);
}

@media screen and (max-width: 1050px) {
	.new_header .ph-edition-header--mobile {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 6px 10px;
	}
}

@media screen and (max-width: 767px) {

	.new_header .header-desktop .header-links,
	.new_header .header-main-top {
		display: none;
	}

	.ph-edition-header .ph-edition-header__label {
		font-size: 12px;
	}

	.ph-edition-header .ph-edition-toggle__btn {
		font-size: 12px;
		padding: 8px 14px;
	}

	.new_header .header-desktop {
		gap: 10px;
	}

	.new_header .header-desktop .home-link .img-peris {
		width: 160px;
	}

	.new_header .header-desktop .home-link .cactus-media {
		width: 52px;
	}

	header.new_header #open-mobile-menu {
		margin-left: 0;
	}

	.new_header .header-desktop #open-search {
		width: 38px;
	}
}

/**
  * HEADER responsive
  */
@media screen and (min-width: 1600px) {
	#desktop-menu .menu>.menu-item>a {
		font-size: 17px !important;
	}
}

@media screen and (min-width: 1500px) and (max-width: 1600px) {
	#desktop-menu .menu>.menu-item>a {
		font-size: 16px !important;
	}
}

@media screen and (min-width: 1400px) {
	#desktop-menu .menu>.menu-item {
		align-self: center;
	}

	#desktop-menu .menu>.menu-item>a {
		font-size: 15px;
	}
}

@media screen and (max-width: 1400px) {
	.menu-item>a br {
		display: none;
	}
}

#mobile-menu .menu .menu-item {
	margin: 20px 0;
}

#mobile-menu .menu .menu-item a {
	line-height: 38px !important;
}

#mobile-menu .menu .menu-item .mobile-submenu-open {
	top: 0%;
}


/***** NEW FOOTER ****/

footer.new-footer {
	background: var(--color-bleu);
	padding: 60px 0 40px;
	font-weight: 100;
	font-size: 14px;
	color: var(--color-blanc);
	position: relative;
	overflow: hidden;
	border: 0px;
}

footer.new-footer a {
	color: var(--color-blanc);
}

.ph-footer-main {
	display: flex;
	gap: 60px;
	width: 100%;
	justify-content: space-between;
}

footer.new-footer li#menu-item-63882 {
	display: none;
}

.ph-footer-left {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 40px;
	width: 35%;
}

.ph-footer-logos {
	display: flex;
	gap: 20px;
}

.ph-footer-logos .img-peris {
	display: flex;
	width: 100%;
	max-width: 300px;
}

.ph-footer-logos .marque-cactus {
	display: flex;
	gap: 6px;
	color: var(--color-blanc);
	justify-content: center;
	flex-direction: column;
	width: 200px;
	align-items: center;
}

.ph-footer-logos .cactus-media {
	display: flex;
	width: 95px;
	max-width: 120px;
	filter: brightness(100);
}

.marque-cactus span {
	color: var(--color-blanc);
	font-weight: 500;
	font-size: 16px;
}

.ph-footer-newsletter {
	background: var(--color-blanc);
	color: var(--color-noir);
	border-radius: 0px;
	padding: 30px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.ph-footer-newsletter p {
	font-weight: 700;
	font-size: 16px;
	margin-bottom: 10px;
	width: 100%;
	text-align: left;
}

input#form_email_1 {
	background-color: #EEEDED !important;
	padding: 10px 15px !important;
	border-radius: 10px !important;
	border:0px;
}

.ph-footer-newsletter #mailpoet_form_1 form.mailpoet_form {
	padding: 0px !important;
}

.ph-footer-newsletter #mailpoet_form_1 .mailpoet_paragraph.last {
	display: flex;
}

.ph-footer-newsletter #mailpoet_form_1 .mailpoet_submit {
	width: fit-content !important;
	padding: 8px 20px !important;
	border-radius: 0px;
	background-color: var(--color-noir) !important;
	box-shadow: -10px 49px 14px 0 rgba(0, 0, 0, 0.00), -7px 32px 13px 0 rgba(0, 0, 0, 0.01), -4px 18px 11px 0 rgba(0, 0, 0, 0.05), -2px 8px 8px 0 rgba(0, 0, 0, 0.09), 0 2px 4px 0 rgba(0, 0, 0, 0.10);
	color: var(--color-blanc) !important;
	margin-left: auto !important;
	margin-right: 0 !important;
	font-weight:600;
}

.ph-footer-right {
	width: 55%;
	display: flex;
	flex-direction: column;
	gap: 30px;
	align-items: end;
}

.ph-footer-search {
	width: 100%;
	display: flex;
	justify-content: end;
}

.ph-footer-search form {
	position: relative;
	width: 100%;
}

.ph-footer-search input {
	border: 0;
	border-radius: 0px;
	position: relative;
	padding: 8Px 18px;
}

.ph-footer-search .btn.search-submit {
	position: absolute;
	right: 15px;
	top: -1px;
	padding: 0;
	height: 100%;
	border: 0;
}

.ph-footer-search .btn.search-submit:hover {
	border: 0;
}

.ph-footer-menus {
	display: flex;
	gap: 25px;
	width: 100%;
	justify-content: space-between;
}

.ph-footer-menus-col {
	display: flex;
	flex-direction: column;
	gap: 30px;
	min-width: 125px;
}

.ph-footer-menu ul {
	list-style: none;
	padding: 0;
	margin-bottom: 0;
}

.ph-footer-menu a {
	color: black;
}

.ph-footer-menu-title,
.ph-footer-menu-periscope ul.menu>li:first-child>a,
.ph-footer-menu-journal ul.menu>li:first-child>a,
.ph-footer-menu-autres>a {
	font-size: 18px;
	font-weight: 700;
}

.ph-footer-menu,
.ph-footer-menu ul,
.ph-footer-menu li {
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 100%;
}

.ph-footer-menu-reseaux {
	font-size: 18px;
}

.ph-footer-menu-reseaux a {
	display: flex;
	gap: 10px;
	align-items: center;
}

.ph-footer-menu-reseaux svg path {
	stroke: var(--color-blanc);
}

.ph-footer-mentions svg path {
	fill: var(--color-blanc);
}

.sep-y {
	display: flex;
	height: auto;
	width: 1px;
	background: var(--color-blanc);
}

.sep-x {
	display: flex;
	height: 1px;
	width: 100%;
	background: var(--color-blanc);
}

.ph-footer {
	display: flex;
	flex-direction: column;
	gap: 40px;
	justify-content: center;
}

.ph-footer-mentions {
	text-align: center;
	text-align: center;
	border-top: 1px solid var(--color-blanc);
	padding-top: 30px;
}

.ph-footer-mentions a {
	color: var(--color-noir);
}

@media screen and (max-width:1300px) {
	.ph-footer-main {
		gap: 50px;
	}

	.ph-footer-right {
		max-width: 65%;
	}

	.ph-footer-menus,
	.ph-footer-menus-col {
		gap: 20px;
	}

	.marque-cactus span {
		font-size: 16px;
	}

	.ph-footer-logos {
		flex-direction: column;
	}

	.ph-footer-logos .marque-cactus {
		align-items: start;
	}
}

@media screen and (max-width:1100px) {
	.ph-footer-left {
		width: 45%;
	}

	.ph-footer-right {
		max-width: 55%;
	}

	.ph-footer-menus {
		flex-direction: column;
	}

	.ph-footer-menus-col {
		flex-direction: row;
	}

	.sep-x {
		height: auto;
		width: 1px;
	}

	.sep-y {
		height: 1px;
		width: 100%;
	}

	.ph-footer-menu-journal .menu ul {
		grid-template-columns: 1fr 1fr;
		display: grid;
	}
}

@media screen and (max-width:990px) {

	footer.new-footer {
		padding: 50px 0;
	}

	.ph-footer-main {
		flex-direction: column;
	}

	.ph-footer-left {
		flex-direction: row;
		width: 100%;
	}

	.ph-footer-right {
		max-width: 100%;
		width: 100%;
		flex-direction: column;
		align-items: start;
	}

	.ph-footer-menus {
		width: 100%;
	}
}

@media screen and (max-width:768px) {
	.ph-footer-main {
		gap: 30px;
	}

	.ph-footer-left {
		flex-direction: column;
		gap: 20px;
	}

	.ph-footer-logos {
		max-width: 300px;
		margin: auto;
	}

	.ph-footer-logos .marque-cactus {
		align-items: center;
		margin: auto;
	}

	.ph-footer-newsletter {
		max-width: 100%;
		margin: auto;
		width: 400px;
		padding: 20px 15px;
	}

	.ph-footer-menus-col {
		justify-content: space-between;
	}

	.ph-footer-menu.ph-footer-menu-autres {
		width: auto;
	}

	.ph-footer-mentions {
		text-align: left;
		padding-top: 20px;
	}

	.marque-cactus span {
		font-size: 13px;
	}
}

@media screen and (max-width:550px) {
	.ph-footer-menus-col {
		flex-wrap: wrap;
		gap: 15px;
	}

	.sep-x {
		height: 1px;
		width: 100%;
	}

	.ph-footer-menu.ph-footer-menu-autres {
		width: 100%;
	}

	.ph-footer-menu-reseaux {
		font-size: 14px;
	}
}

@media screen and (max-width: 500px) {
	.ph-footer-menu-journal .menu ul {
		grid-template-columns: 1fr;
	}
}


/* Temporaire */
.ph-edito__block .ph-block__content{
	z-index: 1;
}
.ph-edito__portrait{
	margin: -50px -60px;
}
