/* ==========================================================
   Crusty Food - new homepage design (content sections only)
   Header and footer keep their original styles.
   Loaded after style-res.css / style-animation/style.css
   ========================================================== */

:root {
	--cf-orange: #ff9d00;
	--cf-font-anton: 'Anton', 'Oswald', Impact, sans-serif;
	--cf-font-barlow: 'Barlow Condensed', 'Oswald', sans-serif;
	--cf-font-lobster: 'Lobster', cursive;
	--cf-font-poppins: 'Poppins', Arial, sans-serif;
	--cf-font-script: 'Dancing Script', cursive;
	--cf-font-ui: 'Montserrat', Arial, sans-serif;
	--cf-black: #050505;
}

/* ---------- Hero ---------- */
.hero-section {
	position: relative;
	overflow: hidden;
	min-height: max(56.3vw, calc(43vw + 185px));
	background: var(--cf-black) url(../img/new/hero-background.webp) center top / 100% auto no-repeat;
}

/* video placed inside the hero circle */
.hero-section .demo-2 {
	position: absolute;
	left: -3.6vw;
	top: -1.2vw;
	width: 47.9vw;
	height: 47.9vw;
	margin: 0;
	border-radius: 50%;
	overflow: hidden;
	z-index: 0;
}

.hero-section .demo-2 video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

#overlay-hero-2 {
	display: none;
}

/* ---------- Hero copy ---------- */
.cf-hero-copy {
	position: absolute;
	left: 49%;
	right: 3%;
	top: 12.5vw;
	text-align: center;
	z-index: 5;
	color: #fff;
	font-family: var(--cf-font-poppins);
}

.cf-eyebrow {
	font: italic 800 clamp(20px, 2.15vw, 40px) var(--cf-font-barlow);
	color: var(--cf-orange);
	margin: 0 0 1.2vw;
	letter-spacing: 1px;
}

/* title + url tilted upwards like the design */
.cf-hero-title {
	font: 400 clamp(28px, 3.3vw, 62px)/1.12 var(--cf-font-lobster);
	margin: 0;
	color: #fff;
	transform: rotate(-4deg);
}

.cf-hero-url {
	position: relative;
	display: inline-block;
	font: italic 400 clamp(34px, 4.4vw, 84px)/1.05 var(--cf-font-anton);
	letter-spacing: 1px;
	color: var(--cf-orange);
	margin: 0.6vw 0 3.4vw;
	white-space: nowrap;
	transform: rotate(-4deg);
}

