/* ------- */
/* ACCUEIL */
/* ------- */

ul.accueil {
	margin-top: 5px;
}

ul.accueil li {
	margin-top: 0;
	font-size: 0.9em;
}

ul.accueil ul.accueil {
    margin-top: 10px;
    margin-bottom: 10px;
}

strong.accueil-strong{
	font-weight: 400 !important;
}
/* FOND DE LA PAGE D'ACCUEIL */
/* --- 1. MOBILE (< 768px) --- */
.hero-header-composite {
    display: none; /* Ici, aucune image n'est téléchargée, car aucune URL n'est définie pour ce cas */
}

/* --- 2. TABLETTE (768px à 1299px) --- */
@media (min-width: 768px) and (max-width: 1299px) {
    .hero-header-composite {
        display: block;
        position: absolute;
        top: 0;
		left: 0;
		width: 100%;
		height: 770px;
        z-index: -1;
        /* Une seule image nette, opacité gérée par le dégradé par-dessus */
        background: 
            linear-gradient(rgba(255,255,255,0.15), rgba(255,255,255,0.15)),
            url('../images/arbre-a-soie.webp') no-repeat left center/cover;
        filter: brightness(0.95);
    }
}

/* --- 3. DESKTOP (>= 1300px) --- */
@media (min-width: 1300px) {
    .hero-header-composite {
        display: block !important;
        position: absolute;
        top: 0;
		left: 0;
		width: 100%;
		height: 700px;
        z-index: -2;
        overflow: hidden;
        background: url('../images/arbre-a-soie.webp') no-repeat center left/cover;
    }

    .hero-header-composite::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        background: url('../images/arbre-a-soie-flou.webp') no-repeat center left/cover;

        -webkit-mask-image: linear-gradient(to right, 
            rgba(0,0,0,0) 20%, 
            rgba(0,0,0,1) 80%
        );
        mask-image: linear-gradient(to right, 
            rgba(0,0,0,0) 20%, 
            rgba(0,0,0,1) 80%
        );
    }
}



/*---------------------------------------
  ACCUEIL ET EN-TÊTE
-----------------------------------------*/

main.accueil {
    width: 90%;
    margin: auto;
    padding: 20px;
    max-width: 1000px;
    border-radius: 35px;
    background-color: rgba(255,255,255,0.8);
}

h1.accueil {
    width: 100%;
    margin-top: 0;
    margin-bottom: 0.25em;
    padding-top: 0;
    font-family: var(--p-font-family);
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 2.15rem;
}

h2.accueil {
    padding-top: 1em;
    text-align: left;
    font-size: 1rem;
    font-weight: 800;
}

h2.accueil_ndb {
    margin-top: 0;
    margin-bottom: 1em;
    font-family: var(--p-font-forelle);
    font-size: 2.5rem;
    font-weight: normal;
    font-weight: 800;
}

h2.pub_apotheca {
    font-size: 1.15em;
    font-weight: 800;
}

h3.accueil{
	font-size: 1rem;
	font-weight: 600;
	margin-bottom: 5px;
	text-align: left;
}
strong.accueil_bl {
    display: block;
    margin-top: 0;
    margin-bottom: 0;
    font-family: var(--p-font-forelle);
    font-size: 4em;
    font-weight: normal;
}

p.accueil-alerte {
    font-size: 0.8em;
}

div.accueil,
div.accueil_nom {
    display: block;
    width: 100%;
    padding: 10px;
    max-width: 1000px;
    border-radius: 35px;
}

a.accueil {
    text-decoration: underline;
    font-weight: 600;
    color: var(--p-violet);
}

div.accueil_section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 0;
}

div.accueil_section_illustration {
    width: 80%;
    margin: 0 auto;
    padding: 0 20px;
    max-width: 350px;
    text-indent: 0;
}

div.accueil_section_texte {
    flex: 1;
}

div.accueil_section_illustration img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

div.accueil_titre {
    display: block;
    width: 100%;
    margin: auto;
    padding: 10px;
    max-width: 1000px;
    border-radius: 35px;
}

.hero-h2 {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}


