﻿/* ════════════════════════════════════════════════════════
   TABLE SOUS LES ÉTOILES
   Inspiré de en/index.php — sections descriptives fluides
════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────
   1. HERO
───────────────────────────────────────────────────── */
.te-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.te-hero-bg {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.06);
    transition: transform 8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.te-hero-bg.zoomed { transform: scale(1); }

.te-hero-overlay {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: linear-gradient(
        to bottom,
        rgba(4, 6, 18, 0.52) 0%,
        rgba(4, 6, 18, 0.22) 42%,
        rgba(4, 6, 18, 0.58) 100%
    );
    z-index: 1;
}

.te-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.te-hero-eyebrow {
    font-family: "Jost", sans-serif;
    font-size: 0.60rem;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.50);
}

.te-hero-title {
    font-family: "Playfair Display", serif;
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 400;
    color: #ffffff;
    line-height: 1.08;
    letter-spacing: 0.01em;
    margin: 0;
    text-shadow: 0 4px 32px rgba(4, 6, 18, 0.38);
}

.te-hero-title em {
    font-family: "Cormorant Garamond", serif;
    font-style: italic;
    font-size: 1.12em;
    letter-spacing: 0;
}

.te-hero-sub {
    font-family: "Jost", sans-serif;
    font-size: clamp(0.80rem, 1.4vw, 0.95rem);
    font-weight: 300;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.60);
    line-height: 1.7;
    margin: 0;
}

.te-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    padding: 15px 40px;
    border: 1px solid rgba(255, 255, 255, 0.40);
    border-radius: 50px;
    background: transparent;
    color: #ffffff;
    font-family: "Jost", sans-serif;
    font-size: 0.74rem;
    letter-spacing: 0.20em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.te-hero-cta:hover {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.78);
}

.te-hero-arrow { transition: transform 0.25s ease; }
.te-hero-cta:hover .te-hero-arrow { transform: translateX(5px); }

.te-hero-scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.te-hero-scroll-line {
    display: block;
    width: 1px;
    height: 42px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.50), transparent);
    animation: tePulse 2s ease-in-out infinite;
}

.te-hero-scroll-label {
    font-family: "Jost", sans-serif;
    font-size: 0.50rem;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.36);
}

@keyframes tePulse {
    0%, 100% { opacity: 0.38; }
    50%       { opacity: 1;    }
}


/* ─────────────────────────────────────────────────────
   2. INTRO POÉTIQUE (centré, crème)
───────────────────────────────────────────────────── */
.te-intro {
    background: #FDFAF5;
    padding: 96px clamp(24px, 10vw, 160px);
    text-align: center;
}

.te-intro-inner {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 26px;
}

.te-intro-quote {
    font-family: "Cormorant Garamond", serif;
    font-style: italic;
    font-size: clamp(1.5rem, 2.8vw, 2.1rem);
    font-weight: 400;
    color: #1B2744;
    line-height: 1.55;
    margin: 0;
}

.te-intro-text {
    font-family: "Inter", sans-serif;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.9;
    color: #6B7A8D;
    margin: 0;
}

.te-intro-italic {
    font-family: "Playfair Display", serif;
    font-style: italic;
    font-size: 1.05rem;
    color: #8A94A6;
}


/* ─────────────────────────────────────────────────────
   3. CONCEPT (style home-spirit)
───────────────────────────────────────────────────── */
.te-concept {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 72vh;
    background: #FDFAF5;
    align-items: center;
    padding: 64px max(5vw, 40px);
    gap: 56px;
}

.te-concept-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 0;
}

.te-concept-list {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.te-concept-list li {
    font-family: "Inter", sans-serif;
    font-size: 0.94rem;
    font-weight: 300;
    line-height: 1.7;
    color: #4A566A;
    padding-left: 18px;
    position: relative;
}

.te-concept-list li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: #C5B49A;
    font-size: 0.7rem;
}

/* Image concept : arrondie comme home-spirit-image */
.te-concept-image {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 12px 48px rgba(27, 39, 68, 0.10);
    min-height: 520px;
}

.te-concept-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    transition: transform 9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.te-concept-image.in-view img { transform: scale(1); }

.te-image-caption {
    position: absolute;
    bottom: 18px;
    right: 20px;
    font-family: "Jost", sans-serif;
    font-size: 0.58rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}


/* ─────────────────────────────────────────────────────
   4. CHEF — Contenu dans wrap + border-radius (style home-domaine-wrap)
───────────────────────────────────────────────────── */
.te-chef-wrap {
    padding: 0 max(4vw, 28px) 72px;
    background: #FDFAF5;
}

.te-chef {
    background: #0D1B35;
    border-radius: 28px;
    box-shadow: 0 16px 56px rgba(13, 27, 53, 0.20);
    overflow: hidden;
    display: grid;
    grid-template-columns: 360px 1fr;
    min-height: 560px;
}

.te-chef-portrait {
    position: relative;
    overflow: hidden;
}

.te-chef-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

