/** @format */

:root {
	--green: #04132a;
	--beige: #f4efea;
	--cuivre: #b08a5a;
	--white: #ffffff;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: "Cormorant Garamond", serif;
	color: var(--green);
	background: var(--white);
	line-height: 1.6;
}

h1,
h2,
h3,
.intro {
	font-family: "Cormorant Garamond", serif;
}

.intro {
	font-size: 1.3rem;
}

.container {
	width: 90%;
	max-width: 1100px;
	margin: auto;
}

.container img {
	max-width: 100%;
	height: auto;
}

.container p {
	margin-bottom: 1rem;
}

.navbar {
	background: var(--white);
	border-bottom: 1px solid #eee;
}

.nav-flex {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem 0;
}

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

.logo img {
	width: 72px;
	height: 72px; /* taille maîtrisée */
	border-radius: 50%;
	border: 2px solid var(--cuivre);
	background: white;
	transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.logo:hover img {
	transform: scale(1.08);
	box-shadow: 0 0 0 4px rgba(176, 138, 90, 0.15), 0 10px 25px rgba(176, 138, 90, 0.25);
}

.logo div {
	transition: color 0.35s ease, transform 0.35s ease;
}

.logo:hover div {
	transform: translateX(2px);
}

.logo:hover strong {
	color: var(--cuivre);
}

.logo span {
	/* font-size: 0.85rem; */
	color: var(--cuivre);
}

.nav-links {
	list-style: none;
	display: flex;
	gap: 1.5rem;
}

.title {
	font-size: 1.5rem;
}

.nav-links a {
	font-family: "Cormorant Garamond", serif;
	font-size: 1.5rem;
	text-decoration: none;
	color: var(--green);
}

.hero {
	background: var(--beige);
	padding: 6rem 0;
	text-align: left;
}

.hero h1 {
	font-size: 3rem;
	margin-bottom: 1rem;
}

.hero h2 {
	font-size: 1.4rem;
	font-weight: 500;
	margin-bottom: 1.5rem;
}

.hero-text {
	font-size: 1.25rem;
	line-height: 1.8;
	color: #444;
}

.section {
	padding: 5rem 0;
}

.section.alt {
	background: var(--beige);
}

.grid-2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	align-items: center;
}

.cards {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 2.5rem;
	margin-top: 3rem;
}

.small {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2.5rem;
	margin-top: 3rem;
}

@media (max-width: 900px) {
	.small {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	.cards {
		grid-template-columns: 1fr;
	}
}

.card {
	background: var(--white);
	border-radius: 18px;
	padding: 2.2rem;
	border: 1px solid rgba(176, 138, 90, 0.15);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
	transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
	position: relative;
	overflow: hidden;
}

.card::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(176, 138, 90, 0.08), transparent 60%);
	opacity: 0;
	transition: opacity 0.4s ease;
}

.card:hover::before {
	opacity: 1;
}

.card:hover {
	transform: translateY(-8px);
	box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12), 0 0 0 2px rgba(176, 138, 90, 0.25);
}

.card span {
	display: block;
	margin-top: 1rem;
	font-weight: 500;
}

blockquote {
	font-style: italic;
	max-width: 600px;
}

blockquote span {
	display: block;
	margin-top: 1rem;
	font-style: normal;
	font-weight: 500;
}

.form input,
.form textarea {
	width: 100%;
	padding: 0.8rem;
	margin-bottom: 1rem;
	border: 1px solid #ccc;
}

.btn-primary {
	background: var(--green);
	color: var(--white);
	padding: 0.8rem 1.5rem;
	border: none;
	cursor: pointer;
}

.footer {
	display: flex;
	justify-content: space-around; /* espace les 2 blocs */
	align-items: center; /* alignement vertical */
	padding: 2rem;
	font-size: 0.9rem;
	gap: 20px;
}

.footer p {
	margin: 0; /* important pour éviter le retour à la ligne */
}

/* ===== Témoignages ===== */

.testimonials {
	text-align: center;
}

.testimonial-carousel {
	position: relative;
	margin-top: 3rem;
	overflow: hidden;
}

.testimonial-track {
	display: flex;
	transition: transform 0.5s ease;
}

.testimonial-card {
	min-width: 100%;
	max-width: 700px;
	margin: 0 auto;
	background: #fff;
	padding: 2.5rem;
	border-radius: 20px;
	border: 1px solid rgba(176, 138, 90, 0.25);
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.6);
	position: relative;
}

/* Effet page de livre */
.testimonial-card::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to right,
		rgba(176, 138, 90, 0.08),
		transparent 25%,
		transparent 75%,
		rgba(176, 138, 90, 0.08)
	);
	pointer-events: none;
	border-radius: 20px;
}

