/*
Theme Name: AMT-RDC
Theme URI: https://amt-rdc.org
Author: AMT-RDC
Description: Thème sur-mesure du site vitrine de l'Académie de Médecine & Technologies de la RDC. Tailwind CSS, IBM Plex Sans, et tous les contenus modifiables depuis Apparence > Personnaliser.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: amt-rdc
*/

/* Ce fichier ne contient que ce que Tailwind ne couvre pas simplement. */

:focus-visible {
	outline: 3px solid #4ceb46;
	outline-offset: 3px;
	border-radius: 6px;
}

/* Conteneur des sections : marges latérales de la maquette (144 px sur 1728 px, soit 8,33 % de la largeur),
   20 px minimum sur mobile ; au-delà de 1728 px, le contenu reste centré sur 1440 px. */
.amt-container {
	width: 100%;
	max-width: 1728px;
	margin-inline: auto;
	padding-inline: clamp(20px, 8.334vw, 144px);
}
/* En-tête et page À propos : marges un peu plus larges (151 px / 152 px à 1728 px, contenu de 1425 px) */
.amt-container.amt-container-inset {
	padding-left: clamp(20px, 8.739vw, 151px);
	padding-right: clamp(20px, 8.797vw, 152px);
}

/* Échelle typographique : valeurs Figma (IBM Plex Sans) pour un cadre de 1728 px. Les grandes tailles
   diminuent en proportion sur les écrans plus étroits ; l'interlettrage est en em pour suivre la taille. */
.amt-display {            /* Titre principal (hero) : 700, 80/86 */
	font-weight: 700;
	font-size: clamp(40px, 4.63vw, 80px);
	line-height: 1.075;
	letter-spacing: 0;
}
.amt-heading {            /* Titre de section aligné à gauche : 600, 64/64 */
	font-weight: 600;
	font-size: clamp(34px, 3.704vw, 64px);
	line-height: 1;
	letter-spacing: 0;
}
.amt-heading-tight {      /* Titre de section centré : 600, 64/59, −1.51 px */
	font-weight: 600;
	font-size: clamp(34px, 3.704vw, 64px);
	line-height: .922;
	letter-spacing: -.0236em;
}
.amt-form-title {         /* Titre de formulaire : 600, 49/53, −1.6 px */
	font-weight: 600;
	font-size: clamp(32px, 2.836vw, 49px);
	line-height: 1.082;
	letter-spacing: -.0327em;
}
.amt-tile-title {         /* Texte d'un bloc illustré : 600, 48/48, −0.55 px */
	font-weight: 600;
	font-size: clamp(30px, 2.778vw, 48px);
	line-height: 1;
	letter-spacing: -.0115em;
}
.amt-subtitle {           /* Sous-titre de page détail (Objectifs, Programme) : 600, 48/48, −1 px */
	font-weight: 600;
	font-size: clamp(32px, 2.778vw, 48px);
	line-height: 1;
	letter-spacing: -.021em;
}
.amt-card-title {         /* Titre de carte : 600, 36/34 */
	font-weight: 600;
	font-size: clamp(28px, 2.0835vw, 36px);
	line-height: .944;
}
.amt-panel-title {        /* Titre d'encadré de la page Contact : 600, 28/38 */
	font-weight: 600;
	font-size: 28px;
	line-height: 1.357;
}
.amt-item-title {         /* Titre d'élément numéroté (01, 02…) : 600, 22/30 */
	font-weight: 600;
	font-size: 22px;
	line-height: 1.364;
}
.amt-aside-title {        /* Titre d'encadré latéral : 600, 25/34 */
	font-weight: 600;
	font-size: 25px;
	line-height: 1.36;
}
.amt-box-title {          /* Titre d'encadré : 600, 24/33 */
	font-weight: 600;
	font-size: 24px;
	line-height: 1.375;
}
.amt-lead {               /* Introduction (hero) : 400, 21/30 */
	font-size: clamp(18px, 1.2155vw, 21px);
	line-height: 1.4286;
}
.amt-text-lg {            /* Paragraphe de section : 400, 20/29 */
	font-size: clamp(18px, 1.1575vw, 20px);
	line-height: 1.45;
}
.amt-text-md {            /* Texte de carte : 400, 17/23 */
	font-size: 17px;
	line-height: 1.353;
}
.amt-text {               /* Texte courant : 400, 16/22 */
	font-size: 16px;
	line-height: 1.375;
}
.amt-number {             /* Numéro d'élément (01, 02…) : 600, 15/21 */
	font-weight: 600;
	font-size: 15px;
	line-height: 1.4;
}
.amt-label {              /* Libellé de champ de formulaire : 600, 15/21 */
	font-weight: 600;
	font-size: 15px;
	line-height: 1.4;
}
.amt-tile-lg {            /* Bloc « Partager son expertise ! » : 600, 36/36 */
	font-weight: 600;
	font-size: clamp(24px, 2.0835vw, 36px);
	line-height: 1;
}
.amt-tile-md {            /* Bloc « Rejoindre plus de 1000 étudiants » : 600, 28/32, −0.4 px */
	font-weight: 600;
	font-size: clamp(20px, 1.6205vw, 28px);
	line-height: 1.143;
	letter-spacing: -.0143em;
}
.amt-stat {               /* Chiffre « 200+ » : 600, 64/22 */
	font-weight: 600;
	font-size: clamp(40px, 3.704vw, 64px);
	line-height: .344;
}
.amt-chip {               /* Pastille de domaine : 400, 36/49, −0.4 px */
	font-size: clamp(24px, 2.0835vw, 36px);
	line-height: 1.361;
	letter-spacing: -.0111em;
}
.amt-course-title {       /* Titre de carte formation : 600, 24/36 */
	font-weight: 600;
	font-size: 24px;
	line-height: 1.5;
}
.amt-meta {               /* Infos d'une formation (durée, niveau, formateur) : 400, 14/16 */
	font-size: 14px;
	line-height: 1.143;
}
.amt-step-title {         /* Étape « Comprendre / S'exercer / Appliquer » : 600, 32/32 */
	font-weight: 600;
	font-size: clamp(26px, 1.852vw, 32px);
	line-height: 1;
}
.amt-person-name {        /* Nom d'un formateur : 600, 28/30 */
	font-weight: 600;
	font-size: 28px;
	line-height: 1.071;
}
.amt-footer-name {       /* Nom de l'académie (pied de page) : 600, 30/36, −0.45 px */
	font-weight: 600;
	font-size: 30px;
	line-height: 1.2;
	letter-spacing: -.015em;
}
.amt-footer-heading {     /* Titre de colonne du pied de page : 600, 32/24 */
	font-weight: 600;
	font-size: 32px;
	line-height: .75;
}
.amt-footer-desc {        /* Présentation (pied de page) : 400, 17/25 */
	font-size: 17px;
	line-height: 1.47;
}
.amt-small {              /* Liens et coordonnées du pied de page, copyright : 400, 15/21 */
	font-size: 15px;
	line-height: 1.4;
}
.amt-eyebrow {            /* Surtitre : 600, 14/19, +0.7 px */
	font-weight: 600;
	font-size: 14px;
	line-height: 1.357;
	letter-spacing: .05em;
}
.amt-btn-text {           /* Bouton : 600, 16/22 */
	font-weight: 600;
	font-size: 16px;
	line-height: 1.375;
}

