/* ==========================================================================
   TECACOM – styles du thème
   Les couleurs se règlent dans Personnaliser › TECACOM › Couleurs.
   ========================================================================== */

:root {
	--tc-primary: #0369A1;
	--tc-primary-dark: #075985;
	--tc-sky: #00BFFF;
	--tc-sky-soft: #7DD3FC;
	--tc-pale: #E0F2FE;
	--tc-light: #F0F9FF;
	--tc-dark: #0B2540;
	--tc-dark-2: #12355A;
	--tc-line-dark: #1E4670;
	--tc-ink: #334155;
	--tc-muted: #475569;
	--tc-border: #CBD5E1;
	--tc-white: #FFFFFF;
	--tc-font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--tc-font-head: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
	--tc-radius: 16px;
	--tc-radius-sm: 8px;
	--tc-shadow: 0 12px 32px rgba(11, 37, 64, 0.14);
	--tc-container: 1240px;
	--tc-gutter: 24px;
	--tc-section: clamp(56px, 8vw, 96px);
	--tc-header-h: 84px;
}

/* Base ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--tc-header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--tc-font); font-size: 1.0625rem; line-height: 1.65; color: var(--tc-dark); background: var(--tc-white); }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--tc-primary); text-underline-offset: 3px; }
a:hover { color: var(--tc-primary-dark); }
:focus-visible { outline: 3px solid var(--tc-sky); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--tc-font-head); line-height: 1.15; margin: 0 0 .5em; color: inherit; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; }
.tc-icon { flex-shrink: 0; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.tc-skip { position: absolute; left: 16px; top: -100px; z-index: 1000; background: var(--tc-dark); color: var(--tc-white); padding: 12px 18px; border-radius: var(--tc-radius-sm); }
.tc-skip:focus { top: 16px; color: var(--tc-white); }

.tc-container { width: 100%; max-width: var(--tc-container); margin: 0 auto; padding-left: var(--tc-gutter); padding-right: var(--tc-gutter); }

/* Boutons --------------------------------------------------------------- */
.tc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: var(--tc-radius-sm); border: 2px solid transparent; font: 600 1rem/1.2 var(--tc-font); text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.tc-btn--lg { min-height: 56px; padding: 16px 28px; }
.tc-btn--primary { background: var(--tc-primary); color: var(--tc-white); }
.tc-btn--primary:hover { background: var(--tc-primary-dark); color: var(--tc-white); }
.tc-btn--outline { background: var(--tc-white); color: var(--tc-primary); border-color: var(--tc-primary); }
.tc-btn--outline:hover { background: var(--tc-light); color: var(--tc-primary-dark); }
.tc-btn--white { background: var(--tc-white); color: var(--tc-primary); font-weight: 700; }
.tc-btn--white:hover { background: var(--tc-pale); color: var(--tc-primary-dark); }
.tc-btn--sky { background: var(--tc-sky); color: var(--tc-dark); font-weight: 700; }
.tc-btn--sky:hover { background: var(--tc-sky-soft); color: var(--tc-dark); }
.tc-btn--ghost-light { background: transparent; color: var(--tc-pale); border-color: var(--tc-sky); }
.tc-btn--ghost-light:hover { background: var(--tc-dark-2); color: var(--tc-white); }
.tc-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.tc-link { font-weight: 600; text-decoration: none; }
.tc-link:hover { text-decoration: underline; }

/* Barre supérieure ------------------------------------------------------ */
.tc-topbar { background: var(--tc-dark); color: var(--tc-pale); font-size: .875rem; }
.tc-topbar__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 28px; padding-top: 8px; padding-bottom: 8px; }
.tc-topbar__info, .tc-topbar__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 24px; }
.tc-topbar a { color: var(--tc-pale); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; min-height: 32px; }
.tc-topbar a:hover { color: var(--tc-white); text-decoration: underline; }

