/* ==========================================================================
   INERGIX – inner pages (À propos, Contact, Services)
   Shared design layer for the Elementor page content, matching the
   homepage vocabulary (primary #00aeef, 20px radius, Albert Sans).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Page shell – replace the Astra container with our own
   -------------------------------------------------------------------------- */
body.ix-inner-page {
	background: #fff;
}

body.ix-inner-page .ix-content {
	padding: 0;
}

body.ix-inner-page #content #primary,
body.ix-inner-page #content #main,
body.ix-inner-page #content .site-main,
body.ix-inner-page #content .ast-article-single {
	display: block;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

body.ix-inner-page #content .entry-header {
	display: none;
}

body.ix-inner-page #content .entry-content {
	margin: 0;
	padding: 0;
}

body.ix-inner-page #content .entry-content > .elementor {
	width: 100%;
}

/* --------------------------------------------------------------------------
   2. Elementor containers – 1540px boxed grid, no theme interference
   -------------------------------------------------------------------------- */
body.ix-inner-page #content .elementor .e-con.e-parent {
	width: 100%;
	max-width: none;
	margin: 0;
}

body.ix-inner-page #content .elementor .e-con-boxed > .e-con-inner {
	width: 100%;
	max-width: var(--ix-container) !important;
	margin-inline: auto;
	padding-inline: 15px;
}

body.ix-inner-page #content .elementor .e-con-inner {
	--gap: 0;
}

body.ix-inner-page #content .elementor .e-parent:not(.ix-hero-light) {
	padding-block: 72px;
}

/* --------------------------------------------------------------------------
   3. Hero band
   -------------------------------------------------------------------------- */
body.ix-inner-page #content .ix-hero-light {
	padding: 64px 0 60px;
	background: linear-gradient(118deg, #edfafe 0%, #e8f8fe 52%, #f5fcff 100%);
}

/* Elementor prints its own gradient on this container and lazy-loads the 4th
   container background with !important; keep our band colour authoritative. */
body.ix-inner-page #content .ix-hero-light {
	background: linear-gradient(118deg, #edfafe 0%, #e8f8fe 52%, #f5fcff 100%) !important;
}

body.ix-inner-page #content .ix-hero-light > .e-con-inner {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 18px;
}

body.ix-inner-page #content .ix-hero-light h1.elementor-heading-title {
	max-width: 980px;
	margin: 0;
	font-size: clamp(30px, 3.8vw, 54px);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.02em;
	color: var(--ix-dark);
}

body.ix-inner-page #content .ix-hero-light .elementor-widget-text-editor p {
	max-width: 760px;
	margin: 0;
	font-size: 18px;
	line-height: 1.65;
	color: #565656;
}

/* --------------------------------------------------------------------------
   4. Eyebrow + section headings
   -------------------------------------------------------------------------- */
body.ix-inner-page #content .ix-eyebrow {
	margin: 0;
}

body.ix-inner-page #content .ix-eyebrow .elementor-heading-title {
	display: inline-block;
	padding: 7px 15px;
	border-radius: 999px;
	background: #e9f9fe;
	color: var(--ix-primary-ink);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

body.ix-inner-page #content .elementor h2.elementor-heading-title {
	margin: 0;
	font-size: clamp(26px, 2.4vw, 36px);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.015em;
	color: var(--ix-dark);
}

body.ix-inner-page #content .elementor .e-con-inner > .e-con-full > .ix-eyebrow + .elementor-widget-heading {
	margin-top: 12px;
}

/* --------------------------------------------------------------------------
   5. Cards + icon boxes
   -------------------------------------------------------------------------- */
body.ix-inner-page #content .ix-card {
	width: 100%;
	padding: 30px;
	border: 1px solid var(--ix-border);
	border-radius: var(--ix-radius);
	background: #fff;
	box-shadow: 0 12px 32px rgba(17, 17, 17, 0.045);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

body.ix-inner-page #content .ix-card:hover {
	transform: translateY(-4px);
	border-color: rgba(0, 174, 239, 0.22);
	box-shadow: 0 20px 44px rgba(0, 174, 239, 0.1);
}

body.ix-inner-page #content .ix-card .elementor-icon-box-wrapper {
	display: flex;
	flex-direction: column;
	gap: 16px;
	height: 100%;
}

body.ix-inner-page #content .ix-card .elementor-icon-box-icon {
	margin: 0;
}

