/*
Theme Name: Cannes Bijoutier
Theme URI: https://cannes-bijoutier.com
Author: Newp
Author URI: https://newp.fr
Description: Thème FSE haut de gamme pour cannes-bijoutier.com — direction artistique « Marbre & Laiton ». Pensé pour la haute joaillerie, l'éditorial premium et l'optimisation GEO / AI Overview. Cormorant Garamond + Inter, palette bordeaux / laiton / marbre crème.
Version: 1.0.0
Requires at least: 6.4
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: cannes-bijoutier
Tags: full-site-editing, block-patterns, block-styles, editor-style, custom-colors, custom-logo, custom-menu, threaded-comments, translation-ready, wide-blocks, blog, portfolio, e-commerce
*/

/* Theme styles are handled via theme.json and styles/ presets. */

/* ---- Accessibility & utilities ---- */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}
.skip-link {
	left: -9999rem;
	top: 2.5rem;
	z-index: 999999999;
	text-decoration: underline;
}
.skip-link:focus {
	display: block;
	left: 6px;
	top: 7px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	line-height: normal;
	padding: 15px 23px 14px;
	z-index: 100000;
}

/* ---- Marble texture utility ---- */
.has-marble-background {
	background-image:
		radial-gradient(ellipse 1200px 800px at 20% 30%, rgba(176,141,87,0.04) 0%, transparent 60%),
		radial-gradient(ellipse 900px 600px at 80% 70%, rgba(92,31,46,0.03) 0%, transparent 55%),
		linear-gradient(135deg, #FAF6EE 0%, #F5F0E8 50%, #EFE7D8 100%);
	background-attachment: fixed;
}
.has-marble-veins {
	position: relative;
	overflow: hidden;
}
.has-marble-veins::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 600'><defs><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.012' numOctaves='2' seed='3'/><feColorMatrix values='0 0 0 0 0.82  0 0 0 0 0.74  0 0 0 0 0.6  0 0 0 0.18 0'/></filter></defs><rect width='800' height='600' filter='url(%23n)' opacity='0.5'/></svg>");
	background-size: cover;
	opacity: .5;
	pointer-events: none;
	z-index: 0;
}
.has-marble-veins > * { position: relative; z-index: 1; }

/* ---- Brass hairline divider ---- */
.cb-divider {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	margin: 2rem auto;
	color: var(--wp--preset--color--laiton);
}
.cb-divider::before,
.cb-divider::after {
	content: "";
	flex: 1;
	height: 1px;
	max-width: 120px;
	background: linear-gradient(90deg, transparent, currentColor, transparent);
}
.cb-divider svg { width: 14px; height: 14px; }

/* ---- Editorial drop cap option ---- */
.has-drop-cap:not(:focus)::first-letter {
	font-family: "Cormorant Garamond", Georgia, serif;
	font-weight: 500;
	font-size: 5em;
	line-height: .8;
	float: left;
	margin: .1em .15em 0 -.05em;
	color: var(--wp--preset--color--bordeaux);
}

/* ---- Buttons : laiton & bordeaux premium ---- */
.wp-block-button.is-style-cb-brass .wp-block-button__link {
	background: linear-gradient(180deg, #C9A574 0%, #B08D57 55%, #97784A 100%);
	color: #1A1410;
	border: 1px solid #97784A;
	box-shadow: 0 1px 0 rgba(255,255,255,0.35) inset, 0 8px 20px -10px rgba(176,141,87,0.6);
	letter-spacing: .08em;
	text-transform: uppercase;
	font-size: .82rem;
	font-weight: 500;
	padding: 1rem 2rem;
	border-radius: 2px;
	transition: transform .25s ease, box-shadow .25s ease;
}
.wp-block-button.is-style-cb-brass .wp-block-button__link:hover {
	transform: translateY(-1px);
	box-shadow: 0 1px 0 rgba(255,255,255,0.45) inset, 0 14px 28px -12px rgba(176,141,87,0.75);
}
.wp-block-button.is-style-cb-outline-bordeaux .wp-block-button__link {
	background: transparent;
	color: var(--wp--preset--color--bordeaux);
	border: 1px solid var(--wp--preset--color--bordeaux);
	letter-spacing: .08em;
	text-transform: uppercase;
	font-size: .82rem;
	font-weight: 500;
	padding: 1rem 2rem;
	border-radius: 2px;
	transition: background .25s ease, color .25s ease;
}
.wp-block-button.is-style-cb-outline-bordeaux .wp-block-button__link:hover {
	background: var(--wp--preset--color--bordeaux);
	color: var(--wp--preset--color--marbre-clair);
}

/* ---- Headings refinements ---- */
h1, h2, h3 { font-feature-settings: "liga", "dlig", "kern"; }
h1 .eyebrow, h2 .eyebrow {
	display: block;
	font-family: "Inter", sans-serif;
	font-weight: 500;
	font-size: .75rem;
	letter-spacing: .25em;
	text-transform: uppercase;
	color: var(--wp--preset--color--laiton);
	margin-bottom: 1rem;
}

/* ---- Cards / fiches ---- */
.cb-card {
	background: rgba(255,255,255,0.72);
	border: 1px solid rgba(176,141,87,0.18);
	box-shadow: 0 30px 60px -40px rgba(26,20,16,0.18);
	padding: 2rem;
	transition: transform .35s ease, box-shadow .35s ease;
}
.cb-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 40px 70px -40px rgba(26,20,16,0.28);
}

/* ---- TL;DR box (GEO / AI Overview) ---- */
.cb-tldr {
	background: linear-gradient(180deg, rgba(176,141,87,0.08), rgba(176,141,87,0.03));
	border-left: 3px solid var(--wp--preset--color--laiton);
	padding: 1.25rem 1.5rem;
	margin: 2rem 0;
	font-family: "Inter", sans-serif;
	font-size: 1rem;
	line-height: 1.65;
}
.cb-tldr strong {
	display: block;
	font-family: "Inter", sans-serif;
	font-size: .72rem;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--wp--preset--color--laiton);
	margin-bottom: .5rem;
	font-weight: 600;
}

/* ---- FAQ block ---- */
.cb-faq details {
	border-top: 1px solid rgba(74,63,56,0.18);
	padding: 1.25rem 0;
}
.cb-faq details:last-child { border-bottom: 1px solid rgba(74,63,56,0.18); }
.cb-faq summary {
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 1.35rem;
	font-weight: 500;
	color: var(--wp--preset--color--noir);
	cursor: pointer;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
}
.cb-faq summary::-webkit-details-marker { display: none; }
.cb-faq summary::after {
	content: "+";
	color: var(--wp--preset--color--laiton);
	font-size: 1.5rem;
	transition: transform .2s ease;
}
.cb-faq details[open] summary::after { content: "−"; }
.cb-faq details p { padding-top: 1rem; color: var(--wp--preset--color--graphite); }
