/*---------------------------------------
  VARIABLES ET FONT-FACES
-----------------------------------------*/

@font-face {
    font-family: "dashicons";
    src: url("../fonts/dashicons.woff2") format("woff2"), url("../fonts/dashicons.woff") format("woff");
	font-display: swap;
}

@font-face {
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 200;
    src: url("../fonts/opensans/Light/OpenSans-Light.woff2") format("woff2"), url("../fonts/opensans/Light/OpenSans-Light.woff") format("woff");
	font-display: swap;
}

@font-face {
    font-family: "Open Sans";
    font-style: italic;
    font-weight: 200;
    src: url("../fonts/opensans/LightItalic/OpenSans-LightItalic.woff2") format("woff2"), url("../fonts/opensans/LightItalic/OpenSans-LightItalic.woff") format("woff");
	font-display: swap;
}

@font-face {
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 400;
    src: url("../fonts/opensans/Regular/OpenSans-Regular.woff2") format("woff2"), url("../fonts/opensans/Regular/OpenSans-Regular.woff") format("woff");
	font-display: swap;
}

@font-face {
    font-family: "Open Sans";
    font-style: italic;
    font-weight: 400;
	src: url("../fonts/opensans/Italic/OpenSans-Italic.woff2") format("woff2"), url("../fonts/opensans/Italic/OpenSans-Italic.woff") format("woff");
	font-display: swap;
}

@font-face {
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 600;
    src: url("../fonts/opensans/Semibold/OpenSans-Semibold.woff2") format("woff2"), url("../fonts/opensans/Semibold/OpenSans-Semibold.woff") format("woff");
	font-display: swap;
}

@font-face {
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 700;
    src: url("../fonts/opensans/Bold/OpenSans-Bold.woff2") format("woff2"), url("../fonts/opensans/Bold/OpenSans-Bold.woff") format("woff");
	font-display: swap;
}

@font-face {
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 800;
    src: url("../fonts/opensans/ExtraBold/OpenSans-ExtraBold.woff2") format("woff2"), url("../fonts/opensans/ExtraBold/OpenSans-ExtraBold.woff") format("woff");
	font-display: swap;
}

@font-face {
    font-family: "Open Sans";
    font-style: italic;
    font-weight: 800;
    src: url("../fonts/opensans/ExtraBoldItalic/OpenSans-ExtraBoldItalic.woff2") format("woff2"), url("../fonts/opensans/ExtraBoldItalic/OpenSans-ExtraBoldItalic.woff") format("woff");
	font-display: swap;
}

@font-face {
    font-family: "forelle";
    font-style: normal;
    font-weight: 400;
    src: url("../fonts/forelle/forelle.woff2") format("woff2"), url("../fonts/forelle/forelle.woff") format("woff");
	font-display: swap;
}

:root {
    --p-glycine: #CBBCDC;
    --p-glycine2: #906B9A;
    --p-glycine3: #804E8E;
    --p-violet: #703083;
    --p-cyan: #40C0A0;
    --p-saumon: #F0C68E;
    --p-jaune: #FDE8C6;
    --p-rose: #FAE3DF;
    --p-blanc-chaud: #fffaf5;
    --p-font-family: "Open Sans", arial, sans-serif;
	--p-font-forelle: "forelle", "Brush Script MT", cursive;
}

/*---------------------------------------
  RÈGLES GÉNÉRALES ET MISE EN PAGE
-----------------------------------------*/

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 1rem;
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* Légèrement plus grand pour les visiteurs sur desktop (plus âgés) */	
@media (min-width:768px) {
    html {
        font-size: 110%;
        font-weight: 400;
        letter-spacing: 0.01em;
    }
}

