/* =========================================================
   Paraguay Realty — Thème 1 · Classique horizontal
   Sotheby's-like · centré · sobre · symétrique
   ========================================================= */

:root {
  --bg:        #f5f1e8;
  --bg-2:      #ebe5d6;
  --paper:     #fbf8f1;
  --ink:       #14110d;
  --ink-2:     #2a2520;
  --ink-soft:  #5a544b;
  --ink-faint: #8e887d;
  --line:      #2a2520;
  --line-soft: #c7c0b1;
  --accent:    #8a6a2e;
  --accent-2:  #b89657;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.container { width: 100%; max-width: 1480px; margin: 0 auto; padding: 0 64px; }
@media (max-width: 900px) { .container { padding: 0 24px; } }

/* ===================== HEADER (3 stories) ===================== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: background 1.1s cubic-bezier(.25,.46,.45,.94), border-color 1.1s cubic-bezier(.25,.46,.45,.94), backdrop-filter 1.1s cubic-bezier(.25,.46,.45,.94);
}
.header.scrolled {
  background: rgba(245, 241, 232, .94);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line);
}

/* top utility strip */
.header .top-strip {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line-soft);
  font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--ink-soft);
}
.header .top-strip .left { display: flex; gap: 24px; align-items: center; }
.header .top-strip .left a { transition: color .2s; }
.header .top-strip .left a:hover { color: var(--accent); }
.header .top-strip .right { display: flex; gap: 24px; align-items: center; }
.header .top-strip .right .lang { display: flex; gap: 8px; }
.header .top-strip .right .lang span { cursor: pointer; transition: color .2s; }
.header .top-strip .right .lang span:hover { color: var(--ink); }
.header .top-strip .right .lang span.on { color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 1px; }

/* center logo */
.header .logo-row {
  text-align: center;
  padding: 26px 0 18px;
  transition: padding 1.1s cubic-bezier(.25,.46,.45,.94);
}
.header.scrolled .logo-row { padding: 12px 0 10px; }
.header .logo {
  font-family: var(--serif); font-weight: 300; font-style: italic;
  font-size: clamp(34px, 4vw, 48px); line-height: 1;
  letter-spacing: .005em; color: var(--ink);
  display: inline-block;
  transition: color 1.1s cubic-bezier(.25,.46,.45,.94), font-size 1.1s cubic-bezier(.25,.46,.45,.94);
}
.header.scrolled .logo { color: var(--ink); font-size: clamp(22px, 2.4vw, 30px); }
.header .logo small {
  display: block; font-family: var(--sans); font-style: normal; font-weight: 500;
  font-size: 10px; letter-spacing: .5em; text-transform: uppercase;
  color: var(--accent); margin-top: 10px;
  transition: color 1.1s cubic-bezier(.25,.46,.45,.94), opacity 1.1s cubic-bezier(.25,.46,.45,.94), max-height 1.1s cubic-bezier(.25,.46,.45,.94);
  overflow: hidden; max-height: 30px;
}
.header.scrolled .logo small { opacity: 0; max-height: 0; margin-top: 0; }

/* main nav */
.header nav.main {
  display: flex; justify-content: center; gap: 44px;
  border-top: 1px solid var(--line-soft);
  padding: 16px 0 14px;
  font-size: 12px; font-weight: 400; letter-spacing: .26em; text-transform: uppercase;
  transition: border-color 1.1s cubic-bezier(.25,.46,.45,.94), padding 1.1s cubic-bezier(.25,.46,.45,.94);
}
.header.scrolled nav.main { border-top-color: var(--line); padding: 10px 0 9px; }
.header nav.main a { position: relative; padding: 4px 0; color: var(--ink); transition: color .2s; }
.header nav.main a:hover { color: var(--accent); }
.header nav.main a.active { color: var(--ink); }
.header nav.main a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px;
  background: var(--accent);
}

/* mobile bar */
.mobile-bar {
  display: none;
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  justify-content: space-between; align-items: center;
  padding: 14px 24px; border-bottom: 1px solid transparent;
  background: transparent;
  transition: background 1.1s cubic-bezier(.25,.46,.45,.94), border-color 1.1s cubic-bezier(.25,.46,.45,.94);
}
.mobile-bar.scrolled {
  background: var(--bg);
  border-bottom-color: var(--line);
}
.mobile-bar .logo {
  font-family: var(--serif); font-style: italic; font-size: 22px;
  color: var(--ink);
}
.mobile-bar .burger { background: none; border: none; cursor: pointer; padding: 8px; display: inline-flex; flex-direction: column; gap: 4px; }
.mobile-bar .burger span { width: 22px; height: 1.5px; background: var(--ink); }