@media (max-width:767px) {
    .accueil_desktop {
        display: none !important;
    }

    .accueil_mobile,
    .temoignage_mobile,
    .mobile {
        display: block;
    }

    body {
        padding: 0 !important;
    }

    .accueil_mobile p {
        margin: 0;
        padding: 0;
    }

    main.accueil {
        z-index: 1;
        position: relative;
        width: 100%;
        margin: 0 auto;
        padding: 10px;
        text-align: center;
        background: none;
    }

    span.mobile-break {
        content: "";
        display: block;
        height: 1em;
    }

    /* ACCUEIL MOBILE */

    img.photo_mobile {
        width: 125px;
        height: 125px;
        border-radius: 50%;
        overflow: hidden;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        aspect-ratio: 1 / 1;
        object-fit: cover;
    }

    strong.signature_mobile,
    span.title_name {
        display: block;
        margin-top: 0;
        margin-bottom: 0;
        font-size: 1.25rem;
        font-weight: 800;
    }

    strong.h1_accueil_mobile,
    span.title_job {
        display: block;
        margin-top: 0.25em;
        margin-bottom: 0;
        padding-top: 0;
        font-size: 1.75rem;
        font-weight: 400;
    }
	span.title_job i {
		font-style: normal;
		font-size: 0.8em;
	}
    strong.h2_accueil_mobile,
    span.title_loc {
        display: block;
        margin-top: 0.25rem;
        margin-bottom: 0;
        padding-top: 0;
        font-size: 1.1rem;
        font-weight: 400;
    }
	span.title_loc.ndb {
	}

    span.title_loc_bis {
        display: block;
        margin-top: 0;
        margin-bottom: 0.25rem;
        padding: 0 15px;
        font-size: 1rem;
        font-style: italic;
        font-weight: 200;
        line-height: 1.5;
    }

    div.photo_mobile {
        display: block;
        margin: 10px;
    }

    div.accueil_mobile {
        display: block;
        margin: 15px;
    }

    div.accueil_mobile h3.accueil {
        text-align: left;
        font-size: 0.95em;
    }

    div.resume_mobile {
        width: 80%;
        margin: auto;
        font-size: 0.95em;
        font-weight: 400;
    }

    div.liens_accueil {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: space-around;
        gap: 5px;
        justify-content: center;
        width: 100%;
        margin: auto;
        padding: 10px 0;
        max-width: 400px;
    }

    p.accueil_mobile {
        text-align: left;
        font-size: 0.9em;
    }

    div.diaporama_mobile {
        display: block;
        width: 75%;
        margin: 0 auto;
        padding-bottom: 20px;
        max-width: 500px;
    }


    /* ========== */

    /* ACCORDION  */

    .block-accordion {
        margin-bottom: 15px;
        transition: all 0.3s ease;
    }

    .accordion-title {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 0;
        text-indent: 0 !important;
        cursor: pointer;
    }

    .accordion-title .icon-arrow {
        display: inline-block;
        margin-left: 10px;
        transition: transform 0.3s ease;
        transform: rotate(0deg);
    }
	
	div.texte-wrapper p{
        position: relative;
        padding: 0 15px;
        overflow: hidden;
        text-align: left;
        font-size: 0.95rem;
		text-rendering: optimizeLegibility;
	}
	
	.texte-wrapper ul {
		text-align: left;
		font-size: 0.95rem;
	}
	
	.hero-intro{
		font-style: normal;
	}
	
    /* Rotation de la flèche quand c'est ouvert */

    .block-accordion.active .icon-arrow {
        transform: rotate(180deg);
    }

    .accordion-content {
        position: relative;
        padding: 0 15px;
        max-height: 7em;
        overflow: hidden;
        text-align: left;
        font-size: 0.95em; /* Un peu plus grand pour le confort mobile */
        transition: max-height 0.6s cubic-bezier(0.4,0,0.2,1);
        -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
        mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
    }

    .accordion-content p strong {
        font-weight: 700;
    }

    /* Le dégradé qui invite à la suite */

    .accordion-content::after {
        display: none;
    }

    /* ÉTAT OUVERT : On applique les changements sur le contenu quand le parent est .active */

    .block-accordion.active .accordion-content {
        padding-bottom: 15px;
        max-height: 2000px;
        -webkit-mask-image: none;
        mask-image: none;
    }

    .block-accordion.active .accordion-content::after {
        opacity: 0; /* On efface le dégradé */
    }

    /* --- BOUTON LIRE LA SUITE --- */

    .read-more-trigger {
        display: block;
        z-index: 2;
        position: relative;
        margin: 10px auto;
        padding: 6px 15px;
        max-width: 160px;
        border: 1px solid rgba(0,0,0,0.05);
        border-radius: 15px;
        text-align: center;
        text-decoration: none;
        font-size: 0.9em;
        font-weight: 600;
        color: var(--p-glycine3);
        background: rgba(255, 255, 255, 0.5) ; /* Plus visible sur les fonds colorés */
        transition: background 0.3s;
        cursor: pointer;
    }

    /* On cache le bouton "Afficher plus" quand le bloc est déjà ouvert */

    .block-accordion.active .read-more-trigger {
        display: none;
    }

    /* --- AJUSTEMENTS DES LISTES ET TEXTES --- */

    .accordion-content p {
        margin-bottom: 12px;
        margin-left: 0;
        text-indent: 0 !important;
        line-height: 1.5;
    }

    .accordion-content ul {
        margin: 10px 0 10px 1.2em;
        padding: 0;
        list-style-position: outside;
    }

    .accordion-content li {
        margin-bottom: 8px;
        text-indent: 0 !important;
        line-height: 1.4;
    }

    .accordion-content ul ul {
        margin-top: 5px;
        padding-left: 1.2em;
        list-style-type: square;
    }

    /* Style spécifique pour les moyens de paiement */

    p.moyens_paiement_mobile {
        text-align: center;
        font-weight: 600;
        color: var(--p-violet);
    }

    p.prix_mobile {
        text-align: center;
        font-weight: 400;
    }

    div.accueil_titre {
        padding: 10px 5px 0 5px !important;
    }

    .premier_h2_accueil {
        margin-top: 0 !important;
        padding-top: 10px !important;
    }
}

