/*
Theme Name: Peche des Saules Simple - GeneratePress Child
Theme URI: https://peche-des-saules.fr
Description: Theme enfant GeneratePress minimaliste pour peche-des-saules.fr.
Author: Peche des Saules
Template: generatepress
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: peche-des-saules-simple
*/

:root {
	--pds-bg: #F7F4EC;
	--pds-white: #FFFFFF;
	--pds-text: #1D1D1F;
	--pds-muted: #6E6E73;
	--pds-green: #1F3A2E;
	--pds-blue: #2F5D73;
	--pds-gold: #C9A24A;
	--pds-border: #E5E1D8;
	--pds-radius: 22px;
	--pds-shadow: 0 18px 46px rgba(31, 58, 46, 0.08);
}

body {
	background: var(--pds-bg);
	color: var(--pds-text);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	font-size: 17px;
	line-height: 1.65;
	letter-spacing: 0;
}

a {
	color: var(--pds-green);
	text-underline-offset: 0.18em;
}

a:hover,
a:focus {
	color: var(--pds-blue);
}

.site-header,
.main-navigation,
.site-footer {
	background: rgba(247, 244, 236, 0.96);
}

.site-header {
	border-bottom: 1px solid rgba(229, 225, 216, 0.86);
}

.inside-header,
.main-navigation .inside-navigation {
	max-width: 1240px;
	padding-left: 24px;
	padding-right: 24px;
}

.main-title a {
	color: var(--pds-text);
	font-weight: 760;
	letter-spacing: 0;
}

.site-description {
	color: var(--pds-muted);
}

.main-navigation .main-nav ul li a {
	color: var(--pds-text);
	font-size: 15px;
	font-weight: 650;
	letter-spacing: 0;
	padding-left: 16px;
	padding-right: 16px;
}

.main-navigation .main-nav ul li:hover > a,
.main-navigation .main-nav ul li.current-menu-item > a,
.main-navigation .main-nav ul li.current_page_item > a {
	color: var(--pds-green);
}

.inside-article,
.separate-containers .comments-area,
.separate-containers .paging-navigation {
	background: transparent;
}

.entry-content > *:last-child,
.site-main {
	margin-bottom: 0;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-title {
	color: var(--pds-text);
	font-weight: 760;
	letter-spacing: 0;
	line-height: 1.08;
}

.entry-content p,
.entry-content li {
	color: var(--pds-muted);
}

.pds-landing-page #page,
.pds-landing-page .site-content,
.pds-landing-page .content-area,
.pds-landing-page .site-main,
.pds-landing-page .inside-article,
.pds-landing-page .entry-content {
	max-width: none;
	padding: 0;
	width: 100%;
}

.pds-landing-page .entry-header,
.pds-landing-page #right-sidebar,
.pds-landing-page #left-sidebar,
.pds-landing-page .inside-right-sidebar,
.pds-landing-page .inside-left-sidebar,
.pds-landing-page .widget_search,
.pds-landing-page .widget_recent_entries,
.pds-landing-page .widget_recent_comments,
.pds-landing-page .wp-block-search,
.pds-landing-page .wp-block-latest-posts,
.pds-landing-page .wp-block-latest-comments {
	display: none;
}

.pds-home {
	background: var(--pds-bg);
	overflow: hidden;
	width: 100%;
}

.pds-container {
	margin: 0 auto;
	max-width: 1240px;
	padding-left: 28px;
	padding-right: 28px;
	width: 100%;
}

.pds-hero {
	align-items: center;
	display: grid;
	gap: clamp(36px, 6vw, 82px);
	grid-template-columns: minmax(0, 1fr) minmax(380px, 0.92fr);
	min-height: clamp(610px, 74vh, 740px);
	padding-bottom: clamp(56px, 8vw, 92px);
	padding-top: clamp(54px, 8vw, 92px);
}

.pds-hero-content {
	max-width: 680px;
}

.pds-hero-media {
	position: relative;
}

.pds-eyebrow {
	color: var(--pds-green);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	margin: 0 0 18px;
	text-transform: uppercase;
}

.pds-title {
	color: var(--pds-text);
	font-size: clamp(3.05rem, 6vw, 5.65rem);
	font-weight: 780;
	letter-spacing: 0;
	line-height: 0.98;
	margin: 0;
	max-width: 900px;
}

.pds-lead {
	color: var(--pds-muted);
	font-size: clamp(1.12rem, 1.65vw, 1.36rem);
	line-height: 1.55;
	margin-top: 24px;
	max-width: 680px;
}

.pds-actions,
.gb-buttons.pds-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 34px;
}

