/* Xeres — shared page shell for the inner pages: the homepage header and
   footer, plus the page hero, section label and headline styles, so every
   page reads as one site. Namespaced (.xh / .xf / .xp-*) so it never fights
   the page's own stylesheet. Poppins, white + ink + terracotta. */
:root{--xh-h:74px;--xp-ink:#191817;--xp-quiet:#5F5851;--xp-rule:rgba(25,24,23,.12);--xp-accent:#A65740;--xp-gut:clamp(1.25rem,5vw,5rem);--xp-max:1680px}

/* ── header ── */
.xh{position:sticky;top:0;z-index:60;height:var(--xh-h);display:flex;align-items:center;justify-content:space-between;gap:1.5rem;
  padding:0 var(--xp-gut);background:#fff;
  border-bottom:1px solid var(--xp-rule);font-family:"Poppins",system-ui,sans-serif}
.xh-logo{display:flex;align-items:center;gap:.65rem;text-decoration:none;min-height:44px}
.xh-logo img{width:24px;height:auto;filter:brightness(0)}
.xh-logo .xh-word{width:78px}
.xh-menu{display:flex;gap:clamp(1.1rem,1.7vw,2rem);list-style:none;margin:0;padding:0}
.xh-menu a{font-size:.9375rem;font-weight:400;color:var(--xp-ink);text-decoration:none;white-space:nowrap;transition:color .25s}
.xh-menu a:hover,.xh-menu a[aria-current="page"]{color:var(--xp-accent)}
.xh-right{display:flex;align-items:center;gap:1.1rem}
.xh-ig{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;color:var(--xp-ink);transition:color .25s}
.xh-ig:hover{color:var(--xp-accent)}
.xh-ig svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.5}
.xh-ig .ig-dot{fill:currentColor}
.xh-ig:focus-visible{outline:2px solid var(--xp-accent);outline-offset:3px}
.xh .lang{display:flex;align-items:center;gap:.2rem;font-size:.8125rem;letter-spacing:.14em}
.xh .lang button,.xh .lang a{background:none;border:0;cursor:pointer;font:inherit;font-weight:500;letter-spacing:inherit;color:var(--xp-quiet);min-width:36px;min-height:44px;padding:0}
.xh .lang a{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}
.xh .lang button[aria-pressed="true"],.xh .lang a[aria-current="page"]{color:var(--xp-ink)}
.xh .lang i{font-style:normal;opacity:.3;color:var(--xp-ink)}
.xh-cta{display:inline-flex;align-items:center;min-height:44px;padding:0 20px;background:var(--xp-ink);color:#fff;text-decoration:none;font-size:.9375rem;font-weight:400;white-space:nowrap;border:1px solid var(--xp-ink);transition:background .25s}
.xh-cta:hover{background:#34302C}
.xh-burger{display:none;background:none;border:0;cursor:pointer;min-width:44px;min-height:44px;flex-direction:column;align-items:center;justify-content:center}
.xh-burger span{display:block;width:22px;height:1px;background:var(--xp-ink);margin:3px 0;transition:transform .3s,opacity .3s}
.xh[data-open="true"] .xh-burger span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.xh[data-open="true"] .xh-burger span:nth-child(2){opacity:0}
.xh[data-open="true"] .xh-burger span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.xh-menu .xh-menu-extra{display:none}
@media (max-width:1180px){
  .xh-burger{display:flex}
  .xh-right > .lang,.xh-right > .xh-cta{display:none}
  .xh-menu{position:fixed;inset:var(--xh-h) 0 0 0;flex-direction:column;gap:0;background:#fff;padding:1rem var(--xp-gut) 2rem;
    transform:translateY(-8px);opacity:0;visibility:hidden;transition:opacity .3s,transform .3s,visibility .3s;overflow:auto}
  .xh[data-open="true"] .xh-menu{transform:none;opacity:1;visibility:visible}
  .xh-menu li{border-bottom:1px solid var(--xp-rule)}
  .xh-menu a{display:flex;align-items:center;min-height:64px;font-size:1.5rem;font-weight:300}
  .xh-menu .xh-menu-extra{display:block;border-bottom:0;padding-top:1.2rem}
  .xh-menu .xh-menu-extra .xh-cta{font-size:1rem;min-height:52px;padding:0 28px}
}

/* Portuguese and Italian labels are longer: keep the logo whole and tighten
   the header between full desktop width and the drawer layout */
.xh-logo{flex:none}
@media (min-width:1181px) and (max-width:1560px){
  .xh-menu{gap:clamp(.85rem,1.1vw,1.1rem)}
  .xh-right{gap:.75rem}
}
@media (min-width:1181px) and (max-width:1480px){
  html:is(:lang(pt),:lang(it)) .xh-menu a,html:is(:lang(pt),:lang(it)) .xh-cta{font-size:.875rem}
}
@media (min-width:1181px) and (max-width:1320px){
  .xh-menu a,.xh-menu .sub-toggle{font-size:.875rem}
}
/* the quote button stays in the menu as Contact; here it would push the header off screen */
@media (min-width:1181px) and (max-width:1360px){
  html:is(:lang(pt),:lang(it)) .xh-right>.xh-cta{display:none}
}

/* ── footer ── */
.xf{background:#121110;color:#E7DECD;padding:clamp(3.5rem,8vw,6rem) 0 clamp(2rem,4vw,3rem);font-family:"Poppins",system-ui,sans-serif;border-top:0}
.xf-wrap{max-width:var(--xp-max);margin:0 auto;padding:0 var(--xp-gut)}
.xf-top{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1.5rem 2rem}
.xf-id{display:flex;flex-direction:column;gap:.7rem}
.xf-id img{width:clamp(120px,15vw,180px);filter:brightness(0) invert(1);opacity:.92}
.xf-copy{margin:0;font-size:.8125rem;color:#9A9088}
.xf-tag{margin:0;font-size:.8125rem;letter-spacing:.2em;text-transform:uppercase;color:#C8764F;text-align:right}
.xf-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem 2rem;margin-top:clamp(2.5rem,5vw,3.5rem);padding-top:2rem;border-top:1px solid rgba(198,180,154,.18)}
.xf-nav ul{list-style:none;margin:0;padding:0}
.xf-nav a{display:inline-block;padding-block:.7rem;font-size:.9rem;color:#E7DECD;text-decoration:none}
.xf-nav a:hover{color:#C8764F}
@media (max-width:700px){.xf-tag{text-align:left}.xf-nav{grid-template-columns:1fr 1fr}}

/* ── page hero: one big photo, headline bottom-left, like the homepage opening ── */
.xp-hero{position:relative;height:min(78vh,760px);min-height:460px;display:flex;align-items:flex-end;overflow:hidden;background:#191817;color:#fff;font-family:"Poppins",system-ui,sans-serif}
.xp-hero img,.xp-hero video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.xp-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(to bottom,rgba(14,13,12,.28) 0%,rgba(14,13,12,.12) 30%,rgba(14,13,12,.45) 60%,rgba(14,13,12,.8) 100%)}
.xp-hero-in{position:relative;z-index:2;width:100%;max-width:var(--xp-max);margin:0 auto;padding:0 var(--xp-gut) clamp(2.2rem,6vh,4rem)}
.xp-hero .xp-mark{color:rgba(255,255,255,.85)}
.xp-hero .xp-mark::after{background:rgba(255,255,255,.35)}
.xp-hero h1{margin:1.2rem 0 0;font-size:clamp(2.8rem,7vw,6.2rem);font-weight:300;line-height:1.02;letter-spacing:-.035em;color:#fff}
.xp-hero h1 .xp-muted{color:rgba(255,255,255,.72)}
.xp-hero p{margin:1.2rem 0 0;max-width:46ch;font-size:clamp(1rem,1.2vw,1.12rem);line-height:1.6;color:rgba(255,255,255,.88);font-weight:300}

/* ── section label: "01  LABEL ——" ── */
.xp-mark{display:flex;align-items:center;gap:1rem;margin:0;font-size:.8125rem;letter-spacing:.18em;text-transform:uppercase;color:var(--xp-quiet);font-weight:400}
.xp-mark b{font-weight:500;color:var(--xp-accent)}
.xp-mark::after{content:"";flex:1;height:1px;background:var(--xp-rule)}

/* market: export / local switch on the photo */
.xp-hero .mkt-switch{margin-top:1.6rem;color:#fff}
.xp-hero .mkt-switch .mkt-btn{color:rgba(255,255,255,.7)}
.xp-hero .mkt-switch .mkt-btn.is-on,.xp-hero .mkt-switch .mkt-btn[aria-pressed="true"]{color:#fff}
.xp-hero h1 i,.xp-hero h1 em{font-style:normal;color:rgba(255,255,255,.72)}
/* care: the two buttons sit just under the photo */
.care-ctas-row{padding:clamp(1.6rem,3vw,2.4rem) 0 0}
.xh-menu a.xh-cta{color:#fff;font-size:1rem;font-weight:400}
.xp-hero .xp-mark{padding:0;margin:0;max-width:none;justify-content:flex-start;text-align:left}
.xp-hero .mkt-switch{justify-content:flex-start;margin-left:0}
/* market: the hero photo follows the Export / Local market switch */
.xp-hero .hero-bg-export,.xp-hero .hero-bg-local{transition:opacity .7s ease}
.xp-hero .hero-bg-local{opacity:0}
body[data-mkt="local"] .xp-hero .hero-bg-local{opacity:1}
body[data-mkt="local"] .xp-hero .hero-bg-export{opacity:0}

/* ── Resources dropdown (inner pages) ── */
.has-sub{position:relative}
.sub-toggle{display:inline-flex;align-items:center;gap:.35rem;background:none;border:0;padding:0;cursor:pointer;font:inherit;font-size:.9375rem;font-weight:400;color:var(--xp-ink);white-space:nowrap;min-height:44px;transition:color .25s}
.sub-toggle svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;transition:transform .3s}
.has-sub:hover .sub-toggle,.has-sub:focus-within .sub-toggle,.has-sub.on .sub-toggle{color:var(--xp-accent)}
.has-sub:hover .sub-toggle svg,.has-sub:focus-within .sub-toggle svg,.has-sub.on .sub-toggle svg{transform:rotate(180deg)}
.sub-menu{position:absolute;top:100%;left:-1.2rem;min-width:260px;list-style:none;margin:0;padding:.6rem 0;background:#fff;border:1px solid var(--xp-rule);box-shadow:0 18px 40px rgba(25,24,23,.12);
  opacity:0;visibility:hidden;transform:translateY(6px);transition:opacity .25s,transform .25s,visibility .25s;z-index:70}
.has-sub:hover .sub-menu,.has-sub:focus-within .sub-menu,.has-sub.on .sub-menu{opacity:1;visibility:visible;transform:none}
.sub-menu a,.sub-soon{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.7rem 1.2rem;font-size:.9375rem;color:var(--xp-ink);text-decoration:none;white-space:nowrap}
.sub-menu a:hover,.sub-menu a[aria-current="page"]{color:var(--xp-accent);background:#F7F5F2}
.sub-soon{color:var(--xp-quiet);cursor:default}
.sub-soon em{font-style:normal;font-size:.68rem;letter-spacing:.14em;text-transform:uppercase;color:var(--xp-accent);border:1px solid currentColor;padding:.15rem .45rem}
@media (max-width:1180px){
  .xh-menu .has-sub{border-bottom:1px solid var(--xp-rule)}
  .xh-menu .sub-toggle{display:flex;width:100%;justify-content:space-between;min-height:64px;font-size:1.5rem;font-weight:300}
  .xh-menu .sub-menu{position:static;opacity:1;visibility:visible;transform:none;box-shadow:none;border:0;padding:0 0 .8rem;min-width:0;display:none}
  .xh-menu .has-sub.on .sub-menu{display:block}
  .xh-menu .sub-menu li{border:0}
  .xh-menu .sub-menu a,.xh-menu .sub-soon{min-height:48px;padding:.4rem 0 .4rem 1rem;font-size:1.1rem;font-weight:300}
}
.xp-hero picture{position:absolute;inset:0}
.xp-hero picture img{width:100%;height:100%;object-fit:cover}

/* ── cookie notice (same as the homepage) ── */
.cookie{position:fixed;left:0;right:0;bottom:0;z-index:500;background:#191817;color:#fff;border-top:1px solid rgba(255,255,255,.14);transform:translateY(100%);transition:transform .4s cubic-bezier(.22,1,.36,1);font-family:"Poppins",system-ui,sans-serif}
.cookie[data-show="true"]{transform:none}
.cookie-in{max-width:var(--xp-max);margin-inline:auto;padding:1.1rem var(--xp-gut);display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem 1.6rem}
.cookie-in p{margin:0;max-width:60ch;font-size:.9rem;line-height:1.5;color:rgba(255,255,255,.82)}
.cookie-in a{color:#fff;text-decoration:underline;text-underline-offset:3px}
.cookie-btns{display:flex;gap:.75rem;flex:none}
.cookie-btns button{font:400 .875rem/1 "Poppins",system-ui,sans-serif;min-height:44px;padding:0 1.4rem;cursor:pointer;border-radius:0;transition:background .25s,color .25s,border-color .25s}
.cookie-decline{background:transparent;color:#fff;border:1px solid rgba(255,255,255,.4)}
.cookie-decline:hover{border-color:#fff}
.cookie-accept{background:#fff;color:#121110;border:1px solid #fff}
.cookie-accept:hover{background:#E7DECD;border-color:#E7DECD}
@media (max-width:560px){.cookie-btns{width:100%}.cookie-btns button{flex:1}}

/* desktop menu: links and the Resources button share one centre line */
@media (min-width:1181px){
  .xh-menu{align-items:center}
  .xh-menu > li > a{display:inline-flex;align-items:center;min-height:44px}
}

/* privacy notice under every form */
.form .privacy{margin:.9rem 0 0;font-size:.85rem;line-height:1.5;color:var(--xp-quiet)}
.form .privacy a{color:var(--xp-ink);text-decoration:underline;text-underline-offset:3px}

/* market: the chosen side of "Export & Local Market" is the bright word */
.xp-hero h1 .h-exp,.xp-hero h1 em{transition:color .5s ease}
body[data-mkt="local"] .xp-hero h1 .h-exp{color:rgba(255,255,255,.72);font-weight:200}
body[data-mkt="local"] .xp-hero h1 em{color:#fff;font-weight:300}

/* background videos are decoration: never show the browser's play button
   (iPhone shows one when Low Power Mode blocks autoplay; the poster stays) */
video[aria-hidden="true"],video[data-inview]{pointer-events:none}
video[aria-hidden="true"]::-webkit-media-controls,video[data-inview]::-webkit-media-controls,
video[aria-hidden="true"]::-webkit-media-controls-start-playback-button,video[data-inview]::-webkit-media-controls-start-playback-button,
video[aria-hidden="true"]::-webkit-media-controls-overlay-play-button,video[data-inview]::-webkit-media-controls-overlay-play-button{display:none!important;-webkit-appearance:none;opacity:0}