@media (min-width:768px) {
    div.accueil_titre {
        display: flex;
        flex-wrap: wrap;
        gap: 20px 20px;
        justify-content: center;
        padding: 20px;
        text-align: center;
    }

    div.accueil_nom {
        flex: 0 1 400px;
        padding: 20px;
    }

    div.entete_photo {
        flex: 0 0 450px;
        padding: 20px;
    }

    div.accueil_section_texte {
        padding-left: 20px;
        min-width: 450px;
    }

    div.accueil_presentation {
        width: 95%;
        margin: auto;
        padding: 2rem;
        border-right: 8px solid #F0C68E;
        border-left: 8px solid #F0C68E;
        border-radius: 15px;
        background: var(--p-blanc-chaud);
        box-shadow: 2px 4px 15px rgba(0,0,0,0.05);
    }

    p.mini_presentation_parcours {
        width: 90%;
        margin: auto;
        margin: 0.5rem auto;
        text-align: justify;
        font-size: 1rem;
        font-style: italic;
    }

    span.title_name {
        display: block;
        margin-top: 0;
        margin-bottom: 0;
        font-family: var(--p-font-forelle);
        font-size: 4rem;
        font-weight: normal;
        line-height: 1;
    }

    span.title_job {
        display: block;
        margin-top: 0.25rem;
        margin-bottom: 0.25rem;
        padding-top: 0;
        font-size: 2.15rem;
        font-weight: 200;
		line-height: 1.5em;
    }
	
	span.title_job.gads {
		margin-top: 0.75rem;
	}

	span.title_job i {
		font-style: normal;
		font-size: 0.8em;
	}
	br.title_job {
		padding-top: 1.5em;
	} 

    span.title_loc {
        display: block;
        margin-top: 0;
        margin-bottom: 0;
        font-size: 1.6rem;
        font-weight: 600;
    }
	span.title_loc.ndb {
		font-family: var(--p-font-forelle);
		font-weight: 400;
		font-size: 2.5rem;
		margin-top: 0.5rem;
		margin-bottom: 0.5rem;
	}

    span.title_loc_bis {
        display: block;
        margin-top: 0.25rem;
        margin-bottom: 1rem;
        font-size: 1rem;
        font-style: italic;
        font-weight: 400;
        line-height: 1;
    }
	
	span.title_loc_bis.gads{
		margin-top: 0.75em;
		margin-bottom: 0;
		font-size: 1rem;
		line-height: 1.5em;
	}
    img.accueil {
        margin: auto;
        max-width: 140px;
    }
}

