/* ==========================================================================
   Tanganyika Tour — Design system du site public
   Chargé uniquement par layouts/app.blade.php (les tableaux de bord gardent style.css).
   ========================================================================== */

:root {
    --tg-forest: #133a26;
    --tg-forest-2: #1e4d2b;
    --tg-forest-3: #2f6b43;
    --tg-lake: #0e4a5a;
    --tg-sun: #c9600a;
    --tg-sun-2: #e07f1f;
    --tg-sand: #f7f2ea;
    --tg-sand-2: #efe5d5;
    --tg-sand-3: #d4a373;
    --tg-ink: #15221a;
    --tg-text: #33433a;
    --tg-muted: #66756c;
    --tg-line: #e7e0d3;
    --tg-white: #ffffff;

    --tg-font-display: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --tg-font-ui: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

    --tg-radius-sm: 10px;
    --tg-radius: 16px;
    --tg-radius-lg: 24px;
    --tg-shadow-sm: 0 1px 2px rgba(21, 34, 26, .06), 0 2px 8px rgba(21, 34, 26, .05);
    --tg-shadow: 0 6px 24px rgba(21, 34, 26, .09);
    --tg-shadow-lg: 0 18px 50px rgba(21, 34, 26, .16);
    --tg-ease: cubic-bezier(.22, .61, .36, 1);
    --tg-container: 1240px;
    --tg-header-h: 76px;
}

/* ---------- Base ---------- */
body.tg-site {
    font-family: var(--tg-font-ui);
    color: var(--tg-text);
    background: var(--tg-sand);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
/* :where() = spécificité nulle, pour que chaque composant puisse fixer sa propre couleur de titre */
:where(body.tg-site) :where(h1, h2, h3, h4) { color: var(--tg-ink); }
body.tg-site.tg-nav-open { overflow: hidden; }

.tg-container { width: 100%; max-width: var(--tg-container); margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .tg-container { padding: 0 16px; } }

.tg-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Boutons ---------- */
.tg-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font: 600 .95rem/1 var(--tg-font-ui); letter-spacing: .01em;
    padding: 13px 22px; border-radius: 999px; border: 1.5px solid transparent;
    text-decoration: none; cursor: pointer; white-space: nowrap;
    transition: background-color .2s var(--tg-ease), color .2s var(--tg-ease), border-color .2s var(--tg-ease), transform .2s var(--tg-ease), box-shadow .2s var(--tg-ease);
}
.tg-btn:focus-visible { outline: 3px solid rgba(224, 127, 31, .45); outline-offset: 2px; }
.tg-btn--primary { background: var(--tg-sun); color: #fff; }
.tg-btn--primary:hover { background: #ad5208; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(201, 96, 10, .3); }
.tg-btn--forest { background: var(--tg-forest-2); color: #fff; }
.tg-btn--forest:hover { background: var(--tg-forest); transform: translateY(-1px); }
.tg-btn--ghost { background: transparent; color: var(--tg-ink); border-color: var(--tg-line); }
.tg-btn--ghost:hover { border-color: var(--tg-forest-2); color: var(--tg-forest-2); }
.tg-btn--light { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .55); backdrop-filter: blur(6px); }
.tg-btn--light:hover { background: #fff; color: var(--tg-ink); }
.tg-btn--sm { padding: 10px 16px; font-size: .88rem; }

.tg-link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--tg-forest-2); text-decoration: none; }
.tg-link-arrow i { transition: transform .2s var(--tg-ease); }
.tg-link-arrow:hover i { transform: translateX(4px); }

/* ---------- Bandeau publicitaire haut ---------- */
.tg-adbar { background: var(--tg-white); border-bottom: 1px solid var(--tg-line); padding: 10px 0; }
.tg-adbar__frame { position: relative; border-radius: var(--tg-radius-sm); overflow: hidden; background: var(--tg-sand-2); }
.tg-adbar__slide { display: none; }
.tg-adbar__slide.is-active { display: block; }
.tg-adbar__slide img { display: block; width: 100%; height: 96px; object-fit: cover; }
.tg-ad-label {
    position: absolute; top: 8px; right: 8px; z-index: 2;
    font: 600 .62rem/1 var(--tg-font-ui); letter-spacing: .08em; text-transform: uppercase;
    color: #fff; background: rgba(0, 0, 0, .45); padding: 4px 7px; border-radius: 4px;
}
@media (max-width: 640px) { .tg-adbar__slide img { height: 64px; } }

/* ---------- En-tête ---------- */
.tg-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: box-shadow .25s var(--tg-ease), border-color .25s var(--tg-ease);
}
.tg-header.is-scrolled { border-color: var(--tg-line); box-shadow: 0 6px 24px rgba(21, 34, 26, .07); }
.tg-header__inner { display: flex; align-items: center; gap: 28px; height: var(--tg-header-h); }

