/* =========================================================
   Sérénité Énergétik's — design system
   Palette issue du logo, optimisée pour la lisibilité :
   - Fond crème (#FFF8E5) : jamais de texte foncé sur fond mauve/vert en pleine surface
   - Brun chaleureux (#7A5538) : titres, liens, boutons primaires (contraste fort)
   - Mauve (#B969A0) : touches décoratives, jamais porteur de texte sur fond clair
   - Vert sauge (#4F8457) : touches secondaires, accents discrets
   - Texte : anthracite (#2D2D2D), jamais noir pur
   ========================================================= */

:root {
	--se-cream: #FFF8E5;
	--se-white: #FFFFFF;
	--se-brown: #7A5538;
	--se-brown-dark: #5C3F29;
	--se-mauve: #B969A0;
	--se-mauve-tint: rgba(185, 105, 160, 0.12);
	--se-green: #4F8457;
	--se-green-tint: rgba(79, 132, 87, 0.10);
	--se-text: #2D2D2D;
	--se-text-light: #5B5B5B;
	--se-border: #E7DFC9;
	--se-radius: 14px;
	--se-radius-pill: 999px;
	--se-shadow: 0 8px 24px rgba(88, 60, 127, 0.08);
}

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

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: 'Quicksand', sans-serif;
	font-weight: 500;
	font-size: 1.0625rem;
	line-height: 1.75;
	color: var(--se-text);
	background:
		radial-gradient(circle at 12% 4%, rgba(122,143,92,0.10), transparent 45%),
		radial-gradient(circle at 90% 12%, rgba(185,105,160,0.08), transparent 40%),
		radial-gradient(circle at 50% 95%, rgba(122,85,56,0.07), transparent 50%),
		var(--se-cream);
	-webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
	font-family: 'Playfair Display', serif;
	font-weight: 600;
	color: var(--se-brown);
	line-height: 1.25;
	margin: 0 0 1rem;
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.1rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.3rem; }

.se-script {
	font-family: 'Caveat', cursive;
	font-weight: 600;
	font-size: 1.5em;
	color: var(--se-green);
}

p { margin: 0 0 1.1rem; }

a {
	color: var(--se-brown);
	text-decoration: underline;
	text-decoration-color: var(--se-mauve);
	text-underline-offset: 3px;
}
a:hover { color: var(--se-brown-dark); }

.se-container {
	max-width: 1140px;
	margin: 0 auto;
	padding: 0 1.5rem;
}

.se-container--narrow {
	max-width: 760px;
}

/* ---------- Header ---------- */

.se-header {
	background: var(--se-white);
	border-bottom: 1px solid var(--se-border);
	position: sticky;
	top: 0;
	z-index: 100;
}

.se-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 0.75rem;
	padding-bottom: 0.75rem;
}

.se-logo img {
	height: 64px;
	width: auto;
}

.se-nav {
	display: flex;
	align-items: center;
	gap: 1.75rem;
}

.se-nav__list {
	display: flex;
	align-items: center;
	gap: 1.75rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.se-nav__list a {
	color: var(--se-text);
	text-decoration: none;
	font-weight: 500;
	font-size: 0.98rem;
}

.se-nav__list a:hover,
.se-nav__list .current-menu-item > a {
	color: var(--se-brown);
}

.se-menu-toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	width: 36px;
	height: 30px;
	flex-direction: column;
	justify-content: space-between;
	padding: 0;
}

.se-menu-toggle span {
	display: block;
	height: 3px;
	border-radius: 2px;
	background: var(--se-brown);
}

/* ---------- Buttons ---------- */

.se-btn {
	display: inline-block;
	background: var(--se-brown);
	color: var(--se-white);
	font-weight: 600;
	font-size: 1rem;
	padding: 0.85rem 1.9rem;
	border-radius: var(--se-radius-pill);
	text-decoration: none;
	border: none;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.15s ease;
}

.se-btn:hover {
	background: var(--se-brown-dark);
	color: var(--se-white);
	transform: translateY(-1px);
}

.se-btn--accent { background: var(--se-brown); }

.se-nav__cta {
	margin-left: 0.5rem;
	padding: 0.6rem 1.4rem;
	font-size: 0.95rem;
}

/* ---------- Sections ---------- */

.se-section { padding: 4rem 0; }
.se-section--alt { background: var(--se-white); }
.se-section--page-hero { padding: 3rem 0 1rem; }
.se-section--page-hero h1 { margin-bottom: 0; }

.se-section--cta {
	text-align: center;
	background: var(--se-mauve-tint);
}

.se-eyebrow {
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--se-green);
	margin-bottom: 0.75rem;
}

.se-lead {
	font-size: 1.2rem;
	color: var(--se-text);
}

.se-italic { font-style: italic; color: var(--se-text-light); }

