/* ===========================
   RETOUR À NOTRE NATURE — Style principal
   Palette : Terre & Nature (kaki, marron, crème)
   Fonts : Cormorant Garamond + Jost
=========================== */

/* VARIABLES */
:root {
	--kaki:        #4a5240;
	--kaki-light:  #6b7560;
	--kaki-pale:   #c5cbb8;
	--terre:       #7a5c3e;
	--terre-light: #a07850;
	--creme:       #f5f0e8;
	--creme-dark:  #ede5d5;
	--sable:       #d9cdb8;
	--blanc:       #faf8f4;
	--texte:       #2e2a22;
	--texte-doux:  #5a5248;
	--or:          #c4a35a;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
	font-family: 'Jost', sans-serif;
	font-weight: 300;
	font-size: 16px;
	line-height: 1.8;
	color: var(--texte);
	background: var(--blanc);
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* TYPOGRAPHY */
h1, h2, h3, h4 {
	font-family: 'Cormorant Garamond', serif;
	font-weight: 300;
	line-height: 1.2;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.9rem); }
em { font-style: italic; color: var(--terre); }

/* HEADER */
#header {
	position: fixed;
	top: 0; left: 0;
	width: 100%;
	z-index: 1000;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem 2.5rem;
	background: rgba(245,240,232,0.92);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--sable);
	transition: all 0.3s ease;
}
#header.scrolled { padding: 0.6rem 2.5rem; background: rgba(245,240,232,0.98); }
#header .site-name {
	font-family: 'Cormorant Garamond', serif;
	font-size: 1.1rem;
	font-weight: 400;
	color: var(--kaki);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
#header .site-name a { color: var(--kaki); }

/* HAMBURGER */
#menu-toggle {
	background: none;
	border: none;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	gap: 5px;
	padding: 4px;
}
#menu-toggle span {
	display: block;
	width: 24px;
	height: 2px;
	background: var(--kaki);
	transition: all 0.3s ease;
}
#menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
#menu-toggle.active span:nth-child(2) { opacity: 0; }
#menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* OVERLAY MENU */
#nav-overlay {
	position: fixed;
	inset: 0;
	z-index: 999;
	background: var(--kaki);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.4s ease;
	/* Scroll si la fenêtre est trop petite */
	overflow-y: auto;
	padding: 5rem 2rem 3rem;
}
#nav-overlay.open { opacity: 1; pointer-events: all; }
#nav-overlay nav { text-align: center; width: 100%; }
#nav-overlay nav ul {
	list-style: none;
	display: flex;
	flex-direction: column;
	/* Gap adaptatif selon la hauteur dispo */
	gap: clamp(0.6rem, 2.5vh, 1.5rem);
}
#nav-overlay nav ul li a {
	font-family: 'Cormorant Garamond', serif;
	/* Taille adaptative selon hauteur ET largeur */
	font-size: clamp(1.4rem, 4vh, 2.8rem);
	font-weight: 300;
	color: var(--creme);
	letter-spacing: 0.05em;
	transition: color 0.2s;
	display: block;
	/* Padding tactile minimum */
	padding: 0.15rem 0;
}
#nav-overlay nav ul li a:hover { color: var(--or); }
#nav-overlay .close-btn {
	position: fixed;
	top: 1.2rem; right: 1.8rem;
	font-family: 'Jost', sans-serif;
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--kaki-pale);
	cursor: pointer;
	background: none;
	border: none;
	padding: 0.4rem 0.8rem;
	transition: color 0.2s;
}
#nav-overlay .close-btn:hover { color: var(--or); }

/* PAGE HERO (sous-pages) */
.page-hero {
	padding: 9rem 2rem 4rem;
	background: var(--creme);
	position: relative;
	overflow: hidden;
	text-align: center;
}
.page-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse 80% 60% at 70% 30%, rgba(74,82,64,0.07) 0%, transparent 60%);
	pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.page-hero-img {
	width: 120px;
	height: 120px;
	border-radius: 50%;
	object-fit: cover;
	border: 3px solid var(--sable);
	margin: 0 auto 1.5rem;
}
.page-hero h1 { color: var(--kaki); margin-bottom: 0.5rem; }
.page-hero .hero-sub { color: var(--texte-doux); font-size: 1rem; margin-bottom: 2rem; }

/* SECTION LABEL */
.section-label {
	font-family: 'Jost', sans-serif;
	font-size: 0.7rem;
	font-weight: 500;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	color: var(--terre);
	margin-bottom: 0.8rem;
	display: flex;
	align-items: center;
	gap: 0.8rem;
}
.section-label::before {
	content: '';
	display: block;
	width: 25px;
	height: 1px;
	background: var(--terre);
}
.section-label.center { justify-content: center; }
.section-label.center::before { display: none; }

