/* ================================================================
   SB Webmarketing — Custom Styles
   Complements theme.json design tokens
   ================================================================ */

/* ---------------------------------------------------------------
   CSS Custom Properties (extended)
   --------------------------------------------------------------- */
:root {
	--sb-header-height: 80px;
	--sb-header-height-scrolled: 64px;
	--sb-radius-sm: 8px;
	--sb-radius-md: 12px;
	--sb-radius-lg: 16px;
	--sb-radius-xl: 24px;
	--sb-radius-pill: 980px;
	--sb-shadow-sm: 0 1px 3px rgba(10, 37, 64, 0.04);
	--sb-shadow-md: 0 4px 16px rgba(10, 37, 64, 0.06);
	--sb-shadow-lg: 0 12px 40px rgba(10, 37, 64, 0.08);
	--sb-shadow-xl: 0 20px 60px rgba(10, 37, 64, 0.12);
	--sb-shadow-glow: 0 0 40px rgba(51, 91, 255, 0.15);
	--sb-transition: 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
	--sb-transition-slow: 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* ---------------------------------------------------------------
   Global Reset & Base
   --------------------------------------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body {
	overflow-x: hidden;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

/* ---------------------------------------------------------------
   Layout Utilities
   --------------------------------------------------------------- */
.sb-container {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}

.sb-section {
	padding-top: 5rem;
	padding-bottom: 5rem;
}

.sb-section--lg {
	padding-top: 8rem;
	padding-bottom: 8rem;
}

.sb-section--alt {
	background-color: var(--wp--preset--color--background-alt);
}

.sb-section--dark {
	background-color: var(--wp--preset--color--dark);
	color: var(--wp--preset--color--white);
}

.sb-section--dark.sb-section--gradient {
	background: radial-gradient(ellipse 60% 50% at 50% -10%, rgba(51, 91, 255, 0.2), transparent),
	            var(--wp--preset--color--dark);
}

.sb-section--dark .sb-text-secondary {
	color: rgba(255, 255, 255, 0.7);
}

.sb-section--dark h1,
.sb-section--dark h2,
.sb-section--dark h3,
.sb-hero--dark h1,
.sb-hero--dark h2,
.sb-hero--dark h3 {
	color: var(--wp--preset--color--white);
}

.sb-text-center {
	text-align: center;
}

.sb-mx-auto {
	margin-left: auto;
	margin-right: auto;
}

/* ---------------------------------------------------------------
   Typography Utilities
   --------------------------------------------------------------- */
.sb-label {
	font-size: var(--wp--preset--font-size--small);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--wp--preset--color--accent);
}

.sb-text-secondary {
	color: var(--wp--preset--color--text-secondary);
}

.sb-text-balance {
	text-wrap: balance;
}

.sb-subtitle {
	font-size: var(--wp--preset--font-size--large);
	color: var(--wp--preset--color--text-secondary);
	line-height: 1.6;
	max-width: 640px;
}

/* ---------------------------------------------------------------
   Header
   --------------------------------------------------------------- */
.sb-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	height: var(--sb-header-height);
	display: flex;
	align-items: center;
	transition: background-color 0.3s ease,
	            box-shadow 0.3s ease,
	            height 0.3s ease;
}

.sb-header--transparent {
	background-color: transparent;
}

/* Solid mode — default for pages without dark hero */
.sb-header--solid {
	background-color: rgba(255, 255, 255, 0.95);
	backdrop-filter: saturate(180%) blur(20px);
	-webkit-backdrop-filter: saturate(180%) blur(20px);
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.sb-header--solid .sb-header__nav a {
	color: var(--wp--preset--color--text-primary);
}

.sb-header--solid .sb-logo--light {
	display: none;
}

.sb-header--solid .sb-logo--dark {
	display: block;
}

.sb-header--solid .sb-hamburger {
	background: transparent;
}

.sb-header--solid .sb-hamburger__line {
	background-color: var(--wp--preset--color--text-primary);
	filter: none;
}

.sb-header--scrolled {
	background-color: rgba(255, 255, 255, 0.85);
	backdrop-filter: saturate(180%) blur(20px);
	-webkit-backdrop-filter: saturate(180%) blur(20px);
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
	height: var(--sb-header-height-scrolled);
}

.sb-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1.5rem;
}

.sb-header__logo {
	flex-shrink: 0;
}

.sb-header__logo img {
	height: 36px;
	width: auto;
	transition: opacity 0.3s ease;
}

/* Site Logo (wp:site-logo block) */
.sb-header__logo .wp-block-site-logo {
	line-height: 0;
}

.sb-header__logo .wp-block-site-logo img {
	height: 36px;
	width: auto;
	object-fit: contain;
}

/* Text fallback: hidden when logo image is present */
.sb-header__logo .sb-logo--text {
	display: none;
}

/* If no site-logo block exists, show text fallback */
.sb-header__logo:not(:has(.wp-block-site-logo)) .sb-logo--text {
	display: block;
}

/* Light/dark mode switching */
.sb-header__logo .sb-logo--light {
	display: block;
}

.sb-header__logo .sb-logo--dark {
	display: none;
}

.sb-header--scrolled .sb-logo--light {
	display: none;
}

.sb-header--scrolled .sb-logo--dark {
	display: block;
}

/* Nav */
.sb-header__nav {
	display: flex;
	align-items: center;
	gap: 2rem;
}

.sb-header__nav a {
	font-size: var(--wp--preset--font-size--medium);
	font-weight: 500;
	text-decoration: none;
	color: var(--wp--preset--color--white);
	transition: color 0.2s ease;
	position: relative;
}

.sb-header--scrolled .sb-header__nav a {
	color: var(--wp--preset--color--text-primary);
}

.sb-header__nav a:hover {
	color: var(--wp--preset--color--accent);
}

.sb-header__nav a::after {
	content: '';
	position: absolute;
	bottom: -4px;
	left: 0;
	width: 0;
	height: 2px;
	background-color: var(--wp--preset--color--accent);
	transition: width 0.2s ease;
}

.sb-header__nav a:hover::after {
	width: 100%;
}

/* CTA Header */
.sb-header__cta .sb-btn {
	font-size: var(--wp--preset--font-size--small);
	padding: 0.6rem 1.5rem;
}

/* Hamburger */
.sb-hamburger {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
	position: relative;
	z-index: 1001;
	border-radius: var(--sb-radius-sm);
	transition: background-color 0.3s ease;
}

/* Subtle background for better visibility on hero photo */
.sb-header--transparent .sb-hamburger {
	background: rgba(0, 0, 0, 0.2);
}

.sb-hamburger__line {
	width: 24px;
	height: 2.5px;
	border-radius: 2px;
	background-color: var(--wp--preset--color--white);
	transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
}

/* Drop shadow for extra contrast on transparent header */
.sb-header--transparent .sb-hamburger__line {
	filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
}

.sb-header--scrolled .sb-hamburger__line {
	background-color: var(--wp--preset--color--text-primary);
	filter: none;
}

.sb-hamburger--active .sb-hamburger__line,
.sb-header--scrolled .sb-hamburger--active .sb-hamburger__line {
	background-color: var(--wp--preset--color--white);
}

/* Pages internes : croix foncée sur header clair SAUF quand menu mobile ouvert */
.sb-inner-page .sb-hamburger--active .sb-hamburger__line {
	background-color: var(--wp--preset--color--white);
}

