@charset "UTF-8";
/**
 * Theme Name:   Make Enfant - PointVirgule
 * Theme URI:    https://pointvirgule.be
 * Description:  Thème enfant pour les customisations du site PointVirgule
 *               École française de Londres — Design Ardoise & Tricolore
 * Author:       PointVirgule
 * Author URI:   https://pointvirgule.be
 * Template:     make
 * Version:      1.0.0
 * License:      GNU General Public License v2 or later
 * License URI:  https://www.gnu.org/licenses/gpl-2.0.html
 * Text Domain:  make-child
 */

/* ============================================================
   DESIGN "ARDOISE & TRICOLORE"
   École française de Londres — PointVirgule
   ============================================================
   1. Palette & Variables
   2. Typographie
   3. Header & Navigation
   4. Sélecteur de langue
   5. Contenu
   6. Footer
   7. Pages protégées / Espace Parents
   8. Responsive
   ============================================================ */

/* ------------------------------------------------------------
   1. PALETTE & VARIABLES
   ------------------------------------------------------------ */
:root {
	/* Ardoise */
	--slate-dark: #1a1a2e;
	--slate-medium: #2d2d3f;
	--slate-light: #3b3f4a;

	/* Tricolore */
	--blue-france: #002395;
	--blue-france-dark: #001b6e;
	--white: #ffffff;
	--red-france: #ED2939;
	--red-france-dark: #c41e2c;

	/* Craie & Fond */
	--chalk: #f5f0e8;
	--chalk-light: #e8e0d0;
	--paper: #fdfcfa;

	/* Texte */
	--text-dark: #2d2d2d;
	--text-medium: #555555;
	--text-light: #888888;

	/* Accents */
	--gold: #c9a96e;
	--gold-light: #e8d5a3;

	/* Typographie */
	--font-craie: 'Caveat', cursive;
	--font-texte: 'Nunito Sans', sans-serif;
}

/* ------------------------------------------------------------
   2. TYPOGRAPHIE
   ------------------------------------------------------------ */
body,
button,
input,
select,
textarea {
	font-family: var(--font-texte);
	color: var(--text-dark);
	line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-craie);
	font-weight: 600;
	color: var(--slate-dark);
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.4rem; }

.site-title {
	font-family: var(--font-texte);
	font-size: 2.4rem;
	font-weight: 700;
}

.site-description {
	font-family: var(--font-texte);
	font-style: normal;
	font-size: 30px;
	font-size: 1.875rem;
	font-weight: 700;
	color: var(--slate-dark);
}

/* ------------------------------------------------------------
   3. HEADER & NAVIGATION
   ------------------------------------------------------------ */

/* Site Header Main */
.site-header-main {
	background-color: var(--white);
	border-bottom: 2px solid var(--slate-dark);
}

.site-header-main .container {
	padding: 15px 0;
}

/* Layout centré (logo/menu centrés) */
.header-layout-2 .site-branding {
	text-align: center;
	float: none;
	width: 100%;
}

.header-layout-2 .site-navigation {
	text-align: center;
	float: none;
	width: 100%;
	position: sticky;
	top: 0;
	z-index: 1000;
	background-color: var(--white);
	border-bottom: 2px solid var(--slate-dark);
	padding: 8px 0;
}

.header-layout-2 .site-navigation .menu {
	display: inline-block;
	margin: 0 auto;
}

.custom-logo-link {
	margin: 0 auto;
}

/* Navigation principale */
.site-navigation .menu li a {
	font-family: var(--font-texte);
	font-size: 30px;
	font-size: 1.875rem;
	font-weight: 500;
	color: var(--slate-dark);
	padding: 10px 16px;
	transition: all 0.3s ease;
	position: relative;
}

.site-navigation .menu li a:hover,
.site-navigation .menu li a:focus {
	color: var(--blue-france);
	background: transparent;
}

.site-navigation .menu li a::after {
	content: '';
	position: absolute;
	bottom: 4px;
	left: 16px;
	right: 16px;
	height: 2px;
	background: var(--red-france);
	transform: scaleX(0);
	transition: transform 0.3s ease;
}

.site-navigation .menu li a:hover::after {
	transform: scaleX(1);
}

.site-navigation .menu .current-menu-item > a {
	color: var(--red-france);
	font-weight: 700;
}

.site-navigation .menu .current-menu-item > a::after {
	transform: scaleX(1);
	background: var(--red-france);
}

/* Menu toggle (mobile) */
.menu-toggle {
	background-color: var(--slate-dark) !important;
	color: var(--chalk) !important;
	font-family: var(--font-texte);
	font-size: 1.1rem !important;
	border-radius: 4px !important;
}

.menu-toggle:hover {
	background-color: var(--blue-france) !important;
}
/* ------------------------------------------------------------
   4. SÉLECTEUR DE LANGUE MODERNE (footer)
   ------------------------------------------------------------ */
.language-switcher-modern {
	display: flex;
	justify-content: center;
	gap: 6px;
	margin-bottom: 20px;
	padding-bottom: 15px;
	border-bottom: 1px dashed rgba(245, 240, 232, 0.2);
}

.language-switcher-modern a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 20px;
	border-radius: 50px;
	font-size: 0.9rem;
	font-weight: 500;
	text-decoration: none;
	transition: all 0.3s ease;
	font-family: var(--font-texte);
}

.language-switcher-modern a.active {
	background: var(--white);
	color: var(--blue-france);
}