.tc-lang { display: inline-flex; border: 1px solid var(--tc-sky); border-radius: 6px; overflow: hidden; }
.tc-lang a { padding: 4px 10px; font-weight: 600; text-decoration: none; color: var(--tc-pale); min-height: 0; }
.tc-lang a.is-current { background: var(--tc-sky); color: var(--tc-dark); }
.tc-lang--mobile { display: none; }

/* En-tête --------------------------------------------------------------- */
.tc-header { background: var(--tc-white); border-bottom: 1px solid var(--tc-pale); z-index: 100; }
.tc-sticky-header .tc-header { position: sticky; top: 0; }
.admin-bar.tc-sticky-header .tc-header { top: 32px; }
.tc-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; min-height: var(--tc-header-h); }
.tc-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--tc-dark); }
.tc-brand__logo { width: auto; height: 52px; max-width: 100%; object-fit: contain; }
.tc-brand__placeholder { width: 48px; height: 48px; border-radius: 10px; background: var(--tc-pale); border: 1px dashed var(--tc-primary); color: var(--tc-primary); font-size: 10px; display: grid; place-items: center; }
.tc-brand__text { display: flex; flex-direction: column; }
.tc-brand__name { font-family: var(--tc-font-head); font-weight: 800; font-size: 1.5rem; letter-spacing: .5px; line-height: 1.1; }
.tc-brand__tagline { font-size: .75rem; color: var(--tc-muted); }

.tc-nav { display: flex; align-items: center; gap: 28px; }
.tc-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px 26px; font-weight: 500; font-size: .9375rem; }
.tc-menu li { position: relative; }
.tc-menu a { color: var(--tc-dark); text-decoration: none; display: block; padding: 10px 0; }
.tc-menu > li > a { border-bottom: 2px solid transparent; }
.tc-menu > .current-menu-item > a, .tc-menu > .current-menu-ancestor > a, .tc-menu > li > a:hover { color: var(--tc-primary); border-bottom-color: var(--tc-primary); }
.tc-menu .menu-item-has-children > a { padding-right: 18px; }
.tc-menu .menu-item-has-children > a::after { content: ""; position: absolute; right: 2px; top: 50%; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-70%) rotate(45deg); }
.tc-submenu-toggle { display: none; }
.tc-menu .sub-menu { list-style: none; margin: 0; padding: 10px; position: absolute; top: 100%; left: -14px; min-width: 260px; background: var(--tc-white); border-radius: 12px; box-shadow: var(--tc-shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; z-index: 10; }
.tc-menu .sub-menu a { padding: 9px 12px; border-radius: 6px; font-size: .9375rem; }
.tc-menu .sub-menu a:hover, .tc-menu .sub-menu .current-menu-item > a { background: var(--tc-light); color: var(--tc-primary); }
.tc-menu .sub-menu .sub-menu { top: 0; left: 100%; }
.tc-menu .sub-menu .menu-item-has-children > a::after { transform: translateY(-50%) rotate(-45deg); right: 12px; }
.tc-menu li:hover > .sub-menu, .tc-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.tc-burger { display: none; width: 48px; height: 48px; border: 0; border-radius: var(--tc-radius-sm); background: var(--tc-primary); color: var(--tc-white); cursor: pointer; align-items: center; justify-content: center; }
.tc-burger__close { display: none; }

/* Éléments de section --------------------------------------------------- */
.tc-section { padding: var(--tc-section) 0; }
.tc-section--light { background: var(--tc-light); }
.tc-section--dark { background: var(--tc-dark); color: var(--tc-white); }
.tc-section--dark .tc-lead { color: #CBD5E1; }
.tc-section--dark .tc-eyebrow { color: var(--tc-sky-soft); }
.tc-section-head { max-width: 760px; margin-bottom: 40px; }
.tc-section-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: 40px; }
.tc-section-top .tc-section-head { margin-bottom: 0; }
.tc-eyebrow { margin: 0 0 12px; font-weight: 700; font-size: .875rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--tc-primary); }
.tc-eyebrow--light { color: var(--tc-pale); }
.tc-h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 800; margin: 0 0 14px; }
.tc-h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 800; margin: 0 0 24px; }
.tc-h3 a { color: inherit; text-decoration: none; }
.tc-lead { font-size: 1.125rem; color: var(--tc-muted); margin: 0; }
.tc-badge { display: inline-block; margin: 0 0 20px; padding: 6px 14px; border-radius: 999px; background: var(--tc-pale); color: var(--tc-primary-dark); font-weight: 600; font-size: .875rem; }
.tc-block + .tc-block { margin-top: 56px; }
.tc-stack > * + * { margin-top: 56px; }