.testimonial-text {
	font-style: italic;
	line-height: 1.8;
	color: #444;
	margin-bottom: 1.5rem;
}

.testimonial-author {
	font-weight: 600;
	color: var(--cuivre);
}

/* Boutons carrousel */
.carousel-controls {
	display: flex;
	justify-content: center;
	gap: 1rem;
	margin-top: 2rem;
}

.carousel-btn {
	position: static; /* important */
	background: #fff;
	border: 1px solid rgba(176, 138, 90, 0.4);
	color: var(--cuivre);
	font-size: 1.8rem;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	cursor: pointer;
	transition: transform 0.3s ease, background 0.3s ease;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.carousel-btn:hover {
	background: rgba(176, 138, 90, 0.15);
	transform: scale(1.12);
}

.carousel-btn.prev {
	left: -10px;
}

.carousel-btn.next {
	right: -10px;
}

/* Mobile */
@media (max-width: 768px) {
	.carousel-btn {
		display: inline-flex;
		width: 38px;
		height: 38px;
		font-size: 1.4rem;
	}

	.testimonial-card {
		padding: 2rem 1.5rem;
	}
}

@media (max-width: 768px) {
	.contact-logo {
		width: 110px;
		margin: 0 auto 1rem;
	}

	.contact-info {
		text-align: center;
	}
}

/* ===== Contact carte de visite ===== */

.contact-section {
	/* background: linear-gradient(to bottom, rgba(10, 32, 40, 0.04), #ffffff); */
	background-color: var(--green);
}

.contact-card {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	background: #fff;
	border-radius: 28px;
	padding: 3rem;
	box-shadow: 0 30px 70px rgba(0, 0, 0, 0.12);
	border: 1px solid rgba(176, 138, 90, 0.3);
}

/* Colonne identité */
.contact-identity {
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
}

/* Carte logo */
.logo-card {
	width: 180px;
	height: 180px;
	border-radius: 50%;
	background: linear-gradient(135deg, rgba(176, 138, 90, 0.25), rgba(176, 138, 90, 0.05));
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1.5rem;
	box-shadow: 0 15px 40px rgba(176, 138, 90, 0.4), inset 0 0 0 2px rgba(176, 138, 90, 0.35);
}

.logo-card img {
	width: 110px;
	object-fit: contain;
}

/* Titres */
.contact-identity h2 {
	margin-bottom: 0.2rem;
}

.contact-subtitle {
	color: var(--cuivre);
	font-weight: 500;
	margin-bottom: 1.2rem;
}

.contact-tagline {
	font-style: italic;
	line-height: 1.6;
	color: white;
	margin-bottom: 2rem;
}

/* Coordonnées */
.contact-details p {
	margin-bottom: 0.8rem;
}

.contact-details strong {
	color: var(--cuivre);
}

/* Responsive */
@media (max-width: 900px) {
	.contact-card {
		grid-template-columns: 1fr;
		padding: 2rem;
	}
}

@media (max-width: 768px) {
	.nav-flex {
		flex-direction: column;
		gap: 1.2rem;
	}

	.logo {
		justify-content: center;
		text-align: center;
	}

	.nav-links {
		flex-wrap: wrap;
		justify-content: center;
		gap: 1rem;
	}

	.nav-links a {
		font-size: 0.95rem;
	}
}

@media (max-width: 900px) {
	.grid-2 {
		grid-template-columns: 1fr;
		text-align: center;
	}

	#apropos img {
		max-width: 260px;
		margin: 0 auto 2rem;
		border-radius: 18px;
	}

	#apropos h2 {
		margin-bottom: 1.5rem;
	}
}

@media (max-width: 768px) {
	.hero {
		padding: 4rem 0;
		text-align: center;
	}

	.hero h1 {
		font-size: 2.2rem;
	}

	.hero h2 {
		font-size: 1.15rem;
	}
}

/* ===== CONTACT : couleurs texte ===== */

.contact-section {
	color: #ffffff; /* couleur principale du texte */
}

.contact-section h2 {
	color: #ffffff;
}

.contact-section p {
	color: rgba(255, 255, 255, 0.9);
}

.contact-section strong {
	color: var(--cuivre);
}

/* Liens (Instagram) */
.contact-section a {
	color: white;
	text-decoration: none;
	font-weight: 500;
}

.contact-section a:hover {
	text-decoration: underline;
}

/* ===== Bouton cuivre – section contact uniquement ===== */

.contact-section .btn-primary {
	background: var(--cuivre);
	color: #ffffff;
	border: none;
	font-weight: 500;
	transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-section .btn-primary:hover {
	background: #9c7648; /* cuivre légèrement plus foncé */
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(176, 138, 90, 0.4);
}
