/* ==========================================================================
   Tema "rivista di architettura" (variante B)
   Fondo crema, fasce color oliva, titoli in maiuscolo sottile, didascalie
   "Nome | categoria", etichette centrate tra due linee, pillole sulle foto.
   Si carica DOPO style.css e ne sovrascrive solo l'aspetto.
   ========================================================================== */
:root {
  --bianco: #F4F1E6;   /* crema, fondo pagina */
  --fascia: #ECE8DA;   /* crema più scuro */
  --oliva: #7E7A69;    /* fasce piene */
  --nero: #1E1D1A;
  --grigio: #5E5B52;
  --ottone: #5E5B52;
  --linea: #CFCABA;
  --serif: "Montserrat", "Helvetica Neue", Arial, sans-serif;  /* testi */
  --sans: "Jost", "Futura", "Helvetica Neue", Arial, sans-serif; /* titoli e interfaccia */
}
body { background: var(--bianco); font-family: var(--serif); font-weight: 300; font-size: 15px; }

/* titoli: maiuscolo sottile tipo Futura */
.title, .prow h3, .need h3, .aud h3, .step h3, .article h2, .work h3, .page-hero__title h1, .hero-title, .hero__title, .brandlist__main, .gteaser h3, .future h3, .card__name {
  font-family: var(--sans); font-weight: 300; text-transform: uppercase; letter-spacing: .06em; line-height: 1.2;
}
.title { font-size: clamp(24px, 2.6vw, 34px); }
.title em, .hero__title em { font-style: normal; }
.prow h3 { font-size: clamp(22px, 2.2vw, 28px); }
.need h3 { font-size: clamp(20px, 2vw, 26px); }
.aud h3, .step h3, .work h3, .card__name { font-size: 18px; }
.article h2 { font-size: 20px; }
.lead, .prose, .prow__lead, .need p { font-family: var(--serif); font-weight: 300; font-size: 16px; line-height: 1.75; }
.prose { text-align: justify; hyphens: auto; }
.overline { justify-content: flex-start; text-align: left; font-family: var(--sans); font-weight: 400; letter-spacing: .14em; }
/* l'etichetta segue l'allineamento del suo blocco: centrata solo dove anche il titolo è centrato */
.center .overline, .invite .overline, .overline.center, .racconto__txt .overline { justify-content: center; text-align: center; }
/* Paragrafi introduttivi centrati sotto il loro titolo */
.center .lead, .invite .lead { margin-left: auto; margin-right: auto; }
.rule { opacity: .5; background: var(--grigio); }
.muted { color: var(--grigio); }
.btn { border-radius: 999px; font-family: var(--sans); font-weight: 400; letter-spacing: .1em; }
.link { font-family: var(--sans); font-weight: 400; border-bottom-width: 1px; }
.link::after { content: none; }
.section--fascia { background: var(--fascia); }
.need { background: var(--fascia); }
.prow__facts dt, .compare tbody th, .need__for { color: var(--nero); font-family: var(--sans); font-weight: 500; }
.compare thead th { font-family: var(--sans); font-weight: 400; font-size: 15px; text-transform: uppercase; letter-spacing: .08em; }
.needs__list button { font-family: var(--sans); font-weight: 300; }
@media (min-width: 900px) { .needs__list button { font-size: 17px; text-transform: uppercase; letter-spacing: .06em; } .needs__list button[aria-selected="true"] { font-style: normal; font-weight: 500; } }
.pindex a { border-radius: 999px; background: transparent; font-family: var(--sans); }
.step__n { font-family: var(--sans); font-weight: 300; color: var(--grigio); }
.dl dd { font-family: var(--serif); font-weight: 300; font-size: 17px; }

