﻿ /* =============== FONTS =============== */
 @font-face {
	font-display: swap;
	font-family: 'Officially Funky';
	font-style: normal;
	font-weight: normal;
	src: url('./typo/officiallyfunky-webfont.woff2') format('woff2'), url('./typo/officiallyfunky-webfont.woff') format('woff');
}
@font-face {
	font-display: swap;
	font-family: 'Dark Paradise';
	font-style: italic;
	font-weight: normal;
	src: url('./typo/DarkParadiseItalic.woff2') format('woff2'), url('./typo/DarkParadiseItalic.woff') format('woff');
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}
body {
	font-family: 'Officially Funky', sans-serif;
	color: #473947;
	background: white;
	margin: 0;
}

/* =============== INTRO SECTION =============== */
.intro {
	position: relative;
	background: #B3A9C3;
	min-height: 1060px; 
	width: 100%;
}

.favicon-pin {
	position: absolute;
	top: 45px;
	right: 45px;
}

.intro-left {
	position: absolute;
	top: 90px;
	left: 50px;
	width: 400px; 
}
.intro-left h1 {
	font-size: 60px;
	line-height: 1.1;
	word-wrap: break-word;
	text-align: left;
}
.intro-left em {
	font-family: 'Dark Paradise';
	font-style: italic;
}

.intro-center {
	position: absolute;
	top: 50%;
	left: 65%;
	transform: translate(-50%, -50%);
	text-align: center;
}

.intro-right {
	position: absolute;
	right: 50px;
	bottom: 30px;
	text-align: right;
}
.contact {
	font-size: 20px;
}
.contact a {
	color:#473947;
	text-decoration: none;
}
.contact a:hover,
.contact a:focus {
	color: #F4ECBF;
}
.icons {
	display: flex;
	gap: 10px;
	justify-content: flex-end;
	margin-bottom: 15px;
}
.icons a:hover svg path {
	stroke: #F4ECBF;
}

