/* ==========================================================================
   Forme Grafiche — stile condiviso (landing + modulo d'ordine)
   Colori da brief: sfondo #efebe9 · secondario/titoli #684d3b · testo nero.
   Per cambiare i colori modifica solo le variabili qui sotto.
   ========================================================================== */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/Bricolage.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("../fonts/DMSans.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --fg-bg: #efebe9;
  --fg-brown: #684d3b;
  --fg-brown-dark: #523c2e;
  --fg-brown-50: #f7f2ef;
  --fg-brown-100: #ece2db;
  --fg-brown-200: #dccbbf;
  --fg-ink: #000;
  --fg-muted: #5b4d44;
  --fg-surface: #ffffff;
  --fg-error: #b3261e;
  --fg-focus: #684d3b;

  --fg-font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fg-font-display: "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;

  --fg-radius: 24px;
  --fg-radius-sm: 14px;
  --fg-shadow: 0 1px 2px rgba(104, 77, 59, 0.06), 0 20px 44px -22px rgba(104, 77, 59, 0.28);
  --fg-shadow-sm: 0 1px 2px rgba(104, 77, 59, 0.08), 0 6px 16px -8px rgba(104, 77, 59, 0.25);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--fg-bg);
  color: var(--fg-ink);
  font-family: var(--fg-font);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--fg-brown); text-underline-offset: 0.2em; }
a:hover { color: var(--fg-brown-dark); }

:focus-visible { outline: 3px solid var(--fg-focus); outline-offset: 3px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Pulsanti ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: 0.8rem 1.6rem;
  border: 1.5px solid var(--fg-brown-200);
  border-radius: 999px;
  background: var(--fg-surface);
  color: var(--fg-brown);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s, box-shadow .15s, transform .15s, border-color .15s;
}
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
.btn:hover { border-color: var(--fg-brown); color: var(--fg-brown-dark); }
.btn--primary {
  background: var(--fg-brown);
  border-color: var(--fg-brown);
  color: #fff;
  box-shadow: 0 10px 22px -10px rgba(104, 77, 59, 0.7);
}
.btn--primary:hover { background: var(--fg-brown-dark); border-color: var(--fg-brown-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 14px 26px -10px rgba(104, 77, 59, 0.75); }
.btn--primary:active { transform: translateY(0); }
.btn[aria-disabled="true"] { opacity: 0.6; cursor: progress; transform: none; }

/* ==========================================================================
   LANDING
   ========================================================================== */
.landing {
  width: min(100% - 2rem, 560px);
  margin: clamp(1.25rem, 7vh, 4.5rem) auto 0;
  padding: clamp(2.5rem, 8vw, 3.75rem) clamp(1.25rem, 6vw, 3rem) clamp(1.5rem, 5vw, 2.25rem);
  background: var(--fg-surface);
  border-radius: 32px;
  box-shadow: var(--fg-shadow);
  text-align: center;
}
.landing__logo { margin: 0; }
.landing__logo img { width: min(100%, 330px); margin-inline: auto; }

.landing__actions {
  list-style: none;
  margin: clamp(2.25rem, 7vw, 3rem) 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.landing__actions .btn--primary {
  width: 100%;
  min-height: 62px;
  font-size: 1.08rem;
  letter-spacing: 0.06em;
}

.contacts { margin-top: clamp(1.75rem, 6vw, 2.5rem); }
.contacts h2 {
  margin: 0 0 1rem;
  font-family: var(--fg-font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--fg-brown);
}
.contacts ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.contact {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.7rem 1rem 0.7rem 0.7rem;
  border-radius: 18px;
  background: var(--fg-brown-50);
  color: var(--fg-ink);
  text-decoration: none;
  text-align: left;
  transition: background-color .15s;
}
.contact:hover { background: var(--fg-brown-100); color: var(--fg-ink); }
.contact__icon {
  display: grid; place-items: center;
  width: 44px; height: 44px; flex: none;
  border-radius: 14px;
  background: var(--fg-surface);
  color: var(--fg-brown);
  box-shadow: var(--fg-shadow-sm);
}
.contact__icon svg { width: 22px; height: 22px; }
.contact__text { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.contact__label { font-size: 0.78rem; font-weight: 600; color: var(--fg-brown); }
.contact__value { font-weight: 500; overflow-wrap: anywhere; }
.contact__arrow { margin-left: auto; color: var(--fg-brown); opacity: 0.6; width: 18px; height: 18px; flex: none; }

.site-footer {
  width: min(100% - 2rem, 560px);
  margin: 1.5rem auto 0;
  padding-bottom: 2.5rem;
  text-align: center;
  font-size: 0.75rem;
  line-height: 1.7;
  color: var(--fg-muted);
}
.site-footer p { margin: 0; }
.site-footer a { color: var(--fg-muted); }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

.btn--secondary {
  width: 100%;
  min-height: 56px;
  background: var(--fg-brown-50);
  border-color: transparent;
}
.btn--secondary:hover { background: var(--fg-brown-100); border-color: transparent; }

.contact__value { overflow-wrap: normal; }
@media (max-width: 420px) {
  .landing { padding-inline: 1rem; }
  .contact { gap: 0.7rem; padding-right: 0.75rem; }
  .contact__value { font-size: 0.92rem; }
  .contact__arrow { display: none; }
}
@media (max-width: 420px) {
  .landing__actions .btn--primary { font-size: 0.98rem; letter-spacing: 0.04em; padding-inline: 1rem; white-space: nowrap; }
}
