/* ==========================================================================
   Top Telegram : feuille principale
   Charte reprise de la reference demandee (design seul, pas le contenu) :
   - degrade horizontal #50AAE6 (21 %) -> #A32B99 (86 %), en-tete + hero + pied
   - titres, menus et boutons en Oswald ; texte courant en Inter
   - magenta #A32B99 (carte vedette, boutons), bordeaux #882332 (bouton second)
   - bleu pale #E7F3FB (bandeaux, FAQ), taches organiques bleu et rose pale
   - coins arrondis ASYMETRIQUES (haut-gauche + bas-droit) sur cartes et boutons
   Ecart assume : le bleu qui PORTE du texte blanc est fonce en #2B86C5 (le
   #50AAE6 d origine n y fait que 2,6:1) ; le #50AAE6 reste pour le degrade et
   les decors.
   ========================================================================== */

:root {
	--bleu: #50AAE6;
	--bleu-f: #2B86C5;
	--magenta: #A32B99;
	--magenta-f: #8B2283;
	--bordeaux: #882332;
	--bordeaux-f: #6E1B28;
	--encre: #292D32;
	--gris: #5F5A5B;
	--gris-2: #6E6969;
	--ciel: #E7F3FB;
	--lavande: #DCE1FC;
	--rose-pale: #FCEDFB;
	--bleu-pale: #BEE3FA;
	--ligne: #D9D9D9;
	--etoile: #F49C3B;
	--vert: #1E8A5C;
	--degrade: linear-gradient(90deg, #50AAE6 21%, #A32B99 86%);
	--degrade-diag: linear-gradient(120deg, #50AAE6 10%, #7B6CCB 52%, #A32B99 92%);
	--titres: 'Oswald', 'Arial Narrow', 'Roboto Condensed', sans-serif;
	--corps: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
	--coin: 26px 4px 26px 4px;
	--coin-s: 12px 2px 12px 2px;
	--ombre: 0 10px 30px rgba(41, 45, 50, .10);
	--ombre-f: 0 18px 40px rgba(41, 45, 50, .16);
	--largeur: 1440px;
	--motif: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' fill='none' stroke='%23fff' stroke-width='1.4'%3E%3Cpath d='M0 40h60l20 20h60M140 60v50l30 30h50M20 220v-60l30-30v-40M110 0v30l-20 20M220 170h-40l-20 20v30'/%3E%3Ccircle cx='60' cy='40' r='4'/%3E%3Ccircle cx='140' cy='60' r='4'/%3E%3Ccircle cx='50' cy='130' r='4'/%3E%3Ccircle cx='90' cy='50' r='3'/%3E%3Ccircle cx='180' cy='170' r='4'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--corps);
	font-size: 16px;
	line-height: 1.65;
	color: var(--encre);
	background: #fff;
	overflow-x: hidden;
}
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--magenta); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--bordeaux); }
h1, h2, h3, h4 { font-family: var(--titres); font-weight: 600; line-height: 1.2; margin: 0 0 .6em; letter-spacing: .005em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--magenta); outline-offset: 2px; }

.tt-wrap { width: 100%; max-width: var(--largeur); margin: 0 auto; padding-inline: 24px; }
.tt-section { position: relative; padding-block: 80px; }
.tt-centre { text-align: center; }
.tt-droite { text-align: right; }
.tt-titre-centre { text-align: center; font-weight: 400; font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 44px; }
.tt-titre-centre strong { font-weight: 700; }