/* Dégradé discret entre photo et texte */
.te-chef-portrait::after {
    content: "";
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: linear-gradient(to right, transparent 70%, rgba(13, 27, 53, 0.6) 100%);
}

.te-chef-content {
    padding: 64px 56px 64px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.te-chef-name {
    font-family: "Playfair Display", serif;
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 400;
    color: #FDFBF8;
    margin: 12px 0 4px;
    letter-spacing: 0.02em;
}

.te-chef-maison {
    font-family: "Cormorant Garamond", serif;
    font-style: italic;
    font-size: 1.1rem;
    color: #C5B49A;
    margin: 0 0 30px;
}

.te-chef-text {
    font-family: "Inter", sans-serif;
    font-size: 0.94rem;
    font-weight: 300;
    line-height: 1.88;
    color: rgba(253, 251, 248, 0.60);
    margin: 0 0 14px;
}

.te-chef-quote {
    font-family: "Cormorant Garamond", serif;
    font-style: italic;
    font-size: 1.05rem;
    color: rgba(253, 251, 248, 0.45);
    line-height: 1.6;
    margin: 16px 0 4px;
    border-left: 2px solid rgba(197, 180, 154, 0.3);
    padding-left: 16px;
}

.te-chef-cite {
    font-family: "Jost", sans-serif;
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #C5B49A;
    font-style: normal;
    margin-left: 18px;
}

.te-chef-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px;
}

.te-tag {
    font-family: "Jost", sans-serif;
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #C5B49A;
    border: 1px solid rgba(197, 180, 154, 0.30);
    padding: 6px 14px;
    border-radius: 50px;
}


/* ─────────────────────────────────────────────────────
   5. DÉROULÉ — Timeline pleine largeur centrée
───────────────────────────────────────────────────── */
.te-deroulé {
    background: #F6F1EA;
    padding: 96px max(5vw, 40px);
    text-align: center;
}

.te-deroulé-inner {
    max-width: 760px;
    margin: 0 auto;
}

.te-deroulé .section-title {
    margin-bottom: 64px;
}

.te-timeline {
    display: flex;
    flex-direction: column;
    text-align: left;
}

/* Chaque étape : heure | connecteur | contenu */
.te-step {
    display: grid;
    grid-template-columns: 110px 32px 1fr;
    gap: 0 0;
    align-items: start;
}

.te-step-left {
    display: contents; /* heure et connecteur restent dans le grid parent */
}

.te-step-time {
    font-family: "Cormorant Garamond", serif;
    font-style: italic;
    font-size: 0.92rem;
    line-height: 1.4;
    color: #C5B49A;
    text-align: right;
    padding-right: 20px;
    padding-top: 4px;
}

/* Colonne centrale : point + filet vertical */
.te-step-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 6px;
}

.te-step-dot {
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #C5B49A;
    flex-shrink: 0;
}