/* DIVIDER */
.divider {
	width: 60px;
	height: 2px;
	background: var(--or);
	margin: 1.5rem 0;
}
.divider.center { margin: 1.5rem auto; }

/* SECTION CONTENU */
.content-section {
	max-width: 820px;
	margin: 0 auto;
	padding: 5rem 2rem;
}
.content-section h2 { color: var(--kaki); margin-bottom: 0.5rem; }
.content-section h3 {
	color: var(--kaki);
	margin: 2.5rem 0 1rem;
	padding-bottom: 0.5rem;
	border-bottom: 1px solid var(--sable);
}
.content-section p {
	color: var(--texte-doux);
	margin-bottom: 1rem;
	font-size: 0.95rem;
	line-height: 1.9;
}
.content-section ul {
	list-style: none;
	margin: 1rem 0 1.5rem;
}
.content-section ul li {
	padding: 0.4rem 0 0.4rem 1.5rem;
	position: relative;
	font-size: 0.95rem;
	color: var(--texte-doux);
}
.content-section ul li::before {
	content: '—';
	position: absolute;
	left: 0;
	color: var(--or);
}

/* BUTTONS */
.btn {
	display: inline-block;
	padding: 0.75rem 1.8rem;
	font-family: 'Jost', sans-serif;
	font-size: 0.8rem;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	border-radius: 2px;
	transition: all 0.3s ease;
	cursor: pointer;
}
.btn-kaki { background: var(--kaki); color: var(--creme); border: 1px solid var(--kaki); }
.btn-kaki:hover { background: var(--kaki-light); border-color: var(--kaki-light); }
.btn-outline { background: transparent; color: var(--kaki); border: 1px solid var(--kaki); }
.btn-outline:hover { background: var(--kaki); color: var(--creme); }
.btn-or {
	background: var(--or);
	color: var(--texte);
	border: 1px solid var(--or);
	animation: pulse-or 2.5s infinite;
}
@keyframes pulse-or {
	0%, 100% { box-shadow: 0 0 0 0 rgba(196,163,90,0.4); }
	50% { box-shadow: 0 0 0 8px rgba(196,163,90,0); }
}
.btn-or:hover { background: var(--terre); border-color: var(--terre); color: #fff; }

.btn-group {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-top: 2rem;
}

/* THÈMES CARDS (sous-pages bas) */
.sujets-section {
	background: var(--creme-dark);
	padding: 4rem 2rem;
}
.sujets-section h3 {
	font-family: 'Jost', sans-serif;
	font-size: 0.7rem;
	font-weight: 500;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	color: var(--terre);
	margin-bottom: 1.5rem;
	text-align: center;
}
.sujets-grid {
	max-width: 900px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	justify-content: center;
}
.sujet-pill {
	display: inline-block;
	padding: 0.45rem 1.2rem;
	border: 1px solid var(--kaki);
	border-radius: 100px;
	font-size: 0.8rem;
	color: var(--kaki);
	font-weight: 400;
	transition: all 0.2s;
}
.sujet-pill:hover { background: var(--kaki); color: var(--creme); border-color: var(--kaki); }

/* CTA BANDE */
.cta-band {
	background: var(--terre);
	padding: 4rem 2rem;
	text-align: center;
	position: relative;
	overflow: hidden;
}
.cta-band::before {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse 80% 100% at 50% 0%, rgba(255,255,255,0.05) 0%, transparent 70%);
}
.cta-band-inner { position: relative; z-index: 1; max-width: 600px; margin: 0 auto; }
.cta-band h2 { color: var(--creme); margin-bottom: 1rem; }
.cta-band p { color: rgba(245,240,232,0.85); margin-bottom: 2rem; font-size: 0.95rem; }
.cta-band .btn-group { justify-content: center; }

/* FOOTER */
#footer {
	background: var(--texte);
	color: rgba(245,240,232,0.7);
	padding: 4rem 2rem 2rem;
}
.footer-inner {
	max-width: 1000px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 3rem;
	padding-bottom: 3rem;
	border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .cali-img { max-width: 200px; opacity: 0.6; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.85rem; line-height: 1.7; }
.footer-col h4 {
	font-family: 'Jost', sans-serif;
	font-size: 0.7rem;
	font-weight: 500;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--kaki-pale);
	margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a { font-size: 0.85rem; color: rgba(245,240,232,0.6); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--or); }