/* Logo « Élan » : symbole orange + nom en capitales espacées */
.tg-logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.tg-logo__mark { display: block; width: 42px; height: 42px; flex-shrink: 0; line-height: 0; }
.tg-logo__mark svg { width: 100%; height: 100%; }
.tg-logo__text { font: 800 1.08rem/1 var(--tg-font-display); color: var(--tg-ink); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.tg-logo__text span { color: var(--tg-sun); }
.tg-logo__sub { display: block; font: 600 .62rem/1 var(--tg-font-ui); letter-spacing: .2em; text-transform: uppercase; color: var(--tg-muted); margin-top: 6px; }

.tg-nav { flex: 1; }
.tg-nav__list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.tg-nav__item { position: relative; }
.tg-nav__link {
    display: inline-flex; align-items: center; gap: 6px;
    font: 500 .94rem/1 var(--tg-font-ui); color: var(--tg-text);
    padding: 11px 13px; border-radius: 999px; border: 0; background: none; cursor: pointer; text-decoration: none; white-space: nowrap;
    transition: background-color .2s, color .2s;
}
.tg-nav__link:hover, .tg-nav__item.is-open > .tg-nav__link { background: var(--tg-sand); color: var(--tg-ink); }
.tg-nav__link.is-active { color: var(--tg-forest-2); font-weight: 600; }
.tg-nav__link .fa-chevron-down { font-size: .65rem; transition: transform .2s; }
.tg-nav__item.is-open > .tg-nav__link .fa-chevron-down { transform: rotate(180deg); }

.tg-dropdown {
    position: absolute; top: calc(100% + 10px); left: 50%; min-width: 290px;
    background: #fff; border: 1px solid var(--tg-line); border-radius: var(--tg-radius); box-shadow: var(--tg-shadow-lg);
    padding: 8px; list-style: none; margin: 0;
    opacity: 0; visibility: hidden; transform: translate(-50%, 6px);
    transition: opacity .18s var(--tg-ease), transform .18s var(--tg-ease), visibility .18s;
}
.tg-nav__item.is-open > .tg-dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.tg-dropdown a { display: flex; gap: 12px; align-items: flex-start; padding: 11px 12px; border-radius: var(--tg-radius-sm); text-decoration: none; }
.tg-dropdown a:hover { background: var(--tg-sand); }
.tg-dropdown__icon { width: 36px; height: 36px; flex-shrink: 0; border-radius: 10px; display: grid; place-items: center; background: var(--tg-sand-2); color: var(--tg-forest-2); }
.tg-dropdown__title { display: block; font: 600 .92rem/1.3 var(--tg-font-ui); color: var(--tg-ink); }
.tg-dropdown__desc { display: block; font-size: .8rem; color: var(--tg-muted); margin-top: 2px; }

.tg-header__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.tg-icon-btn {
    width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
    border: 1px solid var(--tg-line); background: #fff; color: var(--tg-ink); cursor: pointer; text-decoration: none;
    transition: border-color .2s, color .2s;
}
.tg-icon-btn:hover { border-color: var(--tg-forest-2); color: var(--tg-forest-2); }
.tg-burger { display: none; }

/* Panneau mobile */
.tg-drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; }
.tg-drawer__backdrop { position: absolute; inset: 0; background: rgba(10, 20, 14, .5); opacity: 0; transition: opacity .25s; }
.tg-drawer__panel {
    position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 88vw); background: #fff;
    transform: translateX(100%); transition: transform .3s var(--tg-ease);
    display: flex; flex-direction: column; overflow-y: auto;
}
.tg-nav-open .tg-drawer { visibility: visible; }
.tg-nav-open .tg-drawer__backdrop { opacity: 1; }
.tg-nav-open .tg-drawer__panel { transform: none; }
.tg-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--tg-line); }
.tg-drawer__body { padding: 12px 20px 24px; flex: 1; }
.tg-drawer__group { padding: 14px 0; border-bottom: 1px solid var(--tg-line); }
.tg-drawer__label { font: 600 .7rem/1 var(--tg-font-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--tg-muted); margin-bottom: 6px; }
.tg-drawer__group a { display: flex; align-items: center; gap: 12px; padding: 10px 0; color: var(--tg-ink); font-weight: 500; text-decoration: none; }
.tg-drawer__group a i { width: 20px; color: var(--tg-forest-2); }
.tg-drawer__foot { padding: 16px 20px 24px; display: grid; gap: 10px; }

