/*
Theme Name: Kadence Juris-Act
Theme URI: https://juris-act.com/
Description: Thème enfant Kadence conçu pour le cabinet d'avocats Juris-Act Île-de-France.
Author: Juris-Act
Template: kadence
Version: 1.2.0
Text Domain: kadence-jurisact
*/

:root {
	--ja-gold: #a78f68;
	--ja-gold-dark: #856d47;
	--ja-gold-light: #c8b28d;
	--ja-gold-soft: #f8f6f2;
	--ja-dark: #1e2329;
	--ja-text: #2c3138;
	--ja-muted: #5a616a;
}

body {
	font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: var(--ja-text);
	line-height: 1.65;
	overflow-wrap: break-word;
}

h1, h2, h3, h4 {
	font-family: "Playfair Display", Georgia, serif;
	text-wrap: balance;
	line-height: 1.25;
}

p {
	text-wrap: pretty;
}

/* En-tête compact et épuré */
.site-header-row {
	min-height: 74px !important;
}

.site-header-upper-inner-wrap {
	border-bottom: 1px solid #ece7de;
	background: #ffffff;
}

.primary-menu-container > ul > li > a {
	font-family: "Inter", sans-serif;
	font-size: 0.95rem;
	font-weight: 500;
	letter-spacing: 0.01em;
}

/* Espacement vertical maîtrisé */
.content-area {
	margin-top: 2rem !important;
	margin-bottom: 3rem !important;
}

.home .content-area {
	margin-top: 0 !important;
}

/* Titres éditoriaux */
.ja-gold-title {
	color: var(--ja-gold-dark) !important;
	letter-spacing: 0.02em;
}

h1.ja-gold-title {
	font-size: clamp(1.85rem, 1rem + 2vw, 2.55rem);
	margin-bottom: 1.75rem;
	padding-bottom: 0.75rem;
}

h1.ja-gold-title.has-text-align-center::after {
	content: "";
	display: block;
	width: 64px;
	height: 2px;
	background: var(--ja-gold);
	margin: 0.75rem auto 0;
}

/* Bannière d'accueil */
.home .wp-block-cover h1 {
	font-size: clamp(2rem, 1rem + 2.5vw, 3rem);
	letter-spacing: 0.04em;
}

/* Images circulaires (Équipe & Compétences) */
.ja-circle-img img {
	border-radius: 50%;
	object-fit: cover;
	aspect-ratio: 1 / 1;
	border: 3px solid #eae5dc;
	box-shadow: 0 8px 24px rgba(30, 35, 41, 0.1);
}

/* Cartes d'expertise et engagements */
.ja-card {
	background: #ffffff;
	border: 1px solid #ece7de;
	border-top: 3px solid var(--ja-gold);
	border-radius: 8px;
	padding: 2rem;
	box-shadow: 0 4px 20px rgba(30, 35, 41, 0.04);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ja-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 28px rgba(167, 143, 104, 0.14);
}

.ja-card-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 8px;
	background: var(--ja-gold-soft);
	color: var(--ja-gold-dark);
	margin-bottom: 0.85rem;
}

/* Encart document officiel / Coordonnées */
.ja-notice-box {
	background: var(--ja-gold-soft);
	border-left: 4px solid var(--ja-gold);
	padding: 1.35rem 1.6rem;
	border-radius: 0 8px 8px 0;
	margin-top: 1.5rem;
}

/* Honeypot invisible pour les humains */
.ja-hp-field {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

/* Formulaire Contact Form 7 */
.wpcf7-form p {
	margin-bottom: 1.1rem;
}

.wpcf7-form label {
	display: block;
	font-weight: 600;
	font-size: 0.95rem;
	margin-bottom: 0.35rem;
	color: var(--ja-dark);
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
	width: 100%;
	padding: 0.75rem 0.95rem;
	border: 1px solid #d8d2c7;
	border-radius: 6px;
	background: #fff;
	font-family: inherit;
	font-size: 1rem;
}

.wpcf7-form input:focus-visible,
.wpcf7-form textarea:focus-visible,
a:focus-visible,
button:focus-visible {
	outline: 2px solid var(--ja-gold-dark);
	outline-offset: 2px;
}

.wpcf7-form input[type="submit"] {
	background: var(--ja-gold-dark);
	color: #ffffff;
	border: none;
	padding: 0.85rem 2rem;
	font-weight: 600;
	letter-spacing: 0.03em;
	border-radius: 6px;
	cursor: pointer;
	transition: background 0.2s ease;
}

.wpcf7-form input[type="submit"]:hover {
	background: #6d5837;
}

/* Carte Google Maps responsive */
.ja-map-wrapper iframe {
	width: 100%;
	height: 380px;
	border: 0;
	border-radius: 8px;
	box-shadow: 0 4px 18px rgba(30, 35, 41, 0.08);
}

/* Pied de page anthracite élégant */
.site-footer {
	background: var(--ja-dark) !important;
	color: #d8d2c7;
	border-top: 3px solid var(--ja-gold);
}

.site-footer .site-bottom-footer-wrap {
	background: transparent !important;
}

.site-footer .footer-html,
.site-footer .footer-html p {
	color: #d8d2c7;
	font-size: 0.9rem;
	margin: 0;
}

.site-footer .footer-navigation a {
	color: var(--ja-gold-light);
	font-size: 0.9rem;
	text-decoration: none;
}

.site-footer .footer-navigation a:hover {
	color: #ffffff;
	text-decoration: underline;
}
