/* forne.pt — self-contained styles. No external requests. */
@font-face {
  font-family: "DM Serif Display";
  src: url("./fonts/dm-serif-display-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("./fonts/outfit-300.woff2") format("woff2");
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("./fonts/outfit-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("./fonts/outfit-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("./fonts/outfit-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}

:root {
  --ink: #14211d;
  --ink-soft: #3c4a45;
  --muted: #6b7772;
  --paper: #f7f4ee;
  --paper-2: #efeae0;
  --line: #ddd6c9;
  --brand: #0f3d33;
  --brand-2: #14554567;
  --accent: #b4552d;
  --radius: 14px;
  --wrap: 1120px;
  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
img { max-width: 100%; display: block; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 760px; }
.muted { color: var(--muted); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--brand); color: #fff; padding: .7rem 1rem;
}
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 68px; }
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1.05; margin-right: auto; }
.brand-mark { font-family: var(--serif); font-size: 1.45rem; letter-spacing: .02em; color: var(--brand); }
.amp { color: var(--accent); }
.brand-sub { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: .25rem; }

.nav { display: flex; gap: 1.4rem; }
.nav a {
  text-decoration: none; font-size: .9rem; color: var(--ink-soft);
  padding: .35rem 0; border-bottom: 1px solid transparent;
}
.nav a:hover, .nav a:focus-visible { color: var(--brand); border-bottom-color: var(--brand); }

.header-actions { display: flex; align-items: center; gap: 1rem; }
.lang { display: flex; gap: .1rem; border: 1px solid var(--line); border-radius: 999px; padding: .15rem; }
.lang a {
  font-size: .72rem; text-decoration: none; color: var(--muted);
  padding: .25rem .5rem; border-radius: 999px; letter-spacing: .02em;
}
.lang a:hover, .lang a:focus-visible { color: var(--brand); }
.lang a[aria-current="page"] { background: var(--brand); color: #fff; }
.lang-short { display: none; }

.btn {
  display: inline-block; background: var(--brand); color: #fff;
  text-decoration: none; border: 1px solid var(--brand);
  padding: .8rem 1.35rem; border-radius: 999px;
  font-family: var(--sans); font-weight: 500; font-size: .95rem;
  cursor: pointer; transition: background .15s ease, transform .15s ease;
}
.btn:hover { background: #0b2f27; }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--brand); }
.btn-ghost:hover { background: var(--brand-2); }
.btn-sm { padding: .55rem 1rem; font-size: .85rem; }

.nav-toggle, .nav-toggle-label { display: none; }

/* ---------- hero ---------- */
.hero { padding: clamp(3rem, 8vw, 6rem) 0 clamp(2rem, 5vw, 3.5rem); }
.eyebrow {
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 1.2rem;
}
.hero h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.4rem, 6.2vw, 4.4rem);
  line-height: 1.05; letter-spacing: -.01em; margin: 0;
  max-width: 16ch;
}
.hero h1 em { font-style: italic; color: var(--accent); }
.lede { font-size: clamp(1.05rem, 1.8vw, 1.25rem); color: var(--ink-soft); max-width: 56ch; margin: 1.4rem 0 2rem; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.badge {
  display: inline-block; margin-top: 1.6rem; font-size: .78rem;
  color: var(--brand); background: #e4ede8; border: 1px solid #cfdfd6;
  padding: .35rem .75rem; border-radius: 999px;
}

/* ---------- trust ---------- */
.trust { border-block: 1px solid var(--line); background: var(--paper-2); }
.trust ul {
  list-style: none; margin: 0; padding: 1rem 0;
  display: flex; flex-wrap: wrap; gap: .6rem 2.2rem; font-size: .88rem; color: var(--ink-soft);
}
.trust li::before {
  content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent); margin-right: .55rem; vertical-align: middle;
}

/* ---------- sections ---------- */
.section { padding: clamp(3rem, 6vw, 5rem) 0; }
.section-alt { background: var(--paper-2); }
.section-head { max-width: 60ch; margin-bottom: 2.5rem; }
.section-head h2, .contact-grid h2 {
  font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.15; margin: 0 0 .9rem;
}
.section-head p { color: var(--ink-soft); margin: 0; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.card {
  background: #fffdf8; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; display: flex; flex-direction: column; gap: .5rem;
}
.card h3 { font-family: var(--serif); font-weight: 400; font-size: 1.45rem; margin: .2rem 0 .2rem; }
.card p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.card ul { margin: .8rem 0 0; padding: 0; list-style: none; font-size: .88rem; color: var(--muted); }
.card li { padding-left: 1rem; position: relative; margin-top: .35rem; }
.card li::before { content: ""; position: absolute; left: 0; top: .62em; width: 5px; height: 5px; background: var(--accent); border-radius: 50%; }
.kicker { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin: 0; }
.kicker span { color: var(--muted); letter-spacing: .06em; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1.2rem; counter-reset: step; }
.steps li { border-top: 2px solid var(--brand); padding-top: 1rem; }
.step-n { font-family: var(--serif); font-size: .95rem; color: var(--accent); }
.steps h3 { font-size: 1.05rem; margin: .4rem 0 .3rem; font-weight: 500; }
.steps p { margin: 0; color: var(--muted); font-size: .9rem; }

.cities { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.cities li {
  border: 1px solid var(--line); border-radius: 999px; padding: .4rem .9rem;
  font-size: .9rem; background: #fffdf8;
}
.note { color: var(--muted); font-size: .88rem; margin: 0; }

.facts { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 2rem; }
.facts div { border-top: 1px solid var(--line); padding-top: .7rem; }
.facts dt { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: .3rem 0 0; font-size: 1rem; }

details {
  border-bottom: 1px solid var(--line); padding: .2rem 0;
}
summary {
  cursor: pointer; padding: .9rem 0; font-weight: 500; list-style: none;
  display: flex; justify-content: space-between; gap: 1rem;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-size: 1.2rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin: 0 0 1rem; color: var(--ink-soft); }

/* ---------- contact ---------- */
.section-contact { background: var(--brand); color: #f4f1e8; }
.section-contact .muted, .section-contact .kicker { color: #b9c9c2; }
.contact-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 3rem; }
.lede-sm { color: #d9e2dd; margin: .2rem 0 1.6rem; }
.form { display: flex; flex-direction: column; gap: 1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field label { font-size: .82rem; letter-spacing: .04em; color: #d9e2dd; }
.field input, .field textarea {
  font: inherit; color: var(--ink); background: #fbf9f4;
  border: 1px solid transparent; border-radius: 10px; padding: .7rem .8rem;
}
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.field-check { flex-direction: row; align-items: flex-start; gap: .6rem; }
.field-check input { width: 1.05rem; height: 1.05rem; margin-top: .25rem; accent-color: var(--accent); }
.field-check label { font-size: .82rem; line-height: 1.5; }
.field-check a { color: #fff; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.section-contact .btn { background: var(--accent); border-color: var(--accent); align-self: flex-start; }
.section-contact .btn:hover { background: #9c4524; }
.form-status { min-height: 1.2em; font-size: .85rem; margin: 0; color: #ffe6d6; }
.contact-aside { border-left: 1px solid #2a5a4d; padding-left: 2rem; }
.mail { display: block; color: #fff; font-size: clamp(1.1rem, 2vw, 1.5rem); text-decoration: none; border-bottom: 1px solid #4d7a6d; padding-bottom: .35rem; margin: .6rem 0 1.2rem; word-break: break-all; }
.mail:hover { border-color: var(--accent); }

/* ---------- principle ---------- */
.principle { background: var(--brand); color: #f4f1e8; }
.principle .kicker { color: #b9c9c2; }
.principle h2 {
  font-family: var(--serif); font-weight: 400; color: #fff;
  font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.1; margin: .6rem 0 1.4rem;
}
.principle p { color: #d9e2dd; font-size: 1.02rem; margin: 0 0 1rem; }
.section-head .kicker { margin-bottom: .7rem; }
#stage .note { margin-top: 1.6rem; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 2.2rem 0; background: var(--paper); }
.footer-inner { display: flex; justify-content: space-between; gap: 2rem; align-items: flex-start; }
.footer-brand { font-family: var(--serif); font-size: 1.2rem; margin: 0 0 .3rem; }
.footer-inner p { margin: 0; font-size: .85rem; }
.footer-links { display: flex; flex-direction: column; gap: .4rem; text-align: right; font-size: .88rem; }

/* ---------- privacy ---------- */
.crumb { margin: 0 0 1.5rem; font-size: .85rem; }
.crumb a { text-decoration: none; color: var(--muted); }
.page-title { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 .6rem; }
.section h2 { font-size: 1.15rem; margin: 2rem 0 .4rem; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-aside { border-left: 0; padding-left: 0; border-top: 1px solid #2a5a4d; padding-top: 1.5rem; }
}
@media (max-width: 760px) {
  .header-inner { gap: .5rem; min-height: 60px; }
  .brand-sub { display: none; }
  .brand-mark { font-size: 1.3rem; }
  .lang-full { display: none; }
  .lang-short { display: inline; }
  .lang a { padding: .22rem .38rem; font-size: .7rem; }
  .nav-toggle-label {
    display: inline-flex; align-items: center; gap: .4rem;
    font-size: .85rem; color: var(--ink-soft); cursor: pointer;
    border: 1px solid var(--line); border-radius: 999px; padding: .35rem .7rem;
  }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; padding: 1rem 1.25rem; gap: .8rem; }
  .nav-toggle:checked ~ .nav { display: flex; }
  .header-actions { gap: .5rem; }
  .header-actions .btn { display: none; }
  .lang a { padding: .2rem .35rem; font-size: .68rem; }
  .facts { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
  .footer-links { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
