/* Climbing Rocks — escola de escalada · Cascais
   Warm stone + terracotta, contour-map motif. */

:root {
  --paper: #f3ede2;
  --paper-deep: #e9e0cf;
  --ink: #22251f;
  --ink-soft: #55584f;
  --clay: #c4502e;
  --clay-deep: #9c3a1e;
  --moss: #5f6f52;
  --line: #d8cdb8;
  --radius: 14px;
  --shadow: 0 2px 0 var(--ink), 0 10px 24px rgba(34, 37, 31, 0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Karla", sans-serif;
  background-color: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='520' height='520' viewBox='0 0 520 520'%3E%3Cg fill='none' stroke='%23d8cdb8' stroke-width='1.1' opacity='0.55'%3E%3Cpath d='M60 470c70-30 90-110 60-170S60 190 110 130 280 60 340 110s60 150 110 180 70 110 10 160-200 50-260 60-90 0-140-40z'/%3E%3Cpath d='M95 445c55-25 70-90 45-140S95 205 140 155s140-55 190-15 50 120 90 145 55 90 10 130-160 40-210 50-75 0-125-20z'/%3E%3Cpath d='M130 420c40-20 50-70 30-110s-35-75 0-115 110-45 150-12 40 95 72 115 40 70 8 100-120 32-160 40-60 0-100-18z'/%3E%3Cpath d='M165 392c28-14 35-50 21-78s-25-53 0-81 78-32 106-9 28 67 51 81 28 50 6 71-85 23-113 28-43 0-71-12z'/%3E%3C/g%3E%3C/svg%3E");
}

::selection { background: var(--clay); color: var(--paper); }

h1, h2, h3, .display {
  font-family: "Fraunces", serif;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.015em;
}

.wrap { max-width: 1060px; margin: 0 auto; padding: 0 24px; }

/* ── Nav ─────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1.5px solid var(--ink);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; max-width: 1060px; margin: 0 auto;
}
.logo {
  font-family: "Fraunces", serif; font-weight: 700; font-size: 1.3rem;
  text-decoration: none; color: var(--ink); display: flex; align-items: center; gap: 9px;
}
.logo svg { display: block; }
.nav-links { display: flex; gap: 26px; align-items: center; list-style: none; }
.nav-links a { text-decoration: none; color: var(--ink-soft); font-weight: 600; font-size: 0.95rem; }
.nav-links a:hover { color: var(--clay); }

.btn {
  display: inline-block; padding: 11px 22px; border-radius: 999px;
  background: var(--clay); color: var(--paper); text-decoration: none;
  font-weight: 700; font-size: 0.95rem; border: 1.5px solid var(--ink);
  box-shadow: 0 2px 0 var(--ink); transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 4px 0 var(--ink); background: var(--clay-deep); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--paper-deep); }

/* ── Hero ────────────────────────────────────────── */
.hero { padding: 96px 0 72px; }
.hero .kicker {
  display: inline-block; font-weight: 700; font-size: 0.8rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--moss); border: 1.5px solid var(--moss);
  border-radius: 999px; padding: 5px 14px; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); max-width: 13ch; }
.hero h1 em { font-style: italic; color: var(--clay); }
.hero p { max-width: 50ch; margin-top: 20px; font-size: 1.12rem; color: var(--ink-soft); }
.hero .cta-row { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }

.reveal { opacity: 0; transform: translateY(14px); animation: rise 0.7s ease forwards; }
.reveal.d1 { animation-delay: 0.08s; } .reveal.d2 { animation-delay: 0.18s; }
.reveal.d3 { animation-delay: 0.3s; } .reveal.d4 { animation-delay: 0.44s; }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .reveal { animation: none; opacity: 1; transform: none; } }

/* ── Sections ────────────────────────────────────── */
section { padding: 64px 0; }
.sec-head { display: flex; align-items: baseline; gap: 18px; margin-bottom: 34px; }
.sec-head h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
.sec-head .rule { flex: 1; height: 1.5px; background: var(--ink); opacity: 0.25; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.card {
  background: #fffdf7; border: 1.5px solid var(--ink); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px;
}
.card .tag {
  align-self: flex-start; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--paper); background: var(--moss);
  padding: 4px 10px; border-radius: 999px;
}
.card.featured .tag { background: var(--clay); }
.card h3 { font-size: 1.35rem; }
.card p { color: var(--ink-soft); font-size: 0.98rem; flex: 1; }
.card .price { font-family: "Fraunces", serif; font-size: 1.5rem; font-weight: 700; }
.card .price span { font-family: "Karla", sans-serif; font-size: 0.85rem; font-weight: 600; color: var(--ink-soft); }

/* ── About strip ─────────────────────────────────── */
.about {
  background: var(--ink); color: var(--paper); border-block: 1.5px solid var(--ink);
}
.about .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.about h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.about h2 em { color: #e8a87c; font-style: italic; }
.about p { color: #cfd0c8; margin-top: 14px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.stat { border: 1.5px solid #4a4d44; border-radius: var(--radius); padding: 18px; }
.stat b { font-family: "Fraunces", serif; font-size: 1.9rem; display: block; color: #e8a87c; }
.stat span { font-size: 0.85rem; color: #cfd0c8; }
@media (max-width: 760px) { .about .wrap { grid-template-columns: 1fr; } }

/* ── Booking page ────────────────────────────────── */
.book-hero { padding: 72px 0 28px; }
.book-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.book-hero p { max-width: 56ch; margin-top: 14px; color: var(--ink-soft); font-size: 1.08rem; }

.widget-shell {
  background: #fffdf7; border: 1.5px solid var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 18px; min-height: 540px; margin: 28px 0 64px;
}
.widget-placeholder {
  height: 100%; min-height: 500px; display: flex; flex-direction: column; gap: 12px;
  align-items: center; justify-content: center; text-align: center;
  border: 2px dashed var(--line); border-radius: 10px; padding: 40px 24px; color: var(--ink-soft);
}
.widget-placeholder strong { font-family: "Fraunces", serif; font-size: 1.3rem; color: var(--ink); }

/* ── Footer ──────────────────────────────────────── */
footer { border-top: 1.5px solid var(--ink); padding: 36px 0 44px; }
.foot { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; color: var(--ink-soft); font-size: 0.92rem; }
.foot b { color: var(--ink); font-family: "Fraunces", serif; font-size: 1.05rem; }
.fineprint { margin-top: 20px; font-size: 0.78rem; color: #9a9c92; }

@media (max-width: 640px) {
  .nav-links { display: none; }
  .hero { padding: 64px 0 48px; }
}
