/**
 * 3D Communication – Design System
 * -----------------------------------------------------------------------------
 * Reproduction fidèle du design Figma Make / React.
 * Toutes les valeurs (couleurs, espacements, rayons, ombres, typographie,
 * transitions) sont issues du projet d'origine. Rien n'est réinventé.
 *
 * Convention : tout est préfixé « tc- » (théme 3D Communication) et « --tc-* »
 * pour garantir zéro collision avec WordPress, Elementor ou d'autres plugins.
 *
 * Aucune règle ne cible de sélecteur d'élément nu (h1, p, a, section...) :
 * cela évite que le thème n'affecte les widgets construits dans Elementor.
 * -----------------------------------------------------------------------------
 */

/* =========================================================================
 * 1. TOKENS – Variables globales
 * ========================================================================= */
:root {
	/* --- Couleurs de marque (identiques au projet) --- */
	--tc-primary: #012d38;
	--tc-primary-light: #013d4d;
	--tc-accent: #bb9f48;
	--tc-accent-hover: #a68b3d;
	--tc-accent-light: #fcc084;
	--tc-white: #ffffff;

	/* --- Nuances de gris (échelle Tailwind utilisée par le React) --- */
	--tc-gray-50: #f9fafb;
	--tc-gray-100: #f3f4f6;
	--tc-gray-200: #e5e7eb;
	--tc-gray-300: #d1d5db;
	--tc-gray-400: #9ca3af;
	--tc-gray-500: #6b7280;
	--tc-gray-600: #4b5563;
	--tc-gray-700: #374151;
	--tc-gray-800: #1f2937;
	--tc-gray-900: #111827;
	--tc-gray-950: #030712;

	/* --- Typographie ---
	 * Pile système par défaut de Tailwind Preflight (celle réellement rendue
	 * par le projet React, qui ne définissait pas de police custom). */
	--tc-font-sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
		"Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif,
		"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";

	--tc-text-sm: 0.875rem;
	--tc-text-base: 1rem;
	--tc-text-lg: 1.125rem;
	--tc-text-xl: 1.25rem;
	--tc-text-2xl: 1.5rem;
	--tc-text-3xl: 1.875rem;
	--tc-text-4xl: 2.25rem;
	--tc-text-5xl: 3rem;
	--tc-text-6xl: 3.75rem;
	--tc-text-9xl: 8rem;

	--tc-leading-tight: 1.25;
	--tc-leading-normal: 1.5;
	--tc-leading-relaxed: 1.625;

	--tc-weight-normal: 400;
	--tc-weight-medium: 500;
	--tc-weight-semibold: 600;
	--tc-weight-bold: 700;

	/* --- Échelle d'espacement (Tailwind) --- */
	--tc-space-1: 0.25rem;
	--tc-space-2: 0.5rem;
	--tc-space-3: 0.75rem;
	--tc-space-4: 1rem;
	--tc-space-5: 1.25rem;
	--tc-space-6: 1.5rem;
	--tc-space-8: 2rem;
	--tc-space-10: 2.5rem;
	--tc-space-12: 3rem;
	--tc-space-16: 4rem;
	--tc-space-20: 5rem;
	--tc-space-24: 6rem;
	--tc-space-32: 8rem;
	--tc-space-40: 10rem;

	/* --- Rayons (Tailwind) --- */
	--tc-radius-lg: 0.5rem;
	--tc-radius-xl: 0.75rem;
	--tc-radius-2xl: 1rem;
	--tc-radius-3xl: 1.5rem;
	--tc-radius-full: 9999px;

	/* --- Ombres (valeurs exactes Tailwind, telles que rendues par le React) --- */
	--tc-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
	--tc-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
	--tc-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
	--tc-shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

	/* --- Transitions (durées Tailwind par défaut du React) --- */
	--tc-duration: 150ms;
	--tc-duration-slow: 500ms;
	--tc-transition-colors: color var(--tc-duration) ease,
		background-color var(--tc-duration) ease, border-color var(--tc-duration) ease;
	--tc-transition-all: all var(--tc-duration) ease;

	/* --- Mise en page --- */
	--tc-container-pad: var(--tc-space-4); /* px-4 (2rem à partir de lg, cf. media query) */
	--tc-header-height: 80px;

	/* --- Z-index --- */
	--tc-z-header: 50;

	/* =====================================================================
	 * TOKENS SÉMANTIQUES – valeurs du mode clair.
	 * Ces variables sont basculées en mode sombre dans dark-mode.css.
	 * Les composants ci-dessous ne consomment QUE ces tokens sémantiques,
	 * ce qui garantit un rendu identique et un dark mode sans duplication.
	 * ===================================================================== */
	--tc-body-bg: var(--tc-white);
	--tc-body-text: var(--tc-gray-900);
	--tc-heading: var(--tc-primary);
	--tc-muted: var(--tc-gray-600);
	--tc-muted-strong: var(--tc-gray-700);

	--tc-surface: var(--tc-white);      /* sections « bg-white » */
	--tc-surface-2: var(--tc-gray-50);  /* sections « bg-gray »  */

	--tc-card-bg: var(--tc-white);
	--tc-card-bg-alt: var(--tc-white);  /* service / article cards */
	--tc-card-border: transparent;


	--tc-header-bg: var(--tc-white);
	--tc-header-border: var(--tc-gray-100);
	--tc-footer-bg: var(--tc-primary);

	--tc-accent-text: var(--tc-accent); /* liens/badges accent (→ accent-light en sombre) */
	--tc-nav-link: var(--tc-gray-600);
	--tc-nav-active: var(--tc-primary);

	--tc-toggle-bg: var(--tc-gray-100);
	--tc-toggle-bg-hover: var(--tc-gray-200);
}

