/* pages.css — styles spécifiques à chaque page */

/* ================================================================
   HERO — ACCUEIL
================================================================ */
.hero {
	position: relative;
	background: var(--c-navy);
	color: var(--c-white);
	overflow: hidden;
	padding: var(--sp-9) 0;
}

@media (max-width: 600px) {
	.hero { padding: var(--sp-7) 0; }
}

@media (max-width: 479px) {
	.hero { padding: var(--sp-6) 0; }

	.hero__actions {
		flex-direction: column;
	}

	.hero__actions .btn {
		width: 100%;
		justify-content: center;
	}

	.hero__particles { display: none; }
}

.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(183, 28, 28, 0.45) 0%, transparent 60%);
	pointer-events: none;
}

.hero__bg {
	position: absolute;
	inset: 0;
	object-fit: cover;
	width: 100%;
	height: 100%;
	opacity: 0.2;
}

.hero__content {
	position: relative;
	max-width: 680px;
}

.hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: var(--sp-2);
	font-size: var(--fs-xs);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: rgba(255, 255, 255, 0.7);
	margin-bottom: var(--sp-4);
}

.hero__eyebrow::before {
	content: "";
	display: block;
	width: 32px;
	height: 2px;
	background: var(--c-primary-light);
}

.hero h1 {
	color: var(--c-white);
	margin-bottom: var(--sp-5);
	font-size: clamp(2rem, 5vw, 3.25rem);
}

.hero__lead {
	font-size: var(--fs-md);
	color: rgba(255, 255, 255, 0.85);
	line-height: var(--lh-base);
	margin-bottom: var(--sp-7);
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-4);
}

/* ================================================================
   HERO — ENHANCEMENTS
================================================================ */
.hero::before {
	z-index: 1;
}

.hero::after {
	content: '';
	position: absolute;
	inset: 0;
	background-image:
		radial-gradient(ellipse 80% 60% at 8% 50%, rgba(255, 255, 255, 0.025) 0%, transparent 100%),
		radial-gradient(ellipse 60% 80% at 92% 50%, rgba(183, 28, 28, 0.08) 0%, transparent 100%),
		radial-gradient(ellipse 100% 40% at 50% 0%, rgba(255, 255, 255, 0.03) 0%, transparent 100%);
	pointer-events: none;
	z-index: 2;
}

.hero .container {
	position: relative;
	z-index: 10;
}

.hero__particles {
	position: absolute;
	inset: 0;
	pointer-events: none;
	overflow: hidden;
	z-index: 3;
}

.hero__particle {
	position: absolute;
	border-radius: 50%;
}

.hero__particle--1 {
	width: 72px;
	height: 72px;
	top: 18%;
	right: 22%;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero__particle--2 {
	width: 130px;
	height: 130px;
	bottom: 18%;
	right: 12%;
	background: rgba(183, 28, 28, 0.1);
	border: 1px solid rgba(183, 28, 28, 0.14);
}

.hero__particle--3 {
	width: 44px;
	height: 44px;
	top: 42%;
	right: 38%;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: var(--radius);
}

@media (prefers-reduced-motion: no-preference) {
	@keyframes hero-gradient {
		0%, 100% { background-position: 0% 50%; }
		50%       { background-position: 100% 50%; }
	}

	@keyframes float-y {
		0%, 100% { transform: translateY(0) rotate(0deg); }
		50%       { transform: translateY(-22px) rotate(180deg); }
	}

	@keyframes float-x {
		0%, 100% { transform: translateX(0) scale(1); }
		50%       { transform: translateX(18px) scale(1.08); }
	}

	@keyframes fade-up-hero {
		from { opacity: 0; transform: translateY(28px); }
		to   { opacity: 1; transform: translateY(0); }
	}

	@keyframes btn-pulse-ring {
		0%   { transform: scale(1); opacity: 0.55; }
		100% { transform: scale(1.45); opacity: 0; }
	}

	.hero {
		background: linear-gradient(-45deg, var(--c-navy-dark), var(--c-navy), var(--c-navy-light), var(--c-navy));
		background-size: 400% 400%;
		animation: hero-gradient 14s ease infinite;
	}

	.hero__particle--1 { animation: float-y 6.5s ease-in-out infinite; }
	.hero__particle--2 { animation: float-x 9s ease-in-out infinite; }
	.hero__particle--3 { animation: float-y 5s 1.5s ease-in-out infinite; }

	.hero__eyebrow { animation: fade-up-hero 0.7s var(--anim-ease) both; }
	.hero h1       { animation: fade-up-hero 0.7s 0.15s var(--anim-ease) both; }
	.hero__lead    { animation: fade-up-hero 0.7s 0.3s var(--anim-ease) both; }
	.hero__actions { animation: fade-up-hero 0.7s 0.45s var(--anim-ease) both; }

	.hero .btn--primary {
		position: relative;
		overflow: visible;
	}

	.hero .btn--primary::after {
		content: '';
		position: absolute;
		inset: -3px;
		border-radius: calc(var(--radius) + 2px);
		border: 2px solid var(--c-primary-light);
		opacity: 0;
		pointer-events: none;
	}

	.hero .btn--primary:hover::after {
		opacity: 1;
		animation: btn-pulse-ring 1.3s ease-out infinite;
	}
}

/* ================================================================
   ACTUALITÉS — ARCHIVE
================================================================ */
.archive-header {
	margin-bottom: var(--sp-7);
}

.category-filters {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-2);
	margin-top: var(--sp-5);
}