/* orange brush swoosh under the url */
.cf-hero-url:after {
	content: '';
	position: absolute;
	left: 12%;
	right: -2%;
	bottom: min(-2.1vw, -10px);
	height: max(2.3vw, 12px);
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 44' preserveAspectRatio='none'%3E%3Cpath d='M0 34 C110 10 260 0 400 2 C300 10 180 22 120 28 C80 32 40 38 4 44 Z' fill='%23ff9d00'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

.cf-hero-benefits {
	display: flex;
	justify-content: center;
	align-items: center;
}

.cf-benefit {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	padding: 0 3.2vw;
	color: #fff;
}

.cf-benefit b {
	font: 700 clamp(15px, 1.45vw, 27px)/1.05 'Oswald', var(--cf-font-barlow);
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

.cf-benefit-delivery {
	gap: 0.6vw;
	border-right: 2px solid var(--cf-orange);
	align-self: stretch;
}

.cf-benefit-delivery svg {
	width: clamp(54px, 5.6vw, 104px);
	height: auto;
	color: var(--cf-orange);
}

/* "Produits locaux" outlined badge with pin breaking the top border */
.cf-badge {
	position: relative;
	display: inline-block;
	margin-top: clamp(18px, 1.9vw, 34px);
	padding: clamp(14px, 1.5vw, 26px) clamp(8px, 0.8vw, 14px) clamp(5px, 0.5vw, 9px);
	border: 2px solid #fff;
	border-radius: 6px;
	color: #fff;
}

.cf-badge svg {
	position: absolute;
	left: 50%;
	top: 0;
	width: clamp(26px, 2.6vw, 48px);
	height: auto;
	transform: translate(-50%, -62%);
	color: #fff;
}

.cf-badge b {
	display: block;
	font-size: clamp(14px, 1.3vw, 25px);
	line-height: 1;
}

/* ---------- Order form (livraison / emporter) ---------- */
.form-box {
	position: absolute;
	top: 43vw;
	left: 50%;
	transform: translateX(-50%);
	width: min(960px, 52vw);
	z-index: 6;
	font-family: var(--cf-font-poppins);
}

.form-box > .row {
	margin: 0;
}

.form-box .col-md-6.col-md-offset-3 {
	width: 100%;
	margin-left: 0;
	float: none;
	padding: 0;
}

.hd-btn-main {
	background: transparent;
	margin: 0 0 14px;
	line-height: normal;
	border-radius: 40px;
	overflow: hidden;
	float: none;
}

.hd-btn {
	display: flex;
}

.hd-btn a,
a.liv-btn,
a.emp-btn,
a.liv-btn:hover,
a.liv-btn:hover + a.emp-btn {
	float: none;
	width: 50% !important;
	padding: 13px 10px;
	font-family: var(--cf-font-ui);
	font-size: clamp(13px, 1.1vw, 19px);
	font-weight: 700;
	letter-spacing: 0.5px;
	background: #fff;
	color: #111 !important;
}

.hd-btn a img {
	margin-right: 10px;
	vertical-align: -3px;
}

#formliv a.liv-btn,
#formemport a.emp-btn {
	background: var(--cf-orange);
	color: #111 !important;
}

.form-box .input-group {
	display: flex;
	width: 100%;
	gap: 15px;
}

.form-box .input-group .form-control,
.form-box .input-group input.form-control {
	flex: 1;
	width: auto !important;
	height: 50px !important;
	padding: 0 20px;
	border-radius: 10px;
	border: 2px solid #ddd;
	background-color: #111;
	color: #fff;
	font-size: 15px;
	letter-spacing: 0.5px;
}

.form-box .input-group .form-control option {
	background: #111;
	color: #fff;
}

.form-box .input-group-btn {
	width: auto;
	display: block;
}

.form-box .input-group .btn-default {
	height: 50px;
	padding: 0 26px;
	border-radius: 10px !important;
	background: var(--cf-orange) !important;
	color: #111 !important;
	font-family: var(--cf-font-ui);
	font-weight: 700;
	font-size: 16px;
	width: auto !important;
}

.form-box .input-group .btn-default:hover {
	background: #fff !important;
}

/* ---------- Service icons row ---------- */
.hd-icons {
	top: max(calc(43vw + 128px), 52vw);
	bottom: auto;
	left: 50%;
	transform: translateX(-50%);
	width: min(1400px, 92vw);
	z-index: 6;
}

.hd-icons > div {
	flex: 1;
	float: none;
	width: auto;
}

.hd-icons > div > div {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	color: #fff;
	font-family: var(--cf-font-poppins);
	font-size: clamp(12px, 1vw, 16px);
	font-weight: 400;
}

/* ---------- Nos engagements ---------- */
.sectionTwo {
	margin-top: 0;
	padding: 4.5vw 0 4vw;
	min-height: 37.2vw;
	background: var(--cf-black) url(../img/new/engagements-background.webp) center center / cover no-repeat;
	text-align: left;
	font-family: var(--cf-font-poppins);
}

.sectionTwo {
	position: relative;
	overflow: hidden;
}

/* pizza sitting on the board inside the right-hand circle */
.sectionTwo:after {
	content: '';
	position: absolute;
	top: 50%;
	left: 79.5%;
	width: 34vw;
	height: 34vw;
	transform: translate(-50%, -50%);
	background: url(../img/new/pizza-engagements.webp) center center / contain no-repeat;
	filter: drop-shadow(0 18px 22px rgba(0, 0, 0, .55));
	pointer-events: none;
	z-index: 0;
}

.sectionTwo > .container {
	position: relative;
	z-index: 1;
	width: min(1640px, calc(100% - 96px));
}

.sectionTwo > .container > .col-lg-2 {
	display: none;
}

.sectionTwo .col-lg-8.col-md-8 {
	width: 58%;
	float: none;
	display: block;
	text-align: left;
	padding: 0;
}

.cf-engagements-title {
	font: 400 clamp(36px, 3.6vw, 70px)/1 var(--cf-font-anton);
	letter-spacing: 1px;
	color: #070707;
	margin: 0 0 1.2vw;
	text-shadow: 2px 3px 1px #d97800;
}

.cf-engagements-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.sectionTwo .cf-engagements-list li {
	position: relative;
	padding-left: 34px;
	margin: 4px 0;
	font-family: var(--cf-font-poppins);
	font-size: clamp(14px, 1.1vw, 20px);
	font-weight: 400;
	line-height: 1.35;
	color: #070707;
	text-align: left;
}

.cf-engagements-list li:before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.12em;
	width: 1.15em;
	height: 1.15em;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M1.5 13.2l3-3 5 4.6L20.8 2.5l2.4 2.3L9.7 21.3z' fill='%23070707'/%3E%3C/svg%3E") center / contain no-repeat;
}