/* =========================================================================
 * 2. BASE – réglages globaux sûrs (compatibles Elementor)
 * On se limite au strict nécessaire, sans styliser d'éléments de contenu.
 * ========================================================================= */
*,
*::before,
*::after {
	box-sizing: border-box;
}

img {
	max-width: 100%;
	height: auto;
}

/* =========================================================================
 * 3. TYPOGRAPHIE – classes utilitaires (jamais d'éléments nus)
 * ========================================================================= */
.tc-eyebrow {
	display: inline-block;
	font-weight: var(--tc-weight-medium);
}

.tc-h1 {
	font-size: var(--tc-text-4xl);
	font-weight: var(--tc-weight-bold);
	line-height: var(--tc-leading-tight);
	color: var(--tc-heading);
}

.tc-h2 {
	font-size: var(--tc-text-3xl);
	font-weight: var(--tc-weight-bold);
	line-height: var(--tc-leading-tight);
	color: var(--tc-heading);
}

.tc-h3 {
	font-size: var(--tc-text-xl);
	font-weight: var(--tc-weight-bold);
	line-height: var(--tc-leading-normal);
	color: var(--tc-heading);
}

.tc-h4 {
	font-size: var(--tc-text-lg);
	font-weight: var(--tc-weight-bold);
	line-height: var(--tc-leading-normal);
	color: var(--tc-heading);
}

.tc-lead {
	font-size: var(--tc-text-xl);
	line-height: var(--tc-leading-relaxed);
	color: var(--tc-muted-strong);
}

.tc-text-muted {
	color: var(--tc-muted);
}

/* =========================================================================
 * 4. MISE EN PAGE – conteneur, sections, grilles
 * ========================================================================= */
.tc-container {
	width: 100%;
	margin-inline: auto;
	padding-inline: var(--tc-container-pad);
}

/* Largeurs maximales par palier, identiques au conteneur Tailwind du React
   (sm 640 · md 768 · lg 1024 · xl 1280 · 2xl 1536). */
@media (min-width: 640px)  { .tc-container { max-width: 640px; } }
@media (min-width: 768px)  { .tc-container { max-width: 768px; } }
@media (min-width: 1024px) { .tc-container { max-width: 1024px; } }
@media (min-width: 1280px) { .tc-container { max-width: 1280px; } }
@media (min-width: 1536px) { .tc-container { max-width: 1536px; } }

.tc-section {
	padding-block: var(--tc-space-24); /* py-24 (accueil) */
}

.tc-section--compact {
	padding-block: var(--tc-space-20); /* py-20 (pages internes) */
}

.tc-section--surface {
	background-color: var(--tc-surface);
	transition: var(--tc-transition-colors);
}

.tc-section--surface-2 {
	background-color: var(--tc-surface-2);
	transition: var(--tc-transition-colors);
}

.tc-section-header {
	text-align: center;
	margin-bottom: var(--tc-space-16);
}

