/*
Theme Name: Terre & Ciel Media
Theme URI: https://www.terreetcielmedia.org
Author: Terre & Ciel Media
Author URI: https://www.terreetcielmedia.org
Description: Thème WordPress bilingue (français / anglais) pour Terre & Ciel Media — « Entre Terre et Éternité ». Média chrétien : actualité à la lumière de l’Évangile, cartes de la Bible, témoignages, saints, agenda paroissial, échos et souvenirs. Responsive du mobile à la 4K, accessible (RGAA/WCAG AA), rapide, sans dépendance obligatoire.
Version: 1.0.0
Requires at least: 6.3
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: terre-et-ciel-media
Tags: news, blog, two-columns, custom-menu, custom-logo, featured-images, translation-ready, accessibility-ready, threaded-comments
*/

/* =========================================================
   1. Variables & base
   ========================================================= */
:root {
	--gold: #b9852c;
	--gold-d: #8f5f14;
	--gold-l: #e7b653;
	--gold-bg: #f6ecd9;
	--blue: #1a2a9e;
	--blue-b: #1558e6;
	--navy: #0b1d4a;
	--navy-d: #071436;
	--cream: #fbf8f2;
	--paper: #ffffff;
	--ink: #26273a;
	--muted: #5f6378;
	--line: #e8e0d0;
	--f-display: 'Cinzel', 'Trajan Pro', Georgia, 'Times New Roman', serif;
	--f-head: 'Cormorant Garamond', 'Playfair Display', Georgia, 'Times New Roman', serif;
	--f-body: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
	--wrap: 1240px;
	--r: 14px;
	--shadow: 0 6px 22px rgba(18, 32, 90, .10);
	--shadow-lg: 0 14px 38px rgba(18, 32, 90, .18);
	--hdr: 72px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 16px); }