@media only screen and (min-width:768px) and (max-width:1299px) {
	span.title_loc_bis.gads{
		margin-top: 0.75em;
		margin-bottom: 0;
		font-size: 1.15rem;
		line-height: 1.5em;
		font-style: normal;
        font-weight: 400;
	}	
}

@media only screen and (min-width:1100px) {
    div.accueil_titre {
        grid-template-columns: 1fr 1fr; /* Deux colonnes égales */
    }
}

@media only screen and (min-width:768px) and (max-width:1130px) {
    div.accueil_presentation {
        max-width: 700px;
    }
}

.accueil_texte {
    display: block;
    padding-right: 5%;
    padding-left: 5%;
    text-align: justify;
    text-indent: 1rem;
    line-height: 1.5rem;
}

div.diaporama_mobile {
    display: none;
}

video.accueil {
    width: 100%;
    max-width: 500px;
    border-radius: 21px;
    aspect-ratio: 4/3;
}

img.accueil {
    max-width: 140px;
}

div.mini_presentation_desktop {
    width: 80%;
    margin: auto;
    padding: 15px 25px 15px 25px;
    border-radius: 15px;
    background-color: var(--p-jaune);
}

/* Défilement des images de la page d'accueil */

.slideshow-container {
    position: relative;
    width: 100%;
    margin: auto;
    padding-top: 75%;
    border-radius: 21px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.slide,
.mslide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 21px;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    object-fit: cover;
}

.slide.active,
.mslide.active {
    opacity: 1;
}

/* Témoignages */

.testimonial-title {
    margin-bottom: 30px;
    padding-top: 30px;
    border-bottom: 2px solid #ccc;
    text-align: left;
}

.feedback-block {
    margin: 20px 0;
    padding: 20px 20px 10px 30px;
    border-left: 4px solid #c9a55c;
    border-radius: 5px;
    background-color: #f9f6f2;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.05);
}

.review-block {
    position: relative;
    margin: 20px auto;
    padding: 20px 20px 10px 30px;
    border-right: 5px solid var(--p-violet);
    border-left: 5px solid var(--p-violet);
    border-radius: 16px;
    font-style: italic;
    line-height: 1.6;
    background-color: #fcfcfc;
	width: 90%;
	max-width: 900px;
}

.review-block .quote-icon {
    position: absolute;
    top: 15px;
    left: 8px;
    font-size: 1.5em;
    color: var(--p-violet);
    opacity: 0.5;
}

.review-text {
    margin-top: 0;
    margin-bottom: 15px;
    padding-left: 20px;
    font-style: italic;
}

.review-author {
    display: block;
    margin-top: 10px;
    text-align: right;
    font-style: normal;
    font-weight: bold;
    color: #555;
}

.read-more-trigger {
    display: none;
}

.stars {
    font-size: 1.2em;
    color: #ffc107; /* Jaune d'or pour les étoiles */
}

a.btn-temoignage {
    margin: 28px auto;
    padding: 28px;
}

@media screen and (min-width:768px) {
    a.btn-temoignage {
        padding: 14px;
    }
}

.admin-note {
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px dashed #ccc;
    font-size: 0.9em;
    color: #666;
}

/* Liens de réservation (utilisés sur la page d'accueil) */

div.liens_accueil {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: space-around;
    gap: 5px;
    justify-content: center;
    width: 80%;
    margin: auto;
    padding-bottom: 20px;
    max-width: 700px;
}


/*---------------------------------------
  RÈGLES SPÉCIFIQUES TABLETTE/MOYEN (min-width: 501px et max-width: 900px/720px)
-----------------------------------------*/

@media screen and (min-width:768px) and (max-width:900px) {
    .accueil_desktop {
        display: block;
    }

    main.accueil {
        width: 90%;
    }

    div.accueil {
        display: block;
        width: 90%;
        margin: auto;
        padding: 20px;
        max-width: 800px;
    }

    div.accueil_titre {
        width: 100%;
        margin: auto;
        padding: 20px;
        max-width: 800px;
    }

    .accueil_texte {
        width: 100%;
        margin: auto;
        max-width: 800px;
    }

    div.entete {
        display: block;
        width: 100%;
        margin: auto;
        max-width: 500px;
    }

    div.entete_titre {
        display: block;
        margin: 50px;
    }

    div.entete_photo {
        width: 75%;
        margin: auto;
    }

    img.accueil {
        width: 40%;
        height: auto;
        max-width: 130px;
    }

    .tarif_img_mp {
        width: 50px;
    }
}