.tt-saut { position: absolute; left: -9999px; top: 0; z-index: 1000; background: #fff; color: var(--encre); padding: 10px 16px; }
.tt-saut:focus { left: 12px; top: 12px; }

/* ---------------------------------------------------------------- boutons */
.tt-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 12px;
	font-family: var(--titres); font-weight: 500; font-size: 19px; line-height: 1.1;
	padding: 15px 28px; border-radius: 999px; border: 2px solid transparent;
	text-decoration: none; cursor: pointer; transition: transform .2s, background-color .2s, box-shadow .2s, color .2s;
}
.tt-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(41, 45, 50, .18); }
.tt-btn-magenta { background: var(--magenta); color: #fff; }
.tt-btn-magenta:hover { background: var(--magenta-f); color: #fff; }
.tt-btn-bordeaux { background: var(--bordeaux); color: #fff; }
.tt-btn-bordeaux:hover { background: var(--bordeaux-f); color: #fff; }
.tt-btn-ligne { background: #fff; color: var(--encre); border-color: var(--ligne); }
.tt-btn-ligne:hover { border-color: var(--magenta); color: var(--magenta); }
.tt-btn-petit { font-size: 16px; padding: 10px 20px; }
.tt-btn-large { width: 100%; }
.tt-btn-coin, .tt-btn.tt-btn-coin {
	display: inline-flex; align-items: center; gap: 8px;
	font-family: var(--titres); font-weight: 500; font-size: 16px;
	background: var(--magenta); color: #fff; text-decoration: none;
	padding: 9px 20px; border-radius: var(--coin-s); transition: background .2s;
}
.tt-btn-coin:hover { background: var(--bordeaux); color: #fff; }
.tt-lien-fleche { display: inline-flex; align-items: center; gap: 10px; font-family: var(--titres); font-weight: 500; font-size: 18px; color: var(--encre); text-decoration: none; }
.tt-lien-fleche svg { transition: transform .2s; }
.tt-lien-fleche:hover { color: var(--magenta); }
.tt-lien-fleche:hover svg { transform: translateX(4px); }
.tt-lien-grand { font-size: 24px; }
.tt-lien-btn { background: none; border: 0; padding: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; color: var(--gris); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.tt-lien-btn:hover { color: var(--bordeaux); }

.tt-chip { display: inline-flex; align-items: center; gap: 5px; font-family: var(--titres); font-size: 13px; font-weight: 500; line-height: 1; padding: 6px 10px; border-radius: 8px 2px 8px 2px; background: var(--bleu-f); color: #fff; letter-spacing: .02em; }
.tt-chip-clair { background: var(--ciel); color: var(--encre); }
.tt-chip-off { background: #EAF6EF; color: var(--vert); }
.tt-chip-blanc { background: rgba(255, 255, 255, .2); color: #fff; border: 1px solid rgba(255, 255, 255, .45); }

/* ---------------------------------------------------------------- en-tete */
.tt-entete {
	position: sticky; top: 0; z-index: 100;
	background: var(--degrade);
	transition: box-shadow .25s;
}
.tt-entete.is-defile { box-shadow: 0 6px 24px rgba(41, 45, 50, .22); }
.tt-entete-in { display: flex; align-items: center; gap: 28px; min-height: 96px; }
.tt-logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; flex: none; }
.tt-logo:hover { color: #fff; }
.tt-logo-mots { display: flex; flex-direction: column; line-height: .9; }
.tt-logo-top { font-family: var(--titres); font-weight: 700; font-size: 30px; letter-spacing: .06em; text-transform: uppercase; }
.tt-logo-tg { font-family: var(--corps); font-weight: 500; font-size: 15px; letter-spacing: .18em; margin-top: 3px; }
.tt-nav { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.tt-nav-liste { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.tt-nav-lien {
	display: inline-flex; align-items: center; gap: 6px;
	font-family: var(--titres); font-size: 18px; font-weight: 400; color: #fff; text-decoration: none;
	padding: 10px 12px; background: none; border: 0; cursor: pointer; border-radius: 6px;
}
.tt-nav-lien:hover, .tt-nav-lien[aria-expanded="true"] { color: #fff; background: rgba(255, 255, 255, .14); }
.tt-nav-lien { display: inline-flex; align-items: center; gap: 7px; }
/* Pictos du menu principal agrandis (demande 2026-09-16) ; ceux du deroule (.tt-mega-ico) ne bougent pas. */
.tt-nav-ico { flex: none; display: inline-grid; place-items: center; width: 34px; height: 34px; }
.tt-nav-ico .tt-ico { width: 34px; height: 34px; }
.tt-nav-rub { position: relative; }
.tt-nav-deroule svg { transition: transform .2s; }
.tt-nav-deroule[aria-expanded="true"] svg { transform: rotate(180deg); }
.tt-mega {
	position: absolute; top: calc(100% + 14px); left: 50%; transform: translate(-50%, 8px);
	width: min(760px, 92vw); background: #fff; border-radius: var(--coin); box-shadow: var(--ombre-f);
	padding: 18px; opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
}
.tt-nav-rub.is-ouvert .tt-mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.tt-mega ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.tt-mega a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: var(--coin-s); color: var(--encre); text-decoration: none; font-family: var(--titres); font-size: 17px; }
.tt-mega a:hover { background: var(--ciel); color: var(--magenta); }
.tt-mega-ico { width: 38px; height: 38px; flex: none; border-radius: 50%; background: var(--ciel); display: grid; place-items: center; }
.tt-mega-ico .tt-ico { width: 30px; height: 30px; }
.tt-entete-cta {
	font-family: var(--titres); font-size: 18px; font-weight: 500; color: #fff; text-decoration: none;
	background: var(--bleu-f); padding: 11px 18px; border-radius: 2px; white-space: nowrap; transition: background .2s;
}
.tt-entete-cta:hover { background: var(--magenta); color: #fff; }
.tt-entete-outils { display: flex; align-items: center; gap: 10px; padding-left: 18px; border-left: 1px solid rgba(255, 255, 255, .45); }

.tt-langues { position: relative; }
.tt-langues-btn {
	display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
	font-family: var(--titres); font-size: 17px; font-weight: 500; color: #fff;
	background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .5); border-radius: 999px; padding: 8px 12px;
}
.tt-langues-btn:hover, .tt-langues-btn[aria-expanded="true"] { background: #fff; color: var(--magenta); }
.tt-langues-liste {
	position: absolute; right: 0; top: calc(100% + 10px); min-width: 190px; list-style: none; margin: 0; padding: 8px;
	background: #fff; border-radius: var(--coin-s); box-shadow: var(--ombre-f);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s; z-index: 5;
}
.tt-langues.is-ouvert .tt-langues-liste { opacity: 1; visibility: visible; transform: none; }
.tt-langues-liste a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; color: var(--encre); text-decoration: none; font-size: 15px; }
.tt-langues-liste a:hover { background: var(--ciel); }
.tt-langues-liste a.is-courante { background: var(--magenta); color: #fff; }
.tt-langues-drapeau { display: block; flex: none; width: 28px; height: 19px; border-radius: 4px; overflow: hidden; box-shadow: 0 0 0 1px rgba(0, 0, 0, .14); }
.tt-langues-drapeau-texte { display: inline-flex; align-items: center; justify-content: center; font-family: var(--titres); font-size: 11px; font-weight: 600; }
.tt-burger { display: none; background: none; border: 0; color: #fff; padding: 6px; cursor: pointer; }
.tt-burger .tt-svg-croix { display: none; }
.tt-burger[aria-expanded="true"] .tt-svg-menu { display: none; }
.tt-burger[aria-expanded="true"] .tt-svg-croix { display: block; }

/* ------------------------------------------------------------------- hero */
.tt-hero { position: relative; background: var(--degrade); color: #fff; overflow: hidden; padding: 40px 0 150px; margin-top: -1px; }
.tt-hero-motif {
	position: absolute; inset: 0; opacity: .16; pointer-events: none;
	background-image: var(--motif);
}
.tt-hero::before, .tt-hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.tt-hero::before { width: 520px; height: 520px; left: -160px; top: 120px; background: radial-gradient(circle, rgba(255, 255, 255, .16), transparent 70%); }
.tt-hero::after { width: 360px; height: 360px; right: 26%; top: -80px; background: radial-gradient(circle, rgba(163, 43, 153, .35), transparent 70%); }
.tt-hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; gap: 40px; align-items: center; }
.tt-hero h1 { font-size: clamp(34px, 4.3vw, 54px); font-weight: 700; line-height: 1.08; margin-bottom: 18px; text-shadow: 0 2px 18px rgba(41, 45, 50, .12); }
.tt-hero-sous { font-family: var(--titres); font-weight: 400; font-size: clamp(20px, 2vw, 26px); line-height: 1.35; margin-bottom: 18px; }
.tt-hero-typed { display: flex; align-items: center; gap: 12px; font-family: var(--titres); font-size: clamp(19px, 1.9vw, 25px); min-height: 38px; margin-bottom: 26px; }
.tt-hero-typed svg { flex: none; opacity: .9; }
.tt-typed { color: #fff; border-right: 2px solid #fff; padding-right: 4px; white-space: nowrap; overflow: hidden; background: linear-gradient(90deg, #FFE3FB, #fff); -webkit-background-clip: text; background-clip: text; }
.tt-recherche {
	display: flex; align-items: center; gap: 10px; max-width: 580px; background: #fff; color: var(--encre);
	padding: 7px 7px 7px 18px; border-radius: var(--coin); box-shadow: 0 14px 34px rgba(41, 45, 50, .2); margin-bottom: 28px;
}
.tt-recherche svg { color: var(--gris); flex: none; }
.tt-recherche input { flex: 1; min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; font-size: 16px; padding: 10px 0; color: var(--encre); -webkit-text-fill-color: var(--encre); }
.tt-recherche button { border: 0; cursor: pointer; background: var(--magenta); color: #fff; font-family: var(--titres); font-size: 17px; font-weight: 500; padding: 11px 22px; border-radius: 18px 3px 18px 3px; }
.tt-recherche button:hover { background: var(--bordeaux); }
.tt-recherche-page { margin: 0 auto 40px; border: 1px solid var(--ligne); box-shadow: var(--ombre); }
.tt-hero-btns { display: flex; flex-wrap: wrap; gap: 18px 36px; }
.tt-hero-btns .tt-btn { min-width: 200px; }
.tt-hero-visuel { position: relative; }
.tt-illu { width: 100%; height: auto; display: block; filter: drop-shadow(0 30px 40px rgba(41, 45, 50, .18)); }
.tt-vague { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 90px; display: block; }

/* ------------------------------------------------------------- taches */
.tt-blob { position: absolute; pointer-events: none; z-index: 0; }
.tt-blob-bleu { width: 260px; height: 380px; left: -40px; top: 10px; background: var(--ciel); border-radius: 62% 38% 55% 45% / 45% 55% 45% 55%; }
.tt-blob-rose { width: 440px; height: 620px; right: -120px; top: -40px; background: var(--rose-pale); border-radius: 58% 42% 40% 60% / 38% 52% 48% 62%; }
.tt-blob-ciel { width: 520px; height: 480px; right: -60px; top: 60px; background: var(--bleu-pale); border-radius: 44% 56% 62% 38% / 52% 40% 60% 48%; opacity: .75; }

/* ----------------------------------------------------------- presentation */
.tt-intro-in { position: relative; z-index: 1; display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.tt-intro-visuel { display: flex; justify-content: center; }
.tt-mosaique {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 30px;
	width: min(420px, 100%); aspect-ratio: 1; background: #fff;
	border-radius: 120px 18px 120px 18px; box-shadow: var(--ombre-f);
}
.tt-mosaique span { display: grid; place-items: center; background: var(--ciel); border-radius: 50%; }
.tt-mosaique span:nth-child(2n) { background: var(--rose-pale); }
.tt-mosaique .tt-ico { width: 58%; height: 58%; }
.tt-intro-texte h2 { font-size: clamp(30px, 3.3vw, 42px); font-weight: 500; color: var(--gris); margin-bottom: 14px; }
.tt-intro-texte h2 + p { font-family: var(--titres); font-size: 21px; line-height: 1.45; color: var(--bordeaux); }
.tt-intro-texte p { color: var(--gris); }
.tt-intro-texte strong { color: var(--encre); }
.tt-chiffres { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 26px; }
.tt-chiffre { display: flex; flex-direction: column; align-items: center; min-width: 124px; padding: 10px 18px; background: var(--bordeaux); color: #fff; border-radius: 3px; font-family: var(--titres); font-size: 16px; line-height: 1.25; text-align: center; }
.tt-chiffre strong, .tt-intro-texte .tt-chiffre strong { font-size: 24px; font-weight: 700; color: #fff; }

/* ------------------------------------------------------------- categories */
.tt-rubriques { overflow: hidden; }
.tt-rubriques-in { position: relative; z-index: 1; }
.tt-rubriques-tete { text-align: center; max-width: 820px; margin: 0 auto 44px; }
.tt-rubriques-tete h2 { font-size: clamp(30px, 3vw, 40px); font-weight: 400; margin-bottom: 8px; }
.tt-rubriques-tete h2 strong { font-weight: 700; }
.tt-rubriques-tete p { font-family: var(--titres); font-size: 24px; font-weight: 300; line-height: 1.3; color: var(--encre); margin: 0; }
.tt-grille-rub { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.tt-carte-rub {
	position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
	background: #fff; color: var(--encre); text-decoration: none; padding: 26px 20px 20px;
	border: 1px solid var(--ligne); border-radius: var(--coin); transition: transform .25s, box-shadow .25s, border-color .25s;
}
.tt-carte-rub:hover, .tt-carte-rub:focus-visible { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(163, 43, 153, .2); border-color: var(--magenta); color: var(--encre); }
.tt-carte-rub:focus-visible { outline: 3px solid var(--bleu); outline-offset: 3px; }
.tt-rub-ico { position: relative; width: 84px; height: 76px; margin-bottom: 10px; }
.tt-rub-ico::before { content: ""; position: absolute; width: 64px; height: 64px; left: 14px; top: 12px; border-radius: 50%; background: var(--bleu); }
.tt-rub-ico .tt-ico { position: relative; width: 66px; height: 66px; margin: 0 auto; }
.tt-rub-nom { font-family: var(--titres); font-size: 22px; font-weight: 600; color: var(--magenta); line-height: 1.2; margin-bottom: 8px; }
.tt-rub-desc { font-size: 14.5px; line-height: 1.5; color: var(--encre); margin-bottom: 18px; flex: 1; }
.tt-rub-pied { width: 100%; display: flex; align-items: center; justify-content: space-between; font-family: var(--titres); font-size: 16px; font-weight: 600; }
.tt-rub-pied > span:first-child { display: inline-flex; align-items: center; gap: 10px; }
.tt-rub-nb { font-size: 13px; font-weight: 500; min-width: 28px; padding: 3px 8px; border-radius: 999px; background: var(--ciel); color: var(--encre); }
.tt-carte-rub.is-vedette { background: var(--magenta); border-color: var(--magenta); color: #fff; }
.tt-carte-rub.is-vedette .tt-rub-nom, .tt-carte-rub.is-vedette .tt-rub-desc { color: #fff; }
.tt-carte-rub.is-vedette .tt-rub-nb { background: rgba(255, 255, 255, .22); color: #fff; }
.tt-carte-rub.is-vedette:hover { color: #fff; }
/* Une derniere carte seule sur sa ligne s etire en bandeau plutot que de rester orpheline. */
.tt-carte-rub:last-child:nth-child(4n+1) { grid-column: 1 / -1; flex-direction: row; align-items: center; text-align: left; gap: 22px; padding: 18px 26px; }
.tt-carte-rub:last-child:nth-child(4n+1) .tt-rub-ico { margin: 0; flex: none; }
.tt-carte-rub:last-child:nth-child(4n+1) .tt-rub-nom { margin: 0; min-width: 150px; }
.tt-carte-rub:last-child:nth-child(4n+1) .tt-rub-desc { margin: 0; }
.tt-carte-rub:last-child:nth-child(4n+1) .tt-rub-pied { width: auto; flex: none; gap: 14px; }

/* ------------------------------------------------------------ bandeau CTA */
.tt-cta { background: var(--ciel); padding: 20px 0; }
.tt-cta-in { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.tt-cta-fleche { width: 490px; max-width: 42%; height: auto; flex: none; }
.tt-cta-boite {
	display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
	background: var(--bleu-f); color: #fff; padding: 16px 20px 16px 34px; border-radius: 0 0 26px 0; margin-left: auto;
}
.tt-cta-boite p { margin: 0; font-family: var(--titres); font-size: 21px; font-weight: 500; line-height: 1.25; }
.tt-btn-coin-magenta { background: var(--magenta); }

/* ------------------------------------------------------------ top chaines */
.tt-top { background: var(--degrade-diag); color: #fff; overflow: hidden; }
.tt-top::before {
	content: ""; position: absolute; inset: 0; opacity: .1;
	background-image: radial-gradient(circle at 20% 30%, #fff 0 2px, transparent 3px), radial-gradient(circle at 70% 70%, #fff 0 2px, transparent 3px);
	background-size: 120px 120px, 160px 160px;
}
.tt-top .tt-wrap { position: relative; }
.tt-top-titre { text-align: center; font-size: clamp(28px, 3.3vw, 40px); font-weight: 300; margin-bottom: 40px; color: #fff; }
.tt-top-titre strong { font-weight: 700; }
.tt-carrousel { position: relative; padding: 0 44px; }
.tt-car-piste { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 2px 22px; scrollbar-width: none; }
.tt-car-piste::-webkit-scrollbar { display: none; }
.tt-carte-top {
	position: relative; scroll-snap-align: start; display: flex; flex-direction: column; min-height: 330px;
	background: #fff; color: var(--gris); text-decoration: none; padding: 28px 28px 26px; border-radius: 22px; box-shadow: 0 16px 36px rgba(41, 45, 50, .18);
	transition: transform .25s;
}
.tt-carte-top:hover { transform: translateY(-5px); color: var(--gris); }
.tt-top-rang { font-family: var(--titres); font-size: 28px; font-weight: 700; color: var(--etoile); margin-bottom: 12px; line-height: 1; }
.tt-top-extrait { font-size: 14.5px; line-height: 1.6; flex: 1; }
.tt-top-guill { position: absolute; right: 26px; top: 120px; font-family: Georgia, serif; font-size: 120px; line-height: 1; color: #C4C4C4; }
.tt-top-pied { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.tt-top-pied /* ---------------------------------------------------------------- avatars */
.tt-avatar { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--bleu); }
.tt-top-nom { display: block; font-family: var(--titres); font-size: 21px; font-weight: 600; color: var(--bleu-f); line-height: 1.2; }
.tt-top-info { display: block; font-family: var(--titres); font-size: 15px; color: var(--gris); }
.tt-car-btn { position: absolute; top: 50%; transform: translateY(-50%); background: none; border: 0; color: #fff; cursor: pointer; padding: 6px; z-index: 2; }
.tt-car-prec { left: 0; }
.tt-car-prec svg { transform: rotate(90deg); }
.tt-car-suiv { right: 0; }
.tt-car-suiv svg { transform: rotate(-90deg); }
.tt-car-btn:disabled { opacity: .3; cursor: default; }

.tt-avatar {
	--s: 56px; width: var(--s); height: var(--s); flex: none; border-radius: 50%;
	display: grid; place-items: center; color: #fff; font-family: var(--titres); font-weight: 700;
	font-size: calc(var(--s) * .44); line-height: 1; text-transform: uppercase;
}
.tt-avatar-0 { background: linear-gradient(135deg, #50AAE6, #A32B99); }
.tt-avatar-1 { background: linear-gradient(135deg, #A32B99, #882332); }
.tt-avatar-2 { background: linear-gradient(135deg, #2B86C5, #6D5BC8); }

/* ------------------------------------------------------------- pourquoi */
.tt-pourquoi { overflow: hidden; }
.tt-pourquoi-in { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: center; }
.tt-pourquoi-visuel { display: flex; justify-content: center; }
.tt-bouclier {
	width: min(380px, 100%); aspect-ratio: 1; display: grid; place-items: center; color: #fff;
	background: var(--degrade-diag); border-radius: 50% 50% 50% 50% / 58% 58% 42% 42%; box-shadow: var(--ombre-f);
}
.tt-bouclier svg { width: 44%; height: 44%; stroke-width: 1.4; }
.tt-pourquoi-photo {
	margin: 0; width: min(420px, 100%); aspect-ratio: 1; overflow: hidden;
	border-radius: 50% 50% 50% 50% / 58% 58% 42% 42%; box-shadow: var(--ombre-f);
}
.tt-pourquoi-photo img { width: 100%; height: 100%; object-fit: cover; }
.tt-pourquoi-texte h2 { font-size: clamp(28px, 3vw, 38px); font-weight: 600; }
.tt-pourquoi-intro { font-family: var(--titres); font-size: 19px; line-height: 1.45; color: var(--bordeaux); margin-bottom: 26px; }
.tt-coches { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.tt-coches li { display: flex; align-items: center; gap: 16px; font-family: var(--titres); font-size: 21px; line-height: 1.3; }
.tt-coches svg { flex: none; color: #fff; fill: var(--magenta); stroke: #fff; }

/* ------------------------------------------------------------------ FAQ */
.tt-faq { overflow: hidden; }
.tt-faq .tt-wrap { position: relative; z-index: 1; }
.tt-faq-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 52px; align-items: start; max-width: 1340px; margin: 0 auto; }
.tt-faq-col { display: grid; gap: 14px; }
.tt-faq-item { background: var(--ciel); border: 1px solid #A9A9A9; }
.tt-faq-item summary {
	list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
	font-family: var(--titres); font-size: 17px; line-height: 1.45; padding: 12px 0 12px 14px; position: relative;
}
.tt-faq-item summary::-webkit-details-marker { display: none; }
.tt-faq-item summary i { flex: none; width: 36px; height: 36px; margin-right: -18px; border-radius: 50%; background: #fff; border: 1px solid #A9A9A9; position: relative; }
.tt-faq-item summary i::before, .tt-faq-item summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2.5px; background: var(--encre); transform: translate(-50%, -50%); border-radius: 2px; }
.tt-faq-item summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .2s; }
.tt-faq-item[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
.tt-faq-item[open] summary i { background: var(--magenta); border-color: var(--magenta); }
.tt-faq-item[open] summary i::before, .tt-faq-item[open] summary i::after { background: #fff; }
.tt-faq-rep { margin: 0 16px 16px; padding: 12px 14px; background: #fff; border: 1px solid #C9C9C9; }
.tt-faq-rep p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--gris); }

/* --------------------------------------------------------------- guides */
.tt-grille-guides { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.tt-carte-guide { display: flex; flex-direction: column; border: 1px solid var(--ligne); background: #fff; transition: box-shadow .25s; }
.tt-carte-guide:hover { box-shadow: var(--ombre); }
.tt-cg-image { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--degrade-diag); border-bottom: 14px solid var(--bleu); overflow: hidden; }
.tt-cg-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.tt-carte-guide:hover .tt-cg-image img { transform: scale(1.04); }
.tt-cg-vide { position: absolute; inset: 0; display: grid; place-items: center; }
.tt-cg-tag { position: absolute; left: 10px; top: 10px; font-family: var(--titres); font-size: 14px; background: var(--bleu-f); color: #fff; padding: 6px 10px; border-radius: 10px 2px 10px 2px; }
.tt-cg-corps { display: flex; flex-direction: column; padding: 22px 20px 20px; flex: 1; }
.tt-cg-date { font-family: var(--titres); font-size: 15px; color: var(--magenta); margin-bottom: 8px; }
.tt-cg-titre { font-family: var(--corps); font-size: 17px; font-weight: 600; line-height: 1.3; margin-bottom: 12px; }
.tt-cg-titre a { color: #000; text-decoration: none; }
.tt-cg-titre a:hover { color: var(--magenta); }
.tt-cg-extrait { font-size: 14.5px; line-height: 1.6; color: var(--gris-2); flex: 1; }
.tt-cg-corps .tt-btn-coin { align-self: flex-end; }

/* -------------------------------------------------------- pages interieures */
.tt-bandeau { position: relative; background: var(--degrade); color: #fff; padding: 36px 0 120px; overflow: hidden; margin-top: -1px; }
.tt-bandeau::before { content: ""; position: absolute; inset: 0; opacity: .12; background-image: var(--motif); }
.tt-bandeau-in { position: relative; z-index: 1; }
.tt-bandeau h1 { font-size: clamp(32px, 4vw, 50px); font-weight: 700; margin-bottom: 12px; max-width: 1100px; }
.tt-bandeau-sous { font-family: var(--titres); font-size: clamp(19px, 1.9vw, 23px); line-height: 1.45; max-width: 980px; margin: 0; }
.tt-bandeau-ico { display: inline-grid; place-items: center; width: 86px; height: 86px; border-radius: 50%; background: #fff; margin: 6px 0 16px; box-shadow: 0 10px 26px rgba(41, 45, 50, .18); }
.tt-bandeau-ico .tt-ico { width: 60px; height: 60px; }
.tt-bandeau-date { display: inline-flex; align-items: center; gap: 8px; font-family: var(--titres); font-size: 16px; margin: 4px 0 10px; opacity: .95; }
.tt-fil ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0 0 18px; padding: 0; font-size: 14px; }
.tt-fil li + li::before { content: "›"; margin: 0 9px; opacity: .8; }
.tt-fil a { color: #fff; text-decoration: none; opacity: .92; }
.tt-fil a:hover { color: #fff; text-decoration: underline; }
.tt-fil span { opacity: .85; }

.tt-archive { padding-top: 40px; }
.tt-archive-nb { margin: 0; font-family: var(--titres); font-size: 20px; }
.tt-archive-nb strong { color: var(--magenta); font-size: 30px; }
.tt-vide { text-align: center; max-width: 640px; margin: 20px auto; padding: 44px 30px; background: var(--ciel); border-radius: var(--coin); }
.tt-vide p { font-size: 17px; color: var(--gris); }
.tt-editorial { background: linear-gradient(180deg, #fff 0, var(--ciel) 100%); padding-top: 40px; }

.tt-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 48px; }
.tt-pagination a, .tt-pagination span { font-family: var(--titres); min-width: 44px; padding: 9px 14px; text-align: center; border: 1px solid var(--ligne); color: var(--encre); text-decoration: none; border-radius: 10px 2px 10px 2px; }
.tt-pagination .current { background: var(--magenta); border-color: var(--magenta); color: #fff; }
.tt-pagination a:hover { border-color: var(--magenta); color: var(--magenta); }

.tt-pastilles-rub { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.tt-pastilles-rub a { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border: 1px solid var(--ligne); border-radius: 999px; color: var(--encre); text-decoration: none; font-family: var(--titres); font-size: 17px; background: #fff; transition: border-color .2s, color .2s; }
.tt-pastilles-rub a:hover { border-color: var(--magenta); color: var(--magenta); }

/* prose : textes redactionnels */
.tt-prose { font-size: 17px; line-height: 1.75; color: #3A3E43; max-width: 920px; }
.tt-prose > * + * { margin-top: 0; }
.tt-prose h2 { font-size: clamp(25px, 2.6vw, 32px); font-weight: 600; color: var(--encre); margin: 1.6em 0 .55em; scroll-margin-top: 120px; }
.tt-prose h2:first-child { margin-top: 0; }
.tt-prose h3 { font-size: 22px; font-weight: 500; color: var(--magenta); margin: 1.4em 0 .5em; }
.tt-prose ul, .tt-prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.tt-prose li { margin-bottom: .45em; }
.tt-prose ul li::marker { color: var(--magenta); }
.tt-prose a { font-weight: 500; }
.tt-prose blockquote { margin: 1.5em 0; padding: 18px 22px; background: var(--ciel); border-left: 4px solid var(--bleu); border-radius: 0 0 22px 0; }
.tt-prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 15px; display: block; overflow-x: auto; }
.tt-prose th { background: var(--magenta); color: #fff; font-family: var(--titres); font-weight: 500; text-align: left; }
.tt-prose th, .tt-prose td { padding: 10px 12px; border: 1px solid var(--ligne); }
.tt-prose tr:nth-child(even) td { background: #F7FAFD; }
.tt-page { margin: 0 auto; }

/* guide */
.tt-guide { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; padding-top: 20px; }
.tt-guide-image { margin: -80px 0 30px; border-radius: var(--coin); overflow: hidden; box-shadow: var(--ombre-f); position: relative; z-index: 2; }
.tt-chapo { font-family: var(--titres); font-size: 22px; line-height: 1.45; color: var(--bordeaux); margin-bottom: 28px; }
.tt-guide-cote { position: sticky; top: 124px; display: grid; gap: 22px; }
.tt-sommaire { border: 1px solid var(--ligne); border-top: 4px solid var(--magenta); padding: 18px 20px; background: #fff; }
.tt-sommaire-titre { font-family: var(--titres); font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.tt-sommaire ol { margin: 0; padding-left: 1.2em; font-size: 14.5px; }
.tt-sommaire li { margin-bottom: 7px; }
.tt-sommaire a { color: var(--encre); text-decoration: none; }
.tt-sommaire a:hover { color: var(--magenta); }
.tt-cote-cta { background: var(--degrade-diag); color: #fff; padding: 22px; border-radius: var(--coin); }
.tt-cote-cta p { font-family: var(--titres); font-size: 22px; line-height: 1.25; }

/* formulaires */
.tt-form { display: grid; gap: 18px; max-width: 720px; margin-top: 30px; padding: 30px; background: var(--ciel); border-radius: var(--coin); }
.tt-form-ligne { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.tt-form label { display: flex; flex-direction: column; gap: 7px; font-family: var(--titres); font-size: 17px; color: var(--encre); }
.tt-form input:not([type="checkbox"]), .tt-form textarea, .tt-form select {
	font-family: var(--corps); font-size: 16px; padding: 12px 14px; border: 1px solid #BFCAD4; border-radius: 10px 2px 10px 2px;
	background: #fff; color: var(--encre); -webkit-text-fill-color: var(--encre); outline: 0; width: 100%;
}
.tt-form select { -webkit-appearance: none; appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23292D32' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 14px center; padding-right: 36px; }
.tt-form input:focus, .tt-form textarea:focus, .tt-form select:focus { border-color: var(--magenta); box-shadow: 0 0 0 3px rgba(163, 43, 153, .15); }
.tt-form .tt-form-case { flex-direction: row; align-items: flex-start; gap: 12px; font-family: var(--corps); font-size: 14.5px; line-height: 1.5; }
.tt-form-case input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--magenta); flex: none; }
.tt-form .tt-btn { justify-self: start; }
.tt-form .tt-btn[disabled] { opacity: .6; cursor: default; transform: none; }
.tt-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.tt-form-msg { margin: 0; min-height: 22px; font-weight: 500; }
.tt-form-msg.is-ok { color: var(--vert); }
.tt-form-msg.is-err { color: var(--bordeaux); }
.tt-plan ul { columns: 2; column-gap: 40px; }

/* ---------------------------------------------------------------- pied */
.tt-pied { position: relative; margin-top: 40px; color: #fff; }
.tt-pied-vague { line-height: 0; }
.tt-pied-vague svg { width: 100%; height: 110px; display: block; }
.tt-pied-fond { background: var(--degrade); padding: 30px 0 0; margin-top: -1px; }
.tt-pied-grille { display: grid; grid-template-columns: 1.3fr .9fr .8fr 1.1fr; gap: 40px; align-items: start; padding-bottom: 44px; }
.tt-pied-marque { padding-right: 20px; }
.tt-pied-cadre { display: flex; margin-bottom: 18px; }
.tt-pied-marque p { font-size: 14.5px; line-height: 1.6; margin: 0; }
.tt-pied-titre { font-family: var(--titres); font-size: 20px; font-weight: 700; margin-bottom: 14px; }
.tt-pied ul { list-style: none; margin: 0; padding: 0; }
.tt-pied-col li { margin-bottom: 8px; }
.tt-pied-rubs { columns: 2; column-gap: 20px; }
.tt-pied a { color: #fff; text-decoration: none; }
.tt-pied a:hover { color: #fff; text-decoration: underline; }
.tt-pied .tt-logo:hover, .tt-pied .tt-logo:focus { text-decoration: none; }
.tt-pied-col a { font-size: 15px; opacity: .95; }
.tt-pied-pret { background: var(--bleu-f); padding: 24px; border-radius: 22px 0 0 0; }
.tt-pied-pret-titre { font-family: var(--titres); font-size: 24px; font-weight: 700; line-height: 1.2; margin-bottom: 6px; }
.tt-pied-pret p { font-family: var(--titres); font-size: 18px; }
.tt-pied-pret .tt-btn { font-size: 17px; padding: 12px 22px; }
.tt-pied-bas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; padding-block: 18px 22px; border-top: 1px solid rgba(255, 255, 255, .3); font-size: 14px; }
.tt-pied-bas p { margin: 0; }
.tt-pied-bas > ul { display: flex; flex-wrap: wrap; gap: 20px; margin-right: auto; }
/* Le panneau de langues du pied vit DANS .tt-pied-bas : les regles de liste du pied
   (flex + gap 20px, padding 0) le depliaient en ligne. On lui rend la mise en page de
   l en-tete, a l identique. */
.tt-pied .tt-langues-liste { display: block; gap: 0; margin: 0; padding: 8px; min-width: 190px; }
.tt-pied .tt-langues-liste li { margin: 0; }
.tt-langues-pied .tt-langues-liste { top: auto; bottom: calc(100% + 10px); }
.tt-pied .tt-langues-liste a { color: var(--encre); text-decoration: none; }
.tt-pied .tt-langues-liste a:hover { background: var(--ciel); color: var(--magenta); text-decoration: none; }
.tt-pied .tt-langues-liste a.is-courante { background: var(--magenta); color: #fff; }

/* ------------------------------------------------------------ porte d age */
.tt-adulte.tt-age-attente .tt-main { filter: blur(14px); }
.tt-age { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 20px; background: rgba(41, 45, 50, .72); }
.tt-age-boite { max-width: 460px; background: #fff; text-align: center; padding: 34px 30px; border-radius: var(--coin); box-shadow: var(--ombre-f); }
.tt-age-badge { display: inline-grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--degrade-diag); color: #fff; font-family: var(--titres); font-size: 26px; font-weight: 700; margin-bottom: 14px; }
.tt-age-titre { font-family: var(--titres); font-size: 26px; font-weight: 600; margin-bottom: 8px; }
.tt-age-actions { display: grid; gap: 10px; margin-top: 20px; }

/* ---------------------------------------------------------------- responsive */
/* Encart « guide a lire » : maillage categorie/fiche -> guide (SEO 2026-09-14) */
.tt-guide-lie { display: flex; align-items: center; gap: 22px; margin-top: 40px; padding: 18px 22px; background: var(--ciel); border-radius: var(--coin); }
.tt-guide-lie-img { flex: none; width: 180px; }
.tt-guide-lie-img img { display: block; width: 100%; height: auto; border-radius: 14px; }
.tt-guide-lie-sur { margin: 0 0 4px; font-family: var(--titres); font-size: 15px; letter-spacing: .02em; color: #882332; }
.tt-guide-lie-titre { margin: 0; font-family: var(--titres); font-size: 22px; line-height: 1.25; }
.tt-guide-lie-titre a { color: var(--encre); text-decoration: none; }
.tt-guide-lie-titre a:hover { color: #A32B99; text-decoration: underline; }
.tt-guide-lie.is-cote { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 24px; }
.tt-guide-lie.is-cote .tt-guide-lie-img { width: 100%; }
.tt-guide-lie.is-cote .tt-guide-lie-titre { font-size: 19px; }
@media (max-width: 700px) {
	.tt-guide-lie { flex-direction: column; align-items: stretch; }
	.tt-guide-lie-img { width: 100%; }
}

@media (max-width: 1180px) {
	.tt-grille-rub { grid-template-columns: repeat(3, 1fr); }
	.tt-nav-lien { font-size: 16px; padding: 8px 6px; gap: 6px; }
	.tt-nav-ico, .tt-nav-ico .tt-ico { width: 28px; height: 28px; }
	.tt-entete-cta { font-size: 16px; padding: 10px 14px; }
	.tt-entete-in { gap: 18px; }
}

@media (max-width: 1080px) {
	.tt-burger { display: inline-flex; }
	.tt-entete-in { min-height: 76px; }
	.tt-entete-outils { margin-left: auto; border-left: 0; padding-left: 0; }
	.tt-nav {
		position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 14px;
		background: var(--degrade-diag); padding: 14px 24px 26px; margin: 0; box-shadow: 0 18px 30px rgba(41, 45, 50, .25);
		max-height: calc(100vh - 76px); overflow-y: auto; display: none;
	}
	.tt-nav.is-ouvert { display: flex; }
	.tt-nav-liste { flex-direction: column; align-items: stretch; }
	.tt-nav-lien { width: 100%; justify-content: flex-start; gap: 12px; font-size: 20px; padding: 12px 6px; border-bottom: 1px solid rgba(255, 255, 255, .22); border-radius: 0; }
	.tt-nav-ico, .tt-nav-ico .tt-ico { width: 32px; height: 32px; }
	.tt-nav-deroule { justify-content: flex-start; }
	.tt-mega { position: static; transform: none; width: auto; box-shadow: none; padding: 10px; display: none; opacity: 1; visibility: visible; margin: 8px 0; }
	.tt-nav-rub.is-ouvert .tt-mega { display: block; transform: none; }
	.tt-mega ul { grid-template-columns: 1fr 1fr; }
	.tt-entete-cta { text-align: center; font-size: 19px; padding: 14px; }
	/* minmax(0, 1fr) : une colonne 1fr ne descend pas sous le contenu le plus large (le champ de
	   recherche et sa largeur par defaut) ; a 344 px la banniere faisait 383 px et etait rognee. */
	.tt-hero-in, .tt-intro-in, .tt-pourquoi-in { grid-template-columns: minmax(0, 1fr); }
	.tt-hero { padding-bottom: 120px; }
	.tt-hero-visuel { max-width: 460px; margin: 0 auto; }
	.tt-intro-visuel { order: 2; }
	.tt-rubriques-tete { margin-bottom: 30px; }
	.tt-grille-rub, .tt-grille-guides { grid-template-columns: repeat(2, 1fr); }
	.tt-car-piste { grid-auto-columns: calc((100% - 24px) / 2); }
	.tt-guide { grid-template-columns: 1fr; }
	.tt-guide-cote { position: static; }
	.tt-guide-image { margin-top: -70px; }
	.tt-pied-grille { grid-template-columns: 1fr 1fr; }
	.tt-cta-fleche { display: none; }
	.tt-cta-boite { margin: 0 auto; }
}

@media (max-width: 700px) {
	.tt-wrap { padding-inline: 18px; }
	.tt-section { padding-block: 56px; }
	.tt-logo-top { font-size: 25px; }
	.tt-logo-tg { font-size: 13px; }
	.tt-logo .tt-glyphe { width: 34px; height: 34px; }
	.tt-langues-btn { padding: 7px 10px; font-size: 15px; }
	.tt-grille-rub, .tt-grille-guides, .tt-faq-grille, .tt-form-ligne { grid-template-columns: 1fr; }
	.tt-faq-grille { gap: 14px; }
	.tt-car-piste { grid-auto-columns: 86%; }
	.tt-carrousel { padding: 0; }
	.tt-car-btn { display: none; }
	.tt-hero-btns .tt-btn { width: 100%; min-width: 0; }
	.tt-recherche button { padding: 11px 14px; }
	/* Le bouton de langue du pied change de place selon la largeur (retour a la ligne) : le panneau
	   s ancre sur la barre du pied, pas sur le bouton, pour ne jamais sortir de l ecran. */
	.tt-pied-bas { position: relative; }
	.tt-pied .tt-langues { position: static; }
	.tt-pied .tt-langues-liste { right: auto; left: 0; }
	.tt-mega ul { grid-template-columns: 1fr; }
	.tt-cta-boite { padding: 16px 18px; border-radius: 0 0 22px 0; }
	.tt-cta-boite p { font-size: 19px; }
	.tt-pied-grille { grid-template-columns: 1fr; gap: 28px; }
	.tt-pied-rubs, .tt-plan ul { columns: 2; }
	.tt-form { padding: 20px; }
	.tt-mosaique { border-radius: 70px 14px 70px 14px; padding: 20px; gap: 10px; }
}

/* ==========================================================================
   Reconstruction 2026-09-15 : contenu repris de groupe-telegram.fr (photos de
   categorie, fiches titre + description + bouton), dans la charte existante.
   ========================================================================== */

/* cartes de categorie a photo (grille « Meilleurs Groupes Telegram » de la source) */
.tt-carte-rub.has-photo { padding: 0 0 20px; }
.tt-carte-rub.has-photo > span:not(.tt-rub-photo) { padding-inline: 18px; }
.tt-rub-photo { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; margin-bottom: 32px; background: var(--ciel); border-radius: 25px 3px 0 0; }
.tt-rub-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 25px 3px 0 0; }
.tt-rub-ico-mini { position: absolute; left: 50%; bottom: -26px; transform: translateX(-50%); width: 54px; height: 54px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 6px 16px rgba(41, 45, 50, .18); }
.tt-rub-ico-mini .tt-ico { width: 38px; height: 38px; }

/* mosaique de photos (presentation de l accueil) */
.tt-mosaique-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; width: min(460px, 100%); padding-bottom: 26px; }
.tt-mosaique-photos span { display: block; aspect-ratio: 1; overflow: hidden; box-shadow: var(--ombre-f); background: var(--ciel); border-radius: 10px; }
.tt-mosaique-photos span:nth-child(1) { border-radius: 110px 10px 10px 10px; }
.tt-mosaique-photos span:nth-child(2) { transform: translateY(26px); }
.tt-mosaique-photos span:nth-child(4) { border-radius: 10px 10px 110px 10px; transform: translateY(26px); }
.tt-mosaique-photos img { width: 100%; height: 100%; object-fit: cover; }

/* page de categorie : intro + photo */
.tt-rub-intro { padding-block: 40px 30px; overflow: hidden; }
.tt-rub-intro-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.tt-rub-intro-in.is-sans-photo { grid-template-columns: 1fr; }
.tt-rub-intro-texte { max-width: none; }
.tt-rub-intro-texte .tt-archive-nb { margin-top: 18px; }
.tt-rub-intro .tt-rub-photo { margin: -110px 0 0; aspect-ratio: 4 / 3; border-radius: 120px 14px 120px 14px; overflow: hidden; box-shadow: var(--ombre-f); z-index: 2; }
.tt-rub-intro .tt-rub-photo img { border-radius: 0; }

/* « comment rejoindre » */
.tt-rejoindre { display: grid; grid-template-columns: 250px 1fr; gap: 24px; align-items: center; margin: 10px 0 44px; padding: 22px 26px; background: var(--ciel); border-radius: var(--coin); }
.tt-rejoindre-titre { display: flex; align-items: center; gap: 10px; margin: 0; font-family: var(--titres); font-size: 22px; font-weight: 600; line-height: 1.2; }
.tt-rejoindre-titre svg { flex: none; fill: var(--magenta); stroke: #fff; }
.tt-rejoindre ol { list-style: none; counter-reset: etape; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tt-rejoindre li { counter-increment: etape; position: relative; padding-left: 40px; font-size: 14.5px; line-height: 1.45; }
.tt-rejoindre li::before { content: counter(etape); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--bordeaux); color: #fff; display: grid; place-items: center; font-family: var(--titres); font-weight: 700; font-size: 15px; }

/* fiches de groupe (titre, description, bouton vers Telegram) */
.tt-grille-fiches { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.tt-fiche {
	position: relative; display: flex; flex-direction: column; gap: 14px; background: #fff;
	border: 1px solid var(--ligne); border-top: 4px solid var(--bleu); border-radius: 3px; padding: 22px 24px;
	box-shadow: 0 4px 14px rgba(41, 45, 50, .06); transition: box-shadow .25s, border-color .25s; scroll-margin-top: 120px;
}
.tt-fiche:hover { box-shadow: var(--ombre-f); border-top-color: var(--magenta); }
.tt-fiche:target { border-color: var(--magenta); box-shadow: 0 0 0 3px rgba(163, 43, 153, .18), var(--ombre-f); }
.tt-fiche-tete { display: flex; align-items: center; gap: 14px; }
.tt-fiche-tete .tt-avatar { flex: none; }
.tt-fiche-titre { margin: 0; font-size: 22px; font-weight: 600; line-height: 1.25; color: var(--encre); overflow-wrap: anywhere; }
.tt-fiche-texte { flex: 1; }
.tt-fiche-texte p { margin: 0 0 .6em; font-size: 15.5px; line-height: 1.6; color: var(--gris); }
.tt-fiche-texte p:last-child { margin-bottom: 0; }
.tt-fiche-btn {
	align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; max-width: 100%;
	background: var(--magenta); color: #fff; text-decoration: none; font-family: var(--titres); font-size: 17px; font-weight: 500; line-height: 1.25;
	padding: 11px 22px; border-radius: 18px 3px 18px 3px; transition: background .2s, transform .2s;
}
.tt-fiche-btn:hover { background: var(--bordeaux); color: #fff; transform: translateY(-2px); }
.tt-fiche-rub { position: absolute; top: -13px; right: 16px; font-family: var(--titres); font-size: 13px; background: var(--bleu-f); color: #fff; padding: 4px 10px; border-radius: 8px 2px 8px 2px; text-decoration: none; }
.tt-fiche-rub:hover { background: var(--magenta); color: #fff; }
.tt-resultats-guides { margin-top: 50px; }

/* blocs de texte de l accueil */
.tt-accueil-blocs-in { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; align-items: start; }
.tt-bloc { max-width: none; background: #fff; padding: 30px 32px; border-radius: var(--coin); box-shadow: var(--ombre); }
.tt-bloc h2 { font-size: clamp(24px, 2.4vw, 30px); }
.tt-regles { margin-top: 26px; padding: 16px 20px; border-left: 4px solid var(--bordeaux); background: var(--rose-pale); border-radius: 0 0 22px 0; font-size: 15px; }
.tt-regles p { margin: 0; }
.tt-faq-intro { max-width: 760px; margin: -26px auto 34px; text-align: center; color: var(--gris); }

@media (max-width: 1080px) {
	.tt-rub-intro-in, .tt-accueil-blocs-in { grid-template-columns: 1fr; }
	.tt-rub-intro .tt-rub-photo { margin-top: 0; max-width: 560px; }
	.tt-rejoindre { grid-template-columns: 1fr; }
	.tt-rejoindre ol { grid-template-columns: repeat(2, 1fr); }
	.tt-mosaique-photos { width: min(420px, 100%); }
}
@media (max-width: 860px) {
	.tt-grille-fiches { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
	.tt-rejoindre ol { grid-template-columns: 1fr; }
	.tt-bloc { padding: 22px 20px; }
	.tt-fiche { padding: 20px 18px; }
	.tt-fiche-titre { font-size: 20px; }
	.tt-mosaique-photos span:nth-child(2n) { transform: none; }
}

/* ==========================================================================
   Animations (revision du 2026-09-16, mesuree par brand/seo/banc_animations.py).
   - Apparitions : [data-anim] n est pose par assets/anim.js que sur ce qui est SOUS
     la ligne de flottaison, et retire une fois l animation jouee (les survols et les
     transitions propres des cartes reprennent la main).
   - Haut de page : entree en CSS pur, par translation seule (jamais d opacite a 0 sur
     ce que le visiteur voit en premier, pour ne retarder ni l affichage ni le LCP).
   - prefers-reduced-motion : le bloc de fin de feuille coupe tout.
   ========================================================================== */
.tt-anim [data-anim] { opacity: 0; transition: opacity .8s cubic-bezier(.22, .61, .36, 1) var(--tt-delai, 0ms), transform .8s cubic-bezier(.22, .61, .36, 1) var(--tt-delai, 0ms); }
.tt-anim [data-anim="fade-up"] { transform: translateY(28px); }
.tt-anim [data-anim="fade-left"] { transform: translateX(32px); }
.tt-anim [data-anim="fade-right"] { transform: translateX(-32px); }
.tt-anim [data-anim="zoom"] { transform: scale(.94); }
.tt-anim [data-anim].is-vu { opacity: 1; transform: none; }

/* Entree du haut de page */
@keyframes tt-entree { from { transform: translateY(16px); } to { transform: none; } }
.tt-hero-texte, .tt-bandeau-in { animation: tt-entree .7s cubic-bezier(.22, .61, .36, 1) both; }

/* Decor : flottement lent. Anime sur le conteneur de l illustration, pas sur le SVG a ombre
   portee (filter) : le calque est compose une fois au lieu d etre re-rasterise en continu. */
@keyframes tt-flotte { from { transform: translateY(-10px); } to { transform: translateY(10px); } }
.tt-blob { animation: tt-flotte 11s ease-in-out infinite alternate; }
.tt-blob-rose { animation-duration: 14s; animation-delay: -3s; }
.tt-blob-ciel { animation-duration: 16s; animation-delay: -6s; }
.tt-hero-visuel { animation: tt-flotte 9s ease-in-out infinite alternate; }

/* Un glisse lateral ne doit jamais elargir la page (mobile). */
.tt-main { overflow-x: clip; }

/* Survols */
/* Cartes de categorie (revision du 2026-09-17). La photo zoome DANS un cadre a overflow hidden :
   avant, l image agrandie sortait des coins arrondis. La pastille d icone reste hors du cadre
   (elle chevauche le bas de la photo). Survol et focus clavier donnent le meme retour. */
.tt-rub-photo-cadre { position: absolute; inset: 0; overflow: hidden; border-radius: 25px 3px 0 0; }
.tt-rub-photo-cadre::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(163, 43, 153, 0) 35%, rgba(163, 43, 153, .5)); opacity: 0; transition: opacity .35s; }
.tt-rub-photo img { transition: transform .6s cubic-bezier(.22, .61, .36, 1); }
.tt-carte-rub:hover .tt-rub-photo img, .tt-carte-rub:focus-visible .tt-rub-photo img { transform: scale(1.08); }
.tt-carte-rub:hover .tt-rub-photo-cadre::after, .tt-carte-rub:focus-visible .tt-rub-photo-cadre::after { opacity: 1; }
.tt-rub-ico-mini { transition: transform .35s cubic-bezier(.34, 1.56, .64, 1), box-shadow .35s; }
.tt-carte-rub:hover .tt-rub-ico-mini, .tt-carte-rub:focus-visible .tt-rub-ico-mini { transform: translateX(-50%) scale(1.12) rotate(-8deg); box-shadow: 0 0 0 5px rgba(163, 43, 153, .22), 0 8px 18px rgba(41, 45, 50, .2); }
.tt-rub-ico .tt-ico { transition: transform .35s cubic-bezier(.34, 1.56, .64, 1); }
.tt-carte-rub:hover .tt-rub-ico .tt-ico, .tt-carte-rub:focus-visible .tt-rub-ico .tt-ico { transform: scale(1.1) rotate(-6deg); }
.tt-rub-pied > span:first-child { transition: color .25s; }
.tt-rub-pied svg { transition: transform .25s; }
.tt-rub-nb { transition: background-color .25s, color .25s; }
.tt-carte-rub:hover .tt-rub-pied > span:first-child, .tt-carte-rub:focus-visible .tt-rub-pied > span:first-child { color: var(--magenta); }
.tt-carte-rub:hover .tt-rub-pied svg, .tt-carte-rub:focus-visible .tt-rub-pied svg { transform: translateX(6px); }
.tt-carte-rub:hover .tt-rub-nb, .tt-carte-rub:focus-visible .tt-rub-nb { background: var(--magenta); color: #fff; }
/* Carte vedette (fond magenta) : memes gestes, couleurs inversees */
.tt-carte-rub.is-vedette:hover, .tt-carte-rub.is-vedette:focus-visible { border-color: var(--magenta); box-shadow: 0 22px 48px rgba(163, 43, 153, .38); }
.tt-carte-rub.is-vedette:hover .tt-rub-pied > span:first-child, .tt-carte-rub.is-vedette:focus-visible .tt-rub-pied > span:first-child { color: #fff; }
.tt-carte-rub.is-vedette:hover .tt-rub-nb, .tt-carte-rub.is-vedette:focus-visible .tt-rub-nb { background: #fff; color: var(--magenta); }
.tt-avatar { transition: transform .25s; }
.tt-carte-top:hover .tt-avatar { transform: scale(1.06); }

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

/* Petits telephones (344-414 px) */
@media (max-width: 420px) {
	.tt-wrap { padding-inline: 16px; }
	.tt-hero { padding-top: 28px; }
	.tt-hero-sous { font-size: 19px; }
	.tt-recherche { padding-left: 12px; gap: 8px; }
	.tt-recherche input { font-size: 15px; }
	.tt-recherche button { padding: 10px 12px; font-size: 16px; }
}