.pds-button,
.gb-button.pds-button,
.wp-block-button__link,
.button,
button,
input[type="submit"] {
	align-items: center;
	background: var(--pds-green);
	border: 1px solid var(--pds-green);
	border-radius: 999px;
	color: var(--pds-white);
	display: inline-flex;
	font-weight: 750;
	justify-content: center;
	line-height: 1;
	min-height: 48px;
	padding: 15px 22px;
	text-decoration: none;
	transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.pds-button:hover,
.gb-button.pds-button:hover,
.wp-block-button__link:hover,
.button:hover,
button:hover,
input[type="submit"]:hover {
	background: var(--pds-blue);
	border-color: var(--pds-blue);
	box-shadow: 0 10px 24px rgba(47, 93, 115, 0.14);
	color: var(--pds-white);
	transform: translateY(-1px);
}

.pds-button-secondary,
.gb-button.pds-button-secondary,
.wp-block-button.is-style-outline .wp-block-button__link {
	background: rgba(255, 255, 255, 0.7);
	border-color: var(--pds-border);
	color: var(--pds-text);
}

.pds-button-secondary:hover,
.gb-button.pds-button-secondary:hover,
.wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: var(--pds-white);
	border-color: rgba(31, 58, 46, 0.24);
	color: var(--pds-green);
}

.pds-placeholder-image {
	align-items: center;
	aspect-ratio: 4 / 3.15;
	background:
		radial-gradient(circle at 20% 18%, rgba(201, 162, 74, 0.16), transparent 32%),
		linear-gradient(145deg, rgba(31, 58, 46, 0.1), rgba(47, 93, 115, 0.12)),
		var(--pds-white);
	border: 1px solid var(--pds-border);
	border-radius: 34px;
	box-shadow: var(--pds-shadow);
	color: var(--pds-muted);
	display: flex;
	justify-content: center;
	min-height: 420px;
	padding: 36px;
	position: relative;
	text-align: center;
}

.pds-placeholder-image::after {
	background: rgba(255, 255, 255, 0.58);
	border: 1px solid rgba(255, 255, 255, 0.82);
	border-radius: 999px;
	bottom: 28px;
	color: var(--pds-green);
	content: "Image mediatheque";
	font-size: 0.82rem;
	font-weight: 750;
	left: 28px;
	padding: 8px 12px;
	position: absolute;
}

.pds-placeholder-image strong {
	color: var(--pds-green);
	display: block;
	font-size: 1.08rem;
	margin-bottom: 8px;
}

.pds-section {
	padding-bottom: clamp(58px, 8vw, 104px);
	padding-top: clamp(58px, 8vw, 104px);
}

.pds-section + .pds-section {
	border-top: 1px solid rgba(229, 225, 216, 0.78);
}

.pds-section h2 {
	color: var(--pds-text);
	font-size: clamp(2rem, 3.8vw, 3.35rem);
	line-height: 1.05;
	margin: 0 0 14px;
}

.pds-section-intro {
	color: var(--pds-muted);
	font-size: 1.08rem;
	margin: 0 0 30px;
	max-width: 660px;
}