body.ix-inner-page #content .ix-card .elementor-icon-box-icon .elementor-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 16px;
	background: #eaf9fe;
	color: var(--ix-primary-ink);
}

body.ix-inner-page #content .ix-card .elementor-icon-box-icon svg {
	width: 24px;
	height: 24px;
	fill: currentColor;
}

body.ix-inner-page #content .ix-card .elementor-icon-box-title {
	margin: 0 0 8px;
	font-size: 19px;
	font-weight: 700;
	line-height: 1.35;
	color: var(--ix-dark);
}

body.ix-inner-page #content .ix-card .elementor-icon-box-description {
	margin: 0;
	font-size: 15px;
	line-height: 1.65;
	color: #646464;
}

/* --------------------------------------------------------------------------
   6. Contact – details column + form column
   -------------------------------------------------------------------------- */
/* The page holds both columns inside one child container (6259281), so the
   grid belongs there – the outer .e-con-inner only has a single child. */
body.page-id-29.ix-inner-page #content [data-id="972a02c"] > .e-con-inner {
	display: block !important;
}

body.page-id-29.ix-inner-page #content [data-id="6259281"] {
	display: grid !important;
	grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
	gap: 30px;
	align-items: start;
	padding: 0;
}

body.page-id-29.ix-inner-page #content [data-id="6259281"],
body.page-id-29.ix-inner-page #content [data-id="44e7326"],
body.page-id-29.ix-inner-page #content [data-id="1e6753d"],
body.page-id-29.ix-inner-page #content [data-id="d3d0e45"],
body.page-id-29.ix-inner-page #content [data-id="07ca603"] {
	width: 100%;
	min-width: 0;
}

body.page-id-29.ix-inner-page #content [data-id="44e7326"],
body.page-id-29.ix-inner-page #content [data-id="1e6753d"] {
	padding: 0;
}

body.page-id-29.ix-inner-page #content [data-id="07ca603"] {
	padding: 6px 0;
}

body.page-id-29.ix-inner-page #content [data-id="07ca603"]:hover {
	transform: none;
}

body.page-id-29.ix-inner-page #content [data-id="07ca603"] > .elementor-widget-icon-box {
	padding: 22px 26px;
}

body.page-id-29.ix-inner-page #content [data-id="07ca603"] > .elementor-widget-icon-box + .elementor-widget-icon-box {
	border-top: 1px solid var(--ix-border);
}

body.page-id-29.ix-inner-page #content [data-id="d3d0e45"] {
	padding: 34px;
}

/* --------------------------------------------------------------------------
   7. WPForms (id 96) inside the contact card
   -------------------------------------------------------------------------- */
body.ix-inner-page #content .ix-form .wpforms-container {
	margin: 0;
}

body.ix-inner-page #content .ix-form .wpforms-field {
	padding: 0 0 18px;
}

body.ix-inner-page #content .ix-form .wpforms-field-label {
	margin-bottom: 8px;
	font-size: 14px;
	font-weight: 600;
	color: var(--ix-dark);
}

body.ix-inner-page #content .ix-form .wpforms-required-label {
	color: #d63638;
}

body.ix-inner-page #content .ix-form .wpforms-field input[type="text"],
body.ix-inner-page #content .ix-form .wpforms-field input[type="email"],
body.ix-inner-page #content .ix-form .wpforms-field input[type="tel"],
body.ix-inner-page #content .ix-form .wpforms-field input[type="url"],
body.ix-inner-page #content .ix-form .wpforms-field input[type="number"],
body.ix-inner-page #content .ix-form .wpforms-field select,
body.ix-inner-page #content .ix-form .wpforms-field textarea {
	width: 100%;
	padding: 13px 16px;
	border: 1px solid var(--ix-border);
	border-radius: 12px;
	background: #f6fafc;
	font-family: inherit;
	font-size: 15px;
	line-height: 1.5;
	color: var(--ix-text);
	transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

body.ix-inner-page #content .ix-form .wpforms-field input:focus,
body.ix-inner-page #content .ix-form .wpforms-field select:focus,
body.ix-inner-page #content .ix-form .wpforms-field textarea:focus {
	border-color: var(--ix-primary-ink);
	background: #fff;
	outline: none;
	box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.12);
}

body.ix-inner-page #content .ix-form .wpforms-field textarea {
	min-height: 140px;
	resize: vertical;
}

body.ix-inner-page #content .ix-form .wpforms-submit-container {
	padding: 0;
	margin: 4px 0 0;
}

