/* ==========================================================
   FLT Conciergerie — Feuille de style principale
   Complète Tailwind : composants, animations, effets de scroll
   ========================================================== */

/* ----- Composants boutons ----- */
.btn-gold {
    background: linear-gradient(135deg, #C6A664 0%, #DFC896 50%, #C6A664 100%);
    background-size: 200% 200%;
    color: #141414;
    display: inline-block;
    text-align: center;
    transition: background-position .5s ease, transform .3s ease, box-shadow .3s ease;
}
.btn-gold:hover {
    background-position: 100% 100%;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px -8px rgba(198, 166, 100, .55);
}
.btn-dark {
    background: #141414;
    color: #fff;
    display: inline-block;
    text-align: center;
    transition: background .3s ease, transform .3s ease, box-shadow .3s ease;
}
.btn-dark:hover {
    background: #C6A664;
    color: #141414;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px -8px rgba(20, 20, 20, .4);
}

/* ----- Titres de section ----- */
.section-eyebrow {
    color: #C6A664;
    text-transform: uppercase;
    letter-spacing: .35em;
    font-size: .72rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
.section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.9rem, 4vw, 2.75rem);
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

/* ----- Header : transparent sur le hero, opaque au scroll ----- */
#site-header {
    background: transparent;
}
#site-header .header-brand { color: #fff; }
#site-header .nav-link      { color: rgba(255, 255, 255, .85); }
#site-header .nav-link:hover,
#site-header .nav-active    { color: #C6A664; }
#site-header.scrolled {
    background: rgba(20, 20, 20, .92);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, .25);
}
.nav-link { position: relative; padding-bottom: 4px; transition: color .3s ease; }
.nav-link::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 0; height: 1.5px;
    background: #C6A664;
    transition: width .35s ease;
}
.nav-link:hover::after,
.nav-active::after { width: 100%; }

/* ----- Hero ----- */
.hero-zoom { animation: heroZoom 18s ease-out forwards; }
@keyframes heroZoom {
    from { transform: scale(1.12); }
    to   { transform: scale(1); }
}

/* ----- Hero des pages internes ----- */
.page-hero {
    position: relative;
    background:
        linear-gradient(rgba(20, 20, 20, .82), rgba(20, 20, 20, .82)),
        radial-gradient(ellipse at 30% 20%, rgba(198, 166, 100, .35), transparent 55%),
        #141414;
    padding: 11rem 1.5rem 6rem;
    text-align: center;
}
.page-hero-compact { padding: 10rem 1.5rem 4.5rem; }
.page-hero-inner { max-width: 56rem; margin: 0 auto; }

/* ----- Effets d'apparition au scroll ----- */
.reveal {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity .9s cubic-bezier(.22, .61, .36, 1), transform .9s cubic-bezier(.22, .61, .36, 1);
    will-change: opacity, transform;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .hero-zoom { animation: none; }
}

/* ----- Cartes ----- */
.card-hover {
    transition: transform .45s cubic-bezier(.22, .61, .36, 1), box-shadow .45s ease;
}
.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 50px -18px rgba(20, 20, 20, .22);
}

/* ----- Icônes "Pourquoi nous" ----- */
.why-icon { transition: background .4s ease, color .4s ease, transform .4s ease; }
.why-icon:hover, div:hover > .why-icon {
    background: #C6A664;
    color: #fff;
    transform: rotateY(180deg);
}

/* ----- FAQ ----- */
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] summary { color: #A8894B; }

/* ----- Formulaires ----- */
.form-label {
    display: block;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-weight: 600;
    color: #4b5563;
    margin-bottom: .5rem;
}
.form-input {
    width: 100%;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: .9rem;
    padding: .85rem 1.25rem;
    font-size: .92rem;
    transition: border-color .3s ease, box-shadow .3s ease;
}
.form-input:focus {
    outline: none;
    border-color: #C6A664;
    box-shadow: 0 0 0 4px rgba(198, 166, 100, .15);
}
.form-input-error { border-color: #dc2626; }
.form-error { color: #dc2626; font-size: .78rem; margin-top: .4rem; }

/* Honeypot anti-spam : hors écran, invisible pour les humains */
.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px; height: 1px;
    overflow: hidden;
}

/* ----- Sélecteur de note par étoiles (page Avis) ----- */
.star-rating {
    display: inline-flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: .35rem;
    margin-top: .25rem;
}
.star-rating input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}
.star-rating label {
    font-size: 1.9rem;
    color: #d8d2c4;
    cursor: pointer;
    transition: color .2s ease, transform .2s ease;
}
/* L'étoile survolée + toutes celles qui la suivent visuellement (à sa gauche
   grâce à row-reverse) ainsi que l'étoile cochée et ses suivantes deviennent dorées. */
.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label {
    color: #C6A664;
}
.star-rating label:hover {
    transform: scale(1.12);
}
.star-rating input:focus-visible + label {
    outline: 2px solid #C6A664;
    outline-offset: 3px;
    border-radius: 4px;
}

/* ----- Bouton favori (cœur) sur les cartes ----- */
.fav-btn {
    width: 2.5rem;
    height: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    color: #C6A664;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
    transition: transform .25s ease, background .25s ease, color .25s ease;
    cursor: pointer;
}
.fav-btn:hover { transform: scale(1.1); }
.fav-btn.is-fav { background: #C6A664; color: #fff; }

/* ----- Messages flash ----- */
.flash-message {
    animation: flashIn .5s cubic-bezier(.22, .61, .36, 1) both;
}
@keyframes flashIn {
    from { opacity: 0; transform: translateX(40px); }
    to   { opacity: 1; transform: translateX(0); }
}
.flash-message.flash-out {
    transition: opacity .4s ease, transform .4s ease;
    opacity: 0;
    transform: translateX(40px);
}

/* ----- Slider / galerie ----- */
.slider, .gallery { overflow: hidden; }
[data-gallery-dots] button {
    width: 10px; height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .45);
    transition: background .3s ease, transform .3s ease;
}
[data-gallery-dots] button.active {
    background: #C6A664;
    transform: scale(1.25);
}
[data-gallery-thumb].active {
    border-color: #C6A664 !important;
    opacity: 1 !important;
}

/* ----- Contenu des pages légales ----- */
.legal-content h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    margin: 2.2rem 0 .9rem;
}
.legal-content h3 { font-weight: 600; font-size: 1.1rem; margin: 1.6rem 0 .6rem; }
.legal-content p  { color: #4b5563; line-height: 1.75; margin-bottom: 1rem; }
.legal-content ul, .legal-content ol { color: #4b5563; padding-left: 1.4rem; margin-bottom: 1rem; line-height: 1.75; }
.legal-content ul { list-style: disc; }
.legal-content ol { list-style: decimal; }
.legal-content a  { color: #A8894B; text-decoration: underline; }

/* ----- Bouton retour en haut ----- */
#back-to-top.show { opacity: 1; pointer-events: auto; }
#back-to-top:hover { transform: translateY(-4px); }

/* ----- Scrollbar discrète ----- */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #f5f0e8; }
::-webkit-scrollbar-thumb { background: #C6A664; border-radius: 999px; }
