@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700&display=swap');

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

.row {
    margin-right: 0 !important;
    margin-left: 0 !important;
}

body {
    background-color: white;
    font-family: "Open Sans", sans-serif;
    animation: backgroundColorChange 45s ease-in-out infinite;
    transition: background-color 3s ease-in-out;
    font-size: 1.125rem;
}
    
@keyframes backgroundColorChange {
  0%   { background-color: #c16c7b; }
  10%  { background-color: #b77a97; }
  20%  { background-color: #a2719d; }
  30%  { background-color: #9e87bb; }
  40%  { background-color: #816bcf; }
  50%  { background-color: #b191ae; }
  60%  { background-color: #e2c697; }
  70%  { background-color: #c5a9a6; }
  80%  { background-color: #ab6e9d; }
  90%  { background-color: #ac5e90; }
  100% { background-color: #c16c7b; }
}

@media (min-width: 997px) {
    .custom-container {
        width: 75%;
        margin: auto;
    }
}

.text-justify-custom {
  text-align: justify;
}

li {
    list-style: none;
}

.fa-leaf {
    color: white;
}

/* header */
header {
    height: 200px;
    position: relative;
    z-index: 1000;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}


header, .mobile-header {
    background-color: #ffffff;
}

.hide-desktop {
    display: none;
}

/* Cache le header desktop sur mobile */
@media (max-width: 997px) {
    header.d-flex {
        display: none !important;
    }

    .hide-desktop {
        display: block !important;
    }
}

.logo {
    transition: transform 0.3s ease-in-out;
}

.logo:hover {
    transform: scale(1.15);
}

.rdv-button {
    background: #D0B134;
    color: white !important;
    padding: 15px 25px;
    border: 2px solid #D0B134;
    border-radius: 15px;
    font-size: 1.125rem;
    text-transform: uppercase;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    animation: heartbeat 2s infinite ease-in-out;
}

.rdv-button a {
    color: white !important;
    text-decoration: none;
    font-weight: bold;
}

.rdv-button:hover {
    background: white;
    transform: scale(1.05);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.3);
    color: #D0B134 !important;
}

.rdv-button:hover a {
    color: #D0B134 !important;
}

/* Animation battement de cœur */
@keyframes heartbeat {
    0%, 80%, 100% { transform: scale(1); } 
    30% { transform: scale(1.05); } 
    40% { transform: scale(0.97); } 
    50% { transform: scale(1.02); } 
    60% { transform: scale(1); } 
} 

.menu-item, .menu-item a {
    color: #292A47;
    transition: all 0.3s ease-in-out;
    font-family: "Open Sans", sans-serif;
    font-size : 1.125rem;
}

.menu-item a:hover {
    color: #D0B134;
}

@media (min-width: 1200px) {
    .menu-item, .menu-item a {
        font-size : 1.25rem;
    }
}

.cecilia-gampp-item {
    font-size: 1.2rem; 
    font-weight: bold;
}

.dropdown-menu {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    padding: 0.5rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.dropdown-menu .dropdown-item {
    color: #292A47;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease-in-out;
}

.dropdown-menu .dropdown-item:hover {
    color: #D0B134;
    background-color: #f8f9fa;
}

.bi-list {
    color: #D0B134;
    font-size: 2.5rem;
    margin-right: 20px;
}

/* titre et texte*/
.title, .citation {
    font-family: "Dancing Script", cursive;
    margin: 40px 40px 20px 40px;
    font-weight: 700;
}

.seance-title {
    font-family: "Crimson Text", serif;
    font-weight: bold;
}

.title {
    font-size : 2.5rem;
}

.citation {
    font-size : 2rem;
}

.seance-title {
    font-size: 2rem;
}

.gold-title {
    color: #D0B134 !important;
}

.subtitle {
    font-family: "Merriweather", serif;
    font-weight: bold;
}

.slide-in-text {
    opacity: 0;
    transform: translateY(20px);
}

.slide-in-text.visible {
    animation: slideIn 1.5s ease-out forwards;
}

@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* liens */
a.link {
    color: #292A47;
    text-decoration: none;
}

a.white-link {
    color: white;
    text-decoration: none;
}

a.link:hover, a.white-link:hover {
    color: #D0B134;
}

a.button-link:hover {
    color:white;
}

a.footer-link {
    color: #292A47 !important;
    text-decoration: none;
}

a.footer-link:hover {
    color: #D0B134 !important;
}


/* Boutons */
.button {
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    color: #fff;
    background: linear-gradient(135deg, #D0B134, #AB7D25);
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center; /* <-- Ajouté ici */
}

.button:hover {
    color: #fff;
    background: linear-gradient(135deg, #C7973E, #A07B2F);
    transform: scale(1.05);
}

/* Image */
.img-container {
    max-width: 600px;
}

.img {
    width: 98%;
}

@media screen and (min-width: 768px) {
    .img {
        width: 70%;
    }
}

.scintillant {
    position: relative;
    overflow: hidden;
}

.scintillant::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 70%);
    transform: skewX(-25deg);
    opacity: 0; /* Caché par défaut */
    transition: opacity 0.3s ease-in-out;
}

.scintillant.visible::after {
    opacity: 1;
    animation: shine 2s forwards;
}


@keyframes shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Footer */
footer {
    background-color: #ffffff;
    box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.08);
}

.footer-ul {
    list-style: none;
}

.footer-contact, .footer-space {
    padding-top: 50px;
}

.social-network svg {
    width: 75px;
    height: 75px;
    transition: transform 0.3s ease-in-out;
}

/* Animation uniquement sur l’étoile */
.social-network polygon {
    fill: url(#gold-gradient);
    stroke: #D0B134;
    stroke-width: 3;
    transition: transform 0.3s ease-in-out, fill 0.3s ease-in-out, stroke 0.3s ease-in-out, filter 0.3s ease-in-out;
    transform-origin: center;
}

/* Effet lumineux + grossissement au survol */
.social-network svg:hover polygon {
    transform: scale(1.1);
}

/* Empêche le logo de bouger */
.social-network image {
    transform-origin: center;
    transition: none;
}

/* Qui-suis-je ? */
@media (max-width: 992px) {
    ul.list {
        padding: 0 !important; 
        margin: 0 !important;
        width: 100%;
    }
    
    ul.list li {
        padding: 5px 0 !important;
    }
    
    .text {
        word-break: break-word;
        overflow-wrap: break-word;
        hyphens: auto;          
    }
}

/* About me section */
.about-me {
    background-color: #fff;
    padding: 20px;
}

/* Découvrir les séances home */
.discover-sessions {
    margin-top: 100px;
    margin-bottom: 100px;
}

/* espace blog sur la page d'accueil */
.home-blog-slider {
    position: relative;
    width: 100%;
    padding-top: 100px;
}

.slider-track {
    animation: scroll-left 60s linear infinite;
    width: max-content;
}

.slider-item {
    flex: 0 0 auto;
    border-radius: 15px;
    border: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.home-article-image-container {
    position: relative;
    width: 100%;
    height: 161px;
    overflow: hidden;
}

.home-article-image {
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 13px 13px 0 0;;
    z-index: 1;
}

.video-overlay i {
    color: white;
    font-size: 3rem;
    z-index: 2;
}

.home-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 2;
    padding-top: 10px;
}

.home-card-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.home-card-text {
    font-size: 0.875rem;
    color: #555;
    line-height: 1.4;
    height: 4.5em;
    overflow: hidden;
}

.home-article-btn {
    margin-top: auto;
    margin-bottom: 10px;
}

/* Section newsletter */
.newsletter-section {
    background-color: #fff;
    padding: 20px;
}

.newsletter-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border: 15px solid transparent;
    position: relative;
    animation: borderColorChange 45s infinite;
    border-radius: 25px;
    padding: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.newsletter-title {
    font-family: "Dancing Script", cursive;
    font-weight: 700;
    font-size: 1.875rem;
    color: #D0B134;
}

@media screen and (min-width: 768px) {
    .newsletter-title {
        font-size: 2.5rem;
    }
}

.newsletter-text {
    font-size: 1.1rem;
    margin-bottom: 50px;
    color: #292A47;
    width: 90%;
    text-align: justify;
}

@keyframes borderColorChange {
  0%   { border-color: #c16c7b; }
  10%  { border-color: #b77a97; }
  20%  { border-color: #a2719d; }
  30%  { border-color: #9e87bb; }
  40%  { border-color: #816bcf; }
  50%  { border-color: #b191ae; }
  60%  { border-color: #e2c697; }
  70%  { border-color: #c5a9a6; }
  80%  { border-color: #ab6e9d; }
  90%  { border-color: #ac5e90; }
  100% { border-color: #c16c7b; }
}

.feather {
    width: 75px;
    height: 50px;
}

/* Section confirmation rendez-vous */
.confirm-container {
    border: 15px solid transparent;
    animation: borderColorChange 45s infinite;
    border-radius: 25px;
    padding: 10px;
    width: 95%
}

@media (min-width: 768px) {
    .confirm-container {
        width: 75%;
    }
}

@media screen and (min-width: 1024px) {
    .confirm-container {
        width: 50%;
    }
}


/* Flèche pour remonter la page */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: white;
    color: #D0B134;
    border: 2px solid #D0B134;
    padding: 10px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px; /* Largeur fixe pour maintenir une forme ronde */
    height: 50px; /* Hauteur fixe pour maintenir une forme ronde */
    visibility: hidden;
    z-index: 1000;
}

.scroll-to-top.show {
    visibility: visible;
}

.scroll-to-top:hover {
    background-color: #D0B134;
    color: white;
    transform: scale(1.1);
    transition: all 0.3s ease-in-out;
}

.scroll-to-top span {
    font-size: 1.125rem;
    font-weight: bold;
}

.bi-arrow-up-short {
    font-size: 3rem;
}

/* animation logo et étoiles */
.logo-overlap-container {
    position: relative;
    height: 0;
}

.logo-wrapper {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-overlap {
    width: 200px;
    animation: heartbeat 2s infinite ease-in-out;
    margin: 0 0.25rem;
}

.star-xs { width: 0.75rem; }
.star-sm { width: 1rem; }
.star-md { width: 1.25rem; }
.star-lg { width: 1.5rem; }


@keyframes scaleUpDown {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

.star {
    margin: 0 0.25rem;
    animation: scaleUpDown 4s ease-in-out infinite;
}

@media (min-width: 768px) {
    .star-xs { width: 1.125rem; }   /* 0.75 * 1.5 */
    .star-sm { width: 1.5rem; }     /* 1 * 1.5 */
    .star-md { width: 1.875rem; }   /* 1.25 * 1.5 */
    .star-lg { width: 2.25rem; }    /* 1.5 * 1.5 */

    .star {
        margin: 0 0.7rem; /* augmente l'espacement */
    }

    .logo-overlap {
        margin: 0 1rem;
    }
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0 60px 0;
    font-size: 1rem;
}

.pagination a,
.pagination span {
    text-decoration: none;
    color: #292A47;
    padding: 6px 10px;
    border-radius: 4px;
    margin: 0 2px;
    background-color: transparent;
    transition: background-color 0.2s ease;
}

.pagination a:hover {
    background-color: rgba(41, 42, 71, 0.1);
    color: #000;
}

.pagination .current {
    background-color: #292A47;
    color: #fff;
    pointer-events: none;
    font-weight: bold;
}

/* Tableau des tarifs */
.tarif-table-container {
    max-width: 98%;
    margin: 0 auto;
    overflow-x: auto;
}

.tarif-table {
    width: 75%;
    word-wrap: break-word;
    border-collapse: collapse;
    margin: 0 auto;
}

.tarif-table td,
.tarif-table th {
    font-size: 1.1rem;
    padding: 0.75rem;
    vertical-align: top;
    border-bottom: 1px solid #AB7D25;
}

.tarif-table th {
    background-color: #D0B134;
}

.td-price {
    background-color: #D0B134 !important;
}

/* Version mobile */
@media (max-width: 768px) {
    .tarif-table-container {
        overflow-x: visible;
    }

    .tarif-table {
        border-collapse: separate;
        border-spacing: 0;
    }

    .tarif-table thead {
        display: none;
    }

    .tarif-table tr {
        display: block;
        margin-bottom: 1.5rem;
        border-radius: 6px;
        background-color: #fff;
    }

    .tarif-table td {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 0.5rem;
        border-bottom: 1px solid #AB7D25;
        padding: 0.75rem 0;
    }

    .tarif-table td::before {
        content: attr(data-label);
        font-weight: bold;
        display: inline-block;
        width: 130px;
        color: #D0B134;
        flex-shrink: 0;
        padding-left: 5px;
    }
}