.tc-grid { display: grid; gap: 24px; list-style: none; padding: 0; margin: 0; }
.tc-grid--2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.tc-grid--3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.tc-grid--4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.tc-grid--5 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 20px; }

.tc-placeholder { display: grid; place-items: center; width: 100%; min-height: 200px; padding: 24px; border-radius: inherit; background: #BAE6FD; border: 2px dashed var(--tc-primary); color: var(--tc-primary-dark); font-weight: 600; text-align: center; }
.tc-placeholder-note { color: var(--tc-muted); font-style: italic; }

/* Héros ----------------------------------------------------------------- */
.tc-hero { background: var(--tc-light); padding: clamp(48px, 8vw, 80px) 0; }
.tc-hero--service { padding-top: 32px; }
.tc-hero__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.tc-hero__content { flex: 1 1 520px; min-width: 0; }
.tc-hero__media { flex: 1 1 400px; min-width: 0; position: relative; }
.tc-hero__title { font-size: clamp(2.125rem, 4.6vw, 3.25rem); font-weight: 800; line-height: 1.1; margin: 0 0 22px; }
.tc-hero__title--md { font-size: clamp(2rem, 4vw, 2.875rem); }
.tc-hero__text { font-size: clamp(1.0625rem, 1.6vw, 1.1875rem); color: var(--tc-ink); max-width: 600px; margin: 0 0 28px; }
.tc-hero__img { width: 100%; height: clamp(260px, 36vw, 460px); object-fit: cover; border-radius: 20px; }
.tc-hero__img--md { height: clamp(220px, 28vw, 340px); }
.tc-hero__card { position: absolute; left: -24px; bottom: -28px; display: flex; align-items: center; gap: 14px; padding: 18px 22px; background: var(--tc-white); border-radius: 14px; box-shadow: var(--tc-shadow); max-width: 320px; }
.tc-hero__card strong { display: block; font-size: 1rem; }
.tc-hero__card span span, .tc-hero__card > span:last-child { font-size: .875rem; color: var(--tc-muted); }
.tc-hero__card-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--tc-primary); color: var(--tc-white); display: grid; place-items: center; flex-shrink: 0; }
.tc-checks { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 12px 32px; color: var(--tc-ink); font-size: .9375rem; }
.tc-checks li { display: flex; align-items: flex-start; gap: 8px; }
.tc-checks .tc-icon { color: var(--tc-primary); }
.tc-checks--stack { flex-direction: column; gap: 14px; font-size: 1.0625rem; color: inherit; }
.tc-section--dark .tc-checks .tc-icon { color: var(--tc-sky); }

/* Cartes ---------------------------------------------------------------- */
.tc-card { display: flex; flex-direction: column; gap: 12px; padding: 30px; background: var(--tc-white); border: 1px solid var(--tc-pale); border-radius: var(--tc-radius); text-decoration: none; color: var(--tc-dark); transition: border-color .15s, box-shadow .15s; }
.tc-card:hover { border-color: var(--tc-sky); box-shadow: 0 8px 24px rgba(11, 37, 64, .08); color: var(--tc-dark); }
.tc-card__label { font-size: .8125rem; font-weight: 600; color: var(--tc-primary); text-transform: uppercase; letter-spacing: 1px; }
.tc-card__title { font-family: var(--tc-font-head); font-weight: 700; font-size: 1.375rem; line-height: 1.25; }
.tc-card__text { color: var(--tc-muted); font-size: 1rem; }
.tc-card__more { margin-top: auto; color: var(--tc-primary); font-weight: 600; font-size: .9375rem; }
.tc-card--domain { border-top: 4px solid var(--tc-primary); }

