/* Page unique hôtel — Trio De Turismo */

.trio-hotel {
    --th-ink: #131212;
    --th-body: #3F3A36;
    --th-muted: #8A7F76;
    --th-orange: #FA8862;
    --th-orange-dark: #E86F48;
    --th-peach: #FBE7CE;
    --th-peach-soft: #FDF3E6;
    --th-line: #EFE7DC;
    --th-white: #FFFFFF;
    --th-ease: cubic-bezier(0.4, 0, 0.2, 1);
    --th-max: 1170px;

    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--th-ink);
    width: 100%;
    max-width: 100%;
}

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

/* --- Hero --- */

.trio-hotel .th-hero {
    position: relative;
    width: 100vw;
    left: 50%;
    margin-left: -50vw;
    min-height: 460px;
    display: flex;
    align-items: flex-end;
    background-color: #2A2523;
    background-size: cover;
    background-position: center;
}

.trio-hotel .th-hero-inner {
    width: 100%;
    max-width: var(--th-max);
    margin: 0 auto;
    padding: 0 24px 58px;
    color: var(--th-white);
}

.trio-hotel .th-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 15px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(6px);
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    line-height: 1.35;
}

.trio-hotel .th-title {
    margin: 18px 0 0;
    font-size: clamp(30px, 5vw, 50px);
    font-weight: 600;
    line-height: 1.06;
    letter-spacing: -0.025em;
    color: var(--th-white);
    text-wrap: balance;
}

.trio-hotel .th-loc {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 14px 0 0;
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

/* --- Bandeau de faits --- */

.trio-hotel .th-facts {
    position: relative;
    z-index: 2;
    max-width: var(--th-max);
    margin: -42px auto 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    background: var(--th-white);
    border: 1px solid var(--th-line);
    border-radius: 22px;
    box-shadow: 0 18px 48px rgba(19, 18, 18, 0.09);
    overflow: hidden;
}

.trio-hotel .th-fact {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 26px;
    border-right: 1px solid var(--th-line);
}

.trio-hotel .th-fact:last-child { border-right: none; }

.trio-hotel .th-fact-ic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: 12px;
    background: var(--th-peach-soft);
    color: var(--th-orange);
}

.trio-hotel .th-fact-l {
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--th-muted);
}

.trio-hotel .th-fact-v {
    display: block;
    margin-top: 3px;
    font-size: 16px;
    font-weight: 650;
    line-height: 1.35;
}

.trio-hotel .th-fact-v a { color: var(--th-orange-dark); text-decoration: underline; text-underline-offset: 3px; }

/* --- Colonnes --- */

.trio-hotel .th-layout {
    max-width: var(--th-max);
    margin: 0 auto;
    padding: 54px 0 20px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 54px;
    align-items: start;
}

.trio-hotel .th-side {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* --- Contenu --- */

.trio-hotel .th-content { font-size: 16.5px; line-height: 1.78; color: var(--th-body); }
.trio-hotel .th-content > *:first-child { margin-top: 0; }
.trio-hotel .th-content p { margin: 0 0 22px; }

.trio-hotel .th-content h2,
.trio-hotel .th-h2 {
    margin: 46px 0 18px;
    font-size: 26px;
    font-weight: 600;
    line-height: 1.24;
    letter-spacing: -0.018em;
    color: var(--th-ink);
    padding-left: 16px;
    border-left: 3px solid var(--th-orange);
    text-wrap: balance;
}

.trio-hotel .th-content h3 {
    margin: 34px 0 14px;
    font-size: 19.5px;
    font-weight: 650;
    line-height: 1.32;
    color: var(--th-ink);
}

.trio-hotel .th-content h4 {
    margin: 26px 0 10px;
    font-size: 16.5px;
    font-weight: 700;
    color: var(--th-ink);
}

.trio-hotel .th-content a {
    color: var(--th-orange-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1.5px;
    font-weight: 600;
}

.trio-hotel .th-content ul,
.trio-hotel .th-content ol { margin: 0 0 24px; padding: 0; list-style: none; }

.trio-hotel .th-content li {
    position: relative;
    margin: 0 0 11px;
    padding-left: 26px;
}

.trio-hotel .th-content ul li::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 12px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--th-orange);
}

