/*
Theme Name: Madara-Child
Description: A child theme for Madara
Template: madara
Version: 1.0.3
*/

h1 {
	color: #111;
}

/* =========================
   BOUTONS LOGIN
========================= */

.site-header .c-modal_item .btn-active-modal,
.widget_madara-user-section .c-modal_item .btn-active-modal {
	color: #fff;
	background-color: #ff3710;
	border: 2px solid #ff3710;
}

.site-header .c-modal_item .btn-active-modal:hover,
.widget_madara-user-section .c-modal_item .btn-active-modal:hover {
	background-color: #333;
	border-color: #333;
	color: #fff;
}

/* =========================
   LARGEUR HEADER / SOUS-MENU
========================= */

header.site-header .main-navigation .container {
	max-width: 1400px;
	width: 100%;
}

header.site-header .c-sub-header-nav .container {
	max-width: 1280px;
	width: 100%;
}

/* =========================
   HEADER PRINCIPAL
========================= */

header.site-header .main-navigation {
	background-image: url('/wp-content/uploads/2025/12/fond_header.jpg');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

/* Logo */
.site-header .main-navigation.style-1 .wrap_branding a img {
	max-width: 250px;
}

@media (min-width: 1200px) {
	.site-header .main-navigation.style-1 .wrap_branding a img {
		width: 290px;
		max-width: 290px;
		height: auto;
	}
}

/* Menu principal */
.site-header .main-navigation .main-menu ul.main-navbar > li > a {
	font-family: 'Bangers', cursive;
	color: #000;
	letter-spacing: 1px;
	text-transform: uppercase;
	font-size: 22px;
	font-weight: 400;
	line-height: 1;
	display: inline-block;
	transition: transform 0.15s ease;
}

.site-header .main-navigation .main-menu ul.main-navbar > li > a:before {
	background: #000;
	height: 4px;
}

.site-header .main-navigation .main-menu ul.main-navbar > li > a:hover {
	transform: rotate(-1deg) translateY(-1px);
}

/* Avatar utilisateur */
.site-header .main-navigation .header-user-section.c-modal_item
.c-user_item .c-user_avatar .c-user_avatar-image img {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 2px solid #d7d7d7;
	object-fit: cover;
}

/* =========================
   HEADER DESKTOP
========================= */

@media (min-width: 992px) {

	header.site-header .main-navigation_wrap {
		display: flex;
		align-items: center;
		gap: 24px;
	}

	header.site-header .wrap_branding {
		flex: 0 0 auto;
	}

	header.site-header .main-navigation_wrap .main-menu {
		flex: 1 1 auto;
		display: flex;
		align-items: center;
		gap: 24px;
	}

	header.site-header .main-navigation_wrap .main-menu > ul.main-navbar {
		flex: 1 1 auto;
		display: flex;
		align-items: center;
		flex-wrap: nowrap;
		margin: 0;
	}

	header.site-header .main-navigation_wrap .main-menu .header-user-section {
		margin-left: auto;
		display: flex;
		align-items: center;
		position: relative;
	}

	header.site-header .main-navigation_wrap .main-menu .header-user-section .c-user_item {
		display: flex;
		align-items: center;
		gap: 10px;
		white-space: nowrap;
	}

	header.site-header .main-navigation_wrap .main-menu .header-user-section .c-user_avatar {
		position: relative;
		display: flex;
		align-items: center;
	}

	header.site-header .main-navigation_wrap .main-menu .header-user-section .c-user_menu {
		position: absolute;
		right: 0;
		top: 100%;
		margin-top: 10px;
		min-width: 180px;
		padding: 10px 0;
		list-style: none;
		background: #f3f3f3;
		border-top: 1px solid #ebebeb;
		border-bottom: 3px solid var(--primary-color);
		display: none;
		z-index: 9999;
	}

	header.site-header .main-navigation_wrap .main-menu .header-user-section:hover .c-user_menu {
		display: block;
	}

	header.site-header .main-navigation_wrap .main-menu .header-user-section .c-user_menu li {
		margin: 0;
	}

	header.site-header .main-navigation_wrap .main-menu .header-user-section .c-user_menu a {
		display: block;
		padding: 8px 14px;
		font-weight: 600;
		color: #666;
	}

	header.site-header .main-navigation_wrap .main-menu .header-user-section .c-user_menu a:hover {
		color: var(--primary-color);
	}
}

/* =========================
   SOUS-MENU
========================= */

.site-header .c-sub-header-nav .c-sub-nav_wrap .sub-nav_content {
	width: 100%;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	grid-template-areas:
		"adult parents search"
		"children children children";
	align-items: center;
	row-gap: 12px;
}

.site-header .c-sub-header-nav .section_adult,
.site-header .c-sub-header-nav .bl-second-menu,
.site-header .c-sub-header-nav .bd-search {
	min-height: 40px;
	display: flex;
	align-items: center;
}

.site-header .c-sub-header-nav .section_adult {
	grid-area: adult;
	justify-self: start;
	justify-content: flex-start;
	margin: 0;
}

.site-header .c-sub-header-nav .bl-subnav-genres-wrap {
	display: contents;
}

.site-header .c-sub-header-nav .bl-second-menu {
	grid-area: parents;
	justify-self: center;
	justify-content: center;
	gap: 30px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.site-header .c-sub-header-nav .bl-second-menu > li {
	margin: 0;
	padding: 0;
}

.site-header .c-sub-header-nav .bl-second-menu > li > a {
	font-weight: 700;
	text-transform: uppercase;
	text-decoration: none;
	color: inherit;
	line-height: 1;
}

.site-header .c-sub-header-nav .bl-oeuvre-subgenres-row {
	grid-area: children;
	width: 100%;
}

.site-header .c-sub-header-nav .bl-oeuvre-subgenres-inner {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 12px;
	width: 100%;
	padding: 0 0 18px;
	margin: 0;
}

.site-header .c-sub-header-nav .bl-oeuvre-subgenres-inner a {
	display: inline-block;
	padding: 8px 14px;
	border: 1px solid #ddd;
	border-radius: 20px;
	text-decoration: none;
	color: inherit;
}

.site-header .c-sub-header-nav .bd-search {
	grid-area: search;
	justify-self: end;
	justify-content: flex-end;
}

/* =========================
   TITRES / HERO
========================= */

.famTit {
	text-shadow: 0.08em 0.08em 0.08em rgba(0,0,0,0.4);
}

body.page .c-page-content .content-area {
	margin-top: 0;
}

.bullotheque-hero-title {
	font-family: 'Bangers', cursive;
	letter-spacing: 1px;
	line-height: 1.2em;
	text-align: center;
	font-size: 42px;
	font-weight: 800;
	margin: 60px auto 40px;
	max-width: 1000px;
}

.bullotheque-hero-title .highlight {
	display: inline;
	letter-spacing: 1.5px;
	background: #ffc400;
	position: relative;
	z-index: 1;
	padding: 2px 6px;
	box-decoration-break: clone;
}

.bullotheque-hero-title .highlight::before {
	content: "";
	position: absolute;
	left: -6px;
	right: -6px;
	top: 55%;
	height: 60%;
	background: #ffc400;
	z-index: -1;
	transform: rotate(-1deg);
	border-radius: 4px;
}

/* =========================
   HERO ICÔNES
========================= */

.bullotheque-hero-icons {
	max-width: 760px;
	margin: 30px auto 70px;
	padding: 24px 32px;
	background: #ffffff;
	border: 1px solid #e5e5e5;
	box-shadow: 0 6px 20px rgba(0,0,0,0.05);
	border-radius: 14px;
}

.bullotheque-hero-icons .wp-block-column {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
}

.bullotheque-hero-icons svg,
.bullotheque-hero-icons .bullotheque-top-icon img {
	width: 46px;
	height: 46px;
	max-width: 46px;
	object-fit: contain;
	display: block;
	flex: 0 0 46px;
}

.bullotheque-hero-icons p {
	font-weight: 600;
	color: #222;
	font-size: 15px;
	margin: 0 !important;
	line-height: 1.2;
	display: block;
	position: relative;
	top: -2px;
}

.bullotheque-hero-icons .hero-break {
	display: block;
}

.bullotheque-hero-icons p strong,
.bullotheque-hero-icons p span {
	display: block;
}

/* =========================
   SECTIONS GÉNÉRALES
========================= */

.bullotheque-section {
	max-width: 1180px;
	margin: 55px auto;
	padding: 0 20px;
}

.bullotheque-section .wp-block-columns {
	gap: 45px;
	align-items: flex-start;
}

.bullotheque-section-title {
	display: flex;
	align-items: center;
	gap: 14px;
	font-family: 'Bangers', cursive;
	font-size: 32px;
	letter-spacing: 1px;
	line-height: 1;
	text-transform: uppercase;
	margin: 0 0 30px;
}

.bullotheque-section-title .section-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	background: #ffc400;
	border-radius: 4px;
	color: #111;
	font-size: 20px;
	line-height: 1;
	flex-shrink: 0;
}

.bullotheque-section h3 {
	font-size: 22px;
	margin: 0 0 20px;
}

.bullotheque-section p {
	font-size: 15px;
	line-height: 1.65;
	margin-bottom: 16px !important;
	text-align: justify;
}

.bullotheque-section figure {
	margin: 0;
}

.bullotheque-section figure img {
	width: 100%;
	height: auto;
	max-width: 360px;
}

.bullotheque-section .wp-block-column:first-child {
	max-width: 720px;
}

.bullotheque-section .wp-block-column:last-child {
	padding-top: 90px;
}

.bullotheque-section-1 {
	margin-top: 90px;
}

/* =========================
   CAPTIONS
========================= */

.bullotheque-caption {
	font-family: 'Bangers', cursive;
	font-size: 15px !important;
	letter-spacing: 0.8px;
	margin-top: 8px !important;
	color: #111;
	text-transform: uppercase;
	text-align: center !important;
}

.bullotheque-caption span {
	transform: rotate(-1deg);
	display: inline-block;
	background: #ffc400;
	padding: 0 6px;
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
}

/* =========================
   FAQ / ACCORDÉONS
========================= */

.bullotheque-faq {
	display: flex;
	flex-direction: column;
	gap: 18px;
	max-width: 700px;
}

.bullotheque-faq-item {
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 3px 10px rgba(0,0,0,0.04);
	transition: all 0.2s ease;
}

.bullotheque-faq-item:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.bullotheque-faq-question {
	width: 100%;
	background: none;
	border: 0;
	display: grid;
	grid-template-columns: 46px 1fr 30px;
	align-items: center;
	column-gap: 18px;
	padding: 22px;
	cursor: pointer;
	text-align: left;
}

.bullotheque-faq-icon {
	width: 46px;
	height: 46px;
	background: #ffc400;
	border-radius: 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	font-family: 'Bangers', cursive;
	font-size: 22px;
	line-height: 1;
	color: #111;
}

.bullotheque-faq-icon svg {
	width: 22px;
	height: 22px;
	stroke: #111;
}

.bullotheque-faq-title-wrap {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.bullotheque-faq-title {
	display: block;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.25;
	color: #111;
}

.bullotheque-faq-short {
	display: block;
	font-size: 15px;
	line-height: 1.45;
	color: #555;
}

.bullotheque-faq-toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 30px;
	font-weight: 300;
	line-height: 1;
	color: #111;
	transition: transform 0.2s ease;
}

.bullotheque-faq-item.active {
	border-color: #ffc400;
	box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.bullotheque-faq-item.active .bullotheque-faq-toggle {
	transform: rotate(45deg);
}

.bullotheque-faq-answer {
	display: none;
	padding: 0 22px 22px calc(46px + 18px + 22px);
}

.bullotheque-faq-item.active .bullotheque-faq-answer {
	display: block;
}

.bullotheque-faq-item.active .bullotheque-faq-icon {
	transform: rotate(-3deg);
}

.bullotheque-section-2 .wp-block-column:last-child {
	padding-top: 110px;
}

.bullotheque-faq-answer p {
	font-size: 15px;
	line-height: 1.65;
	text-align: left;
	margin-bottom: 16px !important;
}

.bullotheque-faq-answer p:last-child {
	margin-bottom: 0 !important;
}

.bullotheque-section-3 p {
	text-align: left;
}

.bullotheque-quote {
	background: #fffdf4;
	border-left: 6px solid #ffc400;
	padding: 22px 26px;
	margin: 28px 0;
	border-radius: 12px;
	max-width: 860px;
}

.bullotheque-quote p {
	margin: 0 0 8px !important;
	text-align: left;
}

.bullotheque-quote strong {
	font-family: 'Bangers', cursive;
	font-size: 26px;
	letter-spacing: 1px;
	color: #111;
	display: block;
	margin-top: 14px;
	line-height: 1.1;
}

.bullotheque-note {
	max-width: 860px;
	padding: 24px 28px;
	margin: 30px 0;
	border: 1px solid #e5e5e5;
	border-radius: 14px;
	background: #fff;
}

.bullotheque-note p:last-child {
	margin-bottom: 0 !important;
}

.bullotheque-emphasis {
	font-family: 'Bangers', cursive;
	font-size: 30px !important;
	line-height: 1.1;
	letter-spacing: 1px;
	margin-top: 34px !important;
	color: #111;
}

.bullotheque-section-4 h3 {
	margin: 34px 0 14px;
	line-height: 1.2;
}

.bullotheque-section-4 p {
	margin-bottom: 14px !important;
}

.bullotheque-section-4 .bullotheque-quote {
	margin: 20px 0;
}

.bullotheque-section-4 .bullotheque-big-line {
	margin: 28px 0 18px;
}

.bullotheque-projects {
	display: flex;
	flex-direction: column;
	gap: 28px;
	margin-top: 40px;
}

.bullotheque-project-card {
	display: flex;
	gap: 28px;
	align-items: center;
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 4px 14px rgba(0,0,0,0.04);
	min-height: 260px;
}

.bullotheque-project-cover {
	flex: 0 0 240px;
}

.bullotheque-project-cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.bullotheque-project-content {
	padding: 22px 26px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	justify-content: center;
}

.bullotheque-project-content h3 {
	margin: 0 0 16px;
	font-size: 32px;
	font-family: 'Bangers', cursive;
	letter-spacing: 1px;
	line-height: 1;
}

.bullotheque-project-content p {
	margin: 0 !important;
	max-width: 760px;
}

.bullotheque-project-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: flex-start;
	background: #ffc400;
	color: #111;
	font-weight: 700;
	text-decoration: none;
	border-radius: 10px;
	transition: transform 0.15s ease;
	font-family: 'Bangers', cursive;
	font-size: 22px;
	letter-spacing: 0.5px;
	padding: 14px 24px 12px;
}

.bullotheque-project-button:hover {
	transform: rotate(-1deg) translateY(-1px);
	color: #111;
}

@media (max-width: 768px) {

	.bullotheque-project-card {
		flex-direction: column;
	}

	.bullotheque-project-cover {
		flex: auto;
	}

	.bullotheque-project-cover img {
		height: 260px;
	}
}

.bullotheque-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
}