/* Page À propos */
.amt-section-title {
	font-weight: 600;
	font-size: clamp(34px, 3.704vw, 64px);
	line-height: 1;
	letter-spacing: -0.025em;
}
.amt-tag {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 20px;
	line-height: 1;
	letter-spacing: -1.51px;
}
.amt-founder-label {
	font-size: clamp(28px, 2.315vw, 40px);
	line-height: 1;
}
.amt-founder-name {
	font-weight: 700;
	font-size: clamp(40px, 3.704vw, 64px);
	line-height: 1;
}

/* Menu principal (généré par wp_nav_menu) */
/* Figma : 16/16 ; le groupe fait 28 px de haut, soulignement compris */
.amt-nav a {
	position: relative;
	display: block;
	padding-bottom: 12px;
	font-size: 16px;
	line-height: 1;
	color: #4b5563;
	transition: color .2s;
}
.amt-nav a:hover {
	color: #125ba0;
}
.amt-nav .current-menu-item > a,
.amt-nav a[aria-current="page"],
.amt-nav a.is-active {
	color: #125ba0;
	font-weight: 600;
}
.amt-nav .current-menu-item > a::after,
.amt-nav a[aria-current="page"]::after,
.amt-nav a.is-active::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 16px;
	height: 3px;
	border-radius: 2px;
	background: #125ba0;
	transform: translateX(-50%);
}
.amt-mobile-nav ul a {
	display: block;
	padding: 12px;
	border-radius: 10px;
}
.amt-mobile-nav ul a:hover,
.amt-mobile-nav .current-menu-item > a,
.amt-mobile-nav a.is-active {
	background: #ebf1f8;
	color: #125ba0;
}
/* En-tête sombre (page Contact…) */
.amt-header-dark .amt-nav a {
	color: rgba(255, 255, 255, .8);
}
.amt-header-dark .amt-nav a:hover {
	color: #ffffff;
}
.amt-header-dark .amt-nav .current-menu-item > a,
.amt-header-dark .amt-nav a[aria-current="page"],
.amt-header-dark .amt-nav a.is-active {
	color: #4ceb46;
}
.amt-header-dark .amt-nav .current-menu-item > a::after,
.amt-header-dark .amt-nav a[aria-current="page"]::after,
.amt-header-dark .amt-nav a.is-active::after {
	background: #4ceb46;
}
.amt-header-dark .amt-mobile-nav ul a:hover,
.amt-header-dark .amt-mobile-nav .current-menu-item > a,
.amt-header-dark .amt-mobile-nav a.is-active {
	background: rgba(255, 255, 255, .08);
	color: #4ceb46;
}
.amt-footer-nav a:hover {
	color: #cfe9d2;
}

/* Logo : WordPress ajoute une balise <a> autour du logo personnalisé */
.custom-logo-link {
	display: inline-flex;
}
.amt-logo img,
.amt-logo .custom-logo {
	width: 130px;
	height: 49px;
	object-fit: contain;
}
.amt-logo-footer img,
.amt-logo-footer .custom-logo {
	width: auto;
	height: 108px;
}

/* Bandeau des domaines : défilement continu */
.amt-marquee {
	display: flex;
	width: max-content;
	animation: amt-marquee 40s linear infinite;
}
.amt-marquee:hover {
	animation-play-state: paused;
}
@keyframes amt-marquee {
	from { transform: translateX(0); }
	to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.amt-marquee { animation: none; }
}
