/*
Theme Name: Defisc
Theme URI: https://www.defiscalisation-france.fr/
Author: defiscalisation-france.fr
Author URI: https://www.defiscalisation-france.fr/
Description: Thème éditorial pour defiscalisation-france.fr. Palette bordeaux + or, registre patrimonial. Fork du thème Cristal. Composants éditoriaux defisc-*, home SEO maillée vers les cocons sémantiques.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: defisc
*/

/* ==========================================================================
   THÈME DEFISC — defiscalisation-france.fr
   Le gros du style des composants vit dans assets/defisc-theme.css (enqueue).
   Ce fichier contient le reset de base + layout global du thème.
   ========================================================================== */

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

body {
	margin: 0;
	font-family: var(--defisc-font, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif);
	color: var(--defisc-ink, #2a1c20);
	line-height: 1.7;
	background: #fff;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { color: var(--defisc-bordeaux, #5a1a2b); }

.defisc-container {
	max-width: 1080px;
	margin: 0 auto;
	padding: 0 22px;
}

.defisc-content-width {
	max-width: 760px;
	margin: 0 auto;
}

/* — Header — */
.defisc-site-header {
	border-bottom: 1px solid var(--defisc-line, #e7ddd9);
	background: #fff;
	position: sticky;
	top: 0;
	z-index: 100;
}
.defisc-site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 68px;
}
.defisc-logo {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	font-weight: 800;
	font-size: 1.15rem;
	color: var(--defisc-bordeaux-900, #3a0f18);
}
.defisc-logo__mark {
	width: 34px; height: 34px;
	border-radius: 8px;
	background: linear-gradient(135deg, #5a1a2b, #c9a14a);
	color: #fff;
	display: flex; align-items: center; justify-content: center;
	font-weight: 800; font-size: 1.1rem;
}
.defisc-nav {
	display: flex;
	gap: 26px;
	list-style: none;
	margin: 0; padding: 0;
}
.defisc-nav a {
	text-decoration: none;
	color: var(--defisc-ink, #2a1c20);
	font-size: .95rem;
	font-weight: 500;
}
.defisc-nav a:hover { color: var(--defisc-bordeaux, #5a1a2b); }
.defisc-nav__toggle { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--defisc-bordeaux-900, #3a0f18); }

@media (max-width: 860px) {
	.defisc-nav { display: none; }
	.defisc-nav.is-open { display: flex; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; background: #fff; padding: 18px 22px; border-bottom: 1px solid var(--defisc-line, #e7ddd9); gap: 16px; }
	.defisc-nav__toggle { display: block; }
}

/* — Footer — */
.defisc-site-footer {
	background: var(--defisc-bordeaux-900, #3a0f18);
	color: #e7d8cd;
	margin-top: 4rem;
	padding: 3rem 0 1.5rem;
	font-size: .92rem;
}
.defisc-footer-cols {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 36px;
}
.defisc-site-footer h4 { color: #fff; font-size: 1rem; margin: 0 0 14px; }
.defisc-site-footer a { color: #d9c3b4; text-decoration: none; }
.defisc-site-footer a:hover { color: var(--defisc-or-soft, #d4af6a); }
.defisc-site-footer ul { list-style: none; margin: 0; padding: 0; }
.defisc-site-footer li { margin-bottom: 9px; }
.defisc-footer-bottom {
	border-top: 1px solid rgba(255,255,255,.12);
	margin-top: 2.5rem; padding-top: 1.2rem;
	font-size: .82rem; color: #b89b8c;
	text-align: center;
}
@media (max-width: 720px) { .defisc-footer-cols { grid-template-columns: 1fr; gap: 28px; } }

/* — Article (single/page) — */
.defisc-article { padding: 2.5rem 0; }
.defisc-article__title { font-size: 2.1rem; line-height: 1.2; color: var(--defisc-bordeaux-900, #3a0f18); margin: 0 0 .4rem; }
.defisc-article__meta { font-size: .85rem; color: var(--defisc-muted, #7a5560); margin-bottom: 2rem; }
.entry-content > p { font-size: 1.02rem; line-height: 1.75; margin: 0 0 1.2rem; }