.se-callout {
	background: var(--se-green-tint);
	border-left: 4px solid var(--se-green);
	padding: 1rem 1.25rem;
	border-radius: 0 var(--se-radius) var(--se-radius) 0;
}

.se-note {
	font-size: 0.92rem;
	color: var(--se-text-light);
}

.se-signature { text-align: right; font-family: 'Caveat', cursive; font-weight: 600; font-size: 1.8rem; color: var(--se-green); }

/* ---------- Séparateur feuille ---------- */

.se-leaf-divider {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	margin: 0 auto 1.25rem;
	max-width: 420px;
}
.se-leaf-divider span {
	flex: 1;
	height: 1px;
	background: var(--se-border);
}
.se-leaf-divider img {
	width: 48px;
	height: 24px;
	opacity: 0.9;
}
.se-leaf-divider--left {
	margin: 0 0 1.25rem;
	max-width: 260px;
}

/* ---------- Formes organiques (portraits) ---------- */

.se-organic-img {
	position: relative;
}

.se-organic-img::before {
	content: '';
	position: absolute;
	inset: -6%;
	z-index: 0;
	background:
		radial-gradient(circle at 50% 50%, rgba(185,105,160,0.30), transparent 60%),
		radial-gradient(circle at 60% 40%, rgba(79,132,87,0.22), transparent 65%);
	border-radius: 50%;
	filter: blur(18px);
	animation: se-aura-pulse 7s ease-in-out infinite;
}

@keyframes se-aura-pulse {
	0%, 100% { transform: scale(1); opacity: 0.85; }
	50% { transform: scale(1.07); opacity: 1; }
}

.se-organic-img img {
	position: relative;
	z-index: 1;
	border-radius: 42% 58% 65% 35% / 45% 40% 60% 55% !important;
	box-shadow: var(--se-shadow);
}