body.ix-inner-page #content .ix-form button.wpforms-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 48px;
	padding: 0 30px;
	border: 0;
	border-radius: 999px;
	background: var(--ix-primary);
	color: var(--ix-on-primary);
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

body.ix-inner-page #content .ix-form button.wpforms-submit:hover {
	background: #0093c9;
	transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   8. About – cards grid + partner brands
   -------------------------------------------------------------------------- */
body.page-id-28.ix-inner-page #content [data-id="9979821"] > .e-con-inner {
	display: block !important;
}

body.page-id-28.ix-inner-page #content [data-id="daa8cd2"] {
	max-width: 760px;
	margin: 0 0 40px;
}

body.page-id-28.ix-inner-page #content [data-id="c2c3fcb"],
body.page-id-27.ix-inner-page #content [data-id="7b5809c"] {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
}

body.page-id-28.ix-inner-page #content [data-id="c2c3fcb"] > .ix-card,
body.page-id-27.ix-inner-page #content [data-id="7b5809c"] > .ix-card {
	display: flex;
	flex-direction: column;
}

body.page-id-28.ix-inner-page #content [data-id="24863e9"] > .e-con-inner {
	display: block !important;
}

body.page-id-28.ix-inner-page #content .ix-brands {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
	margin-top: 36px;
}

body.page-id-28.ix-inner-page #content .ix-brands img,
body.page-id-28.ix-inner-page #content .ix-brands span {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 104px;
	margin: 0;
	padding: 22px;
	border: 1px solid var(--ix-border);
	border-radius: 16px;
	background: #fff;
	object-fit: contain;
	transition: border-color 0.2s ease;
}

body.page-id-28.ix-inner-page #content .ix-brands span {
	font-size: 18px;
	font-weight: 700;
	color: var(--ix-muted);
}

body.page-id-28.ix-inner-page #content .ix-brands img:hover,
body.page-id-28.ix-inner-page #content .ix-brands span:hover {
	border-color: rgba(0, 174, 239, 0.25);
}

/* --------------------------------------------------------------------------
   9. CTA bands (À propos + Services)
   -------------------------------------------------------------------------- */
body.page-id-27.ix-inner-page #content .elementor-27 > .e-parent:last-child,
body.page-id-28.ix-inner-page #content .elementor-28 > .e-parent:last-child {
	max-width: calc(var(--ix-container) - 30px);
	margin: 0 auto 90px;
	padding: 64px 30px;
	border-radius: 24px;
	background: linear-gradient(118deg, #061634 0%, #0a3a63 60%, #00aeef 130%);
	text-align: center;
}

/* Beat Elementor's lazy-load rule (background-image: none !important on the
   4th container), which otherwise leaves white text on a pale band. */
body.ix-inner-page #content .elementor-27 > .e-parent:last-child,
body.ix-inner-page #content .elementor-28 > .e-parent:last-child {
	background: linear-gradient(118deg, #061634 0%, #0a3a63 60%, #00aeef 130%) !important;
}

body.page-id-27.ix-inner-page #content .elementor-27 > .e-parent:last-child > .e-con-inner,
body.page-id-28.ix-inner-page #content .elementor-28 > .e-parent:last-child > .e-con-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
	text-align: center;
}

body.page-id-27.ix-inner-page #content .elementor-27 > .e-parent:last-child h2.elementor-heading-title,
body.page-id-28.ix-inner-page #content .elementor-28 > .e-parent:last-child h2.elementor-heading-title {
	color: #fff;
}

body.page-id-27.ix-inner-page #content .elementor-27 > .e-parent:last-child .elementor-widget-text-editor p,
body.page-id-28.ix-inner-page #content .elementor-28 > .e-parent:last-child .elementor-widget-text-editor p {
	max-width: 640px;
	margin: 0;
	color: rgba(255, 255, 255, 0.86);
	font-size: 17px;
}

body.ix-inner-page #content .ix-btn {
	height: auto;
	padding: 0;
	background: transparent;
}

body.ix-inner-page #content .ix-btn .elementor-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 48px;
	padding: 0 28px;
	border: 1px solid transparent;
	border-radius: 999px;
	background: #fff;
	color: var(--ix-primary-ink);
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

body.ix-inner-page #content .ix-btn .elementor-button:hover {
	background: var(--ix-dark);
	color: #fff;
}

body.ix-inner-page #content .ix-btn .elementor-button-content-wrapper {
	display: inline-flex;
	align-items: center;
}

