/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

/* --------------------------------------------------------------------------------------
 * Polices — hébergées sur le serveur (Fontsource 5.3.0, licence OFL), aucun appel à
 * Google Fonts. Fichiers variables : une seule police couvre toutes les graisses.
 * ------------------------------------------------------------------------------------ */

@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	src: url('assets/fonts/inter-latin-ext-wght-normal.woff2') format('woff2-variations');
	unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	src: url('assets/fonts/inter-latin-wght-normal.woff2') format('woff2-variations');
	unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
	font-family: 'Playfair Display';
	font-style: italic;
	font-display: swap;
	font-weight: 400 900;
	src: url('assets/fonts/playfair-display-latin-ext-wght-italic.woff2') format('woff2-variations');
	unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
	font-family: 'Playfair Display';
	font-style: italic;
	font-display: swap;
	font-weight: 400 900;
	src: url('assets/fonts/playfair-display-latin-wght-italic.woff2') format('woff2-variations');
	unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* --------------------------------------------------------------------------------------
 * Palette — valeurs relevées dans le Figma « Captured ». La palette Bricks
 * (option bricks_color_palette) pointe sur ces variables : une couleur se change ici.
 * ------------------------------------------------------------------------------------ */

:root {
	--aml-ink:      #111112; /* quasi-noir : textes, fonds sombres */
	--aml-white:    #ffffff;
	--aml-black:    #101010; /* noir secondaire */
	--aml-graphite: #2f2f2f;
	--aml-mist:     #f1f1f1; /* fonds clairs */
	--aml-line:     #d5d5d5; /* lignes, séparateurs */
	--aml-cream:    #ffe4af; /* « Captured » en Playfair italique */
	--aml-lime:     #82ff1f; /* pastille « disponible » */

	--aml-font:        'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--aml-font-script: 'Playfair Display', Georgia, serif;
}