/* Eléments de base */
body {
    margin: 0;
    padding: 0;
    border: 0;
    font-family: var(--p-font-family);
    background-attachment: fixed;
    background-image: linear-gradient(to bottom,var(--p-saumon) 0%,var(--p-saumon) 15%,var(--p-jaune) 50%,var(--p-rose) 100%);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

main {
    display: block;
    position: static;
    width: 100%;
    padding: 0 0 50px 0;
    scroll-margin-bottom: 20px;
	text-align: center;
}

b {
    font-weight: 700;
}

strong {
    font-weight: 800;
}

img {
    height: auto;
    max-width: 100%;
}

a {
    text-decoration: none;
}


/* Masque alternativement des éléments sur Mobile ou Desktop/Tablette*/
@media (min-width:768px) {
    .mobile {
        display: none !important;
    }
}

@media (max-width:767px) {
    .desktop {
        display: none !important;
    }
}

/* H1 */

h1 {
    margin: 0 auto;
    padding-top: 70px;  
}

@media (min-width:768px) {
	h1 {
		text-align: center;
		font-family: var(--p-font-forelle);
		font-size: 3.5rem;
		font-weight: 400;
		line-height: 1.15;
	}
}

@media (max-width:767px) {
    h1 {
		text-align: center;
        width: calc(100% - 100px);
        margin: 20px auto;
        font-size: 1.5rem;
		font-weight: 800;
    }
}

@media (max-width:400px) {
    h1 {
        font-size: 1.25rem;
    }
}

/* ------- */
/* ACCUEIL */
/* ------- */

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.5em;
    font-weight: 800;
    line-height: 2.15rem;
}

h2.accueil {
    padding-top: 1em;
    text-align: left;
    font-size: 1em;
    font-weight: 800;
}

h2.accueil_ndb {
    margin-top: 0;
    margin-bottom: 1em;
    font-family: var(--p-font-forelle);
    font-size: 2.5em;
    font-weight: normal;
    font-weight: 800;
}

h2.pub_apotheca {
    font-size: 1.15em;
    font-weight: 800;
}

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;
}

@media (max-width:767px) {
    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;
    }
	
	span.title_job.gads {
		margin-top: 0.75rem;
	}

	span.title_job i {
		font-style: normal;
		font-size: 0.8em;
	}

    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;
}

.btn-reservation {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px auto;
    padding: 7px 14px 7px 3px;
    max-width: 300px;
    min-width: 250px;
    border: none;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    font-size: 1em;
    font-weight: bold;
    color: white;
    background-color: var(--p-glycine2);
    box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-reservation:hover {
    background-color: var(--p-glycine3);
    transform: scale(1.05);
}

.btn-reservation-desktop {
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin: 30px auto 0 auto;
    padding: 14px;
    border: none;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    font-size: 1em;
    font-weight: bold;
    color: #111;
    background-color: var(--p-cyan);
    box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-reservation-desktop:hover {
    transform: translateY(-5px);
}

.btn-reservation-h1:hover {
    background-color: #52D1B1;
    transform: scale(1.05);
}

.btn-cabinet {
    background-color: var(--p-glycine2);
}

.btn-cabinet:hover {
    background-color: var(--p-glycine3);
}

.btn-distance {
    background-color: var(--p-glycine2);
}

.btn-distance:hover {
    background-color: var(--p-glycine3);
}

.btn-reservation i {
    padding-right: 1.75em;
}

.btn-reservation svg {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    fill: white;
}

.btn-reservation-gads {
    display: block;
    align-items: center;
    justify-content: center;
	font-size: 1rem;
	padding: 1rem;
	margin: 20px auto 0 auto;
    border-radius: 50px;
	width: fit-content;
	min-width: 250px;
    font-weight: bold;
    color: #fff;
    background-color: var(--p-glycine2);
    transition: transform 0.3s ease;	
}

.btn-reservation-gads:hover {
    background-color: var(--p-violet);
    transform: scale(1.05);	
}

/*---------------------------------------
  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 !important;
	}
	
	.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: 200;
		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;
        width: 50%;
        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;
        align-items: stretch; /* Les deux colonnes font la même hauteur */
        gap: 60px;
        width: 80%;
        margin: 0 auto 80px;
        transform: translateX(30px);
    }

    .row-z.reverse {
        flex-direction: row-reverse;
    }

    .texte-wrapper {
        flex: 1;
        padding: 30px;
        border: 8px solid rgba(255, 255, 255, 0.7);
        border-radius: 25px;
        text-align: justify;
        background-color: rgba(255, 255, 255, 0.3);
    }

    .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) {
    /* On définit le conteneur parent comme référence */
    .hero-block {
		display: block;
        position: relative; 
		margin: auto;
		width: 100%;
		height: 80vh;
        justify-content: center;
        min-height: 600px; /* À ajuster selon la hauteur de votre image */
    }

	.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;
    }
	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.reverse{
		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.reverse{
		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.reverse .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.reverse {
        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;
    }
}

        .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;
        }

