/* ============================================
   TEAPEAK — Section-specific Styles
   ============================================ */

/* ---- Navbar ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: var(--space-4) 0;
  transition: background var(--duration-normal) var(--ease-out),
              padding var(--duration-normal) var(--ease-out);
}

.navbar.is-scrolled {
  background: rgba(27,58,45,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: var(--space-2) 0;
  box-shadow: var(--shadow-md);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: var(--text-xl);
}

a.navbar__logo:hover {
  color: var(--forest-200);
}

.navbar__logo svg {
  width: 36px;
  height: 36px;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.navbar__link {
  color: rgba(255,255,255,.8);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color var(--duration-fast);
  position: relative;
}

.navbar__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--wood-400);
  transition: width var(--duration-fast) var(--ease-out);
}

.navbar__link:hover,
.navbar__link.is-active {
  color: var(--white);
}

.navbar__link.is-active::after,
.navbar__link:hover::after {
  width: 100%;
}

.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}

.navbar__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--duration-fast) var(--ease-out);
}

.navbar__hamburger.is-open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.navbar__hamburger.is-open span:nth-child(2) {
  opacity: 0;
}
.navbar__hamburger.is-open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile overlay */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--forest-900);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-normal) var(--ease-out);
}

.mobile-nav.is-open {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav a {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  transition: color var(--duration-fast);
}

.mobile-nav a:hover {
  color: var(--wood-400);
}

/* ---- Hero ---- */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 0;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1B3A2D 0%, #2D5E46 50%, #1E5F8A 100%);
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .5;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(27,58,45,.55) 0%,
    rgba(27,58,45,.3) 50%,
    rgba(26,26,24,.7) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: var(--space-5);
}

.hero__eyebrow {
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--wood-400);
  margin-bottom: var(--space-4);
}

.hero__title {
  font-size: var(--text-5xl);
  color: var(--white);
  margin-bottom: var(--space-5);
  line-height: 1.1;
}

.hero__text {
  font-size: var(--text-lg);
  color: rgba(255,255,255,.8);
  max-width: 50ch;
  margin-inline: auto;
  margin-bottom: var(--space-8);
}

.hero__ctas {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

/* ---- Concept ---- */
.concept {
  background: var(--white);
}

.concept .btn {
    display: block;
  margin: 0 auto;
  width: fit-content;
}

/* ---- Hebergements ---- */
.hebergements {
  background: var(--neutral-100);
}

.hebergements__block + .hebergements__block {
  margin-top: var(--space-12);
}

.hebergements__img-wrapper {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hebergements__img-wrapper img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.hebergements__content .btn {
  display: block;
  margin: 0 auto;
  width: fit-content;
}

.hebergements__content h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-4);
}

.hebergements__content p {
  margin-bottom: var(--space-5);
  line-height: 1.7;
}

.hebergements__content .amenity-list {
  margin-bottom: var(--space-6);
}

/* ---- Activites ---- */
.activites {
  background: var(--white);
}

.activity-card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  font-size: var(--text-sm);
  color: var(--neutral-500);
  margin-top: var(--space-3);
}

.activity-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
}

.activity-card__meta svg {
  width: 16px;
  height: 16px;
}

.difficulty {
  display: inline-flex;
  gap: 2px;
}

.difficulty svg {
  width: 14px;
  height: 14px;
  color: var(--neutral-500);
  opacity: .25;
}

.difficulty svg.filled {
  opacity: 1;
  color: var(--forest-500);
}

/* ---- Restaurant ---- */
.restaurant {
  position: relative;
  padding-block: var(--space-12);
  background: var(--forest-900);
  color: var(--white);
  overflow: hidden;
  text-align: center;
}

.restaurant__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1B3A2D, #3D2B1F);
  opacity: .9;
}

.restaurant__content {
  position: relative;
  z-index: 1;
  /* max-width: 100%; */
}

.restaurant__content h2 {
  color: var(--white);
  margin-bottom: var(--space-4);
}

