/* =========================================================
   VICTAB | Venda de Inertes — folha de estilos principal
   Paleta: Cinza/prateado #A6A4A5 · Dourado/mostarda #C58D2C · Branco
   ========================================================= */

:root{
  --silver:#A6A4A5;
  --silver-light:#CFCDCE;
  --silver-pale:#E9E8E8;
  --silver-dark:#7D7B7C;
  --graphite:#3B3A3B;
  --carbon:#2A2A2B;
  --gold:#C58D2C;
  --gold-light:#E3B45C;
  --white:#FFFFFF;
  --navy:#102A3D;
  --ink:#262627;
  --muted:#5E5C5D;
  --line:#C9C7C8;

  --wrap:1160px;
  --radius:3px;
  --shadow:0 16px 38px rgba(42,42,43,.22);
  --t:.25s cubic-bezier(.4,.1,.2,1);
}

*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;scroll-padding-top:110px;}

body{
  margin:0;
  background:var(--silver);
  color:var(--ink);
  font-family:"Source Sans 3","Segoe UI",Arial,sans-serif;
  font-size:17px;line-height:1.7;
  -webkit-font-smoothing:antialiased;
}

img{max-width:100%;display:block;}
a{color:var(--graphite);text-decoration:none;}
a:hover{color:var(--gold);}

h1,h2,h3,h4{
  font-family:"Archivo","Archivo Narrow",Impact,sans-serif;
  font-weight:700;line-height:1.14;letter-spacing:-.01em;
  margin:0 0 .6em;color:var(--graphite);
}
h1{font-size:clamp(2rem,4.6vw,3.2rem);}
h2{font-size:clamp(1.6rem,3vw,2.3rem);}
h3{font-size:1.2rem;}
p{margin:0 0 1.1em;max-width:72ch;}

:focus-visible{outline:3px solid var(--gold);outline-offset:3px;}

.wrap{width:min(var(--wrap),92vw);margin-inline:auto;}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;}

/* ---------- Barra de topo ---------- */
.topbar{background:var(--carbon);color:#BFBDBE;font-size:.85rem;border-bottom:1px solid rgba(197,141,44,.35);}
.topbar .wrap{display:flex;flex-wrap:wrap;gap:8px 26px;justify-content:space-between;padding:8px 0;}
.topbar a{color:#BFBDBE;}
.topbar a:hover{color:var(--gold-light);}
.topbar strong{color:var(--gold);font-weight:600;}

/* ---------- Cabeçalho ---------- */
.site-header{position:sticky;top:0;z-index:60;background:var(--graphite);box-shadow:0 2px 0 var(--gold);}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:84px;}
.brand img{height:54px;width:auto;}

.nav-toggle{display:none;background:transparent;border:1px solid rgba(255,255,255,.4);color:var(--white);padding:10px 12px;border-radius:var(--radius);cursor:pointer;}
.nav-toggle span{display:block;width:22px;height:2px;background:currentColor;margin:4px 0;transition:var(--t);}
.nav-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(6px) rotate(45deg);}
.nav-toggle[aria-expanded="true"] span:nth-child(2){opacity:0;}
.nav-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-6px) rotate(-45deg);}

.menu,.menu ul{list-style:none;margin:0;padding:0;}
.menu{display:flex;align-items:center;gap:2px;}
.menu > li{position:relative;}
.menu > li > a{
  display:block;padding:12px 14px;color:#E2E0E1;
  font-size:.82rem;letter-spacing:.09em;text-transform:uppercase;font-weight:600;
  border-bottom:2px solid transparent;
}
.menu > li > a:hover,.menu > li.is-open > a,.menu > li > a.active{color:var(--white);border-bottom-color:var(--gold);}
.has-sub > a::after{content:"";display:inline-block;margin-left:7px;border:4px solid transparent;border-top-color:var(--gold);transform:translateY(2px);}

.submenu{
  position:absolute;left:0;top:100%;min-width:290px;background:var(--white);
  border-top:3px solid var(--gold);box-shadow:var(--shadow);
  opacity:0;visibility:hidden;transform:translateY(6px);transition:var(--t);
}
.menu li.is-open > .submenu,.menu li:hover > .submenu{opacity:1;visibility:visible;transform:none;}
.submenu a{display:block;padding:11px 18px;font-size:.9rem;color:var(--graphite);border-bottom:1px solid var(--line);}
.submenu a:hover{background:var(--silver-pale);color:var(--carbon);padding-left:24px;}
.submenu li:last-child a{border-bottom:none;}
.submenu .has-sub > a::after{float:right;border:4px solid transparent;border-left-color:var(--gold);transform:translateY(5px);margin:0;}
.submenu .submenu{left:100%;top:-3px;}