.sb-hamburger--active .sb-hamburger__line:nth-child(1) {
	transform: rotate(45deg) translate(5px, 5px);
}

.sb-hamburger--active .sb-hamburger__line:nth-child(2) {
	opacity: 0;
}

.sb-hamburger--active .sb-hamburger__line:nth-child(3) {
	transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------------------------------------------------------------
   Mega Menu
   --------------------------------------------------------------- */
.sb-mega-menu {
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	width: 100%;
	max-width: 1200px;
	background: var(--wp--preset--color--white);
	border-radius: 0 0 var(--sb-radius-md) var(--sb-radius-md);
	box-shadow: var(--sb-shadow-lg);
	border-top: 2px solid var(--wp--preset--color--accent);
	padding: 2rem;
	opacity: 0;
	visibility: hidden;
	transform: translateX(-50%) translateY(-10px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
	z-index: 999;
}

.sb-mega-menu--open {
	opacity: 1;
	visibility: visible;
	transform: translateX(-50%) translateY(0);
}

.sb-mega-menu__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2rem;
}

.sb-mega-menu__column h4 {
	font-size: var(--wp--preset--font-size--medium);
	font-weight: 600;
	margin-bottom: 1rem;
	color: var(--wp--preset--color--text-primary);
}

.sb-mega-menu__item {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	padding: 0.5rem 0;
	text-decoration: none;
	color: var(--wp--preset--color--text-secondary);
	transition: color 0.2s ease;
}

.sb-mega-menu__item:hover {
	color: var(--wp--preset--color--accent);
}

.sb-mega-menu__item-icon {
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	color: var(--wp--preset--color--accent);
}

.sb-mega-menu__item-text {
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.4;
}

.sb-mega-menu__item-title {
	font-weight: 500;
	color: var(--wp--preset--color--text-primary);
	display: block;
}

.sb-mega-menu__footer {
	margin-top: 1.5rem;
	padding-top: 1rem;
	border-top: 1px solid var(--wp--preset--color--border);
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--text-secondary);
}

.sb-mega-menu__footer img {
	height: 24px;
	width: auto;
}

/* ---------------------------------------------------------------
   Mobile Menu Overlay
   --------------------------------------------------------------- */
.sb-mobile-menu {
	position: fixed;
	inset: 0;
	background-color: var(--wp--preset--color--dark);
	z-index: 999;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	padding-top: calc(var(--sb-header-height, 80px) + 2rem);
	gap: 1.5rem;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
	overflow-y: auto;
}

.sb-mobile-menu--open {
	opacity: 1;
	visibility: visible;
}

/*
 * backdrop-filter on .sb-header--scrolled creates a new containing block,
 * which breaks position:fixed on the mobile menu (it becomes relative to the
 * 64px header instead of the viewport). Disable it when the menu is open.
 */
.sb-header:has(.sb-mobile-menu--open) {
	backdrop-filter: none !important;
	-webkit-backdrop-filter: none !important;
}

.sb-mobile-menu a {
	font-size: var(--wp--preset--font-size--xx-large);
	font-weight: 600;
	color: var(--wp--preset--color--white);
	text-decoration: none;
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.4s ease, transform 0.4s ease, color 0.2s ease;
}

.sb-mobile-menu--open a {
	opacity: 1;
	transform: translateY(0);
}

/* Stagger mobile links (direct children: a + .sb-mobile-menu__dropdown) */
.sb-mobile-menu > :nth-child(1) { transition-delay: 0.05s; }
.sb-mobile-menu > :nth-child(2) { transition-delay: 0.1s; }
.sb-mobile-menu > :nth-child(3) { transition-delay: 0.15s; }
.sb-mobile-menu > :nth-child(4) { transition-delay: 0.2s; }
.sb-mobile-menu > :nth-child(5) { transition-delay: 0.25s; }
.sb-mobile-menu > :nth-child(6) { transition-delay: 0.3s; }
.sb-mobile-menu > :nth-child(7) { transition-delay: 0.35s; }
.sb-mobile-menu > :nth-child(8) { transition-delay: 0.4s; }

.sb-mobile-menu a:hover {
	color: var(--wp--preset--color--accent);
}

/* ---- Mobile menu dropdown (Services) ---- */
.sb-mobile-menu__dropdown {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.4s ease, transform 0.4s ease;
}
.sb-mobile-menu--open .sb-mobile-menu__dropdown {
	opacity: 1;
	transform: translateY(0);
}

.sb-mobile-menu__toggle {
	background: none;
	border: none;
	font-family: inherit;
	font-size: var(--wp--preset--font-size--xx-large);
	font-weight: 600;
	color: var(--wp--preset--color--white);
	cursor: pointer;
	display: flex;
	align-items: center;
	padding: 0;
	transition: color 0.2s ease;
}
.sb-mobile-menu__toggle:hover {
	color: var(--wp--preset--color--accent);
}
.sb-mobile-menu__toggle[aria-expanded="true"] svg {
	transform: rotate(180deg);
}

.sb-mobile-menu__sub {
	display: none;
	flex-direction: column;
	gap: 0.75rem;
	padding: 0.75rem 0 0 1.25rem;
}
.sb-mobile-menu__sub--open {
	display: flex;
}
.sb-mobile-menu__sub a {
	font-size: 1.1rem !important;
	font-weight: 500;
	color: rgba(255,255,255,0.7) !important;
	opacity: 1 !important;
	transform: none !important;
	transition: color 0.2s ease !important;
}
.sb-mobile-menu__sub a:hover {
	color: var(--wp--preset--color--accent) !important;
}

/* ---------------------------------------------------------------
   Buttons
   --------------------------------------------------------------- */
.sb-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	font-family: var(--wp--preset--font-family--primary);
	font-size: var(--wp--preset--font-size--medium);
	font-weight: 500;
	text-decoration: none;
	padding: 0.85rem 2rem;
	border-radius: var(--sb-radius-pill);
	border: none;
	cursor: pointer;
	line-height: 1;
}