.footer-social { display: flex; gap: 1rem; margin-top: 0.5rem; flex-wrap: wrap; }
.footer-social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid rgba(255,255,255,0.15);
	border-radius: 50%;
	transition: all 0.3s;
}
.footer-social a:hover { border-color: var(--or); background: rgba(196,163,90,0.1); }
.footer-social img { width: 20px; height: 20px; object-fit: contain; }
.footer-bottom {
	max-width: 1000px;
	margin: 2rem auto 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 0.75rem;
	flex-wrap: wrap;
	gap: 0.5rem;
	color: var(--kaki-pale);
}
.footer-bottom a { color: var(--kaki-pale); transition: color 0.2s; text-decoration: underline; }
.footer-bottom a:hover { color: var(--or); }

/* RÉVÉLATIONS */
.reveal {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* RESPONSIVE */
@media (max-width: 768px) {
	#header { padding: 1rem 1.5rem; }
	.footer-inner { grid-template-columns: 1fr; gap: 2rem; }
	.footer-bottom { flex-direction: column; align-items: flex-start; }
	.content-section { padding: 4rem 1.5rem; }
	.page-hero { padding: 7rem 1.5rem 3rem; }
}

@media (max-width: 480px) {
	.btn-group { flex-direction: column; }
	.btn { text-align: center; }
}

/* ===========================
   STYLES INDEX — HERO / SERVICES / APROPOS / PODCASTS / CTA
=========================== */

/* HERO BANNER */
#banner {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--creme);
	position: relative;
	padding: 8rem 2rem 5rem;
	overflow: hidden;
}
#banner::before {
	content: '';
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 70% 60% at 80% 20%, rgba(74,82,64,0.08) 0%, transparent 60%),
		radial-gradient(ellipse 50% 50% at 20% 80%, rgba(122,92,62,0.07) 0%, transparent 60%);
	pointer-events: none;
}
.banner-inner {
	max-width: 1000px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: center;
	position: relative;
	z-index: 1;
}
.banner-eyebrow {
	font-family: 'Jost', sans-serif;
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--terre);
	margin-bottom: 1rem;
	display: flex;
	align-items: center;
	gap: 0.8rem;
}
.banner-eyebrow::before {
	content: '';
	display: block;
	width: 30px;
	height: 1px;
	background: var(--terre);
}
.banner-title {
	font-family: 'Cormorant Garamond', serif;
	font-size: clamp(2.5rem, 6vw, 4.5rem);
	font-weight: 300;
	color: var(--kaki);
	line-height: 1.1;
	margin-bottom: 1.5rem;
}
.banner-title em { font-style: italic; color: var(--terre); }
.banner-sub {
	font-size: 0.95rem;
	color: var(--texte-doux);
	line-height: 1.9;
	margin-bottom: 2.5rem;
}
.banner-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	align-items: center;
}

/* Portrait frame */
.banner-image-wrap { display: flex; justify-content: center; align-items: center; }
.portrait-frame {
	position: relative;
	width: 280px;
	height: 340px;
}
.portrait-frame::before {
	content: '';
	position: absolute;
	top: -12px; left: -12px;
	right: 12px; bottom: 12px;
	border: 2px solid var(--kaki-pale);
	border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
	z-index: 0;
}
.portrait-frame img {
	position: relative;
	z-index: 1;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top;
	border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
}
.logo-badge {
	position: absolute;
	bottom: -1rem; right: -1rem;
	z-index: 2;
	width: 80px; height: 80px;
	background: var(--creme);
	border-radius: 50%;
	border: 2px solid var(--sable);
	display: flex; align-items: center; justify-content: center;
	overflow: hidden;
}
.logo-badge img { width: 60px; height: 60px; object-fit: contain; border-radius: 50%; }