@media screen and (max-width:720px) {
    .accueil_desktop {
        display: block;
    }

    .accueil_mobile,
    .temoignage_mobile {
        display: none;
    }

    main {
        width: 95%;
        margin: auto;
        max-width: 550px;
    }
}

/* --- Configuration en Z --- */

/* --- mobile first       --- */

.container-z {
    padding: 15px;
}

.profile-pic {
    width: 160px;
    height: 160px;
    margin-bottom: 20px;
    border-radius: 50%; /* Gardé à 50% sur smartphone */
    object-fit: cover;
}

.row-z {
    margin-bottom: 50px;
}

.image-wrapper img {
    width: 50%;
    margin-bottom: 15px;
    max-width: 300px;
    border-radius: 20px;
}

@media (max-width:767px) {
    .hero-block {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 30px;
        text-align: center;
    }
	.hero-bg{
		order: 2;
		width: 90%;
		max-width: 350px;
	}

    .hero-text {
        order: 2;
    }

    .hero-image {
        order: 1;
    }

    .hero-slogan {
        order: 3;
		background: rgba(255, 255, 255, 0.3);
		border-radius:15px;
		padding: 5px;
		width: 100%;
		margin: 20px auto;
    }

    .hero-action {
        order: 4;
		display: flex;
		gap: 20px;
		flex-wrap: wrap;
		justify-content: center;
    }
	.hero-action a{
		margin: 5px;
	}
	
	.hero-memo{
		border-left: 4px solid var(--p-violet);
		padding: 0 15px;
		margin: 30px 0 10px 0;
		font-style: normal;
	}

    .hero-slogan strong {
		font-size: 1.25rem;
		font-weight: 400;
		padding-top: 0;
		margin-top: 0.25rem;
		margin-bottom: 0.5rem;
		font-style: italic;
    }

    .image-wrapper p {
        display: none;
    }
}

