/* Pato · sito vetrina. Solo i due colori del marchio: marrone e avorio. */
:root {
  --marrone: #4B3426;
  --avorio: #F4EDE0;
  --carta: #FBF8F2;
  --testo: #4B3426;
  --testo-2: rgba(75, 52, 38, .72);
  --linea: rgba(75, 52, 38, .14);
  --serif: "Bodoni Moda", "Didot", Georgia, serif;
  --sans: "Jost", "Futura", system-ui, sans-serif;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body {
  margin: 0;
  background: var(--carta);
  color: var(--testo);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* Bodoni con l'ottica "piccola" (opsz basso): tratti sottili più spessi, si legge meglio. */
h1, h2, h3 { font-family: var(--serif); font-weight: 600; font-variation-settings: "opsz" 11; line-height: 1.1; margin: 0; letter-spacing: 0; }
h1 { font-size: clamp(42px, 6.4vw, 78px); }
h2 { font-size: clamp(34px, 4.6vw, 56px); }
h3 { font-size: 25px; }
h1 em, h2 em { font-style: normal; font-weight: 500; color: var(--testo-2); }

.kicker {
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--testo-2);
}
.kicker-light { color: rgba(244, 237, 224, .7); }

/* Pulsanti */
.btn {
  display: inline-block;
  padding: 18px 30px;
  background: var(--marrone);
  color: var(--avorio);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -12px rgba(75, 52, 38, .6); }
.btn-small { padding: 11px 18px; font-size: 12px; }
.btn-light { background: var(--avorio); color: var(--marrone); }

/* Barra in alto */
.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(251, 248, 242, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--linea);
}
.top-in { display: flex; align-items: center; gap: 32px; height: 104px; }
.brand img { height: 84px; width: auto; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 15px; letter-spacing: .06em; color: var(--testo-2); }
.nav a:hover { color: var(--testo); }

/* Apertura */
.hero { padding: 72px 0 88px; }
.hero-in { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.lead { font-size: 20px; color: var(--testo-2); max-width: 34em; margin: 28px 0 36px; font-weight: 300; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.open-now { margin: 0; font-size: 15px; color: var(--testo-2); display: flex; align-items: center; gap: 10px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--linea); display: inline-block; box-shadow: inset 0 0 0 1.5px var(--testo-2); }
.dot-on { background: var(--marrone); box-shadow: 0 0 0 4px rgba(75, 52, 38, .15); }

/* La persiana: richiama le lamelle del logo */
.hero-art { position: relative; aspect-ratio: 4 / 5; background: var(--marrone); border-radius: 2px; overflow: hidden; }
.shutter { position: absolute; inset: 8% 10%; display: flex; flex-direction: column; gap: 3.2%; }
.shutter span { flex: 1; background: rgba(244, 237, 224, .1); border-top: 1px solid rgba(244, 237, 224, .18); transform-origin: top; animation: lamella 1.4s cubic-bezier(.2, .7, .2, 1) both; }
.shutter span { animation-delay: calc(var(--i, 0) * 60ms); }
.hero-mark { position: absolute; width: 38%; right: 10%; bottom: 8%; opacity: .95; }
@keyframes lamella { from { transform: scaleY(.15); opacity: 0; } to { transform: scaleY(1); opacity: 1; } }

/* Tre motivi */
.why { border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea); background: var(--avorio); }
.why-in { display: grid; grid-template-columns: repeat(3, 1fr); }
.why-in > div { padding: 44px 32px; }
.why-in > div + div { border-left: 1px solid var(--linea); }
.why h3 { font-size: 24px; margin-bottom: 10px; }
.why p { margin: 0; color: var(--testo-2); font-size: 16px; }

/* Sezioni */
.section { padding: 110px 0; }
.section-alt { background: var(--avorio); }
.sec-head { margin-bottom: 52px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 32px; }
.card h3 { margin: 22px 0 8px; }
.card p { margin: 0; color: var(--testo-2); font-size: 16px; }

/* Riquadri provvisori al posto delle foto */
.ph {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 2px;
  overflow: hidden;
  background:
    repeating-linear-gradient(180deg, transparent 0 22px, rgba(75, 52, 38, .09) 22px 24px),
    var(--avorio);
  display: flex; align-items: flex-end;
}
.section-alt .ph { background: repeating-linear-gradient(180deg, transparent 0 22px, rgba(75, 52, 38, .09) 22px 24px), var(--carta); }
.ph span { margin: 14px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--testo-2); }
.ph-2, .ph-5, .ph-g2, .ph-g4 { background: repeating-linear-gradient(180deg, transparent 0 22px, rgba(244, 237, 224, .1) 22px 24px), var(--marrone); }
.ph-2 span, .ph-5 span, .ph-g2 span, .ph-g4 span { color: rgba(244, 237, 224, .7); }