.category-filters a {
	display: inline-block;
	padding: var(--sp-2) var(--sp-4);
	border-radius: var(--radius-pill);
	font-size: var(--fs-xs);
	font-weight: 700;
	text-decoration: none;
	background: var(--c-surface);
	color: var(--c-text);
	border: 2px solid var(--c-border);
	transition: background var(--transition), color var(--transition),
		border-color var(--transition);
}

.category-filters a:hover,
.category-filters a.active {
	background: var(--c-primary);
	color: var(--c-white);
	border-color: var(--c-primary);
}

/* ================================================================
   ARTICLE SINGLE
================================================================ */
.single-article__header {
	padding: var(--sp-8) 0 var(--sp-6);
	border-bottom: 1px solid var(--c-border);
	margin-bottom: var(--sp-7);
}

.single-article__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--sp-4);
	font-size: var(--fs-sm);
	color: var(--c-text-muted);
	margin-bottom: var(--sp-4);
}

.single-article__featured-image {
	border-radius: var(--radius-lg);
	overflow: hidden;
	margin-bottom: var(--sp-7);
	aspect-ratio: 16 / 7;
}

.single-article__featured-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.entry-content {
	font-size: var(--fs-base);
	line-height: var(--lh-base);
}

.entry-content h2 {
	margin-top: var(--sp-7);
	margin-bottom: var(--sp-4);
}

.entry-content h3 {
	margin-top: var(--sp-6);
	margin-bottom: var(--sp-3);
}

.entry-content p {
	margin-bottom: var(--sp-5);
}

.entry-content ul,
.entry-content ol {
	margin-bottom: var(--sp-5);
}

.entry-content a {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.entry-content img {
	border-radius: var(--radius);
	margin: var(--sp-6) 0;
}

/* ================================================================
   À PROPOS
================================================================ */
.about-section {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--sp-8);
	align-items: center;
}

@media (min-width: 769px) {
	.about-section {
		grid-template-columns: 1fr 1fr;
	}
}

.about-section__image {
	border-radius: var(--radius-lg);
	overflow: hidden;
	aspect-ratio: 4 / 3;
}

.about-section__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.values-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--sp-5);
}

@media (min-width: 600px) {
	.values-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
	.values-grid { grid-template-columns: repeat(3, 1fr); }
}

.value-item {
	position: relative;
	padding: var(--sp-6) var(--sp-5) var(--sp-5);
	background: var(--c-white);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
	border-top: 4px solid var(--c-primary);
	transition: transform 200ms ease, box-shadow 200ms ease;
	overflow: hidden;
}

@media (max-width: 479px) {
	.value-item { padding: var(--sp-5) var(--sp-4); }
}

.value-item::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(183,28,28,0.03) 0%, transparent 60%);
	pointer-events: none;
}

.value-item:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow-lg);
}