/* Icônes du template (tracés repris de la démo Captured), en SVG encodé */
:root {
	--aml-i-button:      url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 40 40%22%3E%3Ccircle cx=%2220%22 cy=%2220%22 r=%2220%22 fill=%22%23111112%22/%3E%3Cpath d=%22M16.4981 15.2953L16.4984 15.9448C16.4984 16.0231 16.5295 16.0982 16.5849 16.1536C16.6403 16.209 16.7154 16.2401 16.7937 16.2401L22.8828 16.24L15.0864 24.0365C15.0311 24.0919 15 24.1671 15 24.2454C15 24.3237 15.0311 24.3988 15.0865 24.4542L15.5459 24.9136C15.6611 25.0288 15.8482 25.0288 15.9636 24.9135L23.76 17.1169L23.7598 23.2065C23.7598 23.2848 23.7909 23.3599 23.8463 23.4153C23.9017 23.4707 23.9768 23.5018 24.0551 23.5018H24.7046C24.7829 23.5018 24.858 23.4707 24.9134 23.4153C24.9687 23.3599 24.9999 23.2848 24.9999 23.2065L25 15.2953C25 15.217 24.9688 15.1419 24.9135 15.0865C24.8581 15.0312 24.783 15 24.7047 15L16.7935 15C16.7151 15 16.6401 15.0312 16.5847 15.0865C16.5293 15.1419 16.4982 15.217 16.4981 15.2953Z%22 fill=%22%23fff%22/%3E%3C/svg%3E");
	--aml-i-loupe:       url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 16 16%22%3E%3Cg fill=%22none%22 stroke=%22%23999999%22 stroke-width=%221.4%22%3E%3Ccircle cx=%227%22 cy=%227%22 r=%225%22/%3E%3Cpath d=%22M10.7 10.7 L14.5 14.5%22 stroke-linecap=%22round%22/%3E%3C/g%3E%3C/svg%3E");
	--aml-i-arrow-dark:  url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%2215 15 10 10%22%3E%3Cpath d=%22M16.4981 15.2953L16.4984 15.9448C16.4984 16.0231 16.5295 16.0982 16.5849 16.1536C16.6403 16.209 16.7154 16.2401 16.7937 16.2401L22.8828 16.24L15.0864 24.0365C15.0311 24.0919 15 24.1671 15 24.2454C15 24.3237 15.0311 24.3988 15.0865 24.4542L15.5459 24.9136C15.6611 25.0288 15.8482 25.0288 15.9636 24.9135L23.76 17.1169L23.7598 23.2065C23.7598 23.2848 23.7909 23.3599 23.8463 23.4153C23.9017 23.4707 23.9768 23.5018 24.0551 23.5018H24.7046C24.7829 23.5018 24.858 23.4707 24.9134 23.4153C24.9687 23.3599 24.9999 23.2848 24.9999 23.2065L25 15.2953C25 15.217 24.9688 15.1419 24.9135 15.0865C24.8581 15.0312 24.783 15 24.7047 15L16.7935 15C16.7151 15 16.6401 15.0312 16.5847 15.0865C16.5293 15.1419 16.4982 15.217 16.4981 15.2953Z%22 fill=%22%23111112%22/%3E%3C/svg%3E");
	--aml-i-arrow-white: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%2215 15 10 10%22%3E%3Cpath d=%22M16.4981 15.2953L16.4984 15.9448C16.4984 16.0231 16.5295 16.0982 16.5849 16.1536C16.6403 16.209 16.7154 16.2401 16.7937 16.2401L22.8828 16.24L15.0864 24.0365C15.0311 24.0919 15 24.1671 15 24.2454C15 24.3237 15.0311 24.3988 15.0865 24.4542L15.5459 24.9136C15.6611 25.0288 15.8482 25.0288 15.9636 24.9135L23.76 17.1169L23.7598 23.2065C23.7598 23.2848 23.7909 23.3599 23.8463 23.4153C23.9017 23.4707 23.9768 23.5018 24.0551 23.5018H24.7046C24.7829 23.5018 24.858 23.4707 24.9134 23.4153C24.9687 23.3599 24.9999 23.2848 24.9999 23.2065L25 15.2953C25 15.217 24.9688 15.1419 24.9135 15.0865C24.8581 15.0312 24.783 15 24.7047 15L16.7935 15C16.7151 15 16.6401 15.0312 16.5847 15.0865C16.5293 15.1419 16.4982 15.217 16.4981 15.2953Z%22 fill=%22%23fff%22/%3E%3C/svg%3E");
	--aml-i-instagram:   url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23fff%22 stroke-width=%221.8%22%3E%3Crect x=%223%22 y=%223%22 width=%2218%22 height=%2218%22 rx=%225%22/%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%224.2%22/%3E%3Ccircle cx=%2217.4%22 cy=%226.6%22 r=%221.15%22 fill=%22%23fff%22 stroke=%22none%22/%3E%3C/svg%3E");
	--aml-i-clock:       url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 20 20%22 fill=%22none%22 stroke=%22%23fff%22 stroke-width=%221.7%22 stroke-linecap=%22round%22 opacity=%22.6%22%3E%3Ccircle cx=%2210%22 cy=%2210%22 r=%228.2%22 stroke-dasharray=%220.1 3.2%22/%3E%3Cpath d=%22M10 5.6V10l3 1.9%22/%3E%3C/svg%3E");
	--aml-i-viewfinder:  url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 118 118%22 fill=%22none%22 stroke=%22%23fff%22 stroke-width=%222.5%22%3E%3Cpath d=%22M2 28V2h26M90 2h26v26M116 90v26H90M28 116H2V90%22/%3E%3Cpath d=%22M59 51v16M51 59h16%22 stroke-width=%221.5%22/%3E%3C/svg%3E");
	--aml-i-quote:       url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 34 37%22%3E%3Cpath opacity=%22.15%22 d=%22M23.5741 37L20.1401 33.8842L29.1429 25.7158V24.4246H19.4286V9H34V27.5403L23.5741 37ZM0 24.4246H9.71428V25.7158L0.711571 33.8842L4.14557 37L14.5714 27.5403V9H0V24.4246Z%22 fill=%22%23000%22/%3E%3C/svg%3E");
}

/* Typographie de base : Inter Medium à interlettrage serré, comme la maquette. */
body {
	font-family: var(--aml-font);
	font-weight: 500;
	letter-spacing: -0.04em;
	color: var(--aml-ink);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