.pds-card-grid {
	display: grid;
	gap: 22px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pds-card {
	background: rgba(255, 255, 255, 0.84);
	border: 1px solid var(--pds-border);
	border-radius: var(--pds-radius);
	box-shadow: 0 12px 30px rgba(31, 58, 46, 0.055);
	display: flex;
	flex-direction: column;
	min-height: 218px;
	padding: clamp(24px, 3vw, 32px);
	transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.pds-card:hover {
	border-color: rgba(31, 58, 46, 0.22);
	box-shadow: 0 18px 42px rgba(31, 58, 46, 0.09);
	transform: translateY(-2px);
}

.pds-card h3 {
	color: var(--pds-text);
	font-size: clamp(1.2rem, 1.6vw, 1.48rem);
	line-height: 1.18;
	margin: 0 0 12px;
}

.pds-card p {
	color: var(--pds-muted);
	margin: 0 0 24px;
}

.pds-card a {
	color: var(--pds-green);
	font-weight: 760;
	margin-top: auto;
	text-decoration: none;
}

.pds-editorial,
.pds-contact {
	background: var(--pds-white);
	border: 1px solid var(--pds-border);
	border-radius: 30px;
	box-shadow: 0 14px 38px rgba(31, 58, 46, 0.055);
	padding: clamp(34px, 6vw, 68px);
}

.pds-editorial p,
.pds-contact p {
	color: var(--pds-muted);
	font-size: clamp(1.08rem, 1.6vw, 1.24rem);
	margin: 0;
	max-width: 820px;
}

.pds-page {
	margin: 0 auto;
	max-width: 1180px;
	padding: clamp(54px, 8vw, 96px) 24px;
}

.pds-contact-form {
	background: rgba(255, 255, 255, 0.84);
	border: 1px solid var(--pds-border);
	border-radius: var(--pds-radius);
	box-shadow: 0 12px 34px rgba(31, 58, 46, 0.05);
	margin-top: 30px;
	max-width: 760px;
	padding: clamp(24px, 4vw, 42px);
}

.pds-field {
	margin-bottom: 18px;
}

.pds-field label {
	color: var(--pds-text);
	display: block;
	font-size: 0.94rem;
	font-weight: 750;
	margin-bottom: 8px;
}

.pds-field input,
.pds-field textarea {
	background: var(--pds-white);
	border: 1px solid var(--pds-border);
	border-radius: 14px;
	color: var(--pds-text);
	font: inherit;
	padding: 14px 15px;
	width: 100%;
}

.pds-field textarea {
	min-height: 170px;
	resize: vertical;
}

.pds-field input:focus,
.pds-field textarea:focus {
	border-color: var(--pds-blue);
	box-shadow: 0 0 0 3px rgba(47, 93, 115, 0.14);
	outline: none;
}

.pds-checkbox {
	align-items: flex-start;
	display: flex;
	gap: 10px;
}

.pds-checkbox input {
	margin-top: 6px;
	width: auto;
}

.pds-form-message {
	border-radius: 14px;
	margin-bottom: 18px;
	padding: 13px 15px;
}

.pds-form-message.success {
	background: rgba(31, 58, 46, 0.1);
	color: var(--pds-green);
}

.pds-form-message.error {
	background: rgba(201, 162, 74, 0.16);
	color: #6f5416;
}

.pds-honeypot {
	height: 0;
	left: -9999px;
	overflow: hidden;
	position: absolute;
	top: auto;
	width: 0;
}

.site-footer {
	border-top: 1px solid var(--pds-border);
	color: var(--pds-muted);
}

.inside-site-info {
	justify-content: center;
	padding: 32px 24px;
}

.pds-footer-inner {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	justify-content: space-between;
	width: min(1180px, 100%);
}

.pds-footer-brand {
	color: var(--pds-text);
	font-weight: 760;
}

.pds-footer-menu ul {
	display: flex;
	flex-wrap: wrap;
	gap: 14px 22px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.pds-footer-menu a {
	color: var(--pds-muted);
	font-size: 0.94rem;
	text-decoration: none;
}

.pds-footer-menu a:hover {
	color: var(--pds-green);
}

@media (max-width: 1024px) {
	.pds-hero {
		gap: 42px;
		grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
		min-height: auto;
	}

	.pds-card-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 760px) {
	body {
		font-size: 16px;
	}

	.inside-header,
	.main-navigation .inside-navigation,
	.pds-container,
	.pds-page {
		padding-left: 20px;
		padding-right: 20px;
	}

	.pds-hero,
	.pds-card-grid {
		grid-template-columns: 1fr;
	}

	.pds-hero {
		padding-bottom: 56px;
		padding-top: 48px;
	}

	.pds-title {
		font-size: clamp(2.65rem, 13vw, 4rem);
	}

	.pds-actions,
	.gb-buttons.pds-actions {
		flex-direction: column;
	}

	.pds-button,
	.gb-button.pds-button,
	.gb-button.pds-button-secondary,
	.wp-block-button,
	.wp-block-button__link {
		width: 100%;
	}

	.pds-placeholder-image {
		border-radius: 24px;
		min-height: 260px;
	}

	.pds-footer-inner {
		align-items: flex-start;
		flex-direction: column;
	}
}