/* =============== NEWSLETTER SECTION =============== */
.newsletter-section {
	background-image: url('./images/background_colors.webp');
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover ; 
	padding: 20px;
	text-align: center;
}
.newsletter {
	display: inline-block; 
	padding: 20px;
	border-radius: 10px;
}
.newsletter label {
	font-size: 30px;
	color: white;
	display: block;
	margin-bottom: 15px;
}
.newsletter em {
	font-family: 'Dark Paradise';
	font-size: 32px;
	font-style: italic;
}
.newsletter-row input::placeholder {
	color: rgba(255,255,255,1);  
}
#mc_embed_shell .mc-field-group input[type="email"] {
	padding: 15px 20px;
	border-radius: 8px;
	border: 2px solid rgba(255, 255, 255, 1);
	background: transparent;
	color: #fff;
	width: 100%;
	max-width: 270px;
	box-sizing: border-box; 
}
/* S'inscrire button */
#mc_embed_shell .mc-field-group button {
	appearance: none;
	-webkit-appearance: none ;
	padding: 15px 20px;
	border: none;
	border-radius: 8px;
	font-size: 16px;
	cursor: pointer;
	width: 100%;
	max-width: 150px;
	box-sizing: border-box;
	color: #473947;
	background-color: #ffffff;
}
#mc_embed_shell button.button:hover {
	background-color: #F4ECBF;
}
.mc_fieldset.gdprRequired.mc-field-group {
	border: none;         
	margin: 0 auto;       
	padding: 0;          
	text-align: center;
}
.mc-field-group {
	margin-bottom: 25px;
}
.checkbox_subfield {
	display: inline-flex;
	gap: 0.5rem; 
	justify-content: center;
	align-items: center;
}
.checkbox_subfield span {
	font-size: 22px;
	color: #fff;               
}
/* Checkbox */
.gdpr[type="checkbox"] {
	appearance: none;             
	-webkit-appearance: none;     
	width: 20px;
	height: 20px;
	top: 3px;
	cursor: pointer;
	border: 2px solid #fff;       
	border-radius: 4px;
	background-color: transparent;
	position: relative;      
}
/* checkmark */
.gdpr[type="checkbox"]:checked::before {
	content: "";
	position: absolute;
	top: 2px;       
	left: 7px;
	width: 3px;
	height: 10px;
	border: solid #473947;      
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

/* =============== QUESTION SECTION =============== */
.question-section {
	transition: background-color 0.3s ease;
	background: #F4ECBF; 
	padding: 50px;
	text-align: center;
}
.question-row {
	display: flex;
	align-items: center;
	justify-content: left;
	gap: 40px; 
	flex-wrap: wrap; 
	padding-top: 20px;
}
.the-question {
	font-size: 30px;
}
.the-question em {
	font-family: 'Dark Paradise';
	font-size: 32px;
	font-style: italic;
}
.options {
	font-size: 20px;
}
.options label {
	margin-right: 15px;
	cursor: pointer;
}
.options input {
	margin-right: 5px;
	cursor: pointer;
}
.options input[type="radio"] {
	appearance: none;
	width: 20px;
	height: 20px;
	border: 2px solid #F4ECBF;  
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
	position: relative;
	outline: none;
}
.options input[type="radio"]:checked::before {
	content: '';
	position: absolute;
	top: 3px;
	left: 3px;
	width: 10px;
	height: 10px;
	background: #F4ECBF; 
	border-radius: 50%;
}
.question-section.confianceAll .options input[type="radio"] {
	border-color: #473947; 
}
.question-section.confianceAll .options input[type="radio"]:checked::before {
	background: #473947;
}
.audio-player {
	margin-top: 200px;
}
.bar {
	width: 90px;        
	border-radius: 10px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-image: url('./images/background_colors.webp'); 
}
.bar1 { height: 200px; }
.bar2 { height: 280px; }
.bar3 { height: 350px; } 
.bar4 { height: 280px; }
.bar5 { height: 200px; }
.visualizer {
	display: flex;
	justify-content: center;
	align-items: center; 
	gap: 20px;
	height: 300px; 
}
.slider-container {
	margin: 20px auto;
	text-align: center;
}
.audio-slider {
	-webkit-appearance: none;
	appearance: none;
	width: 35%;
	height: 6px;
	background: transparent;
	border-radius: 3px;
	outline: none;
	cursor: pointer;
	margin: 0 auto;
	display: block;
}
.audio-slider::-webkit-slider-runnable-track {
	height: 6px;
	background: #F4ECBF; 
	border-radius: 3px;
}
.audio-slider::-moz-range-track {
	height: 6px;
	background: #F4ECBF;
	border-radius: 3px;
}
.audio-slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	width: 18px;
	height: 18px;
	background: #ffffff;
	border-radius: 50%;
	margin-top: -6px;
	cursor: pointer;
}
.audio-slider::-moz-range-thumb {
	width: 18px;
	height: 18px;
	background: #ffffff;
	border-radius: 50%;
	cursor: pointer;
}
.itunes-icons {
	padding: 80px;
	position: relative;
}
.icon-row {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1rem;
}
/* SVG icons */
.icon-row svg {
	width: 50px;   /* adjust size as needed */
	height: 50px;
	cursor: pointer;
}
/* Optional hover effect on icons */
.icon-row svg:hover {
	opacity: 0.9;
}
.audio-end-message {
	opacity: 0;
	transition: opacity 0.5s ease-in-out;
	position: absolute;
	bottom: -2px;
	left: 50%;
	transform: translateX(-50%);
	font-size: 30px;
}
.audio-end-message.visible {
	opacity: 1;
}

/* =============== FOOTER =============== */
footer {
	display: flex;
	justify-content: space-between; 
	align-items: center;
	background: #595F7F;
	color: white;
	padding: 30px;
	font-size: 18px;
}
footer a {
	text-decoration: none;
	color: white;
}
.footer-left, 
.footer-center, 
.footer-right {
	flex: 1; 
	display: flex;
	align-items: center;
	justify-content: center;
}
.footer-left {
	justify-content: flex-start;
}
.footer-center {
	justify-content: center;
}
.footer-right {
	justify-content: flex-end;
}
.footer-right svg {
	width: 40px; 
	height: 40px;
	margin-left: 15px; 
	cursor: pointer;
}
.footer-right svg:hover {
	transform: scale(1.1);
}