/* Partage image / texte -------------------------------------------------- */
.tc-split { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.tc-split--top { align-items: stretch; }
.tc-split__media, .tc-split__content { flex: 1 1 440px; min-width: 0; }
.tc-split__img { width: 100%; height: 380px; object-fit: cover; border-radius: 20px; }
.tc-section--dark .tc-placeholder { background: var(--tc-dark-2); border-color: var(--tc-sky); color: #BAE6FD; }

/* Raisons --------------------------------------------------------------- */
.tc-reasons { counter-reset: reason; }
.tc-reason { counter-increment: reason; background: var(--tc-white); border-radius: var(--tc-radius); padding: 28px; border-top: 4px solid var(--tc-primary); }
.tc-reason::before { content: counter(reason); display: block; font-family: var(--tc-font-head); font-weight: 800; font-size: 2rem; color: var(--tc-primary); line-height: 1; margin-bottom: 12px; }
.tc-reason__title { font-family: var(--tc-font); font-size: 1.1875rem; font-weight: 700; margin-bottom: 8px; }
.tc-reason p { color: var(--tc-muted); font-size: .9375rem; margin: 0; }

/* Bandeau --------------------------------------------------------------- */
.tc-band { background: var(--tc-primary); color: var(--tc-white); padding: clamp(56px, 7vw, 80px) 0; }
.tc-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.tc-band__content { flex: 1 1 600px; min-width: 0; }
.tc-band .tc-lead { color: var(--tc-pale); }

/* Liste des prestations ------------------------------------------------- */
.tc-service-list { counter-reset: service; }
.tc-service-list a { counter-increment: service; display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 14px 18px; border: 1px solid var(--tc-pale); border-radius: 12px; text-decoration: none; color: var(--tc-dark); font-weight: 500; }
.tc-service-list a::before { content: counter(service, decimal-leading-zero); min-width: 36px; height: 36px; border-radius: var(--tc-radius-sm); background: var(--tc-light); color: var(--tc-primary); font-weight: 700; font-size: .875rem; display: grid; place-items: center; }
.tc-service-list a:hover { border-color: var(--tc-sky); color: var(--tc-primary); }

/* Articles -------------------------------------------------------------- */
.tc-post-card { background: var(--tc-white); border-radius: var(--tc-radius); overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--tc-pale); }
.tc-post-card__media img, .tc-post-card__media .tc-placeholder { width: 100%; height: 200px; object-fit: cover; border: 0; border-radius: 0; min-height: 0; }
.tc-post-card__body { padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.tc-post-card__cat { margin: 0; font-size: .8125rem; font-weight: 600; color: var(--tc-primary); text-transform: uppercase; letter-spacing: 1px; }
.tc-post-card__title { font-size: 1.25rem; line-height: 1.35; margin: 0; }
.tc-post-card__title a { color: var(--tc-dark); text-decoration: none; }
.tc-post-card__title a:hover { color: var(--tc-primary); }
.tc-post-card__date { font-size: .875rem; color: var(--tc-muted); }

/* Contact --------------------------------------------------------------- */
.tc-form { display: flex; flex-direction: column; gap: 16px; }
.tc-form__row { display: flex; flex-wrap: wrap; gap: 16px; }
.tc-form__row > label { flex: 1 1 220px; }
.tc-form label { display: flex; flex-direction: column; gap: 6px; font-size: .875rem; font-weight: 600; }
.tc-form input, .tc-form textarea, .tc-search input { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--tc-border); border-radius: var(--tc-radius-sm); font: 400 1rem var(--tc-font); color: var(--tc-dark); background: var(--tc-white); }
.tc-form input:focus, .tc-form textarea:focus, .tc-search input:focus { border-color: var(--tc-primary); outline: 3px solid var(--tc-pale); }
.tc-form button { align-self: flex-start; }
.tc-hp { position: absolute; left: -9999px; }
.tc-notice { padding: 14px 18px; border-radius: var(--tc-radius-sm); font-weight: 600; }
.tc-notice--ok { background: #DCFCE7; color: #14532D; }
.tc-notice--error { background: #FEF3C7; color: #78350F; }
.tc-map { border-radius: var(--tc-radius); overflow: hidden; background: var(--tc-pale); min-height: 320px; margin-bottom: 20px; }
.tc-map iframe { display: block; width: 100%; height: 340px; border: 0; }
.tc-agencies { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.tc-agency { background: var(--tc-light); border-radius: 12px; padding: 18px; font-size: .9375rem; color: var(--tc-muted); }
.tc-agency p { margin: 0 0 4px; }
.tc-agency__city { font-weight: 700; color: var(--tc-dark); font-size: 1rem; }

/* Pages intérieures ----------------------------------------------------- */
.tc-page-header { background: var(--tc-light); padding: 32px 0 clamp(48px, 6vw, 72px); }
.tc-page-header__title { font-size: clamp(2rem, 4vw, 2.875rem); font-weight: 800; margin: 0 0 16px; max-width: 900px; }
.tc-page-header__text { font-size: 1.1875rem; color: var(--tc-ink); max-width: 720px; margin: 0; }
.tc-breadcrumbs { font-size: .875rem; color: var(--tc-muted); margin-bottom: 28px; }
.tc-breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tc-breadcrumbs li + li::before { content: "›"; margin-right: 6px; color: var(--tc-muted); }
.tc-breadcrumbs a { text-decoration: none; }

.tc-layout { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 56px; }
.tc-layout__main { flex: 999 1 620px; min-width: 0; }
.tc-layout__side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }

.tc-prose { max-width: 760px; }
.tc-prose--wide { max-width: none; }
.tc-prose > * { margin-top: 0; }
.tc-prose p, .tc-prose li { font-size: 1.0625rem; line-height: 1.75; color: var(--tc-ink); }
.tc-prose h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-top: 1.6em; }
.tc-prose h3 { font-size: 1.375rem; margin-top: 1.4em; }
.tc-prose img { border-radius: 12px; }
.tc-prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--tc-sky); color: var(--tc-dark); font-size: 1.125rem; }
.tc-prose table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.tc-prose th, .tc-prose td { padding: 10px 12px; border-bottom: 1px solid var(--tc-pale); text-align: left; }