@media (max-width: 700px) {
	.se-organic-img img {
		border-radius: 30% 70% 70% 30% / 35% 35% 65% 65% !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.se-organic-img::before { animation: none; }
}

/* ---------- Kicker script (au-dessus des grands titres) ---------- */

.se-kicker {
	display: block;
	text-align: center;
	font-family: 'Caveat', cursive;
	font-weight: 600;
	font-size: 1.6rem;
	color: var(--se-mauve);
	margin-bottom: 0.15rem;
	transform: rotate(-1.5deg);
}
.se-kicker--left { text-align: left; transform: rotate(-1deg); }

/* ---------- Feuilles en filigrane (coins de section) ---------- */

.se-leafy {
	position: relative;
}
.se-leafy::before,
.se-leafy::after {
	content: '';
	position: absolute;
	width: 110px;
	height: 110px;
	background-image: url('../images/leaf.svg');
	background-repeat: no-repeat;
	background-size: contain;
	opacity: 0.10;
	pointer-events: none;
	z-index: 0;
}
.se-leafy::before { top: 10px; left: 0; transform: rotate(-25deg); }
.se-leafy::after { bottom: 10px; right: 0; transform: rotate(160deg); }

@media (max-width: 700px) {
	.se-leafy::before, .se-leafy::after { width: 60px; height: 60px; opacity: 0.08; }
}

/* ---------- Légère asymétrie sur les titres ---------- */

.se-tilt { display: inline-block; transform: rotate(-1deg); }

/* ---------- Particules flottantes (hero) ---------- */

.se-particles {
	position: absolute;
	inset: 0;
	overflow: hidden;
	pointer-events: none;
	z-index: 0;
}
.se-particles span {
	position: absolute;
	bottom: -10%;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: rgba(255, 248, 229, 0.55);
	animation: se-float-up linear infinite;
}
.se-particles span:nth-child(1) { left: 6%;  width: 5px; height: 5px; animation-duration: 11s; animation-delay: 0s; }
.se-particles span:nth-child(2) { left: 18%; width: 7px; height: 7px; animation-duration: 14s; animation-delay: 2s; }
.se-particles span:nth-child(3) { left: 32%; width: 4px; height: 4px; animation-duration: 9s;  animation-delay: 1s; }
.se-particles span:nth-child(4) { left: 47%; width: 6px; height: 6px; animation-duration: 13s; animation-delay: 4s; }
.se-particles span:nth-child(5) { left: 61%; width: 5px; height: 5px; animation-duration: 10s; animation-delay: 3s; }
.se-particles span:nth-child(6) { left: 74%; width: 8px; height: 8px; animation-duration: 15s; animation-delay: 1.5s; }
.se-particles span:nth-child(7) { left: 86%; width: 4px; height: 4px; animation-duration: 12s; animation-delay: 5s; }
.se-particles span:nth-child(8) { left: 95%; width: 6px; height: 6px; animation-duration: 16s; animation-delay: 2.5s; }

@keyframes se-float-up {
	0%   { transform: translateY(0) translateX(0); opacity: 0; }
	10%  { opacity: 0.9; }
	50%  { transform: translateY(-260px) translateX(12px); }
	90%  { opacity: 0.4; }
	100% { transform: translateY(-520px) translateX(-10px); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
	.se-particles span { animation: none; display: none; }
}

/* ---------- Vague décorative sous la bannière ---------- */

.se-wave-divider {
	display: block;
	width: 100%;
	height: 56px;
	margin-top: -56px;
	position: relative;
	z-index: 2;
}

/* ---------- Cartes "Mes soins" (Accueil) ---------- */

.se-service-card {
	background: var(--se-white);
	border-radius: var(--se-radius);
	box-shadow: var(--se-shadow);
	padding: 14px 14px 0;
	transition: transform 0.25s ease;
}
.se-service-card:hover { transform: translateY(-4px) rotate(0deg) !important; }

.se-service-card:nth-child(3n+1) { transform: rotate(-2.5deg); }
.se-service-card:nth-child(3n+2) { transform: rotate(1.5deg); }
.se-service-card:nth-child(3n+3) { transform: rotate(-1deg); }

.se-service-card .elementor-widget-image img {
	border-radius: 8px;
	height: 220px;
	object-fit: cover;
	border: 6px solid var(--se-white);
	box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}
.se-service-card .elementor-widget-heading {
	margin-top: 1rem;
}
.se-service-card .elementor-widget-button {
	margin-bottom: 1.5rem;
}

/* ---------- Hero (Accueil) ---------- */

.se-hero {
	padding: 4.5rem 0 3.5rem;
	background: linear-gradient(180deg, var(--se-mauve-tint), transparent 70%);
}

.se-hero__inner { max-width: 700px; }

/* ---------- Lists ---------- */

.se-list {
	margin: 0 0 1.1rem;
	padding-left: 1.3rem;
}
.se-list li { margin-bottom: 0.5rem; }

.se-steps {
	margin: 0 0 1.1rem;
	padding-left: 1.4rem;
}
.se-steps li { margin-bottom: 1rem; }

/* ---------- Grids ---------- */

.se-grid-2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2.5rem;
}

.se-grid-3 {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}

.se-card {
	background: var(--se-white);
	border: 1px solid var(--se-border);
	border-radius: var(--se-radius);
	padding: 1.5rem;
	box-shadow: var(--se-shadow);
}
.se-card h3 { margin-bottom: 0.6rem; }
.se-card p { margin-bottom: 0; color: var(--se-text-light); }

/* ---------- Tables ---------- */

.se-table {
	width: 100%;
	border-collapse: collapse;
	background: var(--se-white);
	border-radius: var(--se-radius);
	overflow: hidden;
	box-shadow: var(--se-shadow);
}

.se-table td, .se-table th {
	padding: 0.85rem 1.1rem;
	text-align: left;
	border-bottom: 1px solid var(--se-border);
}

.se-table--pricing thead th {
	background: var(--se-brown);
	color: var(--se-white);
	font-weight: 600;
}

.se-table tbody tr:nth-child(even) { background: var(--se-cream); }

.se-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ---------- Testimonial ---------- */

.se-testimonial {
	background: var(--se-green-tint);
}
.se-testimonial blockquote {
	margin: 0;
	border-left: 4px solid var(--se-mauve);
	padding-left: 1.5rem;
	font-style: italic;
	font-size: 1.15rem;
}
.se-testimonial cite {
	display: block;
	margin-top: 0.75rem;
	font-style: normal;
	font-weight: 600;
	color: var(--se-brown);
}

/* ---------- FAQ ---------- */

.se-faq {
	border-bottom: 1px solid var(--se-border);
	padding: 1.25rem 0;
}
.se-faq h3 { margin-bottom: 0.5rem; font-size: 1.05rem; }
.se-faq p, .se-faq ul { margin-bottom: 0; color: var(--se-text-light); }

/* ---------- Portrait (Qui suis-je) ---------- */

.se-portrait-block { position: relative; }
.se-portrait {
	width: 220px;
	border-radius: var(--se-radius);
	float: right;
	margin: 0 0 1.5rem 2rem;
	box-shadow: var(--se-shadow);
}

/* ---------- Gallery (page Galerie) — taille fixe, recadrage cover ---------- */

.page-galerie .elementor-column {
	transition: transform 0.25s ease;
	padding: 10px;
}
.page-galerie .elementor-column:hover { transform: scale(1.03) rotate(0deg) !important; z-index: 2; }
.page-galerie .elementor-column:nth-child(4n+1) { transform: rotate(-2deg); }
.page-galerie .elementor-column:nth-child(4n+2) { transform: rotate(1.5deg); }
.page-galerie .elementor-column:nth-child(4n+3) { transform: rotate(-1deg); }
.page-galerie .elementor-column:nth-child(4n+4) { transform: rotate(2deg); }

.page-galerie .elementor-widget-image img,
.page-galerie .elementor-widget-image .attachment-large {
	height: 320px;
	width: 100%;
	object-fit: cover;
	display: block;
	border: 7px solid var(--se-white);
	box-shadow: 0 6px 14px rgba(0,0,0,0.15);
	border-radius: 4px;
}

@media (max-width: 700px) {
	.page-galerie .elementor-widget-image img,
	.page-galerie .elementor-widget-image .attachment-large {
		height: 240px;
	}
	.page-galerie .elementor-column { transform: none !important; }
}

/* ---------- Gallery ---------- */

.se-gallery {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
}
.se-gallery figure { margin: 0; }
.se-gallery img {
	border-radius: var(--se-radius);
	box-shadow: var(--se-shadow);
	object-fit: cover;
	width: 100%;
	height: 280px;
}

/* ---------- Contact ---------- */

.se-contact-list {
	list-style: none;
	padding: 0;
	margin: 0 0 1.5rem;
}
.se-contact-list li { margin-bottom: 0.75rem; font-size: 1.05rem; }

/* ---------- Legal pages ---------- */

.se-legal h2 { font-size: 1.25rem; margin-top: 2rem; }
.se-legal h2:first-child { margin-top: 0; }

/* ---------- Contact page — bloc formulaire centré ---------- */

.se-form-col {
	max-width: 700px;
	margin: 0 auto;
	float: none;
}

/* ---------- Contact form (Contact Form 7) ---------- */

.wpcf7-form {
	max-width: 100%;
	margin-top: 1rem;
}

.wpcf7-form label {
	display: block;
	font-weight: 500;
	margin-bottom: 1.1rem;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
	width: 100%;
	margin-top: 0.4rem;
	padding: 0.75rem 1rem;
	font-family: 'Quicksand', sans-serif;
	font-size: 1rem;
	border: 1px solid var(--se-border);
	border-radius: 10px;
	background: var(--se-cream);
	color: var(--se-text);
}

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

.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
	outline: none;
	border-color: var(--se-mauve);
}