.value-item__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	background: linear-gradient(135deg, var(--c-navy) 0%, var(--c-navy-light) 100%);
	color: var(--c-white);
	border-radius: var(--radius);
	margin-bottom: var(--sp-4);
	box-shadow: 0 4px 12px rgba(26, 35, 126, 0.25);
}

.value-item h3 {
	font-size: var(--fs-md);
	color: var(--c-navy);
	margin-bottom: var(--sp-2);
}

.value-item p {
	font-size: var(--fs-sm);
	color: var(--c-text-muted);
	line-height: var(--lh-base);
	margin: 0;
}

/* ================================================================
   CONTACT PAGE
================================================================ */
.contact-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--sp-8);
	align-items: start;
}

@media (min-width: 900px) {
	.contact-layout {
		grid-template-columns: 3fr 2fr;
	}
}

/* Form card */
.contact-form-wrap {
	background: var(--c-white);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
	padding: var(--sp-7) var(--sp-7) var(--sp-6);
	border-top: 4px solid var(--c-primary);
}

@media (max-width: 600px) {
	.contact-form-wrap { padding: var(--sp-5); }
}

.contact-form-wrap h2 {
	font-size: var(--fs-xl);
	color: var(--c-navy);
	margin-bottom: var(--sp-6);
}

/* Enhanced CF7 inputs inside contact form */
.contact-form-wrap .wpcf7-form label {
	display: block;
	font-size: var(--fs-xs);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	color: var(--c-navy);
	margin-bottom: var(--sp-2);
}

.contact-form-wrap .wpcf7-form input[type="text"],
.contact-form-wrap .wpcf7-form input[type="email"],
.contact-form-wrap .wpcf7-form textarea {
	background: var(--c-surface);
	border: 2px solid transparent;
	border-radius: var(--radius);
	padding: var(--sp-4) var(--sp-4);
	font-size: var(--fs-base);
	transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.contact-form-wrap .wpcf7-form input[type="text"]:focus,
.contact-form-wrap .wpcf7-form input[type="email"]:focus,
.contact-form-wrap .wpcf7-form textarea:focus {
	background: var(--c-white);
	border-color: var(--c-primary);
	box-shadow: 0 0 0 4px rgba(183, 28, 28, 0.1);
	outline: none;
}

.contact-form-wrap .wpcf7-form textarea {
	min-height: 160px;
}

.contact-form-wrap .wpcf7-submit,
.contact-form-wrap .wpcf7-form [type="submit"] {
	width: 100%;
	justify-content: center;
	padding: var(--sp-4) var(--sp-6);
	font-size: var(--fs-base);
	background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-dark) 100%);
	border-color: var(--c-primary);
	border-radius: var(--radius);
	letter-spacing: 0.04em;
	margin-top: var(--sp-5);
}