@media (min-width:768px) {
    .container-z {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .hero-block {
        display: grid;
        grid-template-columns: 2fr 1fr;
        grid-template-areas: "text image" "slogan image";
        align-items: center;
        gap: 10px;
        width: 75%;
        margin: auto auto auto 25%;
        padding: 100px 0 75px 0;
    }

    .hero-content {
        position: absolute;
        top: 50%;
        right: 10%; /* Tu décales ton texte de 10% par rapport au bord droit */
        width: 40%; /* Ton texte occupe 40% de la largeur de la section */
        text-align: right; /* Pour renforcer le Z-Pattern, on aligne le texte à droite */
        color: #4a4a4a; /* Ta couleur de texte */
        transform: translateY(-50%) ; /* Pour centrer verticalement */
    }

    /* Ligne 2 et 3 : On veut qu'ils prennent toute la largeur */

    .hero-slogan,
    .hero-action {
        flex: 1 1 100%; /* Force l'élément à prendre 100% de la largeur */
        text-align: center;
    }

    .hero-text {
        align-self: end;
        margin: auto;
        grid-area: text;
        filter: drop-shadow(5px 5px 10px rgba(255, 255, 255, 0.5));
    }

    .hero-image {
        display: flex;
        align-items: center;
        justify-content: center;
        grid-area: image;
    }

    .hero-slogan {
        align-self: start;
        text-align: center;
        grid-area: slogan;
        filter: drop-shadow(5px 5px 10px rgba(255, 255, 255, 0.5));
    }
	
	.hero-slogan.gads {
		padding-top: 1rem;
	}
	
    .hero-action {
        order: 4;
    }

    .hero-slogan strong {
        /*font-family: var(--p-font-forelle);
        font-size: 2.75rem;
        font-weight: normal;
        line-height: 2.5rem;*/
		font-family: var(--p-font-family) !important;
		font-weight: 200;
		font-style: italic;
		font-size: 1.5rem;
    }

	.hero-slogan.gads strong {
		font-size: 1.5rem;
	}

    .profile-pic {
        width: auto;
        height: auto;
        max-width: 350px;
        border-radius: 25px;
        object-fit: contain;
        filter: drop-shadow(5px 5px 10px rgba(0, 0, 0, 0.3));
    }

    .row-z {
        display: flex;
		flex-direction: row;
        align-items: stretch; /* Les deux colonnes font la même hauteur */
        gap: 60px;
        width: 80%;
        margin: 0 auto 80px;
        transform: translateX(30px);
    }

    .row-z:nth-of-type(odd) {
        flex-direction: row-reverse;
    }

    .texte-wrapper {
        flex: 1;
        padding: 30px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 25px;
        text-align: justify;
        background-color: rgba(255, 255, 255, 0.3);
    }
	
	.texte-wrapper.intro {
		width: 50%;
		margin: 0 auto 70px auto;
		min-width: 500px;
	}

    .image-wrapper {
        display: inline-block;
        flex: 1;
        margin: auto;
        text-align: center;
        vertical-align: top;
    }

    .image-wrapper img {
        width: auto;
        height: auto;
        max-height: 250px;
        max-width: 250px;
        border-radius: 25px;
        object-fit: contain;
        filter: drop-shadow(5px 5px 10px rgba(0, 0, 0, 0.3));
		margin: auto;
    }

    .image-wrapper p {
        margin: 0;
		padding-top: 10px;
        font-size: 0.9em;
        font-style: italic;
        line-height: 1.2;
        color: #555;
    }

	
	.testimonial-section{
		width: 80%;
		max-width: 700px;
		margin: auto;
	}
}

@media screen and (min-width: 1300px) {
    .hero-block {
		display: block;
        position: relative; 
		margin: auto;
		width: 100%;
		height: 80vh;
        justify-content: center;
        min-height: 770px;
    }

	.hero-text, .hero-slogan {
        position: relative;
        width: 100%;
        text-align: center;
        margin: auto;
    }
    span.title_loc {
        display: block;
        margin-top: 0.5rem;
        margin-bottom: 1rem;
        font-size: 1.7rem;
        font-weight: 400;
		padding-top: 0.5rem;
	}
	span.title_loc.ndb {
		font-family: var(--p-font-forelle);
	}
    .hero-slogan {
        margin-top: 20px; /* Espace entre nom et slogan */
    }
    .hero-image {
        position: absolute;
        top: 37%;
        left: calc(50% + 450px - 125px);
        transform: translateY(-50%); /* Centre parfaitement la photo verticalement */
        width: 250px !important;
		height: 250px !important;
        z-index: 3;
    }
    .profile-pic {
        width: 250px !important;
		max-width: 250px !important;
		height: 250px !important;
		display: block;
        filter: drop-shadow(5px 5px 10px rgba(0, 0, 0, 0.3));
		object-fit: cover;
		border-radius: 50%;
		object-position: center;
		border: 3px solid rgba(255, 255, 255, 0.3);
    }
	.hero-bg{
		position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        
        /* Taille du rectangle de fond */
        width: 900px;
        padding: 40px;
        border-radius: 20px;
        z-index: 2;

        /* Effet de flou */
        background: rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px); /* Pour Safari */
	}
	section.row-z:nth-of-type(2) {
		padding-top: 2%;
	}	
}

@media (min-width:1250px) {
	.image-wrapper img {
        width: auto;
        height: auto;
        max-height: 320px;
        max-width: 320px;
        border-radius: 25px;
        object-fit: contain;
        filter: drop-shadow(5px 5px 10px rgba(0, 0, 0, 0.3));
    }
}
@media (max-width:1599px) {
    .accroche_br_desktop {
        display: none;
	}
}
@media (min-width:1600px) {
    .accroche_br_mobile {
        display: none;
	}
	.row-z {
        width: 80%;
    }
}

@media (min-width:768px) and (max-width:1399px) {
    .row-z {
        row-gap: 30px;
        width: 90%;
        transform: none;
    }
	.row-z:nth-of-type(odd) {
		transform: none;
	}

    .texte-wrapper {
        flex: 3;
        padding: 20px;
    }

    .image-wrapper {
        flex: 2;
    }

}
@media (min-width:1400px) {
    .row-z {
		gap: 0;
		width: 90%;
        transform: translateX(-50px);
    }
	.row-z:nth-of-type(odd) {
		transform: translateX(50px);
	}
	.image-wrapper img {
        width: auto;
        height: auto;
        max-height: 400px;
        max-width: 400px;
        border-radius: 25px;
        object-fit: contain;
        filter: drop-shadow(5px 5px 10px rgba(0, 0, 0, 0.3));
    }

	.row-z .image-wrapper {
		transform: translateX(50px);
	}

	.row-z:nth-of-type(odd) .image-wrapper {
		transform: translateX(-50px);
	}
}
/* ============================================================ */