/* testata: solo logo e menu a scomparsa, sempre */
.header, .home .header--over.is-scrolled { background: #F4F1E6; } /* pieno: le foto non traspaiono sotto la testata */
.header__in { grid-template-columns: 1fr auto 48px !important; }
.brand { justify-self: start !important; order: 0; }
.nav-toggle { display: grid !important; order: 2; grid-column: 3; }
.header__cta { grid-column: 2; justify-self: end; margin-right: 12px; border-radius: 999px; }
.brand__name span { letter-spacing: .3em; }
.nav { position: fixed !important; inset: 0 !important; z-index: -1; display: none !important; padding: calc(var(--header-h) + 48px) var(--gutter) 120px !important; background: var(--oliva) !important; color: #fff; overflow-y: auto; }
.nav.is-open { display: grid !important; place-items: center; }
.nav ul { display: block !important; text-align: center; }
.nav a { border: 0 !important; padding: 10px 0 !important; font-family: var(--sans) !important; font-weight: 300 !important; font-size: clamp(28px, 4vw, 44px) !important; letter-spacing: .08em !important; text-transform: uppercase !important; color: #fff; }
@media (hover: hover) and (pointer: fine) { .nav a:hover { opacity: .7; color: #fff; } }
.header:has(.nav.is-open) { background: var(--oliva) !important; color: #fff !important; }
.header:has(.nav.is-open) .brand__name span { color: rgba(255,255,255,.8) !important; }
.header:has(.nav.is-open) .header__cta { visibility: hidden; }
@media (max-width: 1023px) { .header__cta { display: none; } .header__in { grid-template-columns: 1fr 48px !important; } .nav-toggle { grid-column: 2; } }
@media (min-width: 1024px) { .pill { display: none !important; } body { padding-bottom: 0 !important; } }
/* sulla home la testata resta trasparente sopra l'apertura */
.home .header--over { color: #fff; }
.home .header--over .header__cta { background: transparent; border-color: rgba(255,255,255,.7); color: #fff; }

/* ---------- Apertura ---------- */
.au-hero { min-height: 100vh; min-height: 100svh; background: var(--oliva); color: #fff; display: grid; place-content: center; text-align: center; padding: 0 var(--gutter); position: relative; }
.au-hero h1 { font-family: var(--sans); font-weight: 300; font-size: clamp(30px, 5vw, 64px); letter-spacing: .06em; text-transform: uppercase; margin: 0; }
.au-hero p { font-family: var(--sans); font-weight: 300; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; margin: 16px 0 0; opacity: .85; }
.au-hero__down { position: absolute; left: 50%; bottom: calc(32px + var(--safe-b)); width: 1px; height: 48px; background: rgba(255,255,255,.7); }
@media (max-width: 1023px) { .au-hero__down { bottom: calc(100px + var(--safe-b)); } }

/* ---------- Fasce oliva ---------- */
.au-band { background: var(--oliva); color: #fff; padding: 72px 0 88px; }
.au-band .au-label h2 { color: #fff; }
.au-band .au-label { border-color: rgba(255,255,255,.35); }
.au-band .au-card__t, .au-band .au-card__d, .au-band .au-text { color: #fff; }
.au-intro { padding: 56px 0 88px; }
.au-intro p { max-width: 860px; margin: 0 auto; font-size: 15px; line-height: 1.7; }

/* ---------- Etichetta centrata con linea ---------- */
.au-label { max-width: var(--max); margin: 0 auto 56px; padding: 0 var(--gutter); }
.au-label h2 { font-family: var(--sans); font-weight: 300; font-size: 16px; letter-spacing: .1em; text-transform: uppercase; text-align: center; margin: 0; padding-bottom: 14px; border-bottom: 1px solid var(--linea); color: var(--nero); }
.au-band .au-label h2 { border-bottom-color: rgba(255,255,255,.35); }
.au-sec { padding: 88px 0 96px; }

/* ---------- Schede e didascalie ---------- */
.au-card { display: block; text-decoration: none; color: inherit; min-width: 0; }
.au-card__img { aspect-ratio: 4 / 3; overflow: hidden; }
.au-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
@media (hover: hover) and (pointer: fine) { .au-card:hover .au-card__img img { transform: scale(1.03); } }
.au-card__t { font-family: var(--serif); font-size: 13px; margin: 14px 0 6px; color: var(--grigio); }
.au-card__t b { font-weight: 600; color: var(--nero); }
.au-band .au-card__t b { color: #fff; }
.au-card__d { font-size: 13px; line-height: 1.7; color: var(--grigio); margin: 0; }
.au-grid3 { display: grid; gap: 40px 18px; }
@media (min-width: 760px) { .au-grid3 { grid-template-columns: repeat(3, 1fr); } .au-grid3 .au-card__img { aspect-ratio: 3 / 4; } }
.au-grid2 { display: grid; gap: 48px 28px; }
@media (min-width: 760px) { .au-grid2 { grid-template-columns: 1fr 1fr; } }
.au-text { font-size: 13px; line-height: 1.8; color: var(--grigio); text-align: justify; hyphens: auto; }
.au-text a { color: var(--nero); font-style: italic; }

/* ---------- In evidenza ---------- */
.au-feature { display: grid; gap: 28px; }
@media (min-width: 900px) { .au-feature { grid-template-columns: 1.15fr 1fr; gap: 28px; align-items: start; } }
.au-feature__main img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.au-feature__side .au-card__t { margin-top: 0; font-size: 14px; }
.au-feature__img2 { position: relative; display: block; margin-top: 24px; }
.au-feature__img2 img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------- Pillole ---------- */
.au-pill { display: inline-block; padding: 8px 26px; border-radius: 999px; background: rgba(255,255,255,.35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #fff; font-family: var(--sans); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; border: 1px solid rgba(255,255,255,.5); }
.au-feature__img2 .au-pill { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); }
.au-pill--dark { background: var(--oliva); border-color: var(--oliva); }

/* ---------- Marchi ---------- */
.au-brands { text-align: center; }
.au-brands__main { font-family: var(--sans); font-weight: 300; text-transform: uppercase; letter-spacing: .08em; font-size: clamp(20px, 2.4vw, 30px); line-height: 1.5; margin: 0 0 20px; }
.au-brands__more { font-family: var(--sans); font-weight: 300; font-size: 16px; line-height: 1.8; opacity: .85; max-width: 820px; margin: 0 auto 24px; }
.au-band .au-text { color: rgba(255,255,255,.85); }

/* piè di pagina oliva */
.footer { background: var(--oliva); color: #fff; border-top: 0; }
.footer h2, .footer__legal { color: rgba(255,255,255,.75); }
.footer__legal { border-top-color: rgba(255,255,255,.25); }
.footer .brand__name span { color: rgba(255,255,255,.8); }
.footer .todo { color: #fff; border-color: #fff; }

/* segnaposto in tono */
.ph { background: linear-gradient(160deg, #E4DFCF 0%, #D6D0BD 60%, #C6BFA9 100%); }
.ph--dark { background: linear-gradient(160deg, #8E8A78 0%, #6E6A5B 100%); }

/* ---------- Tempotest Specialist: riquadro compatto ---------- */
.ts-box { display: flex; gap: 18px; align-items: center; margin: 22px 0 22px; padding: 16px 18px; border: 1px solid var(--linea); background: var(--bianco); }
.section--fascia .ts-box { background: var(--bianco); }
.ts-box p { margin: 0; font-size: 14px; line-height: 1.65; color: var(--grigio); }
.ts-box p b { display: block; color: var(--nero); font-family: var(--sans); font-weight: 500; text-transform: uppercase; letter-spacing: .06em; font-size: 13px; margin-bottom: 4px; }
.ts-box--scheda { max-width: 760px; margin: 28px 0 8px; }
.ts-seal { flex: none; width: 84px; height: 84px; border-radius: 50%; border: 1px solid var(--nero); outline: 1px solid var(--nero); outline-offset: -5px; display: grid; place-content: center; text-align: center; font-family: var(--sans); text-transform: uppercase; color: var(--nero); }
.ts-seal span { font-weight: 300; font-size: 7.5px; letter-spacing: .2em; }
.ts-seal b { font-weight: 500; font-size: 10px; letter-spacing: .08em; margin: 3px 0; }
.ts-seal small { font-weight: 300; font-size: 6.5px; letter-spacing: .25em; color: var(--grigio); }

/* ---------- Casa 2026: tendenze ---------- */
.trend { display: grid; gap: 1px; background: var(--linea); border: 1px solid var(--linea); }
@media (min-width: 760px) { .trend { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .trend { grid-template-columns: repeat(4, 1fr); } }
.trend__i { display: block; padding: 28px 24px 32px; background: var(--bianco); color: inherit; text-decoration: none; transition: background .3s; }
@media (hover: hover) and (pointer: fine) { .trend__i:hover { background: var(--fascia); } }
.trend__i h3 { font-family: var(--sans); font-weight: 400; text-transform: uppercase; letter-spacing: .08em; font-size: 15px; margin: 0 0 10px; color: var(--nero); }
.trend__i h3::before { content: ""; display: block; width: 28px; height: 1px; background: var(--bronzo); margin-bottom: 16px; }
.trend__i p { margin: 0; font-size: 14px; line-height: 1.7; color: var(--grigio); }

/* ---------- Accento bronzo (tendenza 2026), solo nei dettagli ---------- */
:root { --bronzo: #7E5F3D; }
.rule { background: var(--bronzo); opacity: .7; }
.overline { color: var(--bronzo); }
.au-band .overline { color: inherit; }
.link { border-bottom-color: var(--bronzo); }
.ts-seal { border-color: var(--bronzo); outline-color: var(--bronzo); }

/* ---------- Home snella: apertura corta ---------- */
.au-hero--short { min-height: 72vh; min-height: 72svh; }
.au-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 32px; }
.au-hero .au-pill { padding: 12px 26px; }
.au-pill--light { background: #fff; color: var(--nero); border-color: #fff; }

/* ---------- Vetrina prodotti: ogni prodotto si presenta da solo ---------- */
.showcase { padding-top: 64px; }
.showcase .au-label { margin-bottom: 36px; }
.showcase__k { font-family: var(--sans); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--bronzo); margin: 0 0 14px; }
.ptgrid { display: grid; gap: 12px; margin-bottom: 44px; }
.pt { position: relative; display: block; overflow: hidden; color: #fff; text-decoration: none; aspect-ratio: 4 / 5; background: var(--oliva); }
.pt > img, .pt > .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.pt > .ph span { top: 18px; bottom: auto; }
.pt::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,19,16,0) 52%, rgba(20,19,16,.42) 74%, rgba(20,19,16,.78) 100%); pointer-events: none; }
.pt__txt { text-shadow: 0 1px 12px rgba(20,19,16,.45); }
@media (hover: hover) and (pointer: fine) { .pt:hover > img, .pt:hover > .ph { transform: scale(1.04); } }
.pt__txt { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 22px 22px 24px; }
.pt h3 { font-family: var(--sans); font-weight: 300; text-transform: uppercase; letter-spacing: .07em; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.15; margin: 0 0 8px; color: #fff; }
.pt p { margin: 0 0 14px; font-size: 14px; line-height: 1.55; color: rgba(255,255,255,.9); max-width: 30em; }
.pt__go { display: inline-block; font-family: var(--sans); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; padding: 8px 20px; border: 1px solid rgba(255,255,255,.7); border-radius: 999px; transition: background .2s, color .2s; }
.pt:focus-visible .pt__go { background: #fff; color: var(--nero); }
@media (hover: hover) and (pointer: fine) { .pt:hover .pt__go { background: #fff; color: var(--nero); } }
@media (max-width: 759px) { .pt { aspect-ratio: 4 / 5; } .pt--hero { aspect-ratio: 3 / 4; } }
/* Tablet: due colonne regolari, così le foto restano grandi e centrate */
@media (min-width: 600px) and (max-width: 1023px) {
  .ptgrid--in, .ptgrid--out { grid-template-columns: 1fr 1fr; gap: 16px; }
  .ptgrid--in .pt, .ptgrid--out .pt { aspect-ratio: 4 / 5; }
  .ptgrid--in .pt--hero { grid-column: span 2; aspect-ratio: 16 / 10; }
}
@media (min-width: 1024px) {
  .ptgrid--in { grid-template-columns: repeat(6, 1fr); gap: 16px; }
  .ptgrid--in .pt { grid-column: span 2; aspect-ratio: 3 / 4; }
  .ptgrid--in .pt--hero { grid-column: span 4; aspect-ratio: auto; min-height: 0; } /* stessa altezza della scheda accanto */
  .ptgrid--in .pt:nth-child(2) { grid-column: span 2; }
  .ptgrid--out { grid-template-columns: 1fr 1fr; gap: 16px; }
  .ptgrid--out .pt { aspect-ratio: 4 / 3; }
}
.pmini { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--linea); border: 1px solid var(--linea); margin-top: 18px; }
@media (min-width: 900px) { .pmini { grid-template-columns: repeat(4, 1fr); } }
.pmini a { display: block; padding: 18px 16px; background: var(--bianco); color: inherit; text-decoration: none; transition: background .2s; }
@media (hover: hover) and (pointer: fine) { .pmini a:hover { background: var(--fascia); } }
.pmini b { display: block; font-family: var(--sans); font-weight: 400; text-transform: uppercase; letter-spacing: .06em; font-size: 13px; color: var(--nero); margin-bottom: 4px; }
.pmini b::after { content: " →"; color: var(--bronzo); }
.pmini span { font-size: 12.5px; line-height: 1.5; color: var(--grigio); }
.showcase .credit { margin-top: 14px; }
.pmini--3 { margin-top: 0; }
@media (min-width: 900px) { .pmini--3 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 899px) { .pmini--3 { grid-template-columns: 1fr; } }

/* marchi: nomi cliccabili verso i siti dei produttori */
.au-brands a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.35); transition: border-color .2s, opacity .2s; }
.au-brands a:focus-visible { border-bottom-color: #fff; opacity: .85; }
@media (hover: hover) and (pointer: fine) { .au-brands a:hover { border-bottom-color: #fff; opacity: .85; } }

/* loghi ufficiali dei marchi nei riquadri */
.mt-logo { flex: none; width: 150px; display: grid; justify-items: center; gap: 8px; text-align: center; }
.mt-logo img { width: 140px; height: auto; }
.mt-logo span { font-family: var(--sans); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--grigio); }
@media (max-width: 559px) { .ts-box { flex-direction: column; align-items: flex-start; } .mt-logo { justify-items: start; text-align: left; } }

/* confronto Mottura */
.cmp-wrap { margin-top: 40px; overflow-x: auto; }
.compare--mt { min-width: 640px; }
.compare--mt thead th { font-family: var(--sans); font-weight: 400; text-transform: uppercase; letter-spacing: .08em; font-size: 15px; }
.compare--mt td { font-size: 14px; line-height: 1.6; padding-right: 18px; }
.compare--mt td:nth-child(2) { color: var(--nero); }
.compare--mt td:nth-child(3) { color: var(--grigio); }
@media (max-width: 699px) {
  .compare--mt { min-width: 0; }
  .compare--mt thead { display: none; }
  .compare--mt, .compare--mt tbody, .compare--mt tr, .compare--mt th, .compare--mt td { display: block; width: 100% !important; }
  .compare--mt tr { padding: 16px 0; border-bottom: 1px solid var(--linea); }
  .compare--mt th, .compare--mt td { border: 0; padding: 4px 0; }
  .compare--mt td:nth-child(2)::before { content: "Mottura · "; font-weight: 500; }
  .compare--mt td:nth-child(3)::before { content: "Tenda comune · "; font-weight: 500; }
}
@media (max-width: 559px) { .mt-logo { width: auto; } }
#mottura .overline, #certificazioni .overline { justify-content: flex-start; text-align: left; }

/* ---------- Modulo richiesta sopralluogo ---------- */
.rq { display: grid; gap: 40px; }
@media (min-width: 960px) { .rq { grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: start; } }
.rq__alt { font-size: 14px; color: var(--grigio); margin-top: 18px; }
.rq__alt a { color: var(--nero); }
.rq__form { display: grid; gap: 18px; background: var(--bianco); padding: 28px 22px; border: 1px solid var(--linea); }
@media (min-width: 600px) { .rq__form { padding: 36px 34px; } }
.rq__row { display: grid; gap: 18px; }
@media (min-width: 600px) { .rq__row { grid-template-columns: 1fr 1fr; } }
.rq__form label { display: grid; gap: 7px; font-family: var(--sans); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--nero); }
.rq__form label span { text-transform: none; letter-spacing: 0; color: var(--grigio); font-size: 12px; }
.rq__form input, .rq__form select, .rq__form textarea { font: 16px/1.4 var(--serif); font-weight: 400; color: var(--nero); background: #fff; border: 1px solid var(--linea); border-radius: 0; padding: 12px 12px; width: 100%; text-transform: none; letter-spacing: 0; -webkit-appearance: none; appearance: none; }
.rq__form select { background-image: linear-gradient(45deg, transparent 50%, var(--nero) 50%), linear-gradient(135deg, var(--nero) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
.rq__form input:focus, .rq__form select:focus, .rq__form textarea:focus { outline: 2px solid var(--bronzo); outline-offset: 1px; border-color: var(--bronzo); }
.rq__form input[type="file"] { padding: 10px; font-size: 14px; background: var(--fascia); }
.rq__check { display: flex !important; gap: 10px; align-items: flex-start; text-transform: none !important; letter-spacing: 0 !important; font-family: var(--serif) !important; font-size: 13.5px !important; line-height: 1.5; color: var(--grigio) !important; }
.rq__check input { width: 20px !important; height: 20px; flex: none; margin-top: 1px; -webkit-appearance: checkbox !important; appearance: checkbox !important; accent-color: var(--nero); }
.rq__check a { color: var(--nero); }
.rq__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rq__form .btn { justify-self: start; min-height: 50px; padding: 0 30px; cursor: pointer; }
.rq__form .btn[disabled] { opacity: .6; }
.rq__esito { margin: 0; padding: 12px 14px; background: #F6E7DF; border-left: 3px solid #A0522D; color: #5B2A12; font-size: 14px; }

/* pagine legali */
.legal__body h2 { font-family: var(--sans); font-weight: 400; text-transform: uppercase; letter-spacing: .08em; font-size: 15px; margin: 36px 0 10px; }
.legal__body p { font-size: 15px; line-height: 1.75; margin: 0 0 14px; }
.legal__body a { color: var(--nero); }
.legal__upd { color: var(--grigio); font-size: 13px !important; }

/* ---------- Prima e dopo ---------- */
.cases { display: grid; gap: 48px; margin-top: 36px; }
@media (min-width: 960px) { .cases { grid-template-columns: 1fr 1fr; gap: 40px; } }
.ba { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--fascia); touch-action: pan-y; user-select: none; }
.ba__img { position: absolute; inset: 0; }
.ba__img > img, .ba__img > .ph { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; }
.ba__img--dopo { clip-path: inset(0 0 0 var(--pos)); }
.ba__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.15); pointer-events: none; }
.ba__line::after { content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--nero); display: grid; place-items: center; font: 500 16px/1 var(--sans); letter-spacing: .1em; box-shadow: 0 2px 10px rgba(0,0,0,.2); }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.ba__range:focus-visible + * , .ba:focus-within .ba__line::after { outline: 2px solid var(--bronzo); }
.ba__tag { position: absolute; top: 12px; padding: 5px 12px; border-radius: 999px; background: rgba(20,19,16,.6); color: #fff; font: 400 11px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; pointer-events: none; }
.ba__tag--prima { left: 12px; } .ba__tag--dopo { right: 12px; }
.ba .ph span { top: auto; bottom: 14px; }
.case__txt { padding-top: 18px; }
.case__facts { margin: 14px 0 0; display: grid; gap: 10px; }
.case__facts div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; border-top: 1px solid var(--linea); padding-top: 10px; }
.case__facts dt { font-family: var(--sans); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--bronzo); }
.case__facts dd { margin: 0; font-size: 14px; line-height: 1.6; }
.rq__l small { font-size: 11px; text-transform: none; letter-spacing: 0; color: var(--grigio); }
.rq__form label > span.rq__l { color: var(--nero); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
#richiesta .overline { justify-content: flex-start; text-align: left; }
.ba__img--prima .ph span { left: 14px; right: 50%; }
.ba__img--dopo .ph span { left: 50%; right: 14px; text-align: right; }

/* ---------- Domande frequenti ---------- */
.faq__list { margin-top: 28px; border-top: 1px solid var(--nero); max-width: 900px; }
.faq__i { border-bottom: 1px solid var(--linea); }
.faq__i summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative; font-family: var(--sans); font-weight: 400; font-size: 16px; letter-spacing: .02em; color: var(--nero); }
.faq__i summary::-webkit-details-marker { display: none; }
.faq__i summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font: 300 24px/1 var(--sans); color: var(--bronzo); transition: transform .2s; }
.faq__i[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__i p { margin: 0 0 20px; font-size: 15px; line-height: 1.75; color: var(--grigio); max-width: 46em; }
.faq .overline { justify-content: flex-start; text-align: left; }

/* foto vere al posto dei segnaposto */
.page-hero__img { display: block; width: 100%; height: 72vh; height: 72svh; min-height: 420px; object-fit: cover; }
.split__img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.work__img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.work__img--wide { aspect-ratio: 4 / 3; }
@media (min-width: 1024px) { .work--wide .work__img--wide { aspect-ratio: 16 / 10; height: auto; } }
.pmini--2 { margin-top: 0; }
@media (min-width: 600px) { .pmini--2 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) { .pmini--2 { grid-template-columns: 1fr; } }

@media (min-width: 760px) { .page-hero__img--perg { object-position: 50% 58% !important; } }

/* --- UX: scheda tecnica apribile, testata senza foto, altri prodotti, passi a scorrimento --- */
.specs-more { margin-top: 24px; border-top: 1px solid var(--nero); }
.specs-more > summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative; font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--nero); }
.specs-more > summary span { font-weight: 300; letter-spacing: .04em; text-transform: none; color: var(--grigio); }
.specs-more > summary::-webkit-details-marker { display: none; }
.specs-more > summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font: 300 24px/1 var(--sans); color: var(--bronzo); transition: transform .2s; }
.specs-more[open] > summary::after { transform: translateY(-50%) rotate(45deg); }
.specs-more .specs { margin-top: 0; }
.page-hero--testo { background: var(--nero); }
.page-hero--testo::before { display: none; }
.page-hero--testo .page-hero__title { position: relative; padding-top: 120px; padding-bottom: 48px; }
.altri .pmini { margin-top: 18px; }
.altri .link { display: inline-block; margin-top: 24px; }
.visit--solo { grid-template-columns: 1fr !important; max-width: 760px; }
@media (max-width: 899px) {
  .steps { grid-auto-flow: column; grid-auto-columns: 80%; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; border-top: 0; margin-top: 32px; padding-bottom: 8px; }
  .step { display: block; border: 1px solid var(--linea); padding: 20px; scroll-snap-align: start; }
  .step h3 { margin-top: 8px; }
}
@media (max-width: 899px) { .steps { margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); scroll-padding-left: 0; } }

/* Apertura divisa (foto verticale intera): sul computer testo a sinistra, foto a destra */
.page-hero__sub { display: none; }
@media (min-width: 900px) {
  .page-hero--split { display: grid; grid-template-columns: minmax(0, 1fr) auto; background: var(--oliva); }
  .page-hero--split::before { display: none; }
  .page-hero--split picture { order: 2; }
  .page-hero--split .page-hero__img { height: 78vh; height: 78svh; min-height: 520px; max-height: 860px; width: auto; aspect-ratio: 3 / 4; object-position: 50% 50% !important; }
  .page-hero--split .page-hero__title { position: static; order: 1; align-self: end; margin: 0; max-width: none; padding: 56px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))) 64px; }
  .page-hero--split .page-hero__title h1 { font-size: clamp(40px, 4.6vw, 72px); }
  .page-hero__sub { display: block; margin: 20px 0 0; max-width: 30em; font-size: 16px; line-height: 1.6; opacity: .9; }
}

/* Fascia "luce" in home: foto a tutta larghezza con una frase */
.luce { position: relative; margin: 0; background: var(--nero); overflow: hidden; }
.luce__img { display: block; width: 100%; height: 62vh; height: 62svh; min-height: 360px; max-height: 760px; object-fit: cover; opacity: .9; }
.luce__txt { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 48px var(--gutter, 20px) 40px; font-family: var(--sans); font-weight: 400; font-size: clamp(24px, 3.4vw, 44px); line-height: 1.2; color: #fff; text-wrap: balance; background: linear-gradient(to top, rgba(30,29,26,.72), rgba(30,29,26,0)); }
@media (min-width: 900px) { .luce__txt { padding-left: max(var(--gutter, 20px), calc((100vw - var(--max, 1200px)) / 2 + var(--gutter, 20px))); max-width: 30ch; box-sizing: content-box; background: none; } .luce::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, rgba(30,29,26,.6), rgba(30,29,26,0) 60%); pointer-events: none; } .luce__txt { z-index: 1; } }
video.card__img, video.work__img { display: block; background: var(--fascia); }

/* Ultima scheda dei caroselli: invito al sopralluogo */
.card--cta { display: flex; aspect-ratio: 4 / 5; background: var(--oliva); color: #fff; text-decoration: none; padding: 28px; box-sizing: border-box; transition: background .3s ease; }
.card--cta:focus-visible { background: var(--nero); }
@media (hover: hover) and (pointer: fine) { .card--cta:hover { background: var(--nero); } }
.card--cta__in { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; width: 100%; }
.card--cta__t { font-family: var(--sans); font-weight: 400; font-size: clamp(20px, 2vw, 26px); line-height: 1.25; text-wrap: balance; }
.card--cta__go { font-family: var(--sans); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; border-bottom: 1px solid currentColor; align-self: flex-start; padding-bottom: 4px; }
.card--cta__go::after { content: " →"; }

/* Di cosa avete bisogno: collegamenti sotto ogni risposta */
.need__go { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 22px; }
.need p.need__go { font-size: inherit; }
#bisogno .needs { margin-top: 36px; }
.au-hero p.au-hero__promise { font-family: var(--serif); font-size: clamp(18px, 2vw, 24px); letter-spacing: 0; text-transform: none; line-height: 1.45; max-width: 30em; margin: 22px auto 0; opacity: 1; text-wrap: balance; }

/* ==========================================================================
   Telefono: comportamento da app, non da pagina web
   ========================================================================== */
/* niente lampo grigio/blu al tocco: il riscontro lo danno gli stati :active qui sotto */
html { -webkit-tap-highlight-color: transparent; }
/* il tocco parte subito, senza l'attesa del doppio tocco */
a, button, summary, [role="button"], [role="tab"], label, select { touch-action: manipulation; }
/* tenendo premuto un comando non si seleziona il testo e non compare il menu "copia" */
button, summary, [role="button"], [role="tab"], .btn, .au-pill, .pill a, .pt__go, .card--cta, .nav-toggle, .rail-ctrl button, .header__cta {
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
}
/* riscontro immediato al tocco, come un tasto vero */
.btn, .au-pill, .pill a, .header__cta, .rail-ctrl button, .needs__list button, .card--cta, .pt__go, .nav-toggle, .faq__i summary, .link {
  transition: transform 120ms cubic-bezier(.2,.7,.2,1), background-color 120ms, color 120ms, opacity 120ms;
}
.btn:active, .au-pill:active, .pill a:active, .header__cta:active, .rail-ctrl button:active, .needs__list button:active, .pt__go:active, .nav-toggle:active { transform: scale(.96); }
.card--cta:active, .pt:active > img { transform: scale(.98); }
.faq__i summary:active, .link:active { opacity: .6; }
/* i caroselli scorrono di lato senza far partire il "torna indietro" del browser */
.rail, .needs__list, .steps { overscroll-behavior-x: contain; }
/* il menu aperto scorre da solo, senza trascinare la pagina sotto */
.nav.is-open { overscroll-behavior: contain; }
/* in orizzontale, testata e contenuti stanno lontani dalla tacca */
.header__in { padding-left: max(var(--gutter, 20px), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter, 20px), env(safe-area-inset-right, 0px)); }

/* ==========================================================================
   Movimento: poche animazioni, veloci, con curve decise
   ========================================================================== */
:root {
  --ease-out: cubic-bezier(.23, 1, .32, 1);      /* risposta immediata, frenata morbida */
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);  /* oggetti che si spostano sullo schermo */
}
/* lo zoom delle foto al passaggio del mouse: più breve e più contenuto */
.pt > img, .pt > .ph, .au-card__img img, .mosaic__t img, .ptile .ph { transition: transform 700ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .pt:hover > img, .pt:hover > .ph { transform: scale(1.03); } }
/* la pressione resta sulla curva comune */
.btn, .au-pill, .pill a, .header__cta, .rail-ctrl button, .needs__list button, .card--cta, .pt__go, .nav-toggle, .faq__i summary, .link {
  transition: transform 120ms var(--ease-out), background-color 150ms ease, color 150ms ease, border-color 150ms ease, opacity 150ms ease;
}
/* testata: cambi di stato rapidi */
.header { transition: border-color 200ms ease, background-color 200ms ease; }
.home .header--over { transition: background-color 250ms ease, color 250ms ease, border-color 250ms ease; }
/* comparsa delle sezioni: spostamento più corto e, dove serve il ripiego, più rapido */
@keyframes reveal { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@supports not (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .js .reveal { transform: translateY(12px); transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out); }
  }
}
/* "Di cosa avete bisogno?": la risposta entra, non salta */
.need { transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out); }
@starting-style { .need { opacity: 0; } }
@media (prefers-reduced-motion: no-preference) { @starting-style { .need { transform: translateY(6px); } } }
/* menu del telefono: si apre con una dissolvenza e le voci arrivano una dopo l'altra */
@media (max-width: 1023px) {
  .nav.is-open { transition: opacity 220ms var(--ease-out); }
  .nav.is-open li { transition: opacity 260ms var(--ease-out), transform 260ms var(--ease-out); }
  .nav.is-open li:nth-child(2) { transition-delay: 30ms; } .nav.is-open li:nth-child(3) { transition-delay: 60ms; }
  .nav.is-open li:nth-child(4) { transition-delay: 90ms; } .nav.is-open li:nth-child(5) { transition-delay: 120ms; }
  .nav.is-open li:nth-child(6) { transition-delay: 150ms; }
  @starting-style { .nav.is-open, .nav.is-open li { opacity: 0; } }
  @media (prefers-reduced-motion: no-preference) { @starting-style { .nav.is-open li { transform: translateY(8px); } } }
}

/* ===== Opportunità di movimento (FAQ, esito modulo, grazie, guida) ===== */
:root { interpolate-size: allow-keywords; }
/* 1. FAQ: la risposta si apre in altezza invece di comparire di colpo */
.faq__i::details-content { block-size: 0; overflow: hidden; opacity: 0;
  transition: block-size 250ms var(--ease-out), opacity 200ms var(--ease-out), content-visibility 250ms allow-discrete; }
.faq__i[open]::details-content { block-size: auto; opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .faq__i::details-content { transition: opacity 150ms ease, content-visibility 150ms allow-discrete; }
  .faq__i::details-content, .faq__i[open]::details-content { block-size: auto; }
}
/* 2. Messaggio d'errore del modulo */
.rq__esito { transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out); }
@starting-style { .rq__esito { opacity: 0; } }
@media (prefers-reduced-motion: no-preference) { @starting-style { .rq__esito { transform: translateY(-4px); } } }
/* 3. Pagina Grazie: ingresso in sequenza, solo una volta */
@keyframes gz-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes gz-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes gz-rule { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.pg-grazie .invite > * { animation: gz-in 500ms var(--ease-out) both; }
.pg-grazie .invite > :nth-child(2) { animation-delay: 60ms; }
.pg-grazie .invite > .rule { animation: gz-rule 600ms var(--ease-out) 180ms both; transform-origin: center; }
.pg-grazie .invite > :nth-child(4) { animation-delay: 180ms; }
.pg-grazie .invite > :nth-child(5) { animation-delay: 240ms; }
.pg-grazie .invite > :nth-child(6) { animation-delay: 300ms; }
@media (prefers-reduced-motion: reduce) {
  .pg-grazie .invite > * { animation: gz-fade 300ms ease both !important; animation-delay: 0ms !important; }
  .pg-grazie .invite > .rule { animation: none !important; }
}
/* 4. Guida: il testo per architetti compare in dissolvenza */
.level--tecnico { transition: opacity 200ms var(--ease-out), display 200ms allow-discrete; }
@starting-style { [data-livello="tecnico"] .level--tecnico { opacity: 0; } }

/* Metodo in cinque passi (home) */
@media (min-width: 900px) { .steps--5 { grid-template-columns: repeat(5, 1fr); } .steps--5 .step h3 { font-size: 24px; } }

/* ===================== Direzione Glamora (prova) ===================== */
/* 5. Più aria */
.section { padding: 96px 0; }
.au-sec { padding: 104px 0 112px; }
@media (min-width: 900px) { .section { padding: 136px 0; } .au-sec { padding: 136px 0 144px; } }
.lead { max-width: 34em; }

/* 2. Racconti dei lavori */
.racconti { position: relative; border-block: 1px solid var(--linea); background: var(--bianco); }
.racconti__track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; outline-offset: -3px; }
.racconti__track::-webkit-scrollbar { display: none; }
.racconto { scroll-snap-align: start; display: grid; min-width: 0; }
.racconto__img { order: -1; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; } /* su telefono la foto usa tutta la larghezza: niente ingrandimento sfocato */
.racconto__txt { display: grid; justify-items: center; align-content: center; gap: 16px; text-align: center; padding: 40px var(--gutter) 104px; }
.racconto__txt .overline { margin: 0; }
.racconto__txt h3 { font-family: var(--sans); font-weight: 300; text-transform: uppercase; letter-spacing: .06em; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.2; margin: 0; text-wrap: balance; }
.racconto__txt p:not(.overline) { margin: 0; max-width: 30em; color: var(--grigio); font-size: 16px; line-height: 1.75; }
.racconti__nav { position: absolute; left: 0; bottom: 28px; width: 100%; display: flex; justify-content: center; align-items: center; gap: 8px; }
.racconti__nav button { width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: none; color: var(--nero); cursor: pointer; }
.racconti__nav button[disabled] { opacity: .25; cursor: default; }
.racconti__n { font: 400 13px/1 var(--sans); letter-spacing: .08em; display: inline-flex; align-items: center; gap: 12px; font-variant-numeric: tabular-nums; color: var(--grigio); }
.racconti__n b { font-weight: 400; color: var(--nero); }
.racconti__n i { width: 40px; height: 1px; background: currentColor; opacity: .5; }
@media (min-width: 900px) {
  .racconto { grid-template-columns: 1fr 1fr; grid-template-rows: minmax(0, 1fr); height: clamp(520px, 70vh, 640px); }
  .racconto__img { order: 0; aspect-ratio: auto; height: 100%; min-height: 0; }
  .racconto__txt { padding: 72px 7vw 120px; border-right: 1px solid var(--linea); }
  .racconti__nav { width: 50%; bottom: 40px; }
}
@media (hover: hover) and (pointer: fine) { .racconti__nav button:not([disabled]):hover { opacity: .6; } }
.racconti__nav button { transition: transform 120ms var(--ease-out), opacity 150ms ease; }
.racconti__nav button:active { transform: scale(.94); }

/* 4. La guida come un giornale */
.giornale { list-style: none; padding: 0; margin: 64px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 40px 16px; }
@media (min-width: 900px) { .giornale { grid-template-columns: repeat(4, 1fr); gap: 56px 28px; } }
.giornale a { display: grid; gap: 12px; color: inherit; text-decoration: none; }
.giornale img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; display: block; background: var(--fascia); }
.giornale__k { font: 400 11px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--bronzo); }
.giornale b { font-family: var(--sans); font-weight: 300; text-transform: uppercase; letter-spacing: .06em; font-size: clamp(15px, 1.3vw, 18px); line-height: 1.3; }
.giornale img { transition: opacity 200ms ease; }
@media (hover: hover) and (pointer: fine) { .giornale a:hover img { opacity: .85; } .giornale a:hover b { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; } }

/* Foto centrate quando la pagina si restringe (tablet) */
@media (min-width: 600px) and (max-width: 899px) {
  .split__img, .split > div > img, .split > div > picture > img { display: block; max-width: 520px; margin-inline: auto; }
  .racconto__img { aspect-ratio: 3 / 2; }
  .page-hero__img { height: 64svh; }
}

/* Per chi lavoriamo: due schede */
@media (min-width: 900px) { .audience--2 { grid-template-columns: repeat(2, 1fr); } }

/* Icona telefono e WhatsApp nella barra in basso: dimensione fissa, non si schiaccia (Safari) */
.pill a svg { flex: none; width: 18px; height: 18px; min-width: 18px; }
.pill a.pill__wa svg { width: 20px; height: 20px; min-width: 20px; }

/* Su telefono niente testo giustificato: evita i buchi tra le parole */
@media (max-width: 759px) { .prose, .au-text { text-align: left; hyphens: manual; } }

/* Titoletti nelle pagine di testo (Chi siamo): maiuscolo come il resto del sito */
.prose h2 { font-family: var(--sans); font-weight: 300; text-transform: uppercase; letter-spacing: .07em; font-size: 19px; line-height: 1.3; margin: 36px 0 10px; }
