/* Reset de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Style général */
body {
    background-color: #f8f8f8;
    color: #333;
    line-height: 1.6;
}

header {
    background: #4A766E;
    color: #fff;
    padding: 15px;
    text-align: center;
}

nav .menu {
    list-style: none;
    display: flex;
    justify-content: center;
}

nav .menu li {
    margin: 0 15px;
}

nav .menu li a {
    color: white;
    text-decoration: none;
}

#hero {
    text-align: center;
    padding: 50px;
    background: url("../images/hero-bg-VhPcwcN.jpg") no-repeat center center/cover;
    color: white;
}

.btn {
    display: inline-block;
    background: #4A766E;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 10px;
}

section {
    padding: 50px;
    text-align: center;
}

form {
    max-width: 400px;
    margin: 0 auto;
}

form input, form textarea, form button {
    width: 100%;
    margin: 10px 0;
    padding: 10px;
}

footer {
    text-align: center;
    padding: 20px;
    background: #4A766E;
    color: white;
    margin-top: 20px;
}
#video {
    text-align: center;
    padding: 50px 20px;
    background-color: #EAE7DC;
}

#video video {
    width: 80%;
    max-width: 800px;
    border-radius: 10px;
    margin-top: 20px;
}

#video .btn {
    margin-top: 20px;
}
.about-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    text-align: left;
    max-width: 900px;
    margin: auto;
}

.about-content img {
    width: 200px;
    border-radius: 50%;
}

.about-content .text {
    flex: 1;
}

blockquote {
    font-style: italic;
    color: #4A766E;
    margin-top: 10px;
    padding-left: 20px;
    border-left: 3px solid #4A766E;
}



/* page index version3*/
/* Mise en page en colonnes avec adaptation mobile */
.flex-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    text-align: left;
    max-width: 900px;
    margin: auto;
}

.flex-container img {
    width: 40%;
    max-width: 300px;
    border-radius: 10px;
}

.flex-container .text {
    flex: 1;
}

/* Inversion pour la section Gestalt */
.reverse {
    flex-direction: row-reverse;
}

/* Responsive */
@media (max-width: 768px) {
    .flex-container {
        flex-direction: column;
        text-align: center;
    }

    .flex-container img {
        width: 80%;
        max-width: 250px;
    }
}

/* Section contact avec fond apaisant */
#contact {
    background-color: #EAE7DC;
    padding: 50px 20px;
    text-align: center;
    border-top: 3px solid #4A766E;
}

#contact form {
    max-width: 400px;
    margin: auto;
}

#contact input,
#contact textarea,
#contact button {
    width: 100%;
    margin: 10px 0;
    padding: 10px;
}

#contact .btn {
    background: #4A766E;
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    transition: 0.3s;
}

#contact .btn:hover {
    background: #5E8A75;
}

/* Touche de créativité : légère ondulation en haut de la section contact */
#contact {
    position: relative;
}

#contact::before {
    content: "";
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 30px;
    background: url("../images/wave-zZ2U89h.svg") repeat-x;
}
.article-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.article-container h1 {
    color: #4A766E;
}

.article-container .date {
    font-size: 0.9em;
    color: #777;
    margin-bottom: 15px;
}

.article-container img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}
#en-parlant-de-vous {
    background-color: #F4F1ED; /* Un fond doux pour différencier */
    padding: 50px 20px;
    text-align: center;
}

#en-parlant-de-vous .flex-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    text-align: left;
    max-width: 900px;
    margin: auto;
}

#en-parlant-de-vous .flex-container img {
    width: 40%;
    max-width: 300px;
    border-radius: 10px;
}

#en-parlant-de-vous .flex-container .text {
    flex: 1;
}

@media (max-width: 768px) {
    #en-parlant-de-vous .flex-container {
        flex-direction: column;
        text-align: center;
    }

    #en-parlant-de-vous .flex-container img {
        width: 80%;
        max-width: 250px;
    }
}

nav{
    width: 100%;
}
/* Logo */
.logo img {
    height: 125px; /* Taille initiale */
    transition: height 0.5s ease-in-out;
}

/* Menu principal */
.menu {
    list-style: none;
    display: flex;
    gap: 20px;
}

.menu li {
    display: inline;
}

.menu a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

/* Menu mobile reste inchangé */
.menu-toggle {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 60px;
    right: 20px;
    background: #4A766E;
    padding: 15px;
    border-radius: 8px;
}
.mobile-menu ul {
    list-style: none;
    padding: 0;
}

.mobile-menu li {
    margin: 10px 0;
}