.tc-use { background: var(--tc-light); border-radius: 14px; padding: 24px; }
.tc-use__icon { width: 44px; height: 44px; border-radius: 10px; background: var(--tc-primary); color: var(--tc-white); display: grid; place-items: center; margin-bottom: 12px; }
.tc-use__title { font-family: var(--tc-font); font-size: 1.1875rem; font-weight: 700; margin-bottom: 6px; }
.tc-use p { margin: 0; color: var(--tc-muted); font-size: .9375rem; }

.tc-steps { counter-reset: step; }
.tc-step { counter-increment: step; border: 1px solid var(--tc-pale); border-radius: 14px; padding: 22px; }
.tc-step::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--tc-font-head); font-weight: 800; font-size: 1.75rem; color: var(--tc-primary); margin-bottom: 8px; }
.tc-step__title { font-family: var(--tc-font); font-size: 1.125rem; font-weight: 700; margin-bottom: 6px; }
.tc-step p { margin: 0; color: var(--tc-muted); font-size: .9375rem; }

.tc-faq { display: flex; flex-direction: column; gap: 12px; }
.tc-faq__item { border: 1px solid var(--tc-pale); border-radius: 12px; padding: 0 22px; }
.tc-faq__item summary { cursor: pointer; font-weight: 600; font-size: 1.0625rem; padding: 18px 0; list-style-position: outside; }
.tc-faq__item[open] summary { color: var(--tc-primary); }
.tc-faq__item p { margin: 0 0 18px; color: var(--tc-muted); }