.menu-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(20,17,13,.97); color: #fff;
  display: flex; flex-direction: column; padding: 36px 28px;
  opacity: 0; pointer-events: none; transition: opacity .35s;
}
.menu-overlay.open { opacity: 1; pointer-events: auto; }
.menu-overlay .top { display: flex; justify-content: space-between; align-items: center; }
.menu-overlay .top .logo { font-family: var(--serif); font-style: italic; font-size: 26px; }
.menu-overlay .top .close { background: none; border: none; color: #fff; cursor: pointer; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; }
.menu-overlay nav.big { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.menu-overlay nav.big a {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(40px, 9vw, 64px); line-height: 1;
  transition: color .25s, padding-left .25s;
}
.menu-overlay nav.big a:hover { color: var(--accent-2); padding-left: 12px; }

/* ===================== HERO ===================== */
.hero { position: relative; padding: 0; background: var(--bg); overflow: visible; }

.hero-image {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}
.hero-image img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

/* vitrine statique en bas */
.hero-image .vitrine {
  position: absolute; inset: 0; pointer-events: none; z-index: 2;
}
.hero-image .vitrine::before {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 220px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(255,255,255,.04) 35%,
    rgba(255,255,255,.13) 60%,
    rgba(255,255,255,.28) 80%,
    rgba(255,255,255,.42) 100%
  );
  mix-blend-mode: screen;
}
.hero-image .vitrine::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(255,255,255,.35) 15%,
    rgba(255,255,255,.65) 50%,
    rgba(255,255,255,.35) 85%,
    transparent 100%
  );
}

/* ===================== SEARCH (on hero photo) ===================== */
.hero > .container {
  position: absolute; bottom: 72px; left: 0; right: 0; z-index: 10;
}
.search-wrap {
  position: relative; z-index: 10;
  padding: 0 28px;
}
.search {
  background: var(--paper);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr auto;
  align-items: stretch;
  box-shadow: 0 30px 60px -28px rgba(20,17,13,.4);
}
.search .field {
  padding: 18px 22px;
  border-right: 1px solid var(--line-soft);
  display: flex; flex-direction: column; gap: 6px;
  position: relative; cursor: pointer; transition: background .2s;
}
.search .field:hover, .search .field:focus-within { background: var(--bg); }
.search .field label {
  font-size: 9.5px; letter-spacing: .26em; text-transform: uppercase;
  color: var(--ink-faint); font-weight: 500;
}
.search .field input, .search .field select {
  border: none; background: transparent; outline: none;
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 17px; color: var(--ink); width: 100%; padding: 0; cursor: pointer;
}
.search .field input::placeholder {
  color: var(--ink-faint); font-family: var(--sans); font-style: normal;
  font-size: 14px; font-weight: 300;
}
.search .field select { appearance: none; -webkit-appearance: none; }
.search .field .chev {
  position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  color: var(--ink-faint); font-size: 12px; pointer-events: none;
}
.search button.submit {
  background: var(--ink); color: var(--bg); border: none;
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase; font-weight: 500;
  padding: 0 36px; cursor: pointer;
  display: flex; align-items: center; gap: 12px;
  transition: background .25s, letter-spacing .25s;
}
.search button.submit:hover { background: var(--accent); letter-spacing: .35em; }
.search button.submit .arrow-ico { transition: transform .25s; }
.search button.submit:hover .arrow-ico { transform: translateX(4px); }

/* ===================== SECTION HEADERS — centered classic ===================== */
.section { padding: 120px 0 0; }
.section .head { text-align: center; margin-bottom: 8px; }
.section .head .eyebrow {
  font-size: 11px; letter-spacing: .35em; text-transform: uppercase; color: var(--ink-faint);
  margin-bottom: 14px;
}
.section h2 {
  font-family: var(--serif); font-weight: 300; font-style: italic;
  font-size: clamp(44px, 5vw, 64px);
  margin: 0; line-height: 1; letter-spacing: -.005em;
}
.section .head .sub {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: 17px; color: var(--ink-soft);
  margin-top: 14px;
}
.section .ornament {
  display: flex; justify-content: center; align-items: center; gap: 14px;
  margin: 22px 0 56px;
  font-size: 10px; letter-spacing: .35em; text-transform: uppercase; color: var(--ink-faint);
}
.section .ornament .line {
  width: 80px; height: 1px; background: var(--line-soft);
}
.section .ornament .dot {
  width: 6px; height: 6px; background: var(--accent); border-radius: 50%;
}