.restaurant__content p {
  color: rgba(255,255,255,.75);
  margin-bottom: var(--space-6);
  line-height: 1.8;
}

.restaurant__content p:nth-child(3) {
  margin: 0 auto;
}

.restaurant__highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  margin-bottom: var(--space-8);
}

.restaurant__highlight .card__icon {
  margin-inline: auto;
  background: rgba(255,255,255,.1);
  color: var(--wood-400);
  margin-bottom: var(--space-3);
}

.restaurant__highlight h4 {
  color: var(--white);
  font-size: var(--text-base);
  margin-bottom: var(--space-1);
}

.restaurant__highlight p {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.6);
  text-align: center;
}

/* ---- Temoignages ---- */
.temoignages {
  background: var(--wood-100);
}

.carousel {
  position: relative;
}

.carousel__track {
  display: flex;
  gap: var(--space-5);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: var(--space-2);
}

.carousel__track::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  flex: 0 0 calc(33.333% - var(--space-5) * 2 / 3);
  scroll-snap-align: start;
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
}

.testimonial-card__quote {
  font-family: var(--font-heading);
  font-size: var(--text-md);
  font-style: italic;
  color: var(--wood-900);
  line-height: 1.7;
  margin-bottom: var(--space-5);
  position: relative;
  padding-left: var(--space-5);
  border-left: 3px solid var(--wood-400);
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.testimonial-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--forest-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  color: var(--forest-700);
  flex-shrink: 0;
}

.testimonial-card__name {
  font-weight: 700;
  color: var(--wood-900);
}

.testimonial-card__info {
  font-size: var(--text-sm);
  color: var(--neutral-500);
}

.carousel__arrows {
  display: flex;
  justify-content: center;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.carousel__arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--forest-700);
  color: var(--forest-700);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration-fast) var(--ease-out);
}

.carousel__arrow:hover {
  background: var(--forest-700);
  color: var(--white);
}

.carousel__arrow svg {
  width: 20px;
  height: 20px;
}

.trust-badges {
  display: flex;
  justify-content: center;
  gap: var(--space-8);
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(27,58,45,.1);
}

.trust-badge {
  text-align: center;
}

.trust-badge__score {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  color: var(--wood-900);
}

.trust-badge__label {
  font-size: var(--text-sm);
  color: var(--neutral-500);
  margin: 0 auto;
}

/* ---- Tarifs ---- */
.tarifs {
  background: var(--neutral-100);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  align-items: start;
}

.pricing-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: var(--space-8) var(--space-6);
  text-align: center;
  margin-inline: auto;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pricing-card--popular {
  transform: scale(1.05);
  border: 2px solid var(--fire-600);
  box-shadow: var(--shadow-lg);
  z-index: 1;
}

.pricing-card--popular:hover {
  transform: scale(1.05) translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.pricing-card__ribbon {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--fire-600);
  color: var(--white);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.375rem 1.25rem;
  border-radius: 0 0 var(--border-radius) var(--border-radius);
}

.pricing-card__name {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  color: var(--wood-900);
  margin-bottom: var(--space-2);
}

.pricing-card__desc {
  font-size: var(--text-sm);
  color: var(--neutral-500);
  margin-bottom: var(--space-5);
}

.pricing-card__price {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  color: var(--forest-900);
  margin-bottom: var(--space-1);
}

.pricing-card__price span {
  font-size: var(--text-base);
  color: var(--neutral-500);
  font-family: var(--font-body);
}

.pricing-card__period {
  font-size: var(--text-sm);
  color: var(--neutral-500);
  margin-bottom: var(--space-6);
}

.pricing-card .feature-list {
  text-align: left;
}

/* ---- Reservation ---- */
.reservation {
  background: var(--forest-900);
  color: var(--white);
}

.reservation__info h3 {
  color: var(--white);
  margin-bottom: var(--space-5);
}

.reservation__arguments {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  margin-bottom: var(--space-8);
}

.reservation__arg {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}

