/* Direction 2026 — Assinie, éditorial tropical et interfaces premium */
:root {
  --ink: #151837;
  --ink-2: #232859;
  --sand: #f0f2f7;
  --paper: #ffffff;
  --sun: #e8b904;
  --coral: #e8b904;
  --lagoon: #4b5568;
  --line: rgba(21, 24, 55, .13);
  --soft-shadow: 0 24px 70px rgba(21, 24, 55, .12);
}

html { scroll-padding-top: 96px; }
body { background: var(--paper); color: var(--ink); }
body::before { display: none !important; }

.container { max-width: 1360px; padding-inline: clamp(1rem, 4vw, 3.5rem); }
.site-header { background: rgba(255, 255, 255, .9); border: 0; box-shadow: none; backdrop-filter: blur(18px); }
.site-header.scrolled { box-shadow: 0 10px 40px rgba(21, 24, 55, .08); }
.nav-wrapper { min-height: 88px; }
.brand-logo-img { height: 54px; }
.logo-title { color: var(--ink); font-size: 1.08rem; }
.logo-subtitle { color: var(--sun); }
.nav-links { gap: clamp(.8rem, 1.7vw, 1.8rem); }
.nav-link { font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.nav-link.active::after { background: var(--sun); border-radius: 4px; }
.btn-book-nav { background: var(--ink); border-color: var(--ink); border-radius: 999px; padding: .78rem 1.35rem; }
.btn-book-nav:hover { background: var(--coral); border-color: var(--coral); transform: translateY(-2px); }

/* Hero immersif : l'image reste dominante, le texte est lisible sans bloc blanc opaque. */
.hero-section {
  min-height: min(790px, calc(100vh - 88px)); height: auto; position: relative; isolation: isolate;
  display: flex; align-items: center; overflow: hidden; background: var(--ink); padding: 4.5rem 0 8rem;
}
.hero-section::before { content: ""; position: absolute; inset: 0; z-index: -1; background: none !important; }
.hero-section::after {
  content: ""; position: absolute; left: -4%; right: -4%; bottom: -62px; height: 118px;
  background: var(--paper); border-radius: 50% 50% 0 0 / 52% 52% 0 0; z-index: 3;
}
.hero-media-layer { position: absolute; inset: 0; z-index: -2; opacity: 0; background-position: center; background-size: cover; transform: scale(1.025); transition: opacity 1.1s ease, transform 7s ease; filter: none !important; }
.hero-media-layer.is-active { opacity: 1; transform: scale(1); }
.hero-content {
  position: relative; max-width: 760px; padding: clamp(1.35rem, 3vw, 2.75rem);
  border: 1px solid rgba(255,255,255,.22); border-radius: 28px;
  background: rgba(14, 16, 38, .30) !important; backdrop-filter: none !important;
  box-shadow: 0 28px 90px rgba(0,0,0,.18); color: white;
}
.hero-tag { color: #fff !important; background: rgba(255,255,255,.1) !important; border: 1px solid rgba(255,255,255,.25); box-shadow: none !important; }
.hero-title { color: #fff !important; font-size: clamp(3rem, 6.2vw, 6.25rem) !important; line-height: .96 !important; letter-spacing: -.045em; text-wrap: balance; max-width: 12ch; margin: 1.1rem 0 1.35rem !important; }
.hero-title .text-gold { color: var(--sun) !important; display: inline-block; min-width: 3ch; }
.hero-subtitle { color: rgba(255,255,255,.87) !important; max-width: 61ch; font-size: clamp(.98rem, 1.4vw, 1.12rem) !important; }
.hero-cta-group { flex-wrap: wrap; }
.hero-content .btn { border-radius: 999px; }
.hero-content .btn-forest { background: var(--sun); border-color: var(--sun); color: var(--ink) !important; }
.hero-slider-ui { position: absolute; z-index: 5; right: clamp(1.2rem, 4vw, 4rem); bottom: 7rem; display: flex; gap: .5rem; align-items: center; }
.hero-dot { width: 34px; height: 4px; border: 0; border-radius: 99px; background: rgba(255,255,255,.42); cursor: pointer; transition: .35s ease; }
.hero-dot.is-active { width: 70px; background: #fff; }
.hero-slide-label { margin-right: .8rem; color: white; font-size: .72rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.concierge-live { display: flex; width: max-content; max-width: 100%; gap: .55rem; align-items: center; color: #fff; font-size: .78rem; font-weight: 700; margin-bottom: .65rem; }
.concierge-live::before { content: ""; width: 8px; height: 8px; background: var(--sun); border-radius: 50%; box-shadow: 0 0 0 6px rgba(232,185,4,.14); animation: pulse-live 2s infinite; }
@keyframes pulse-live { 50% { box-shadow: 0 0 0 11px rgba(232,185,4,0); } }

.search-widget-wrapper { position: relative; z-index: 8; margin-top: -4.4rem; }
.search-widget-card { border-radius: 24px !important; border: 1px solid var(--line); box-shadow: var(--soft-shadow) !important; background: rgba(255,255,255,.96) !important; }
.search-guarantees-bar { border-radius: 0 0 24px 24px !important; background: var(--ink) !important; }

/* Bannières : l'image est visible en entier, sans recadrage. */
.page-hero { min-height: clamp(310px, 40vw, 510px); background-size: cover !important; background-repeat: no-repeat !important; background-position: center !important; background-color: var(--ink) !important; position: relative; filter: none !important; }
.page-hero::before { background: none !important; }
.page-hero::after { display: none !important; }
.page-hero-content { max-width: 820px; }
.page-hero-title { font-size: clamp(2.7rem, 5.5vw, 5.6rem) !important; line-height: .98 !important; letter-spacing: -.04em; text-wrap: balance; text-shadow: 0 3px 18px rgba(14,16,38,.75); }
.page-hero-subtitle { color: #fff !important; max-width: 62ch; text-shadow: 0 2px 12px rgba(14,16,38,.9); }

section:not(.hero-section):not(.page-hero):not(.newsletter-ochre-section):not(.stats-banner-section) { position: relative; }
.section-tag { color: var(--sun) !important; letter-spacing: .15em; }
.section-title, .experience-content-col h2 { color: var(--ink) !important; font-size: clamp(2.15rem, 4vw, 4rem) !important; line-height: 1.04 !important; letter-spacing: -.035em; text-wrap: balance; }
.section-header-flex { align-items: end; }
.section-link-all { color: var(--ink); border-bottom: 1px solid var(--ink); }

.properties-4grid { gap: 1.2rem !important; }
.property-card { border: 0 !important; border-radius: 22px !important; overflow: hidden; background: #fff; box-shadow: 0 12px 38px rgba(21,24,55,.08) !important; transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s !important; }
.property-card:hover { transform: translateY(-10px) !important; box-shadow: 0 28px 64px rgba(21,24,55,.16) !important; }
.property-img-wrapper { overflow: hidden; }
.property-img { transition: transform .8s cubic-bezier(.2,.8,.2,1) !important; }
.property-card:hover .property-img { transform: scale(1.055); }
.btn-property-detail { border-radius: 999px !important; background: var(--ink) !important; color: white !important; }
.badge-tag-rent, .badge-tag-sale, .activity-badge-pill { background: rgba(255,255,255,.9) !important; color: var(--ink) !important; backdrop-filter: blur(10px); }

.stats-banner-section { background: var(--ink) !important; margin-block: 6rem; border-radius: 40px; overflow: hidden; width: min(94%, 1500px); margin-inline: auto; }
.stat-number { color: var(--sun) !important; }
.experience-grid { gap: clamp(2rem, 6vw, 7rem) !important; align-items: center; }
.experience-img { border-radius: 160px 24px 24px 24px !important; min-height: 560px; object-fit: cover; }
.experience-badge-card { background: var(--sun) !important; color: var(--ink) !important; border-radius: 20px !important; }
.category-quick-item { border-radius: 999px !important; background: var(--sand) !important; border: 0 !important; }
.testimonial-split-card { border-radius: 32px !important; overflow: hidden; }
.newsletter-ochre-section { background: var(--sun) !important; }
.newsletter-ochre-input, .btn-newsletter-subscribe { border-radius: 999px !important; }

/* Nouvelle sélection d'expériences sur l'accueil. */
.home-experiences { padding: 7rem 0; overflow: hidden; }
.home-experiences-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: end; margin-bottom: 2.2rem; }
.home-experiences-head p { max-width: 48ch; color: var(--color-gray-slate); justify-self: end; }
.experience-showcase { display: grid; grid-template-columns: 1.35fr .85fr .85fr; gap: 1.1rem; min-height: 580px; }
.experience-tile { position: relative; border-radius: 26px; overflow: hidden; min-height: 420px; color: white; isolation: isolate; }
.experience-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .9s cubic-bezier(.2,.8,.2,1); }
.experience-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(14,16,38,.86)); }
.experience-tile:hover img { transform: scale(1.06); }
.experience-tile-content { position: absolute; inset: auto 0 0; padding: 1.5rem; }
.experience-tile h3 { font-family: var(--font-serif); font-size: clamp(1.5rem, 2.4vw, 2.5rem); line-height: 1.05; margin: .55rem 0; }
.experience-tile p { color: rgba(255,255,255,.8); font-size: .88rem; }
.experience-tile .micro { font-size: .66rem; letter-spacing: .13em; font-weight: 800; text-transform: uppercase; color: var(--sun); }
.experience-tile-link { display: inline-flex; margin-top: 1rem; color: white; font-weight: 800; font-size: .78rem; }
.social-wall { padding: 6rem 0; background: var(--sand); }
.social-wall-head { display:flex; justify-content:space-between; align-items:end; gap:2rem; margin-bottom:2rem; }
.social-wall-head a { border-bottom:1px solid var(--ink); font-weight:800; }
.social-wall-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1rem; }
.social-wall-card { display:flex; flex-direction:column; min-height:330px; overflow:hidden; border-radius:22px; background:white; box-shadow:0 12px 38px rgba(21,24,55,.07); }
.social-wall-card img { width:100%; height:190px; object-fit:cover; }
.social-wall-card div { padding:1.2rem; }
.social-wall-card span { color:var(--sun); font-size:.62rem; font-weight:800; letter-spacing:.1em; }
.social-wall-card p { margin:.55rem 0 0; line-height:1.55; }

/* Carnet de séjour : fonctionnalité premium, persistante dans le navigateur. */
.trip-trigger { position: fixed; z-index: 920; left: 1rem; bottom: 1rem; border: 0; color: #fff; background: var(--ink); border-radius: 999px; padding: .82rem 1.1rem; font-weight: 800; box-shadow: 0 16px 38px rgba(21,24,55,.28); cursor: pointer; }
.trip-trigger b { display: inline-grid; place-items: center; min-width: 22px; height: 22px; margin-left: .45rem; border-radius: 50%; color: var(--ink); background: var(--sun); }
.trip-drawer { position: fixed; z-index: 2000; top: 0; right: 0; width: min(430px, 100%); height: 100dvh; padding: 1.35rem; background: var(--paper); box-shadow: -24px 0 70px rgba(21,24,55,.2); transform: translateX(105%); transition: transform .48s cubic-bezier(.2,.8,.2,1); display: flex; flex-direction: column; }
.trip-drawer.is-open { transform: none; }
.trip-drawer-head { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: 1rem; }
.trip-close { border: 0; background: var(--sand); width: 40px; height: 40px; border-radius: 50%; cursor: pointer; }
.trip-items { flex: 1; overflow: auto; padding: 1rem 0; }
.trip-empty { padding: 3rem 1rem; text-align: center; color: var(--color-gray-slate); }
.trip-item { display: grid; grid-template-columns: 72px 1fr auto; gap: .8rem; align-items: center; padding: .75rem 0; border-bottom: 1px solid var(--line); }
.trip-item img { width: 72px; height: 62px; object-fit: cover; border-radius: 12px; }
.trip-item h4 { font-size: .88rem; line-height: 1.25; }
.trip-remove { border: 0; background: none; color: var(--ink-2); font-size: 1.2rem; cursor: pointer; }
.trip-footer a { display: block; text-align: center; background: var(--sun); color: var(--ink); border-radius: 999px; padding: .95rem; font-weight: 800; }
.btn-trip-add { position: absolute; z-index: 4; left: 12px; bottom: 12px; border: 0; border-radius: 999px; padding: .55rem .75rem; background: rgba(255,255,255,.92); color: var(--ink); font-weight: 800; font-size: .7rem; cursor: pointer; backdrop-filter: blur(8px); }

.toast-stack { position: fixed; z-index: 2500; right: 1rem; bottom: 1rem; display: grid; gap: .6rem; }
.site-toast { color: white; background: var(--ink); padding: .85rem 1rem; border-radius: 14px; box-shadow: var(--soft-shadow); animation: toast-in .35s ease; }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } }

.reveal-item { opacity: 0; transform: translateY(38px) scale(.985); transition: opacity .85s ease, transform .85s cubic-bezier(.2,.8,.2,1) !important; }
.reveal-item.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }

@media (max-width: 980px) {
  .experience-showcase { grid-template-columns: 1fr 1fr; min-height: auto; }
  .experience-tile:first-child { grid-column: 1 / -1; min-height: 500px; }
  .home-experiences-head { grid-template-columns: 1fr; }
  .home-experiences-head p { justify-self: start; }
}

@media (max-width: 768px) {
  .nav-wrapper { min-height: 76px; padding: .65rem 1rem; gap: .65rem; }
  .brand-logo { gap: .5rem; }
  .brand-logo-img { height: 42px; }
  .logo-title { font-size: .82rem; }
  .logo-subtitle { font-size: .54rem; letter-spacing: .06em; }
  .btn-book-nav { padding: .62rem .9rem; font-size: .72rem; }
  .mobile-menu-toggle { color: var(--ink) !important; }
  .nav-links { background: rgba(255,255,255,.98) !important; box-shadow: 0 28px 60px rgba(21,24,55,.14); }
  .nav-link { color: var(--ink) !important; }
  .hero-section { min-height: 710px; padding: 3.5rem 0 8rem; align-items: flex-start; }
  .hero-section::before { background: none !important; }
  .hero-content { width: 100%; padding: 1.25rem; background: rgba(14,16,38,.30) !important; backdrop-filter: none !important; border-radius: 22px; }
  .hero-title { font-size: clamp(2.65rem, 13vw, 4.15rem) !important; max-width: 9ch; line-height: .95 !important; }
  .hero-subtitle { font-size: .95rem !important; line-height: 1.55 !important; }
  .hero-cta-group { display: grid !important; grid-template-columns: 1fr; }
  .hero-content .btn { width: 100%; justify-content: center; }
  .hero-slider-ui { left: 1.25rem; right: auto; bottom: 6.5rem; }
  .hero-slide-label { display: none; }
  .search-widget-wrapper { margin-top: -2.2rem; }
  .search-guarantees-bar { border-radius: 18px !important; margin-top: .75rem; }
  .page-hero { min-height: 360px; background-size: cover !important; }
  .page-hero-title { font-size: clamp(2.25rem, 11vw, 3.4rem) !important; }
  .stats-banner-section { border-radius: 24px; width: calc(100% - 1.5rem); }
  .experience-showcase { grid-template-columns: 1fr; }
  .experience-tile:first-child { grid-column: auto; min-height: 470px; }
  .experience-tile { min-height: 420px; }
  .home-experiences { padding: 5rem 0; }
  .social-wall-head { display:block; }
  .social-wall-head a { display:inline-block; margin-top:1rem; }
  .social-wall-grid { grid-template-columns:1fr; }
  .experience-img { min-height: 410px; border-radius: 80px 20px 20px 20px !important; }
  .trip-trigger { left: .75rem; bottom: .75rem; }
}
