@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Oswald:wght@500;600&display=swap');
:root{--red:#a94749;--red-dark:#752d34;--gold:#e9b949;--green:#55cc78;--blue:#1855ad;--ink:#17232c;--muted:#68727a;--paper:#f8f7f4;--line:#e6e3dd;--shadow:0 18px 45px rgba(28,34,38,.10)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:'DM Sans',Arial,sans-serif;color:var(--ink);background:#fff}a{color:inherit;text-decoration:none}img{max-width:100%;display:block}.site-header{height:82px;background:rgba(169,71,73,.98);display:flex;align-items:center;padding:0 clamp(20px,7vw,108px);gap:30px;position:sticky;top:0;z-index:20;box-shadow:0 4px 18px #421b2030}.brand{display:flex;align-items:center}.brand img{width:82px;height:70px;object-fit:contain}.site-header nav{margin-left:auto;display:flex;align-items:center;gap:27px;color:#fff;font-size:.88rem;font-weight:700}.site-header nav a{position:relative;padding:8px 0}.site-header nav a:after{content:'';position:absolute;left:0;right:100%;bottom:0;height:2px;background:var(--gold);transition:.2s}.site-header nav a:hover:after{right:0}.menu-toggle{display:none;border:0;background:transparent;color:#fff;font-size:25px}
.hero{min-height:575px;padding:90px max(7vw,24px);display:flex;align-items:center;background:linear-gradient(100deg,rgba(69,21,26,.94) 0%,rgba(122,40,48,.76) 54%,rgba(122,40,48,.20) 100%),url('bg-2.jpg') center/cover}.hero>div{max-width:650px;color:#fff}.eyebrow{margin:0;color:var(--gold);font-size:.72rem;letter-spacing:.22em;font-weight:800}.hero h1{font-family:Oswald,Arial,sans-serif;font-size:clamp(3rem,7vw,6.4rem);font-weight:600;line-height:.98;letter-spacing:-.02em;margin:18px 0 24px;text-transform:uppercase}.hero p:not(.eyebrow){max-width:530px;font-size:1.18rem;line-height:1.7;color:#fffdf8}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:6px;padding:13px 20px;background:var(--green);color:#16321f;font-weight:800;transition:.2s;cursor:pointer}.button:hover{background:#79df95;transform:translateY(-2px);box-shadow:0 7px 20px #24874640}
.benefits{display:grid;grid-template-columns:repeat(4,1fr);max-width:1180px;margin:-38px auto 0;position:relative;background:#fff;border-radius:14px;box-shadow:var(--shadow);padding:28px 18px;gap:0}.benefits div{display:grid;grid-template-columns:35px 1fr;padding:8px 20px;border-right:1px solid var(--line);color:var(--blue);font-size:1.35rem}.benefits div:last-child{border:0}.benefits strong,.benefits small{display:block;grid-column:2;color:var(--ink);margin-top:0}.benefits strong{font-size:.98rem}.benefits small{font-size:.78rem;color:var(--muted);line-height:1.4;margin-top:5px}
.section{max-width:1200px;margin:0 auto;padding:90px 25px}.section>h2,.category-intro h1{font-family:Oswald,Arial,sans-serif;font-size:clamp(2.2rem,5vw,4rem);font-weight:600;letter-spacing:.01em;text-transform:uppercase;margin:10px 0 34px}.category-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:17px}.category-card{min-height:215px;padding:25px 21px;display:flex;align-items:end;border-radius:12px;background:linear-gradient(145deg,#fff 0%,#f0eee8 100%);border:1px solid var(--line);border-bottom:5px solid var(--red);box-shadow:0 8px 20px #0000000a;transition:.25s;overflow:hidden;position:relative}.category-card:before{content:'';position:absolute;width:120px;height:120px;border-radius:50%;right:-35px;top:-35px;background:#a9474910}.category-card:hover{transform:translateY(-7px);box-shadow:var(--shadow);border-bottom-color:var(--gold)}.category-card h3{position:relative;font-size:1.13rem;line-height:1.15;margin:0 0 10px;text-transform:uppercase}.category-card span{position:relative;color:var(--blue);font-size:.82rem;font-weight:700}
.category-intro{padding:100px 24px 85px;text-align:center;background:linear-gradient(135deg,#f7f4ee,#fff)}.category-intro h1{margin-bottom:16px}.category-intro>p:not(.eyebrow){max-width:720px;margin:0 auto;color:var(--muted);line-height:1.8;font-size:1.04rem}.products-section{padding-top:68px}.section-heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:28px}.section-heading h2{font-family:Oswald,Arial,sans-serif;font-size:2.1rem;text-transform:uppercase;margin:0}.section-heading span{color:var(--muted);font-size:.9rem}.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}.product-card{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden;box-shadow:0 7px 20px #00000009;transition:.22s}.product-card:hover{transform:translateY(-5px);box-shadow:var(--shadow)}.product-image{height:290px;background:#f1f0ed;overflow:hidden}.product-image img{width:100%;height:100%;object-fit:cover;transition:.35s}.product-card:hover .product-image img{transform:scale(1.04)}.product-body{padding:18px 18px 20px}.product-body h3{font-size:.96rem;line-height:1.3;margin:0 0 7px;text-transform:uppercase;min-height:39px}.product-body p{color:var(--muted);font-size:.82rem;line-height:1.45;min-height:38px;margin:0 0 10px}.product-body strong{display:block;font-size:1.55rem;color:var(--red-dark);letter-spacing:-.03em}.whatsapp{width:100%;margin-top:14px;font-size:.83rem}
.contact{text-align:center;padding:80px 20px 72px;background:#fff}.contact h2{font-family:Oswald,Arial,sans-serif;text-transform:uppercase;font-size:2.6rem;color:#57b7dc;margin:0 0 20px}.contact p{font-size:1.25rem;margin:12px;color:var(--ink)}.contact p:first-of-type{color:var(--blue)}.contact a:hover{color:var(--red)}footer{background:#4d545b;color:#fff;min-height:170px;padding:30px max(7vw,24px);display:flex;align-items:center;justify-content:space-between;text-align:center;font-size:.82rem;line-height:1.6}footer img{width:92px;height:90px;object-fit:contain}footer span{color:#ff7480}
.product-detail{max-width:1180px;margin:0 auto;padding:75px 25px;display:grid;grid-template-columns:1.1fr .9fr;gap:70px}.product-gallery{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.product-gallery img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:12px;background:#f1f0ed}.product-gallery img:only-child{grid-column:span 2}.product-info{align-self:center}.back-link{display:inline-block;color:var(--blue);font-size:.9rem;font-weight:700;margin-bottom:28px}.product-info h1{font-family:Oswald,Arial,sans-serif;text-transform:uppercase;font-size:clamp(2.4rem,5vw,4.2rem);line-height:1;margin:10px 0 22px}.product-info>p:not(.eyebrow){color:var(--muted);line-height:1.7;max-width:470px}.product-info strong{font-size:2.2rem;color:var(--red-dark);display:block;margin-top:20px}.product-info .button{margin-top:18px}
@media(max-width:950px){.site-header{padding:0 25px}.site-header nav{gap:16px}.benefits{margin-left:20px;margin-right:20px}.category-grid{grid-template-columns:repeat(3,1fr)}.product-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:700px){.site-header{height:72px}.brand img{width:72px;height:62px}.site-header nav{display:none;position:absolute;top:72px;left:0;right:0;background:var(--red-dark);padding:18px 25px;flex-direction:column;align-items:flex-start;gap:3px}.site-header nav.open{display:flex}.menu-toggle{display:block;margin-left:auto}.hero{min-height:510px;padding:65px 23px}.benefits{grid-template-columns:repeat(2,1fr);margin-top:-25px}.benefits div{padding:14px 10px;border-right:0;border-bottom:1px solid var(--line)}.benefits div:nth-child(odd){border-right:1px solid var(--line)}.category-grid{grid-template-columns:repeat(2,1fr)}.product-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:480px){.hero h1{font-size:3.1rem}.hero p:not(.eyebrow){font-size:1rem}.benefits{grid-template-columns:1fr;margin:0 14px}.benefits div,.benefits div:nth-child(odd){border-right:0}.category-grid,.product-grid{grid-template-columns:1fr}.product-image{height:320px}.section{padding:60px 18px}.category-intro{padding:70px 20px}.section-heading{align-items:start;gap:12px;flex-direction:column}footer{flex-direction:column;gap:14px}}

/* Galeria pública com imagem principal e miniaturas */
.product-gallery{display:block}.gallery-stage{width:100%;aspect-ratio:1/1;border-radius:14px;overflow:hidden;background:#f1f0ed}.gallery-stage img{width:100%;height:100%;object-fit:cover}.gallery-thumbs{display:flex;gap:12px;margin-top:14px;overflow-x:auto;padding:3px 2px 8px}.gallery-thumb{flex:0 0 78px;width:78px;height:78px;padding:0;border:2px solid transparent;border-radius:9px;overflow:hidden;background:#f1f0ed;cursor:pointer}.gallery-thumb img{width:100%;height:100%;object-fit:cover}.gallery-thumb.is-selected{border-color:var(--red)}.gallery-thumb.is-dragging{opacity:.45;border-style:dashed}.gallery-thumb:hover{border-color:var(--red)}@media(max-width:760px){.gallery-stage{aspect-ratio:1/1}.gallery-thumb{flex-basis:64px;width:64px;height:64px}}

/* Ajuste responsivo da página pública do produto */
@media(max-width:760px){
  .product-detail{display:block;padding:32px 18px 55px}
  .product-gallery{width:100%;margin-bottom:32px}
  .gallery-stage{width:100%;aspect-ratio:1/1;max-height:none}
  .product-info{align-self:auto}
  .back-link{margin-bottom:18px}
  .product-info h1{font-size:clamp(2.2rem,12vw,3.5rem);line-height:.95}
  .product-info strong{font-size:2rem}
  .product-info .button{width:100%;text-align:center}
}

/* Cabeçalho de categoria mais compacto */
.category-intro{padding:54px 24px 46px}
.category-intro h1{margin:4px 0 10px}
.category-intro>p:not(.eyebrow){line-height:1.5}
@media(max-width:700px){.category-intro{padding:38px 20px 32px}}

/* Indicadores de várias imagens no catálogo */
.product-swipe{position:relative}
.swipe-controls{position:absolute;inset:0;display:flex;align-items:center;justify-content:space-between;padding:0 7px;pointer-events:none}
.swipe-controls button{pointer-events:auto;border:0;cursor:pointer}
.swipe-prev,.swipe-next{width:29px;height:29px;border-radius:50%;background:#ffffffdd;color:var(--red-dark);font-size:25px;line-height:20px;box-shadow:0 2px 8px #0003}
.swipe-dots{position:absolute;bottom:9px;left:50%;transform:translateX(-50%);display:flex;gap:5px;padding:4px 7px;border-radius:20px;background:#17232c99}
.swipe-dot{width:7px;height:7px;padding:0;border-radius:50%;background:#fff9;border:1px solid #fff}
.swipe-dot.is-active{background:#fff;transform:scale(1.2)}

/* Depoimentos partilhados em todas as páginas públicas */
.testimonials{padding:70px 20px 35px;background:linear-gradient(#fff 0 18%,#15191b 18% 100%);background-image:linear-gradient(#fff 0 18%,transparent 18%),url('bg-2.jpg');background-size:auto,cover;background-position:center;}
.testimonial-list{max-width:1140px;margin:0 auto;display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.testimonial{background:#f5f5f5;border-radius:12px;padding:42px 34px 36px;text-align:center;box-shadow:0 8px 25px #0002;min-height:260px;display:flex;flex-direction:column;justify-content:center}
.testimonial p{margin:0 0 25px;color:#777;font-style:italic;line-height:1.65;font-size:1rem}.testimonial strong{color:var(--blue);font-family:Oswald,Arial,sans-serif;letter-spacing:.04em}.testimonial small{margin-top:6px;color:#777;font-style:italic}
.hero-logo{width:min(36vw,390px);height:auto;object-fit:contain;filter:drop-shadow(0 14px 18px #0005);margin-left:auto}
.category-card>div{display:flex;flex-direction:column;align-items:flex-start}.category-icon{font-size:2.6rem;line-height:1;margin-bottom:18px;filter:saturate(1.7)}.category-card:nth-child(1) .category-icon{color:#0645c5}.category-card:nth-child(2) .category-icon{color:#ed00bd}.category-card:nth-child(3) .category-icon{color:#00a328}.category-card:nth-child(4) .category-icon{color:#005d5d}.category-card:nth-child(5) .category-icon{color:#d7df00}
@media(max-width:700px){.testimonial-list{grid-template-columns:1fr}.testimonials{padding:45px 16px 25px;background:linear-gradient(#fff 0 6%,transparent 6%),url('bg-2.jpg') center/cover}.testimonial{padding:30px 24px;min-height:0}.hero-logo{width:min(58vw,260px);margin:28px auto 0}.hero{flex-direction:column;align-items:flex-start}}

.category-icon{font-size:4.2rem!important;line-height:.9;margin-bottom:24px!important;transform:scale(1.15);transform-origin:left center}
.category-hero-masculina{background:linear-gradient(90deg,rgba(45,19,34,.96) 0%,rgba(73,30,63,.84) 43%,rgba(32,53,132,.35) 100%),url('moda-masculina-hero.png') center/cover}
.category-hero-feminina{background:linear-gradient(120deg,#651c43 0%,#a52d5d 52%,#d76578 100%)}
.category-hero-infantil{background:linear-gradient(120deg,#075d51 0%,#0b9b7e 52%,#70c96c 100%)}
.category-hero-eletronicos{background:linear-gradient(120deg,#102c59 0%,#145fa8 52%,#54b9d8 100%)}.category-hero-sapatilhas{background:linear-gradient(120deg,#4b211b 0%,#9b3e2d 52%,#e39b45 100%)}
.category-benefits{margin:34px auto 0}
.category-hero{padding:66px max(7vw,28px) 54px;background:linear-gradient(120deg,#351524 0%,#5e274b 52%,#213f9c 100%);color:#fff}.category-hero>div{max-width:760px}.category-hero h1{font-family:Oswald,Arial,sans-serif;font-size:clamp(2.5rem,5vw,5rem);line-height:1;text-transform:uppercase;margin:12px 0 16px}.category-hero h2{font-family:Oswald,Arial,sans-serif;font-size:clamp(1.4rem,2.5vw,2.2rem);text-transform:uppercase;margin:0 0 22px;color:#fff}.category-hero p:not(.eyebrow){font-size:1.05rem;line-height:1.75;max-width:720px;color:#fffdf8}.category-hero strong{color:#f0c256}
@media(max-width:700px){.category-benefits{margin:20px 14px 0}}
@media(max-width:700px){.category-hero{padding:42px 22px 34px}.category-hero h1{font-size:2.8rem}.category-hero p:not(.eyebrow){font-size:.95rem;line-height:1.6}}

/* Proporção da página de produto em ecrãs médios e grandes */
@media(min-width:981px){
  .product-detail{grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr);gap:52px;padding:34px 25px 55px}
  .product-gallery{max-width:450px;margin:0 auto;width:100%}
  .gallery-stage{max-width:450px;margin:0 auto}
  .product-info{align-self:start;padding-top:0}
}

/* Mosaico da galeria no telemóvel */
@media(max-width:760px){
  .product-detail{display:block;padding:16px 12px 42px}
  .product-gallery{width:100%;margin:0 0 18px}
  .gallery-stage{display:none}
  .gallery-thumbs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:0;padding:0;overflow:visible}
  .gallery-thumb{width:100%;height:auto;aspect-ratio:1/1;padding:0;border-radius:8px;flex-basis:auto}
  .gallery-thumb:nth-child(1),.gallery-thumb:nth-child(2),.gallery-thumb:nth-child(3){grid-column:span 2;aspect-ratio:1.18/1}
  .gallery-thumb:nth-child(n+4){grid-column:span 1;aspect-ratio:1/1}
  .product-info{width:100%;padding:0 8px}
  .product-info .back-link{display:block;margin:0 0 18px}
}

/* Mobile: imagem principal grande e apenas secundárias em miniaturas */
@media(max-width:760px){
  .gallery-stage{display:block;width:100%;aspect-ratio:1/1;margin:0 0 8px;border-radius:9px}
  .gallery-thumbs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:0}
  .gallery-thumb{display:block!important;grid-column:span 1!important;width:100%;height:auto;aspect-ratio:1/1;border-radius:6px}
  .gallery-thumb:first-child{display:block!important}
}

/* Galeria compacta para tablets e telemóveis largos: duas imagens por linha */
@media (min-width:761px) and (max-width:980px){
  .product-detail{grid-template-columns:minmax(0,1.55fr) minmax(260px,.9fr);gap:28px;padding:42px 18px 55px}
  .gallery-stage{display:none}
  .gallery-thumbs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:0;overflow:visible;padding:0}
  .gallery-thumb{width:100%;height:auto;aspect-ratio:1/1;flex-basis:auto}
}

/* Em telemóveis estreitos, a grelha continua com duas imagens e a informação fica abaixo */
@media(max-width:760px){
  .gallery-stage{display:block!important;width:100%;aspect-ratio:1/1;margin:0 0 8px}
  .gallery-thumbs{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-top:0;overflow:visible;padding:0}
  .gallery-thumb{display:block!important;grid-column:span 1!important;width:100%;height:auto;aspect-ratio:1/1;flex-basis:auto}
}