.tc-sidenav { border: 1px solid var(--tc-pale); border-radius: var(--tc-radius); padding: 22px; }
.tc-sidenav__title { font-weight: 700; margin: 0 0 10px; }
.tc-sidenav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.tc-sidenav a { display: block; padding: 11px 14px; border-radius: var(--tc-radius-sm); color: var(--tc-dark); text-decoration: none; }
.tc-sidenav a:hover { background: var(--tc-light); color: var(--tc-primary); }
.tc-sidenav a.is-current { background: var(--tc-primary); color: var(--tc-white); font-weight: 600; }

.tc-quote { background: var(--tc-dark); color: var(--tc-white); border-radius: var(--tc-radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.tc-quote__title { font-family: var(--tc-font-head); font-weight: 800; font-size: 1.375rem; margin: 0; }
.tc-quote__text { color: #CBD5E1; font-size: .9375rem; margin: 0 0 4px; }

.tc-widget { background: var(--tc-light); border-radius: var(--tc-radius); padding: 24px; }
.tc-widget__title { font-size: 1.0625rem; margin-bottom: 12px; }

.tc-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--tc-muted); font-size: .9375rem; }
.tc-featured { margin: 0 0 32px; }
.tc-featured img { border-radius: var(--tc-radius); width: 100%; }
.tc-tags a { display: inline-block; margin: 0 6px 6px 0; padding: 4px 12px; border-radius: 999px; background: var(--tc-light); font-size: .875rem; text-decoration: none; }
.post-navigation { margin-top: 40px; }
.post-navigation .nav-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.post-navigation a { display: flex; flex-direction: column; text-decoration: none; font-weight: 600; max-width: 340px; }
.post-navigation span { font-size: .8125rem; color: var(--tc-muted); font-weight: 400; }

.tc-team { gap: 24px; }
.tc-member { text-align: center; }
.tc-member__photo { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--tc-radius); margin-bottom: 14px; min-height: 0; }
.tc-member__name { font-weight: 700; margin: 0; }
.tc-member__role { color: var(--tc-muted); font-size: .9375rem; margin: 0 0 8px; }

.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers { min-width: 44px; min-height: 44px; padding: 10px 14px; display: grid; place-items: center; border-radius: var(--tc-radius-sm); border: 1px solid var(--tc-pale); text-decoration: none; }
.pagination .current { background: var(--tc-primary); color: var(--tc-white); border-color: var(--tc-primary); }