.btn-action {
	display: inline-block;
	background-color: var(--p-glycine2);
	color: #fff;
	padding: 14px 28px;
	border-radius: 50px;
	text-decoration: none;
	transition: background 0.3s;
	font-weight: 600;
	transition: transform 0.3s ease-in-out;
}

.btn-action:hover {
	background-color: var(--p-violet);
	color: #fff;
	transform: scale(1.05);
}

.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;
}

span.svg-fa svg{
	width: 1em;
	height: 1em;
	fill: currentColor;
	vertical-align: -0.125em;
}
.svg-fa.rdv-fa svg{
	width: 2.5em;
	height: 2.5em;
	fill: #d4af37;
}
/* ----------------------- */
/* 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;
}


/* ---------------
    FOOTER 
----------------*/


footer {
    display: block;
    position: sticky;
    width: auto;
    padding: 20px 10px;
    border-top: 1px solid #eee;
    text-align: center;
    font-size: 0.85rem; /* Un peu plus petit pour le mobile */
    color: #777;
}

div.footer p {
    margin: 0 auto;
}

.footer-credit {
    margin-top: 10px;
    font-size: 0.75rem;
    opacity: 0.7;
}

footer a {
    text-decoration: underline;
    color: #444;
}

p.referencement {
    text-align: center;
}


/* ------------------------ */
/*        COOKIES           */
/* ------------------------ */

/* 1. Style et Positionnement de la Bannière */

div.cookie-footer {
    z-index: 10000;
    position: fixed;
    bottom: 5px;
    left: 5%;
    width: 90%;
    padding: 5px;
    border-radius: 12px;
    text-align: center;
    color: #fff; /* Texte blanc */
    background-color: rgba(100, 100, 100, 0.8) ;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

#cookie-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90%;
    margin: auto;
    max-width: 1000px;
    transition: transform 0.5s ease-in-out;
    transform: translateY(100%) ;
}

.refuse-all {
    color: white;
    background-color: #E67E22;
}

.accept-all {
    color: white;
    background-color: var(--p-violet);
}


/* 2. État Actif (Affiché) */

/* La classe à ajouter/enlever avec JS pour afficher/masquer */

#cookie-banner.cookie-banner-active {
    transform: translateY(0) ; /* Apparaît en position normale */
}

/* 3. Contenu et Liens */

.cookie-content {
    margin: auto;
    font-size: 0.75em;
    font-weight: 600;
}

.cookie-link {
    margin-left: 5px;
    text-decoration: underline;
    color: #a0d8ff; /* Couleur de lien douce */
}

/* 4. Boutons d'Action */

.cookie-actions {
    display: flex;
    flex-shrink: 0; /* Empêche la zone des boutons de rétrécir */
    justify-content: center;
}

.cookie-button-accept {
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    color: white;
    background-color: #28a745; /* Vert pour l'action principale */
    transition: background-color 0.3s;
    cursor: pointer;
}

.cookie-button-accept:hover {
    background-color: #1e7e34; /* Effet au survol */
}

.cookie-btn {
    margin: 0 7px;
    padding: 5px;
    min-width: 90px;
    border: 0;
    border-radius: 5px;
    font-size: 0.75em;
    font-weight: 600;
    cursor: pointer;
}

@media (max-width:350px) {
    .cookie-btn {
        min-width: 70px;
    }
}

@media (max-width:600px) {
    #cookie-banner {
        flex-direction: column;
        padding: 7px;
        text-align: center;
    }

    .cookie-content {
        margin-right: 0;
        margin-bottom: 10px;
    }
}
