/* GECASER Design — charte 2026 appliquée au thème (header, footer, typo, boutons) */

/* ── Typographie site-wide ── */
body, button, input, select, textarea {
	font-family: 'Schibsted Grotesk', system-ui, sans-serif !important;
}
h1, h2, h3, h4, h5, h6,
.site-title, .main-title,
.entry-title, .page-hero h1, .page-hero h2 {
	font-family: 'Schibsted Grotesk', system-ui, sans-serif !important;
	font-weight: 800;
	letter-spacing: -.02em;
}

/* ── Header : barre bleu encre ── */
.site-header {
	background-color: #143A5A !important;
	border-bottom: 1px solid rgba(255,255,255,.07) !important;
	box-shadow: none !important;
}
.site-header .site-title a,
.site-header .main-title a,
.site-header .main-title,
.site-branding .main-title a,
.site-header .site-description {
	color: #FBF8F2 !important;
}
.site-header .site-title a:hover,
.site-header .main-title a:hover { color: #C8881E !important; }

.main-navigation,
.main-navigation ul,
#sticky-navigation {
	background-color: #143A5A !important;
}
.main-navigation .main-nav ul li a,
.main-navigation .menu-toggle,
.main-navigation .mobile-bar-items a,
.main-navigation button.menu-toggle {
	color: rgba(251,248,242,.85) !important;
	font-family: 'Schibsted Grotesk', system-ui, sans-serif;
	font-weight: 600;
}
.main-navigation .main-nav ul li a:hover,
.main-navigation .main-nav ul li:hover > a,
.main-navigation .main-nav ul li[class*="current"] > a,
.main-navigation .menu-toggle:hover {
	color: #fff !important;
	background: transparent !important;
}
/* Sous-menus */
.main-navigation ul ul {
	background-color: #0E2236 !important;
	border-radius: 0 0 11px 11px;
	box-shadow: 0 14px 34px -20px rgba(14,34,54,.6);
}
.main-navigation ul ul li a { color: rgba(251,248,242,.85) !important; }
.main-navigation ul ul li a:hover,
.main-navigation ul ul li:hover > a { color: #C8881E !important; background: transparent !important; }
/* Icônes header (panier, recherche) */
.site-header .header-widget,
.main-navigation .menu-bar-items,
.main-navigation .menu-bar-items a,
.main-navigation .search-item,
.wc-menu-cart-activated a { color: rgba(251,248,242,.85) !important; }
.main-navigation .menu-bar-items a:hover { color: #C8881E !important; }

/* ── Boutons site-wide ── */
.button:not(.gcsr-keep),
button[type="submit"],
input[type="submit"],
.wp-block-button__link,
a.wp-block-button__link {
	background-color: #C8881E;
	color: #0E2236;
	font-family: 'Schibsted Grotesk', system-ui, sans-serif;
	font-weight: 700;
	border-radius: 11px;
	border: none;
	transition: transform .18s cubic-bezier(.2,.7,.3,1), background .18s, box-shadow .18s, color .18s;
}
.button:not(.gcsr-keep):hover,
button[type="submit"]:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover {
	background-color: #A86F14;
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 14px 34px -20px rgba(14,34,54,.45);
}

/* ── Footer ── */
.site-footer,
.footer-widgets {
	background-color: #0E2236 !important;
	color: rgba(251,248,242,.72);
}
.site-footer a, .footer-widgets a { color: rgba(251,248,242,.72); }
.site-footer a:hover, .footer-widgets a:hover { color: #C8881E; }
.site-footer .widget-title, .footer-widgets .widget-title { color: #FBF8F2; }
.site-info {
	background-color: #0E2236 !important;
	color: rgba(251,248,242,.5);
	border-top: 1px solid rgba(255,255,255,.1);
}
.site-info a { color: rgba(251,248,242,.6); }
.site-info a:hover { color: #C8881E; }

/* ── Footer redesign (Element GP 3856, même design que la home) ── */
.gcsr-foot {
	background: #0E2236;
	color: rgba(251,248,242,.72);
	font-family: 'Schibsted Grotesk', system-ui, sans-serif;
}
.gcsr-foot-wrap {
	max-width: 1180px;
	margin-inline: auto;
	padding: clamp(3rem, 5vw, 4.5rem) 24px;
}
.gcsr-foot-top {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 2.5rem;
	padding-bottom: 2.5rem;
	border-bottom: 1px solid rgba(255,255,255,.1);
}
.gcsr-brand {
	font-weight: 800;
	font-size: 1.32rem;
	letter-spacing: -.02em;
	color: #FBF8F2 !important;
	text-decoration: none;
	display: inline-flex;
	align-items: baseline;
	gap: .05em;
	margin-bottom: 1rem;
}
.gcsr-brand b { color: #C8881E; }
.gcsr-foot-brand p {
	font-size: .92rem;
	max-width: 34ch;
	margin: 0;
	color: rgba(251,248,242,.72);
}
.gcsr-sig {
	font-style: italic;
	font-weight: 700;
	font-size: 1.4rem;
	color: #C8881E;
	margin-top: 1.2rem;
}
.gcsr-foot-col h4 {
	font-weight: 800;
	font-size: .76rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: #FBF8F2;
	margin: 0 0 1rem;
}
.gcsr-foot-col a {
	display: block;
	font-size: .92rem;
	padding: .3rem 0;
	color: rgba(251,248,242,.72) !important;
	text-decoration: none;
	transition: color .15s;
}
.gcsr-foot-col a:hover { color: #C8881E !important; }
.gcsr-foot-bottom {
	padding-top: 1.6rem;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1rem;
	font-size: .82rem;
	color: rgba(251,248,242,.5);
}
@media (max-width: 880px) {
	.gcsr-foot-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
	.gcsr-foot-top { grid-template-columns: 1fr; }
}

/* ── Contenu articles / pages ── */
.entry-content a:not(.button):not(.wp-block-button__link) {
	color: #A86F14;
	text-decoration-color: rgba(200,136,30,.45);
	text-underline-offset: 3px;
}
.entry-content a:not(.button):not(.wp-block-button__link):hover { color: #143A5A; }
.entry-content blockquote {
	border-left: 4px solid #C8881E;
	background: #F4EEE2;
	border-radius: 0 11px 11px 0;
	padding: 1.2em 1.5em;
	font-style: normal;
	color: #16242F;
}
.entry-content table th { background: #143A5A; color: #FBF8F2; }
.entry-content table, .entry-content table td { border-color: #E4DCCB; }

/* Méta articles, fil d'Ariane, tags */
.entry-meta, .cat-links, .tags-links { color: #717C88; }
.entry-meta a, .cat-links a, .tags-links a { color: #A86F14; }

/* Cartes d'archive blog */
.blog article.post, .archive article.post {
	background: #fff;
	border: 1px solid #E4DCCB;
	border-radius: 18px;
	overflow: hidden;
	transition: transform .2s, box-shadow .2s;
}
.blog article.post:hover, .archive article.post:hover {
	transform: translateY(-3px);
	box-shadow: 0 14px 34px -20px rgba(14,34,54,.45);
}

/* Pagination */
.page-numbers.current { background: #143A5A; color: #FBF8F2; }
.page-numbers:not(.current):hover { background: #C8881E; color: #0E2236; }

/* Table des matières (Easy TOC) */
#ez-toc-container {
	background: #F4EEE2;
	border: 1px solid #E4DCCB;
	border-radius: 11px;
}
#ez-toc-container a { color: #143A5A; }
#ez-toc-container a:hover { color: #A86F14; }

/* Formulaires */
input[type="text"], input[type="email"], input[type="url"],
input[type="password"], input[type="search"], input[type="number"],
input[type="tel"], textarea, select {
	border: 1.5px solid #E4DCCB;
	border-radius: 11px;
	background: #fff;
	color: #16242F;
	font-family: 'Schibsted Grotesk', system-ui, sans-serif;
}
input:focus, textarea:focus, select:focus {
	outline: 2px solid #C8881E;
	outline-offset: 1px;
	border-color: #C8881E;
}

/* Retour en haut */
.generate-back-to-top {
	background: #143A5A;
	border-radius: 11px;
}
.generate-back-to-top:hover { background: #C8881E; color: #0E2236; }
