/* TMS CARGO EXPRESS — composants publics.
   Identité : marine du logo, bleu vif du logo, vert d'action, gris de fond. */

:root {
	--tms-navy: #0A2A63;
	--tms-navy-dark: #071E48;
	--tms-navy-soft: #123A80;
	--tms-blue: #1264D8;
	--tms-blue-600: #0E52B4;
	--tms-blue-100: #E8F1FE;
	--tms-green: #10A64A;
	--tms-green-700: #08763A;
	--tms-green-100: #E8F8EE;
	--tms-amber: #D97706;
	--tms-red: #DC2626;
	--tms-bg: #F4F7FB;
	--tms-surface: #FFFFFF;
	--tms-border: #E2E8F2;
	--tms-text: #1B2430;
	--tms-muted: #5A6B80;
	--tms-radius: 14px;
	--tms-radius-sm: 9px;
	--tms-shadow: 0 1px 2px rgba(10, 42, 99, .06), 0 12px 28px -18px rgba(10, 42, 99, .35);
	--tms-shadow-lg: 0 24px 60px -30px rgba(10, 42, 99, .5);
	--tms-wrap: 1180px;
	--tms-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

/* ---------------------------------------------------------------- base */
.tms-wrap {
	width: 100%;
	max-width: var(--tms-wrap);
	margin: 0 auto;
	padding: 0 20px;
}

.tms-eyebrow {
	display: inline-block;
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .11em;
	text-transform: uppercase;
	color: var(--tms-blue);
	margin-bottom: 10px;
}

.tms-section { padding: 68px 0; }
.tms-section-tete { max-width: 760px; margin: 0 0 40px; }
.tms-section-tete h2 { font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.3rem); line-height: 1.2; margin: 0 0 12px; color: var(--tms-green-700) !important; }
.tms-section-intro { color: var(--tms-muted); font-size: 1.05rem; margin: 0; }
.tms-section-lien { margin-top: 34px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden; clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

/* ---------------------------------------------------------------- boutons */
.tms-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: 48px;
	padding: 12px 24px;
	border: 2px solid transparent;
	border-radius: var(--tms-radius-sm);
	font: inherit;
	font-weight: 700;
	font-size: .98rem;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.tms-btn:hover { transform: translateY(-1px); }
.tms-btn:focus-visible { outline: 3px solid var(--tms-blue); outline-offset: 3px; }

.tms-btn--primary { background: var(--tms-green); color: #fff; }
.tms-btn--primary:hover { background: var(--tms-green-700); color: #fff; }

.tms-btn--secondary { background: var(--tms-navy); color: #fff; }
.tms-btn--secondary:hover { background: var(--tms-navy-dark); color: #fff; }

.tms-btn--ghost { background: transparent; color: var(--tms-navy); border-color: rgba(10, 42, 99, .28); }
.tms-btn--ghost:hover { background: var(--tms-blue-100); border-color: var(--tms-blue); color: var(--tms-navy); }

.tms-btn--whatsapp { background: #1FA855; color: #fff; }
.tms-btn--whatsapp:hover { background: #16833F; color: #fff; }

.tms-wa-icon {
	width: 19px; height: 19px; flex: none;
	background: currentColor;
	-webkit-mask: var(--tms-wa) center/contain no-repeat;
	mask: var(--tms-wa) center/contain no-repeat;
	--tms-wa: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12.04 2C6.58 2 2.13 6.45 2.13 11.91c0 1.75.46 3.45 1.32 4.95L2 22l5.25-1.38a9.9 9.9 0 0 0 4.79 1.22h.01c5.46 0 9.91-4.45 9.91-9.91 0-2.65-1.03-5.14-2.9-7.01A9.82 9.82 0 0 0 12.04 2Zm5.8 14.09c-.25.69-1.45 1.32-1.99 1.36-.53.05-1.03.24-3.47-.72-2.92-1.15-4.77-4.13-4.92-4.32-.14-.19-1.17-1.56-1.17-2.97 0-1.42.74-2.11 1-2.4.26-.29.57-.36.76-.36.19 0 .38 0 .55.01.18.01.41-.07.64.49.24.57.81 1.99.88 2.13.07.15.12.32.02.51-.09.19-.14.31-.28.48-.14.17-.3.37-.42.5-.14.14-.29.29-.12.57.16.29.73 1.2 1.56 1.94 1.08.96 1.98 1.26 2.27 1.4.28.14.45.12.61-.07.17-.19.71-.83.9-1.11.19-.29.38-.24.64-.14.26.09 1.66.78 1.94.93.29.14.48.21.55.33.07.12.07.69-.18 1.38Z'/%3E%3C/svg%3E");
}

/* ---------------------------------------------------------------- bandeau */
.tms-bandeau {
	position: sticky;
	top: 0;
	z-index: 140;
	background: var(--tms-navy-dark);
	color: #D6E4FA;
	font-size: .9rem;
	box-shadow: 0 10px 22px -20px rgba(0, 0, 0, .7);
}
.tms-bandeau-inner {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	align-items: center;
	justify-content: center;
	padding-top: 11px;
	padding-bottom: 11px;
}
.tms-bandeau p { margin: 0; }
.tms-bandeau strong { color: #fff; }
.tms-bandeau-contact {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	white-space: nowrap;
}
.tms-bandeau-contact--whatsapp {
	position: relative;
	gap: 8px;
	min-height: 34px;
	padding: 6px 13px 6px 38px;
	border-radius: 999px;
	background: rgba(31, 168, 85, .16);
	border: 1px solid rgba(135, 240, 174, .28);
	color: #fff;
	font-weight: 700;
	text-decoration: none;
}
.tms-bandeau-contact--whatsapp::before {
	content: "";
	position: absolute;
	left: 10px;
	top: 50%;
	width: 20px;
	height: 20px;
	transform: translateY(-50%);
	border-radius: 50%;
	background: #25D366 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='%23fff' d='M16 5.3A10.6 10.6 0 0 0 6.9 21.4L5.3 27l5.8-1.5A10.6 10.6 0 1 0 16 5.3Zm0 19.4c-1.9 0-3.7-.5-5.2-1.5l-.4-.2-3.4.9.9-3.3-.2-.4A8.7 8.7 0 1 1 16 24.7Zm4.8-6.5c-.3-.1-1.6-.8-1.9-.9s-.4-.1-.6.1-.7.9-.9 1.1-.3.2-.6.1a7.1 7.1 0 0 1-2.1-1.3 8 8 0 0 1-1.5-1.9c-.2-.3 0-.5.1-.6l.4-.5c.1-.2.2-.3.3-.5s0-.4 0-.5l-.8-1.8c-.2-.5-.4-.4-.6-.4h-.5c-.2 0-.5.1-.7.3s-1 1-1 2.4 1 2.7 1.1 2.9 2 3.1 4.9 4.3c.7.3 1.2.4 1.7.6.7.2 1.3.2 1.8.1.6-.1 1.6-.7 1.9-1.3s.3-1.2.2-1.3-.2-.2-.5-.3Z'/%3E%3C/svg%3E") center/16px 16px no-repeat;
}
.tms-bandeau-contact span { color: #D6E4FA; font-weight: 800; }
.tms-bandeau-contact--whatsapp:hover {
	background: rgba(31, 168, 85, .28);
	color: #fff;
	text-decoration: none;
}
.tms-bandeau-contact--whatsapp.is-disabled {
	opacity: .86;
	cursor: default;
}
.tms-bandeau a { color: #8FBAF7; font-weight: 700; text-decoration: none; white-space: nowrap; }
.tms-bandeau a:hover { color: #fff; text-decoration: none; }

/* ---------------------------------------------------------------- hero */
.tms-hero {
	background:
		linear-gradient(160deg, rgba(5, 38, 21, .94) 0%, rgba(7, 30, 72, .88) 58%, rgba(6, 24, 56, .92) 100%);
	color: #fff;
	padding: 64px 0 72px;
	overflow: hidden;
	position: relative;
	isolation: isolate;
	min-height: min(760px, calc(100vh - var(--tms-bandeau-hauteur, 0px) - 72px));
	display: flex;
	align-items: center;
}
.tms-hero-video-bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: -2;
	background: var(--tms-navy-dark);
}
.tms-hero-video-overlay {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(850px 460px at 22% 24%, rgba(16, 166, 74, .38), transparent 62%),
		linear-gradient(90deg, rgba(4, 22, 16, .92) 0%, rgba(6, 25, 35, .78) 48%, rgba(4, 17, 36, .72) 100%);
}
.tms-hero-inner {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
	gap: 52px;
	align-items: center;
}
.tms-hero .tms-hero-visuel > img { display: none; }
.tms-hero .tms-hero-suivi { margin-top: 0; }
.tms-hero .tms-eyebrow { color: #88F0AE; }
.tms-hero h1 {
	font-size: clamp(1.85rem, 1.1rem + 3vw, 3.05rem);
	line-height: 1.12;
	margin: 0 0 18px;
	color: #fff;
	letter-spacing: -.015em;
}
.tms-hero-sous {
	font-size: clamp(1rem, .95rem + .3vw, 1.16rem);
	line-height: 1.6;
	color: #D9F5E3;
	margin: 0 0 28px;
	max-width: 34em;
}
.tms-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.tms-hero .tms-btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .38); }
.tms-hero .tms-btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; color: #fff; }
.tms-hero .tms-btn--secondary { background: #fff; color: var(--tms-green-700); }
.tms-hero .tms-btn--secondary:hover { background: var(--tms-green-100); color: var(--tms-green-700); }

.tms-hero-points {
	list-style: none;
	margin: 30px 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 26px;
	font-size: .93rem;
	color: #CDEFD8;
}
.tms-hero-points li { position: relative; padding-left: 24px; }
.tms-hero-points li::before {
	content: "";
	position: absolute;
	left: 0; top: .35em;
	width: 15px; height: 9px;
	border-left: 2.5px solid var(--tms-green);
	border-bottom: 2.5px solid var(--tms-green);
	transform: rotate(-45deg);
}

.tms-hero-visuel { position: relative; }
.tms-hero-visuel img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 18px;
	box-shadow: var(--tms-shadow-lg);
}
.tms-hero-suivi {
	background: rgba(255, 255, 255, .97);
	border-radius: 16px;
	padding: 20px;
	box-shadow: var(--tms-shadow-lg);
	margin-top: -46px;
	position: relative;
	backdrop-filter: blur(4px);
}
.tms-hero-visuel:not(:has(img)) .tms-hero-suivi { margin-top: 0; }

/* ---------------------------------------------------------------- cartes */
.tms-cartes { display: grid; gap: 20px; }
.tms-cartes--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tms-cartes--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tms-cartes--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.tms-carte {
	background: var(--tms-surface);
	border: 1px solid var(--tms-border);
	border-radius: var(--tms-radius);
	padding: 24px;
	box-shadow: var(--tms-shadow);
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.tms-carte:hover { transform: translateY(-3px); border-color: #C9DCF7; box-shadow: 0 18px 40px -24px rgba(10, 42, 99, .5); }
.tms-carte h3 { font-size: 1.06rem; margin: 0 0 8px; color: var(--tms-green-700) !important; line-height: 1.3; }
.tms-carte p { margin: 0; color: var(--tms-muted); font-size: .95rem; line-height: 1.6; }
.tms-carte ul { margin: 10px 0 0; padding-left: 18px; color: var(--tms-muted); font-size: .92rem; line-height: 1.65; }

.tms-icone {
	display: block;
	width: 42px; height: 42px;
	margin-bottom: 14px;
	border-radius: 11px;
	background: var(--tms-green-100) var(--tms-ico) center/22px 22px no-repeat;
}
.tms-icone--bouclier { --tms-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A2A63' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2 4 5v6c0 5 3.4 9.4 8 11 4.6-1.6 8-6 8-11V5Z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); }
.tms-icone--etiquette { --tms-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A2A63' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.6 13.4 12 22l-9-9V3h10Z'/%3E%3Ccircle cx='7.5' cy='7.5' r='1.5'/%3E%3C/svg%3E"); }
.tms-icone--horloge { --tms-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A2A63' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3.5 2'/%3E%3C/svg%3E"); }
.tms-icone--radar { --tms-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A2A63' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M12 3v3M12 18v3M3 12h3M18 12h3'/%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3C/svg%3E"); }
.tms-icone--support { --tms-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A2A63' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 15v-3a8 8 0 0 1 16 0v3'/%3E%3Crect x='2' y='14' width='4' height='6' rx='1.5'/%3E%3Crect x='18' y='14' width='4' height='6' rx='1.5'/%3E%3C/svg%3E"); }
.tms-icone--entreprise { --tms-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A2A63' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='7' width='9' height='14' rx='1.5'/%3E%3Cpath d='M12 11h7a2 2 0 0 1 2 2v8M6 11h3M6 15h3M16 15h2'/%3E%3C/svg%3E"); }
.tms-icone--globe { --tms-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A2A63' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3a15 15 0 0 1 0 18 15 15 0 0 1 0-18Z'/%3E%3C/svg%3E"); }
.tms-icone--mains { --tms-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A2A63' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12l4-4 5 3 5-3 4 4-4 5H7Z'/%3E%3C/svg%3E"); }
.tms-icone--avion { --tms-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A2A63' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 13l20-7-7 20-3-8Z'/%3E%3C/svg%3E"); }
.tms-icone--navire { --tms-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A2A63' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 18c1.6 1.5 3.2 1.5 4.8 0s3.2-1.5 4.8 0 3.2 1.5 4.8 0 2.2-1 3.6 0'/%3E%3Cpath d='M4 14l1.5-5h13L20 14M12 4v5'/%3E%3C/svg%3E"); }
.tms-icone--colis { --tms-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A2A63' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8l9-5 9 5v8l-9 5-9-5Z'/%3E%3Cpath d='m3 8 9 5 9-5M12 13v8'/%3E%3C/svg%3E"); }
.tms-icone--boites { --tms-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A2A63' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='12' width='9' height='9' rx='1'/%3E%3Crect x='13' y='12' width='9' height='9' rx='1'/%3E%3Crect x='7.5' y='3' width='9' height='8' rx='1'/%3E%3C/svg%3E"); }
.tms-icone--camion { --tms-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A2A63' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 6h11v11H2zM13 10h4l4 4v3h-8z'/%3E%3Ccircle cx='7' cy='18' r='2'/%3E%3Ccircle cx='17.5' cy='18' r='2'/%3E%3C/svg%3E"); }
.tms-icone--document { --tms-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A2A63' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6v20h12V6Z'/%3E%3Cpath d='M14 2v4h4M9 13h6M9 17h6'/%3E%3C/svg%3E"); }
.tms-icone--entrepot { --tms-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A2A63' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21V9l9-5 9 5v12'/%3E%3Cpath d='M8 21v-6h8v6'/%3E%3C/svg%3E"); }
.tms-icone--loupe { --tms-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A2A63' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E"); }
.tms-icone--carton { --tms-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A2A63' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='7' width='18' height='13' rx='1.5'/%3E%3Cpath d='M3 7l2-4h14l2 4M10 12h4'/%3E%3C/svg%3E"); }

/* ---------------------------------------------------------------- process */
.tms-etapes {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 22px;
	counter-reset: tms;
}
.tms-etapes li {
	background: var(--tms-surface);
	border: 1px solid var(--tms-border);
	border-radius: var(--tms-radius);
	padding: 22px;
	position: relative;
}
.tms-etape-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px; height: 36px;
	border-radius: 50%;
	background: var(--tms-navy);
	color: #fff;
	font-weight: 800;
	font-size: .95rem;
	margin-bottom: 12px;
}
.tms-etapes h3 { font-size: 1rem; margin: 0 0 6px; color: var(--tms-green-700) !important; line-height: 1.35; }
.tms-etapes p { margin: 0; font-size: .92rem; color: var(--tms-muted); line-height: 1.6; }

/* ---------------------------------------------------------------- destinations */
.tms-carte--destination ul { list-style: none; padding: 0; margin-top: 12px; }
.tms-carte--destination li { padding-left: 18px; position: relative; margin-bottom: 6px; }
.tms-carte--destination li::before {
	content: ""; position: absolute; left: 0; top: .55em;
	width: 7px; height: 7px; border-radius: 50%; background: var(--tms-blue);
}
.tms-destination-role { font-size: .88rem !important; color: var(--tms-green-700) !important; font-weight: 600; }

/* ---------------------------------------------------------------- tarifs */
.tms-tarifs-grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tms-tarif-carte {
	background: var(--tms-surface);
	border: 1px solid var(--tms-border);
	border-top: 4px solid var(--tms-blue);
	border-radius: var(--tms-radius);
	padding: 26px;
	box-shadow: var(--tms-shadow);
}
.tms-tarif-carte h3 { margin: 0 0 12px; color: var(--tms-green-700) !important; font-size: 1.15rem; }
.tms-tarif-prix { font-size: 1.5rem; font-weight: 800; color: var(--tms-green-700) !important; margin: 0 0 8px; line-height: 1.2; }
.tms-tarif-delai { margin: 0 0 10px; color: var(--tms-muted); font-size: .95rem; }
.tms-tarif-obs { margin: 0; color: var(--tms-muted); font-size: .9rem; line-height: 1.6; }
.tms-tarif-carte.is-indispo { opacity: .72; border-top-color: var(--tms-amber); }
.tms-tarif-indispo { margin: 12px 0 0; color: var(--tms-amber); font-weight: 700; font-size: .9rem; }
.tms-tarifs-maj { margin: 26px 0 6px; color: var(--tms-muted); font-size: .93rem; }

.tms-mention {
	background: #FFF8EC;
	border-left: 4px solid var(--tms-amber);
	border-radius: 0 var(--tms-radius-sm) var(--tms-radius-sm) 0;
	padding: 14px 18px;
	font-size: .9rem;
	color: #7A4A08;
	line-height: 1.6;
	margin: 14px 0 22px;
}

/* ---------------------------------------------------------------- suivi */
.tms-suivi { background: var(--tms-surface); border-radius: var(--tms-radius); }
.tms-suivi-titre { margin: 0 0 14px; font-size: 1.2rem; color: var(--tms-navy); }
.tms-suivi--compact .tms-suivi-titre { font-size: 1.05rem; }

.tms-inline-form { display: flex; gap: 10px; flex-wrap: wrap; }
.tms-inline-form input[type="text"] {
	flex: 1 1 260px;
	min-height: 48px;
	padding: 12px 16px;
	border: 2px solid var(--tms-border);
	border-radius: var(--tms-radius-sm);
	font: inherit;
	font-size: 1rem;
	color: var(--tms-text);
	background: #fff;
}
.tms-inline-form input[type="text"]:focus { border-color: var(--tms-blue); outline: none; box-shadow: 0 0 0 3px rgba(18, 100, 216, .16); }
.tms-suivi-aide { font-size: .85rem; color: var(--tms-muted); margin: 10px 0 0; }
.tms-suivi-aide code { background: var(--tms-blue-100); padding: 2px 6px; border-radius: 5px; font-size: .9em; color: var(--tms-navy); }
.tms-suivi-sortie:not(:empty) { margin-top: 22px; }

.tms-suivi-resultat {
	border: 1px solid var(--tms-border);
	border-radius: var(--tms-radius);
	padding: 24px;
	background: var(--tms-surface);
}
.tms-suivi-tete { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.tms-suivi-numero { display: block; font-size: 1.35rem; color: var(--tms-navy); letter-spacing: .02em; }

.tms-progress { height: 9px; background: #E7EEF9; border-radius: 999px; overflow: hidden; margin-bottom: 22px; }
.tms-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--tms-blue), var(--tms-green)); border-radius: 999px; transition: width .5s ease; }

.tms-suivi-meta {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	padding: 18px 0;
	border-top: 1px solid var(--tms-border);
	border-bottom: 1px solid var(--tms-border);
	margin-bottom: 20px;
}
.tms-suivi-meta span { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; color: var(--tms-muted); margin-bottom: 4px; }
.tms-suivi-meta strong { color: var(--tms-navy); font-size: .98rem; }

.tms-consigne { background: var(--tms-blue-100); padding: 13px 16px; border-radius: var(--tms-radius-sm); font-size: .93rem; color: var(--tms-navy); }

.tms-timeline { list-style: none; margin: 14px 0 0; padding: 0 0 0 28px; position: relative; }
.tms-timeline::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; background: var(--tms-border); }
.tms-timeline li { position: relative; padding-bottom: 22px; }
.tms-timeline li:last-child { padding-bottom: 0; }
.tms-timeline-dot { position: absolute; left: -28px; top: 4px; width: 14px; height: 14px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--tms-border); }
.tms-timeline li.is-current .tms-timeline-dot { box-shadow: 0 0 0 4px rgba(18, 161, 80, .25); }
.tms-timeline strong { display: block; color: var(--tms-navy); font-size: 1rem; }
.tms-timeline time { display: block; font-size: .85rem; color: var(--tms-muted); margin-top: 2px; }
.tms-timeline p { margin: 6px 0 0; font-size: .93rem; color: var(--tms-text); line-height: 1.55; }

.tms-badge {
	display: inline-block;
	padding: 5px 12px;
	border-radius: 999px;
	background: var(--tms-muted);
	color: #fff;
	font-size: .8rem;
	font-weight: 700;
	line-height: 1.35;
}
.tms-badge--lg { font-size: .92rem; padding: 8px 16px; }

/* ---------------------------------------------------------------- calculateur */
.tms-calculateur { background: var(--tms-surface); border: 1px solid var(--tms-border); border-radius: var(--tms-radius); padding: 26px; box-shadow: var(--tms-shadow); }
.tms-calc-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.tms-calc-sortie:not(:empty) { margin: 22px 0; }
.tms-resultat {
	background: linear-gradient(150deg, var(--tms-navy), var(--tms-navy-dark));
	color: #fff;
	border-radius: var(--tms-radius);
	padding: 24px;
}
.tms-resultat h3 { margin: 0 0 6px; color: #fff; font-size: 1.05rem; }
.tms-resultat-total { font-size: 2.1rem; font-weight: 800; margin: 6px 0 4px; line-height: 1.1; }
.tms-resultat-delai { color: #A9C8F3; margin: 0 0 16px; }
.tms-resultat table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.tms-resultat td { padding: 7px 0; border-bottom: 1px solid rgba(255, 255, 255, .16); color: #D3E3F9; }
.tms-resultat td:last-child { text-align: right; color: #fff; font-weight: 700; }
.tms-resultat tr:last-child td { border-bottom: none; }

/* ---------------------------------------------------------------- formulaires */
.tms-form { margin: 0 0 20px; }
.tms-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 20px; }
.tms-form-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tms-form p { margin: 0 0 16px; }
.tms-form label { display: block; font-weight: 600; font-size: .9rem; color: var(--tms-navy); margin-bottom: 6px; }
.tms-form input[type="text"],
.tms-form input[type="email"],
.tms-form input[type="tel"],
.tms-form input[type="url"],
.tms-form input[type="date"],
.tms-form input[type="number"],
.tms-form input[type="password"],
.tms-form input[type="file"],
.tms-form select,
.tms-form textarea {
	width: 100%;
	min-height: 46px;
	padding: 11px 14px;
	border: 2px solid var(--tms-border);
	border-radius: var(--tms-radius-sm);
	font: inherit;
	font-size: 1rem;
	color: var(--tms-text);
	background: #fff;
}
.tms-form textarea { min-height: auto; resize: vertical; }
.tms-form input:focus, .tms-form select:focus, .tms-form textarea:focus {
	border-color: var(--tms-blue);
	outline: none;
	box-shadow: 0 0 0 3px rgba(18, 100, 216, .16);
}
.tms-form input:disabled { background: var(--tms-bg); color: var(--tms-muted); }
.tms-consent label, .tms-form-rappel { font-weight: 400; font-size: .88rem; color: var(--tms-muted); line-height: 1.55; }
.tms-consent input { margin-right: 8px; }
.tms-form-rappel { background: var(--tms-bg); padding: 11px 14px; border-radius: var(--tms-radius-sm); }
.tms-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.tms-notice {
	padding: 14px 18px;
	border-radius: var(--tms-radius-sm);
	margin: 0 0 20px;
	font-size: .95rem;
	line-height: 1.55;
	border-left: 4px solid;
}
.tms-notice--ok { background: #EAF8F0; border-color: var(--tms-green); color: #0B5C30; }
.tms-notice--erreur { background: #FDECEC; border-color: var(--tms-red); color: #8B1A1A; }

/* ---------------------------------------------------------------- espace client */
.tms-espace { background: var(--tms-surface); border: 1px solid var(--tms-border); border-radius: var(--tms-radius); padding: 26px; }
.tms-espace-entete { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.tms-espace-entete h2 { margin: 0; color: var(--tms-green-700) !important; font-size: 1.5rem; }
.tms-espace-nav { display: flex; flex-wrap: wrap; gap: 6px; border-bottom: 2px solid var(--tms-border); margin-bottom: 26px; padding-bottom: 2px; }
.tms-espace-nav a {
	padding: 10px 15px;
	border-radius: var(--tms-radius-sm) var(--tms-radius-sm) 0 0;
	text-decoration: none;
	color: var(--tms-muted);
	font-weight: 600;
	font-size: .92rem;
	white-space: nowrap;
}
.tms-espace-nav a:hover { background: var(--tms-bg); color: var(--tms-navy); }
.tms-espace-nav a.is-active { background: var(--tms-navy); color: #fff; }
.tms-espace-corps h3 { color: var(--tms-green-700) !important; margin-top: 0; }
.tms-espace-corps h4 { color: var(--tms-green-700) !important; margin: 26px 0 10px; }

.tms-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 26px; }
.tms-stat {
	background: var(--tms-bg);
	border-radius: var(--tms-radius);
	padding: 20px;
	font-size: .88rem;
	color: var(--tms-muted);
	font-weight: 600;
}
.tms-stat span { display: block; font-size: 1.8rem; font-weight: 800; color: var(--tms-navy); line-height: 1.1; margin-bottom: 4px; }

.tms-table-wrap { overflow-x: auto; margin-bottom: 20px; }
.tms-table { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 560px; }
.tms-table th, .tms-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--tms-border); }
.tms-table thead th { background: var(--tms-bg); color: var(--tms-navy); font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; }
.tms-table--fiche { min-width: 0; }
.tms-table--fiche th { width: 220px; background: var(--tms-bg); color: var(--tms-navy); }
.tms-vide { background: var(--tms-bg); padding: 18px; border-radius: var(--tms-radius-sm); color: var(--tms-muted); }
.tms-lien { color: var(--tms-blue); font-weight: 600; text-decoration: none; }
.tms-lien:hover { text-decoration: underline; }
.tms-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.tms-recherche { margin-bottom: 24px; }
.tms-recherche-resultat:not(:empty) { margin-top: 18px; }
.tms-resultat-colis {
	display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between;
	border: 1px solid var(--tms-border); border-radius: var(--tms-radius-sm);
	padding: 14px 16px; margin-bottom: 10px;
}
.tms-resultat-colis strong { color: var(--tms-navy); }
.tms-resultat-colis small { display: block; color: var(--tms-muted); }

/* ---------------------------------------------------------------- bureaux */
.tms-bureaux { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.tms-bureau { background: var(--tms-surface); border: 1px solid var(--tms-border); border-radius: var(--tms-radius); padding: 22px; box-shadow: var(--tms-shadow); }
.tms-bureau header { display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; justify-content: space-between; margin-bottom: 8px; }
.tms-bureau h3 { margin: 0; color: var(--tms-green-700) !important; font-size: 1.15rem; }
.tms-bureau h3 span { display: block; font-size: .82rem; font-weight: 600; color: var(--tms-green); text-transform: uppercase; letter-spacing: .06em; }
.tms-bureau-role { color: var(--tms-muted); font-size: .92rem; margin: 0 0 12px; }
.tms-bureau dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; font-size: .9rem; }
.tms-bureau dt { color: var(--tms-muted); font-weight: 600; }
.tms-bureau dd { margin: 0; color: var(--tms-text); }
.tms-tag { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.tms-tag--warn { background: #FFF1DB; color: #8A5206; }

/* ---------------------------------------------------------------- listes / interdits */
.tms-interdits { display: grid; gap: 22px; }
.tms-liste-bloc { background: var(--tms-surface); border: 1px solid var(--tms-border); border-radius: var(--tms-radius); padding: 24px; border-left: 5px solid var(--tms-muted); }
.tms-liste-bloc h2 { margin: 0 0 8px; color: var(--tms-green-700) !important; font-size: 1.25rem; }
.tms-liste-bloc > p { color: var(--tms-muted); margin: 0 0 14px; font-size: .95rem; }
.tms-liste-bloc--interdit { border-left-color: var(--tms-red); }
.tms-liste-bloc--aerien { border-left-color: var(--tms-amber); }
.tms-liste-bloc--verif { border-left-color: var(--tms-blue); }
.tms-liste-puces { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px 20px; }
.tms-liste-puces li { position: relative; padding-left: 20px; font-size: .95rem; }
.tms-liste-puces li::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; border-radius: 2px; background: currentColor; opacity: .45; }

.tms-encadre { border-radius: var(--tms-radius); padding: 22px; }
.tms-encadre--alerte { background: #FFF8EC; border: 1px solid #F5D9A8; }
.tms-encadre p { margin: 0 0 12px; line-height: 1.6; }
.tms-encadre p:last-child { margin-bottom: 0; }

.tms-paiements { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.tms-paiements li { background: var(--tms-bg); border-radius: var(--tms-radius-sm); padding: 16px; }
.tms-paiements strong { display: block; color: var(--tms-navy); margin-bottom: 4px; }
.tms-paiements span { font-size: .89rem; color: var(--tms-muted); line-height: 1.55; }

.tms-coordonnees { list-style: none; margin: 0; padding: 0; }
.tms-coordonnees li { padding: 12px 0; border-bottom: 1px solid var(--tms-border); }
.tms-coordonnees span { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; color: var(--tms-muted); margin-bottom: 3px; }
.tms-coordonnees strong { color: var(--tms-navy); font-size: 1.05rem; }
.tms-coordonnees a { color: var(--tms-navy); text-decoration: none; }
.tms-coordonnees a:hover { color: var(--tms-blue); }

/* ---------------------------------------------------------------- cta */
.tms-cta { background: linear-gradient(150deg, var(--tms-navy), var(--tms-navy-dark)); color: #fff; }
.tms-cta-inner { text-align: center; }
.tms-cta h2 { color: #fff; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.15rem); margin: 0 0 10px; }
.tms-cta p { color: #BBD3F4; margin: 0 0 26px; font-size: 1.05rem; }
.tms-cta .tms-hero-actions { justify-content: center; }
.tms-cta .tms-btn--secondary { background: #fff; color: var(--tms-navy); }
.tms-cta .tms-btn--secondary:hover { background: var(--tms-blue-100); }

/* ---------------------------------------------------------------- FAQ */
.tms-faq details {
	background: var(--tms-surface);
	border: 1px solid var(--tms-border);
	border-radius: var(--tms-radius-sm);
	margin-bottom: 10px;
	overflow: hidden;
}
.tms-faq summary {
	cursor: pointer;
	padding: 16px 46px 16px 18px;
	font-weight: 700;
	color: var(--tms-navy);
	list-style: none;
	position: relative;
}
.tms-faq summary::-webkit-details-marker { display: none; }
.tms-faq summary::after {
	content: ""; position: absolute; right: 18px; top: 50%;
	width: 10px; height: 10px; margin-top: -6px;
	border-right: 2.5px solid var(--tms-blue); border-bottom: 2.5px solid var(--tms-blue);
	transform: rotate(45deg); transition: transform .2s ease;
}
.tms-faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.tms-faq summary:hover { background: var(--tms-bg); }
.tms-faq details > *:not(summary) { padding: 0 18px; }
.tms-faq details > *:last-child { padding-bottom: 18px; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1080px) {
	.tms-cartes--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tms-etapes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tms-suivi-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.tms-hero-inner { grid-template-columns: 1fr; gap: 34px; }
	.tms-hero-suivi { margin-top: -30px; }
	.tms-cartes--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tms-tarifs-grille { grid-template-columns: 1fr; }
	.tms-form-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.tms-section { padding: 48px 0; }
	.tms-hero { padding: 44px 0 54px; }
	.tms-cartes--2, .tms-cartes--3, .tms-cartes--4, .tms-etapes { grid-template-columns: 1fr; }
	.tms-form-grid, .tms-form-grid--3 { grid-template-columns: 1fr; }
	.tms-stats { grid-template-columns: 1fr; }
	.tms-suivi-meta { grid-template-columns: 1fr; }
	.tms-espace { padding: 18px; }
	.tms-espace-nav { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; }
	.tms-hero-actions .tms-btn { flex: 1 1 100%; }
	.tms-bandeau-inner { gap: 6px 14px; font-size: .84rem; }
	.tms-bandeau-contact { flex: 1 1 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
	* { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