.sb-btn--primary {
	background: linear-gradient(135deg, #335BFF 0%, #5B7FFF 100%);
	color: var(--wp--preset--color--white);
	box-shadow: 0 4px 14px rgba(51, 91, 255, 0.3),
	            0 0 0 0 rgba(51, 91, 255, 0);
	transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.sb-btn--primary:hover {
	background: linear-gradient(135deg, #2A4FE6 0%, #335BFF 100%);
	color: var(--wp--preset--color--white);
	box-shadow: 0 8px 25px rgba(51, 91, 255, 0.4),
	            0 0 0 3px rgba(51, 91, 255, 0.1);
	transform: translateY(-2px);
}

.sb-btn--ghost {
	background: rgba(255, 255, 255, 0.06);
	color: var(--wp--preset--color--white);
	border: 1.5px solid rgba(255, 255, 255, 0.25);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.sb-btn--ghost:hover {
	background: rgba(255, 255, 255, 0.12);
	border-color: rgba(255, 255, 255, 0.5);
	color: var(--wp--preset--color--white);
}

.sb-btn--ghost-dark {
	background-color: transparent;
	color: var(--wp--preset--color--text-primary);
	border: 1.5px solid var(--wp--preset--color--border);
}

.sb-btn--ghost-dark:hover {
	border-color: var(--wp--preset--color--text-primary);
}

.sb-btn--sm {
	font-size: var(--wp--preset--font-size--small);
	padding: 0.6rem 1.25rem;
}

.sb-btn--lg {
	font-size: var(--wp--preset--font-size--large);
	padding: 1rem 2.5rem;
}

.sb-btn__arrow {
	transition: transform 0.2s ease;
}

.sb-btn:hover .sb-btn__arrow {
	transform: translateX(3px);
}

/* ---------------------------------------------------------------
   Cards
   --------------------------------------------------------------- */
.sb-card {
	position: relative;
	background: var(--wp--preset--color--white);
	border-radius: var(--sb-radius-lg);
	padding: 2.5rem;
	border: 1px solid var(--wp--preset--color--border);
	overflow: hidden;
}

/* Top gradient accent line */
.sb-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, #335BFF, #7EB4FF, transparent);
	opacity: 0;
	transition: opacity 0.4s ease;
}

.sb-card:hover::before {
	opacity: 1;
}

.sb-card:hover {
	border-color: rgba(51, 91, 255, 0.15);
}

.sb-card--no-border {
	border: none;
	box-shadow: var(--sb-shadow-sm);
}

.sb-card__icon {
	width: 56px;
	height: 56px;
	margin-bottom: 1.5rem;
	color: var(--wp--preset--color--accent);
	background: linear-gradient(135deg, rgba(51, 91, 255, 0.08), rgba(51, 91, 255, 0.02));
	border: 1px solid rgba(51, 91, 255, 0.08);
	border-radius: var(--sb-radius-md);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 12px;
}

.sb-card__title {
	font-size: var(--wp--preset--font-size--x-large);
	font-weight: 600;
	margin-bottom: 0.75rem;
	color: var(--wp--preset--color--text-primary);
}

.sb-card__desc {
	font-size: var(--wp--preset--font-size--medium);
	color: var(--wp--preset--color--text-secondary);
	line-height: 1.6;
	margin-bottom: 1.25rem;
}

.sb-card__link {
	font-size: var(--wp--preset--font-size--medium);
	font-weight: 500;
	color: var(--wp--preset--color--accent);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
}

.sb-card__link:hover {
	color: var(--wp--preset--color--accent-hover);
}

/* ---------------------------------------------------------------
   Grids
   --------------------------------------------------------------- */
.sb-grid-2 {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
}

.sb-grid-3 {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
}

.sb-grid-4 {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
}

@media (min-width: 768px) {
	.sb-grid-2 { grid-template-columns: repeat(2, 1fr); }
	.sb-grid-3 { grid-template-columns: repeat(2, 1fr); }
	.sb-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
	.sb-grid-3 { grid-template-columns: repeat(3, 1fr); }
	.sb-grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ---------------------------------------------------------------
   Hero
   --------------------------------------------------------------- */
.sb-hero {
	min-height: 90vh;
	display: flex;
	align-items: center;
	position: relative;
	overflow: hidden;
	padding-top: calc(var(--sb-header-height) + 3rem);
	padding-bottom: 5rem;
}

.sb-hero--dark {
	background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(51, 91, 255, 0.15), transparent),
	            var(--wp--preset--color--dark);
	color: var(--wp--preset--color--white);
}

.sb-hero__content {
	position: relative;
	z-index: 2;
	max-width: 800px;
}

.sb-hero--centered .sb-hero__content {
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.sb-hero__title {
	font-size: var(--wp--preset--font-size--hero);
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -0.03em;
	margin-bottom: 1.5rem;
}

.sb-hero__subtitle {
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.6;
	margin-bottom: 2.5rem;
	opacity: 0.7;
	max-width: 640px;
}

.sb-hero--centered .sb-hero__subtitle {
	margin-left: auto;
	margin-right: auto;
}

.sb-hero--centered .sb-hero__actions {
	justify-content: center;
}

.sb-hero__actions {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
}

/* Topo texture background */
.sb-hero__bg-topo {
	position: absolute;
	inset: 0;
	opacity: 0.06;
	pointer-events: none;
	z-index: 1;
}

/* ---------------------------------------------------------------
   Trust Bar
   --------------------------------------------------------------- */
.sb-trust-bar {
	padding: 1.75rem 0;
	border-bottom: 1px solid var(--wp--preset--color--border);
	background-color: var(--wp--preset--color--surface);
}

.sb-trust-bar__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 2.5rem;
	flex-wrap: wrap;
}

.sb-trust-bar__item {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--text-secondary);
	white-space: nowrap;
}

.sb-trust-bar__item img {
	height: 24px;
	width: auto;
	filter: grayscale(100%);
}

.sb-trust-bar__item strong {
	color: var(--wp--preset--color--text-primary);
	font-weight: 600;
}

/* ---------------------------------------------------------------
   FAQ Accordion
   --------------------------------------------------------------- */
.sb-faq details {
	border-bottom: 1px solid var(--wp--preset--color--border);
}

.sb-faq summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.5rem 0;
	font-size: var(--wp--preset--font-size--large);
	font-weight: 500;
	color: var(--wp--preset--color--text-primary);
	cursor: pointer;
	list-style: none;
}

/* Override for service page FAQ cards (with background) */
.sb-faq-section .sb-faq summary {
	padding: 1.25rem 2rem;
	font-size: 1.05rem;
	font-weight: 600;
}

.sb-faq summary::-webkit-details-marker {
	display: none;
}

.sb-faq summary::after {
	content: '+';
	font-size: 1.5rem;
	font-weight: 300;
	color: var(--wp--preset--color--text-secondary);
	transition: transform 0.3s ease;
	flex-shrink: 0;
	margin-left: 1rem;
}

.sb-faq details[open] summary::after {
	transform: rotate(45deg);
}

.sb-faq details > div {
	padding-bottom: 1.5rem;
	color: var(--wp--preset--color--text-secondary);
	line-height: 1.7;
}

/* Override for service page FAQ cards */
.sb-faq-section .sb-faq details > div {
	padding: 0 2rem 1.25rem;
}

@media (max-width: 768px) {
	.sb-faq-section .sb-faq summary {
		padding: 1rem 1.25rem;
		font-size: 0.95rem;
	}
	.sb-faq-section .sb-faq details > div {
		padding: 0 1.25rem 1rem;
	}
}

/* ---------------------------------------------------------------
   Testimonial
   --------------------------------------------------------------- */
.sb-testimonial {
	max-width: 800px;
	margin: 0 auto;
	text-align: center;
}

.sb-testimonial__quote {
	font-size: clamp(1.25rem, 2.5vw, 2rem);
	font-weight: 400;
	line-height: 1.5;
	color: var(--wp--preset--color--text-primary);
	margin-bottom: 2rem;
	font-style: italic;
}

.sb-testimonial__quote::before {
	content: '\201C';
	display: block;
	font-size: 5rem;
	line-height: 0.5;
	margin-bottom: 1.5rem;
	background: linear-gradient(135deg, var(--wp--preset--color--accent), #667eea);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	font-style: normal;
}

.sb-testimonial__author {
	font-size: var(--wp--preset--font-size--medium);
	font-weight: 600;
	color: var(--wp--preset--color--text-primary);
}

.sb-testimonial__role {
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--text-secondary);
}

/* ---------------------------------------------------------------
   Footer
   --------------------------------------------------------------- */
.sb-footer {
	background-color: var(--wp--preset--color--dark);
	color: rgba(255, 255, 255, 0.7);
	padding: 5rem 0 2rem;
	position: relative;
	overflow: hidden;
}

.sb-footer__grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: 3rem;
	margin-bottom: 3rem;
}