.tc-grid {
	display: grid;
	gap: var(--tc-space-8);
}

.tc-grid--gap-sm {
	gap: var(--tc-space-6);
}

.tc-grid--gap-lg {
	gap: var(--tc-space-16);
}

/* Colonnes : mobile-first (1 colonne), enrichies dans les media queries. */
.tc-grid--2,
.tc-grid--3,
.tc-grid--4 {
	grid-template-columns: 1fr;
}

/* =========================================================================
 * 5. BOUTONS
 * ========================================================================= */
.tc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--tc-space-2);
	padding: var(--tc-space-3) var(--tc-space-6); /* défaut : px-6 py-3 */
	border: none;
	border-radius: var(--tc-radius-lg);
	font-family: inherit;
	font-size: var(--tc-text-base);
	font-weight: var(--tc-weight-normal);
	line-height: var(--tc-leading-normal);
	text-decoration: none;
	cursor: pointer;
	transition: var(--tc-transition-all);
}

.tc-btn--lg {
	padding: var(--tc-space-4) var(--tc-space-8); /* px-8 py-4 */
}

.tc-btn--primary {
	background-color: var(--tc-accent);
	color: var(--tc-white);
}

.tc-btn--primary:hover {
	background-color: var(--tc-accent-hover);
}

.tc-btn--secondary {
	background-color: var(--tc-white);
	color: var(--tc-primary);
}

.tc-btn--secondary:hover {
	background-color: var(--tc-gray-100);
}

.tc-btn--dark {
	background-color: var(--tc-primary);
	color: var(--tc-white);
}

.tc-btn--dark:hover {
	background-color: var(--tc-primary-light);
}

/* Effet « pop » (hover:scale-105 + ombre) utilisé sur les CTA hero. */
.tc-btn--pop {
	box-shadow: var(--tc-shadow-xl);
}

.tc-btn--pop:hover {
	transform: scale(1.05);
}

/* Graisse medium (React : font-medium sur la plupart des CTA de contenu). */
.tc-btn--medium {
	font-weight: var(--tc-weight-medium);
}

/* Ombre portée large sans agrandissement (React : shadow-lg sans scale). */
.tc-btn--shadow-lg {
	box-shadow: var(--tc-shadow-lg);
}

/* =========================================================================
 * 6. BADGES / PASTILLES
 * ========================================================================= */
.tc-badge {
	display: inline-block;
	padding: var(--tc-space-2) var(--tc-space-4);
	border-radius: var(--tc-radius-full);
}

/* Badge de section (fond doré translucide, font-medium, mb-4). */
.tc-badge--section {
	background-color: rgba(187, 159, 72, 0.1);
	color: var(--tc-accent-text);
	font-weight: var(--tc-weight-medium);
	margin-bottom: var(--tc-space-4);
}

/* Badge hero (sur fond sombre). */
.tc-badge--hero {
	background-color: rgba(187, 159, 72, 0.2);
	border: 1px solid rgba(187, 159, 72, 0.5);
	color: var(--tc-accent-light);
	margin-bottom: var(--tc-space-6);
}

/* =========================================================================
 * 7. LIENS FLÉCHÉS
 * ========================================================================= */
.tc-link-arrow {
	display: inline-flex;
	align-items: center;
	gap: var(--tc-space-2);
	color: var(--tc-accent-text);
	font-weight: var(--tc-weight-medium);
	text-decoration: none;
	transition: gap var(--tc-duration) ease;
}

.tc-link-arrow:hover {
	gap: var(--tc-space-3);
}

/* =========================================================================
 * 8. CARTES
 * ========================================================================= */
.tc-card {
	background-color: var(--tc-card-bg);
	border: 1px solid var(--tc-card-border);
	border-radius: var(--tc-radius-2xl);
	padding: var(--tc-space-8);
	box-shadow: var(--tc-shadow-lg);
	transition: var(--tc-transition-all);
}

.tc-card:hover {
	box-shadow: var(--tc-shadow-xl);
	transform: translateY(-0.5rem);
}

/* Carte média (service / article) : image + contenu. */
.tc-media-card {
	background-color: var(--tc-card-bg-alt);
	border: 1px solid var(--tc-card-border);
	border-radius: var(--tc-radius-2xl);
	overflow: hidden;
	box-shadow: var(--tc-shadow-lg);
	transition: var(--tc-transition-all);
}

