/* Apotheca Benedicti — page unique, neutre et calme, zéro tracking. */

:root {
	--bg: #faf8f4;
	--bg-alt: #f1ece3;
	--text: #2e2a26;
	--muted: #6b6560;
	--accent: #7d8c6a;
	--accent-dark: #5f6c4f;
	--card-bg: #ffffff;
	--border: #e4ddd3;
	--radius: 14px;
	--max-width: 1100px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: var(--text);
	background: var(--bg);
	line-height: 1.6;
}

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

a {
	color: var(--accent-dark);
}

.container {
	width: 92%;
	max-width: var(--max-width);
	margin: 0 auto;
}

h1, h2, h3 {
	font-weight: 700;
	line-height: 1.25;
	margin: 0 0 0.5em;
}

h1 {
	font-size: 2.1rem;
}

h2 {
	font-size: 1.6rem;
	text-align: center;
}

h3 {
	font-size: 1.1rem;
}

p {
	margin: 0 0 1em;
}

.btn {
	display: inline-block;
	padding: 16px 32px;
	border-radius: 999px;
	background: var(--accent);
	color: #fff;
	text-decoration: none;
	font-weight: 700;
	font-size: 1.05rem;
	transition: background 0.2s, transform 0.2s;
}

.btn:hover {
	background: var(--accent-dark);
	transform: translateY(-2px);
}

/* --- HERO --- */

.hero {
	padding: 90px 0 70px;
	text-align: center;
	background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
}

.hero-eyebrow {
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-size: 0.85rem;
	color: var(--muted);
	margin-bottom: 10px;
}

.hero h1 {
	margin-bottom: 10px;
}

.hero-sub {
	color: var(--muted);
	font-size: 1.1rem;
	margin-bottom: 30px;
}

.hero-meta {
	font-size: 1rem;
	color: var(--text);
	margin-bottom: 30px;
}

.hero-meta strong {
	color: var(--accent-dark);
}

.hero-image {
	margin: 40px auto 0;
	max-width: 700px;
	border-radius: var(--radius);
	overflow: hidden;
	aspect-ratio: 16 / 9;
	background: var(--bg-alt);
}

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

/* --- SECTIONS GÉNÉRIQUES --- */

section {
	padding: 70px 0;
}

/* Alternance automatique du fond, une section sur deux (ordre d'apparition dans la page,
   pas besoin d'ajouter/retirer une classe "alt" à la main à chaque nouvelle section). */
section:nth-of-type(even) {
	background: var(--bg-alt);
}

.section-sub {
	text-align: center;
	color: var(--muted);
	margin-bottom: 40px;
}

/* --- ARTICLES --- */

.articles-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 24px;
	margin-top: 30px;
}

.article-card {
	background: var(--card-bg);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
	text-align: center;
}

.article-card .article-img {
	aspect-ratio: 4 / 3;
	background: var(--bg-alt);
}

.article-card .article-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.article-card p {
	margin: 14px 16px;
	font-weight: 600;
}

.articles-note {
	text-align: center;
	max-width: 640px;
	margin: 0 auto;
	color: var(--muted);
}

/* --- SERVICES (MAGNÉTISME / MASSAGES SONORES) --- */

.service {
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
	align-items: center;
}

@media (min-width: 860px) {
	.service {
		grid-template-columns: 1fr 1fr;
	}
	.service.reverse .service-image {
		order: 2;
	}
}

.service-image {
	border-radius: var(--radius);
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: var(--bg-alt);
}

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

.service-content h2 {
	text-align: left;
}

.service-sub {
	color: var(--muted);
	margin-bottom: 20px;
}

.service-details {
	list-style: none;
	margin: 24px 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 14px;
}

.service-details li {
	background: var(--card-bg);
	border: 1px solid var(--border);
	border-radius: 10px;
	padding: 12px 14px;
	font-size: 0.95rem;
}

.service-details li strong {
	display: block;
	color: var(--accent-dark);
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	margin-bottom: 2px;
}

/* --- FOOTER --- */

footer {
	padding: 50px 0 30px;
	text-align: center;
	background: var(--bg-alt);
	color: var(--muted);
	font-size: 0.9rem;
}

footer .footer-contact {
	color: var(--text);
	margin-bottom: 18px;
}

footer .footer-contact strong {
	display: block;
	font-size: 1.05rem;
	margin-bottom: 4px;
	color: var(--text);
}

footer .footer-links a {
	color: var(--muted);
	text-decoration: none;
	margin: 0 8px;
}

footer .footer-links a:hover {
	text-decoration: underline;
}

@media (max-width: 599px) {
	.hero {
		padding: 60px 0 50px;
	}
	h1 {
		font-size: 1.7rem;
	}
	section {
		padding: 50px 0;
	}
}