/* ---------- Slides ---------- */
.slider{position:relative;overflow:hidden;background:var(--silver-light);}
.slide{display:none;position:relative;min-height:clamp(420px,62vh,600px);}
.slide.is-active{display:block;animation:fadeIn .6s ease both;}
@keyframes fadeIn{from{opacity:.25}to{opacity:1}}
.slide img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;}
.slide::after{content:"";position:absolute;inset:0;background:linear-gradient(95deg,rgba(255,255,255,.95) 0%,rgba(233,232,232,.88) 38%,rgba(166,164,165,.12) 78%);}
.slide-copy{position:relative;z-index:2;display:flex;align-items:center;min-height:inherit;padding:70px 0;}
.slide-copy h1,.slide-copy h2{color:var(--carbon);max-width:16ch;}
.slide-copy p{color:var(--muted);max-width:50ch;font-size:1.06rem;}
.kicker{display:inline-flex;align-items:center;gap:10px;color:#8C6318;font-size:.78rem;letter-spacing:.24em;text-transform:uppercase;margin-bottom:16px;font-weight:700;}
.kicker::before{content:"";width:34px;height:3px;background:var(--gold);}

.slider-btn{position:absolute;top:50%;transform:translateY(-50%);z-index:3;width:46px;height:46px;border:1px solid var(--graphite);background:rgba(255,255,255,.8);color:var(--graphite);font-size:1.2rem;cursor:pointer;transition:var(--t);}
.slider-btn:hover{background:var(--gold);border-color:var(--gold);color:var(--white);}
.slider-btn.prev{left:18px;}
.slider-btn.next{right:18px;}
.dots{position:absolute;z-index:3;bottom:22px;left:50%;transform:translateX(-50%);display:flex;gap:10px;}
.dots button{width:34px;height:4px;border:0;background:rgba(59,58,59,.35);cursor:pointer;padding:0;}
.dots button[aria-current="true"]{background:var(--gold);}

/* ---------- Cabeçalho de páginas ---------- */
.page-head{background:var(--graphite);color:var(--white);padding:64px 0 56px;border-bottom:4px solid var(--gold);}
.page-head h1{color:var(--white);margin-bottom:.3em;}
.page-head p{color:#CFCDCE;}
.crumbs{font-size:.82rem;color:#A9A7A8;margin-top:14px;}
.crumbs a{color:var(--gold-light);}

/* ---------- Secções ---------- */
.section{padding:78px 0;background:var(--white);}
.section.alt{background:var(--silver-pale);}
.section.grey{background:var(--silver);}
.section.dark{background:var(--graphite);color:#D5D3D4;}
.section.dark h2,.section.dark h3{color:var(--white);}
.section-intro{max-width:64ch;margin-bottom:42px;}
.section-intro p{color:var(--muted);}
.section.dark .section-intro p{color:#C4C2C3;}

.rule{display:flex;align-items:center;gap:5px;margin-bottom:18px;}
.rule i{display:block;width:0;height:0;border-left:8px solid transparent;border-right:8px solid transparent;border-bottom:13px solid var(--gold);}
.rule i:nth-child(2){opacity:.65;}
.rule i:nth-child(3){opacity:.35;}

.grid{display:grid;gap:26px;}
.g2{grid-template-columns:repeat(2,1fr);}
.g3{grid-template-columns:repeat(3,1fr);}
.g4{grid-template-columns:repeat(4,1fr);}

.card{background:var(--white);border:1px solid var(--line);border-top:3px solid var(--gold);padding:28px;}
.card h3{margin-bottom:.45em;}
.card p{color:var(--muted);margin-bottom:0;font-size:.97rem;}
.card .more{display:inline-block;margin-top:16px;font-weight:700;font-size:.86rem;color:var(--graphite);border-bottom:2px solid var(--gold);}
.section.dark .card{background:var(--carbon);border-color:rgba(255,255,255,.14);border-top-color:var(--gold);}
.section.dark .card p{color:#BFBDBE;}
.section.dark .card .more{color:var(--white);}

/* Cartões de produto com imagem */
.prod{background:var(--white);border:1px solid var(--line);display:flex;flex-direction:column;}
.prod img{width:100%;height:190px;object-fit:cover;}
.prod .body{padding:24px;flex:1;display:flex;flex-direction:column;}
.prod p{color:var(--muted);font-size:.95rem;}
.prod .more{margin-top:auto;}
.spec{list-style:none;margin:12px 0 18px;padding:0;font-size:.9rem;color:var(--muted);}
.spec li{padding:5px 0;border-bottom:1px dashed var(--line);display:flex;justify-content:space-between;gap:14px;}
.spec li:last-child{border-bottom:0;}
.spec b{color:var(--graphite);font-weight:600;}

.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:rgba(255,255,255,.18);}
.stats div{background:var(--graphite);padding:28px 20px;text-align:center;}
.stats b{display:block;font-family:"Archivo",sans-serif;font-size:2.3rem;color:var(--gold);line-height:1;}
.stats span{font-size:.82rem;color:#C4C2C3;letter-spacing:.06em;}

.btn{display:inline-block;padding:14px 30px;background:var(--gold);color:var(--carbon);font-weight:700;font-size:.86rem;letter-spacing:.09em;text-transform:uppercase;border:2px solid var(--gold);transition:var(--t);}
.btn:hover{background:transparent;color:var(--gold);}
.btn.ghost{background:transparent;color:var(--graphite);border-color:var(--graphite);}
.btn.ghost:hover{background:var(--graphite);color:var(--white);}
.section.dark .btn.ghost{color:var(--white);border-color:rgba(255,255,255,.6);}
.section.dark .btn.ghost:hover{background:var(--gold);border-color:var(--gold);color:var(--carbon);}
.btn-row{display:flex;flex-wrap:wrap;gap:14px;margin-top:26px;}

/* ---------- Mapa de Nampula ---------- */
.map-block{display:grid;grid-template-columns:1.05fr 1fr;gap:54px;align-items:center;}
.map-figure{display:flex;justify-content:center;}
.map-figure svg{width:100%;max-width:560px;height:auto;}
.np-land{fill:var(--navy);stroke:#254A63;stroke-width:2;}
.np-dot{fill:var(--gold);}
.np-ring{fill:none;stroke:var(--gold);stroke-width:2;opacity:0;}
.np-label{font-family:"Source Sans 3",sans-serif;font-size:14px;font-weight:600;fill:var(--navy);stroke:var(--white);stroke-width:3.5px;paint-order:stroke;stroke-linejoin:round;}
.np-city{cursor:pointer;}
.np-city:hover .np-dot,.np-city.is-on .np-dot{fill:var(--gold-light);}
.np-city:hover .np-ring,.np-city.is-on .np-ring{opacity:1;}
.np-city.sede .np-label{font-size:16px;}

.branch-list{list-style:none;margin:26px 0 0;padding:0;display:grid;grid-template-columns:repeat(2,1fr);gap:10px 22px;}
.branch-list li{display:flex;align-items:center;gap:10px;font-size:.95rem;color:var(--muted);}
.branch-list li::before{content:"";width:9px;height:9px;background:var(--gold);flex:0 0 auto;border-radius:50%;}
.branch-list li.is-on{color:var(--navy);font-weight:600;}
.branch-list li.sede{color:var(--navy);font-weight:700;}
.branch-list li.sede::before{box-shadow:0 0 0 4px rgba(197,141,44,.3);}

/* ---------- Serviços ---------- */
.svc{border-left:4px solid var(--gold);padding:8px 0 8px 26px;margin-bottom:54px;}
.svc h2{margin-bottom:.25em;}
.svc .lead{color:var(--muted);max-width:70ch;}
.svc-sub{list-style:none;margin:22px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:16px;}
.svc-sub li{background:var(--silver-pale);border:1px solid var(--line);padding:18px 20px;}
.svc-sub h3{font-size:1rem;margin-bottom:.35em;}
.svc-sub p{font-size:.92rem;color:var(--muted);margin:0;}

/* ---------- Contactos ---------- */
.contact-grid{display:grid;grid-template-columns:1fr 1.15fr;gap:48px;}
.info-list{list-style:none;margin:0;padding:0;}
.info-list li{display:flex;gap:16px;padding:18px 0;border-bottom:1px solid rgba(255,255,255,.16);}
.info-list .ic{width:40px;height:40px;flex:0 0 auto;border:1px solid var(--gold);color:var(--gold);display:grid;place-items:center;}
.info-list b{display:block;color:var(--white);font-size:.95rem;}
.info-list span,.info-list a{color:#CFCDCE;font-size:.95rem;}
.info-list a:hover{color:var(--gold-light);}

form.contact{background:var(--white);padding:34px;border-top:3px solid var(--gold);}
form.contact h3,form.contact label{color:var(--graphite);}
.field{margin-bottom:18px;}
.field label{display:block;font-size:.85rem;font-weight:600;margin-bottom:6px;}
.field input,.field select,.field textarea{width:100%;padding:12px 14px;border:1px solid var(--line);background:#FCFCFC;font-family:inherit;font-size:1rem;color:var(--ink);border-radius:var(--radius);}
.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--gold);outline:none;background:var(--white);}
.field textarea{min-height:130px;resize:vertical;}
.form-note{margin-top:16px;font-size:.92rem;padding:12px 14px;display:none;}
.form-note.ok{display:block;background:#EAF3EC;border-left:3px solid #2E7D4F;color:#1E5335;}
.form-note.err{display:block;background:#F8ECEC;border-left:3px solid #B23B3B;color:#7E2626;}
.map-embed{border:1px solid var(--line);height:320px;width:100%;}

/* ---------- Rodapé ---------- */
.site-footer{background:var(--carbon);color:#AFADAE;padding:64px 0 0;font-size:.95rem;}
.site-footer h4{color:var(--white);font-size:.85rem;letter-spacing:.16em;text-transform:uppercase;margin-bottom:18px;}
.site-footer a{color:#AFADAE;}
.site-footer a:hover{color:var(--gold-light);}
.site-footer ul{list-style:none;margin:0;padding:0;}
.site-footer li{margin-bottom:9px;}
.foot-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.2fr;gap:36px;padding-bottom:48px;}
.foot-brand img{height:60px;margin-bottom:16px;}
.copyright{border-top:1px solid rgba(255,255,255,.14);padding:20px 0;font-size:.85rem;display:flex;flex-wrap:wrap;gap:10px;justify-content:space-between;}

.to-top{position:fixed;right:22px;bottom:22px;z-index:50;width:46px;height:46px;background:var(--gold);color:var(--carbon);border:0;cursor:pointer;font-size:1.1rem;opacity:0;pointer-events:none;transition:var(--t);}
.to-top.show{opacity:1;pointer-events:auto;}

code{background:rgba(59,58,59,.1);padding:2px 6px;border-radius:3px;font-size:.9em;}

/* ---------- Responsivo ---------- */
@media (max-width:1024px){
  .g4{grid-template-columns:repeat(2,1fr);}
  .foot-grid{grid-template-columns:repeat(2,1fr);}
  .map-block,.contact-grid{grid-template-columns:1fr;gap:38px;}
  .svc-sub{grid-template-columns:repeat(2,1fr);}
}

@media (max-width:860px){
  .nav-toggle{display:block;}
  .menu{position:absolute;left:0;right:0;top:100%;flex-direction:column;align-items:stretch;gap:0;background:var(--carbon);border-top:2px solid var(--gold);max-height:0;overflow:hidden;transition:max-height .35s ease;}
  .menu.open{max-height:82vh;overflow-y:auto;}
  .menu > li > a{padding:15px 4vw;border-bottom:1px solid rgba(255,255,255,.08);}
  .has-sub > a::after{float:right;transform:translateY(7px);}
  .submenu{position:static;opacity:1;visibility:visible;transform:none;box-shadow:none;background:var(--graphite);border-top:0;display:none;min-width:0;}
  .menu li.is-open > .submenu{display:block;}
  .submenu a{color:#DDDBDC;border-bottom:1px solid rgba(255,255,255,.08);padding-left:7vw;}
  .submenu a:hover{background:rgba(255,255,255,.07);color:var(--white);padding-left:8vw;}
  .submenu .submenu a{padding-left:10vw;}
  .submenu .has-sub > a::after{border:4px solid transparent;border-top-color:var(--gold);transform:translateY(7px);}
}

@media (max-width:680px){
  body{font-size:16px;}
  .section{padding:56px 0;}
  .g2,.g3,.g4,.svc-sub,.branch-list{grid-template-columns:1fr;}
  .stats{grid-template-columns:repeat(2,1fr);}
  .slider-btn{display:none;}
  .slide::after{background:linear-gradient(180deg,rgba(255,255,255,.94) 0%,rgba(233,232,232,.86) 60%,rgba(166,164,165,.5) 100%);}
  .topbar .wrap{justify-content:center;text-align:center;}
}

@media (prefers-reduced-motion:reduce){
  *{animation:none !important;transition:none !important;}
  html{scroll-behavior:auto;}
}