.sb-footer__brand p {
	max-width: 320px;
	line-height: 1.7;
	margin-top: 1rem;
}

.sb-footer__brand img {
	height: 32px;
	width: auto;
}

.sb-footer h4 {
	color: var(--wp--preset--color--white);
	font-size: var(--wp--preset--font-size--medium);
	font-weight: 600;
	margin-bottom: 1.25rem;
}

.sb-footer ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.sb-footer ul li {
	margin-bottom: 0.75rem;
}

.sb-footer a {
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
	transition: color 0.2s ease;
	font-size: var(--wp--preset--font-size--small);
}

.sb-footer a:hover {
	color: var(--wp--preset--color--white);
}

.sb-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-top: 2rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 1rem;
	font-size: var(--wp--preset--font-size--small);
}

.sb-footer__partners {
	display: flex;
	align-items: center;
	gap: 1.5rem;
}

.sb-footer__partners img {
	height: 20px;
	width: auto;
	opacity: 0.5;
}

/* Footer mountain skyline bg */
.sb-footer__skyline {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	opacity: 1;
	pointer-events: none;
	transform: translateY(-100%) translateY(2px);
}

/* ---------------------------------------------------------------
   Contact Form
   --------------------------------------------------------------- */
.sb-form__group {
	margin-bottom: 1.5rem;
}

.sb-form__label {
	display: block;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 500;
	color: var(--wp--preset--color--text-primary);
	margin-bottom: 0.5rem;
}

.sb-form__input,
.sb-form__select,
.sb-form__textarea {
	width: 100%;
	padding: 0.85rem 1rem;
	font-family: var(--wp--preset--font-family--primary);
	font-size: var(--wp--preset--font-size--medium);
	color: var(--wp--preset--color--text-primary);
	background-color: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--sb-radius-sm);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sb-form__input:focus,
.sb-form__select:focus,
.sb-form__textarea:focus {
	outline: none;
	border-color: var(--wp--preset--color--accent);
	box-shadow: 0 0 0 3px rgba(51, 91, 255, 0.1);
}

.sb-form__select {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='rgba(10,37,64,0.4)' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 1rem center;
	padding-right: 2.5rem;
	cursor: pointer;
}

.sb-form__select option {
	background: #fff;
	color: var(--wp--preset--color--text-primary, #0A2540);
}

.sb-form__textarea {
	min-height: 150px;
	resize: vertical;
}

.sb-form__message {
	padding: 1rem;
	border-radius: var(--sb-radius-sm);
	margin-top: 1rem;
	font-size: var(--wp--preset--font-size--small);
}

.sb-form__message--success {
	background-color: #e8f5e9;
	color: #2e7d32;
}

.sb-form__message--error {
	background-color: #fce4ec;
	color: #c62828;
}

/* ---------------------------------------------------------------
   Breadcrumbs
   --------------------------------------------------------------- */
.sb-breadcrumbs {
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--text-secondary);
	padding: 1rem 0;
}

.sb-breadcrumbs a {
	color: var(--wp--preset--color--text-secondary);
	text-decoration: none;
}

.sb-breadcrumbs a:hover {
	color: var(--wp--preset--color--accent);
}

.sb-breadcrumbs span {
	margin: 0 0.5rem;
	opacity: 0.5;
}

/* ---------------------------------------------------------------
   Case Study Card
   --------------------------------------------------------------- */
.sb-case-card {
	position: relative;
	border-radius: var(--sb-radius-lg);
	overflow: hidden;
	text-decoration: none;
	display: block;
	border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Noise texture overlay */
.sb-case-card::after {
	content: '';
	position: absolute;
	inset: 0;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
	pointer-events: none;
	z-index: 2;
	mix-blend-mode: overlay;
}

.sb-case-card__img {
	aspect-ratio: 4 / 3;
	object-fit: cover;
	width: 100%;
	transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.sb-case-card:hover .sb-case-card__img {
	transform: scale(1.05);
}

.sb-case-card__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		transparent 30%,
		rgba(10, 37, 64, 0.3) 55%,
		rgba(10, 37, 64, 0.85) 100%
	);
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 2rem;
	z-index: 1;
}

/* Glassmorphism tag */
.sb-case-card__tag {
	display: inline-block;
	background: rgba(51, 91, 255, 0.25);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	color: var(--wp--preset--color--white);
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	padding: 0.3rem 0.85rem;
	border-radius: var(--sb-radius-pill);
	border: 1px solid rgba(255, 255, 255, 0.15);
	margin-bottom: 0.75rem;
	width: fit-content;
}

.sb-case-card__title {
	color: var(--wp--preset--color--white);
	font-size: var(--wp--preset--font-size--x-large);
	font-weight: 600;
	line-height: 1.3;
}

.sb-case-card__client {
	color: rgba(255, 255, 255, 0.6);
	font-size: var(--wp--preset--font-size--small);
	margin-top: 0.35rem;
	letter-spacing: 0.02em;
}

/* Hover glow border */
.sb-case-card:hover {
	border-color: rgba(51, 91, 255, 0.3);
	box-shadow: 0 20px 60px rgba(51, 91, 255, 0.2),
	            0 0 0 1px rgba(51, 91, 255, 0.1);
}

/* ---------------------------------------------------------------
   Timeline / Steps
   --------------------------------------------------------------- */
.sb-timeline {
	position: relative;
	padding-left: 3rem;
}

.sb-timeline::before {
	content: '';
	position: absolute;
	left: 15px;
	top: 0;
	bottom: 0;
	width: 2px;
	background-color: var(--wp--preset--color--border);
}

.sb-timeline__step {
	position: relative;
	margin-bottom: 3rem;
}

.sb-timeline__step:last-child {
	margin-bottom: 0;
}

.sb-timeline__number {
	position: absolute;
	left: -3rem;
	top: 0;
	width: 30px;
	height: 30px;
	background-color: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--white);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	z-index: 1;
}

.sb-timeline__title {
	font-size: var(--wp--preset--font-size--x-large);
	font-weight: 600;
	margin-bottom: 0.5rem;
}

.sb-timeline__desc {
	color: var(--wp--preset--color--text-secondary);
	line-height: 1.6;
}

/* ---------------------------------------------------------------
   Blog Card
   --------------------------------------------------------------- */
.sb-blog-card {
	text-decoration: none;
	display: block;
}

.sb-blog-card__img {
	aspect-ratio: 16 / 10;
	object-fit: cover;
	width: 100%;
	border-radius: var(--sb-radius-md);
	margin-bottom: 1rem;
}

.sb-blog-card__cat {
	display: inline-block;
	font-size: 0.75rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--wp--preset--color--accent);
	margin-bottom: 0.5rem;
}

.sb-blog-card__title {
	font-size: var(--wp--preset--font-size--x-large);
	font-weight: 600;
	color: var(--wp--preset--color--text-primary);
	margin-bottom: 0.5rem;
	line-height: 1.3;
}

.sb-blog-card__meta {
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--text-secondary);
	display: flex;
	gap: 1rem;
}

/* ---------------------------------------------------------------
   Stats Section — Dark Premium
   --------------------------------------------------------------- */
.sb-stats {
	background: var(--wp--preset--color--dark);
	position: relative;
	overflow: hidden;
}

/* Dot grid decorative background */
.sb-stats::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image: radial-gradient(circle, rgba(51, 91, 255, 0.12) 1px, transparent 1px);
	background-size: 32px 32px;
	pointer-events: none;
}

