/* CYBER-JAY (cyber-jay.com) — styles for the international pages. Kept small for mobile speed. */

/* "To confirm" markers: visible on purpose until Jérémy fills in the information. */
.cj-tbc {
	background: #ffe866;
	color: #1a1a1a;
	padding: 0 .3em;
	border-radius: 3px;
	font-weight: 600;
	font-size: .85em;
	text-transform: uppercase;
	letter-spacing: .03em;
}

.cj-hero {
	padding-block: clamp(2rem, 8vw, 5rem);
}

.cj-kicker {
	font-size: .85rem;
	letter-spacing: .08em;
	text-transform: uppercase;
	opacity: .7;
}

.cj-section,
.cj-cta {
	padding-block: clamp(1.5rem, 5vw, 3rem);
}

.cj-cta {
	background: var(--wp--preset--color--accent-5, #f5f5f5);
	padding-inline: clamp(1rem, 4vw, 2rem);
	border-radius: 8px;
}

/* Cards */
.cj-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
	gap: 1rem;
}

.cj-grid > * {
	margin-block: 0 !important;
}

.cj-card {
	border: 1px solid color-mix(in srgb, currentColor 15%, transparent);
	border-radius: 8px;
	padding: 1.25rem;
}

.cj-card > :first-child {
	margin-top: 0;
}

.cj-card h3 {
	font-size: 1.15rem;
}

/* Steps */
.cj-steps ol {
	display: grid;
	gap: .75rem;
}

/* Quick estimate */
.cj-estimate {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
	gap: 1rem;
	align-items: end;
}

.cj-estimate__field {
	display: grid;
	gap: .35rem;
}

.cj-estimate label {
	font-weight: 600;
	font-size: .9rem;
}

.cj-estimate select,
.cj-estimate input {
	font: inherit;
	padding: .6rem .7rem;
	border: 1px solid color-mix(in srgb, currentColor 30%, transparent);
	border-radius: 6px;
	background: transparent;
	color: inherit;
	min-height: 2.75rem;
}

.cj-estimate button {
	min-height: 2.75rem;
	cursor: pointer;
}

.cj-estimate__result {
	grid-column: 1 / -1;
	padding: 1rem 1.25rem;
	border-left: 4px solid currentColor;
	background: var(--wp--preset--color--accent-5, #f5f5f5);
}

.cj-estimate__result p {
	margin: 0 0 .5rem;
}

/* FAQ */
.cj-faq details {
	border-bottom: 1px solid color-mix(in srgb, currentColor 15%, transparent);
	padding-block: .9rem;
}

.cj-faq summary {
	cursor: pointer;
	font-weight: 600;
}

.cj-faq details p {
	margin: .6rem 0 0;
}

.cj-footer {
	font-size: .9rem;
	padding-block: 2rem;
	border-top: 1px solid color-mix(in srgb, currentColor 15%, transparent);
}

/* Banner for French-speaking visitors */
.cj-fr-banner {
	position: fixed;
	inset: auto 1rem 1rem;
	z-index: 1000;
	display: flex;
	gap: 1rem;
	align-items: center;
	max-width: 40rem;
	margin-inline: auto;
	padding: .8rem 1rem;
	background: #1a1a1a;
	color: #fff;
	border-radius: 8px;
	font-size: .95rem;
	box-shadow: 0 4px 20px rgb(0 0 0 / .2);
}

.cj-fr-banner[hidden] {
	display: none;
}

.cj-fr-banner p {
	margin: 0;
}

.cj-fr-banner a {
	color: inherit;
	font-weight: 600;
}

.cj-fr-banner__close {
	flex: none;
	width: 2.5rem;
	height: 2.5rem;
	border: 0;
	background: transparent;
	color: inherit;
	font-size: 1.5rem;
	cursor: pointer;
}