.tc-media-card:hover {
	box-shadow: var(--tc-shadow-2xl);
	transform: translateY(-0.5rem);
}

.tc-media-card__media {
	position: relative;
	height: 12rem; /* h-48 (192px) */
	overflow: hidden;
}

.tc-media-card__media--tall {
	height: 14rem; /* h-56 (224px) – cartes articles */
}

.tc-media-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--tc-duration-slow) ease;
}

.tc-media-card:hover .tc-media-card__media img {
	transform: scale(1.1);
}

.tc-media-card__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(1, 45, 56, 0.8), transparent);
}

.tc-media-card__icon {
	position: absolute;
	bottom: var(--tc-space-4);
	left: var(--tc-space-4);
	width: 3.5rem; /* 56px */
	height: 3.5rem;
	background-color: var(--tc-accent);
	border-radius: var(--tc-radius-lg);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: var(--tc-shadow-lg);
	z-index: 1;
}

.tc-media-card__body {
	padding: var(--tc-space-8);
}

/* =========================================================================
 * 9. STATISTIQUES (blocs chiffrés dégradés)
 * ========================================================================= */
.tc-stat {
	border-radius: var(--tc-radius-xl);
	padding: var(--tc-space-6);
	color: var(--tc-white);
	box-shadow: var(--tc-shadow-lg);
	background: linear-gradient(to bottom right, var(--tc-primary), var(--tc-primary-light));
}

.tc-stat--accent {
	background: linear-gradient(to bottom right, var(--tc-accent), var(--tc-accent-hover));
}

.tc-stat--accent-light {
	background: linear-gradient(to bottom right, var(--tc-accent-light), var(--tc-accent));
}

.tc-stat--mix {
	background: linear-gradient(to bottom right, var(--tc-primary), var(--tc-accent));
}

.tc-stat__number {
	font-size: var(--tc-text-4xl);
	font-weight: var(--tc-weight-bold);
	margin-bottom: var(--tc-space-2);
}

/* Libellé sous le chiffre (React : text-white/90). */
.tc-stat__label {
	color: rgba(255, 255, 255, 0.9);
}

.tc-stat__number--accent {
	color: var(--tc-accent-light);
}

/* =========================================================================
 * 10. HERO
 * ========================================================================= */
.tc-hero {
	position: relative;
	overflow: hidden;
	color: var(--tc-white);
	background: linear-gradient(to bottom right, var(--tc-primary), var(--tc-primary-light));
	padding-block: var(--tc-space-32); /* py-32 (accueil), symétrique */
}

@media (min-width: 1024px) {
	.tc-hero {
		padding-block: var(--tc-space-40); /* lg:py-40 */
	}
}

.tc-hero--compact {
	padding: var(--tc-space-24) 0; /* py-24 (pages internes) */
}

.tc-hero__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.tc-hero__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(
		to right,
		rgba(1, 45, 56, 0.95),
		rgba(1, 45, 56, 0.85),
		rgba(1, 45, 56, 0.7)
	);
}

.tc-hero__content {
	position: relative;
	z-index: 2;
	max-width: 56rem; /* 896px (max-w-4xl) */
	margin-inline: auto;
	text-align: center;
}

/* =========================================================================
 * 11. EN-TÊTE DU SITE
 * ========================================================================= */
.tc-header {
	position: sticky;
	top: 0;
	z-index: var(--tc-z-header);
	background-color: var(--tc-header-bg);
	border-bottom: 1px solid var(--tc-header-border);
	box-shadow: var(--tc-shadow-sm);
	transition: var(--tc-transition-colors);
}

.tc-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: var(--tc-header-height);
}

.tc-logo img {
	height: 3rem; /* 48px */
	width: auto;
}

.tc-nav {
	display: none;
	align-items: center;
	gap: var(--tc-space-8);
}

.tc-nav a {
	color: var(--tc-nav-link);
	text-decoration: none;
	transition: var(--tc-transition-colors);
}

.tc-nav a:hover,
.tc-nav a.is-active {
	color: var(--tc-nav-active);
}

.tc-header__actions {
	display: none;
	align-items: center;
	gap: var(--tc-space-4);
}

.tc-theme-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: var(--tc-space-2);
	border: none;
	border-radius: var(--tc-radius-lg);
	background-color: var(--tc-toggle-bg);
	color: var(--tc-primary);
	cursor: pointer;
	transition: var(--tc-transition-colors);
}

