/*
Theme Name: RelaiCo
Theme URI: https://relaico.fr
Author: RelaiCo
Description: Thème WordPress une page pour RelaiCo, conseil marketing et développement commercial. Toutes les sections (accueil, à propos, services, missions express, contact) se modifient depuis le tableau de bord. Formulaire de contact intégré, polices auto-hébergées, responsive et accessible.
Version: 2.0.2
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: relaico
Tags: one-page, business, custom-colors, custom-logo, custom-menu, responsive-layout, translation-ready
*/

/* ==========================================================================
   1. Polices auto-hébergées (aucun appel externe, conformité RGPD)
   ========================================================================== */

@font-face {
	font-family: 'Geist';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('assets/fonts/geist-400-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Geist';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('assets/fonts/geist-400-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Geist';
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url('assets/fonts/geist-500-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Geist';
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url('assets/fonts/geist-500-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Geist';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('assets/fonts/geist-600-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Geist';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('assets/fonts/geist-600-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Geist';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('assets/fonts/geist-700-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Geist';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('assets/fonts/geist-700-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ==========================================================================
   2. Jetons de design
   Un seul rayon (4 px), une couleur principale, un accent repris du logo.
   ========================================================================== */

:root {
	--rc-navy: #122f5a;
	--rc-accent: #cb0104;

	--rc-bg: #f5f7fa;
	--rc-surface: #ffffff;
	--rc-surface-2: #f3f4f6;
	--rc-text: #15181e;
	--rc-muted: #586071;
	--rc-line: #e3e6eb;

	--rc-navy-texte: var(--rc-navy);
	--rc-btn-bg: var(--rc-navy);
	--rc-btn-texte: #ffffff;
	--rc-sombre: var(--rc-navy);
	--rc-sombre-2: #0d2244;
	--rc-sur-sombre: #ffffff;
	--rc-sur-sombre-doux: #c6d2e6;

	--rc-r: 4px;
	--rc-max: 1240px;
	--rc-gouttiere: clamp(1.15rem, 4vw, 3rem);
	--rc-section: clamp(4rem, 8vw, 7rem);

	--rc-transition: 260ms cubic-bezier(0.16, 1, 0.3, 1);

	color-scheme: light;
}

:root {
	--rc-teinte: #e9eef6;
}

@supports (color: color-mix(in srgb, red, blue)) {
	:root {
		--rc-sombre-2: color-mix(in srgb, var(--rc-navy) 82%, #000);
		--rc-teinte: color-mix(in srgb, var(--rc-navy) 9%, #fff);
	}
}

@media (prefers-color-scheme: dark) {
	:root:not([data-theme='light']) {
		--rc-bg: #0b1017;
		--rc-surface: #131a25;
		--rc-surface-2: #182130;
		--rc-text: #e9edf4;
		--rc-muted: #a6b1c3;
		--rc-line: #26303f;
		--rc-teinte: #101722;

		--rc-navy-texte: #9dbcee;
		--rc-btn-bg: #2f5da8;
		--rc-btn-texte: #ffffff;
		--rc-sombre: #101a2b;
		--rc-sombre-2: #0a111d;
		--rc-sur-sombre: #eef2f8;
		--rc-sur-sombre-doux: #a9b6cb;

		color-scheme: dark;
	}
}

:root[data-theme='dark'] {
	--rc-bg: #0b1017;
	--rc-surface: #131a25;
	--rc-surface-2: #182130;
	--rc-text: #e9edf4;
	--rc-muted: #a6b1c3;
	--rc-line: #26303f;
	--rc-teinte: #101722;

	--rc-navy-texte: #9dbcee;
	--rc-btn-bg: #2f5da8;
	--rc-btn-texte: #ffffff;
	--rc-sombre: #101a2b;
	--rc-sombre-2: #0a111d;
	--rc-sur-sombre: #eef2f8;
	--rc-sur-sombre-doux: #a9b6cb;

	color-scheme: dark;
}

/* ==========================================================================
   3. Base
   ========================================================================== */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 6.5rem;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--rc-bg);
	color: var(--rc-text);
	font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
	font-size: 1rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

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

a {
	color: inherit;
}

h1, h2, h3, h4 {
	margin: 0 0 0.6em;
	line-height: 1.12;
	letter-spacing: -0.022em;
	font-weight: 600;
	text-wrap: balance;
}

p {
	margin: 0 0 1em;
}

ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

:focus-visible {
	outline: 2px solid var(--rc-accent);
	outline-offset: 3px;
}

.rc-skip {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100;
	background: var(--rc-navy);
	color: #fff;
	padding: 0.75rem 1.25rem;
	border-radius: 0 0 var(--rc-r) 0;
}

.rc-skip:focus {
	left: 0;
}

.rc-wrap {
	width: 100%;
	max-width: var(--rc-max);
	margin-inline: auto;
	padding-inline: var(--rc-gouttiere);
}

.rc-titre {
	font-size: clamp(1.65rem, 1.1rem + 2vw, 2.6rem);
	max-width: 22ch;
}

.rc-entete {
	max-width: 62ch;
	margin-bottom: clamp(2.25rem, 4vw, 3.5rem);
}

.rc-entete__texte {
	color: var(--rc-muted);
	font-size: 1.05rem;
	max-width: 58ch;
	margin: 0;
}

.rc-lead {
	font-size: clamp(1.02rem, 0.95rem + 0.35vw, 1.2rem);
	color: var(--rc-muted);
	max-width: 52ch;
}

.rc-note {
	margin-top: 2rem;
	font-size: 0.9rem;
	color: var(--rc-muted);
}

.rc-lien {
	color: var(--rc-navy-texte);
	text-decoration: none;
	border-bottom: 1px solid var(--rc-line);
	padding-bottom: 2px;
	transition: border-color var(--rc-transition);
}

.rc-lien:hover {
	border-color: var(--rc-accent);
}

/* ==========================================================================
   4. Boutons
   ========================================================================== */

.rc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	white-space: nowrap;
	padding: 0.78rem 1.5rem;
	border-radius: var(--rc-r);
	border: 1px solid transparent;
	font-size: 0.95rem;
	font-weight: 500;
	text-decoration: none;
	cursor: pointer;
	transition: transform var(--rc-transition), background-color var(--rc-transition), border-color var(--rc-transition), color var(--rc-transition);
}

.rc-btn--plein {
	background: var(--rc-btn-bg);
	color: var(--rc-btn-texte);
}

.rc-btn--plein:hover {
	background: var(--rc-sombre-2);
	color: #fff;
}

.rc-btn--ligne {
	background: transparent;
	color: var(--rc-text);
	border-color: var(--rc-line);
}

.rc-btn--ligne:hover {
	border-color: var(--rc-navy-texte);
	color: var(--rc-navy-texte);
}

.rc-btn--petit {
	padding: 0.55rem 1.05rem;
	font-size: 0.875rem;
}

.rc-btn--envoi {
	background: var(--rc-btn-bg);
	color: var(--rc-btn-texte);
	width: 100%;
	padding: 0.95rem 1.5rem;
	font-weight: 500;
}

.rc-btn--envoi:hover {
	background: var(--rc-sombre-2);
}

.rc-btn:active {
	transform: translateY(1px);
}

/* ==========================================================================
   5. En-tête et navigation
   ========================================================================== */

#rc-sentinelle {
	position: absolute;
	top: 0;
	height: 1px;
	width: 1px;
}

.rc-header {
	position: sticky;
	top: 0;
	z-index: 40;
	background: color-mix(in srgb, var(--rc-bg) 88%, transparent);
	backdrop-filter: saturate(150%) blur(10px);
	-webkit-backdrop-filter: saturate(150%) blur(10px);
	border-bottom: 1px solid transparent;
	transition: border-color var(--rc-transition), box-shadow var(--rc-transition);
}

@supports not (backdrop-filter: blur(4px)) {
	.rc-header {
		background: var(--rc-bg);
	}
}

.rc-header.is-stuck {
	border-bottom-color: var(--rc-line);
}

.rc-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	min-height: 72px;
}

.rc-brand {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
}

.rc-logo-img {
	width: auto;
	height: 34px;
}

.rc-nav {
	display: flex;
	align-items: center;
	gap: clamp(1rem, 2.5vw, 2.25rem);
}

.rc-menu {
	display: flex;
	align-items: center;
	gap: clamp(0.9rem, 1.8vw, 1.9rem);
}

.rc-menu a {
	position: relative;
	display: inline-block;
	padding: 0.35rem 0;
	font-size: 0.95rem;
	text-decoration: none;
	color: var(--rc-text);
	transition: color var(--rc-transition);
}

.rc-menu a::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	height: 2px;
	width: 100%;
	background: var(--rc-accent);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform var(--rc-transition);
}

.rc-menu a:hover::after,
.rc-menu li.is-active > a::after,
.rc-menu li.current-menu-item > a::after {
	transform: scaleX(1);
}

.rc-nav__actions {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.rc-burger {
	display: none;
	align-items: center;
	gap: 0.55rem;
	background: none;
	border: 1px solid var(--rc-line);
	border-radius: var(--rc-r);
	padding: 0.5rem 0.85rem;
	cursor: pointer;
}

.rc-burger__lignes {
	display: inline-flex;
	flex-direction: column;
	gap: 4px;
	width: 18px;
}

.rc-burger__lignes span {
	display: block;
	height: 2px;
	background: currentColor;
	transition: transform var(--rc-transition), opacity var(--rc-transition);
}

.rc-burger[aria-expanded='true'] .rc-burger__lignes span:first-child {
	transform: translateY(3px) rotate(45deg);
}

.rc-burger[aria-expanded='true'] .rc-burger__lignes span:last-child {
	transform: translateY(-3px) rotate(-45deg);
}

.rc-burger__texte {
	font-size: 0.9rem;
}

@media (max-width: 960px) {
	.rc-burger {
		display: inline-flex;
	}

	.rc-nav {
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 0.5rem var(--rc-gouttiere) 1.5rem;
		background: var(--rc-bg);
		border-bottom: 1px solid var(--rc-line);
	}

	.rc-nav.is-open {
		display: flex;
	}

	.rc-menu {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.rc-menu a {
		display: block;
		padding: 0.85rem 0;
		border-bottom: 1px solid var(--rc-line);
		font-size: 1.05rem;
	}

	.rc-menu a::after {
		display: none;
	}

	.rc-nav__actions {
		flex-direction: column;
		align-items: stretch;
		gap: 0.75rem;
		margin-top: 1.25rem;
	}

}

@media (max-width: 560px) {
	.rc-logo-img {
		height: 26px;
	}

	.rc-header__inner {
		min-height: 64px;
		gap: 0.75rem;
	}

	.rc-hero__actions .rc-btn {
		flex: 1 1 100%;
	}
}

/* ==========================================================================
   6. Accueil
   ========================================================================== */

.rc-hero {
	position: relative;
	overflow: hidden;
	background: var(--rc-sombre);
	color: var(--rc-sur-sombre);
}

.rc-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: center;
	min-height: min(74vh, 700px);
	padding-left: calc(max(0px, (100% - var(--rc-max)) / 2) + var(--rc-gouttiere));
}

.rc-hero__texte {
	padding-block: clamp(3rem, 6vw, 5.5rem);
	padding-right: var(--rc-gouttiere);
}

.rc-hero__titre {
	color: var(--rc-sur-sombre);
	font-size: clamp(2.15rem, 1.1rem + 2.9vw, 3.55rem);
	max-width: 19ch;
	margin-bottom: 1.15rem;
}

.rc-hero .rc-lead {
	color: var(--rc-sur-sombre-doux);
	max-width: 46ch;
}

.rc-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
	margin-top: 2.15rem;
}

.rc-hero__media {
	margin: 0;
	position: relative;
	align-self: stretch;
	display: flex;
}

.rc-hero__media::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 3px;
	background: var(--rc-accent);
	z-index: 1;
}

.rc-hero__media img {
	width: 100%;
	aspect-ratio: 4 / 5;
	min-height: 100%;
	max-height: 78vh;
	object-fit: cover;
	filter: saturate(0.25) contrast(1.05);
}

/* Bandeau des besoins (fond de marque) */

.rc-besoins {
	padding-block: var(--rc-section);
	background: var(--rc-bg);
	color: var(--rc-text);
}

.rc-besoins__titre {
	color: var(--rc-text);
	font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem);
	max-width: 24ch;
	margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

.rc-besoins__liste {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0;
}

.rc-besoins__liste li {
	padding: 1.4rem 1.75rem 1.4rem 0;
	border-top: 1px solid var(--rc-line);
	font-size: clamp(1rem, 0.94rem + 0.3vw, 1.15rem);
	line-height: 1.45;
}

.rc-besoins__liste li::before {
	content: '';
	display: block;
	width: 22px;
	height: 3px;
	background: var(--rc-accent);
	margin-bottom: 0.9rem;
}

.rc-besoins__actions {
	margin-top: clamp(1.75rem, 3vw, 2.5rem);
}

@media (max-width: 720px) {
	.rc-besoins__liste {
		grid-template-columns: 1fr;
	}
}

/* Boutons sur fond de marque */

.rc-btn--clair {
	background: #fff;
	color: var(--rc-navy);
}

.rc-btn--clair:hover {
	background: var(--rc-sur-sombre-doux);
	color: var(--rc-navy);
}

.rc-btn--fantome {
	background: transparent;
	color: #fff;
	border-color: rgba(255, 255, 255, 0.45);
}

.rc-btn--fantome:hover {
	border-color: #fff;
	background: rgba(255, 255, 255, 0.08);
}

@media (prefers-reduced-motion: no-preference) {
	.rc-hero__titre,
	.rc-hero .rc-lead,
	.rc-hero__actions {
		animation: rc-monte 800ms cubic-bezier(0.16, 1, 0.3, 1) both;
	}

	.rc-hero .rc-lead {
		animation-delay: 110ms;
	}

	.rc-hero__actions {
		animation-delay: 210ms;
	}

	.rc-hero__media img {
		animation: rc-apparait 1100ms cubic-bezier(0.16, 1, 0.3, 1) both;
	}
}

@keyframes rc-monte {
	from {
		opacity: 0;
		transform: translateY(24px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes rc-apparait {
	from {
		opacity: 0;
		transform: scale(1.06);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@media (max-width: 860px) {
	.rc-hero__grid {
		grid-template-columns: 1fr;
		gap: 0;
		padding-left: 0;
	}

	.rc-hero__texte {
		padding-inline: var(--rc-gouttiere);
		padding-block: clamp(2rem, 6vw, 3rem) clamp(2.5rem, 7vw, 3.5rem);
	}

	.rc-hero__media {
		order: -1;
	}

	.rc-hero__media::before {
		width: 100%;
		height: 3px;
		bottom: auto;
	}

	.rc-hero__media img {
		aspect-ratio: 16 / 10;
		max-height: 40vh;
	}
}

/* ==========================================================================
   7. Secteurs
   ========================================================================== */

.rc-secteurs {
	padding-block: var(--rc-section);
	background: var(--rc-sombre);
	color: var(--rc-sur-sombre);
}

.rc-secteurs .rc-titre {
	color: var(--rc-sur-sombre);
}

.rc-secteurs .rc-entete__texte {
	color: var(--rc-sur-sombre-doux);
}

.rc-secteurs__grille {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: clamp(1rem, 2vw, 1.75rem);
}

.rc-secteur__media {
	margin: 0 0 1rem;
	overflow: hidden;
	border-radius: var(--rc-r);
}

.rc-secteur__media img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	filter: saturate(0.5);
	transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1), filter 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

.rc-secteur:hover .rc-secteur__media img {
	filter: saturate(1);
	transform: scale(1.03);
}

.rc-secteur__titre {
	font-size: 1.05rem;
	margin-bottom: 0.35rem;
	color: var(--rc-sur-sombre);
}

.rc-secteur__texte {
	color: var(--rc-sur-sombre-doux);
	font-size: 0.93rem;
	margin: 0;
}

@media (min-width: 1025px) {
	.rc-secteur:nth-child(even) {
		margin-top: 2.75rem;
	}
}

@media (max-width: 1024px) {
	.rc-secteurs__grille {
		grid-template-columns: repeat(2, 1fr);
		gap: 1.5rem 1.25rem;
	}
}

@media (max-width: 520px) {
	.rc-secteurs__grille {
		grid-template-columns: 1fr;
	}

	.rc-secteur__media img {
		aspect-ratio: 16 / 10;
	}
}

/* ==========================================================================
   8. À propos
   ========================================================================== */

.rc-apropos {
	padding-block: var(--rc-section);
	background: var(--rc-teinte);
}

.rc-apropos__grid {
	display: grid;
	grid-template-columns: 0.82fr 1.18fr;
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: start;
}

.rc-apropos__media {
	margin: 0;
	position: sticky;
	top: 6.5rem;
}

.rc-apropos__media img {
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	object-position: top center;
	border-radius: var(--rc-r);
}

.rc-apropos__identite {
	display: flex;
	flex-direction: column;
	margin-top: 1rem;
	padding-left: 0.85rem;
	border-left: 2px solid var(--rc-accent);
}

.rc-apropos__nom {
	font-weight: 600;
}

.rc-apropos__fonction {
	color: var(--rc-muted);
	font-size: 0.92rem;
}

.rc-apropos__bouton {
	display: flex;
	margin-top: 1.25rem;
}

.rc-apropos__texte p {
	max-width: 62ch;
	color: var(--rc-muted);
}

.rc-apropos__texte .rc-titre {
	color: var(--rc-text);
	margin-bottom: 1.2rem;
}

.rc-apropos__sous-titre {
	margin-top: 2.25rem;
	font-size: 0.95rem;
	font-weight: 600;
}

.rc-apropos__points {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.85rem 1.75rem;
	margin-bottom: 2rem;
}

.rc-apropos__points li {
	position: relative;
	padding-left: 1.1rem;
	font-size: 0.97rem;
}

.rc-apropos__points li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.65em;
	width: 6px;
	height: 2px;
	background: var(--rc-accent);
}

.rc-apropos__contact {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
}

@media (max-width: 860px) {
	.rc-apropos__grid {
		grid-template-columns: 1fr;
	}

	.rc-apropos__media {
		position: static;
		max-width: 420px;
	}

	.rc-apropos__points {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   9. Les services
   ========================================================================== */

.rc-services {
	padding-block: var(--rc-section);
	background: var(--rc-surface);
}

.rc-offre {
	display: grid;
	grid-template-columns: 0.85fr 1.15fr;
	gap: clamp(1.5rem, 4vw, 4rem);
	padding-block: clamp(2rem, 3.5vw, 3rem);
	border-top: 1px solid var(--rc-line);
}

.rc-offres .rc-offre:last-child {
	border-bottom: 1px solid var(--rc-line);
}

.rc-offre__sous {
	color: var(--rc-accent);
	font-size: 0.85rem;
	font-weight: 500;
	margin-bottom: 0.4rem;
}

.rc-offre__titre {
	font-size: clamp(1.25rem, 1.05rem + 0.7vw, 1.6rem);
	margin-bottom: 0.5rem;
}

.rc-offre__prix {
	font-weight: 600;
	color: var(--rc-navy-texte);
	margin-bottom: 1.25rem;
}

.rc-offre__texte {
	color: var(--rc-muted);
	max-width: 58ch;
}

.rc-offre__inclus {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.55rem 1.75rem;
	margin: 1.25rem 0 1.25rem;
}

.rc-offre__inclus li {
	position: relative;
	padding-left: 1.15rem;
	font-size: 0.94rem;
}

.rc-offre__inclus li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.62em;
	width: 7px;
	height: 7px;
	border: 1px solid var(--rc-navy-texte);
	border-radius: 50%;
}

.rc-offre__livrable {
	margin: 0;
	padding-top: 0.9rem;
	border-top: 1px solid var(--rc-line);
	font-size: 0.92rem;
	color: var(--rc-muted);
}

@media (max-width: 860px) {
	.rc-offre {
		grid-template-columns: 1fr;
		gap: 1.25rem;
	}

	.rc-offre__inclus {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   10. Missions express et packs
   ========================================================================== */

.rc-express {
	padding-block: var(--rc-section);
	background: var(--rc-teinte);
}

.rc-packs {
	margin-top: clamp(3rem, 6vw, 4.5rem);
}

.rc-packs__titre {
	font-size: clamp(1.15rem, 1rem + 0.7vw, 1.5rem);
	margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
}

.rc-packs__liste {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(0.9rem, 1.8vw, 1.5rem);
}

.rc-pack {
	display: flex;
	flex-direction: column;
	min-height: clamp(220px, 21vw, 290px);
	padding: clamp(1.5rem, 2.5vw, 2rem);
	border-radius: var(--rc-r);
	background: var(--rc-sombre);
	color: var(--rc-sur-sombre);
	box-shadow: 0 18px 40px rgba(18, 47, 90, 0.16);
}

.rc-pack__nom {
	margin: 0 0 0.75rem;
	font-size: 1.08rem;
	color: var(--rc-sur-sombre);
}

.rc-pack__prix {
	margin: 0 0 1.1rem;
	font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.1rem);
	font-weight: 600;
	line-height: 1.05;
	letter-spacing: -0.02em;
	color: var(--rc-sur-sombre);
}

.rc-pack__texte {
	margin: 0 0 1.5rem;
	font-size: 0.93rem;
	color: var(--rc-sur-sombre-doux);
}

.rc-pack__lien {
	margin-top: auto;
	align-self: flex-start;
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--rc-sur-sombre);
	text-decoration: none;
	padding-bottom: 3px;
	border-bottom: 2px solid var(--rc-accent);
	transition: color var(--rc-transition), border-color var(--rc-transition);
}

.rc-pack__lien:hover {
	color: #fff;
	border-bottom-color: #fff;
}

@media (max-width: 900px) {
	.rc-packs__liste {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.rc-packs__liste {
		grid-template-columns: 1fr;
	}

	.rc-pack {
		min-height: 0;
	}
}

/* ==========================================================================
   11. Contact
   ========================================================================== */

.rc-contact {
	padding-block: var(--rc-section);
	background: var(--rc-sombre);
	color: var(--rc-sur-sombre);
}

.rc-contact__grid {
	display: grid;
	grid-template-columns: 0.95fr 1.05fr;
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: start;
}

.rc-titre--clair {
	color: var(--rc-sur-sombre);
}

.rc-contact__texte {
	color: var(--rc-sur-sombre-doux);
	max-width: 48ch;
}

.rc-contact__points {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	margin: 1.75rem 0;
}

.rc-contact__points li {
	position: relative;
	padding-left: 1.35rem;
	font-size: 0.97rem;
	color: var(--rc-sur-sombre);
}

.rc-contact__points li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 8px;
	height: 8px;
	background: var(--rc-accent);
	border-radius: 50%;
}

.rc-contact__direct {
	padding-top: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.rc-contact__direct p {
	margin: 0 0 0.3rem;
}

.rc-contact__nom {
	font-weight: 600;
}

.rc-contact__fonction {
	color: var(--rc-sur-sombre-doux);
	font-size: 0.92rem;
}

.rc-contact__direct a {
	color: var(--rc-sur-sombre);
	text-decoration: none;
	border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.rc-contact__direct a:hover {
	border-color: var(--rc-accent);
}

/* Formulaire */

.rc-form__zone {
	background: var(--rc-surface);
	color: var(--rc-text);
	border-radius: var(--rc-r);
	padding: clamp(1.4rem, 3vw, 2.25rem);
}

.rc-form__duo {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 1.15rem;
}

.rc-champ {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	margin-bottom: 1.1rem;
}

.rc-champ label {
	font-size: 0.88rem;
	font-weight: 500;
	color: var(--rc-text);
}

.rc-req {
	color: var(--rc-accent);
}

.rc-champ input[type='text'],
.rc-champ input[type='tel'],
.rc-champ input[type='email'],
.rc-champ select,
.rc-champ textarea {
	width: 100%;
	padding: 0.7rem 0.8rem;
	background: var(--rc-bg);
	border: 1px solid var(--rc-line);
	border-radius: var(--rc-r);
	transition: border-color var(--rc-transition), box-shadow var(--rc-transition);
}

.rc-champ input:hover,
.rc-champ select:hover,
.rc-champ textarea:hover {
	border-color: var(--rc-muted);
}

.rc-champ input:focus,
.rc-champ select:focus,
.rc-champ textarea:focus {
	outline: none;
	border-color: var(--rc-navy);
	box-shadow: 0 0 0 3px rgba(18, 47, 90, 0.14);
}

.rc-champ textarea {
	resize: vertical;
	min-height: 108px;
}

.rc-champ [aria-invalid='true'] {
	border-color: var(--rc-accent);
}

.rc-aide {
	font-size: 0.82rem;
	color: var(--rc-muted);
}

.rc-erreur {
	font-size: 0.82rem;
	color: var(--rc-accent);
	font-weight: 500;
}

.rc-champ--case {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.15rem 0.65rem;
	align-items: start;
	margin-bottom: 1.5rem;
}

.rc-champ--case input {
	width: 18px;
	height: 18px;
	margin-top: 0.22rem;
	accent-color: var(--rc-navy);
}

.rc-champ--case label {
	font-weight: 400;
	font-size: 0.9rem;
	color: var(--rc-muted);
}

.rc-champ--case .rc-erreur {
	grid-column: 2;
}

.rc-form__alerte {
	padding: 0.8rem 1rem;
	margin-bottom: 1.25rem;
	border-left: 3px solid var(--rc-accent);
	background: var(--rc-surface-2);
	font-size: 0.92rem;
}

.rc-form__mention {
	margin: 0.9rem 0 0;
	font-size: 0.8rem;
	color: var(--rc-muted);
}

.rc-hp {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

.rc-merci__titre {
	font-size: 1.3rem;
}

.rc-merci p {
	color: var(--rc-muted);
}

.rc-merci__tel a {
	color: var(--rc-navy-texte);
	font-weight: 500;
}

@media (max-width: 860px) {
	.rc-contact__grid {
		grid-template-columns: 1fr;
	}

	.rc-form__duo {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   12. Pied de page
   ========================================================================== */

.rc-footer {
	background: var(--rc-sombre-2);
	color: var(--rc-sur-sombre);
	padding-top: clamp(2.5rem, 5vw, 4rem);
	padding-bottom: 1.5rem;
}

.rc-footer__inner {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1.35fr;
	gap: 2rem clamp(1.5rem, 3.5vw, 3rem);
	padding-bottom: 2.5rem;
}

/* Alignement à gauche imposé, quel que soit le style hérité d’un menu WordPress. */
.rc-footer,
.rc-footer__bloc,
.rc-footer__marque,
.rc-footer__liens,
.rc-footer__liens li,
.rc-footer__liens a {
	text-align: left;
}

.rc-footer__liens {
	list-style: none;
	margin: 0;
	padding: 0;
}

.rc-footer__liens a {
	display: inline-block;
}

.rc-footer .rc-logo-img {
	height: 30px;
	margin-bottom: 1rem;
}

.rc-footer__texte {
	color: var(--rc-sur-sombre-doux);
	font-size: 0.93rem;
	max-width: 46ch;
}

.rc-footer__titre {
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--rc-sur-sombre-doux);
	margin-bottom: 0.9rem;
}

.rc-footer__nom {
	font-weight: 600;
}

.rc-footer p {
	margin: 0 0 0.35rem;
	font-size: 0.93rem;
}

.rc-footer a {
	color: var(--rc-sur-sombre);
	text-decoration: none;
	border-bottom: 1px solid transparent;
}

.rc-footer a:hover {
	border-bottom-color: var(--rc-accent);
}

.rc-footer__liens li {
	margin-bottom: 0.45rem;
	font-size: 0.93rem;
}

.rc-footer__bas {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.5rem 1.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.rc-footer__bas p {
	margin: 0;
	font-size: 0.85rem;
	color: var(--rc-sur-sombre-doux);
}

@media (max-width: 900px) {
	.rc-footer__inner {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.rc-footer__marque {
		grid-column: 1 / -1;
	}
}

@media (max-width: 600px) {
	.rc-footer__inner {
		grid-template-columns: 1fr;
	}
}

/*
 * Cibles tactiles confortables au doigt : tout appareil sans survol, et
 * toute largeur de tablette ou de téléphone pliable déplié, jusqu’à 1024 px.
 */
@media (hover: none), (max-width: 1024px) {
	.rc-footer__bloc p a,
	.rc-footer__liens a {
		display: inline-block;
		padding-block: 0.5rem;
	}

	.rc-footer p,
	.rc-footer__liens li {
		margin-bottom: 0;
	}
}

/* ==========================================================================
   13. Pages internes
   ========================================================================== */

.rc-page {
	padding-block: var(--rc-section);
}

.rc-page__contenu {
	max-width: 76ch;
}

/* Colonne de lecture pour le contenu rédigé dans l’éditeur WordPress. */
.rc-prose {
	max-width: 76ch;
}

/* Page construite avec Elementor : aucune contrainte du thème. */
.rc-prose--builder {
	max-width: none;
}

/*
 * Page construite avec Elementor : le thème n’ajoute aucune largeur ni
 * aucun centrage. Seuls le titre et le lien de retour reçoivent une marge,
 * le contenu du constructeur reste intact sur tous les écrans.
 */
.rc-page--builder {
	padding-block: 0;
}

.rc-page__large {
	width: 100%;
	padding-inline: var(--rc-gouttiere);
}

.rc-page--builder .rc-page__large {
	padding-block: clamp(1.5rem, 3vw, 2.5rem);
}

.rc-page__retour {
	border-top: 1px solid var(--rc-line);
}

.rc-prose h2,
.rc-prose h3 {
	margin-top: 2rem;
}

.rc-prose p,
.rc-prose li {
	color: var(--rc-muted);
}

.rc-prose ul {
	list-style: disc;
	padding-left: 1.25rem;
	margin-bottom: 1rem;
}

.rc-page__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
	margin-top: 2rem;
}

.rc-liste-articles li {
	padding-block: 1.25rem;
	border-top: 1px solid var(--rc-line);
}

.rc-liste-articles a {
	font-weight: 600;
	text-decoration: none;
}

/* ==========================================================================
   14. Carte de visite
   ========================================================================== */

.rc-carte {
	background: var(--rc-sombre);
	padding: clamp(1.5rem, 4vw, 3rem) var(--rc-gouttiere);
	display: flex;
	justify-content: center;
}

.rc-carte__bloc {
	width: 100%;
	max-width: 420px;
	background: var(--rc-surface);
	border-radius: var(--rc-r);
	overflow: hidden;
	box-shadow: 0 30px 70px rgba(8, 20, 40, 0.35);
}

.rc-carte__tete {
	position: relative;
	aspect-ratio: 16 / 11;
	overflow: hidden;
}

.rc-carte__photo {
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* Position verticale réglable : plus la valeur monte, plus la photo remonte. */
	object-position: center var(--rc-cadrage, 22%);
}

.rc-carte__tete::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(18, 47, 90, 0.95) 8%, rgba(18, 47, 90, 0.35) 45%, rgba(18, 47, 90, 0.1) 70%);
}

.rc-carte__identite {
	position: absolute;
	left: clamp(1.25rem, 4vw, 1.75rem);
	right: clamp(1.25rem, 4vw, 1.75rem);
	bottom: clamp(1rem, 3vw, 1.5rem);
	z-index: 1;
	color: #fff;
}

.rc-carte__nom {
	margin: 0 0 0.25rem;
	font-size: clamp(1.5rem, 1.2rem + 1.6vw, 2rem);
	line-height: 1.1;
	color: #fff;
}

.rc-carte__role {
	margin: 0;
	font-size: 0.9rem;
	color: var(--rc-sur-sombre-doux);
}

.rc-carte__rond {
	position: absolute;
	top: 1rem;
	z-index: 2;
	width: 44px;
	height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	color: #fff;
	background: rgba(18, 47, 90, 0.75);
	backdrop-filter: blur(6px);
	transition: background-color var(--rc-transition), transform var(--rc-transition);
}

.rc-carte__rond--accueil {
	left: 1rem;
}

.rc-carte__rond--partage {
	right: 1rem;
	background: var(--rc-accent);
}

.rc-carte__rond:hover {
	transform: scale(1.06);
}

.rc-carte__corps {
	padding: clamp(1.5rem, 5vw, 2.25rem);
}

.rc-carte__logo {
	height: 30px;
	width: auto;
	margin-bottom: 1.25rem;
}

.rc-carte__site {
	margin: 0 0 0.2rem;
	font-weight: 500;
}

.rc-carte__site a {
	color: var(--rc-accent);
	text-decoration: none;
}

.rc-carte__zone {
	margin: 0 0 1.5rem;
	color: var(--rc-muted);
	font-size: 0.93rem;
}

.rc-carte__coord {
	display: grid;
	gap: 0.85rem;
	margin-bottom: 1.5rem;
}

.rc-carte__coord li {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
	padding-bottom: 0.85rem;
	border-bottom: 1px solid var(--rc-line);
}

.rc-carte__etiquette {
	font-size: 0.78rem;
	color: var(--rc-muted);
}

.rc-carte__coord a {
	color: var(--rc-text);
	text-decoration: none;
	font-weight: 500;
	word-break: break-word;
}

.rc-carte__coord a:hover {
	color: var(--rc-navy-texte);
}

.rc-carte__texte {
	color: var(--rc-muted);
	font-size: 0.9rem;
	margin-bottom: 1.5rem;
}

.rc-carte__actions {
	display: grid;
	gap: 0.65rem;
}

/* Fenêtre du QR code */

/* L’attribut hidden doit l’emporter sur le display de la fenêtre. */
.rc-modale[hidden] {
	display: none;
}

.rc-modale {
	position: fixed;
	inset: 0;
	z-index: 60;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: var(--rc-gouttiere);
}

.rc-modale__fond {
	position: absolute;
	inset: 0;
	background: rgba(8, 18, 36, 0.72);
	backdrop-filter: blur(3px);
}

.rc-modale__boite {
	position: relative;
	width: 100%;
	max-width: 400px;
	background: var(--rc-surface);
	border-radius: var(--rc-r);
	padding: clamp(1.5rem, 5vw, 2rem);
	text-align: center;
	box-shadow: 0 30px 70px rgba(8, 20, 40, 0.45);
}

.rc-modale__titre {
	font-size: 1.15rem;
	margin-bottom: 1.25rem;
}

.rc-modale__qr {
	width: 100%;
	max-width: 280px;
	margin: 0 auto 1.25rem;
	aspect-ratio: 1;
	background: #fff;
	padding: 0.5rem;
	border: 1px solid var(--rc-line);
	border-radius: var(--rc-r);
}

.rc-modale__qr svg,
.rc-modale__qr img {
	width: 100%;
	height: 100%;
	display: block;
}

.rc-modale__aide {
	font-size: 0.88rem;
	color: var(--rc-muted);
	margin-bottom: 1.5rem;
}

.rc-modale__actions {
	display: grid;
	gap: 0.6rem;
}

/* ==========================================================================
   15. Page introuvable
   ========================================================================== */

.rc-404 {
	background: var(--rc-sombre);
	color: var(--rc-sur-sombre);
	padding-block: clamp(3.5rem, 8vw, 6rem);
}

.rc-404__code {
	display: inline-block;
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	padding-bottom: 0.5rem;
	border-bottom: 3px solid var(--rc-accent);
	margin-bottom: 1.75rem;
}

.rc-404__titre {
	color: var(--rc-sur-sombre);
	font-size: clamp(1.9rem, 1.1rem + 2.6vw, 3.1rem);
	max-width: 18ch;
	margin-bottom: 1rem;
}

.rc-404__texte {
	color: var(--rc-sur-sombre-doux);
	max-width: 52ch;
	margin-bottom: 2.25rem;
}

.rc-404__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
	margin-bottom: 3rem;
}

.rc-404__reperes {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	max-width: 860px;
}

.rc-404__reperes li {
	padding: 1.15rem 1.5rem 1.15rem 0;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.rc-404__reperes a {
	font-weight: 500;
	text-decoration: none;
	border-bottom: 1px solid transparent;
}

.rc-404__reperes a:hover {
	border-bottom-color: var(--rc-accent);
}

.rc-404__reperes span {
	display: block;
	color: var(--rc-sur-sombre-doux);
	font-size: 0.9rem;
	margin-top: 0.2rem;
}

/* ==========================================================================
   16. Animations d’apparition
   ========================================================================== */

/*
 * Un bloc n’est masqué que si le script l’a explicitement marqué.
 * Sans JavaScript, ou si le script échoue, tout reste visible :
 * une animation ne doit jamais pouvoir faire disparaître du contenu.
 */
.rc-reveal.rc-masque {
	opacity: 0;
	transform: translateY(18px);
}

.rc-reveal.rc-masque.is-visible {
	opacity: 1;
	transform: none;
	transition: opacity 620ms cubic-bezier(0.16, 1, 0.3, 1) var(--rc-delai, 0ms),
		transform 620ms cubic-bezier(0.16, 1, 0.3, 1) var(--rc-delai, 0ms);
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}

	.rc-reveal.rc-masque {
		opacity: 1;
		transform: none;
	}

	.rc-secteur:hover .rc-secteur__media img {
		transform: none;
	}
}

/* Barre d’administration WordPress */
body.admin-bar .rc-header {
	top: 32px;
}

@media (max-width: 782px) {
	body.admin-bar .rc-header {
		top: 46px;
	}
}

/* Logo : version claire sur fond sombre */
.rc-logo--sombre { display: none; }

@media (prefers-color-scheme: dark) {
	:root:not([data-theme='light']) .rc-logo--clair { display: none; }
	:root:not([data-theme='light']) .rc-logo--sombre { display: block; }
}

:root[data-theme='dark'] .rc-logo--clair { display: none; }
:root[data-theme='dark'] .rc-logo--sombre { display: block; }