/* ===================== FEATURED GRID 3 cols ===================== */
.featured-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
}
.prop {
  display: flex; flex-direction: column; gap: 14px;
  cursor: pointer;
}
.prop .visual { position: relative; overflow: hidden; aspect-ratio: 4/3; background: var(--bg-2); }
.prop .visual img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s cubic-bezier(.22,.61,.36,1);
}
.prop:hover .visual img { transform: scale(1.04); }
.prop .visual .ref {
  position: absolute; top: 14px; left: 14px;
  background: rgba(245,241,232,.92); padding: 5px 11px;
  font-size: 9.5px; letter-spacing: .28em; text-transform: uppercase; color: var(--ink);
}
.prop .visual .fav {
  position: absolute; top: 14px; right: 14px;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(245,241,232,.92);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink); cursor: pointer; transition: background .2s, color .2s;
}
.prop .visual .fav:hover { background: var(--ink); color: var(--bg); }
.prop .top-line {
  display: flex; justify-content: space-between;
  font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: var(--ink-faint);
}
.prop h3 {
  font-family: var(--serif); font-weight: 300; font-style: italic;
  font-size: 26px; line-height: 1.1; margin: 0;
}
.prop .specs {
  display: flex; gap: 12px; flex-wrap: wrap;
  font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: var(--ink-soft);
}
.prop .specs span:not(:last-child)::after {
  content: ""; display: inline-block; width: 3px; height: 3px;
  background: var(--ink-faint); border-radius: 50%;
  margin-left: 12px; transform: translateY(-3px);
}
.prop .price {
  font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--accent);
  padding-top: 4px;
  border-top: 1px solid var(--line-soft);
}

/* ===================== PLAN BLOCK (2 col feature) ===================== */
.plans-block {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
.plans-block .visual {
  position: relative; aspect-ratio: 4/3; overflow: hidden;
}
.plans-block .visual img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.4s cubic-bezier(.22,.61,.36,1);
}
.plans-block .visual:hover img { transform: scale(1.04); }
.plans-block .visual .stamp {
  position: absolute; top: 22px; left: 22px;
  border: 1px solid #fff; color: #fff;
  padding: 7px 14px;
  font-size: 10px; letter-spacing: .3em; text-transform: uppercase;
  background: rgba(20,17,13,.35);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.plans-block .copy .eyebrow {
  font-size: 11px; letter-spacing: .32em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 16px;
}
.plans-block .copy h3 {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(42px, 4.5vw, 60px); line-height: 1; margin: 0 0 22px;
}
.plans-block .copy p {
  font-size: 15.5px; line-height: 1.78; color: var(--ink-soft); max-width: 480px;
  margin: 0 0 26px;
}
.plans-block .copy .stats {
  display: grid; grid-template-columns: repeat(3, auto); gap: 38px; justify-content: start;
  border-top: 1px solid var(--line); padding-top: 22px; margin-bottom: 30px;
}
.plans-block .copy .stats div .v {
  font-family: var(--serif); font-style: italic; font-size: 26px; line-height: 1; margin-bottom: 6px;
}
.plans-block .copy .stats div .k {
  font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: var(--ink-faint);
}
.plans-block .copy .ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* small list of secondary plans below */
.plans-secondary {
  margin-top: 64px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 36px;
  padding-top: 40px; border-top: 1px solid var(--line-soft);
}
.plans-secondary .item {
  display: grid; grid-template-columns: 160px 1fr; gap: 22px; align-items: center;
  cursor: pointer;
}
.plans-secondary .item .visual {
  aspect-ratio: 4/3; overflow: hidden;
  position: relative;
}
.plans-secondary .item .visual img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s cubic-bezier(.22,.61,.36,1);
}
.plans-secondary .item:hover .visual img { transform: scale(1.05); }
.plans-secondary .item .copy .eyebrow {
  font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 6px;
}
.plans-secondary .item .copy h4 {
  font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 22px;
  margin: 0 0 6px; line-height: 1.1;
}
.plans-secondary .item .copy .det {
  font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: var(--ink-soft);
}
.plans-secondary .item .copy .det span:not(:last-child)::after {
  content: ""; display: inline-block; width: 3px; height: 3px;
  background: var(--ink-faint); border-radius: 50%;
  margin: 0 8px 1px; transform: translateY(-2px);
}