.sb-stats__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2rem;
	text-align: center;
	position: relative;
	z-index: 1;
}

.sb-stats__item {
	position: relative;
	padding: 1.5rem 0;
}

/* Glowing vertical separator between stats */
.sb-stats__item:not(:last-child)::after {
	content: '';
	position: absolute;
	right: -1rem;
	top: 20%;
	height: 60%;
	width: 1px;
	background: linear-gradient(
		180deg,
		transparent,
		rgba(51, 91, 255, 0.4),
		transparent
	);
}

/* Gradient numbers */
.sb-stats .sb-counter {
	background: linear-gradient(135deg, #7EB4FF, #FFFFFF);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	font-size: clamp(2rem, 3.5vw, 3.2rem);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.02em;
	white-space: nowrap;
}

.sb-stats .sb-counter__label {
	color: rgba(255, 255, 255, 0.5);
	font-size: var(--wp--preset--font-size--small);
	margin-top: 0.75rem;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

@media (max-width: 767px) {
	.sb-stats__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.sb-stats__item:nth-child(2)::after {
		display: none;
	}
}

/* ---------------------------------------------------------------
   Pourquoi Nous — Glass Feature Cards
   --------------------------------------------------------------- */
.sb-why-section {
	position: relative;
	background: linear-gradient(
		165deg,
		var(--wp--preset--color--background) 0%,
		#F0F2F8 50%,
		var(--wp--preset--color--background) 100%
	);
}

.sb-feature-card {
	background: rgba(255, 255, 255, 0.7);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border: 1px solid rgba(255, 255, 255, 0.8);
	border-radius: var(--sb-radius-lg);
	padding: 2.5rem;
	position: relative;
	transition: transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1),
	            box-shadow 0.4s ease,
	            border-color 0.4s ease;
	box-shadow: 0 4px 24px rgba(10, 37, 64, 0.04);
}

.sb-feature-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 40px rgba(51, 91, 255, 0.08),
	            0 4px 12px rgba(10, 37, 64, 0.04);
	border-color: rgba(51, 91, 255, 0.15);
}

.sb-feature-card__number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: linear-gradient(135deg, #335BFF, #5B7FFF);
	color: var(--wp--preset--color--white);
	font-size: 0.8rem;
	font-weight: 700;
	margin-bottom: 1.25rem;
	box-shadow: 0 4px 12px rgba(51, 91, 255, 0.25);
}

.sb-feature-card__title {
	font-size: var(--wp--preset--font-size--x-large);
	font-weight: 600;
	margin-bottom: 0.75rem;
	color: var(--wp--preset--color--text-primary);
}

.sb-feature-card__desc {
	color: var(--wp--preset--color--text-secondary);
	line-height: 1.7;
	margin: 0;
}

.sb-feature-card__icon {
	width: 64px;
	height: 64px;
	margin-bottom: 1.25rem;
	color: var(--wp--preset--color--accent);
	opacity: 0.6;
}

/* Timeline connector line (desktop only) */
.sb-why-timeline {
	position: relative;
}

@media (min-width: 768px) {
	.sb-why-timeline::before {
		content: '';
		position: absolute;
		left: 50%;
		top: 0;
		bottom: 0;
		width: 2px;
		background: linear-gradient(
			180deg,
			transparent,
			rgba(51, 91, 255, 0.15) 15%,
			rgba(51, 91, 255, 0.15) 85%,
			transparent
		);
		transform: translateX(-50%);
	}
}

/* ---------------------------------------------------------------
   Testimonial Premium — Glass Card
   --------------------------------------------------------------- */
.sb-testimonial-card {
	max-width: 800px;
	margin: 0 auto;
	background: rgba(255, 255, 255, 0.6);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, 0.8);
	border-radius: var(--sb-radius-xl);
	padding: 3.5rem;
	text-align: center;
	position: relative;
	box-shadow: 0 8px 32px rgba(10, 37, 64, 0.06);
}

/* Subtle glow around testimonial card */
.sb-testimonial-card::before {
	content: '';
	position: absolute;
	inset: -1px;
	border-radius: inherit;
	background: linear-gradient(135deg, rgba(51, 91, 255, 0.1), transparent, rgba(51, 91, 255, 0.05));
	z-index: -1;
	padding: 1px;
	mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	mask-composite: exclude;
	-webkit-mask-composite: xor;
}

/* Giant decorative quote marks */
.sb-testimonial-card__deco-quote {
	font-size: 8rem;
	line-height: 0.5;
	background: linear-gradient(135deg, #335BFF, #7EB4FF);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	opacity: 0.15;
	font-family: Georgia, serif;
	margin-bottom: 1.5rem;
	pointer-events: none;
	user-select: none;
}

/* Rating stars */
.sb-testimonial-card__stars {
	display: flex;
	justify-content: center;
	gap: 4px;
	margin-bottom: 1.5rem;
}

.sb-testimonial-card__stars svg {
	width: 20px;
	height: 20px;
	fill: #F5A623;
	filter: drop-shadow(0 1px 2px rgba(245, 166, 35, 0.3));
}

.sb-testimonial-card__quote {
	font-size: clamp(1.15rem, 2vw, 1.5rem);
	font-weight: 400;
	line-height: 1.6;
	color: var(--wp--preset--color--text-primary);
	margin-bottom: 2rem;
	font-style: italic;
}

/* Author row */
.sb-testimonial-card__author-row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
}

.sb-testimonial-card__avatar {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: linear-gradient(135deg, #335BFF, #7EB4FF);
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-weight: 600;
	font-size: 1.1rem;
	flex-shrink: 0;
	box-shadow: 0 4px 12px rgba(51, 91, 255, 0.2);
}

.sb-testimonial-card__author-info {
	text-align: left;
}

.sb-testimonial-card__author-name {
	font-size: var(--wp--preset--font-size--medium);
	font-weight: 600;
	color: var(--wp--preset--color--text-primary);
}

.sb-testimonial-card__author-role {
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--text-secondary);
}

/* ---------------------------------------------------------------
   Testimonial Carousel
   --------------------------------------------------------------- */
.sb-testimonial-carousel {
	position: relative;
	max-width: 860px;
	margin: 0 auto;
}

.sb-testimonial-carousel__viewport {
	overflow: hidden;
	border-radius: var(--sb-radius-xl);
}

.sb-testimonial-carousel__track {
	display: flex;
	width: 300%;
	transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	will-change: transform;
}

.sb-testimonial-carousel__slide {
	width: calc(100% / 3);
	flex-shrink: 0;
}

.sb-testimonial-carousel__slide .sb-testimonial-card {
	max-width: 100%;
	box-sizing: border-box;
}

/* Arrows */
.sb-testimonial-carousel__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid rgba(10, 37, 64, 0.08);
	background: rgba(255, 255, 255, 0.85);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	box-shadow: 0 4px 16px rgba(10, 37, 64, 0.08);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--wp--preset--color--text-primary);
	transition: all 0.2s ease;
}

.sb-testimonial-carousel__arrow:hover {
	background: #fff;
	box-shadow: 0 6px 24px rgba(10, 37, 64, 0.12);
	border-color: rgba(51, 91, 255, 0.2);
	color: #335BFF;
}

.sb-testimonial-carousel__arrow--prev {
	left: -56px;
}

.sb-testimonial-carousel__arrow--next {
	right: -56px;
}

