/* =========================================================
   GiuFé – Capsule D'Arte (widget Elementor)
   Hero · Nastro · Manifesto · Linguaggi · Opere (loop WooCommerce nativo)
   Mobile first · nessun corsivo · tutto scoped su .gfc-root
   ========================================================= */

.gfc-root{
  --ink:#12100e; --paper:#fbf8f2; --coll-bg:#fbf8f2;
  --gold:#c9a45c; --gold2:#e3c98f; --golddk:#8f6d2c;
  --text:#1e1b17; --muted:#5f574d; --line:rgba(30,27,23,.12);
  --coral:#e2745b; --teal:#3c8c87;
  --gfc-cols-m:2; --gfc-cols-t:3; --gfc-cols-d:4; --gfc-gap:24px;
  --serif:'Fraunces',Georgia,serif; --sans:'Jost',system-ui,-apple-system,'Segoe UI',sans-serif;
  position:relative; width:100%; overflow-x:clip; background:var(--paper);
}
/* page typography on our sections only — product cards keep the site's own card styling */
.gfc-root .gfc-hero,.gfc-root .gfc-ticker,.gfc-root .gfc-sec--paper,.gfc-root .gfc-sec--ink,
.gfc-root .gfc-coll-head,.gfc-root .gfc-chips,.gfc-root .gfc-empty{
  color:var(--text); font-family:var(--sans); font-size:16px; line-height:1.65; -webkit-font-smoothing:antialiased;
}
.gfc-root .gfc-sec--ink,.gfc-root .gfc-hero{color:#f3ece0}
.gfc-root.gfc-bleed{width:100vw;margin-left:calc(50% - 50vw);max-width:none}

.gfc-root *,.gfc-root *::before,.gfc-root *::after{box-sizing:border-box;font-style:normal!important}
.gfc-root .gfc-hero h1,.gfc-root .gfc-sec>.gfc-wrap>h2,.gfc-root .gfc-h2,.gfc-root .gfc-step h3,.gfc-root .gfc-step p{margin:0}
.gfc-root .gfc-hero a,.gfc-root .gfc-chips a{text-decoration:none}
.gfc-root [hidden]{display:none!important}
.gfc-root .gfc-anchor{display:block;height:0}

/* ---------- base ---------- */
.gfc-root .gfc-wrap{width:100%;max-width:1240px;margin:0 auto;padding:0 20px}
.gfc-root .gfc-narrow{max-width:820px}
.gfc-root .gfc-center{text-align:center}
.gfc-root .gfc-sec{padding:72px 0;position:relative}
.gfc-root .gfc-sec--paper{background:var(--paper)}
.gfc-root .gfc-sec--ink{background:var(--ink);color:#f3ece0}
.gfc-root .gfc-sec--coll{background:var(--coll-bg)}

.gfc-root .gfc-eyebrow{display:block;font-family:var(--sans);font-size:12px;font-weight:500;letter-spacing:.28em;text-transform:uppercase;color:var(--gold2);margin:0 0 16px;line-height:1.5}
.gfc-root .gfc-eyebrow--dark{color:var(--golddk)}
.gfc-root .gfc-h2{font-family:var(--serif);font-weight:400;font-size:clamp(30px,7.4vw,54px);line-height:1.1;letter-spacing:-.015em;color:var(--text);text-transform:none}
.gfc-root .gfc-gold{color:var(--gold2)}
.gfc-root .gfc-gold-dark{color:var(--golddk)}
.gfc-root .gfc-p{font-size:16.5px;line-height:1.7;color:var(--muted);margin:18px 0 0}
.gfc-root .gfc-rich{margin-top:18px;max-width:680px}
.gfc-root .gfc-rich p{font-size:16.5px;line-height:1.7;color:var(--muted);margin:0 0 16px}
.gfc-root .gfc-rich p:last-child{margin-bottom:0}
.gfc-root .gfc-rich strong{color:var(--text);font-weight:500}
.gfc-root .gfc-rule{width:64px;height:1px;background:var(--gold);margin:26px 0 6px}

.gfc-root .gfc-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:50px;padding:14px 28px;border-radius:999px;font-family:var(--sans);font-size:13px;font-weight:500;letter-spacing:.18em;line-height:1.3;text-transform:uppercase;text-align:center;border:1px solid transparent;cursor:pointer;transition:background .3s,color .3s,border-color .3s,transform .3s}
.gfc-root .gfc-btn:active{transform:scale(.98)}
.gfc-root .gfc-btn--gold,.gfc-root .gfc-btn--gold:focus{background:var(--gold);color:#15120e}
.gfc-root .gfc-btn--gold:hover{background:var(--gold2);color:#15120e}
.gfc-root .gfc-btn--ghost,.gfc-root .gfc-btn--ghost:focus{border-color:rgba(243,236,224,.45);color:#f7f1e6;background:transparent}
.gfc-root .gfc-btn--ghost:hover{border-color:var(--gold2);color:var(--gold2)}
.gfc-root .gfc-btn:focus-visible,.gfc-root .gfc-chip:focus-visible{outline:2px solid var(--gold);outline-offset:3px}

/* reveal */
.gfc-root .gfc-reveal{opacity:0;transform:translateY(22px);transition:opacity .9s cubic-bezier(.2,.7,.2,1),transform .9s cubic-bezier(.2,.7,.2,1)}
.gfc-root .gfc-reveal.is-in{opacity:1;transform:none}

/* ---------- HERO ---------- */
.gfc-root .gfc-hero{position:relative;min-height:100vh;min-height:100svh;display:flex;align-items:center;justify-content:center;padding:130px 20px 110px;background:var(--ink);color:#f7f1e6;overflow:hidden;isolation:isolate}
.gfc-root .gfc-hero-media{position:absolute;inset:0;z-index:-1}
.gfc-root .gfc-hero-photo{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover}
.gfc-root .gfc-hero-shade{position:absolute;inset:0;background:radial-gradient(ellipse at center,rgba(18,16,14,.35) 0%,rgba(18,16,14,.78) 70%),linear-gradient(180deg,rgba(18,16,14,.55) 0%,rgba(18,16,14,.2) 40%,rgba(18,16,14,.85) 100%)}
.gfc-root .gfc-blob{position:absolute;border-radius:50%;filter:blur(60px);opacity:.7;will-change:transform}
.gfc-root .gfc-blob--gold{width:62vw;height:62vw;max-width:620px;max-height:620px;background:var(--gold);top:-14%;left:-18%;animation:gfcFloat 18s ease-in-out infinite}
.gfc-root .gfc-blob--coral{width:52vw;height:52vw;max-width:520px;max-height:520px;background:var(--coral);bottom:-12%;right:-16%;animation:gfcFloat 22s ease-in-out infinite reverse}
.gfc-root .gfc-blob--teal{width:40vw;height:40vw;max-width:420px;max-height:420px;background:var(--teal);top:40%;left:46%;opacity:.45;animation:gfcFloat 26s ease-in-out infinite}
.gfc-root .gfc-doodle{position:absolute;color:rgba(227,201,143,.55);z-index:1}
.gfc-root .gfc-doodle--a{width:90px;top:16%;right:9%;animation:gfcSpin 40s linear infinite}
.gfc-root .gfc-doodle--b{width:54px;bottom:22%;left:8%;animation:gfcBob 7s ease-in-out infinite}
.gfc-root .gfc-doodle--c{width:130px;top:20%;left:6%;opacity:.7;display:none}
@keyframes gfcFloat{0%,100%{transform:translate(0,0) scale(1)}33%{transform:translate(6%,8%) scale(1.08)}66%{transform:translate(-5%,4%) scale(.95)}}
@keyframes gfcSpin{to{transform:rotate(360deg)}}
@keyframes gfcBob{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-14px) rotate(18deg)}}

.gfc-root .gfc-hero-inner{position:relative;z-index:2;max-width:900px;width:100%;text-align:center}
.gfc-root .gfc-hero-title{font-family:var(--serif);font-weight:300;font-size:clamp(48px,14vw,128px);line-height:.98;letter-spacing:-.025em;color:#fbf6ec;margin:0 0 26px;text-transform:none}
.gfc-root .gfc-hero-lead{font-size:17px;line-height:1.7;color:rgba(247,241,230,.92);max-width:620px;margin:0 auto}
.gfc-root .gfc-hero-lead strong{display:block;font-weight:500;color:#fbf6ec;letter-spacing:.04em;margin-bottom:8px}
.gfc-root .gfc-hero-ctas{display:flex;flex-direction:column;gap:12px;margin-top:34px;align-items:stretch}
.gfc-root .gfc-scroll{position:absolute;z-index:2;bottom:28px;left:50%;transform:translateX(-50%);width:26px;height:42px;border:1px solid rgba(247,241,230,.5);border-radius:14px}
.gfc-root .gfc-scroll span{position:absolute;top:8px;left:50%;width:2px;height:8px;margin-left:-1px;background:var(--gold2);border-radius:2px;animation:gfcScroll 1.8s ease-in-out infinite}
@keyframes gfcScroll{0%{opacity:0;transform:translateY(0)}40%{opacity:1}100%{opacity:0;transform:translateY(14px)}}

/* ---------- TICKER ---------- */
.gfc-root .gfc-ticker{background:var(--gold);color:#15120e;overflow:hidden;white-space:nowrap;padding:14px 0}
.gfc-root .gfc-ticker-track{display:inline-flex;align-items:center;gap:22px;animation:gfcTicker 34s linear infinite;padding-left:22px}
.gfc-root .gfc-ticker span{font-family:var(--serif);font-size:20px;font-weight:400;line-height:1.3}
.gfc-root .gfc-ticker b{font-size:12px;font-weight:400;opacity:.75}
@keyframes gfcTicker{to{transform:translateX(-50%)}}

/* ---------- STEPS ---------- */
.gfc-root .gfc-steps{display:grid;grid-template-columns:1fr;margin-top:18px;border-top:1px solid rgba(243,236,224,.14)}
.gfc-root .gfc-step{display:grid;grid-template-columns:56px 1fr;column-gap:14px;padding:22px 0;border-bottom:1px solid rgba(243,236,224,.14)}
.gfc-root .gfc-step-n{grid-row:span 2;font-family:var(--serif);font-size:30px;line-height:1;color:var(--gold2);font-weight:300}
.gfc-root .gfc-step h3{font-family:var(--serif);font-weight:400;font-size:22px;color:#f7f1e6;line-height:1.2;text-transform:none;letter-spacing:0}
.gfc-root .gfc-step p{font-size:15px;line-height:1.6;color:rgba(243,236,224,.8);margin-top:4px}
.gfc-root .gfc-steps-note{max-width:680px;margin:40px auto 0;text-align:center;font-family:var(--serif);font-size:clamp(19px,4.6vw,24px);line-height:1.45;color:#f3ece0;font-weight:300}

/* ---------- LE OPERE ---------- */
.gfc-root .gfc-coll-head{max-width:760px;margin:0 auto 36px;text-align:center}

.gfc-root .gfc-chips{display:flex;gap:8px;overflow-x:auto;margin:0 -20px 22px;padding:4px 20px 12px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.gfc-root .gfc-chips::-webkit-scrollbar{display:none}
.gfc-root .gfc-chip,.gfc-root .gfc-chip:focus{flex:0 0 auto;min-height:42px;padding:10px 18px;border-radius:999px;border:1px solid var(--line);background:#fff;color:var(--text);font-family:var(--sans);font-size:13px;font-weight:500;letter-spacing:.06em;line-height:1.3;text-transform:none;cursor:pointer;transition:all .25s;box-shadow:none}
.gfc-root .gfc-chip:hover{border-color:var(--gold);background:#fff;color:var(--text)}
.gfc-root .gfc-chip[aria-selected="true"],.gfc-root .gfc-chip[aria-selected="true"]:hover{background:var(--ink);color:#f7f1e6;border-color:var(--ink)}
.gfc-root .gfc-chip small{font-size:11px;opacity:.65;margin-left:6px}

/* Grid only: card design comes from WooCommerce/OceanWP, exactly like Essenza Donna */
.gfc-root .gfc-shop .woocommerce{width:100%}
.gfc-root .gfc-shop ul.products{display:grid!important;grid-template-columns:repeat(var(--gfc-cols-m),minmax(0,1fr));gap:var(--gfc-gap);margin:0!important;padding:0!important;list-style:none;float:none!important;width:auto!important}
.gfc-root .gfc-shop ul.products::before,.gfc-root .gfc-shop ul.products::after{display:none!important;content:none!important}
.gfc-root .gfc-shop ul.products li.product{width:auto!important;max-width:none!important;float:none!important;clear:none!important;margin:0!important;min-width:0}
.gfc-root .gfc-shop ul.products li.product.gfc-hide{display:none!important}
.gfc-root .gfc-shop ul.products li.product.gfc-in{animation:gfcIn .5s both}
@keyframes gfcIn{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}

.gfc-root .gfc-empty{text-align:center;padding:40px 20px;border:1px dashed var(--line);border-radius:8px;max-width:620px;margin:0 auto}
.gfc-root .gfc-empty h3{font-family:var(--serif);font-weight:400;font-size:26px;line-height:1.25;color:var(--text);text-transform:none;margin:0}
.gfc-root .gfc-empty p{color:var(--muted);margin:10px 0 0}

/* ================= BREAKPOINTS ================= */
@media (min-width:600px){
  .gfc-root .gfc-hero-ctas{flex-direction:row;justify-content:center}
  .gfc-root .gfc-steps{grid-template-columns:repeat(2,1fr);column-gap:40px}
  .gfc-root .gfc-doodle--c{display:block}
}
@media (min-width:768px){
  .gfc-root .gfc-wrap{padding:0 32px}
  .gfc-root .gfc-sec{padding:110px 0}
  .gfc-root .gfc-chips{flex-wrap:wrap;justify-content:center;overflow:visible;margin:0 0 34px;padding:0}
  .gfc-root .gfc-shop ul.products{grid-template-columns:repeat(var(--gfc-cols-t),minmax(0,1fr))}
  .gfc-root .gfc-hero-lead{font-size:18.5px}
}
@media (min-width:1024px){
  .gfc-root .gfc-steps{grid-template-columns:repeat(var(--gfc-steps,5),minmax(0,1fr));column-gap:0;border-top:0}
  .gfc-root .gfc-step{display:block;padding:34px 26px 30px;border-bottom:0;border-left:1px solid rgba(243,236,224,.14)}
  .gfc-root .gfc-step:first-child{border-left:0}
  .gfc-root .gfc-step-n{display:block;font-size:44px;margin-bottom:22px}
  .gfc-root .gfc-shop ul.products{grid-template-columns:repeat(var(--gfc-cols-d),minmax(0,1fr))}
}
@media (prefers-reduced-motion:reduce){
  .gfc-root *,.gfc-root *::before,.gfc-root *::after{animation:none!important;transition:none!important}
  .gfc-root .gfc-reveal{opacity:1;transform:none}
}
