/* ─── Base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background-color: #f4ede2;
  color: #1e1610;
  font-family: 'Inter', sans-serif;
}

::selection { background: #1e1610; color: #f4ede2; }

/* ─── Page fade-in ──────────────────────────────── */
main {
  animation: fadeIn 0.5s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── Nav ────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(244, 237, 226, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #ddd3c5;
}
.site-nav__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-nav__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.site-nav__brand img {
  height: 60px;
  width: 60px;
  object-fit: contain;
}
.site-nav__brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: #1e1610;
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.site-nav__links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}
.site-nav__link {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  color: #7a6a58;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.site-nav__link:hover,
.site-nav__link.active {
  color: #1e1610;
}
.site-nav__mobile-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: #1e1610;
}

/* ─── Mobile menu ────────────────────────────────── */
.mobile-menu {
  display: none;
  position: fixed;
  top: 100px; left: 0; right: 0;
  z-index: 49;
  background: #f4ede2;
  border-top: 1px solid #ddd3c5;
  padding: 2.5rem 2rem 3rem;
  flex-direction: column;
  gap: 1.5rem;
  height: calc(100vh - 100px);
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: #7a6a58;
  text-decoration: none;
  transition: color 0.2s;
}
.mobile-menu a:hover { color: #1e1610; }

@media (max-width: 768px) {
  .site-nav__links { display: none; }
  .site-nav__mobile-btn { display: block; }
}

/* ─── Section helpers ────────────────────────────── */
.section-pad { padding: 6rem 2rem; }
.section-pad-sm { padding: 4rem 2rem; }
.container { max-width: 1280px; margin: 0 auto; }
.container-md { max-width: 900px; margin: 0 auto; }

/* ─── Hero ───────────────────────────────────────── */
.hero {
  margin-top: 100px;
  position: relative;
  width: 100%;
  height: calc(100vh - 100px);
  overflow: hidden;
}
.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
}
.hero__content {
  position: absolute;
  bottom: 0; left: 0;
  padding: 4rem 3rem;
  max-width: 620px;
  color: #f4ede2;
}
.hero__content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.hero__content p {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(244, 237, 226, 0.85);
  margin-bottom: 2rem;
}

/* ─── Split section (text + image) ──────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }

.split__text {
  padding: 5rem 4rem 5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.split.reverse .split__text { padding: 5rem 3rem 5rem 4rem; }

.split__img {
  position: relative;
  overflow: hidden;
}
.split__img img,
.split__img video {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
  display: block;
}
.split__credit {
  position: absolute;
  right: 0.75rem;
  bottom: 2rem;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; direction: ltr; }
  .split.reverse { direction: ltr; }
  .split__text { padding: 3rem 1.5rem; }
  .split__img img, .split__img video { min-height: 340px; }
}

/* ─── Titles ─────────────────────────────────────── */
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 400;
  line-height: 1.2;
  color: #1e1610;
  margin-bottom: 1.5rem;
}
.section-title em {
  font-style: italic;
  font-weight: 300;
}
.section-sub {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #a0917f;
  margin-bottom: 1rem;
}
.section-body {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.85;
  color: #5a4e42;
  margin-bottom: 1.25rem;
}

/* ─── Buttons ────────────────────────────────────── */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}
.btn {
  display: inline-block;
  border: 1px solid #1e1610;
  color: #1e1610;
  text-decoration: none;
  padding: 0.7rem 1.75rem;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
  transition: background 0.25s, color 0.25s;
  cursor: pointer;
  background: transparent;
}
.btn:hover {
  background: #1e1610;
  color: #f4ede2;
}
.btn--light {
  border-color: rgba(244,237,226,0.7);
  color: #f4ede2;
}
.btn--light:hover {
  background: rgba(244,237,226,0.15);
  border-color: #f4ede2;
}

/* ─── Gallery grid ───────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2.5rem;
}
.gallery-item {
  display: block;
  text-decoration: none;
  color: inherit;
}
.gallery-item__img {
  overflow: hidden;
  aspect-ratio: 4/5;
  margin-bottom: 1rem;
  background: #e8ddd0;
}
.gallery-item__img img,
.gallery-item__img video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.gallery-item:hover .gallery-item__img img,
.gallery-item:hover .gallery-item__img video {
  transform: scale(1.04);
}
.gallery-item__title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 0.25rem;
}
.gallery-item__sub {
  font-size: 0.85rem;
  color: #9a8a78;
  font-weight: 300;
}

/* ─── Intro text (centered) ──────────────────────── */
.intro-text {
  text-align: center;
  max-width: 740px;
  margin: 0 auto;
}
.intro-text h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  margin-bottom: 1.25rem;
}
.intro-text p {
  font-size: 1.05rem;
  font-weight: 300;
  color: #7a6a58;
  line-height: 1.8;
}