@media (max-width: 1140px) {
    .tg-nav, .tg-header__actions .tg-hide-mobile { display: none; }
    .tg-burger { display: grid; }
}
@media (max-width: 640px) { :root { --tg-header-h: 64px; } .tg-logo__sub { display: none; } }

/* ---------- Messages flash ---------- */
.tg-flash { margin-top: 18px; display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border-radius: var(--tg-radius-sm); font-weight: 500; border: 1px solid; }
.tg-flash--success { background: #eaf6ee; color: #1d5a34; border-color: #c8e6d2; }
.tg-flash--error { background: #fdeeee; color: #8f1d1d; border-color: #f5caca; }
.tg-flash ul { margin: 6px 0 0; padding-left: 18px; font-weight: 400; }

/* ---------- Hero ---------- */
.tg-hero { position: relative; min-height: min(86vh, 760px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--tg-forest); }
.tg-hero__slides { position: absolute; inset: 0; }
.tg-hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s var(--tg-ease); }
.tg-hero__slide.is-active { opacity: 1; }
.tg-hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.tg-hero__slide.is-active img { animation: tg-kenburns 9s ease-out forwards; }
@keyframes tg-kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
.tg-hero::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background:
        linear-gradient(90deg, rgba(8, 22, 14, .78) 0%, rgba(8, 22, 14, .45) 45%, rgba(8, 22, 14, .1) 75%),
        linear-gradient(0deg, rgba(8, 22, 14, .7) 0%, rgba(8, 22, 14, 0) 40%);
}
.tg-hero__inner { position: relative; z-index: 2; width: 100%; padding-top: 80px; padding-bottom: 130px; }
.tg-hero__copy { max-width: 640px; }
.tg-hero__text { display: none; }
.tg-hero__text.is-active { display: block; }
/* Le 1er slide s'affiche tout de suite ; l'animation ne joue qu'aux changements de slide */
.tg-hero__text.is-active.is-entering { animation: tg-rise .8s var(--tg-ease); }
@keyframes tg-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.tg-eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 .74rem/1 var(--tg-font-ui); letter-spacing: .18em; text-transform: uppercase; color: var(--tg-sun); }
.tg-eyebrow::before { content: ''; width: 28px; height: 2px; background: currentColor; }
.tg-hero .tg-eyebrow { color: #f3c58e; }
.tg-hero h1, .tg-hero__title {
    font: 700 clamp(2.4rem, 5.4vw, 4.4rem)/1.04 var(--tg-font-display); letter-spacing: -.02em;
    color: #fff; margin: 18px 0 18px; text-wrap: balance;
}
.tg-hero__lead { font-size: clamp(1rem, 1.5vw, 1.18rem); line-height: 1.65; color: rgba(255, 255, 255, .88); margin: 0 0 30px; max-width: 540px; }
.tg-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.tg-hero__controls { position: absolute; z-index: 3; right: 24px; bottom: 132px; display: flex; align-items: center; gap: 14px; }
.tg-hero__counter { font: 600 .85rem/1 var(--tg-font-ui); letter-spacing: .08em; color: rgba(255, 255, 255, .85); min-width: 56px; text-align: right; }
.tg-hero__arrow {
    width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .08);
    color: #fff; cursor: pointer; display: grid; place-items: center; backdrop-filter: blur(6px); transition: background-color .2s, color .2s;
}
.tg-hero__arrow:hover { background: #fff; color: var(--tg-ink); }
.tg-hero__progress { display: flex; gap: 6px; }
.tg-hero__bar { width: 34px; height: 3px; border-radius: 3px; border: 0; padding: 0; background: rgba(255, 255, 255, .3); cursor: pointer; overflow: hidden; position: relative; }
.tg-hero__bar span { position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.tg-hero__bar.is-active span { animation: tg-progress var(--tg-slide-duration, 7s) linear forwards; }
.tg-hero__bar.is-done span { transform: scaleX(1); }
@keyframes tg-progress { to { transform: scaleX(1); } }

/* Barre de recherche qui chevauche le hero */
.tg-search-wrap { position: relative; z-index: 5; margin-top: -76px; }
.tg-search {
    background: #fff; border-radius: var(--tg-radius-lg); box-shadow: var(--tg-shadow-lg);
    padding: 18px; display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center;
}
.tg-search__field { display: flex; align-items: center; gap: 14px; padding: 6px 10px 6px 16px; }
.tg-search__field i { color: var(--tg-forest-2); font-size: 1.1rem; }
.tg-search__field label { display: block; font: 600 .7rem/1 var(--tg-font-ui); letter-spacing: .12em; text-transform: uppercase; color: var(--tg-muted); margin-bottom: 6px; }
.tg-search__field input { width: 100%; border: 0; outline: 0; font: 500 1.05rem/1.3 var(--tg-font-ui); color: var(--tg-ink); background: transparent; padding: 0; }
.tg-search__field input::placeholder { color: #9aa79f; }
.tg-search .tg-btn { padding: 16px 28px; }
.tg-search__chips { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 6px 2px; border-top: 1px solid var(--tg-line); }
.tg-search__chips span { font-size: .82rem; color: var(--tg-muted); align-self: center; margin-right: 4px; }
.tg-chip {
    display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 999px;
    background: var(--tg-sand); color: var(--tg-ink); font: 500 .85rem/1 var(--tg-font-ui); text-decoration: none; border: 1px solid transparent;
    transition: border-color .2s, background-color .2s;
}
.tg-chip i { color: var(--tg-forest-2); font-size: .85rem; }
.tg-chip:hover { border-color: var(--tg-forest-2); background: #fff; }

@media (max-width: 900px) {
    .tg-hero { min-height: 640px; }
    .tg-hero__controls { left: 16px; right: auto; bottom: 108px; }
    .tg-hero__inner { padding-bottom: 170px; }
}
@media (max-width: 640px) {
    .tg-hero { min-height: 600px; }
    .tg-hero__progress { display: none; }
    .tg-hero__counter { text-align: left; min-width: 0; }
    .tg-search { grid-template-columns: 1fr; padding: 14px; }
    .tg-search .tg-btn { width: 100%; }
    .tg-search__field { padding: 6px 4px; }
    .tg-search__chips { padding-top: 12px; }
    .tg-search__chips span { width: 100%; }
}

/* ---------- Sections ---------- */
.tg-section { padding: 96px 0; }
.tg-section--white { background: #fff; }
.tg-section--tight { padding: 72px 0; }
@media (max-width: 640px) { .tg-section { padding: 64px 0; } .tg-section--tight { padding: 48px 0; } }

.tg-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.tg-head__copy { max-width: 640px; }
.tg-head h2, .tg-h2 { font: 700 clamp(1.9rem, 3.4vw, 2.75rem)/1.12 var(--tg-font-display); letter-spacing: -.015em; margin: 14px 0 12px; text-wrap: balance; }
.tg-head p, .tg-lead { font-size: 1.06rem; line-height: 1.7; color: var(--tg-muted); margin: 0; }

/* ---------- Catégories ---------- */
.tg-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tg-cat {
    position: relative; display: flex; align-items: center; gap: 16px; padding: 20px;
    background: #fff; border: 1px solid var(--tg-line); border-radius: var(--tg-radius); text-decoration: none;
    transition: transform .25s var(--tg-ease), box-shadow .25s var(--tg-ease), border-color .25s;
}
.tg-cat:hover { transform: translateY(-3px); box-shadow: var(--tg-shadow); border-color: transparent; }
.tg-cat__icon { width: 52px; height: 52px; flex-shrink: 0; border-radius: 14px; display: grid; place-items: center; font-size: 1.25rem; }
.tg-cat__title { display: block; font: 600 1rem/1.3 var(--tg-font-ui); color: var(--tg-ink); }
.tg-cat__meta { display: block; font-size: .84rem; color: var(--tg-muted); margin-top: 3px; }
.tg-cat__go { margin-left: auto; color: #b9c2bc; transition: color .2s, transform .2s; }
.tg-cat:hover .tg-cat__go { color: var(--tg-sun); transform: translateX(3px); }
.tg-tone-forest { background: #e7f1ea; color: var(--tg-forest-2); }
.tg-tone-lake { background: #e3eff2; color: var(--tg-lake); }
.tg-tone-sun { background: #fbeee0; color: var(--tg-sun); }
.tg-tone-sand { background: #f3ead9; color: #8a5a22; }
@media (max-width: 1000px) { .tg-cats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .tg-cats { grid-template-columns: 1fr; gap: 10px; } .tg-cat { padding: 14px 16px; } }

/* ---------- À propos ---------- */
.tg-about { display: grid; grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: center; }
.tg-about__text p { font-size: 1.06rem; line-height: 1.8; color: var(--tg-text); margin: 0 0 18px; }
.tg-about__text strong { color: var(--tg-ink); font-weight: 600; }
.tg-figures { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 32px; border-top: 1px solid var(--tg-line); }
.tg-figure { padding: 22px 16px 0 0; }
.tg-figure + .tg-figure { padding-left: 20px; border-left: 1px solid var(--tg-line); }
.tg-figure strong { display: block; font: 700 2.2rem/1 var(--tg-font-display); color: var(--tg-forest-2); }
.tg-figure span { display: block; font-size: .86rem; color: var(--tg-muted); margin-top: 8px; }

.tg-mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; gap: 14px; }
.tg-mosaic__item { position: relative; border-radius: var(--tg-radius); overflow: hidden; background: var(--tg-sand-2); }
.tg-mosaic__item:nth-child(1) { grid-row: span 2; }
.tg-mosaic__item:nth-child(4) { grid-column: span 2; }
.tg-mosaic__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--tg-ease); }
.tg-mosaic__item:hover img { transform: scale(1.05); }
.tg-mosaic__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; color: #fff; background: linear-gradient(transparent, rgba(8, 22, 14, .82)); }
.tg-mosaic__cap strong { display: block; font: 600 1.02rem/1.3 var(--tg-font-ui); color: #fff; }
.tg-mosaic__cap span { display: block; font-size: .8rem; opacity: .85; margin-top: 3px; }
@media (max-width: 960px) { .tg-about { grid-template-columns: 1fr; gap: 44px; } }
@media (max-width: 520px) { .tg-mosaic { grid-auto-rows: 150px; gap: 10px; } .tg-figure strong { font-size: 1.7rem; } }

/* ---------- Cartes ---------- */
.tg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 1000px) { .tg-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .tg-grid { grid-template-columns: 1fr; gap: 18px; } }

.tg-card {
    display: flex; flex-direction: column; background: #fff; border-radius: var(--tg-radius); overflow: hidden;
    border: 1px solid var(--tg-line); text-decoration: none; color: inherit;
    transition: transform .3s var(--tg-ease), box-shadow .3s var(--tg-ease), border-color .3s;
}
.tg-card:hover { transform: translateY(-4px); box-shadow: var(--tg-shadow); border-color: transparent; }
.tg-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--tg-sand-2); }
.tg-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--tg-ease); }
.tg-card:hover .tg-card__media img { transform: scale(1.06); }
.tg-card__ph {
    width: 100%; height: 100%; display: grid; place-items: center; font-size: 2.4rem; color: rgba(255, 255, 255, .55);
    background:
        radial-gradient(circle at 20% 20%, rgba(243, 197, 142, .25), transparent 45%),
        radial-gradient(circle at 85% 90%, rgba(14, 74, 90, .55), transparent 50%),
        linear-gradient(140deg, var(--tg-forest-3), var(--tg-forest));
}
.tg-card__tag {
    position: absolute; top: 14px; left: 14px; padding: 6px 11px; border-radius: 999px;
    background: rgba(255, 255, 255, .94); color: var(--tg-ink); font: 600 .74rem/1 var(--tg-font-ui); letter-spacing: .02em;
    display: inline-flex; gap: 6px; align-items: center;
}
.tg-card__tag i { color: var(--tg-forest-2); }
.tg-card__price { position: absolute; right: 14px; bottom: 14px; padding: 7px 12px; border-radius: 999px; background: var(--tg-forest); color: #fff; font: 600 .8rem/1 var(--tg-font-ui); }
.tg-card__body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.tg-card__meta { display: flex; align-items: center; gap: 7px; font-size: .82rem; color: var(--tg-muted); margin-bottom: 8px; }
.tg-card__meta i { color: var(--tg-sun); }
.tg-card__title { font: 700 1.22rem/1.3 var(--tg-font-display); color: var(--tg-ink); margin: 0 0 8px; }
.tg-card__text { font-size: .93rem; line-height: 1.6; color: var(--tg-muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tg-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 18px; font-size: .86rem; color: var(--tg-muted); }
.tg-card__cta { font-weight: 600; color: var(--tg-forest-2); display: inline-flex; gap: 6px; align-items: center; }
.tg-card:hover .tg-card__cta i { transform: translateX(3px); }
.tg-card__cta i { transition: transform .2s; }

/* ---------- Onglets Séjours ---------- */
.tg-tabs { display: inline-flex; gap: 4px; padding: 5px; background: var(--tg-sand); border-radius: 999px; border: 1px solid var(--tg-line); }
.tg-tab { border: 0; background: none; cursor: pointer; padding: 11px 20px; border-radius: 999px; font: 600 .92rem/1 var(--tg-font-ui); color: var(--tg-muted); display: inline-flex; gap: 8px; align-items: center; }
.tg-tab.is-active { background: #fff; color: var(--tg-ink); box-shadow: var(--tg-shadow-sm); }
.tg-tabpanel { display: none; }
.tg-tabpanel.is-active { display: block; animation: tg-rise .5s var(--tg-ease); }

.tg-empty { padding: 48px 24px; text-align: center; border: 1.5px dashed var(--tg-line); border-radius: var(--tg-radius); color: var(--tg-muted); background: rgba(255, 255, 255, .6); }
.tg-empty i { font-size: 1.6rem; color: var(--tg-sand-3); margin-bottom: 10px; display: block; }

/* ---------- Publicité milieu ---------- */
.tg-ad-mid { position: relative; border-radius: var(--tg-radius); overflow: hidden; background: var(--tg-sand-2); }
.tg-ad-mid__slide { display: none; grid-template-columns: repeat(2, 1fr); gap: 0; }
.tg-ad-mid__slide.is-active { display: grid; }
.tg-ad-mid__slide.is-single { grid-template-columns: 1fr; }
.tg-ad-mid__slide img { display: block; width: 100%; height: 200px; object-fit: cover; }
@media (max-width: 640px) { .tg-ad-mid__slide, .tg-ad-mid__slide.is-active { grid-template-columns: 1fr; } .tg-ad-mid__slide a + a { display: none; } .tg-ad-mid__slide img { height: 140px; } }

/* ---------- Bandeau Investir ---------- */
.tg-invest { position: relative; border-radius: var(--tg-radius-lg); overflow: hidden; color: #fff; background: var(--tg-forest); isolation: isolate; }
.tg-invest__bg { position: absolute; inset: 0; z-index: -1; }
.tg-invest__bg img { width: 100%; height: 100%; object-fit: cover; }
.tg-invest__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10, 30, 19, .94) 0%, rgba(10, 30, 19, .78) 50%, rgba(10, 30, 19, .35) 100%); }
.tg-invest__inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; padding: 72px 64px; align-items: center; }
.tg-invest h2 { font: 700 clamp(1.9rem, 3.4vw, 2.8rem)/1.12 var(--tg-font-display); color: #fff; margin: 16px 0 16px; letter-spacing: -.015em; }
.tg-invest p { color: rgba(255, 255, 255, .82); line-height: 1.7; margin: 0 0 28px; font-size: 1.04rem; }
.tg-invest .tg-eyebrow { color: #f3c58e; }
.tg-pillars { display: grid; gap: 12px; }
.tg-pillar { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: var(--tg-radius-sm); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(8px); }
.tg-pillar i { width: 40px; height: 40px; flex-shrink: 0; border-radius: 10px; display: grid; place-items: center; background: rgba(243, 197, 142, .16); color: #f3c58e; }
.tg-pillar strong { display: block; color: #fff; font-weight: 600; }
.tg-pillar span { display: block; font-size: .84rem; color: rgba(255, 255, 255, .7); margin-top: 2px; }
@media (max-width: 900px) { .tg-invest__inner { grid-template-columns: 1fr; padding: 48px 28px; gap: 32px; } }
@media (max-width: 520px) { .tg-invest__inner { padding: 40px 20px; } }

/* ---------- Blog ---------- */
.tg-blog { display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px; }
.tg-blog__feature { position: relative; border-radius: var(--tg-radius); overflow: hidden; min-height: 460px; display: flex; align-items: flex-end; color: #fff; text-decoration: none; background: var(--tg-forest); }
.tg-blog__feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--tg-ease); }
.tg-blog__feature:hover img { transform: scale(1.04); }
.tg-blog__feature::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 30%, rgba(8, 22, 14, .9)); }
.tg-blog__feature-body { position: relative; z-index: 2; padding: 32px; }
.tg-blog__feature h3 { font: 700 clamp(1.4rem, 2.4vw, 1.9rem)/1.2 var(--tg-font-display); color: #fff; margin: 12px 0 10px; }
.tg-blog__feature p { color: rgba(255, 255, 255, .82); margin: 0; line-height: 1.6; }
.tg-pill { display: inline-block; padding: 6px 11px; border-radius: 999px; font: 600 .72rem/1 var(--tg-font-ui); letter-spacing: .04em; background: var(--tg-sun); color: #fff; }
.tg-pill--soft { background: var(--tg-sand-2); color: #7a4d1a; }
.tg-blog__list { display: grid; gap: 16px; align-content: start; }
.tg-post { display: grid; grid-template-columns: 132px 1fr; gap: 18px; padding: 14px; background: #fff; border: 1px solid var(--tg-line); border-radius: var(--tg-radius); text-decoration: none; transition: box-shadow .25s, transform .25s; }
.tg-post:hover { box-shadow: var(--tg-shadow); transform: translateY(-2px); }
.tg-post__media { border-radius: var(--tg-radius-sm); overflow: hidden; aspect-ratio: 1; background: var(--tg-sand-2); }
.tg-post__media img { width: 100%; height: 100%; object-fit: cover; }
.tg-post h3 { font: 700 1.04rem/1.35 var(--tg-font-display); color: var(--tg-ink); margin: 8px 0 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tg-post__meta { font-size: .8rem; color: var(--tg-muted); }
@media (max-width: 960px) { .tg-blog { grid-template-columns: 1fr; } .tg-blog__feature { min-height: 360px; } }
@media (max-width: 520px) { .tg-post { grid-template-columns: 96px 1fr; gap: 14px; } .tg-blog__feature-body { padding: 22px; } }

/* ---------- Partenaires ---------- */
.tg-partners { padding: 56px 0; background: #fff; border-top: 1px solid var(--tg-line); }
.tg-partners__title { text-align: center; font: 600 .74rem/1 var(--tg-font-ui); letter-spacing: .18em; text-transform: uppercase; color: var(--tg-muted); margin: 0 0 28px; }
.tg-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.tg-marquee__track { display: flex; align-items: center; gap: 64px; width: max-content; animation: tg-marquee 32s linear infinite; }
.tg-marquee:hover .tg-marquee__track { animation-play-state: paused; }
.tg-marquee__track img { height: 56px; width: auto; max-width: 180px; object-fit: contain; filter: grayscale(1); opacity: .65; transition: filter .3s, opacity .3s; }
.tg-marquee__track a:hover img { filter: none; opacity: 1; }
.tg-partners--static .tg-marquee { -webkit-mask-image: none; mask-image: none; }
.tg-partners--static .tg-marquee__track { animation: none; margin: 0 auto; }
@keyframes tg-marquee { to { transform: translateX(-50%); } }

/* ---------- Pied de page ---------- */
.tg-footer { background: var(--tg-forest); color: rgba(255, 255, 255, .74); padding: 80px 0 0; }
.tg-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 40px; }
.tg-footer .tg-logo__text { color: #fff; }
.tg-footer .tg-logo__text span { color: #f3a65a; }
.tg-footer__desc { line-height: 1.7; margin: 20px 0 18px; font-size: .95rem; }
.tg-footer__quote { font: 500 1.05rem/1.5 var(--tg-font-display); color: #f3c58e; }
.tg-footer h4 { font: 600 .74rem/1 var(--tg-font-ui); letter-spacing: .16em; text-transform: uppercase; color: #fff; margin: 8px 0 20px; }
.tg-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.tg-footer a { color: rgba(255, 255, 255, .74); text-decoration: none; transition: color .2s; }
.tg-footer a:hover { color: #fff; }
.tg-footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.tg-footer__contact i { color: #f3c58e; margin-top: 4px; width: 16px; }
.tg-footer__bottom { margin-top: 64px; padding: 24px 0; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .86rem; }
@media (max-width: 960px) { .tg-footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 560px) { .tg-footer { padding-top: 56px; } .tg-footer__grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Apparition au défilement ---------- */
.tg-reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--tg-ease), transform .8s var(--tg-ease); }
.tg-reveal.is-visible { opacity: 1; transform: none; }
.no-js .tg-reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .tg-reveal { opacity: 1; transform: none; }
}

/* Logo sur petits écrans */
@media (max-width: 400px) { .tg-logo { gap: 9px; } .tg-logo__mark { width: 36px; height: 36px; } .tg-logo__text { font-size: .9rem; letter-spacing: .08em; } }