/* Dots */
.sb-testimonial-carousel__dots {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 2rem;
}

.sb-testimonial-carousel__dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	border: none;
	background: rgba(10, 37, 64, 0.12);
	cursor: pointer;
	padding: 0;
	transition: all 0.3s ease;
}

.sb-testimonial-carousel__dot--active {
	background: #335BFF;
	transform: scale(1.2);
	box-shadow: 0 2px 8px rgba(51, 91, 255, 0.3);
}

.sb-testimonial-carousel__dot:hover:not(.sb-testimonial-carousel__dot--active) {
	background: rgba(51, 91, 255, 0.3);
}

/* Responsive: arrows inside on smaller screens */
@media (max-width: 1024px) {
	.sb-testimonial-carousel__arrow--prev {
		left: 8px;
	}
	.sb-testimonial-carousel__arrow--next {
		right: 8px;
	}
	.sb-testimonial-carousel__arrow {
		width: 38px;
		height: 38px;
		background: rgba(255, 255, 255, 0.92);
	}
}

@media (max-width: 640px) {
	.sb-testimonial-carousel__slide .sb-testimonial-card {
		padding: 2rem 1.5rem;
	}
	.sb-testimonial-carousel__arrow {
		display: none;
	}
}

/* ---------------------------------------------------------------
   Blog Cards Enhanced
   --------------------------------------------------------------- */
.sb-blog-card {
	text-decoration: none;
	display: block;
	border-radius: var(--sb-radius-lg);
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--border);
	overflow: hidden;
	transition: transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1),
	            box-shadow 0.4s ease,
	            border-color 0.4s ease;
}

.sb-blog-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 16px 48px rgba(10, 37, 64, 0.1);
	border-color: rgba(51, 91, 255, 0.12);
}

.sb-blog-card__img-wrap {
	position: relative;
	overflow: hidden;
}

.sb-blog-card__img {
	aspect-ratio: 16 / 10;
	object-fit: cover;
	width: 100%;
	border-radius: 0;
	margin-bottom: 0;
	transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.sb-blog-card:hover .sb-blog-card__img {
	transform: scale(1.05);
}

/* Hover overlay gradient */
.sb-blog-card__img-wrap::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 50%, rgba(10, 37, 64, 0.6) 100%);
	opacity: 0;
	transition: opacity 0.4s ease;
}

.sb-blog-card:hover .sb-blog-card__img-wrap::after {
	opacity: 1;
}

.sb-blog-card__body {
	padding: 1.5rem;
}

/* Category pill badge */
.sb-blog-card__cat {
	display: inline-block;
	font-size: 0.7rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--wp--preset--color--accent);
	background: rgba(51, 91, 255, 0.06);
	border: 1px solid rgba(51, 91, 255, 0.1);
	padding: 0.2rem 0.65rem;
	border-radius: var(--sb-radius-pill);
	margin-bottom: 0.75rem;
}

.sb-blog-card__title {
	font-size: var(--wp--preset--font-size--large);
	font-weight: 600;
	color: var(--wp--preset--color--text-primary);
	margin-bottom: 0.75rem;
	line-height: 1.35;
}

.sb-blog-card__meta {
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--text-secondary);
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.sb-blog-card__meta-dot {
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: var(--wp--preset--color--text-secondary);
	opacity: 0.5;
}

/* ---------------------------------------------------------------
   CTA Final — Animated Mesh Premium
   --------------------------------------------------------------- */
.sb-cta-final {
	position: relative;
	background: var(--wp--preset--color--dark);
	overflow: hidden;
}

/* Animated mesh gradient background */
.sb-cta-final::before {
	content: '';
	position: absolute;
	inset: -50%;
	background: radial-gradient(ellipse at 20% 50%, rgba(51, 91, 255, 0.25), transparent 50%),
	            radial-gradient(ellipse at 80% 20%, rgba(91, 127, 255, 0.15), transparent 50%),
	            radial-gradient(ellipse at 50% 80%, rgba(51, 91, 255, 0.2), transparent 50%);
	background-size: 200% 200%;
	animation: sb-mesh-drift 20s ease-in-out infinite;
	pointer-events: none;
}

/* Subtle noise grain */
.sb-cta-final::after {
	content: '';
	position: absolute;
	inset: 0;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
	pointer-events: none;
	z-index: 1;
	mix-blend-mode: overlay;
}

.sb-cta-final__content {
	position: relative;
	z-index: 2;
}

/* Floating decorative elements */
.sb-cta-final__deco {
	position: absolute;
	border-radius: 50%;
	pointer-events: none;
	z-index: 0;
}

.sb-cta-final__deco--1 {
	width: 300px;
	height: 300px;
	background: radial-gradient(circle, rgba(51, 91, 255, 0.15), transparent 70%);
	top: -100px;
	right: -100px;
	animation: sb-float 8s ease-in-out infinite;
}

.sb-cta-final__deco--2 {
	width: 200px;
	height: 200px;
	background: radial-gradient(circle, rgba(91, 127, 255, 0.1), transparent 70%);
	bottom: -60px;
	left: -60px;
	animation: sb-float-slow 10s ease-in-out infinite;
}