.reservation__arg-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
  color: var(--wood-400);
}

.reservation__arg-icon svg {
  width: 20px;
  height: 20px;
}

.reservation__arg h4 {
  color: var(--white);
  font-size: var(--text-base);
  font-family: var(--font-body);
  margin-bottom: var(--space-1);
}

.reservation__arg p {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.6);
}

.reservation__phone {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  color: var(--wood-400);
}

.reservation__phone svg {
  width: 24px;
  height: 24px;
}

.reservation__form h3 {
  color: var(--white);
  margin-bottom: var(--space-5);
}

.btn--submit {
  width: 100%;
  padding: 1rem;
  font-size: var(--text-md);
  position: relative;
}

.btn--submit .spinner {
  display: none;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin .6s linear infinite;
}

.btn--submit.is-loading .spinner {
  display: block;
}

.btn--submit.is-loading .btn-text {
  visibility: hidden;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ---- FAQ ---- */
.faq {
  background: var(--white);
}

/* ---- Localisation ---- */
.localisation {
  background: var(--neutral-100);
}

.localisation__map {
  background: var(--forest-100);
  border-radius: var(--border-radius-lg);
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--forest-700);
  font-size: var(--text-lg);
  overflow: hidden;
}

.localisation__map svg {
  width: 64px;
  height: 64px;
  opacity: .4;
}

.localisation__info h3 {
  margin-bottom: var(--space-5);
}

.localisation__details {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.localisation__detail {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.localisation__detail svg {
  width: 20px;
  height: 20px;
  color: var(--forest-500);
  flex-shrink: 0;
  margin-top: 2px;
}

.localisation__detail strong {
  display: block;
  color: var(--wood-900);
  margin-bottom: var(--space-1);
}

.localisation__detail p {
  font-size: var(--text-sm);
}

/* ---- Footer ---- */
.footer {
  background: var(--wood-900);
  color: rgba(255,255,255,.7);
  padding-top: var(--space-12);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-8);
  padding-bottom: var(--space-10);
}

.footer__brand p {
  color: rgba(255,255,255,.5);
  font-size: var(--text-sm);
  margin-top: var(--space-3);
  max-width: 280px;
}

.footer__socials {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.footer__social {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration-fast);
}

.footer__social:hover {
  background: var(--forest-700);
  border-color: var(--forest-700);
  color: var(--white);
}

.footer__social svg {
  width: 18px;
  height: 18px;
}

.footer h4 {
  color: var(--white);
  font-size: var(--text-base);
  margin-bottom: var(--space-4);
}

.footer__links li + li {
  margin-top: var(--space-2);
}

.footer__links a {
  font-size: var(--text-sm);
  transition: color var(--duration-fast);
}

.footer__links a:hover {
  color: var(--wood-400);
}

.footer__contact li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  margin-bottom: var(--space-2);
}

.footer__contact svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--wood-400);
}

.footer__newsletter-text {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.5);
  margin-bottom: var(--space-3);
}

.footer__newsletter-form {
  display: flex;
  gap: var(--space-2);
}

.footer__newsletter-form input {
  flex: 1;
  padding: 0.625rem 1rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--border-radius);
  color: var(--white);
  font-size: var(--text-sm);
}

.footer__newsletter-form input::placeholder {
  color: rgba(255,255,255,.4);
}

.footer__newsletter-form button {
  padding: 0.625rem 1.25rem;
  background: var(--forest-700);
  color: var(--white);
  border-radius: var(--border-radius);
  font-weight: 700;
  font-size: var(--text-sm);
  transition: background var(--duration-fast);
}

.footer__newsletter-form button:hover {
  background: var(--forest-500);
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: var(--space-5) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-xs);
  color: rgba(255,255,255,.4);
}

.footer__legal {
  display: flex;
  gap: var(--space-5);
}

.footer__legal a {
  transition: color var(--duration-fast);
}

.footer__legal a:hover {
  color: var(--wood-400);
}
