/* BraccoBrand — stile delle pagine dedicate (stufe, pavimenti, bagno, porte, minipiscine, showroom...).
   Stessi colori, caratteri e tono della home. Generato insieme alle pagine da strumenti/genera-pagine.py */
@font-face {
  font-family: "Bracco Display";
  src: url("../fonts/bracco-display-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bracco Display";
  src: url("../fonts/bracco-display-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bracco Display";
  src: url("../fonts/bracco-display-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Bracco Serif";
  src: url("../fonts/bracco-serif-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bracco Sans";
  src: url("../fonts/bracco-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bracco Sans";
  src: url("../fonts/bracco-sans-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bracco Sans";
  src: url("../fonts/bracco-sans-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-400-500.woff2") format("woff2");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #ffffff; --cream: #f7f4ee; --label: #1d1d1f; --label-2: #5c5c62; --sep: #e2ded6;
  --green: #83be40; --green-text: #467a17; --green-soft: #eef6e4; --ink: #1d1d1f; --charcoal: #343434;
  --dark: #111111; --dark-2: #1c1c1e;
  --font-display: "Bracco Display", "Bodoni 72", Didot, serif;
  --font-serif: "Cormorant Garamond", "Bracco Serif", Didot, Georgia, serif;
  --font-text: "Bracco Sans", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --max: 1180px; --text: 720px; --r: 18px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--label); font-family: var(--font-text); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-text); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.wrap--text { width: min(var(--text), 100% - 32px); margin-inline: auto; }

/* Intestazione verde, come la home */
.top { position: sticky; top: 0; z-index: 20; background: var(--green); color: var(--ink); }
.top__bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 72px; width: min(1440px, 100% - 32px); margin-inline: auto; }
.top__brand img { width: 56px; height: 56px; }
.top__menu { justify-self: start; position: relative; }
.top__menu summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; min-height: 44px; }
.top__menu summary::-webkit-details-marker { display: none; }
.top__menu summary i { display: grid; gap: 6px; width: 34px; }
.top__menu summary i::before, .top__menu summary i::after { content: ""; height: 1.5px; background: currentColor; }
.top__menu ul { position: absolute; left: 0; top: 56px; margin: 0; padding: 14px 0; list-style: none; background: #fff; border-radius: 14px; box-shadow: 0 12px 40px rgba(0,0,0,.16); min-width: 270px; }
.top__menu li a { display: block; padding: 10px 22px; color: var(--label); text-decoration: none; font-size: 15px; }
.top__menu li a:hover, .top__menu li a[aria-current] { color: var(--green-text); background: var(--green-soft); }
.top__cta { justify-self: end; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 980px; background: var(--ink); color: #fff; text-decoration: none; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.top__cta svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }

/* Briciole */
.crumbs { font-size: 13px; color: var(--label-2); padding: 18px 0 0; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: #aaa; }
.crumbs a { color: var(--label-2); text-decoration: none; }
.crumbs a:hover { color: var(--green-text); }

/* Apertura */
.intro { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding: 40px 0 72px; }
.kick { font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--green-text); margin: 0 0 18px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.05; letter-spacing: -.01em; margin: 0; }
h1 { font-size: clamp(40px, 6vw, 76px); }
h1 em, h2 em { font-style: italic; }
h2 { font-size: clamp(32px, 4.2vw, 52px); margin-bottom: 20px; }
h3 { font-size: 26px; margin-bottom: 8px; }
.lead { font-family: var(--font-serif); font-size: clamp(20px, 2.1vw, 24px); line-height: 1.45; color: var(--label); margin: 24px 0 28px; }
.intro__pic { border-radius: var(--r); overflow: hidden; background: var(--cream); aspect-ratio: 4 / 5; }
.intro__pic img { width: 100%; height: 100%; object-fit: cover; }
.intro__pic--wide { aspect-ratio: 5 / 4; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 980px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }
.btn--wa { background: var(--green); color: var(--ink); box-shadow: 0 10px 30px rgba(131,190,64,.35); }
.btn--wa:hover { background: #92c955; }
.btn--line { border: 1px solid currentColor; color: var(--label); }
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.note { font-size: 14px; color: var(--label-2); margin-top: 14px; }

/* Sezioni */
.sec { padding: 72px 0; }
.sec--cream { background: var(--cream); }
.sec--dark { background: var(--dark); color: #f5f5f7; }
.sec--dark a { color: #9ccf5f; }
.sec--dark .lead { color: #d2d2d7; }
.sec--dark .btn--wa, .btn--wa { color: var(--ink); }
.sec--dark .btn--line { color: #f5f5f7; }
.prose p, .prose li { font-family: var(--font-serif); font-size: 21px; line-height: 1.55; }
.prose h2 { margin-top: 8px; }
.prose ul { padding-left: 22px; }
.prose strong { font-weight: 500; }

/* Schede prodotto */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; margin-top: 36px; }
.card { background: #fff; border-radius: var(--r); overflow: hidden; border: 1px solid var(--sep); display: flex; flex-direction: column; }
.sec--dark .card { background: var(--dark-2); border-color: #2c2c2e; }
.card__pic { aspect-ratio: 4 / 5; background: var(--cream); overflow: hidden; }
.card__pic--land { aspect-ratio: 4 / 3; }
.card__pic img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card__brand { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--green-text); }
.sec--dark .card__brand { color: #9ccf5f; }
.card__body p { margin: 0; font-size: 15px; color: var(--label-2); }
.sec--dark .card__body p { color: #a1a1a6; }
.card__specs { margin: 8px 0 0; padding: 0; list-style: none; font-size: 14px; }
.card__specs li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-top: 1px solid var(--sep); }
.card__specs li span:last-child { text-align: right; }
.sec--dark .card__specs li { border-color: #2c2c2e; }
.card__link { margin-top: auto; padding-top: 12px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }

/* Passi */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; margin: 36px 0 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; border-top: 1px solid var(--sep); padding-top: 18px; }
.sec--dark .steps li { border-color: #38383a; }
.steps li::before { content: "0" counter(s); display: block; font-family: var(--font-display); font-size: 44px; color: var(--green); line-height: 1; margin-bottom: 10px; }
.steps strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 24px; margin-bottom: 4px; }
.steps span { font-family: var(--font-serif); font-size: 19px; }

/* Brand */
.brands { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; }
.brands li { border: 1px solid var(--sep); border-radius: 980px; padding: 8px 18px; font-size: 14px; }

/* Domande frequenti */
.faq { margin-top: 28px; border-top: 1px solid var(--sep); }
.faq details { border-bottom: 1px solid var(--sep); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; position: relative; font-family: var(--font-display); font-size: 23px; line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-family: var(--font-text); font-size: 26px; color: var(--green-text); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 22px; font-family: var(--font-serif); font-size: 20px; line-height: 1.5; }

/* Collegamenti tra pagine */
.related { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-top: 28px; padding: 0; list-style: none; }
.related a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 18px 20px; border-radius: 14px; background: #fff; border: 1px solid var(--sep); color: var(--label); text-decoration: none; font-size: 15px; }
.related a::after { content: "→"; color: var(--green-text); }
.related a:hover { border-color: var(--green); }

/* Invito finale */
.final { text-align: center; }
.final .lead { margin-inline: auto; max-width: 640px; }
.final .btns { justify-content: center; }
.final .btn--line { color: #f5f5f7; }

/* Biglietto da visita */
.nap { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; margin-top: 28px; }
.nap > div { background: #fff; border: 1px solid var(--sep); border-radius: var(--r); padding: 22px; }
.nap small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--label-2); margin-bottom: 6px; }
.nap p { margin: 0; font-family: var(--font-serif); font-size: 21px; line-height: 1.4; }
.hours { width: 100%; border-collapse: collapse; font-family: var(--font-serif); font-size: 20px; }
.hours th, .hours td { text-align: left; padding: 6px 0; border-bottom: 1px solid var(--sep); font-weight: 400; }

/* Piè di pagina scuro */
.foot { background: var(--dark); color: #d2d2d7; padding: 56px 0 28px; font-size: 14px; }
.foot__cols { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1fr; gap: 32px; }
.foot__logo { width: 150px; }
.foot h4 { margin: 0 0 14px; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #fff; }
.foot ul { margin: 0; padding: 0; list-style: none; }
.foot li { padding: 4px 0; }
.foot a { color: #d2d2d7; text-decoration: none; }
.foot a:hover { color: #9ccf5f; }
.foot__phone { font-family: var(--font-serif); font-size: 24px; color: #fff !important; }
.foot__legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid #2c2c2e; font-size: 12px; color: #8e8e93; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.foot__legal a { color: #8e8e93; text-decoration: underline; }

/* Pulsante WhatsApp fisso su telefono */
.wa-fix { display: none; }

@media (max-width: 860px) {
  body { font-size: 16px; }
  .top__bar { height: 64px; }
  .top__brand img { width: 46px; height: 46px; }
  .top__menu summary span { display: none; }
  .top__cta span { display: none; }
  .top__cta { padding: 0 14px; }
  .intro { grid-template-columns: 1fr; gap: 28px; padding: 24px 0 48px; }
  .intro__pic { order: -1; aspect-ratio: 4 / 3; }
  .sec { padding: 52px 0; }
  .prose p, .prose li { font-size: 19px; }
  .foot__cols { grid-template-columns: 1fr 1fr; }
  .foot { padding-bottom: 96px; }
  .wa-fix { display: flex; position: fixed; left: 16px; right: 16px; bottom: 14px; z-index: 30; }
  .wa-fix .btn { width: 100%; }
}
@media (max-width: 520px) {
  .foot__cols { grid-template-columns: 1fr; }
  .btns .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
