/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */

:root {
	--radius-lg: 12px;
	--color-focus: #005fcc;
}

/* Poppins - Regular */
@font-face {
    font-family: 'Poppins';
    src: url('/wp-content/themes/blocksy-child/assets/fonts/poppins/poppins-v20-latin-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('/wp-content/themes/blocksy-child/assets/fonts/poppins/poppins-v20-latin-500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('/wp-content/themes/blocksy-child/assets/fonts/poppins/poppins-v20-latin-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('/wp-content/themes/blocksy-child/assets/fonts/poppins/poppins-v20-latin-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}


/* Global */

body {
    font-family: 'Poppins', sans-serif;
}

a.link--external::after {
  content: "↗";
}

.block__mask {
	overflow: hidden;
}

header .ct-sticky-container > div > div {
	margin-bottom: 20px;
}

header .site-branding a {
	color: #000000;
}

blockquote cite {
	font-size: 18px;
	font-weight: 700;
}

article > .entry-content > .wp-block-columns:not(:first-child)  {
	padding-top: clamp(40px, 6vw + 10px, 120px);
	padding-bottom: clamp(40px, 6vw + 10px, 120px);
}


/* Boutons */

.btn-primary[type="submit"],
.wp-block-button a.wp-element-button,
.wp-block-button.is-style-outline a.wp-block-button__link.wp-element-button:hover {
	padding: 12px 20px;
	gap: 10px;
	border-radius: var(--radius-lg);
	background: var(--theme-palette-color-1);
	color: var(--theme-palette-color-2);
	font-weight: 700;
	border: 2px var(--theme-palette-color-1) solid;
}

.btn-primary[type="submit"] {
	max-height: 57px;
	position: relative;
	top: 33px;
}

.wp-block-button a.wp-element-button:hover,
.wp-block-button.is-style-fill a.wp-element-button:hover,
.btn-primary[type="submit"]:hover {
	background: transparent;
	color: var(--theme-palette-color-1);
	border: 2px var(--theme-palette-color-1) solid;
}

.wp-block-button.is-style-outline a.wp-block-button__link.wp-element-button {
	padding: 12px 20px;
	gap: 10px;
	border-radius: var(--radius-lg);
	background: var(--theme-palette-color-2);
	color: var(--theme-palette-color-1);
	font-weight: 700;
}

.btn-primary:after,
.wp-block-button a.wp-element-button:after,
.wp-block-button.is-style-fill a.wp-element-button:after,
.wp-block-button.is-style-outline  a.wp-element-button:after {
	content: "";
	display: inline-block;
	width: 8px;
	height: 16px;
	background-image: url("/wp-content/themes/blocksy-child/assets/images/btn-arrow.svg");
	background-size: contain;
	background-repeat: no-repeat;
	position: relative;
	left: 0;
	transition: all 0.15s ease-in 0s;
}

.btn-primary:hover:after,
.wp-block-button a.wp-element-button:hover:after,
.wp-block-button.is-style-fill a.wp-element-button:hover:after,
.wp-block-button.is-style-outline  a.wp-element-button:hover:after {
	left: 5px;
}


/* Accueil - Hero */

.hero__background {
	background-image: url("/wp-content/uploads/2026/04/livreurs-jp-home.png");
	background-repeat: no-repeat;
	background-size: cover;
}

.home [data-vertical-spacing*="top"] {
	padding-top: 40px;
}

.hero-form {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(180px, 1fr) auto;
  gap: 1rem;
  align-items: inherit;
}

.form-field {
  display: flex;
  flex-direction: column;
}

.form-field label {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--theme-palette-color-1);
}

.form-field input {
  min-height: 56px;
  width: 100%;
  padding: 0 1rem;
  border: 1.5px solid var(--theme-palette-color-1);
  border-radius: var(--radius-lg);
  background: #ffffff;
  color: var(--theme-palette-color-1);
  font: inherit;
}

.form-field input::placeholder {
  color: #5f5f5f;
  opacity: 1;
}

.form-field input:focus-visible,
.btn-primary:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 2px;
}

.form-help {
  margin: 0.5rem 0 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #4a4a4a;
}

.form-actions {
  display: flex;
}

@media screen and (max-width: 767px) {
	.hero-form {
		grid-template-columns: 1fr;
		align-items: stretch;
	}
	.btn-primary[type="submit"] {
		max-height: auto;
		top: 0;
	}
	.btn-primary {
		width: 100%;
	}
}


/* Section */

.step__number {
	width: 42px;
	min-width: 42px;
	height: 42px;
	border-radius: 2rem;
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	font-weight: 700;
}

.step__number.yellow,
.yellow {
	background: var(--theme-palette-color-5);
}

.step__number.green,
.green {
	background: var(--theme-palette-color-4);
	color: #fff;
}

.step__number.red,
.red {
	background: var(--theme-palette-color-3);
	color: #fff;	
}

.step__header .wp-block-column {
	display: flex;
	align-items: center;
	gap: 12px;
}

.step__header .wp-block-column span, .step__header .wp-block-column h3 {
	margin: 0;
}

.section__decoration--top-left {
	background: url(/wp-content/uploads/2026/04/three-squares.svg) no-repeat left top scroll;
}

.section__decoration--bottom-right {
	background: url(/wp-content/uploads/2026/04/three-squares-right.svg) no-repeat right bottom scroll;
}

@media screen and (max-width: 767px) {
	.step__header .wp-block-column {
		align-items: flex-start;
	}
	.section__decoration--top-left,
	.section__decoration--bottom-right {
		background: none;
	}
}
	

/* Footer */	

footer.ct-footer [data-row] > div {
	padding-block: 20px;
}

.footer-mega {
  margin-top: 2rem;
}

.footer-activites-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.footer-mega ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-mega h2 {
	font-size: 20px;
}

.footer-mega h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.footer-mega a {
	font-size: 16px;
	text-decoration: underline;
}

.footer-mega a:hover,
.footer-bottom a:hover {
	color: var(--theme-palette-color-3)
}

.footer-bottom {
  margin-top: 2rem;
}

.footer-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.footer-card {
	padding: 2rem;
	background: var(--theme-palette-color-2);
	border-radius: 12px;
}

.footer-card h2 {
	font-size: 18px;
	margin-bottom: 0.5rem;
	line-height: 28px;
}

.footer-card p {
	font-size: 16px;
}

.footer-legal {
  text-align: center;
  font-size: 0.875rem;
}

.footer-square {
	width: 60px;
	height: 60px;
	position: relative;
	top: -2rem;
	left: -2rem;
}

@media (max-width: 768px) {
  .footer-activites-grid,
  .footer-links-grid,
	.footer-cards-grid {
    grid-template-columns: 1fr;
  }
}