.wpcf7-form input[type="submit"] {
	background: var(--se-brown);
	color: var(--se-white);
	font-weight: 600;
	font-size: 1rem;
	padding: 0.85rem 2.2rem;
	border: none;
	border-radius: var(--se-radius-pill);
	cursor: pointer;
}
.wpcf7-form input[type="submit"]:hover { background: var(--se-brown-dark); }

.wpcf7-form .wpcf7-not-valid-tip { color: #B3261E; font-size: 0.85rem; margin-top: 0.3rem; }
.wpcf7-response-output {
	margin-top: 1.5rem;
	padding: 1rem 1.25rem;
	border-radius: var(--se-radius);
	background: var(--se-green-tint);
	border: 1px solid var(--se-green);
	text-align: center;
}

/* ---------- Footer ---------- */

.se-footer {
	background: var(--se-brown);
	color: var(--se-cream);
	padding: 2.5rem 0;
	margin-top: 2rem;
}

.se-footer__inner { text-align: center; }

.se-footer__tagline {
	font-size: 1.05rem;
	max-width: 560px;
	margin: 0 auto 1.25rem;
}

.se-footer__legal-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1.25rem;
	list-style: none;
	padding: 0;
	margin: 0 0 1.25rem;
}

.se-footer__legal-list a {
	color: var(--se-cream);
	text-decoration: underline;
	text-decoration-color: var(--se-mauve);
	font-size: 0.9rem;
}
.se-footer__legal-list a:hover { color: var(--se-white); }

.se-footer__copy {
	font-size: 0.85rem;
	opacity: 0.85;
	margin: 0;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 860px) {
	.se-grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
	.se-menu-toggle { display: flex; }

	.se-nav {
		position: fixed;
		inset: 0 0 0 30%;
		top: 81px;
		background: var(--se-white);
		flex-direction: column;
		align-items: flex-start;
		padding: 1.5rem;
		gap: 1.25rem;
		transform: translateX(100%);
		transition: transform 0.25s ease;
		box-shadow: -8px 0 24px rgba(0,0,0,0.08);
		overflow-y: auto;
	}

	.se-nav.is-open { transform: translateX(0); }

	.se-nav__list {
		flex-direction: column;
		align-items: flex-start;
		gap: 1.1rem;
		width: 100%;
	}

	.se-nav__cta { margin-left: 0; }

	.se-grid-2, .se-grid-3, .se-gallery { grid-template-columns: 1fr; }

	.se-portrait { float: none; width: 100%; max-width: 280px; margin: 0 auto 1.5rem; display: block; }

	.se-section { padding: 2.75rem 0; }

	.se-logo img { height: 52px; }

	h1 { font-size: 1.85rem; }
}