/* Gradient border CTA button */
.sb-btn--gradient-border {
	position: relative;
	background: linear-gradient(135deg, #335BFF 0%, #5B7FFF 100%);
	color: white;
	border: none;
	padding: 1.1rem 2.75rem;
	border-radius: var(--sb-radius-pill);
	font-size: var(--wp--preset--font-size--large);
	font-weight: 600;
	box-shadow: 0 4px 20px rgba(51, 91, 255, 0.4),
	            0 0 60px rgba(51, 91, 255, 0.15);
	transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.sb-btn--gradient-border:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 30px rgba(51, 91, 255, 0.5),
	            0 0 80px rgba(51, 91, 255, 0.2);
	color: white;
}

/* ---------------------------------------------------------------
   Decorative — Global Noise Overlay (subtle)
   --------------------------------------------------------------- */
.sb-noise-overlay {
	position: relative;
}

.sb-noise-overlay::after {
	content: '';
	position: absolute;
	inset: 0;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.02'/%3E%3C/svg%3E");
	pointer-events: none;
	z-index: 0;
	mix-blend-mode: overlay;
}

/* ---------------------------------------------------------------
   Decorative — Gradient Orb (for sections)
   --------------------------------------------------------------- */
.sb-gradient-orb {
	position: absolute;
	border-radius: 50%;
	pointer-events: none;
	z-index: 0;
	filter: blur(60px);
}

/* ---------------------------------------------------------------
   Trust Bar — Premium Upgrade
   --------------------------------------------------------------- */
.sb-trust-bar {
	position: relative;
	background: linear-gradient(180deg, var(--wp--preset--color--surface) 0%, var(--wp--preset--color--background) 100%);
	border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.sb-trust-bar__inner {
	gap: 0;
}

.sb-trust-bar__item {
	position: relative;
	padding: 0.5rem 1.75rem;
	transition: transform 0.3s ease, color 0.3s ease;
	border-radius: var(--sb-radius-sm);
}

.sb-trust-bar__item:hover {
	transform: translateY(-1px);
	color: var(--wp--preset--color--text-primary);
}

/* Separator dots between items */
.sb-trust-bar__item:not(:last-child)::after {
	content: '';
	position: absolute;
	right: -1px;
	top: 50%;
	transform: translateY(-50%);
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: var(--wp--preset--color--border);
}

/* Icon circle accent background */
.sb-trust-bar__item svg {
	background: rgba(51, 91, 255, 0.06);
	border: 1px solid rgba(51, 91, 255, 0.1);
	border-radius: 50%;
	padding: 5px;
	width: 30px;
	height: 30px;
	color: var(--wp--preset--color--accent);
	stroke: var(--wp--preset--color--accent);
	transition: transform 0.3s ease, background 0.3s ease;
	flex-shrink: 0;
}

.sb-trust-bar__item:hover svg {
	transform: scale(1.1);
	background: rgba(51, 91, 255, 0.1);
}

/* Logo Track styles → see animations.css */

/* ---------------------------------------------------------------
   Service Cards — Filigrane Number
   --------------------------------------------------------------- */
.sb-card__watermark {
	position: absolute;
	top: 1rem;
	right: 1.5rem;
	font-size: 5rem;
	font-weight: 800;
	line-height: 1;
	background: linear-gradient(180deg, rgba(51, 91, 255, 0.06), transparent);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	pointer-events: none;
	user-select: none;
	letter-spacing: -0.04em;
	transition: opacity 0.4s ease;
}

.sb-card:hover .sb-card__watermark {
	opacity: 0.6;
}

/* ---------------------------------------------------------------
   Blog Cards — Premium Placeholder Gradient
   --------------------------------------------------------------- */
.sb-blog-card__img--placeholder {
	background: linear-gradient(135deg, #0A2540 0%, #1a3a5c 40%, #335BFF 100%) !important;
	position: relative;
}

.sb-blog-card__img--placeholder svg {
	stroke: rgba(255, 255, 255, 0.25) !important;
	width: 56px !important;
	height: 56px !important;
}

/* Noise overlay on blog placeholder */
.sb-blog-card__img--placeholder::after {
	content: '';
	position: absolute;
	inset: 0;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
	mix-blend-mode: overlay;
	pointer-events: none;
}

/* ---------------------------------------------------------------
   Footer — Premium Polish
   --------------------------------------------------------------- */
/* Subtle gradient orb decoration */
.sb-footer::before {
	content: '';
	position: absolute;
	width: 500px;
	height: 500px;
	background: radial-gradient(circle, rgba(51, 91, 255, 0.08), transparent 70%);
	top: -200px;
	right: -100px;
	border-radius: 50%;
	pointer-events: none;
	filter: blur(40px);
}

/* Link hover animation */
.sb-footer a {
	position: relative;
}

.sb-footer ul a::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 0;
	height: 1px;
	background: linear-gradient(90deg, #335BFF, #7EB4FF);
	transition: width 0.3s ease;
}

.sb-footer ul a:hover::after {
	width: 100%;
}

.sb-footer ul a:hover {
	color: var(--wp--preset--color--accent-light);
}

/* Column headings gradient accent */
.sb-footer h4 {
	position: relative;
	padding-bottom: 0.75rem;
}

.sb-footer h4::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 24px;
	height: 2px;
	background: linear-gradient(90deg, #335BFF, #7EB4FF);
	border-radius: 1px;
}

/* Social icons row */
.sb-footer__socials {
	display: flex;
	gap: 0.75rem;
	margin-top: 1.5rem;
}

.sb-footer__socials a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.1);
	color: rgba(255, 255, 255, 0.6);
	transition: all 0.3s ease;
}

.sb-footer__socials a:hover {
	background: rgba(51, 91, 255, 0.2);
	border-color: rgba(51, 91, 255, 0.4);
	color: white;
	transform: translateY(-2px);
}

.sb-footer__socials a::after {
	display: none;
}

.sb-footer__socials svg {
	width: 18px;
	height: 18px;
}

/* Footer bottom badge style for partner */
.sb-footer__partners span {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.35rem 1rem;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: var(--sb-radius-pill);
	font-size: 0.8rem;
	letter-spacing: 0.02em;
}

/* ---------------------------------------------------------------
   Section Transitions — Soft Gradient Fades
   --------------------------------------------------------------- */
/* Fade into alt sections */
.sb-section--alt {
	position: relative;
}

.sb-section--alt::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 80px;
	background: linear-gradient(180deg, var(--wp--preset--color--background), var(--wp--preset--color--background-alt));
	pointer-events: none;
}

/* Fade out of stats into next section */
.sb-stats::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 60px;
	background: linear-gradient(180deg, transparent, rgba(10, 37, 64, 0.95));
	pointer-events: none;
	z-index: 1;
}

/* ---------------------------------------------------------------
   Mountain Ridge Divider SVG
   --------------------------------------------------------------- */
.sb-ridge-divider {
	width: 100%;
	height: 40px;
	overflow: hidden;
	line-height: 0;
	color: var(--wp--preset--color--border);
}

/* ---------------------------------------------------------------
   Responsive
   --------------------------------------------------------------- */
@media (max-width: 1023px) {
	.sb-header__nav {
		display: none;
	}

	.sb-header__cta {
		display: none;
	}

	.sb-hamburger {
		display: flex;
	}

	.sb-mega-menu {
		display: none;
	}

	.sb-footer__grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 767px) {
	.sb-section {
		padding-top: 3rem;
		padding-bottom: 3rem;
	}

	.sb-section--lg {
		padding-top: 4rem;
		padding-bottom: 4rem;
	}

	.sb-hero {
		min-height: 80vh;
		padding-top: calc(var(--sb-header-height) + 2rem);
	}

	.sb-hero__actions {
		flex-direction: column;
	}

	.sb-footer__grid {
		grid-template-columns: 1fr;
	}

	.sb-footer__bottom {
		flex-direction: column;
		text-align: center;
	}

	.sb-trust-bar__inner {
		gap: 1.5rem;
	}
}

@media (min-width: 1024px) {
	.sb-timeline {
		display: grid;
		grid-template-columns: repeat(4, 1fr);
		gap: 2rem;
		padding-left: 0;
	}

	.sb-timeline::before {
		display: none;
	}

	.sb-timeline__step {
		margin-bottom: 0;
		padding-left: 0;
		text-align: center;
	}

	.sb-timeline__number {
		position: static;
		margin: 0 auto 1rem;
	}
}

/* ================================================================
   HERO HOME — PARALLAX MONTAGNE
   ================================================================ */

.sb-hero-home {
	position: relative;
	min-height: 100vh;
	min-height: 100dvh;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #0A2540;               /* fallback color while image loads */
	overflow: hidden;
}

/* Background photo — full cover */
.sb-hero-home__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 30%;       /* focus on peaks, not sky */
	z-index: 0;
}

/* Dark gradient overlay — text readability */
.sb-hero-home::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		rgba(10, 22, 40, 0.45) 0%,      /* top: semi-dark for header contrast */
		rgba(10, 37, 64, 0.30) 35%,      /* mid: reveal the mountain photo */
		rgba(10, 37, 64, 0.50) 70%,      /* lower: gentle darken, photo still visible */
		rgba(10, 37, 64, 0.75) 100%      /* bottom: blend into next section */
	);
	z-index: 1;
	pointer-events: none;
}

.sb-hero-home__mountains {
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
}

.sb-hero-home__svg {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 60%;
}

.sb-mountain-layer {
	will-change: transform;
	transition: none;
}

/* ---- Content ---- */

.sb-hero-home__content {
	position: relative;
	z-index: 3;
	text-align: center;
	max-width: 800px;
	padding: 0 24px;
	margin-top: -5vh;
}

