/* ============================================================================
   SSB COLLECTION — DESIGN TOKENS
   Source unique des couleurs, polices, espacements. NE PAS coder en dur ailleurs.
   Polices OFL auto-hébergées (SIL Open Font License 1.1) — RGPD-safe.
   ============================================================================ */

/* --- Polices auto-hébergées (RGPD : LG München I, 2022 — pas de CDN Google) --- */

@font-face {
	font-family: 'Cormorant Garamond';
	src: url('../fonts/CormorantGaramond-Regular.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Cormorant Garamond';
	src: url('../fonts/CormorantGaramond-Light.woff2') format('woff2');
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Cormorant Garamond';
	src: url('../fonts/CormorantGaramond-Italic.woff2') format('woff2');
	font-weight: 400;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: 'Raleway';
	src: url('../fonts/Raleway-Regular.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Raleway';
	src: url('../fonts/Raleway-Medium.woff2') format('woff2');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Mrs Saint Delafield';
	src: url('../fonts/MrsSaintDelafield-Regular.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

/* --- Tokens marque (bloc :root verbatim de la maquette) --- */

:root {
	/* FACTUEL Le Barth (relevé DevTools) */
	--titre:       #003153;   /* bleu nuit — titres */
	--cta:         #BA9F8D;   /* sable/taupe — boutons */
	--cta-hover:   #A1856F;   /* variante hover */

	/* VALIDÉ St Martin St Barth Collection */
	--bg:          #FFFFFF;   /* fond principal */
	--bg-alt:      #F2EAD9;   /* fond alterné crème chaud */
	--ink:         #2B3A45;   /* texte courant */
	--ink-soft:    #5C6A74;   /* texte secondaire */
	--accent:      #7E97A6;   /* bleu-gris lagon — liens/états */
	--line:        rgba(0,49,83,0.12);
	--white:       #FFFFFF;
	--creme-deep:  #E7DBC2;

	/* Typo */
	--font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
	--font-body:    'Raleway', 'Helvetica Neue', Arial, sans-serif;
	--font-script:  'Mrs Saint Delafield', 'Cormorant Garamond', cursive;

	/* Layout */
	--maxw: 1200px;
	--gap: clamp(1rem, 3vw, 2.5rem);
	--section-y: clamp(4rem, 9vw, 8rem);
	--radius: 2px;
	--radius-lg: 6px;
	--shadow-card: 0 18px 44px -24px rgba(0,49,83,0.30);
	--shadow-float: 0 12px 34px -10px rgba(0,49,83,0.38);
	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --- Reset + base typo (extrait maquette lignes 88-99) --- */

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

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	font-family: var(--font-body);
	color: var(--ink);
	background: var(--bg);
	line-height: 1.7;
	font-size: clamp(15px, 1vw, 17px);
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
	text-decoration: none;
}

h1, h2, h3 {
	font-family: var(--font-display);
	font-weight: 400;
	line-height: 1.08;
	color: var(--titre);
	letter-spacing: 0;
}

.wrap {
	max-width: var(--maxw);
	margin-inline: auto;
	padding-inline: clamp(1.1rem, 4vw, 2.5rem);
}

/* Accessibility utility (Joomla core + WCAG) — visible to screen readers only. */
.visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.eyebrow {
	font-family: var(--font-body);
	text-transform: uppercase;
	letter-spacing: 0.28em;
	font-size: 0.7rem;
	font-weight: 500;
	color: var(--accent);
}