/* =============== RESPONSIVE =============== */
@media (max-width: 630px) {
	.intro {
		min-height: 800px; 
	}
	.favicon-pin {
		display: none;
	}
	.intro-left {
		top: 10px;
		left: 50%;
		transform: translateX(-50%);
		width: 80%;
	}
	.intro-left h1 {
		font-size: 30px !important; 
		text-align: center;
		line-height: 1.2;
	}
	.intro-center {
		position: relative;
		top: auto;
		left: 50%;
		transform: translateX(-50%);
		padding: 0 50px;
	}
	.intro-right {
		bottom: 20px;            
		left: 50%;                
		transform: translateX(-50%); 
		text-align: center;
		width: auto;
		padding: 10px;
	}
	.icons {
		display: flex;             
		justify-content: center;  
		margin-bottom: 10px;
	}
	.contact {
		display: flex;             
		justify-content: center;  
		text-align: center;
	}
	.audio-end-message{
		font-size: 22px;

	}
	#mc_embed_shell .mc-field-group input[type="email"],
	#mc_embed_shell input.button {
		max-width: 100%; 
		margin-bottom: 20px;
	}
	footer {
		padding: 0;
	}
}
@media (max-width: 1280px) {
	.intro {
		flex-direction: column;
		align-items: center;
		padding: 20px;
		position: relative; 
	}
	.intro-center {
		position: absolute;
		top: 23%;
		left: 50%;
		transform: translate(-50%, -50%);
		text-align: center;
		width: 100%; 
		max-width: 400px;
	}
	.intro-center svg {
		display: block;
		margin: 0 auto;
		width: 400px;
		max-width: 100%;
	}
	.intro-left {
		position: absolute;
		top: 40%;
		left: 50%;
		transform: translateX(-50%);
		text-align: center;
	}
	.intro-left h1 {
		font-size: 40px; 
		text-align: center;
		line-height: 1.2;
	}
	.the-question {
		text-align: center;
		margin: 0 auto;
	}
	.options {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		margin: 0 auto;
    	gap: 12px;
	}
	.options label {
		flex: 0 0 15%;
		text-align: center;
	}
	footer {
		flex-direction: column;
	}
	.footer-left,
	.footer-center,
	.footer-right {
		margin: 10px 0;
    }
}

/* PODCAST SECTION */
.podcast-section {
	background-color: #595F7F; 
}
.podcast-title {
	text-align: center;
	font-size: 2rem;
	font-weight: 400;
	padding-top: 5rem ;
	color: white;
}
.podcast-title em {
    font-family: 'Dark Paradise';
	font-size: 32px;
	font-style: italic;
}
.podcast_row {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 2.5rem;
	padding: 5rem;
}
.podcast_image {
	object-fit: cover;
	width: 100%;
	height: 100%;
	display: block;
	border-radius: 0 14px 14px 0;
}
.episode_card {
	width: 380px;
	height: 220px;
	background-color: #B3A9C3;
	border-radius: 14px;
	overflow: hidden;
	display: flex;
	transition: transform 0.3s ease;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
	max-width: 100%;
}
.episode_content {
	display: flex;
	width: 100%;
    height: 100%;
	text-decoration: none;
	color: inherit;
}
.episode_left {
	flex: 1;
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
.episode_title_group {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
}
.episode_number {
	font-size: 1rem;
	font-weight: 600;
	color: #473947;
	margin-bottom: 25px;
}
.episode_title_rest {
	font-size: 1rem;
	font-weight: 400;
	color: #473947;
	margin: 0;
}
.play_duration {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	font-size: 0.9rem;
	margin-top: 2rem;
	color: #fff;
}
.play_button {
	width: 28px;
	height: 28px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.play_button svg {
	width: 100%;
	height: 100%;
	display: block;
}
.play_button:hover svg {
	transform: scale(1.1);
	transition: transform 0.2s ease-in-out;
}
.duration {
	font-size: 0.9rem;
	color: #473947;
}
.episode_right {
	flex-shrink: 0;
	width: 160px;
	height: 100%;
	background: #ffffff10;
}
.podcast_image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 14px;
	display: block;
}
@media (max-width: 480px) {
	.episode_card {
		flex-direction: column;
		width: 90vw;
		height: auto;
	}
	.episode_content {
		flex-direction: column;
	}
	.episode_left {
		padding: 1.2rem;
		order: 2;
	}
	.episode_right {
		width: 100%;
		height: auto;
	}
	.podcast_image {
		width: 100%;
		height: auto;
		object-fit: contain;
		border-radius: 14px 14px 0 0;
		display: block;
	}
	.play_duration {
		margin-top: 1rem;
	}
}