.contact-form-wrap .wpcf7-submit:hover,
.contact-form-wrap .wpcf7-form [type="submit"]:hover {
	background: linear-gradient(135deg, var(--c-primary-dark) 0%, #6d0f0f 100%);
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(183, 28, 28, 0.35);
}

/* Sidebar becomes an elevated navy card */
.contact-sidebar {
	background: var(--c-navy);
	border-radius: var(--radius-lg);
	padding: var(--sp-6);
	color: var(--c-white);
	position: sticky;
	top: calc(var(--header-height) + var(--sp-5));
}

@media (max-width: 900px) {
	.contact-sidebar { position: static; }
}

.contact-sidebar__item {
	display: flex;
	gap: var(--sp-4);
	margin-bottom: var(--sp-5);
	padding-bottom: var(--sp-5);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-sidebar__item:last-child {
	border-bottom: 0;
	margin-bottom: 0;
	padding-bottom: 0;
}

.contact-sidebar__icon {
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(183, 28, 28, 0.25);
	border-radius: var(--radius);
	color: var(--c-primary-light);
}

.contact-sidebar__label {
	font-size: var(--fs-xs);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	color: rgba(255, 255, 255, 0.55);
	margin-bottom: var(--sp-1);
}

.contact-sidebar__value {
	font-size: var(--fs-sm);
	color: var(--c-white);
	margin: 0;
	line-height: var(--lh-snug);
}

.contact-sidebar__value a {
	color: var(--c-white);
	text-decoration: none;
	transition: color var(--transition);
}

.contact-sidebar__value a:hover {
	color: var(--c-primary-light);
}

/* Social links inside navy sidebar */
.contact-sidebar .social-links a {
	background: rgba(255, 255, 255, 0.1) !important;
	border-color: rgba(255, 255, 255, 0.2) !important;
}

.contact-sidebar .social-links a:hover {
	background: var(--c-primary) !important;
	border-color: var(--c-primary) !important;
}

/* ================================================================
   ÉVÉNEMENTS (tribe overrides)
================================================================ */
.tribe-events-calendar-list .tribe-event-url {
	text-decoration: none;
}

.ftte-events-list {
	display: flex;
	flex-direction: column;
	gap: var(--sp-5);
}

.ftte-event-single__header {
	margin-bottom: var(--sp-7);
}

.ftte-event-meta {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-5);
	padding: var(--sp-5);
	background: var(--c-surface);
	border-radius: var(--radius-lg);
	margin-bottom: var(--sp-6);
}

.ftte-event-meta__item {
	display: flex;
	align-items: center;
	gap: var(--sp-3);
	font-size: var(--fs-sm);
}

.ftte-event-meta__label {
	font-weight: 700;
	color: var(--c-navy);
}

/* ================================================================
   404 PAGE
================================================================ */
.error-404 {
	text-align: center;
	padding: var(--sp-9) 0;
}

.error-404__code {
	font-family: var(--font-heading);
	font-size: 8rem;
	color: var(--c-surface-alt);
	line-height: 1;
	margin-bottom: var(--sp-5);
}

.error-404 h1 {
	margin-bottom: var(--sp-4);
}

.error-404__message {
	font-size: var(--fs-md);
	color: var(--c-text-muted);
	max-width: 40ch;
	margin: 0 auto var(--sp-7);
}

.error-404 .search-form {
	max-width: 480px;
	margin: 0 auto var(--sp-7);
	display: flex;
	gap: var(--sp-3);
}

.error-404 .search-field {
	flex: 1;
	padding: var(--sp-3) var(--sp-4);
	border: 2px solid var(--c-border);
	border-radius: var(--radius);
	font-size: var(--fs-base);
	font-family: var(--font-body);
}

.error-404 .search-submit {
	padding: var(--sp-3) var(--sp-5);
	background: var(--c-navy);
	color: var(--c-white);
	border: 2px solid var(--c-navy);
	border-radius: var(--radius);
	font-weight: 700;
	cursor: pointer;
	transition: background var(--transition);
}

.error-404 .search-submit:hover {
	background: var(--c-navy-dark);
}

/* ================================================================
   SEARCH RESULTS
================================================================ */
.search-results__header {
	margin-bottom: var(--sp-7);
}

.search-results__header .search-form {
	margin-top: var(--sp-5);
	display: flex;
	gap: var(--sp-3);
	max-width: 560px;
}

.search-results__header .search-field {
	flex: 1;
	padding: var(--sp-3) var(--sp-4);
	border: 2px solid var(--c-border);
	border-radius: var(--radius);
	font-size: var(--fs-base);
	font-family: var(--font-body);
}

.search-results__header .search-submit {
	padding: var(--sp-3) var(--sp-5);
	background: var(--c-navy);
	color: var(--c-white);
	border: none;
	border-radius: var(--radius);
	font-weight: 700;
	cursor: pointer;
}

/* ================================================================
   MENTIONS LÉGALES / PAGE GÉNÉRIQUE
================================================================ */
.page-content {
	max-width: var(--container-narrow);
	margin: 0 auto;
	padding: var(--sp-8) 0;
}

.page-content .entry-content h2 {
	margin-top: var(--sp-8);
}

/* ================================================================
   ABOUT PAGE — MISSION
================================================================ */
.about-mission {
	padding: var(--sp-10) 0;
	background: var(--c-white);
	border-bottom: 1px solid var(--c-border);
}

.about-mission__inner {
	display: grid;
	grid-template-columns: 200px 1fr;
	gap: var(--sp-8) var(--sp-10);
	align-items: start;
}

.about-mission__label {
	padding-top: var(--sp-1);
}

.about-mission__label span {
	display: block;
	font-size: var(--fs-xs);
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--c-primary);
}