body {
	margin: 0;
	font-family: var(--f-body);
	font-size: clamp(16px, .3vw + 15px, 18px);
	line-height: 1.7;
	color: var(--ink);
	background: var(--cream);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
img, svg, video, iframe { max-width: 100%; }
img, video { height: auto; }
a { color: var(--blue-b); text-underline-offset: .18em; }
a:hover { color: var(--blue); }
:focus-visible { outline: 3px solid var(--gold-l); outline-offset: 3px; border-radius: 4px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tc-skip { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--navy); color: #fff; padding: .7em 1.1em; border-radius: 8px; transition: top .2s; }
.tc-skip:focus { top: 12px; color: #fff; }
.tc-center { text-align: center; }
.tc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.tc-wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.tc-wrap--narrow { width: min(100% - 40px, 860px); }
.tc-section { padding: clamp(44px, 6vw, 88px) 0; }
.tc-section--paper { background: var(--paper); }

h1, h2, h3, h4 { font-family: var(--f-head); color: var(--blue); line-height: 1.12; font-weight: 700; margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.2rem, 3vw + 1rem, 3.6rem); }
h2 { font-size: clamp(1.8rem, 1.8vw + 1rem, 2.7rem); }
h3 { font-size: clamp(1.3rem, .8vw + 1rem, 1.7rem); }
p { margin: 0 0 1em; }

/* Titre de section : majuscules, filet or + losange (comme la maquette) */
.tc-title { text-align: center; text-transform: uppercase; font-size: clamp(1.9rem, 2.4vw + 1rem, 3rem); position: relative; padding-bottom: .7em; margin-bottom: clamp(1.2rem, 3vw, 2.2rem); }
.tc-title::after { content: ""; position: absolute; left: 50%; bottom: 0; width: clamp(110px, 16vw, 170px); height: 2px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold) 80%, transparent); }
.tc-title::before { content: ""; position: absolute; left: 50%; bottom: -4px; width: 10px; height: 10px; transform: translateX(-50%) rotate(45deg); background: var(--gold); z-index: 1; }
.tc-title--left { text-align: left; }
.tc-title--left::after { left: 0; transform: none; background: linear-gradient(90deg, var(--gold), transparent); }
.tc-title--left::before { left: 0; transform: rotate(45deg); }
.tc-title--light { color: #fff; }

/* =========================================================
   2. Boutons
   ========================================================= */
.tc-btn { display: inline-flex; align-items: center; justify-content: center; gap: .7em; padding: .85em 1.6em; border-radius: 999px; font-family: var(--f-body); font-weight: 700; font-size: .98rem; line-height: 1.25; text-decoration: none; text-transform: uppercase; letter-spacing: .02em; border: 2px solid transparent; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, filter .2s ease; min-height: 48px; }
.tc-btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.tc-btn--outline { background: rgba(255, 255, 255, .6); backdrop-filter: blur(4px); color: var(--gold-d); border-color: var(--gold); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7), 0 6px 16px rgba(120, 80, 10, .18); }
.tc-btn--outline:hover { color: var(--gold-d); }
.tc-btn--outline-dark { background: transparent; color: var(--blue); border-color: var(--blue); }
.tc-btn--outline-dark:hover { background: var(--blue); color: #fff; }
.tc-btn--gold { background: linear-gradient(180deg, #e3a83f, #b36f12); color: #fff; border-color: #e9bd6a; box-shadow: 0 8px 20px rgba(150, 95, 10, .32); }
.tc-btn--gold:hover { color: #fff; }
.tc-btn--blue { background: linear-gradient(180deg, #2a6df0, #0f46c9); color: #fff; border-color: #7aa6ff; text-transform: none; font-size: 1rem; box-shadow: 0 8px 20px rgba(15, 70, 200, .35); text-align: left; }
.tc-btn--blue:hover { color: #fff; }
.tc-round { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--gold); color: var(--gold); background: #fff; transition: background .2s, color .2s, transform .2s; flex: 0 0 auto; }
a:hover > .tc-round, a:focus-visible > .tc-round, a:hover .tc-round { background: var(--gold); color: #fff; transform: translateX(3px); }
.tc-more { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--gold-d); text-decoration: none; }
.tc-more:hover { color: var(--blue); }
.tc-chip { display: inline-block; padding: .15em .7em; border-radius: 999px; background: var(--gold-bg); color: var(--gold-d); font-size: .82rem; font-weight: 700; text-decoration: none; margin: 0; }
.tc-chip--soft { background: #eef2fb; color: var(--blue); }
.tc-meta { display: flex; flex-wrap: wrap; gap: .4em 1.1em; align-items: center; color: var(--muted); font-size: .9rem; margin: 0 0 .6em; }
.tc-meta span { display: inline-flex; align-items: center; gap: .35em; }
.tc-meta .tc-i { color: var(--gold); flex: 0 0 auto; }
.tc-empty { color: var(--muted); font-style: italic; }

/* =========================================================
   3. En-tête & navigation
   ========================================================= */
.tc-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid transparent; padding-top: env(safe-area-inset-top); transition: box-shadow .25s, border-color .25s; }
.tc-header.is-stuck { box-shadow: 0 4px 18px rgba(10, 25, 80, .10); border-color: var(--line); }
.tc-header__in { display: flex; align-items: center; gap: 14px; min-height: var(--hdr); padding: 0 max(16px, env(safe-area-inset-left)); width: min(100%, 1700px); margin-inline: auto; }
.tc-header__brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--gold); flex: 0 0 auto; }
.tc-header__emblem { width: 46px; height: 46px; display: block; }
.tc-header__logo { height: 48px; width: auto; }
.tc-header__name { font-family: var(--f-display); font-weight: 700; font-size: 1.25rem; letter-spacing: .01em; color: var(--gold-d); white-space: nowrap; }
.tc-header__name i { font-style: normal; font-size: .9em; }
.tc-header__tools { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.tc-search-toggle, .tc-burger { display: inline-grid; place-items: center; width: 46px; height: 46px; border: 0; background: transparent; color: var(--blue); cursor: pointer; border-radius: 50%; }
.tc-search-toggle:hover, .tc-burger:hover { background: #eef2fb; }
.tc-burger__close { display: none; }
.tc-burger[aria-expanded="true"] .tc-burger__open { display: none; }
.tc-burger[aria-expanded="true"] .tc-burger__close { display: block; }
.tc-lang { display: inline-flex; border: 1.5px solid var(--gold); border-radius: 999px; overflow: hidden; font-size: .8rem; font-weight: 700; }
.tc-lang a { padding: .35em .75em; text-decoration: none; color: var(--gold-d); min-width: 40px; text-align: center; }
.tc-lang a.is-current { background: var(--gold); color: #fff; }

/* Menu mobile (tiroir) */
.tc-nav { position: fixed; inset: calc(var(--hdr) + env(safe-area-inset-top)) 0 0 0; background: #fff; padding: 12px 20px 40px; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .3s ease, visibility 0s .3s; z-index: 99; }
.tc-nav.is-open { transform: none; visibility: visible; transition: transform .3s ease; }
.tc-nav-open { overflow: hidden; }
.tc-menu, .tc-menu ul { list-style: none; margin: 0; padding: 0; }
.tc-menu > li { border-bottom: 1px solid var(--line); position: relative; }
.tc-menu a { display: block; padding: .95em .4em; color: var(--blue); text-decoration: none; font-weight: 600; font-size: 1.05rem; }
.tc-menu .current-menu-item > a, .tc-menu .current_page_item > a { color: var(--gold-d); box-shadow: inset 3px 0 0 var(--gold); padding-left: .9em; }
.tc-menu .menu-item-has-children { display: flex; flex-wrap: wrap; align-items: center; }
.tc-menu .menu-item-has-children > a { flex: 1 1 0; }
.tc-subtoggle { width: 44px; height: 44px; border: 0; background: transparent; color: var(--gold-d); cursor: pointer; display: inline-grid; place-items: center; }
.tc-subtoggle svg { transition: transform .2s; }
.is-open > .tc-subtoggle svg { transform: rotate(180deg); }
.tc-menu .sub-menu { flex: 0 0 100%; display: none; padding: 0 0 8px 14px; }
.tc-menu .is-open > .sub-menu { display: block; }
.tc-menu .sub-menu a { font-weight: 500; font-size: 1rem; padding: .6em .4em; }

/* Recherche */
.tc-search { display: none; background: #fff; border-top: 1px solid var(--line); padding: 14px 0; }
.tc-search.is-open { display: block; }
.tc-searchform { display: flex; gap: 8px; max-width: 640px; margin-inline: auto; }
.tc-searchform input[type="search"] { flex: 1; min-width: 0; padding: .8em 1.1em; border: 1.5px solid var(--line); border-radius: 999px; font: inherit; background: #fff; }
.tc-searchform button { width: 50px; border: 0; border-radius: 50%; background: var(--gold); color: #fff; cursor: pointer; display: grid; place-items: center; }

/* Menu bureau */
@media (min-width: 1320px) {
	.tc-burger { display: none; }
	.tc-header__tools { margin-left: 0; }
	.tc-header__name { display: none; }
	.tc-nav { position: static; inset: auto; background: transparent; padding: 0; overflow: visible; transform: none; visibility: visible; flex: 1 1 auto; transition: none; }
	.tc-menu { display: flex; align-items: center; justify-content: center; gap: clamp(8px, 1.1vw, 22px); }
	.tc-menu > li { border: 0; }
	.tc-menu a { padding: 1.5em .15em 1.3em; font-weight: 600; font-size: clamp(.8rem, .92vw, .95rem); white-space: nowrap; font-family: var(--f-body); border-bottom: 3px solid transparent; }
	.tc-menu a:hover { color: var(--gold-d); }
	.tc-menu .current-menu-item > a, .tc-menu .current_page_item > a { box-shadow: none; padding-left: .15em; border-bottom-color: var(--gold); color: var(--blue); }
	.tc-menu .menu-item-has-children { flex-wrap: nowrap; }
	.tc-menu .menu-item-has-children > a { flex: 0 0 auto; }
	.tc-subtoggle { width: 22px; height: 22px; margin-left: -4px; }
	.tc-menu .sub-menu { position: absolute; top: 100%; right: 0; min-width: 240px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); display: none; }
	.tc-menu .is-open > .sub-menu, .tc-menu .menu-item-has-children:hover > .sub-menu, .tc-menu .menu-item-has-children:focus-within > .sub-menu { display: block; }
	.tc-menu .sub-menu a { padding: .6em .9em; border: 0; border-radius: 8px; font-size: .95rem; }
	.tc-menu .sub-menu a:hover { background: var(--gold-bg); }
}

/* =========================================================
   4. Hero (page d'accueil)
   ========================================================= */
.tc-hero { position: relative; isolation: isolate; overflow: hidden; text-align: center; color: var(--navy); min-height: min(94svh, 940px); padding: clamp(24px, 4vw, 52px) 20px clamp(150px, 22vw, 300px); display: flex; justify-content: center;
	background:
		radial-gradient(ellipse 26% 20% at 50% 22%, rgba(255, 249, 205, .96), rgba(255, 232, 150, .35) 50%, transparent 72%),
		radial-gradient(ellipse 24% 10% at 10% 20%, rgba(255, 255, 255, .92), transparent 72%),
		radial-gradient(ellipse 26% 12% at 88% 28%, rgba(255, 255, 255, .88), transparent 72%),
		radial-gradient(ellipse 34% 9% at 18% 46%, rgba(255, 238, 205, .85), transparent 72%),
		radial-gradient(ellipse 36% 10% at 84% 52%, rgba(255, 228, 185, .85), transparent 72%),
		linear-gradient(180deg, #2c7fe0 0%, #5aa3ea 30%, #9dcaf2 52%, #f7e5b8 78%, #f1d38b 100%); }
.tc-hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: clamp(150px, 24vw, 330px); background: url(assets/img/hero-landscape.svg) center bottom / cover no-repeat; z-index: -1; pointer-events: none; }
.tc-hero__bg { position: absolute; inset: 0; z-index: -2; }
.tc-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.tc-hero__inner { width: min(100%, 1120px); display: flex; flex-direction: column; align-items: center; }
.tc-emblem { width: clamp(180px, 22vw, 300px); filter: drop-shadow(0 12px 22px rgba(18, 40, 110, .28)); }
.tc-emblem svg { display: block; width: 100%; height: auto; }
.tc-brand { margin: .15em 0 0; font-family: var(--f-display); font-weight: 700; line-height: 1; color: var(--gold); display: flex; flex-direction: column; align-items: center; }
.tc-brand__main { display: block; font-size: clamp(2.3rem, 7vw, 5.6rem); letter-spacing: .005em; background: linear-gradient(180deg, #e3b04b 0%, #b9852c 48%, #8f5f14 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; filter: drop-shadow(0 2px 0 rgba(255, 255, 255, .45)); }
.tc-brand__main .big { font-size: 1.2em; }
.tc-brand__main i { font-style: normal; font-size: .85em; }
.tc-brand__media { display: flex; align-items: center; gap: .7em; font-weight: 500; font-size: clamp(1.2rem, 3.2vw, 2.5rem); letter-spacing: .45em; padding-left: .45em; margin-top: .25em; color: var(--gold); }
.tc-brand__media::before, .tc-brand__media::after { content: ""; width: clamp(34px, 8vw, 120px); height: 2px; background: linear-gradient(90deg, transparent, var(--gold)); }
.tc-brand__media::after { background: linear-gradient(270deg, transparent, var(--gold)); }
.tc-diamond { width: 11px; height: 11px; background: var(--gold); transform: rotate(45deg); margin: .5em 0 .1em; }
.tc-tagline { font-family: var(--f-head); font-style: italic; font-weight: 600; font-size: clamp(1.6rem, 3.5vw, 2.9rem); color: var(--gold-d); margin: .1em 0 0; line-height: 1.1; }
.tc-news { display: flex; align-items: center; gap: 1em; margin: clamp(1.2rem, 3.4vw, 2.6rem) 0 0; font-size: clamp(1.5rem, 2.8vw, 2.4rem); text-transform: uppercase; color: var(--blue); }
.tc-news::before, .tc-news::after { content: ""; width: clamp(24px, 6vw, 80px); height: 1.5px; background: var(--gold); }
.tc-news__tag { font-family: var(--f-head); font-style: italic; font-size: clamp(1.15rem, 1.8vw, 1.6rem); color: var(--navy); margin: .1em 0 0; }
.tc-cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: clamp(1.2rem, 3vw, 2.2rem); width: 100%; }
.tc-cta-row .tc-btn { flex: 1 1 250px; max-width: 340px; padding-block: 1em; }
.tc-cta-row .tc-btn--blue { flex-basis: 310px; max-width: 360px; }

/* =========================================================
   5. Rubriques (cartes)
   ========================================================= */
.tc-rub { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(10px, 1.1vw, 16px); }
.tc-rub-card { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; text-decoration: none; color: inherit; background: linear-gradient(180deg, #fff, #fbf6ec); border-radius: 12px; box-shadow: var(--shadow); padding-bottom: 18px; transition: transform .25s ease, box-shadow .25s ease; }
.tc-rub-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: inherit; }
.tc-art { position: relative; display: block; overflow: hidden; background: linear-gradient(135deg, #cfd9f2, #f3dcae); }
.tc-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tc-art__ico { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255, 255, 255, .38); pointer-events: none; }
.tc-art img + .tc-art__ico { display: none; }
.tc-rub-card .tc-art { width: 100%; height: clamp(150px, 13vw, 200px); border-radius: 12px 12px 0 0; }
.tc-rub-card__badge { position: relative; z-index: 2; display: grid; place-items: center; width: 60px; height: 60px; margin-top: -30px; border-radius: 50%; background: #fff; color: var(--gold); box-shadow: 0 4px 14px rgba(0, 0, 0, .18); border: 2px solid #fff; }
.tc-rub-card__body { display: block; flex: 1; padding: 10px 12px 14px; }
.tc-rub-card h3 { font-size: clamp(1.15rem, .5vw + 1rem, 1.4rem); text-transform: uppercase; line-height: 1.05; margin: 0 0 .5em; }
.tc-rub-card__txt { display: block; font-family: var(--f-head); font-size: clamp(1rem, .3vw + .95rem, 1.15rem); line-height: 1.25; font-weight: 600; color: var(--gold-d); }
.tc-art--actualite { background: radial-gradient(circle at 50% 78%, #ffe29a 0, #f3a24a 16%, transparent 38%), linear-gradient(180deg, #0b2a6b, #1c5aa8 62%, #2d3a63); }
.tc-art--cartes { background: linear-gradient(180deg, #ecca90, #c0803f 58%, #7a4a24); }
.tc-art--temoignages { background: radial-gradient(circle at 50% 40%, rgba(255, 245, 200, .9) 0, transparent 30%), linear-gradient(180deg, #f9bb6f, #f4955a 45%, #bd5330); }
.tc-art--tenebres { background: radial-gradient(circle at 50% 46%, #ffd27a 0, #c96d1c 13%, transparent 34%), linear-gradient(180deg, #2a1208, #5a2a10); }
.tc-art--saints { background: radial-gradient(circle at 50% 34%, rgba(255, 240, 190, .95) 0, transparent 30%), linear-gradient(135deg, #f0c27c, #a8662a); }
.tc-art--agenda { background: linear-gradient(180deg, #ffb77a, #f38a50 46%, #3a4a6a); }
.tc-art--echos { background: linear-gradient(120deg, #c43c4a, #f3b79c 55%, #fff2df); }
.tc-art--souvenirs { background: linear-gradient(120deg, #5a2410, #a05a2c 55%, #e9c9a2); }
.tc-art--map1 { background: linear-gradient(160deg, #e8c98f, #b7793a 70%, #6f4420); }
.tc-art--map2 { background: linear-gradient(160deg, #cfe0f3, #6f9fcf 60%, #335d92); }
.tc-art--map3 { background: linear-gradient(160deg, #f2dfae, #c9a24a 60%, #7c6320); }
.tc-art--news1 { background: linear-gradient(135deg, #1c4f9c, #6aa5e6 70%, #f7e2a9); }
.tc-art--news2 { background: linear-gradient(135deg, #7b3f1c, #d79a4a 70%, #fbe9c1); }
.tc-art--news3 { background: linear-gradient(135deg, #1b2a6e, #5668c9 65%, #e8d7ad); }

/* Bannières Échos / Souvenirs */
.tc-banners { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(10px, 1.1vw, 16px); margin-top: clamp(14px, 1.6vw, 22px); }
.tc-banner { display: flex; position: relative; min-height: 150px; border-radius: 12px; overflow: hidden; text-decoration: none; color: inherit; background: linear-gradient(180deg, #fff, #fbf6ec); box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease; }
.tc-banner:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: inherit; }
.tc-banner__art { position: absolute; inset: 0 auto 0 0; width: 48%; -webkit-mask-image: linear-gradient(90deg, #000 62%, transparent); mask-image: linear-gradient(90deg, #000 62%, transparent); }
.tc-banner__body { position: relative; margin-left: auto; width: 62%; display: flex; align-items: center; gap: 14px; padding: 18px 20px; }
.tc-banner__body > span:nth-child(2) { flex: 1; }
.tc-banner__ico { color: var(--gold); flex: 0 0 auto; }
.tc-banner__title { display: block; font-family: var(--f-head); font-size: clamp(1.8rem, 2vw + .8rem, 2.6rem); text-transform: uppercase; color: var(--blue); line-height: 1; }
.tc-banner__lead { display: block; font-family: var(--f-head); font-weight: 700; font-size: clamp(1.15rem, .8vw + .9rem, 1.5rem); color: var(--blue); line-height: 1.15; margin-top: .25em; }
.tc-banner__txt { display: block; font-family: var(--f-head); font-weight: 600; font-size: clamp(1rem, .3vw + .95rem, 1.15rem); color: var(--gold-d); margin-top: .35em; line-height: 1.25; }

/* =========================================================
   6. Verset, newsletter, mission
   ========================================================= */
.tc-verse { background: linear-gradient(180deg, #fff7e0, #fdf1cf); text-align: center; padding: clamp(36px, 5vw, 64px) 0; border-block: 1px solid #efdfb4; }
.tc-verse__label { display: inline-flex; align-items: center; gap: .5em; color: var(--gold-d); font-weight: 700; margin: 0 0 .6em; }
.tc-verse__text { margin: 0 auto; max-width: 30ch; font-family: var(--f-head); font-style: italic; font-weight: 600; font-size: clamp(1.6rem, 2.6vw + .6rem, 2.7rem); line-height: 1.2; color: var(--navy); }
.tc-verse__ref { margin: .8em 0 0; font-weight: 700; color: var(--gold-d); }
.tc-verse__ref small { font-weight: 400; color: var(--muted); }
.tc-duo { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 4vw, 64px); }
.tc-newsletter { background: linear-gradient(135deg, var(--navy), #16348a); color: #dfe6ff; }
.tc-newsletter__in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.tc-newsletter .tc-title { margin-bottom: .6em; }
.tc-mission { background: url(assets/img/cornfield.svg) center bottom / cover no-repeat, #fff3d6; padding: clamp(40px, 5vw, 70px) 0 clamp(70px, 9vw, 130px); }
.tc-mission__grid { display: grid; grid-template-columns: 1fr 1fr; position: relative; }
.tc-mission__grid::before { content: ""; position: absolute; left: 50%; top: 8%; bottom: 8%; width: 1.5px; background: var(--gold); opacity: .7; }
.tc-mission__item { display: flex; align-items: center; justify-content: center; gap: clamp(14px, 2vw, 28px); padding: 0 clamp(12px, 3vw, 48px); color: var(--gold-d); }
.tc-mission__item .tc-i { flex: 0 0 auto; stroke-width: 1.5; }
.tc-mission__item h2 { margin: 0 0 .15em; font-size: clamp(1.8rem, 2vw + .8rem, 2.7rem); color: var(--gold-d); }
.tc-mission__item p { margin: 0; font-family: var(--f-head); font-weight: 600; font-size: clamp(1.15rem, .9vw + .9rem, 1.6rem); line-height: 1.2; color: var(--blue); max-width: 24ch; }

/* =========================================================
   7. Cartes de contenu : articles, saints, cartes, citations…
   ========================================================= */
.tc-posts, .tc-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: clamp(16px, 2vw, 28px); }
.tc-post, .tc-card-s { display: flex; flex-direction: column; background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease; }
.tc-post:hover, .tc-card-s:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.tc-post__media, .tc-card-s__media { display: block; aspect-ratio: 16 / 10; position: relative; }
.tc-post__body, .tc-card-s__body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.tc-post__title, .tc-card-s__body h3 { font-size: clamp(1.3rem, .6vw + 1.05rem, 1.6rem); margin: 0 0 .4em; }
.tc-post__title a, .tc-card-s__body h3 a { color: var(--blue); text-decoration: none; }
.tc-post__title a:hover, .tc-card-s__body h3 a:hover { color: var(--gold-d); }
.tc-post__body > p:not(.tc-meta), .tc-card-s__body > p:not(.tc-meta):not(.tc-chip) { color: var(--muted); font-size: .97rem; }
.tc-post .tc-more, .tc-card-s .tc-more { margin-top: auto; }
.tc-card-s__body .tc-chip { align-self: flex-start; margin-bottom: .5em; }
.tc-card-s--saint .tc-card-s__media { background: radial-gradient(circle at 50% 36%, #fff3c9 0, transparent 40%), linear-gradient(135deg, #f0c27c, #a8662a); display: grid; place-items: center; }
.tc-card-s--saint .tc-card-s__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tc-mono { font-family: var(--f-display); font-weight: 700; font-size: clamp(2.4rem, 5vw, 3.4rem); color: #fff; text-shadow: 0 3px 12px rgba(80, 40, 0, .45); letter-spacing: .04em; }
.tc-filters { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; padding: 0; margin: 0 0 clamp(20px, 3vw, 36px); }
.tc-filters a { display: block; padding: .45em 1.1em; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--blue); text-decoration: none; font-weight: 700; font-size: .92rem; }
.tc-filters a:hover, .tc-filters a.is-current { background: var(--blue); border-color: var(--blue); color: #fff; }

/* Agenda */
.tc-events { display: grid; gap: 14px; }
.tc-event { display: flex; gap: 18px; background: #fff; border-radius: var(--r); box-shadow: var(--shadow); padding: 16px 18px; align-items: flex-start; border-left: 4px solid var(--gold); }
.tc-event__date { flex: 0 0 74px; text-align: center; border-radius: 12px; background: linear-gradient(180deg, var(--blue), #2d46c8); color: #fff; padding: 8px 4px; line-height: 1; }
.tc-event__d { display: block; font-family: var(--f-head); font-weight: 700; font-size: 2.2rem; }
.tc-event__m { display: block; font-size: .78rem; font-weight: 800; letter-spacing: .12em; margin-top: 2px; }
.tc-event__y { display: block; font-size: .7rem; opacity: .75; margin-top: 3px; }
.tc-event h3 { margin: 0 0 .25em; font-size: 1.35rem; }
.tc-event h3 a { color: var(--blue); text-decoration: none; }
.tc-event h3 a:hover { color: var(--gold-d); }
.tc-event__body p:last-child { margin-bottom: 0; color: var(--muted); font-size: .97rem; }

/* Témoignages & échos */
.tc-quotes, .tc-echoes { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: clamp(16px, 2vw, 26px); }
.tc-quote { margin: 0; position: relative; background: #fff; border-radius: var(--r); box-shadow: var(--shadow); padding: 28px 26px 22px; border-top: 4px solid var(--gold); }
.tc-quote__ico { color: var(--gold-l); margin-bottom: 4px; }
.tc-quote blockquote { margin: 0 0 1em; font-family: var(--f-head); font-style: italic; font-weight: 600; font-size: clamp(1.2rem, .7vw + 1rem, 1.5rem); line-height: 1.3; color: var(--navy); }
.tc-quote blockquote p { margin: 0; }
.tc-quote figcaption { display: flex; flex-direction: column; gap: 2px; font-size: .95rem; color: var(--muted); }
.tc-quote figcaption strong { color: var(--blue); }
.tc-quote .tc-more { margin-top: .5em; }
.tc-echo { background: linear-gradient(180deg, #fff, #fbf6ec); border-radius: var(--r); box-shadow: var(--shadow); padding: 22px 22px 14px; }
.tc-echo__ico { color: var(--gold); }
.tc-echo h3 { font-size: 1.35rem; margin: .3em 0 .4em; }
.tc-echo p { color: var(--muted); }

/* Médias audio & prières */
.tc-medias { display: grid; gap: 14px; }
.tc-media { display: flex; gap: 18px; background: #fff; border-radius: var(--r); box-shadow: var(--shadow); padding: 18px 20px; }
.tc-media__ico { flex: 0 0 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-bg); color: var(--gold-d); }
.tc-media__body { flex: 1; min-width: 0; }
.tc-media h3 { margin: 0 0 .2em; font-size: 1.35rem; }
.tc-media audio { width: 100%; margin-top: .4em; }
.tc-prayer { background: #fff; border-radius: var(--r); box-shadow: var(--shadow); border-left: 4px solid var(--gold); }
.tc-prayer summary { cursor: pointer; display: flex; align-items: center; gap: .7em; padding: 16px 20px; font-family: var(--f-head); font-weight: 700; font-size: 1.35rem; color: var(--blue); list-style: none; }
.tc-prayer summary::-webkit-details-marker { display: none; }
.tc-prayer summary .tc-i { color: var(--gold); }
.tc-prayer[open] summary { border-bottom: 1px solid var(--line); }
.tc-prayer__text { padding: 8px 22px 14px; font-family: var(--f-head); font-size: 1.3rem; line-height: 1.45; color: var(--navy); }

/* Dons */
.tc-tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; margin: 1.5em 0; }
.tc-tier { display: flex; flex-direction: column; gap: .5em; align-items: flex-start; padding: 22px; border-radius: var(--r); background: #fff; box-shadow: var(--shadow); text-decoration: none; color: var(--muted); border-top: 4px solid var(--gold); transition: transform .2s, box-shadow .2s; }
.tc-tier:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--muted); }
.tc-tier__amt { font-family: var(--f-head); font-weight: 700; font-size: 2.4rem; color: var(--blue); line-height: 1; }
.tc-tier .tc-i { color: var(--gold); margin-top: auto; }

/* =========================================================
   8. Formulaires
   ========================================================= */
.tc-form { background: #fff; border-radius: var(--r); box-shadow: var(--shadow); padding: clamp(20px, 3vw, 34px); max-width: 760px; }
.tc-form p { margin: 0 0 1em; }
.tc-form label { display: block; font-weight: 700; font-size: .93rem; margin-bottom: .3em; color: var(--navy); }
.tc-form input[type="text"], .tc-form input[type="email"], .tc-form textarea, .tc-form select, .comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; padding: .8em 1em; border: 1.5px solid #d9d2c2; border-radius: 10px; font: inherit; background: #fff; color: var(--ink); }
.tc-form input:focus, .tc-form textarea:focus, .comment-form input:focus, .comment-form textarea:focus { border-color: var(--blue-b); outline: 3px solid rgba(21, 88, 230, .18); }
.tc-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.tc-check label { display: flex; gap: .6em; align-items: flex-start; font-weight: 400; font-size: .9rem; }
.tc-check input { margin-top: .3em; flex: 0 0 auto; }
.tc-form--inline { display: flex; flex-wrap: wrap; gap: 0 12px; align-items: flex-start; background: transparent; box-shadow: none; padding: 0; max-width: none; }
.tc-form--inline .tc-form__grow { flex: 1 1 240px; }
.tc-form--inline .tc-form__full { flex: 0 0 100%; }
.tc-newsletter .tc-check label { color: #c9d4f7; }
.tc-flash { padding: .9em 1.1em; border-radius: 10px; font-weight: 700; margin: 0 0 1em; max-width: 760px; }
.tc-flash--ok { background: #e6f6ea; color: #17602d; border: 1px solid #b7e0c0; }
.tc-flash--err { background: #fdeceb; color: #922; border: 1px solid #f2c0bd; }

/* =========================================================
   9. Pages intérieures
   ========================================================= */
.tc-pagehead { background: linear-gradient(180deg, #dcebfb 0%, #f3ecd9 70%, var(--cream) 100%); text-align: center; padding: clamp(28px, 4vw, 56px) 0 clamp(26px, 3vw, 44px); position: relative; overflow: hidden; }
.tc-pagehead::after { content: ""; position: absolute; inset: auto 0 0 0; height: 70px; background: url(assets/img/hero-landscape.svg) center bottom / cover no-repeat; opacity: .18; pointer-events: none; }
.tc-pagehead .tc-wrap { position: relative; z-index: 1; }
.tc-title--page { margin: .2em auto 0; max-width: 20ch; font-size: clamp(2rem, 3vw + 1rem, 3.5rem); padding-bottom: .65em; }
.tc-pagehead__sub { font-family: var(--f-head); font-style: italic; font-weight: 600; font-size: clamp(1.25rem, 1vw + 1rem, 1.75rem); color: var(--gold-d); max-width: 52ch; margin: .6em auto 0; line-height: 1.25; }
.tc-crumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: .4em .6em; font-size: .85rem; color: var(--muted); }
.tc-crumbs a { color: var(--muted); }
.tc-content { padding: clamp(30px, 4vw, 64px) 0 clamp(50px, 6vw, 96px); }
.tc-prose { max-width: 1100px; margin-inline: auto; font-size: 1.02rem; }
.tc-prose > p, .tc-prose > ul, .tc-prose > ol, .tc-prose > h2, .tc-prose > h3, .tc-prose > blockquote { max-width: 74ch; margin-inline: auto; }
.tc-prose h2 { margin-top: 1.6em; }
.tc-prose h3 { margin-top: 1.3em; }
.tc-prose .tc-lead { font-family: var(--f-head); font-size: clamp(1.35rem, 1vw + 1rem, 1.85rem); line-height: 1.3; color: var(--navy); font-weight: 600; text-align: center; margin: 0 auto 1.6em; max-width: 52ch; }
.tc-prose img { border-radius: 10px; }
.tc-prose .alignwide { width: min(100vw - 40px, 1240px); max-width: none; margin-inline: auto; }
.tc-prose .alignfull { width: 100vw; max-width: none; margin-left: calc(50% - 50vw); }
.tc-prose blockquote { border-left: 4px solid var(--gold); margin-block: 1.6em; padding: .3em 0 .3em 1.2em; font-family: var(--f-head); font-style: italic; font-size: 1.4rem; color: var(--navy); }
.tc-prose table { width: 100%; border-collapse: collapse; }
.tc-prose th, .tc-prose td { border: 1px solid var(--line); padding: .6em .8em; text-align: left; }
.tc-callout { max-width: 900px; margin: 2.2em auto; padding: clamp(20px, 3vw, 32px); border-radius: var(--r); background: linear-gradient(135deg, #fff7e0, #fdf0cd); border: 1px solid #efdfb4; text-align: center; }
.tc-callout h3 { margin-top: 0; }
.tc-callout p:last-child { margin-bottom: 0; }
.tc-section-title { text-align: center; margin: 2.2em 0 1em; text-transform: uppercase; }
.tc-features, .tc-team, .tc-products, .tc-gallery, .tc-mysteries, .tc-values, .tc-faq { margin: 1.5em 0 2em; }
.tc-features, .tc-team, .tc-products, .tc-mysteries, .tc-values { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: clamp(14px, 2vw, 24px); }
.tc-feature, .tc-member, .tc-product, .tc-mystery, .tc-value { background: #fff; border-radius: var(--r); box-shadow: var(--shadow); padding: 24px 22px; position: relative; }
.tc-feature h3, .tc-mystery h3, .tc-value h3 { margin-top: .2em; font-size: 1.45rem; }
.tc-feature p, .tc-mystery p, .tc-value p, .tc-member p, .tc-product p { color: var(--muted); font-size: .97rem; margin: 0; }
.tc-feature__ico, .tc-value__ico { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--gold-bg); color: var(--gold-d); margin-bottom: .6em; }
.tc-mystery { border-top: 4px solid var(--gold); }
.tc-mystery:nth-child(2) { border-top-color: #f2c94c; }
.tc-mystery:nth-child(3) { border-top-color: #a33b3b; }
.tc-mystery:nth-child(4) { border-top-color: var(--blue-b); }
.tc-mystery .tc-chip { margin-bottom: .6em; }
.tc-member { text-align: center; }
.tc-member__avatar { width: 96px; height: 96px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-display); font-weight: 700; font-size: 1.9rem; color: #fff; background: linear-gradient(135deg, var(--gold-l), var(--gold-d)); box-shadow: 0 6px 16px rgba(120, 80, 10, .3); }
.tc-member h3 { margin: 0; font-size: 1.4rem; }
.tc-member .tc-role { color: var(--gold-d); font-weight: 700; font-size: .9rem; margin-bottom: .5em; }
.tc-product { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.tc-product__img { aspect-ratio: 4 / 3; display: grid; place-items: center; color: rgba(255, 255, 255, .85); background: linear-gradient(135deg, #5a2410, #a05a2c 60%, #e9c9a2); }
.tc-product:nth-child(2n) .tc-product__img { background: linear-gradient(135deg, #1c3a7c, #5a82d0 70%, #dbe6fb); }
.tc-product:nth-child(3n) .tc-product__img { background: linear-gradient(135deg, #8f5f14, #e0b254 70%, #fff0c8); }
.tc-product__body { padding: 16px 20px 22px; display: flex; flex-direction: column; flex: 1; gap: .3em; }
.tc-product h3 { font-size: 1.3rem; margin: 0; }
.tc-price { font-family: var(--f-head); font-weight: 700; font-size: 1.6rem; color: var(--blue); }
.tc-product .tc-btn { margin-top: auto; align-self: flex-start; padding: .6em 1.2em; min-height: 44px; font-size: .85rem; }
.tc-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 14px; }
.tc-gallery figure { margin: 0; position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); background: linear-gradient(135deg, #1c4f9c, #6aa5e6 70%, #f7e2a9); display: grid; place-items: center; color: rgba(255, 255, 255, .7); }
.tc-gallery figure:nth-child(3n+2) { background: linear-gradient(135deg, #7b3f1c, #d79a4a 70%, #fbe9c1); }
.tc-gallery figure:nth-child(3n) { background: linear-gradient(135deg, #1b2a6e, #5668c9 65%, #e8d7ad); }
.tc-gallery figure:nth-child(4n+1) { aspect-ratio: 4 / 4.6; }
.tc-gallery figcaption { position: absolute; inset: auto 0 0 0; padding: 26px 14px 12px; color: #fff; font-weight: 700; font-size: .92rem; background: linear-gradient(0deg, rgba(5, 15, 50, .75), transparent); }
.tc-faq details { background: #fff; border-radius: 12px; box-shadow: var(--shadow); margin-bottom: 12px; border-left: 4px solid var(--gold); }
.tc-faq summary { cursor: pointer; padding: 16px 20px; font-family: var(--f-head); font-weight: 700; font-size: 1.3rem; color: var(--blue); list-style: none; display: flex; justify-content: space-between; gap: 1em; }
.tc-faq summary::-webkit-details-marker { display: none; }
.tc-faq summary::after { content: "+"; color: var(--gold); font-size: 1.6rem; line-height: 1; transition: transform .2s; }
.tc-faq details[open] summary::after { transform: rotate(45deg); }
.tc-faq details > div { padding: 0 20px 18px; color: var(--muted); }
.tc-faq details p:last-child { margin-bottom: 0; }
.tc-contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(20px, 4vw, 48px); align-items: start; }
.tc-info { background: linear-gradient(180deg, var(--navy), #14307f); color: #dfe6ff; border-radius: var(--r); padding: 28px; }
.tc-info h3 { color: #fff; margin-top: 0; }
.tc-info a { color: #ffd986; }
.tc-info ul { list-style: none; padding: 0; margin: 0; }
.tc-info li { display: flex; gap: .7em; align-items: flex-start; margin-bottom: .8em; }
.tc-info .tc-i { color: var(--gold-l); flex: 0 0 auto; margin-top: .2em; }
.tc-dummy-note { font-size: .82rem; color: var(--muted); text-align: center; margin-top: 2em; }

/* Article / single */
.tc-single__meta { justify-content: center; margin-bottom: 1.4em; }
.tc-single__img { margin: 0 0 1.6em; }
.tc-single__img img { width: 100%; border-radius: var(--r); box-shadow: var(--shadow); }
.tc-postnav { display: flex; justify-content: space-between; gap: 16px; margin: 3em 0 2em; padding-top: 1.4em; border-top: 1px solid var(--line); font-weight: 700; }
.tc-postnav a { text-decoration: none; color: var(--blue); }
.tc-postnav div:last-child { text-align: right; }

/* Pagination, commentaires, 404 */
.navigation.pagination { margin-top: 2.4em; }
.nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.nav-links .page-numbers { padding: .5em 1em; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; text-decoration: none; color: var(--blue); font-weight: 700; min-width: 44px; text-align: center; }
.nav-links .page-numbers.current, .nav-links .page-numbers:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.tc-comments { margin-top: 3em; }
.tc-comments__list { list-style: none; padding: 0; }
.tc-comments__list .comment-body { background: #fff; border-radius: 12px; padding: 16px 18px; margin-bottom: 12px; box-shadow: var(--shadow); }
.tc-comments__list .children { list-style: none; padding-left: 1.4em; }
.tc-404 { padding: clamp(50px, 8vw, 120px) 0; background: linear-gradient(180deg, #dcebfb, var(--cream)); }
.tc-404__code { font-family: var(--f-display); font-weight: 700; font-size: clamp(5rem, 16vw, 11rem); line-height: 1; margin: 0; background: linear-gradient(180deg, #e3b04b, #8f5f14); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.tc-404 .tc-searchform { margin: 1.5em auto; }

/* =========================================================
   10. Pied de page
   ========================================================= */
.tc-footer { background: linear-gradient(180deg, var(--navy), var(--navy-d)); color: #cdd6f5; padding: clamp(32px, 4vw, 52px) 0 calc(18px + env(safe-area-inset-bottom)); border-top: 4px solid var(--gold); }
.tc-footer a { color: #e6ecff; text-decoration: none; }
.tc-footer a:hover { color: #ffd986; }
.tc-footer__grid { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(20px, 3vw, 44px); align-items: center; }
.tc-footer__logo { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.6rem, 2.4vw, 2.3rem); color: var(--gold-l) !important; line-height: 1; display: inline-block; }
.tc-footer__logo i { font-style: normal; font-size: .85em; }
.tc-footer__logo b { font-weight: 500; letter-spacing: .1em; font-size: .85em; }
.tc-footer__brand p { font-family: var(--f-head); font-style: italic; font-size: 1.3rem; color: #e6ecff; margin: .3em 0 0; }
.tc-footer__nav { border-left: 1.5px solid var(--gold); padding-left: clamp(16px, 3vw, 40px); }
.tc-footer__nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4em 0; }
.tc-footer__nav li { font-size: .92rem; }
.tc-footer__nav li:not(:last-child)::after { content: "|"; margin: 0 .8em; color: #6f7fc0; }
.tc-footer__social { display: flex; gap: 14px; align-items: center; color: #fff; }
.tc-footer__contact { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 28px; margin-top: 26px; font-size: .98rem; }
.tc-footer__contact a { display: inline-flex; align-items: center; gap: .6em; }
.tc-footer__contact .tc-i { color: var(--gold-l); }
.tc-footer__sep { width: 1.5px; height: 28px; background: var(--gold); }
.tc-footer__legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin-top: 20px; font-size: .85rem; color: #aab6e3; }
.tc-footer__legal p { margin: 0; }
.tc-footer__legalmenu { list-style: none; display: flex; gap: 18px; margin: 0; padding: 0; flex-wrap: wrap; justify-content: center; }
.tc-top { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--gold); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s, transform .25s, visibility .25s; z-index: 90; }
.tc-top svg { transform: rotate(-90deg); }
.tc-top.is-visible { opacity: 1; visibility: visible; transform: none; }

/* Apparition douce (cartes de rubriques uniquement) */
.tc-js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .5s ease var(--d, 0ms), transform .5s ease var(--d, 0ms), box-shadow .25s; }
.tc-js [data-reveal].is-in { opacity: 1; transform: none; }
.tc-js [data-reveal].is-in:hover { transform: translateY(-4px); }

/* =========================================================
   11. Responsive — mobile → 4K
   ========================================================= */
@media (min-width: 1920px) { :root { --wrap: 1440px; } }
@media (min-width: 2560px) { :root { --wrap: 1800px; } html { font-size: 125%; } .tc-header__in { width: min(100%, 2200px); } }

@media (max-width: 1199px) {
	.tc-rub { grid-template-columns: repeat(3, 1fr); }
	.tc-rub-card .tc-art { height: clamp(150px, 20vw, 210px); }
	.tc-banners { grid-template-columns: 1fr; }
}
@media (max-width: 899px) {
	.tc-duo, .tc-newsletter__in, .tc-contact-grid { grid-template-columns: 1fr; }
	.tc-footer__grid { grid-template-columns: 1fr; text-align: center; justify-items: center; }
	.tc-footer__nav { border-left: 0; padding-left: 0; border-top: 1.5px solid var(--gold); padding-top: 18px; }
	.tc-footer__nav ul { justify-content: center; }
	.tc-mission__grid { grid-template-columns: 1fr; gap: 34px; }
	.tc-mission__grid::before { display: none; }
	.tc-mission__item { justify-content: flex-start; }
}
@media (max-width: 767px) {
	:root { --hdr: 64px; }
	.tc-rub { grid-template-columns: repeat(2, 1fr); }
	.tc-form__row { grid-template-columns: 1fr; }
	.tc-banner { flex-direction: column; min-height: 0; }
	.tc-banner__art { position: relative; inset: auto; width: 100%; height: 130px; -webkit-mask-image: none; mask-image: none; }
	.tc-banner__body { width: 100%; }
	.tc-event { flex-direction: column; }
	.tc-event__date { flex-basis: auto; align-self: flex-start; padding: 8px 18px; display: flex; gap: .5em; align-items: baseline; }
	.tc-event__d { font-size: 1.7rem; }
	.tc-media { flex-direction: column; }
	.tc-hero { min-height: 0; }
	.tc-cta-row .tc-btn, .tc-cta-row .tc-btn--blue { flex: 1 1 100%; max-width: none; }
	.tc-footer__contact { flex-direction: column; }
	.tc-footer__sep { display: none; }
}
@media (max-width: 479px) {
	.tc-rub { grid-template-columns: 1fr; }
	.tc-rub-card .tc-art { height: 180px; }
	.tc-header__name { display: none; }
	.tc-lang a { padding: .35em .6em; min-width: 36px; }
	.tc-news::before, .tc-news::after { display: none; }
}
@media (max-width: 359px) { .tc-header__brand { display: none; } .tc-header__tools { margin-inline: auto; } }
@media (min-width: 480px) and (max-width: 1319px) { .tc-header__name { display: inline; } }

/* Préférences utilisateur */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.tc-js [data-reveal] { opacity: 1; transform: none; }
}
@media (hover: none) { .tc-rub-card:hover, .tc-post:hover, .tc-card-s:hover, .tc-banner:hover, .tc-btn:hover { transform: none; } }
@media (forced-colors: active) { .tc-btn { border: 2px solid ButtonText; } }
@media print {
	.tc-header, .tc-footer, .tc-top, .tc-search, .tc-newsletter, .tc-form { display: none !important; }
	body { background: #fff; color: #000; font-size: 12pt; }
	a { color: #000; text-decoration: underline; }
	.tc-hero::after, .tc-pagehead::after { display: none; }
}
