/*
Theme Name: L'Hermine
Template: blocksy
Description: Thème enfant de Blocksy pour la marque de vêtements L'Hermine.
Version: 1.0.0
Text Domain: lhermine
*/

@font-face { font-family: "Bodoni Moda"; src: url("assets/fonts/bodoni-moda.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("assets/fonts/jost.woff2") format("woff2"); font-weight: 300 500; font-style: normal; font-display: swap; }

html:root {
	--lh-ink: #141311;
	--lh-gold: #c9a35a;
	--lh-gold-dark: #8f6f33;
	--lh-ivory: #efe6d7;
	--lh-paper: #faf7f1;
	--lh-text: #3b3833;
	--lh-muted: #6f6a60;
	--lh-line: #e2dacb;
	--lh-serif: "Bodoni Moda", Georgia, serif;
	--lh-sans: "Jost", "Helvetica Neue", Arial, sans-serif;
	--theme-palette-color-1: var(--lh-ink);
	--theme-palette-color-2: var(--lh-gold-dark);
	--theme-palette-color-3: var(--lh-text);
	--theme-palette-color-4: var(--lh-ink);
	--theme-palette-color-5: var(--lh-line);
	--theme-palette-color-6: var(--lh-ivory);
	--theme-palette-color-7: var(--lh-paper);
	--theme-palette-color-8: #ffffff;
	--theme-font-family: var(--lh-sans);
	--theme-button-border-radius: 0px;
	overflow-x: clip;
}

body { font-family: var(--lh-sans); color: var(--lh-text); background: #fff; font-weight: 400; }
h1, h2, h3, h4, h5, h6, .wp-block-heading, .product_title, .page-title, .ct-module-title { font-family: var(--lh-serif); font-weight: 400; color: var(--lh-ink); letter-spacing: 0; font-optical-sizing: none; font-variation-settings: "opsz" 18; }

/* Header */
.site-title-container { display: none !important; }
.site-logo-container img, .site-logo-container .default-logo { height: 64px !important; width: auto !important; max-height: none !important; }
header[data-id] .menu > li > a, .ct-header [data-id="menu"] > ul > li > a { font-family: var(--lh-sans); font-size: 13px; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; }
.ct-header { border-bottom: 1px solid var(--lh-line); }

/* Buttons */
.button, button.button, a.button, input[type="submit"], .wp-element-button, .wp-block-button__link, .single_add_to_cart_button, .wc-block-components-button, .checkout-button {
	border-radius: 0 !important;
	font-family: var(--lh-sans) !important;
	font-size: 13px !important;
	letter-spacing: .18em !important;
	text-transform: uppercase !important;
	font-weight: 400 !important;
}
.lh-btn .wp-block-button__link { background: transparent; color: var(--lh-gold); border: 1px solid var(--lh-gold); padding: 16px 34px; }
.lh-btn .wp-block-button__link:hover { background: var(--lh-gold); color: var(--lh-ink); }
.lh-btn-ink .wp-block-button__link { background: var(--lh-ink); color: #fff; border: 1px solid var(--lh-ink); padding: 16px 34px; }
.lh-btn-ink .wp-block-button__link:hover { background: transparent; color: var(--lh-ink); }

/* Homepage layout */
.home .ct-container-full, .home main#main > .ct-container-full { padding-top: 0 !important; padding-bottom: 0 !important; }
.home .entry-content > * { margin-block: 0; }
.lh-full { width: 100vw; max-width: 100vw !important; margin-left: calc(50% - 50vw) !important; margin-right: calc(50% - 50vw) !important; }
.lh-wrap { max-width: 1240px; margin-inline: auto; padding-inline: 40px; }
.lh-kicker { font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--lh-gold-dark); margin: 0 0 16px; }

/* Hero */
.lh-hero { background: var(--lh-ink) url("assets/motif.svg"); color: #f1e8d6; }
.lh-hero-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; min-height: min(78vh, 720px); padding-block: 60px; }
.lh-hero-text { flex: 1 1 auto; min-width: 0; }
.lh-hero .lh-kicker { color: var(--lh-gold); }
.lh-hero h1 { color: #f6efe2; font-size: clamp(36px, 4.5vw, 62px); line-height: 1.16; margin: 0 0 26px; }
.lh-gold { color: var(--lh-gold); }
.lh-hero-lead { font-size: 18px; font-weight: 300; line-height: 1.7; color: #d8ccb6; margin: 0 0 36px; max-width: 480px; }
.lh-hero-face { margin: 0; flex: 0 1 460px; min-width: 0; }
.lh-hero-face img { display: block; width: 100%; height: auto; }

/* Chapters */
.lh-chapters-wrap { padding-block: 90px 40px; }
.lh-chapters { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.lh-chapter { position: relative; overflow: hidden; margin: 0; background: var(--lh-ivory); }
.lh-chapter figure { margin: 0; }
.lh-chapter img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .7s ease; }
.lh-chapter:hover img { transform: scale(1.03); }
.lh-chapter-txt { position: absolute; left: 0; right: 0; bottom: 0; padding: 90px 32px 28px; background: linear-gradient(transparent, rgba(20, 19, 17, .72)); }
.lh-chapter-txt h2 { margin: 0; font-size: 42px; }
.lh-chapter-txt h2 a { color: #fff; }
.lh-chapter-txt h2 a::after { content: ""; position: absolute; inset: 0; }
.lh-chapter-txt p { margin: 4px 0 0; color: #f1e8d6; font-weight: 300; }

/* Section headings */
.lh-head { text-align: center; margin-bottom: 44px; }
.lh-head h2 { font-size: clamp(32px, 3.4vw, 46px); margin: 0; }
.lh-new { padding-block: 60px 90px; }
.lh-more { display: flex; justify-content: center; margin-top: 44px; }

/* Story */
.lh-story { background: var(--lh-ivory); }
.lh-story-inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 80px; align-items: center; padding-block: 90px; }
.lh-story-img { margin: 0; }
.lh-story-img img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.lh-story h2 { font-size: clamp(32px, 3.4vw, 46px); line-height: 1.2; margin: 0 0 24px; }
.lh-story p:not(.lh-kicker) { font-size: 18px; line-height: 1.75; font-weight: 300; margin: 0 0 20px; }

/* Authenticity band */
.lh-auth { background: var(--lh-ink) url("assets/motif.svg"); color: #f1e8d6; text-align: center; padding-block: 96px; }
.lh-auth .lh-kicker { color: var(--lh-gold); }
.lh-auth h2 { color: #f6efe2; font-size: clamp(32px, 3.4vw, 46px); margin: 0 auto 18px; max-width: 760px; }
.lh-auth p:not(.lh-kicker) { color: #d8ccb6; font-weight: 300; font-size: 18px; line-height: 1.7; max-width: 560px; margin: 0 auto 34px; }
.lh-auth .wp-block-buttons { justify-content: center; }

/* Reassurance */
.lh-assur { display: grid; grid-template-columns: repeat(3, 1fr); padding-block: 56px; }
.lh-assur > div { padding: 0 30px; text-align: center; border-left: 1px solid var(--lh-line); }
.lh-assur > div:first-child { border-left: 0; }
.lh-assur h3 { font-size: 22px; margin: 0 0 6px; }
.lh-assur p { margin: 0; color: var(--lh-muted); font-weight: 300; }

/* Products */
.woocommerce-loop-product__title, .woocommerce ul.products li.product h2 { font-family: var(--lh-sans) !important; font-size: 15px !important; font-weight: 400 !important; letter-spacing: .02em; color: var(--lh-ink); }
ul.products .price, .woocommerce ul.products li.product .price { color: var(--lh-muted) !important; font-size: 14px !important; font-weight: 400 !important; }
ul.products li.product .entry-meta, ul.products li.product .ct-woo-card-extra { display: none; }
ul.products .ct-woo-card-actions { display: none; }
ul.products li.product img { aspect-ratio: 2 / 3 !important; object-fit: cover; object-position: center top; }
ul.products .ct-media-container { aspect-ratio: 2 / 3; }
.product_title { font-size: clamp(30px, 3vw, 42px) !important; }
.single-product .price { color: var(--lh-ink) !important; font-size: 20px !important; font-weight: 400 !important; }
.woocommerce-products-header__title, .page-title { font-size: clamp(34px, 4vw, 54px); }

/* Inner pages */
.lh-page { max-width: 760px; margin-inline: auto; font-size: 18px; line-height: 1.8; font-weight: 300; }
.lh-page h2 { font-size: 30px; margin: 42px 0 14px; }
.lh-demo { background: var(--lh-ivory); padding: 14px 20px; font-size: 15px; }

/* Authenticity checker */
.lh-verify { background: var(--lh-paper); border: 1px solid var(--lh-line); padding: 32px; margin: 30px 0; font-weight: 400; }
.lh-verify label { display: block; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 10px; }
.lh-verify-row { display: flex; gap: 10px; }
.lh-verify-row input[type="text"] { flex: 1; min-width: 0; border-radius: 0; text-transform: uppercase; }
.lh-result { margin-top: 22px; padding: 18px 20px; border-left: 3px solid var(--lh-gold-dark); background: #fff; }
.lh-result.is-bad { border-left-color: #a33a2a; }
.lh-result strong { font-family: var(--lh-serif); font-weight: 400; font-size: 22px; display: block; margin-bottom: 4px; color: var(--lh-ink); }

/* Footer */
.ct-footer { display: none; }
.lh-footer { background: var(--lh-ink) url("assets/motif.svg"); color: #cdbfa6; padding-block: 72px 30px; font-weight: 300; }
.lh-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 50px; }
.lh-footer-logo { height: 64px; width: auto; display: block; margin-bottom: 18px; }
.lh-footer h3 { color: #f6efe2; font-family: var(--lh-sans); font-size: 12px; font-weight: 400; letter-spacing: .24em; text-transform: uppercase; margin: 0 0 16px; }
.lh-footer ul { list-style: none; margin: 0; padding: 0; }
.lh-footer li { margin-bottom: 8px; }
.lh-footer a { color: #cdbfa6; }
.lh-footer a:hover { color: var(--lh-gold); }
.lh-footer-bottom { border-top: 1px solid #38342c; margin-top: 50px; padding-top: 22px; font-size: 14px; }

@media (max-width: 900px) {
	.lh-wrap { padding-inline: 20px; }
	.lh-hero-inner { flex-direction: column-reverse; align-items: flex-start; padding-block: 40px 56px; min-height: 0; gap: 16px; }
	.lh-hero-face { flex: none; width: 66%; max-width: 300px; align-self: center; }
	.lh-chapters-wrap { padding-block: 56px 20px; }
	.lh-chapter-txt h2 { font-size: 30px; }
	.lh-story-inner { grid-template-columns: minmax(0, 1fr); gap: 34px; padding-block: 56px; }
	.lh-assur { grid-template-columns: minmax(0, 1fr); gap: 26px; }
	.lh-assur > div { border-left: 0; }
	.lh-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; }
	.lh-footer-brand { grid-column: 1 / -1; }
	.site-logo-container img, .site-logo-container .default-logo { height: 44px !important; }
}
@media (max-width: 480px) {
	.lh-chapters { grid-template-columns: minmax(0, 1fr); }
	.lh-verify-row { flex-direction: column; }
}