.mobile-menu a {
    color: white;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
    .menu {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .mobile-menu {
        display: block;
    }
}
.mobile-menu.open {
    display: block;
}

/* Header fixe en haut */
/*header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #4A766E;
    color: white;
    padding: 15px 20px;
    text-align: center;
    z-index: 1000;
}

 */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.2); /* Transparent au début */
    backdrop-filter: blur(0px);
    transition: all 0.5s ease-in-out;
    padding: 20px 0;
    text-align: center;
    z-index: 1000;
}
/* Effet au scroll */
header.scrolled {
    background: rgba(255, 255, 255, 0.8); /* Fond blanc semi-transparent */
    backdrop-filter: blur(5px); /* Flou progressif */
    padding: 10px 0; /* Réduction de la hauteur */
}

header.scrolled .logo img {
    height: 70px; /* Logo réduit */
}
.bk_green{
    display: block;
    background: #4A766E;
    width: 100%;
    height: 75px;
    position: relative;
    padding: 0;
}
/* Hero en plein écran */
#hero {
    height: 100vh; /* Pleine hauteur de l'écran */
    background: url("../images/hero-bg-VhPcwcN.jpg") no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    margin-top: 0px; /* Décalage sous le header */
}

/* Overlay pour améliorer la lisibilité du texte */
.hero-overlay {
    background: rgba(0, 0, 0, 0.4); /* Fond semi-transparent */
    color: white;
    padding: 40px;
    border-radius: 10px;
}

/* Texte du hero */
#hero h1 {
    font-size: 2.5em;
    font-weight: bold;
}

#hero p {
    font-size: 1.2em;
    margin-top: 10px;
}

/* Bouton CTA */
#hero .btn {
    display: inline-block;
    background: #EAE7DC;
    color: #4A766E;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease-in-out;
}

#hero .btn:hover {
    background: #D6D1C4;
}

/* Ajustements responsifs */
@media (max-width: 768px) {
    #hero h1 {
        font-size: 2em;
    }

    #hero p {
        font-size: 1em;
    }

    .hero-overlay {
        width: 90%;
    }
}
/* Section Gestalt + Blog en colonne */
#gestalt-blog .split-container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    justify-content: space-between;
    text-align: center;
}

#gestalt-blog .split {
    flex: 1;
    background: #F4F1ED;
    padding: 20px;
    border-radius: 10px;
}

#gestalt-blog .split img {
    width: 100%;
    max-height: 250px;
    object-fit: cover;
    border-radius: 8px;
}

/* Style du podcast dans le header */
.podcast-preview {
    position: absolute;
    bottom: -12px;
    right: 147px;
   /* background: rgba(255, 255, 255, 0.8);*/
    padding: 15px;
    border-radius: 10px;
    text-align: center;
}

.podcast-preview audio {
    width: 100%;
}

.podcast-preview .btn {
    margin-top: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    #gestalt-blog .split-container {
        flex-direction: column;
    }

    .podcast-preview {
        position: relative;
        width: 100%;
        bottom: auto;
        right: auto;
        text-align: center;
        background: #4A766E;
    }
}
/* Conteneur audio + vignette */
.audio-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}
.podcast-info {
    position: absolute;
    top: 55px; /* Position juste sous le bouton lecture */
    background: rgba(255, 255, 255, 0.9);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    width: 220px;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s ease-in-out, transform 0.5s ease-in-out;
}

.podcast-info img {
    width: 100%;
    border-radius: 8px;
}

.podcast-info.show {
    opacity: 1;
    transform: scale(1);
}

.podcast-info.hide {
    opacity: 0;
    transform: scale(0.9);
}
.podcast-info p {
    color: #252b25;
    font-weight: 200;
    line-height: 20px;
}
#featured-podcast, #featured-video {
    background: #F4F1ED;
    padding: 40px 20px;
    text-align: center;
}

.media-card {
    max-width: 600px;
    margin: auto;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.media-card img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
}

.media-card audio, .media-card video {
    width: 100%;
    max-width: 500px;
}

/* Animation pour disparaître après 5 secondes */
@keyframes fadeOut {
    0% { opacity: 1; }
    80% { opacity: 1; }
    100% { opacity: 0; display: none; }
}
/* Conteneur des notifications */
#flash-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

/* Style des notifications */
.flash-message {
    background: rgba(0, 128, 0, 0.9); /* Vert translucide pour le succès */
    color: white;
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 5px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    max-width: 300px;
}

/* Apparition */
.flash-message.show {
    opacity: 1;
    transform: translateX(0);
}

/* Disparition */
.flash-message.hide {
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 0.5s ease-in, transform 0.5s ease-in;
}