.sectionTwo .wow.fadeIn {
	width: 58%;
}

.sectionTwo .wow.fadeIn > .col-lg-12 {
	padding: 0;
	text-align: left;
}

.sectionTwoBg {
	display: grid;
	grid-template-columns: 200px 1fr;
	grid-template-rows: auto auto;
	column-gap: 28px;
	align-items: center;
	min-height: 0;
	max-width: 700px;
	margin: 1.8vw 0 0;
	padding: 12px 34px 12px 12px;
	background: #080808;
	border: 3px solid #fff;
	border-radius: 70px;
	text-align: left;
}

.secTwoImg {
	float: none !important;
	grid-column: 1;
	grid-row: 1 / span 2;
	align-self: stretch;
}

.secTwoImg a {
	display: block;
	height: 100%;
}

.secTwoImg img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 120px;
	border-radius: 58px;
	object-fit: cover;
}

.sectionTwoBg h1 {
	grid-column: 2;
	align-self: end;
	font: 400 clamp(30px, 2.8vw, 50px)/1.1 var(--cf-font-lobster);
	white-space: nowrap;
	margin: 0 0 6px;
	background: none;
	-webkit-text-fill-color: var(--cf-orange);
	color: var(--cf-orange);
	text-align: left;
}

.sectionTwoBg p {
	grid-column: 2;
	align-self: start;
	margin: 0;
	color: #fff;
	font-family: var(--cf-font-poppins);
	font-size: clamp(13px, 0.95vw, 16px);
	line-height: 1.45;
	text-align: left;
	font-weight: 400;
}