/* CONFIGURATION HERO TABLETTE (768px - 1023px)                */

@media screen and (min-width:768px) and (max-width:1299px) {
    .hero-block {
    /* Empilement vertical */

    /* Centrage horizontal */

    /* Sécurité pour l'image */

    /* Effet de flou sous le texte */

        display: flex;
        position: relative;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        justify-content: center; /* Centrage vertical */
        width: 100%;
        margin: 110px auto 70px auto;
        padding: 110px 0 60px 0; /* Espace pour le header */
        padding: 30px;
        max-width: 550px;
        height: 620px;
        border-radius: 20px;
        overflow: hidden;
        text-align: center;
        background: rgba(255, 255, 255, 0.2) ; /* Fond blanc très transparent */
        backdrop-filter: blur(10px);
    }
	
	.hero-block.gads{
		margin: 30px auto;
		height: 720px;
		background: rgba(255, 250, 245, 0.5) ; /* Blanc chaud */
	}

    .hero-block::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
    }

    /* Réorganisation de l'ordre des éléments dans le flex */

    .hero-block .image-area {
        order: 1; /* La photo en haut */
        width: 180px;
        margin-bottom: 10px;
    }

    .hero-block .text-area {
        z-index: 2; /* S'assure d'être au-dessus du dégradé */
        order: 2; /* Le nom et titre au milieu */
        width: 100%;
    }

	span.title_loc_bis.gads{
		margin-top: 0.75em;
		margin-bottom: 0;
		font-size: 1.05rem;
		line-height: 1.5em;
		font-style: normal;
        font-weight: 200;
	}	

    *,
    *::before,
    *::after {
        box-sizing: border-box;
    }

    html {
        width: 100%;
        font-size: 1rem;
        line-height: 1.5;
        -webkit-text-size-adjust: 100%;
    }

    @media (min-width:768px) {
    html {
        font-size: 110%;
        letter-spacing: 0.01em;
    }
}
}


/*=============================================================================
  2. PAGE ACCUEIL & COMPOSANTS HÉROS
=============================================================================*/

main.accueil {
    width: 90%;
    margin: auto;
    padding: 20px;
    max-width: 1000px;
    border-radius: 35px;
    background-color: rgba(255,255,255,0.8);
}

div.accueil_titre {
    display: block;
    width: 100%;
    margin: auto;
    padding: 10px;
}

@media (min-width:768px) {
    div.accueil_titre {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
        text-align: center;
    }
}

div.accueil_presentation {
    width: 95%;
    margin: auto;
    padding: 2rem;
    border-right: 8px solid var(--p-saumon);
    border-left: 8px solid var(--p-saumon);
    border-radius: 15px;
    background: var(--p-blanc-chaud);
    box-shadow: 2px 4px 15px rgba(0,0,0,0.05);
}

/* Témoignages */

.review-block {
    margin: 20px 0;
    padding: 20px;
    border-right: 5px solid var(--p-violet);
    border-left: 5px solid var(--p-violet);
    border-radius: 16px;
    font-style: italic;
    background-color: #fcfcfc;
}

/* Ajustement des titres pour tablette */

@media screen and (min-width:768px) and (max-width:1023px) {
	.hero-block h1 {
		margin-bottom: 5px;
		font-size: 2.2rem;
	}

	.hero-text {
		width: 100%;
	}

	.hero-slogan {
		margin: auto;
	}
    .row-z,
    .row-z:nth-of-type(odd) {
        display: flex;
        flex-direction: column !important; /* Force l'empilement */
        align-items: center;
        gap: 30px;
        width: 80%;
        margin: auto;
        padding: 40px 15px;
        transform: translateX(0px);
    }

    /* 2. L'image prend toute la largeur utile (avec un max pour pas être géante) */

    .image-wrapper {
        order: 1; /* L'image passe au-dessus */
        width: 100%;
        margin: 0 auto;
        max-width: 500px;
    }

    .image-wrapper img {
        display: block;
        height: auto;
        margin: auto;
        border-radius: 15px;
    }

    /* 3. Le texte et les accordéons prennent toute la largeur */

    .texte-wrapper {
        order: 2; /* Le texte passe en dessous */
        width: 100%;
        max-width: 100%;
        text-align: justify;
    }

    /* 4. On s'assure que les accordéons ne sont plus compressés */

    .block-accordion {
        display: block;
        width: 95%;
        margin: 10px auto;
    }
}