.trio-hotel .th-content ol { counter-reset: th-ol; }
.trio-hotel .th-content ol li { counter-increment: th-ol; padding-left: 34px; }
.trio-hotel .th-content ol li::before {
    content: counter(th-ol);
    position: absolute;
    left: 0;
    top: 2px;
    width: 23px;
    height: 23px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--th-peach-soft);
    color: var(--th-orange-dark);
    font-size: 12px;
    font-weight: 800;
}

.trio-hotel .th-content img { max-width: 100%; height: auto; border-radius: 18px; display: block; margin: 0 auto; }

/* Respiration autour des visuels. Le !important est necessaire : Elementor
   remet a zero les marges des figures avec un selecteur plus specifique
   (.elementor .elementor-widget ... figure), et le module est rendu dans un
   widget shortcode. */
.trio-hotel .th-content figure,
.trio-hotel .th-content .wp-block-image,
.trio-hotel .th-content .wp-block-gallery {
    margin-top: 34px !important;
    margin-bottom: 34px !important;
}

.trio-hotel .th-content p > img,
.trio-hotel .th-content > img {
    margin-top: 34px !important;
    margin-bottom: 34px !important;
}

/* Une image seule dans un paragraphe : le paragraphe garde sa marge basse. */
.trio-hotel .th-content p:has(> img:only-child) { margin-bottom: 34px; }

.trio-hotel .th-content figcaption {
    margin-top: 12px;
    font-size: 13px;
    font-style: italic;
    text-align: center;
    color: var(--th-muted);
}

/* Un titre qui suit immédiatement une image a besoin d'un peu plus d'air. */
.trio-hotel .th-content figure + h2,
.trio-hotel .th-content figure + h3,
.trio-hotel .th-content .wp-block-image + h2,
.trio-hotel .th-content .wp-block-image + h3 { margin-top: 40px; }
.trio-hotel .th-content blockquote {
    margin: 32px 0;
    padding: 26px 28px;
    background: var(--th-peach-soft);
    border: none;
    border-radius: 18px;
    font-size: 17px;
    font-weight: 500;
}

/* --- Cartes latérales --- */

.trio-hotel .th-card {
    background: var(--th-white);
    border: 1.5px solid var(--th-line);
    border-radius: 20px;
    padding: 22px 24px;
}

.trio-hotel .th-card-t {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--th-muted);
    margin-bottom: 14px;
}

.trio-hotel .th-card-t svg { color: var(--th-orange); }

.trio-hotel .th-forts { margin: 0; padding: 0; list-style: none; }

.trio-hotel .th-forts li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 11px;
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--th-body);
}

.trio-hotel .th-forts li:last-child { margin-bottom: 0; }

.trio-hotel .th-forts li::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 7px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--th-orange);
}

.trio-hotel .th-avis { background: var(--th-peach-soft); border-color: var(--th-peach); }
.trio-hotel .th-avis p { margin: 0; font-size: 14.5px; line-height: 1.65; color: var(--th-ink); }

/* --- Appel à l'action --- */

.trio-hotel .th-cta {
    position: relative;
    background: #1C1917;
    border-radius: 22px;
    padding: 28px 26px 26px;
    color: var(--th-white);
    overflow: hidden;
}

.trio-hotel .th-cta::after {
    content: '';
    position: absolute;
    top: -46px;
    right: -46px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(250, 136, 98, 0.16);
}

.trio-hotel .th-cta-eyebrow {
    position: relative;
    z-index: 1;
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--th-peach);
}

.trio-hotel .th-cta h3 {
    position: relative;
    z-index: 1;
    margin: 10px 0 12px;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.24;
    color: var(--th-white);
}