/* ---------- Crusty Food / menu cards ---------- */
.product-section {
	padding: 80px 0 100px;
	background: radial-gradient(ellipse at top, #171717, #020202 75%);
	font-family: var(--cf-font-poppins);
}

.product-section > .container {
	width: min(1300px, calc(100% - 96px));
}

.cf-section-title {
	text-align: center;
	margin: 0 auto 25px;
}

.cf-section-title a {
	text-decoration: none;
}

.cf-section-title h2 {
	font: italic 800 clamp(40px, 4vw, 70px)/1.1 var(--cf-font-poppins);
	color: #fff;
	margin: 0;
}

.cf-section-title h2 em {
	color: var(--cf-orange);
}

.product-section p.cf-script {
	text-transform: none;
	font: 700 clamp(26px, 2.7vw, 46px) var(--cf-font-script);
	color: var(--cf-orange);
	border: 2px solid var(--cf-orange);
	border-top: 0;
	width: fit-content;
	margin: 0 auto;
	padding: 0 30px 4px;
}

.product-section h1 {
	font-family: var(--cf-font-poppins);
	font-size: clamp(15px, 1.25vw, 20px);
	line-height: 1.5;
	font-weight: 400;
	max-width: 1000px;
	margin: 0 auto;
}

.product-section h1 strong {
	color: var(--cf-orange);
}

.product-section .row {
	display: flex;
	flex-wrap: wrap;
}

.product-section .row:before,
.product-section .row:after {
	display: none;
}

.product-section .row > [class*="col-md-3"] {
	padding: 0 12px;
	margin-bottom: 24px;
}

.product-section .img-view {
	float: none;
	margin: 0;
	border: 2px solid #d8d8d8;
	border-radius: 22px;
	overflow: hidden;
	background: var(--cf-orange);
	transition: transform .2s;
}

.product-section .img-view:hover {
	transform: translateY(-6px);
}

.product-section .img-view > img {
	width: 100%;
	aspect-ratio: 1.65;
	object-fit: cover;
}

.product-section .prod-front {
	background: var(--cf-orange);
}

.product-section .prod-front h4 {
	position: static;
	margin: 0;
	padding: 12px 5px;
	font: italic 800 clamp(18px, 1.5vw, 26px) var(--cf-font-barlow);
	color: #050505;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
	.hero-section {
		min-height: 0;
		padding-bottom: 30px;
		background-size: cover;
		background-position: 30% top;
	}

	.hero-section .demo-2 {
		display: none;
	}

	.cf-hero-copy,
	.form-box,
	.hd-icons {
		position: relative;
		left: auto;
		right: auto;
		top: auto;
		bottom: auto;
		transform: none;
		margin: 0 auto;
	}

	.cf-hero-copy {
		width: calc(100% - 30px);
		margin-top: 25px;
		padding: 20px 10px;
		background: rgba(0, 0, 0, .7);
		border-radius: 20px;
	}

	.cf-hero-url {
		white-space: normal;
	}

	.form-box {
		width: calc(100% - 30px);
		margin-top: 25px;
	}

	.hd-icons {
		width: calc(100% - 30px);
		margin-top: 20px;
		flex-wrap: wrap;
	}

	.hd-icons > div {
		flex: 0 0 50%;
		width: 50%;
		padding: 8px 5px;
	}

	.sectionTwo {
		background-position: 70% center;
		padding: 50px 0;
	}

	.sectionTwo:after {
		display: none;
	}

	.sectionTwo > .container,
	.product-section > .container {
		width: calc(100% - 30px);
	}

	.sectionTwo .col-lg-8.col-md-8,
	.sectionTwo .wow.fadeIn {
		width: 100%;
	}

	.sectionTwo .col-lg-8.col-md-8 {
		background: rgba(255, 172, 15, .92);
		border-radius: 20px;
		padding: 20px;
	}

	.product-section .row > [class*="col-md-3"] {
		width: 50%;
		float: left;
	}
}

@media (max-width: 600px) {
	.cf-benefit {
		padding: 0 14px;
	}

	.form-box .input-group {
		gap: 6px;
	}

	.form-box .input-group .form-control {
		font-size: 12px;
		padding: 0 8px;
	}

	.form-box .input-group .btn-default {
		padding: 0 14px;
	}

	.sectionTwoBg {
		grid-template-columns: 1fr;
		border-radius: 30px;
		padding: 15px;
		text-align: center;
	}

	.secTwoImg {
		grid-row: auto;
		margin-bottom: 12px;
	}

	.secTwoImg img {
		height: 150px;
		border-radius: 20px;
	}

	.sectionTwoBg h1,
	.sectionTwoBg p {
		grid-column: 1;
	}

	.sectionTwoBg h1,
	.sectionTwoBg p {
		text-align: center;
	}

	.product-section .row > [class*="col-md-3"] {
		padding: 0 6px;
		margin-bottom: 12px;
	}
}