.te-step-line {
    display: block;
    width: 1px;
    flex: 1;
    min-height: 56px;
    background: linear-gradient(to bottom, #C5B49A, rgba(197, 180, 154, 0.15));
    margin-top: 6px;
}

/* Contenu texte à droite */
.te-step-body {
    padding: 0 0 48px 20px;
}

.te-step-title {
    font-family: "Playfair Display", serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: #1B2744;
    margin: 0 0 10px;
    letter-spacing: 0.01em;
}

.te-step-body p {
    font-family: "Inter", sans-serif;
    font-size: 0.94rem;
    font-weight: 300;
    line-height: 1.85;
    color: #6B7A8D;
    margin: 0;
}

.te-step--last .te-step-body { padding-bottom: 0; }


/* ─────────────────────────────────────────────────────
   6. LES LIEUX — Cards style home-suite-card
───────────────────────────────────────────────────── */
.te-lieux {
    background: #FDFAF5;
    padding: 80px max(5vw, 40px) 96px;
}

.te-lieux-header {
    max-width: 560px;
    margin: 0 auto 52px;
    text-align: center;
}

.te-lieux-header .section-text {
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

/* Grille 4 cards — calquée sur .home-suites-grid */
.te-lieux-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

/* Card = clone de .home-suite-card */
.te-lieu-card {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 4px 20px rgba(27, 39, 68, 0.08);
    transition: box-shadow 0.35s ease, transform 0.35s ease;
    cursor: default;
}

.te-lieu-card:hover {
    box-shadow: 0 10px 40px rgba(27, 39, 68, 0.13);
    transform: translateY(-4px);
}

.te-lieu-card .home-suite-card-img {
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.te-lieu-card:hover .home-suite-card-img {
    transform: scale(1.05);
}

/* Dégradé du bas — identique à home-suite-card::before */
.te-lieu-card::before {
    content: "";
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: linear-gradient(
        to top,
        rgba(10, 7, 3, 0.72) 0%,
        rgba(10, 7, 3, 0) 55%
    );
    z-index: 1;
}


/* ─────────────────────────────────────────────────────
   7. GALERIE (comme home-domaine-wrap mais en grille)
───────────────────────────────────────────────────── */
.te-galerie-wrap {
    padding: 72px max(4vw, 28px);
    background: #FDFAF5;
}

.te-galerie-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 300px 260px;
    gap: 10px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(27, 39, 68, 0.10);
}

.te-galerie-item {
    background-size: cover;
    background-position: center;
    transition: transform 0.7s ease;
    cursor: pointer;
    overflow: hidden;
}

.te-galerie-item:hover { transform: scale(1.03); }
.te-galerie-tall { grid-row: 1 / 3; }
.te-galerie-wide { grid-column: 2 / 4; }


/* ─────────────────────────────────────────────────────
   8. INCLUS (style home-split)
───────────────────────────────────────────────────── */
.te-inclus {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 72vh;
    background: #F0EBE2;
    align-items: center;
    padding: 64px max(5vw, 40px);
    gap: 56px;
}

.te-inclus-image {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 12px 48px rgba(27, 39, 68, 0.10);
    min-height: 520px;
}

.te-inclus-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    transition: transform 9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.te-inclus-image.in-view img { transform: scale(1); }

.te-inclus-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 0;
}

.te-inclus-list {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.te-inclus-list li {
    font-family: "Inter", sans-serif;
    font-size: 0.94rem;
    font-weight: 300;
    line-height: 1.6;
    color: #4A566A;
    padding-left: 18px;
    position: relative;
}

.te-inclus-list li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: #C5B49A;
    font-size: 0.7rem;
}

.te-inclus-list--option li::before { content: "+"; }

.te-formules {
    margin-top: 28px;
    border: 1px solid rgba(184, 168, 148, 0.28);
    border-radius: 16px;
    overflow: hidden;
}

.te-formule {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 22px;
    border-bottom: 1px solid rgba(184, 168, 148, 0.18);
}

.te-formule:last-child { border-bottom: none; }

.te-formule--star { background: rgba(197, 180, 154, 0.08); }

.te-formule-name {
    font-family: "Playfair Display", serif;
    font-size: 1rem;
    color: #1B2744;
}

.te-formule-temps {
    font-family: "Jost", sans-serif;
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #8A94A6;
}

.te-formule--star .te-formule-temps { color: #C5B49A; }


/* ─────────────────────────────────────────────────────
   10. TÉMOIGNAGES
───────────────────────────────────────────────────── */
.te-temoignages {
    background: #FDFAF5;
    padding: 80px max(5vw, 40px) 96px;
}

.te-temoignages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1060px;
    margin: 32px auto 0;
}

.te-temoignage {
    margin: 0;
    padding: 30px 26px;
    background: #ffffff;
    border-radius: 20px;
    border-left: 2px solid rgba(197, 180, 154, 0.45);
    box-shadow: 0 2px 14px rgba(27, 39, 68, 0.05);
}

.te-temoignage p {
    font-family: "Cormorant Garamond", serif;
    font-style: italic;
    font-size: 1.08rem;
    line-height: 1.65;
    color: #1B2744;
    margin: 0 0 18px;
}

.te-temoignage cite {
    font-family: "Jost", sans-serif;
    font-size: 0.64rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #8A94A6;
    font-style: normal;
}


/* ════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
    .te-chef { grid-template-columns: 280px 1fr; }
    .te-lieux-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .te-concept, .te-inclus {
        grid-template-columns: 1fr;
        padding: 48px 24px;
        gap: 32px;
    }

    .te-concept-image,
    .te-inclus-image {
        min-height: 64vw;
        border-radius: 18px;
    }

    .te-chef { grid-template-columns: 1fr; }
    .te-chef-portrait { height: 64vw; }
    .te-chef-portrait::after { background: linear-gradient(to bottom, transparent 60%, rgba(13,27,53,0.8) 100%); }
    .te-chef-content { padding: 40px 32px 48px; }

    .te-deroulé { padding: 72px 24px; }
    .te-step { grid-template-columns: 80px 28px 1fr; }

    .te-lieux-grid { grid-template-columns: repeat(2, 1fr); }

    .te-galerie-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 180px 150px 150px;
        border-radius: 18px;
        gap: 6px;
    }
    .te-galerie-tall { grid-row: auto; }
    .te-galerie-wide { grid-column: 1 / 3; }

    .te-temoignages-grid { grid-template-columns: 1fr; max-width: 520px; }
}

@media (max-width: 540px) {
    .te-hero-title { font-size: clamp(2.4rem, 10vw, 3.5rem); }

    .te-deroulé { padding: 56px 16px; }
    .te-step {
        grid-template-columns: 64px 24px 1fr;
    }
    .te-step-time { font-size: 0.80rem; padding-right: 12px; }
    .te-step-body { padding-bottom: 36px; padding-left: 14px; }

    .te-lieux-grid { grid-template-columns: 1fr; }

    .te-galerie-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 180px);
        border-radius: 14px;
    }
    .te-galerie-wide { grid-column: auto; }
}