.about-mission__quote {
	border-left: 3px solid var(--c-primary);
	padding-left: var(--sp-6);
	margin: 0;
}

.about-mission__quote p {
	font-size: 1.05rem;
	line-height: 1.8;
	color: var(--c-text);
	margin-bottom: var(--sp-4);
}

.about-mission__quote p:last-child {
	margin-bottom: 0;
}

.about-mission__mark { display: none; }

.about-mission__pillars {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1px;
	background: var(--c-border);
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
	overflow: hidden;
	margin-top: var(--sp-8);
}

.about-mission__pillar {
	display: flex;
	align-items: center;
	gap: var(--sp-3);
	padding: var(--sp-5) var(--sp-5);
	background: var(--c-white);
	transition: background 200ms ease;
}

.about-mission__pillar:hover {
	background: var(--c-surface);
}

.about-mission__pillar .icon {
	color: var(--c-navy);
	flex-shrink: 0;
}

.about-mission__pillar span {
	font-size: var(--fs-sm);
	font-weight: 600;
	color: var(--c-navy);
}

@media (max-width: 900px) {
	.about-mission__inner {
		grid-template-columns: 1fr;
		gap: var(--sp-6);
	}
	.about-mission__pillars {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 479px) {
	.about-mission {
		padding: var(--sp-8) 0;
	}
	.about-mission__pillars {
		grid-template-columns: 1fr 1fr;
	}
	.about-mission__pillar {
		padding: var(--sp-4);
	}
}

/* ================================================================
   ABOUT PAGE — HISTORY
================================================================ */
.about-history-section {
	padding: var(--sp-10) 0;
}

.about-history {
	display: grid;
	grid-template-columns: 160px 1fr;
	gap: var(--sp-6) var(--sp-10);
	align-items: start;
}

.about-history__sidebar {
	position: sticky;
	top: 100px;
}

.about-history__sidebar-label {
	font-size: var(--fs-xs);
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--c-primary);
	margin-bottom: var(--sp-3);
}

.about-history__sidebar-line {
	width: 100%;
	height: 1px;
	background: var(--c-border);
	margin-bottom: var(--sp-5);
}

.about-history__sidebar-since {
	display: flex;
	flex-direction: column;
	gap: var(--sp-1);
}

.about-history__since-year {
	font-size: 1.75rem;
	font-weight: 800;
	color: var(--c-navy);
	line-height: 1;
}

.about-history__since-label {
	font-size: var(--fs-xs);
	color: var(--c-text-muted);
	line-height: 1.4;
}

.about-history__content {
	padding-left: var(--sp-6);
	border-left: 2px solid var(--c-border);
}

.about-history__content h2 {
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--c-navy);
	margin-bottom: var(--sp-3);
	margin-top: var(--sp-7);
}

.about-history__content h2:first-child {
	margin-top: 0;
}

.about-history__content p {
	font-size: var(--fs-base);
	color: var(--c-text);
	line-height: 1.8;
	margin-bottom: var(--sp-4);
}

@media (max-width: 768px) {
	.about-history {
		grid-template-columns: 1fr;
		gap: var(--sp-5);
	}
	.about-history__sidebar {
		position: static;
		display: flex;
		align-items: center;
		gap: var(--sp-4);
	}
	.about-history__sidebar-line {
		width: 1px;
		height: 36px;
		flex-shrink: 0;
	}
	.about-history__sidebar-since {
		flex-direction: row;
		align-items: baseline;
		gap: var(--sp-2);
	}
	.about-history__since-year {
		font-size: 1.35rem;
	}
}

/* ================================================================
   ABOUT PAGE — VALUES (numbered pillars)
================================================================ */
.about-values-section {
	padding: var(--sp-10) 0;
}

.values-pillars {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0;
	margin-top: var(--sp-8);
	border-top: 1px solid var(--c-border);
}