/* ===================== TEAM 4-cols grid ===================== */
.team-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px;
}
.team-grid .person { display: flex; flex-direction: column; gap: 14px; cursor: pointer; }
.team-grid .person .portrait {
  aspect-ratio: 4/5; overflow: hidden; position: relative;
  filter: grayscale(.15); transition: filter .6s;
}
.team-grid .person:hover .portrait { filter: none; }
.team-grid .person .portrait img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s cubic-bezier(.22,.61,.36,1);
}
.team-grid .person:hover .portrait img { transform: scale(1.04); }
.team-grid .person .role {
  font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--accent);
}
.team-grid .person h4 {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: 24px; line-height: 1; margin: 0;
}
.team-grid .person p {
  font-size: 13.5px; line-height: 1.65; color: var(--ink-soft); margin: 0;
}
.team-grid .person .contact {
  margin-top: 4px; border-top: 1px solid var(--line-soft); padding-top: 12px;
  display: flex; flex-direction: column; gap: 4px;
  font-size: 11px; letter-spacing: .04em; color: var(--ink-soft);
}
.team-grid .person .contact a:hover { color: var(--accent); }

/* ===================== BUTTON ===================== */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: transparent; border: 1px solid var(--ink); color: var(--ink);
  padding: 14px 26px;
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase; font-weight: 500;
  cursor: pointer; transition: background .25s, color .25s, letter-spacing .25s;
}
.btn:hover { background: var(--ink); color: var(--bg); letter-spacing: .35em; }
.btn.dark { background: var(--ink); color: var(--bg); }
.btn.dark:hover { background: var(--accent); border-color: var(--accent); }
.btn.ghost { border-color: var(--line-soft); color: var(--ink-soft); }
.btn.ghost:hover { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn .arrow-ico { transition: transform .25s; }
.btn:hover .arrow-ico { transform: translateX(4px); }

/* center button row */
.center-cta { text-align: center; margin-top: 56px; }

/* ===================== FOOTER ===================== */
.footer {
  margin-top: 140px;
  background: var(--ink);
  color: #c7c0b1;
  padding: 88px 0 32px;
}
.footer .top-row { text-align: center; padding-bottom: 56px; border-bottom: 1px solid #2a2520; }
.footer .top-row .logo {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: 44px; color: #fff; line-height: 1;
}
.footer .top-row .logo small {
  display: block; font-family: var(--sans); font-style: normal; font-weight: 500;
  font-size: 10px; letter-spacing: .5em; text-transform: uppercase;
  color: #8e887d; margin-top: 14px;
}
.footer .top-row p {
  max-width: 540px; margin: 26px auto 0; line-height: 1.7; color: #c7c0b1;
}

.footer .cols {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 56px;
  padding: 56px 0;
}
.footer h4 {
  font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 22px;
  color: var(--bg); margin: 0 0 18px;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { font-size: 13px; color: #c7c0b1; transition: color .2s; }
.footer ul a:hover { color: #fff; }

.footer .socials { display: flex; gap: 12px; margin-top: 4px; }
.footer .socials a {
  width: 36px; height: 36px; border: 1px solid #5a544b; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; color: #c7c0b1; transition: background .2s, color .2s, border-color .2s;
}
.footer .socials a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.footer .legal {
  border-top: 1px solid #2a2520; padding-top: 24px;
  display: flex; justify-content: space-between;
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: #8e887d;
}
.footer .legal a:hover { color: #fff; }

/* ===================== REVEAL ===================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1100px) {
  .header .top-strip, .header nav.main { display: none; }
  .header .logo-row { padding: 14px 0; display: none; }
  .mobile-bar { display: flex; }
  .search { grid-template-columns: 1fr 1fr; }
  .search button.submit { grid-column: span 2; padding: 18px; justify-content: center; }
  .featured-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .plans-block { grid-template-columns: 1fr; gap: 32px; }
  .plans-secondary { grid-template-columns: 1fr; gap: 24px; }
  .team-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer .cols { grid-template-columns: 1fr 1fr; gap: 36px; }
  .hero-image { height: 70vh; }
}
@media (max-width: 700px) {
  .search { grid-template-columns: 1fr; }
  .search button.submit { grid-column: 1; padding: 18px; }
  .featured-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .footer .cols { grid-template-columns: 1fr; }
  .footer .legal { flex-direction: column; gap: 12px; align-items: flex-start; }
.plans-secondary .item { grid-template-columns: 1fr; gap: 12px; }
  .plans-secondary .item .visual { aspect-ratio: 16/9; }
}