.language-switcher-modern a:not(.active) {
	background: rgba(255, 255, 255, 0.08);
	color: var(--chalk);
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.language-switcher-modern a:not(.active):hover {
	background: rgba(255, 255, 255, 0.18);
	border-color: rgba(255, 255, 255, 0.4);
}

.language-switcher-modern a img {
	width: 20px;
	height: auto;
	border-radius: 2px;
}

.language-switcher-modern a svg {
	width: 22px;
	height: 15px;
	border-radius: 2px;
}

/* ------------------------------------------------------------
   5. CONTENU
   ------------------------------------------------------------ */

/* Fond général */
.site-content {
	background-color: var(--chalk-light);
}

.site-content .container {
	background-color: var(--paper);
	padding: 30px 25px;
	box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

/* Liens */
a {
	color: var(--blue-france);
	transition: color 0.2s ease;
}

a:hover,
a:focus {
	color: var(--red-france);
}

/* Bannières (Make Builder) */
.builder-section-banner .builder-banner-slide {
	background-color: var(--slate-dark) !important;
}

.builder-section-banner .builder-banner-slide .content {
	font-family: var(--font-craie);
}

.builder-section-banner .builder-banner-slide h3 {
	font-family: var(--font-craie);
	font-size: 2.5rem;
	color: var(--chalk);
	text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Titres de section builder */
.builder-section-title {
	font-family: var(--font-craie) !important;
	font-size: 2rem !important;
	color: var(--slate-dark);
	border-bottom: 2px dashed var(--slate-dark);
	padding-bottom: 10px;
	margin-bottom: 20px;
}

/* Boutons */
.button,
button,
input[type="submit"] {
	font-family: var(--font-texte);
	font-size: 1.1rem;
	font-weight: 600;
	background-color: var(--red-france);
	color: var(--white);
	border: none;
	padding: 10px 24px;
	border-radius: 6px;
	transition: all 0.3s ease;
	cursor: pointer;
}

.button:hover,
button:hover,
input[type="submit"]:hover {
	background-color: var(--blue-france);
	color: var(--white);
	transform: translateY(-1px);
	box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

/* ------------------------------------------------------------
   6. FOOTER
   ------------------------------------------------------------ */
.site-footer {
	background-color: var(--slate-dark) !important;
	border-top: 3px dashed rgba(245, 240, 232, 0.3);
	padding: 30px 0 20px;
	color: var(--chalk);
}

.site-footer .widget-title {
	font-family: var(--font-craie);
	color: var(--chalk);
	font-size: 1.4rem;
	border-bottom: 1px dashed rgba(245, 240, 232, 0.3);
	padding-bottom: 8px;
}

.site-footer a {
	color: var(--gold-light);
}

.site-footer a:hover {
	color: var(--white);
}

.site-footer .footer-text {
	color: var(--chalk);
	font-family: var(--font-texte);
	font-size: 0.9rem;
	opacity: 0.8;
}

.footer-credit {
	font-family: var(--font-texte);
	font-size: 1.1rem;
	color: var(--chalk);
	text-align: center;
	padding-top: 15px;
	border-top: 1px dashed rgba(245, 240, 232, 0.2);
	margin-top: 15px;
}

/* ------------------------------------------------------------
   7. PAGES PROTÉGÉES / ESPACE PARENTS
   ------------------------------------------------------------ */

/* Formulaire mot de passe */
.post-password-form {
	background: var(--paper);
	border: 2px dashed var(--slate-dark);
	border-radius: 8px;
	padding: 30px;
	margin: 30px 0;
	max-width: 500px;
}

.post-password-form label {
	font-family: var(--font-craie);
	font-size: 1.3rem;
	color: var(--slate-dark);
}

.post-password-form input[type="password"] {
	border: 2px solid var(--slate-light);
	border-radius: 4px;
	padding: 10px 14px;
	font-family: var(--font-texte);
	font-size: 1rem;
	width: 100%;
	margin: 8px 0;
}

.post-password-form input[type="submit"] {
	background: var(--blue-france);
	color: var(--white);
	border: none;
	padding: 10px 24px;
	font-family: var(--font-texte);
	font-size: 1.1rem;
	border-radius: 4px;
	cursor: pointer;
	transition: background 0.3s;
}

.post-password-form input[type="submit"]:hover {
	background: var(--red-france);
}

/* Badge 'Protégé' */
.protected-page-badge {
	display: inline-block;
	background: var(--red-france);
	color: var(--white);
	font-family: var(--font-craie);
	font-size: 0.85rem;
	padding: 2px 12px;
	border-radius: 12px;
	margin-left: 8px;
}

/* ------------------------------------------------------------
   8. RESPONSIVE
   ------------------------------------------------------------ */
@media screen and (max-width: 800px) {
	.site-header-main .container {
		flex-direction: column;
		text-align: center;
	}

	.site-navigation .menu li a {
		font-size: 1.1rem;
		padding: 8px 12px;
	}

	h1 { font-size: 2.2rem; }
	h2 { font-size: 1.8rem; }
	h3 { font-size: 1.5rem; }

	.site-content .container {
		padding: 20px 15px;
	}

	.language-switcher-modern a {
		padding: 6px 14px;
		font-size: 0.8rem;
	}
}

@media screen and (max-width: 600px) {
	.site-title {
		font-size: 1.8rem;
	}

	.builder-section-banner .builder-banner-slide h3 {
		font-size: 1.8rem;
	}

	.post-password-form {
		padding: 20px;
	}
}