@media (min-width: 600px) {
	.values-pillars { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
	.values-pillars { grid-template-columns: repeat(3, 1fr); }
}

.value-pillar {
	padding: var(--sp-7) var(--sp-6);
	border-bottom: 1px solid var(--c-border);
	border-right: 1px solid var(--c-border);
	transition: background 200ms ease;
}

@media (min-width: 900px) {
	.value-pillar:nth-child(3n) { border-right: none; }
}

@media (min-width: 600px) and (max-width: 899px) {
	.value-pillar:nth-child(2n) { border-right: none; }
}

@media (max-width: 599px) {
	.value-pillar { border-right: none; }
}

.value-pillar:hover {
	background: rgba(183, 28, 28, 0.02);
}

.value-pillar__num {
	display: block;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	color: var(--c-text-muted);
	margin-bottom: var(--sp-4);
}

.value-pillar__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background: rgba(26, 35, 126, 0.06);
	border-radius: var(--radius);
	color: var(--c-navy);
	margin-bottom: var(--sp-3);
}

.value-pillar__body {}

.value-pillar__title {
	font-size: 1rem;
	font-weight: 700;
	color: var(--c-navy);
	margin-bottom: var(--sp-3);
	line-height: 1.3;
}

.value-pillar__title::after {
	content: '';
	display: block;
	width: 24px;
	height: 2px;
	background: var(--c-primary);
	border-radius: 1px;
	margin-top: var(--sp-2);
	transition: width 200ms ease;
}

.value-pillar:hover .value-pillar__title::after {
	width: 40px;
}

.value-pillar__text {
	font-size: var(--fs-sm);
	color: var(--c-text-muted);
	line-height: 1.7;
	margin: 0;
}

@media (max-width: 479px) {
	.value-pillar {
		padding: var(--sp-6) var(--sp-5);
	}
}

@media (prefers-reduced-motion: no-preference) {
	.value-pillar[data-animate="fade-up"] {
		transition-delay: calc(var(--delay, 0) * 60ms);
	}
}

/* ================================================================
   CONTACT FORM — custom secured form
================================================================ */
.contact-form {
	display: flex;
	flex-direction: column;
	gap: var(--sp-5);
}

.form-row--2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--sp-5);
}

@media (max-width: 600px) {
	.form-row--2 { grid-template-columns: 1fr; }
}

.form-field {
	display: flex;
	flex-direction: column;
	gap: var(--sp-2);
	position: relative;
}

.form-field label {
	font-size: var(--fs-xs);
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--c-navy);
}

.form-field label span {
	color: var(--c-primary);
	margin-left: 2px;
}

.form-field input,
.form-field textarea {
	width: 100%;
	padding: var(--sp-3) var(--sp-4);
	font-size: var(--fs-base);
	font-family: inherit;
	color: var(--c-text);
	background: var(--c-surface);
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
	transition: border-color 150ms ease, box-shadow 150ms ease;
	appearance: none;
}

.form-field input:focus,
.form-field textarea:focus {
	outline: none;
	border-color: var(--c-navy);
	box-shadow: 0 0 0 3px rgba(26, 35, 126, 0.1);
	background: var(--c-white);
}

.form-field input[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] {
	border-color: var(--c-primary);
	box-shadow: 0 0 0 3px rgba(183, 28, 28, 0.08);
}

.form-field textarea {
	resize: vertical;
	min-height: 140px;
	line-height: 1.65;
}

.form-field__error {
	font-size: var(--fs-xs);
	color: var(--c-primary);
	min-height: 1.2em;
}

.form-field__count {
	font-size: var(--fs-xs);
	color: var(--c-text-muted);
	text-align: right;
}

.form-field--submit {
	margin-top: var(--sp-2);
}

.btn--full {
	width: 100%;
	justify-content: center;
}

/* Form feedback messages */
.cf-feedback {
	padding: var(--sp-4) var(--sp-5);
	border-radius: var(--radius);
	font-size: var(--fs-sm);
	line-height: 1.6;
}

.cf-feedback--success {
	background: rgba(21, 128, 61, 0.07);
	border: 1px solid rgba(21, 128, 61, 0.25);
	color: #14532d;
}

.cf-feedback--error {
	background: rgba(183, 28, 28, 0.06);
	border: 1px solid rgba(183, 28, 28, 0.2);
	color: #7f1d1d;
}