.trio-hotel .th-cta > p {
    position: relative;
    z-index: 1;
    margin: 0 0 18px;
    font-size: 14.5px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

.trio-hotel .th-cta-pts {
    position: relative;
    z-index: 1;
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
}

.trio-hotel .th-cta-pts li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 9px;
    font-size: 13.5px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.88);
}

.trio-hotel .th-cta-pts li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--th-orange);
}

.trio-hotel .th-btn {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    padding: 14px 20px;
    border-radius: 999px;
    background: var(--th-orange);
    color: var(--th-white);
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
    transition: background-color 0.25s var(--th-ease), transform 0.25s var(--th-ease);
}

.trio-hotel .th-btn:hover { background: var(--th-orange-dark); transform: translateY(-1px); }
.trio-hotel .th-btn svg { transition: transform 0.25s var(--th-ease); }
.trio-hotel .th-btn:hover svg { transform: translateX(3px); }

.trio-hotel .th-btn-ghost {
    margin-top: 10px;
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.24);
    color: var(--th-white);
}

.trio-hotel .th-btn-ghost:hover { background: rgba(255, 255, 255, 0.09); border-color: rgba(255, 255, 255, 0.4); }

/* --- Galerie --- */

.trio-hotel .th-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 14px;
}

.trio-hotel .th-gallery-grid figure { margin: 0; }

.trio-hotel .th-gallery-grid img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 16px;
    display: block;
    transition: transform 0.5s var(--th-ease);
}

.trio-hotel .th-gallery-grid figure:hover img { transform: scale(1.04); }
.trio-hotel .th-gallery-grid figure { overflow: hidden; border-radius: 16px; }

/* --- Adresses voisines --- */

.trio-hotel .th-similar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px;
}

.trio-hotel .th-sim {
    display: flex;
    flex-direction: column;
    border: 1.5px solid var(--th-line);
    border-radius: 18px;
    overflow: hidden;
    background: var(--th-white);
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s var(--th-ease), border-color 0.3s var(--th-ease), box-shadow 0.3s var(--th-ease);
}

.trio-hotel .th-sim:hover {
    transform: translateY(-3px);
    border-color: var(--th-peach);
    box-shadow: 0 14px 34px rgba(19, 18, 18, 0.07);
}

.trio-hotel .th-sim-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--th-peach-soft); }
.trio-hotel .th-sim-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.trio-hotel .th-sim-body { display: block; padding: 16px 18px 18px; }
.trio-hotel .th-sim-t { display: block; font-size: 15.5px; font-weight: 650; line-height: 1.35; }
.trio-hotel .th-sim-p { display: block; margin-top: 6px; font-size: 13.5px; font-weight: 600; color: var(--th-orange-dark); }

/* --- Adaptatif --- */

@media (max-width: 1100px) {
    .trio-hotel .th-layout { grid-template-columns: 1fr; gap: 34px; padding-top: 42px; }
    .trio-hotel .th-side { position: static; }
    .trio-hotel .th-facts { margin-left: 20px; margin-right: 20px; }
}

@media (max-width: 720px) {
    .trio-hotel .th-hero { min-height: 340px; }
    .trio-hotel .th-hero-inner { padding-bottom: 46px; }
    .trio-hotel .th-fact { border-right: none; border-bottom: 1px solid var(--th-line); }
    .trio-hotel .th-fact:last-child { border-bottom: none; }
    .trio-hotel .th-content { font-size: 16px; }
    .trio-hotel .th-content h2, .trio-hotel .th-h2 { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
    .trio-hotel .th-btn,
    .trio-hotel .th-sim,
    .trio-hotel .th-gallery-grid img,
    .trio-hotel .th-btn svg { transition: none; }
    .trio-hotel .th-btn:hover,
    .trio-hotel .th-sim:hover { transform: none; }
    .trio-hotel .th-gallery-grid figure:hover img { transform: none; }
}