.bullotheque-tags span {
	display: inline-flex;
	align-items: center;
	font-size: 15px;
	padding: 10px 14px;
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 999px;
	font-weight: 600;
	box-shadow: 0 3px 10px rgba(0,0,0,0.04);
}

.bullotheque-tags span:nth-child(odd) {
	background: #fff7d6;
	border-color: #ffc400;
}

/* =========================
   CTA FINAL
========================= */

.bullotheque-section-7 {
	margin-bottom: 120px;
}

.bullotheque-final-cta {
	background: #fffdf4;
	border: 1px solid #e5e5e5;
	border-radius: 24px;
	padding: 46px 40px;	
	text-align: center;
	box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}

.bullotheque-final-cta h2 {
	font-family: 'Bangers', cursive;
	font-size: 52px;
	line-height: 1;
	letter-spacing: 1px;
	margin: 0 0 24px;
	color: #111;
}

.bullotheque-final-cta p {
	max-width: 760px;
	margin: 0 auto 36px !important;
	font-size: 18px;
	line-height: 1.7;
	text-align: center;
	color: #333;
}

.bullotheque-final-buttons {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 18px;
}

.bullotheque-btn-primary,
.bullotheque-btn-secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 16px 28px;
	border-radius: 14px;
	font-weight: 700;
	text-decoration: none;
	transition: all 0.15s ease;
}

.bullotheque-btn-primary {
	background: #ffc400;
	color: #111;
	font-family: 'Bangers', cursive;
	font-size: 26px;
	letter-spacing: 0.5px;
}

.bullotheque-btn-primary:hover {
	transform: translateY(-2px) rotate(-1deg);
	color: #111;
}

.bullotheque-btn-secondary {
	background: #111;
	color: #fff;
	font-size: 16px;
}

.bullotheque-btn-secondary:hover {
	background: #222;
	color: #fff;
	transform: translateY(-2px);
}

@media (max-width: 768px) {

	.bullotheque-final-cta {
		padding: 40px 24px;
	}

	.bullotheque-final-cta h2 {
		font-size: 38px;
	}

	.bullotheque-final-cta p {
		font-size: 16px;
	}

	.bullotheque-final-buttons {
		flex-direction: column;
		align-items: stretch;
	}

	.bullotheque-btn-primary,
	.bullotheque-btn-secondary {
		width: 100%;
	}
}