/* Foto vere */
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(75, 52, 38, .55), transparent 45%); }
.hero-mark { z-index: 1; width: 22%; right: 7%; bottom: 6%; }
.card .photo, .card .ph { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; border-radius: 2px; background: var(--avorio); }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 300px; gap: 16px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; background: var(--carta); }
.gallery .wide { grid-column: span 2; }

/* Recensioni */
.sec-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.stars { color: var(--marrone); letter-spacing: .12em; font-size: 15px; }
.rating { display: flex; align-items: center; gap: 14px; text-decoration: none; padding: 14px 20px; border: 1px solid var(--linea); border-radius: 2px; }
.rating:hover { border-color: var(--testo-2); }
.rating-num { font-family: var(--serif); font-weight: 600; font-variation-settings: "opsz" 11; font-size: 44px; line-height: 1; }
.rating-side { display: flex; flex-direction: column; font-size: 14px; color: var(--testo-2); }
.reviews { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.review { margin: 0; padding: 32px; background: var(--avorio); border-radius: 2px; display: flex; flex-direction: column; gap: 16px; }
.review blockquote { margin: 0; font-size: 18px; line-height: 1.65; }
.review figcaption { margin-top: auto; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--testo-2); }

/* Domande frequenti */
.faq-in { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq details { border-top: 1px solid var(--linea); }
.faq details:last-child { border-bottom: 1px solid var(--linea); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font-family: var(--serif); font-weight: 600; font-variation-settings: "opsz" 11; font-size: 22px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--sans); font-weight: 300; font-size: 28px; transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0 0 22px; color: var(--testo-2); max-width: 36em; }

/* Showroom */
.visit { background: var(--marrone); color: var(--avorio); padding: 110px 0; }
.visit-in { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: stretch; }
.info { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; margin: 44px 0; }
.info dt { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: rgba(244, 237, 224, .6); margin-bottom: 6px; }
.info dd { margin: 0; font-size: 18px; }
.info a { text-decoration: none; border-bottom: 1px solid rgba(244, 237, 224, .35); }
.map { min-height: 420px; border-radius: 2px; overflow: hidden; }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; filter: sepia(.35) saturate(.8); }

/* Fondo pagina */
.foot { background: var(--marrone); color: var(--avorio); border-top: 1px solid rgba(244, 237, 224, .15); padding: 56px 0 64px; }
.foot-in { display: flex; flex-direction: column; align-items: center; text-align: center; }
.foot img { height: 64px; width: auto; }
.foot-nusco { margin: 18px 0 20px; font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: rgba(244, 237, 224, .75); }
.foot-legal { margin: 0; font-size: 13px; color: rgba(244, 237, 224, .55); line-height: 1.7; }

/* WhatsApp sempre visibile */
.wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 20;
  display: flex; align-items: center; gap: 10px;
  padding: 13px 20px 13px 16px;
  background: var(--marrone); color: var(--avorio);
  border: 1px solid rgba(244, 237, 224, .25);
  border-radius: 999px; text-decoration: none;
  font-size: 15px; letter-spacing: .04em;
  box-shadow: 0 14px 30px -12px rgba(75, 52, 38, .7);
}

/* Telefono e tablet */
@media (max-width: 900px) {
  .hero-in, .visit-in, .faq-in { grid-template-columns: 1fr; gap: 44px; }
  .faq-in { gap: 0; }
  .reviews { grid-template-columns: 1fr; }
  .hero-art { aspect-ratio: 16 / 10; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .why-in { grid-template-columns: 1fr; }
  .why-in > div + div { border-left: 0; border-top: 1px solid var(--linea); }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .wrap { padding: 0 16px; }
  .top-in { height: 64px; gap: 16px; }
  .brand img { height: 42px; }
  .nav { display: none; }
  .top .btn-small { margin-left: auto; }
  .hero { padding: 40px 0 56px; }
  .lead { font-size: 18px; }
  .hero-cta .btn { width: 100%; text-align: center; }
  .section, .visit { padding: 72px 0; }
  .grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 210px; gap: 10px; }
  .info { grid-template-columns: 1fr; }
  .visit .btn { width: 100%; text-align: center; }
  .wa span { display: none; }
  .wa { padding: 14px; }
}
@media (prefers-reduced-motion: reduce) { .shutter span { animation: none; } html { scroll-behavior: auto; } }