/* SERVICES GRID */
#services {
	background: var(--creme-dark);
	padding: 6rem 2rem;
}
.services-header {
	max-width: 700px;
	margin: 0 auto 4rem;
	text-align: center;
}
.services-header .divider { margin: 1.5rem auto; }
.services-header .section-title { margin-bottom: 0.5rem; }
.services-grid {
	max-width: 1100px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 2px;
}
.service-card {
	background: var(--blanc);
	padding: 2.5rem 2rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	transition: background 0.3s ease;
	position: relative;
	overflow: hidden;
}
.service-card::after {
	content: '';
	position: absolute;
	bottom: 0; left: 0;
	width: 0; height: 2px;
	background: var(--or);
	transition: width 0.4s ease;
}
.service-card:hover { background: var(--creme); }
.service-card:hover::after { width: 100%; }
.service-img {
	width: 72px; height: 72px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid var(--sable);
}
/* h2 utilisé comme h3 dans les cards pour la hiérarchie SEO */
.service-card h2,
.service-h3 {
	font-family: 'Cormorant Garamond', serif;
	font-weight: 300;
	font-size: 1.35rem;
	color: var(--kaki);
	line-height: 1.3;
}
.service-card p {
	font-size: 0.9rem;
	color: var(--texte-doux);
	line-height: 1.8;
	flex: 1;
}
.service-link {
	font-family: 'Jost', sans-serif;
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--kaki);
	display: flex;
	align-items: center;
	gap: 0.5rem;
	transition: gap 0.2s;
}
.service-link::after { content: '→'; }
.service-link:hover { gap: 0.9rem; color: var(--terre); }

/* À PROPOS (dark) */
#apropos {
	background: var(--kaki);
	padding: 6rem 2rem;
	color: var(--creme);
}
.apropos-inner {
	max-width: 1000px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1.4fr;
	gap: 5rem;
	align-items: center;
}
.apropos-img-wrap { position: relative; }
.apropos-img-wrap img {
	width: 100%;
	aspect-ratio: 3/4;
	object-fit: cover;
	object-position: top;
	border-radius: 2px;
	position: relative;
	z-index: 1;
}
.apropos-img-wrap::before {
	content: '';
	position: absolute;
	top: -1rem; left: -1rem;
	right: 1rem; bottom: 1rem;
	border: 1px solid rgba(197,203,184,0.3);
	border-radius: 2px;
	z-index: 0;
}
.apropos-text .section-label { color: var(--kaki-pale); }
.apropos-text .section-label::before { background: var(--kaki-pale); }
.apropos-text h2 { font-size: clamp(2rem, 4vw, 3rem); color: var(--creme); margin-bottom: 0.5rem; }
.apropos-text .divider { background: var(--or); }
.apropos-text p { font-size: 0.95rem; color: var(--creme); line-height: 1.9; margin-bottom: 1rem; }

/* PODCASTS */
#podcasts {
	background: var(--creme);
	padding: 6rem 2rem;
}
.podcasts-inner { max-width: 1000px; margin: 0 auto; }
.podcasts-header { margin-bottom: 3rem; }
.podcasts-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
}
.podcast-card {
	background: var(--blanc);
	border: 1px solid var(--sable);
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	display: block;
}
.podcast-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 30px rgba(74,82,64,0.12);
}
.podcast-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.podcast-card-body { padding: 1.5rem; }
.podcast-card-body h3 { font-size: 1.2rem; color: var(--kaki); margin-bottom: 0.5rem; }
.podcast-card-body p { font-size: 0.85rem; color: var(--texte-doux); }
.podcasts-more { margin-top: 2.5rem; }

/* CTA BANDE */
#cta,
.cta-band {
	background: var(--terre);
	padding: 5rem 2rem;
	text-align: center;
	position: relative;
	overflow: hidden;
}
#cta::before,
.cta-band::before {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse 80% 100% at 50% 0%, rgba(255,255,255,0.05) 0%, transparent 70%);
}
.cta-inner,
.cta-band-inner {
	position: relative;
	z-index: 1;
	max-width: 600px;
	margin: 0 auto;
}
#cta h2, .cta-band h2 { font-size: clamp(2rem, 4vw, 3rem); color: var(--creme); margin-bottom: 1rem; }
#cta h2 em, .cta-band h2 em { color: var(--or); }
#cta p, .cta-band p { color: rgba(245,240,232,0.85); margin-bottom: 2rem; font-size: 0.95rem; }
.cta-band .btn-group { justify-content: center; }

/* SECTION TITLE */
.section-title {
	font-family: 'Cormorant Garamond', serif;
	font-size: clamp(1.8rem, 4vw, 3rem);
	font-weight: 300;
	color: var(--kaki);
	margin-bottom: 1rem;
}

/* RESPONSIVE INDEX */
@media (max-width: 768px) {
	.banner-inner { grid-template-columns: 1fr; text-align: center; gap: 2.5rem; }
	.banner-image-wrap { order: -1; }
	.portrait-frame { width: 200px; height: 250px; margin: 0 auto; }
	.banner-eyebrow { justify-content: center; }
	.banner-actions { justify-content: center; }
	.apropos-inner { grid-template-columns: 1fr; gap: 2.5rem; }
	.podcasts-grid { grid-template-columns: 1fr; }
	.services-grid { grid-template-columns: 1fr; }
}