/* ─── Quote block ────────────────────────────────── */
.quote-block {
  border-left: 2px solid #c0b09a;
  padding: 1.5rem 2rem;
  background: #ede5d8;
}
.quote-block p {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.5;
  color: #3a2e24;
}

/* ─── 3-col facts ────────────────────────────────── */
.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  border-top: 1px solid #ddd3c5;
  padding-top: 4rem;
}
.fact h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}
.fact p {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.75;
  color: #7a6a58;
}
@media (max-width: 768px) {
  .facts { grid-template-columns: 1fr; gap: 2rem; }
}

/* ─── Contact form ───────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 2rem;
}
.form-group label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #9a8a78;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid #c0b09a;
  padding: 0.6rem 0;
  font-size: 1rem;
  color: #1e1610;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #1e1610;
}
.form-group textarea { resize: none; }
.form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
@media (max-width: 640px) { .form-2col { grid-template-columns: 1fr; } }

/* ─── Footer ─────────────────────────────────────── */
.site-footer {
  background: #1e1610;
  color: #c5b8a8;
  padding: 5rem 2rem 3rem;
}
.site-footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid #3a2e24;
  margin-bottom: 2rem;
}
@media (max-width: 768px) {
  .site-footer__inner { grid-template-columns: 1fr; }
}
.site-footer__brand img { height: 60px; width: 60px; object-fit: contain; margin-bottom: 1rem; }
.site-footer__brand p { font-size: 0.85rem; line-height: 1.75; color: #8a7a6a; font-weight: 300; }
.site-footer h4 {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #6a5a4a;
  margin-bottom: 1.25rem;
}
.site-footer a {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  font-weight: 300;
  color: #c5b8a8;
  text-decoration: none;
  transition: color 0.2s;
  width: fit-content;
}
.site-footer a:hover { color: #f4ede2; }
.site-footer__credit {
  text-align: center;
  padding: 1rem 2rem 0;
  font-size: 0.75rem;
  font-weight: 300;
  color: #6a5a4a;
}
.site-footer__credit a {
  color: #6a5a4a;
  text-decoration: none;
  transition: color 0.2s;
}
.site-footer__credit a:hover { color: #f4ede2; }

.site-footer__bottom {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: #6a5a4a;
  font-weight: 300;
}

/* ─── Divider line ───────────────────────────────── */
.divider { border: none; border-top: 1px solid #ddd3c5; margin: 0; }

/* ─── Page header (pages internes) ──────────────── */
.page-header {
  padding: 7rem 2rem 4rem;
  text-align: center;
  border-bottom: 1px solid #ddd3c5;
}
.page-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  margin-bottom: 0.75rem;
}
.page-header p {
  font-size: 1rem;
  color: #7a6a58;
  font-weight: 300;
}

/* ─── WhatsApp flottant ─────────────────────────── */
.whatsapp-float {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 1000;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #1EBE5D 100%);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  line-height: 0;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.2s ease;
}
.whatsapp-float:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 14px 28px rgba(37, 211, 102, 0.36);
}
.whatsapp-float:focus-visible {
  outline: 3px solid rgba(37, 211, 102, 0.25);
  outline-offset: 4px;
}
.whatsapp-float svg,
.whatsapp-float > svg {
  width: 30px !important;
  height: 30px !important;
  min-width: 30px;
  min-height: 30px;
  max-width: 30px;
  max-height: 30px;
  display: block;
  fill: #fff !important;
  flex: 0 0 30px !important;
}
body.mobile-menu-open .whatsapp-float {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}
@media (max-width: 768px) {
  .whatsapp-float {
    right: max(0.875rem, env(safe-area-inset-right));
    bottom: max(0.875rem, env(safe-area-inset-bottom));
    width: 52px;
    height: 52px;
  }
  .whatsapp-float svg,
  .whatsapp-float > svg {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px;
    min-height: 28px;
    max-width: 28px;
    max-height: 28px;
    flex-basis: 28px !important;
  }
}