.tc-theme-toggle:hover {
	background-color: var(--tc-toggle-bg-hover);
}

.tc-menu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: var(--tc-space-2);
	background: none;
	border: none;
	color: var(--tc-body-text);
	cursor: pointer;
}

/* Menu mobile (masqué par défaut, ouvert via .is-open). */
.tc-mobile-nav {
	display: none;
	padding: var(--tc-space-4) 0;
	border-top: 1px solid var(--tc-header-border);
}

.tc-mobile-nav.is-open {
	display: block;
}

.tc-mobile-nav a {
	display: block;
	padding: var(--tc-space-3) 0;
	color: var(--tc-nav-link);
	text-decoration: none;
}

.tc-mobile-nav a.is-active {
	color: var(--tc-nav-active);
	font-weight: var(--tc-weight-medium);
}

/* =========================================================================
 * 12. PIED DE PAGE
 * ========================================================================= */
.tc-footer {
	background-color: var(--tc-footer-bg);
	color: var(--tc-white);
	padding: var(--tc-space-16) 0; /* py-16 (4rem haut et bas), fidèle au React */
	transition: var(--tc-transition-colors);
}

.tc-footer__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--tc-space-12);
	margin-bottom: var(--tc-space-12);
}

.tc-footer__logo img {
	height: 3rem;
	margin-bottom: var(--tc-space-6);
	filter: brightness(0) invert(1);
}

.tc-footer__links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.tc-footer__links li {
	margin-bottom: var(--tc-space-3);
}

.tc-footer__links li:last-child {
	margin-bottom: 0;
}

.tc-footer__links a {
	color: rgba(255, 255, 255, 0.8);
	text-decoration: none;
	transition: var(--tc-transition-colors);
}

.tc-footer__links a:hover {
	color: var(--tc-white);
}

.tc-social {
	display: flex;
	gap: var(--tc-space-4);
}

.tc-social__link {
	width: 2.5rem; /* 40px */
	height: 2.5rem;
	border-radius: var(--tc-radius-lg);
	background-color: rgba(255, 255, 255, 0.1);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--tc-white);
	transition: var(--tc-transition-colors);
}

.tc-social__link:hover {
	background-color: rgba(255, 255, 255, 0.2);
}

.tc-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-top: var(--tc-space-8);
	text-align: center;
	color: rgba(255, 255, 255, 0.6);
}

/* =========================================================================
 * 13. ICÔNES (Lucide en SVG inline)
 * ========================================================================= */
.tc-icon {
	display: inline-block;
	width: 1.25rem;
	height: 1.25rem;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
	fill: none;
	flex-shrink: 0;
}

.tc-icon--sm { width: 1rem; height: 1rem; }
.tc-icon--md { width: 1.25rem; height: 1.25rem; }
.tc-icon--lg { width: 1.5rem; height: 1.5rem; }
.tc-icon--xl { width: 1.75rem; height: 1.75rem; }

/* =========================================================================
 * 14. RESPONSIVE – points de rupture Tailwind (md: 768px, lg: 1024px)
 * ========================================================================= */
@media (min-width: 768px) {
	.tc-grid--2 { grid-template-columns: repeat(2, 1fr); }
	.tc-grid--3 { grid-template-columns: repeat(3, 1fr); }
	.tc-footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
	/* Conteneur : px-8 à partir de lg (fidèle au React : px-4 lg:px-8). */
	:root { --tc-container-pad: var(--tc-space-8); }

	.tc-grid--4 { grid-template-columns: repeat(4, 1fr); }
	.tc-footer__grid { grid-template-columns: repeat(4, 1fr); }

	.tc-nav,
	.tc-header__actions { display: flex; }

	.tc-menu-toggle { display: none; }

	/* Titres agrandis en desktop (lg:text-6xl / lg:text-5xl). */
	.tc-h1 { font-size: var(--tc-text-6xl); }
	.tc-h2 { font-size: var(--tc-text-5xl); }
}

/* =========================================================================
 * 15. STRUCTURE COMMUNE (Phase 3) – coque du site, en-tête WP, menus dynamiques
 * Ajouts nécessaires au câblage WordPress des composants Header / Footer.
 * Toutes les valeurs restent fidèles au projet React.
 * ========================================================================= */