.sb-hero-home__label {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	margin-bottom: 16px;
	/* Animated gradient text */
	background: linear-gradient(90deg, #335BFF, #7EB4FF, #335BFF);
	background-size: 200% auto;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	animation: sb-gradient-shift 4s ease-in-out infinite;
}

.sb-hero-home__title {
	color: #FFFFFF !important;
	font-size: clamp(2rem, 5vw, 3.5rem) !important;
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.1;
	margin: 0 0 16px 0;
}

.sb-hero-home__subtitle {
	color: rgba(255, 255, 255, 0.6);
	font-size: 16px;
	line-height: 1.6;
	margin: 0 0 32px 0;
}

.sb-hero-home__ctas {
	display: flex;
	gap: 12px;
	justify-content: center;
	flex-wrap: wrap;
}

/* CTA Primaire */
.sb-hero-home__cta-primary .wp-block-button__link {
	background: #335BFF !important;
	color: white !important;
	border-radius: 980px !important;
	padding: 14px 32px !important;
	font-size: 15px;
	font-weight: 500;
	border: none;
	box-shadow: 0 4px 14px rgba(51, 91, 255, 0.3);
	transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.sb-hero-home__cta-primary .wp-block-button__link:hover {
	background: #0A2540 !important;
	transform: translateY(-1px);
	box-shadow: 0 6px 20px rgba(10, 37, 64, 0.3);
}

/* CTA Secondaire (ghost) */
.sb-hero-home__cta-secondary .wp-block-button__link {
	background: transparent !important;
	color: white !important;
	border: 1px solid rgba(255, 255, 255, 0.3) !important;
	border-radius: 980px !important;
	padding: 14px 32px !important;
	font-size: 15px;
	font-weight: 500;
	transition: border-color 0.2s ease, background 0.2s ease;
}

.sb-hero-home__cta-secondary .wp-block-button__link:hover {
	border-color: rgba(255, 255, 255, 0.6) !important;
	background: rgba(255, 255, 255, 0.05) !important;
}

/* ---- Stars fade-in ---- */

.sb-hero-home__svg circle {
	opacity: 0;
	animation: sb-starFadeIn 1.5s ease forwards;
}

@keyframes sb-starFadeIn {
	to { opacity: var(--star-opacity, 0.25); }
}

.sb-hero-home__svg circle:nth-child(odd)  { animation-delay: 0.5s; }
.sb-hero-home__svg circle:nth-child(even) { animation-delay: 1s; }
.sb-hero-home__svg circle:nth-child(3n)   { animation-delay: 1.5s; }

/* ---- Responsive ---- */

@media (max-width: 768px) {
	.sb-hero-home {
		min-height: 90vh;
	}

	.sb-hero-home__svg {
		height: 40%;
	}

	.sb-hero-home__content {
		margin-top: -10vh;
	}

	/* Disable parallax on mobile — layers stay static */
	.sb-mountain-layer {
		transform: none !important;
	}
}

/* ---- Reduced motion ---- */

@media (prefers-reduced-motion: reduce) {
	.sb-mountain-layer {
		transform: none !important;
	}

	.sb-hero-home__svg circle {
		animation: none;
		opacity: var(--star-opacity, 0.25);
	}
}

/* ---------------------------------------------------------------
   About Page — Method, Values, Partners Cards
   --------------------------------------------------------------- */

/* Method Cards */
.sb-about-method-card {
	background: #fff;
	border: 1px solid rgba(10, 37, 64, 0.06);
	border-radius: 16px;
	padding: 2rem;
	text-align: center;
	transition: transform var(--sb-transition), box-shadow var(--sb-transition);
}

.sb-about-method-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 32px rgba(51, 91, 255, 0.1);
}

.sb-about-method-card__icon {
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background: linear-gradient(135deg, rgba(51, 91, 255, 0.08), rgba(51, 91, 255, 0.03));
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 1.25rem;
}

.sb-about-method-card h3 {
	font-size: 1rem;
	font-weight: 700;
	color: #0A2540;
	margin: 0 0 0.5rem;
}

.sb-about-method-card p {
	font-size: 0.88rem;
	color: #6b7b8d;
	line-height: 1.6;
	margin: 0;
}

/* Values Cards */
.sb-about-value-card {
	background: #fff;
	border: 1px solid rgba(10, 37, 64, 0.06);
	border-radius: 20px;
	padding: 2.5rem;
	text-align: center;
	box-shadow: 0 2px 12px rgba(10, 37, 64, 0.04);
	transition: transform var(--sb-transition), box-shadow var(--sb-transition);
}

.sb-about-value-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 32px rgba(51, 91, 255, 0.1);
}

.sb-about-value-card__icon {
	width: 60px;
	height: 60px;
	border-radius: 16px;
	background: linear-gradient(135deg, rgba(51, 91, 255, 0.1), rgba(51, 91, 255, 0.03));
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 1.25rem;
}

.sb-about-value-card h3 {
	font-size: 1.15rem;
	font-weight: 700;
	color: #0A2540;
	margin: 0 0 0.75rem;
}

.sb-about-value-card p {
	font-size: 0.92rem;
	color: #6b7b8d;
	line-height: 1.65;
	margin: 0;
}

/* Partner Cards */
.sb-about-partner-card {
	background: #fff;
	border: 1px solid rgba(10, 37, 64, 0.06);
	border-radius: 16px;
	padding: 2rem;
	text-align: center;
	transition: transform var(--sb-transition), box-shadow var(--sb-transition);
}

.sb-about-partner-card:hover {
	transform: translateY(-2px);
	box-shadow: var(--sb-shadow-md);
}

.sb-about-partner-card__logo {
	width: 80px;
	height: 40px;
	border-radius: 8px;
	background: rgba(51, 91, 255, 0.06);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 1rem;
	font-size: 0.75rem;
	color: #335BFF;
	font-weight: 600;
}

.sb-about-partner-card h3 {
	font-size: 0.95rem;
	font-weight: 700;
	color: #0A2540;
	margin: 0 0 0.4rem;
}

.sb-about-partner-card p {
	font-size: 0.82rem;
	color: #6b7b8d;
	margin: 0;
}

/* About grids responsive */
@media (max-width: 1023px) {
	.sb-about-method-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 600px) {
	.sb-about-method-grid { grid-template-columns: 1fr !important; }
	.sb-about-values-grid { grid-template-columns: 1fr !important; }
	.sb-about-partners-grid { grid-template-columns: 1fr !important; }
}

/* ---------------------------------------------------------------
   Legal Pages — Shared Typography
   --------------------------------------------------------------- */
.sb-legal-content h2 {
	font-size: 1.25rem;
	font-weight: 700;
	color: #0A2540;
	margin: 2.5rem 0 0.75rem;
}

.sb-legal-content h2:first-of-type {
	margin-top: 0;
}

.sb-legal-content p {
	font-size: 0.95rem;
	line-height: 1.75;
	color: #425466;
	margin-bottom: 1rem;
}

.sb-legal-content a {
	color: #335BFF;
	text-decoration: none;
}

.sb-legal-content a:hover {
	text-decoration: underline;
}

.sb-legal-content ul,
.sb-legal-content ol {
	padding-left: 1.5rem;
	margin-bottom: 1rem;
}

.sb-legal-content li {
	font-size: 0.95rem;
	line-height: 1.75;
	color: #425466;
	margin-bottom: 0.25rem;
}