body.page-id-27.ix-inner-page #content .elementor-27 > .e-parent:last-child .e-con-full,
body.page-id-28.ix-inner-page #content .elementor-28 > .e-parent:last-child .e-con-full {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
	width: auto;
}

body.page-id-27.ix-inner-page #content .elementor-27 > .e-parent:last-child .ix-btn:nth-child(2) .elementor-button,
body.page-id-28.ix-inner-page #content .elementor-28 > .e-parent:last-child .ix-btn:nth-child(2) .elementor-button {
	border-color: rgba(255, 255, 255, 0.55);
	background: transparent;
	color: #fff;
}

body.page-id-27.ix-inner-page #content .elementor-27 > .e-parent:last-child .ix-btn:nth-child(2) .elementor-button:hover,
body.page-id-28.ix-inner-page #content .elementor-28 > .e-parent:last-child .ix-btn:nth-child(2) .elementor-button:hover {
	border-color: #fff;
	background: #fff;
	color: var(--ix-primary-ink);
}

/* --------------------------------------------------------------------------
   10. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
	body.ix-inner-page #content .elementor .e-parent:not(.ix-hero-light) {
		padding-block: 56px;
	}

	body.ix-inner-page #content .ix-hero-light {
		padding: 52px 0 48px;
	}

	body.page-id-29.ix-inner-page #content [data-id="6259281"] {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}

	body.page-id-28.ix-inner-page #content [data-id="c2c3fcb"],
	body.page-id-27.ix-inner-page #content [data-id="7b5809c"] {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px;
	}

	body.page-id-28.ix-inner-page #content .ix-brands {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px;
	}

	body.page-id-27.ix-inner-page #content .elementor-27 > .e-parent:last-child,
	body.page-id-28.ix-inner-page #content .elementor-28 > .e-parent:last-child {
		margin-bottom: 70px;
		padding: 52px 24px;
		border-radius: 20px;
	}
}

@media (max-width: 768px) {
	body.ix-inner-page #content .elementor .e-parent:not(.ix-hero-light) {
		padding-block: 44px;
	}

	body.ix-inner-page #content .ix-hero-light {
		padding: 42px 0 38px;
	}

	body.ix-inner-page #content .ix-hero-light > .e-con-inner {
		gap: 14px;
	}

	body.ix-inner-page #content .ix-hero-light h1.elementor-heading-title {
		font-size: 30px;
		line-height: 1.15;
	}

	body.ix-inner-page #content .ix-hero-light .elementor-widget-text-editor p {
		font-size: 16px;
	}

	body.ix-inner-page #content .ix-card {
		padding: 24px;
	}

	body.page-id-29.ix-inner-page #content [data-id="07ca603"] {
		padding: 2px 0;
	}

	body.page-id-29.ix-inner-page #content [data-id="07ca603"] > .elementor-widget-icon-box {
		padding: 20px 22px;
	}

	body.page-id-29.ix-inner-page #content [data-id="d3d0e45"] {
		padding: 24px;
	}

	body.page-id-28.ix-inner-page #content [data-id="daa8cd2"] {
		margin-bottom: 28px;
	}

	body.page-id-28.ix-inner-page #content .ix-brands img,
	body.page-id-28.ix-inner-page #content .ix-brands span {
		height: 88px;
		padding: 16px;
	}

	body.page-id-27.ix-inner-page #content .elementor-27 > .e-parent:last-child,
	body.page-id-28.ix-inner-page #content .elementor-28 > .e-parent:last-child {
		max-width: calc(100% - 30px);
		margin-bottom: 56px;
		padding: 42px 22px;
	}
}

@media (max-width: 600px) {
	body.page-id-28.ix-inner-page #content [data-id="c2c3fcb"],
	body.page-id-27.ix-inner-page #content [data-id="7b5809c"] {
		grid-template-columns: minmax(0, 1fr);
	}

	body.ix-inner-page #content .ix-hero-light h1.elementor-heading-title {
		font-size: 27px;
	}

	body.page-id-27.ix-inner-page #content .elementor-27 > .e-parent:last-child .e-con-full,
	body.page-id-28.ix-inner-page #content .elementor-28 > .e-parent:last-child .e-con-full {
		flex-direction: column;
		align-items: stretch;
		width: 100%;
		max-width: 320px;
	}

	body.ix-inner-page #content .ix-btn .elementor-button {
		width: 100%;
	}
}