.tc-search { display: flex; gap: 8px; max-width: 520px; }
.tc-empty { max-width: 640px; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.tc-404__code { font-family: var(--tc-font-head); font-size: 5rem; font-weight: 800; color: var(--tc-primary); line-height: 1; margin: 0; }

.tc-comments { margin-top: 56px; }

/* Pied de page ---------------------------------------------------------- */
.tc-footer { background: var(--tc-dark); color: #CBD5E1; padding: 72px 0 32px; font-size: .9375rem; }
.tc-footer a { color: #CBD5E1; text-decoration: none; }
.tc-footer a:hover { color: var(--tc-white); text-decoration: underline; }
.tc-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; }
.tc-footer__logo { width: auto; height: 46px; margin-bottom: 18px; }
.tc-footer__name { font-family: var(--tc-font-head); font-weight: 800; font-size: 1.5rem; color: var(--tc-white); margin-bottom: 12px; }
.tc-footer__title { color: var(--tc-white); font-weight: 700; margin-bottom: 14px; }
.tc-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.tc-footer__phone { display: inline-block; margin-top: 14px; color: var(--tc-sky-soft) !important; font-weight: 600; }
.tc-footer__bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--tc-line-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .875rem; }
.tc-footer__bottom p { margin: 0; }
.tc-footer__legal { flex-direction: row !important; flex-wrap: wrap; gap: 6px 18px !important; }
.tc-socials { flex-direction: row !important; gap: 10px !important; margin-top: 18px !important; }
.tc-socials a { width: 44px; height: 44px; border-radius: 10px; background: var(--tc-dark-2); display: grid; place-items: center; color: var(--tc-pale); }
.tc-socials a:hover { background: var(--tc-primary); color: var(--tc-white); }

/* Barre d'action mobile -------------------------------------------------- */
.tc-actionbar { display: none; }

/* Gutenberg : page pleine largeur --------------------------------------- */
.tc-blocks-page > .alignfull { margin-left: 0; margin-right: 0; }
.tc-blocks-page > :not(.alignfull):not(.alignwide) { max-width: 760px; margin-left: auto; margin-right: auto; padding-left: var(--tc-gutter); padding-right: var(--tc-gutter); }
.tc-blocks-page > .alignwide { max-width: var(--tc-container); margin-left: auto; margin-right: auto; padding-left: var(--tc-gutter); padding-right: var(--tc-gutter); }

/* Responsive ------------------------------------------------------------ */
@media (max-width: 1080px) {
	:root { --tc-header-h: 72px; }
	.tc-burger { display: inline-flex; }
	.tc-nav { position: fixed; inset: var(--tc-nav-top, 72px) 0 0 0; flex-direction: column; align-items: stretch; gap: 20px; padding: 20px var(--tc-gutter) 120px; background: var(--tc-white); overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .2s, visibility .2s; z-index: 99; }
	.tc-nav.is-open { transform: none; visibility: visible; }
	.tc-menu { flex-direction: column; align-items: stretch; gap: 0; font-size: 1.0625rem; }
	.tc-menu li { border-bottom: 1px solid var(--tc-pale); }
	.tc-menu a { padding: 14px 0; }
	.tc-menu > li > a { border-bottom: 0; }
	.tc-menu .menu-item-has-children > a::after { display: none; }
	.tc-menu .menu-item-has-children > a { padding-right: 52px; }
	.tc-submenu-toggle { display: grid; place-items: center; position: absolute; right: 0; top: 4px; width: 44px; height: 44px; border: 0; border-radius: var(--tc-radius-sm); background: var(--tc-light); color: var(--tc-primary); cursor: pointer; }
	.tc-submenu-toggle[aria-expanded="true"] .tc-icon { transform: rotate(180deg); }
	.tc-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 8px 14px; display: none; min-width: 0; }
	.tc-menu .sub-menu.is-open { display: block; }
	.tc-menu .sub-menu li { border: 0; }
	.tc-menu li:hover > .sub-menu { display: none; }
	.tc-menu li:hover > .sub-menu.is-open, .tc-menu li:focus-within > .sub-menu.is-open { display: block; }
	.tc-header__cta { width: 100%; }
	.tc-lang--mobile { display: inline-flex; align-self: flex-start; }
	.tc-lang--mobile a { color: var(--tc-primary); padding: 8px 14px; }
	.tc-lang--mobile a.is-current { color: var(--tc-dark); }
	.tc-burger[aria-expanded="true"] .tc-burger__open { display: none; }
	.tc-burger[aria-expanded="true"] .tc-burger__close { display: inline-flex; }
	body.tc-nav-open { overflow: hidden; }
}

@media (max-width: 782px) {
	.admin-bar.tc-sticky-header .tc-header { top: 46px; }
	.tc-topbar__info span, .tc-topbar__info a:nth-child(2) { display: none; }
	.tc-topbar .tc-lang { display: none; }
	.tc-hero__card { position: static; margin-top: 16px; max-width: none; }
	.tc-split__img { height: 260px; }
	.tc-has-action-bar .tc-actionbar { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--tc-white); border-top: 1px solid var(--tc-pale); box-shadow: 0 -6px 20px rgba(11, 37, 64, .10); }
	.tc-has-action-bar .tc-actionbar .tc-btn { min-height: 52px; }
	.tc-has-action-bar .tc-footer { padding-bottom: 110px; }
	.tc-btn--lg { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
	.tc-topbar, .tc-header, .tc-actionbar, .tc-footer, .tc-layout__side { display: none !important; }
}

@media (max-width: 480px) {
	.tc-brand__logo { height: 40px; }
}