/* Coque du site (Root.tsx : min-h-screen flex flex-col bg transition-colors). */
.tc-site {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	background-color: var(--tc-body-bg);
	transition: var(--tc-transition-colors);
}

.tc-site-main {
	flex: 1 1 auto; /* main flex-1 */
}

/* Lien d'évitement (accessibilité). Hors écran, visible au focus clavier :
   n'altère pas le rendu visuel du design. */
.tc-skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100;
	padding: var(--tc-space-2) var(--tc-space-4);
	background-color: var(--tc-primary);
	color: var(--tc-white);
	border-radius: 0 0 var(--tc-radius-lg) 0;
}

.tc-skip-link:focus {
	left: 0;
}

/* Lien logo (React : flex items-center gap-3 ; image h-12 w-auto). */
.tc-logo {
	display: inline-flex;
	align-items: center;
	gap: var(--tc-space-3);
}

.tc-logo img,
.tc-logo .custom-logo,
.custom-logo-link .custom-logo {
	height: 3rem;
	width: auto;
}

/* Navigation principale rendue via wp_nav_menu (ul > li > a). */
.tc-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: var(--tc-space-8); /* gap-8 */
}

.tc-nav a.is-active,
.tc-nav .current-menu-item > a,
.tc-nav .current_page_item > a,
.tc-nav .current-menu-ancestor > a {
	color: var(--tc-nav-active);
	font-weight: var(--tc-weight-medium);
}

/* Barre d'actions mobile (React : lg:hidden flex items-center gap-3). */
.tc-header__mobile {
	display: inline-flex;
	align-items: center;
	gap: var(--tc-space-3);
}

/* Menu mobile rendu via wp_nav_menu. */
.tc-mobile-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.tc-mobile-nav a.is-active,
.tc-mobile-nav .current-menu-item > a,
.tc-mobile-nav .current_page_item > a {
	color: var(--tc-nav-active);
	font-weight: var(--tc-weight-medium);
}

/* Bouton CTA du menu mobile (React : mt-4 block text-center, pleine largeur). */
.tc-mobile-nav .tc-btn {
	margin-top: var(--tc-space-4);
	width: 100%;
}

/* Substitution d'icône du bouton de thème : Lune (clair) / Soleil (sombre). */
.tc-theme-toggle__sun {
	display: none;
}

.dark .tc-theme-toggle__moon {
	display: none;
}

.dark .tc-theme-toggle__sun {
	display: inline-block;
}

/* Substitution d'icône du bouton menu : hamburger (fermé) / croix (ouvert). */
.tc-menu-toggle__close {
	display: none;
}

.tc-menu-toggle[aria-expanded="true"] .tc-menu-toggle__open {
	display: none;
}

.tc-menu-toggle[aria-expanded="true"] .tc-menu-toggle__close {
	display: inline-block;
}

/* Pied de page : titres de colonnes (React : font-semibold mb-4, taille de base). */
.tc-footer__title {
	font-size: var(--tc-text-base);
	font-weight: var(--tc-weight-semibold);
	margin-bottom: var(--tc-space-4);
}

/* Description sous le logo (React : text-white/80 mb-6). */
.tc-footer__desc {
	color: rgba(255, 255, 255, 0.8);
	margin-bottom: var(--tc-space-6);
}

/* Liste de coordonnées (React : space-y-3 ; items flex items-start gap-3). */
.tc-footer__contact {
	list-style: none;
	margin: 0;
	padding: 0;
}

.tc-footer__contact li {
	display: flex;
	align-items: flex-start;
	gap: var(--tc-space-3);
	margin-bottom: var(--tc-space-3);
}

.tc-footer__contact li:last-child {
	margin-bottom: 0;
}

.tc-footer__contact .tc-icon {
	margin-top: 0.125rem; /* mt-0.5 */
}

.tc-footer__contact a,
.tc-footer__contact span {
	color: rgba(255, 255, 255, 0.8);
	text-decoration: none;
	transition: var(--tc-transition-colors);
}

.tc-footer__contact a:hover {
	color: var(--tc-white);
}

/* Points de rupture desktop : masquer les éléments mobiles (React lg:hidden). */
@media (min-width: 1024px) {
	.tc-header__mobile {
		display: none;
	}

	.tc-mobile-nav,
	.tc-mobile-nav.is-open {
		display: none;
	}
}