/* Centrage des boutons dans les blocs texte (text-align:justify empêche inline-block de se centrer) */
.texte-wrapper > .btn {
    display: block;
    width: fit-content;
    margin-top: 1.5em;
    margin-left: auto;
    margin-right: auto;
}

.pricing-container {
	max-width: 950px;
	margin: 40px auto;
	padding: 20px;
}

.pricing-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
	justify-content: center;
	margin-top: 30px;
}

.pricing-card {
	background: rgba(255, 255, 255, 0.95);
	border-radius: 12px;
	box-shadow: 0 4px 15px rgba(0,0,0,0.1);
	padding: 35px;
	flex: 1;
	min-width: 400px;
	max-width: 400px;
	text-align: center;
	display: flex;
	flex-direction: column;
}

.pricing-card h2 {
	color: #333;
	font-size: 1.4rem;
	margin-bottom: 15px;
}

.price {
	font-size: 2rem;
	font-weight: 800;
	color: var(--p-violet);
	margin-bottom: 20px;
}

.price span {
	font-size: 1rem;
	font-weight: 400;
	color: #7f8c8d;
}

.pricing-features {
	list-style: none;
	padding: 0;
	margin: 0 0 30px 0;
	text-align: left;
	flex-grow: 1;
}

.pricing-features li {
	padding: 10px 0;
	border-bottom: 1px solid #f5f5f5;
	color: #555;
	display: flex;
	align-items: center;
}

.pricing-features li i {
	color: var(--p-cyan);
	margin-right: 12px;
	font-size: 0.9rem;
}

.tarif_img {
    width: 40%;
    max-width: 150px;
    filter: drop-shadow(7px 7px 7px gray);
}

.tarif_img_mp {
    width: 50px;
    filter: drop-shadow(3px 3px 3px gray);
}

.tarif_moyen_paiement {
    margin: auto;
    margin-bottom: 20px;
    padding: 20px;
    max-width: 100%;
    min-width: 80%;
    color: black;
}




.noshow{
	opacity: 0;
	visibility: hidden;	
	position: fixed;
	z-index: 10;
	top: 30px;
	right: 30px;
	transition: all 0.2s ease-in-out;
}
.noshow.show{
	opacity: 1;
	visibility: visible;	
}
	
.info-complementaire {
	text-align: center;
	margin-top: 50px;
	padding: 25px;
	border: 1px solid var(--p-glycine2);
	border-radius: 8px;
	color: #555;
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
}


/* ----------------------- */
/* Landing page Google Ads */
/* ----------------------- */

/* Désactivation de l'accordéon pour la version simplifiée (gads) */
.row-z.gads .accordion-content {
    display: block !important; /* Force l'affichage du texte */
    max-height: none !important; /* Supprime toute limite de hauteur */
    opacity: 1 !important; /* S'assure que le texte est visible */
	mask-image: none !important;
    -webkit-mask-image: none !important;
}

/* Masquage du bouton "Lire la suite" dans la version gads */
.row-z.gads .read-more-trigger,
.row-z.gads .icon-arrow {
    display: none !important;
}
/* --- Bouton Secondaire (Site Complet) --- */
.link-secondary-section{
	background-color: var(--p-blanc-chaud);
	padding: 20px;
	margin: auto;
	width: 90%;
	max-width: 900px;
	border-radius: 20px;
}
.link-secondary-section p{
	max-width : 700px;
	margin: 10px auto;
}
.link-secondary {
    display: block;
    margin: 20px auto;
    padding: 15px;
    color: var(--p-glycine2);
    text-decoration: none;
    font-weight: 600;
    border: 2px solid var(--p-glycine2);
    border-radius: 12px;
    transition: all 0.2s ease-in-out;
	max-width: 500px;
}

.link-secondary:active {
    background-color: var(--p-glycine2);
    color: white;
}

.link-secondary:hover{
	transform: translateY(-5px);
	background-color: var(--p-glycine2);
	color: #fff;
}


p.referencement {
    text-align: center;
}